{"version":3,"sources":["../../src/academy-certifications-v1-account-certification-account-certifications.universal.ts","../../src/academy-certifications-v1-account-certification-account-certifications.http.ts","../../src/academy-certifications-v1-account-certification-account-certifications.public.ts","../../src/academy-certifications-v1-account-certification-account-certifications.context.ts"],"sourcesContent":["import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';\nimport { queryBuilder } from '@wix/sdk-runtime/query-builder';\nimport {\n  renameKeysFromSDKRequestToRESTRequest,\n  renameKeysFromRESTResponseToSDKResponse,\n} from '@wix/sdk-runtime/rename-all-nested-keys';\nimport {\n  HttpClient,\n  HttpResponse,\n  NonNullablePaths,\n  QuerySpec,\n  Query as QuerySdkType,\n} from '@wix/sdk-types';\nimport * as ambassadorWixAcademyCertificationsV1AccountCertification from './academy-certifications-v1-account-certification-account-certifications.http.js';\n// @ts-ignore\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { createQueryUtils } from '@wix/sdk-runtime/query-builder-utils';\n\n/**\n * An account certification represents a Wix Academy certification held by an account,\n * such as the Velo, Web Designer, or Wix Studio Developer certification.\n *\n * An account holds a certification when one or more of its team members hold the corresponding\n * user certification. Each account has at most one account certification per certification type,\n * aggregating all of the account's certified team members for that type.\n *\n * To read certifications at the individual user level, see the User Certifications API.\n */\nexport interface AccountCertification {\n  /**\n   * Account certification ID.\n   * @format GUID\n   * @readonly\n   */\n  _id?: string | null;\n  /**\n   * Revision number, which increments by 1 each time the account certification is updated.\n   * To prevent conflicting changes,\n   * the current revision must be passed when updating the account certification.\n   *\n   * Ignored when creating an account certification.\n   * @readonly\n   */\n  revision?: string | null;\n  /**\n   * Date and time the account certification was created.\n   * @readonly\n   */\n  _createdDate?: Date | null;\n  /**\n   * Date and time the account certification was last updated.\n   * @readonly\n   */\n  _updatedDate?: Date | null;\n  /**\n   * IDs of the user certification records, held by the account's team members, that qualify the\n   * account for its `certificationType`. Up to 100. The list contains no duplicates, and its order isn't guaranteed.\n   * @format GUID\n   * @maxSize 100\n   */\n  userCertificationIds?: string[];\n  /**\n   * Type of certification the account holds. Set when the certification is created and can't be changed afterward.\n   * @immutable\n   */\n  certificationType?: CertificationTypeWithLiterals;\n}\n\nexport enum CertificationType {\n  /** Velo certification: proficiency in building with Velo, Wix's full-stack development platform. */\n  VELO = 'VELO',\n  /** Web Designer certification: proficiency in designing and building Wix websites. */\n  WEB_DESIGNER = 'WEB_DESIGNER',\n  /** Accessibility certification: proficiency in building accessible Wix websites. */\n  ACCESSIBILITY = 'ACCESSIBILITY',\n  /** Wix Studio Developer certification: proficiency in developing with Wix Studio. */\n  STUDIO_DEVELOPER = 'STUDIO_DEVELOPER',\n  /** Wix Studio Design League certification, awarded through the Wix Studio Design League program. */\n  STUDIO_DESIGN_LEAGUE = 'STUDIO_DESIGN_LEAGUE',\n  /** Wix Studio Developer Websites League certification, awarded through the Wix Studio Developer Websites League program. */\n  STUDIO_DEV_WEBSITES_LEAGUE = 'STUDIO_DEV_WEBSITES_LEAGUE',\n}\n\n/** @enumType */\nexport type CertificationTypeWithLiterals =\n  | CertificationType\n  | 'VELO'\n  | 'WEB_DESIGNER'\n  | 'ACCESSIBILITY'\n  | 'STUDIO_DEVELOPER'\n  | 'STUDIO_DESIGN_LEAGUE'\n  | 'STUDIO_DEV_WEBSITES_LEAGUE';\n\nexport interface CertifyAccountRequest {\n  /**\n   * ID of the user certification to add to the account.\n   * @format GUID\n   */\n  userCertificationId?: string;\n  /**\n   * ID of the account to certify.\n   * @format GUID\n   */\n  accountId?: string;\n}\n\nexport interface CertifyAccountResponse {\n  /** The created or updated account certification. */\n  accountCertification?: AccountCertification;\n}\n\nexport interface DecertifyAccountRequest {\n  /**\n   * ID of the user certification to remove from the account.\n   * @format GUID\n   */\n  userCertificationId?: string;\n  /**\n   * ID of the account to decertify.\n   * @format GUID\n   */\n  accountId?: string;\n}\n\nexport interface DecertifyAccountResponse {\n  /** Updated account certification. Empty when the last user certification of that type was removed and the account certification was deleted. */\n  accountCertification?: AccountCertification;\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n  createdEvent?: EntityCreatedEvent;\n  updatedEvent?: EntityUpdatedEvent;\n  deletedEvent?: EntityDeletedEvent;\n  actionEvent?: ActionEvent;\n  /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n  _id?: string;\n  /**\n   * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n   * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n   */\n  entityFqdn?: string;\n  /**\n   * Event action name, placed at the top level to make it easier for users to dispatch messages.\n   * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n   */\n  slug?: string;\n  /** ID of the entity associated with the event. */\n  entityId?: string;\n  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n  eventTime?: Date | null;\n  /**\n   * Whether the event was triggered as a result of a privacy regulation application\n   * (for example, GDPR).\n   */\n  triggeredByAnonymizeRequest?: boolean | null;\n  /** If present, indicates the action that triggered the event. */\n  originatedFrom?: string | null;\n  /**\n   * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.\n   * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n   */\n  entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n  createdEvent?: EntityCreatedEvent;\n  updatedEvent?: EntityUpdatedEvent;\n  deletedEvent?: EntityDeletedEvent;\n  actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n  entity?: string;\n}\n\nexport interface RestoreInfo {\n  deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n  /**\n   * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n   * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n   * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n   */\n  currentEntity?: string;\n}\n\nexport interface EntityDeletedEvent {\n  /** Entity that was deleted. */\n  deletedEntity?: string | null;\n}\n\nexport interface ActionEvent {\n  body?: string;\n}\n\nexport interface Empty {}\n\nexport interface QueryAccountCertificationsRequest {\n  /** Query options. See [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language) for more information. */\n  query?: CursorQuery;\n}\n\nexport interface CursorQuery extends CursorQueryPagingMethodOneOf {\n  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n  cursorPaging?: CursorPaging;\n  /**\n   * Filter object in the following format:\n   * `\"filter\" : {\n   * \"fieldName1\": \"value1\",\n   * \"fieldName2\":{\"$operator\":\"value2\"}\n   * }`\n   * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`\n   */\n  filter?: Record<string, any> | null;\n  /**\n   * Sort object in the following format:\n   * `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]`\n   * @maxSize 4\n   */\n  sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface CursorQueryPagingMethodOneOf {\n  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n  cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n  /**\n   * Name of the field to sort by.\n   * @maxLength 50\n   */\n  fieldName?: string;\n  /** Sort order. */\n  order?: SortOrderWithLiterals;\n}\n\nexport enum SortOrder {\n  ASC = 'ASC',\n  DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface CursorPaging {\n  /**\n   * Number of items to load.\n   * @max 100\n   */\n  limit?: number | null;\n  /**\n   * Pointer to the next or previous page in the list of results.\n   *\n   * You can get the relevant cursor token\n   * from the `pagingMetadata` object in the previous call's response.\n   * Not relevant for the first request.\n   * @maxLength 16000\n   */\n  cursor?: string | null;\n}\n\nexport interface QueryAccountCertificationsResponse {\n  /** List of account certifications. */\n  accountCertifications?: AccountCertification[];\n  /** Paging metadata. */\n  pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface CursorPagingMetadata {\n  /** Number of items returned in the response. */\n  count?: number | null;\n  /** Offset that was requested. */\n  cursors?: Cursors;\n  /**\n   * Indicates if there are more results after the current page.\n   * If `true`, another page of results can be retrieved.\n   * If `false`, this is the last page.\n   */\n  hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n  /**\n   * Cursor pointing to next page in the list of results.\n   * @maxLength 16000\n   */\n  next?: string | null;\n  /**\n   * Cursor pointing to previous page in the list of results.\n   * @maxLength 16000\n   */\n  prev?: string | null;\n}\n\nexport interface ListAccountCertificationsRequest {\n  /**\n   * ID of the account to get certifications for.\n   * @format GUID\n   */\n  accountId: string;\n}\n\nexport interface ListAccountCertificationsResponse {\n  /** The account's certifications, as a public, visitor-safe projection. */\n  certifications?: Certification[];\n}\n\n/** A public, visitor-safe view of a certification held by an account. */\nexport interface Certification {\n  /** Type of certification the account holds. */\n  certificationType?: CertificationTypeWithLiterals;\n  /**\n   * Date and time the account certification was created.\n   * @readonly\n   */\n  _createdDate?: Date | null;\n}\n\nexport interface TeamMemberRemovedEvent {\n  /**\n   * ID of the account the user was removed from.\n   * @format GUID\n   */\n  accountId?: string;\n  /**\n   * ID of the user (team member) that was removed from the account. Same identifier as `UserCertification.userId`.\n   * @format GUID\n   */\n  teamMemberId?: string;\n}\n\nexport interface MessageEnvelope {\n  /**\n   * App instance ID.\n   * @format GUID\n   */\n  instanceId?: string | null;\n  /**\n   * Event type.\n   * @maxLength 150\n   */\n  eventType?: string;\n  /** The identification type and identity data. */\n  identity?: IdentificationData;\n  /** Stringify payload. */\n  data?: string;\n  /** Details related to the account */\n  accountInfo?: AccountInfo;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n  /**\n   * ID of a site visitor that has not logged in to the site.\n   * @format GUID\n   */\n  anonymousVisitorId?: string;\n  /**\n   * ID of a site visitor that has logged in to the site.\n   * @format GUID\n   */\n  memberId?: string;\n  /**\n   * ID of a Wix user (site owner, contributor, etc.).\n   * @format GUID\n   */\n  wixUserId?: string;\n  /**\n   * ID of an app.\n   * @format GUID\n   */\n  appId?: string;\n  /** @readonly */\n  identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n  /**\n   * ID of a site visitor that has not logged in to the site.\n   * @format GUID\n   */\n  anonymousVisitorId?: string;\n  /**\n   * ID of a site visitor that has logged in to the site.\n   * @format GUID\n   */\n  memberId?: string;\n  /**\n   * ID of a Wix user (site owner, contributor, etc.).\n   * @format GUID\n   */\n  wixUserId?: string;\n  /**\n   * ID of an app.\n   * @format GUID\n   */\n  appId?: string;\n}\n\nexport enum WebhookIdentityType {\n  UNKNOWN = 'UNKNOWN',\n  ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n  MEMBER = 'MEMBER',\n  WIX_USER = 'WIX_USER',\n  APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n  | WebhookIdentityType\n  | 'UNKNOWN'\n  | 'ANONYMOUS_VISITOR'\n  | 'MEMBER'\n  | 'WIX_USER'\n  | 'APP';\n\nexport interface AccountInfo {\n  /**\n   * ID of the Wix account associated with the event.\n   * @format GUID\n   */\n  accountId?: string | null;\n  /**\n   * ID of the parent Wix account. Only included when accountId belongs to a child account.\n   * @format GUID\n   */\n  parentAccountId?: string | null;\n  /**\n   * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n   * @format GUID\n   */\n  siteId?: string | null;\n}\n\n/**\n * Retrieves a list of up to 1,000 account certifications, given the provided paging, filtering, and sorting.\n *\n * Query Account Certifications returns the full account certification records, including the underlying `userCertificationIds`, for the caller's own account only. To retrieve any account's certifications as a public, visitor-safe projection, call [List Account Certifications](https://dev.wix.com/docs/api-reference/account-level/studio-workspace/certifications/account-certification-v1/list-account-certifications) instead.\n *\n * Query Account Certifications runs with these defaults, which you can override:\n *\n * - `createdDate` is sorted in `DESC` order\n * - `cursorPaging.limit` is `50`\n *\n * You can filter and sort by `id`, `certificationType`, and `createdDate`.\n *\n * To learn about working with Query methods, see [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language), [Sorting and Paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging), and [Field Projection](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-field-projection).\n * @public\n * @documentationMaturity preview\n * @permissionId ACADEMY.ACCOUNT_CERTIFICATION_READ\n * @applicableIdentity APP\n * @fqn wix.academy.certifications.account.v1.AccountCertifications.QueryAccountCertifications\n */\nexport function queryAccountCertifications(): AccountCertificationsQueryBuilder {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[0] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  return queryBuilder<\n    AccountCertification,\n    'CURSOR',\n    QueryAccountCertificationsRequest,\n    QueryAccountCertificationsResponse\n  >({\n    func: async (payload: QueryAccountCertificationsRequest) => {\n      const reqOpts =\n        ambassadorWixAcademyCertificationsV1AccountCertification.queryAccountCertifications(\n          payload\n        );\n\n      sideEffects?.onSiteCall?.();\n      try {\n        const result = await httpClient.request(reqOpts);\n        sideEffects?.onSuccess?.(result);\n        return result;\n      } catch (err) {\n        sideEffects?.onError?.(err);\n        throw err;\n      }\n    },\n    requestTransformer: (query: QueryAccountCertificationsRequest['query']) => {\n      const args = [query, {}] as [\n        QueryAccountCertificationsRequest['query'],\n        {}\n      ];\n      return renameKeysFromSDKRequestToRESTRequest({\n        ...args?.[1],\n        query: args?.[0],\n      });\n    },\n    responseTransformer: ({\n      data,\n    }: HttpResponse<QueryAccountCertificationsResponse>) => {\n      const transformedData = renameKeysFromRESTResponseToSDKResponse(\n        transformPaths(data, [])\n      );\n\n      return {\n        items: transformedData?.accountCertifications,\n        pagingMetadata: transformedData?.pagingMetadata,\n      };\n    },\n    errorTransformer: (err: unknown) => {\n      const transformedError = sdkTransformError(err, {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: { query: '$[0]' },\n        singleArgumentUnchanged: false,\n      });\n\n      throw transformedError;\n    },\n    pagingMethod: 'CURSOR',\n    transformationPaths: {},\n  });\n}\n\ninterface QueryCursorResult {\n  cursors: Cursors;\n  hasNext: () => boolean;\n  hasPrev: () => boolean;\n  length: number;\n  pageSize: number;\n}\n\nexport interface AccountCertificationsQueryResult extends QueryCursorResult {\n  items: AccountCertification[];\n  query: AccountCertificationsQueryBuilder;\n  next: () => Promise<AccountCertificationsQueryResult>;\n  prev: () => Promise<AccountCertificationsQueryResult>;\n}\n\nexport interface AccountCertificationsQueryBuilder {\n  /** @param propertyName - Property whose value is compared with `value`.\n   * @param value - Value to compare against.\n   * @documentationMaturity preview\n   */\n  eq: (\n    propertyName: '_id' | '_createdDate' | 'certificationType',\n    value: any\n  ) => AccountCertificationsQueryBuilder;\n  /** @param propertyName - Property whose value is compared with `value`.\n   * @param value - Value to compare against.\n   * @documentationMaturity preview\n   */\n  ne: (\n    propertyName: '_id' | '_createdDate' | 'certificationType',\n    value: any\n  ) => AccountCertificationsQueryBuilder;\n  /** @param propertyName - Property whose value is compared with `value`.\n   * @param value - Value to compare against.\n   * @documentationMaturity preview\n   */\n  ge: (\n    propertyName: '_id' | '_createdDate',\n    value: any\n  ) => AccountCertificationsQueryBuilder;\n  /** @param propertyName - Property whose value is compared with `value`.\n   * @param value - Value to compare against.\n   * @documentationMaturity preview\n   */\n  gt: (\n    propertyName: '_id' | '_createdDate',\n    value: any\n  ) => AccountCertificationsQueryBuilder;\n  /** @param propertyName - Property whose value is compared with `value`.\n   * @param value - Value to compare against.\n   * @documentationMaturity preview\n   */\n  le: (\n    propertyName: '_id' | '_createdDate',\n    value: any\n  ) => AccountCertificationsQueryBuilder;\n  /** @param propertyName - Property whose value is compared with `value`.\n   * @param value - Value to compare against.\n   * @documentationMaturity preview\n   */\n  lt: (\n    propertyName: '_id' | '_createdDate',\n    value: any\n  ) => AccountCertificationsQueryBuilder;\n  /** @param propertyName - Property whose value is compared with `string`.\n   * @param string - String to compare against. Case-insensitive.\n   * @documentationMaturity preview\n   */\n  startsWith: (\n    propertyName: '_id',\n    value: string\n  ) => AccountCertificationsQueryBuilder;\n  /** @documentationMaturity preview */\n  in: (\n    propertyName: '_id' | '_createdDate' | 'certificationType',\n    value: any\n  ) => AccountCertificationsQueryBuilder;\n  /** @documentationMaturity preview */\n  exists: (\n    propertyName: '_id' | '_createdDate' | 'certificationType',\n    value: boolean\n  ) => AccountCertificationsQueryBuilder;\n  /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.\n   * @documentationMaturity preview\n   */\n  ascending: (\n    ...propertyNames: Array<'_id' | '_createdDate' | 'certificationType'>\n  ) => AccountCertificationsQueryBuilder;\n  /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.\n   * @documentationMaturity preview\n   */\n  descending: (\n    ...propertyNames: Array<'_id' | '_createdDate' | 'certificationType'>\n  ) => AccountCertificationsQueryBuilder;\n  /** @param limit - Number of items to return, which is also the `pageSize` of the results object.\n   * @documentationMaturity preview\n   */\n  limit: (limit: number) => AccountCertificationsQueryBuilder;\n  /** @param cursor - A pointer to specific record\n   * @documentationMaturity preview\n   */\n  skipTo: (cursor: string) => AccountCertificationsQueryBuilder;\n  /** @documentationMaturity preview */\n  find: () => Promise<AccountCertificationsQueryResult>;\n}\n\n/**\n * @hidden\n * @fqn wix.academy.certifications.account.v1.AccountCertifications.QueryAccountCertifications\n * @requiredField query\n */\nexport async function typedQueryAccountCertifications(\n  query: AccountCertificationQuery\n): Promise<\n  NonNullablePaths<\n    QueryAccountCertificationsResponse,\n    | `accountCertifications`\n    | `accountCertifications.${number}.certificationType`,\n    4\n  >\n> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[1] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({ query: query });\n\n  const reqOpts =\n    ambassadorWixAcademyCertificationsV1AccountCertification.queryAccountCertifications(\n      payload\n    );\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n\n    return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: { query: '$[0]' },\n        singleArgumentUnchanged: false,\n      },\n      ['query']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\nexport interface AccountCertificationQuerySpec extends QuerySpec {\n  paging: 'cursor';\n  wql: [\n    {\n      fields: ['_createdDate', '_id', 'certificationType'];\n      operators: '*';\n      sort: 'BOTH';\n    }\n  ];\n}\n\nexport type CommonQueryWithEntityContext = QuerySdkType<\n  AccountCertification,\n  AccountCertificationQuerySpec\n>;\nexport type AccountCertificationQuery = {\n  /** \n  Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`.  \n  */\n  cursorPaging?: {\n    /** \n  Number of items to load. \n  @max: 100 \n  */\n    limit?:\n      | NonNullable<CommonQueryWithEntityContext['cursorPaging']>['limit']\n      | null;\n    /** \n  Pointer to the next or previous page in the list of results.\n\n  You can get the relevant cursor token\n  from the `pagingMetadata` object in the previous call's response.\n  Not relevant for the first request. \n  @maxLength: 16000 \n  */\n    cursor?:\n      | NonNullable<CommonQueryWithEntityContext['cursorPaging']>['cursor']\n      | null;\n  };\n  /** \n  Filter object in the following format:\n  `\"filter\" : {\n  \"fieldName1\": \"value1\",\n  \"fieldName2\":{\"$operator\":\"value2\"}\n  }`\n  Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`  \n  */\n  filter?: CommonQueryWithEntityContext['filter'] | null;\n  /** \n  Sort object in the following format:\n  `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]` \n  @maxSize: 4 \n  */\n  sort?: {\n    /** \n  Name of the field to sort by. \n  @maxLength: 50 \n  */\n    fieldName?: NonNullable<\n      CommonQueryWithEntityContext['sort']\n    >[number]['fieldName'];\n    /** \n  Sort order.  \n  */\n    order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];\n  }[];\n};\n\nexport const utils = {\n  query: /*#__PURE__*/ createQueryUtils<\n    AccountCertification,\n    AccountCertificationQuerySpec,\n    AccountCertificationQuery\n  >(),\n};\n\n/**\n * Retrieves an account's certifications for public display, given the account ID.\n *\n * This is a public, visitor-safe projection that returns only each certification's type and\n * creation date. To retrieve the full account certification records, including the underlying\n * `userCertificationIds`, call [Query Account Certifications](https://dev.wix.com/docs/api-reference/account-level/studio-workspace/certifications/account-certification-v1/query-account-certifications) instead.\n * @param accountId - ID of the account to get certifications for.\n * @public\n * @documentationMaturity preview\n * @requiredField accountId\n * @fqn wix.academy.certifications.account.v1.AccountCertifications.ListAccountCertifications\n */\nexport async function listAccountCertifications(\n  accountId: string\n): Promise<\n  NonNullablePaths<\n    ListAccountCertificationsResponse,\n    `certifications` | `certifications.${number}.certificationType`,\n    4\n  >\n> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[1] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({\n    accountId: accountId,\n  });\n\n  const reqOpts =\n    ambassadorWixAcademyCertificationsV1AccountCertification.listAccountCertifications(\n      payload\n    );\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n\n    return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: { accountId: '$[0]' },\n        singleArgumentUnchanged: false,\n      },\n      ['accountId']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixAcademyCertificationsAccountV1AccountCertificationsUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    'api._api_base_domain_': [\n      {\n        srcPath: '/account-certifications',\n        destPath: '',\n      },\n    ],\n    'www._base_domain_': [\n      {\n        srcPath: '/_api/account-certifications',\n        destPath: '',\n      },\n    ],\n    'manage._base_domain_': [\n      {\n        srcPath: '/_api/account-certifications',\n        destPath: '',\n      },\n    ],\n    'www.wixapis.com': [\n      {\n        srcPath: '/academy/certifications/v1/account-certifications',\n        destPath: '/v1/account-certifications',\n      },\n    ],\n    '*.dev.wix-code.com': [\n      {\n        srcPath: '/academy/certifications/v1/account-certifications',\n        destPath: '/v1/account-certifications',\n      },\n    ],\n    _: [\n      {\n        srcPath: '/academy/certifications/v1/account-certifications',\n        destPath: '/v1/account-certifications',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME =\n  '@wix/auto_sdk_account-certifications_account-certifications';\n\n/**\n * Retrieves a list of up to 1,000 account certifications, given the provided paging, filtering, and sorting.\n *\n * Query Account Certifications returns the full account certification records, including the underlying `userCertificationIds`, for the caller's own account only. To retrieve any account's certifications as a public, visitor-safe projection, call [List Account Certifications](https://dev.wix.com/docs/api-reference/account-level/studio-workspace/certifications/account-certification-v1/list-account-certifications) instead.\n *\n * Query Account Certifications runs with these defaults, which you can override:\n *\n * - `createdDate` is sorted in `DESC` order\n * - `cursorPaging.limit` is `50`\n *\n * You can filter and sort by `id`, `certificationType`, and `createdDate`.\n *\n * To learn about working with Query methods, see [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language), [Sorting and Paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging), and [Field Projection](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-field-projection).\n */\nexport function queryAccountCertifications(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __queryAccountCertifications({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.academy.certifications.v1.account_certification',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.academy.certifications.account.v1.AccountCertifications.QueryAccountCertifications',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixAcademyCertificationsAccountV1AccountCertificationsUrl({\n        protoPath: '/v1/account-certifications/query',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'accountCertifications.createdDate' },\n              { path: 'accountCertifications.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __queryAccountCertifications;\n}\n\n/**\n * Retrieves an account's certifications for public display, given the account ID.\n *\n * This is a public, visitor-safe projection that returns only each certification's type and\n * creation date. To retrieve the full account certification records, including the underlying\n * `userCertificationIds`, call [Query Account Certifications](https://dev.wix.com/docs/api-reference/account-level/studio-workspace/certifications/account-certification-v1/query-account-certifications) instead.\n */\nexport function listAccountCertifications(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __listAccountCertifications({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.academy.certifications.v1.account_certification',\n      method: 'GET' as any,\n      methodFqn:\n        'wix.academy.certifications.account.v1.AccountCertifications.ListAccountCertifications',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixAcademyCertificationsAccountV1AccountCertificationsUrl({\n        protoPath: '/v1/account-certifications/by-account/{accountId}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [{ path: 'certifications.createdDate' }],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __listAccountCertifications;\n}\n","import { HttpClient, NonNullablePaths } from '@wix/sdk-types';\nimport {\n  AccountCertificationQuery,\n  AccountCertificationsQueryBuilder,\n  ListAccountCertificationsResponse,\n  QueryAccountCertificationsResponse,\n  listAccountCertifications as universalListAccountCertifications,\n  queryAccountCertifications as universalQueryAccountCertifications,\n  typedQueryAccountCertifications as universalTypedQueryAccountCertifications,\n} from './academy-certifications-v1-account-certification-account-certifications.universal.js';\n\nexport const __metadata = { PACKAGE_NAME: '@wix/account-certifications' };\n\nexport function queryAccountCertifications(\n  httpClient: HttpClient\n): QueryAccountCertificationsSignature {\n  return () =>\n    universalQueryAccountCertifications(\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface QueryAccountCertificationsSignature {\n  /**\n   * Retrieves a list of up to 1,000 account certifications, given the provided paging, filtering, and sorting.\n   *\n   * Query Account Certifications returns the full account certification records, including the underlying `userCertificationIds`, for the caller's own account only. To retrieve any account's certifications as a public, visitor-safe projection, call [List Account Certifications](https://dev.wix.com/docs/api-reference/account-level/studio-workspace/certifications/account-certification-v1/list-account-certifications) instead.\n   *\n   * Query Account Certifications runs with these defaults, which you can override:\n   *\n   * - `createdDate` is sorted in `DESC` order\n   * - `cursorPaging.limit` is `50`\n   *\n   * You can filter and sort by `id`, `certificationType`, and `createdDate`.\n   *\n   * To learn about working with Query methods, see [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language), [Sorting and Paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging), and [Field Projection](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-field-projection).\n   */\n  (): AccountCertificationsQueryBuilder;\n}\n\nexport function typedQueryAccountCertifications(\n  httpClient: HttpClient\n): TypedQueryAccountCertificationsSignature {\n  return (query: AccountCertificationQuery) =>\n    universalTypedQueryAccountCertifications(\n      query,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface TypedQueryAccountCertificationsSignature {\n  /** */\n  (query: AccountCertificationQuery): Promise<\n    NonNullablePaths<\n      QueryAccountCertificationsResponse,\n      | `accountCertifications`\n      | `accountCertifications.${number}.certificationType`,\n      4\n    >\n  >;\n}\n\nexport function listAccountCertifications(\n  httpClient: HttpClient\n): ListAccountCertificationsSignature {\n  return (accountId: string) =>\n    universalListAccountCertifications(\n      accountId,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface ListAccountCertificationsSignature {\n  /**\n   * Retrieves an account's certifications for public display, given the account ID.\n   *\n   * This is a public, visitor-safe projection that returns only each certification's type and\n   * creation date. To retrieve the full account certification records, including the underlying\n   * `userCertificationIds`, call [Query Account Certifications](https://dev.wix.com/docs/api-reference/account-level/studio-workspace/certifications/account-certification-v1/query-account-certifications) instead.\n   * @param - ID of the account to get certifications for.\n   */\n  (accountId: string): Promise<\n    NonNullablePaths<\n      ListAccountCertificationsResponse,\n      `certifications` | `certifications.${number}.certificationType`,\n      4\n    >\n  >;\n}\n\nexport {\n  AccountCertification,\n  AccountCertificationQuerySpec,\n  AccountCertificationsQueryBuilder,\n  AccountCertificationsQueryResult,\n  AccountInfo,\n  ActionEvent,\n  Certification,\n  CertificationType,\n  CertifyAccountRequest,\n  CertifyAccountResponse,\n  CursorPaging,\n  CursorPagingMetadata,\n  CursorQuery,\n  CursorQueryPagingMethodOneOf,\n  Cursors,\n  DecertifyAccountRequest,\n  DecertifyAccountResponse,\n  DomainEvent,\n  DomainEventBodyOneOf,\n  Empty,\n  EntityCreatedEvent,\n  EntityDeletedEvent,\n  EntityUpdatedEvent,\n  IdentificationData,\n  IdentificationDataIdOneOf,\n  ListAccountCertificationsRequest,\n  ListAccountCertificationsResponse,\n  MessageEnvelope,\n  QueryAccountCertificationsRequest,\n  QueryAccountCertificationsResponse,\n  RestoreInfo,\n  SortOrder,\n  Sorting,\n  TeamMemberRemovedEvent,\n  WebhookIdentityType,\n  utils,\n} from './academy-certifications-v1-account-certification-account-certifications.universal.js';\n","import {\n  queryAccountCertifications as publicQueryAccountCertifications,\n  typedQueryAccountCertifications as publicTypedQueryAccountCertifications,\n  listAccountCertifications as publicListAccountCertifications,\n} from './academy-certifications-v1-account-certification-account-certifications.public.js';\nimport { createRESTModule } from '@wix/sdk-runtime/rest-modules';\nimport { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';\nimport { HttpClient } from '@wix/sdk-types';\nimport { createQueryOverloadRouter } from '@wix/sdk-runtime/query-method-router';\nimport {\n  AccountCertificationQuery,\n  AccountCertificationsQueryBuilder,\n  typedQueryAccountCertifications as universalTypedQueryAccountCertifications,\n} from './academy-certifications-v1-account-certification-account-certifications.universal.js';\n\nfunction customQueryAccountCertifications(httpClient: HttpClient) {\n  const router = /*#__PURE__*/ createQueryOverloadRouter({\n    builderQueryFunction: () => publicQueryAccountCertifications(httpClient)(),\n    typedQueryFunction: (query: AccountCertificationQuery) =>\n      publicTypedQueryAccountCertifications(httpClient)(query),\n    hasOptionsParameter: false,\n  });\n\n  function overloadedQuery(): AccountCertificationsQueryBuilder;\n  function overloadedQuery(\n    query: AccountCertificationQuery\n  ): ReturnType<typeof universalTypedQueryAccountCertifications>;\n  function overloadedQuery(query?: AccountCertificationQuery): any {\n    return router(...arguments);\n  }\n\n  return overloadedQuery;\n}\n\nexport const listAccountCertifications: MaybeContext<\n  BuildRESTFunction<typeof publicListAccountCertifications> &\n    typeof publicListAccountCertifications\n> = /*#__PURE__*/ createRESTModule(publicListAccountCertifications);\nexport const queryAccountCertifications: MaybeContext<\n  BuildRESTFunction<typeof customQueryAccountCertifications> &\n    typeof customQueryAccountCertifications\n> = /*#__PURE__*/ createRESTModule(customQueryAccountCertifications);\n\nexport {\n  CertificationType,\n  SortOrder,\n  WebhookIdentityType,\n} from './academy-certifications-v1-account-certification-account-certifications.universal.js';\nexport {\n  AccountCertification,\n  CertifyAccountRequest,\n  CertifyAccountResponse,\n  DecertifyAccountRequest,\n  DecertifyAccountResponse,\n  DomainEvent,\n  DomainEventBodyOneOf,\n  EntityCreatedEvent,\n  RestoreInfo,\n  EntityUpdatedEvent,\n  EntityDeletedEvent,\n  ActionEvent,\n  Empty,\n  QueryAccountCertificationsRequest,\n  CursorQuery,\n  CursorQueryPagingMethodOneOf,\n  Sorting,\n  CursorPaging,\n  QueryAccountCertificationsResponse,\n  CursorPagingMetadata,\n  Cursors,\n  ListAccountCertificationsRequest,\n  ListAccountCertificationsResponse,\n  Certification,\n  TeamMemberRemovedEvent,\n  MessageEnvelope,\n  IdentificationData,\n  IdentificationDataIdOneOf,\n  AccountInfo,\n  AccountCertificationsQueryResult,\n  AccountCertificationsQueryBuilder,\n  AccountCertificationQuerySpec,\n} from './academy-certifications-v1-account-certification-account-certifications.universal.js';\nexport { utils } from './academy-certifications-v1-account-certification-account-certifications.universal.js';\nexport {\n  CertificationTypeWithLiterals,\n  SortOrderWithLiterals,\n  WebhookIdentityTypeWithLiterals,\n  CommonQueryWithEntityContext,\n  AccountCertificationQuery,\n} from './academy-certifications-v1-account-certification-account-certifications.universal.js';\n"],"mappings":";AAAA,SAAS,kBAAkB,yBAAyB;AACpD,SAAS,oBAAoB;AAC7B;AAAA,EACE;AAAA,EACA;AAAA,OACK;;;ACLP,SAAS,yBAAyB;AAClC,SAAS,4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C;AAO1C,SAAS,iCAAiC,YAAwB;AAChE,QAAM,SAAuB,0CAA0B;AAAA,IACrD,sBAAsB,MAAMC,4BAAiC,UAAU,EAAE;AAAA,IACzE,oBAAoB,CAAC,UACnBC,iCAAsC,UAAU,EAAE,KAAK;AAAA,IACzD,qBAAqB;AAAA,EACvB,CAAC;AAMD,WAAS,gBAAgB,OAAwC;AAC/D,WAAO,OAAO,GAAG,SAAS;AAAA,EAC5B;AAEA,SAAO;AACT;AAEO,IAAMC,6BAGK,iCAAiBA,0BAA+B;AAC3D,IAAMF,8BAGK,iCAAiB,gCAAgC;","names":["payload","transformPaths","CertificationType","SortOrder","WebhookIdentityType","queryAccountCertifications","listAccountCertifications","queryAccountCertifications","typedQueryAccountCertifications","listAccountCertifications","queryAccountCertifications","typedQueryAccountCertifications","listAccountCertifications"]}