{"version":3,"sources":["../../src/academy-certifications-v1-user-certification-user-certifications.universal.ts","../../src/academy-certifications-v1-user-certification-user-certifications.http.ts","../../src/academy-certifications-v1-user-certification-user-certifications.public.ts","../../src/academy-certifications-v1-user-certification-user-certifications.context.ts"],"sourcesContent":["import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';\nimport {\n  renameKeysFromSDKRequestToRESTRequest,\n  renameKeysFromRESTResponseToSDKResponse,\n} from '@wix/sdk-runtime/rename-all-nested-keys';\nimport { HttpClient, NonNullablePaths } from '@wix/sdk-types';\nimport * as ambassadorWixAcademyCertificationsV1UserCertification from './academy-certifications-v1-user-certification-user-certifications.http.js';\n// @ts-ignore\n\n/**\n * A user certification represents a Wix Academy certification held by an individual user,\n * such as the Velo, Web Designer, or Wix Studio Developer certification.\n *\n * A user earns a certification by passing the corresponding Wix Academy exam or course.\n * Once earned, a certification is permanent and remains valid until it's removed administratively,\n * so you can treat the presence of a user certification as currently valid.\n * A user holds each certification type at most once.\n *\n * To read certifications at the account level, see the Account Certifications API.\n */\nexport interface UserCertification {\n  /**\n   * User certification ID.\n   * @format GUID\n   * @readonly\n   */\n  _id?: string | null;\n  /**\n   * Revision number, which increments by 1 each time the user certification is updated.\n   * To prevent conflicting changes,\n   * the current revision must be passed when updating the user certification.\n   *\n   * Ignored when creating a user certification.\n   * @readonly\n   */\n  revision?: string | null;\n  /**\n   * Date and time the user certification was created.\n   * @readonly\n   */\n  _createdDate?: Date | null;\n  /**\n   * Date and time the user certification was last updated.\n   * @readonly\n   */\n  _updatedDate?: Date | null;\n  /**\n   * ID of the certified user. Set when the certification is created and can't be changed afterward.\n   * @format GUID\n   * @immutable\n   */\n  userId?: string | null;\n  /**\n   * Type of certification the user 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 CreateUserCertificationRequest {\n  /** User certification to create. */\n  userCertification?: UserCertification;\n}\n\nexport interface CreateUserCertificationResponse {\n  /** Created user certification. */\n  userCertification?: UserCertification;\n}\n\nexport interface GetUserCertificationRequest {\n  /**\n   * ID of the user certification to retrieve.\n   * @format GUID\n   */\n  userCertificationId: string;\n}\n\nexport interface GetUserCertificationResponse {\n  /** Retrieved user certification. */\n  userCertification?: UserCertification;\n}\n\nexport interface DeleteUserCertificationRequest {\n  /**\n   * ID of the user certification to delete.\n   * @format GUID\n   */\n  userCertificationId?: string;\n}\n\nexport interface DeleteUserCertificationResponse {}\n\nexport interface QueryUserCertificationsRequest {\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 QueryUserCertificationsResponse {\n  /** List of user certifications. */\n  userCertifications?: UserCertification[];\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 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 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 user certification.\n * @param userCertificationId - ID of the user certification to retrieve.\n * @public\n * @documentationMaturity preview\n * @requiredField userCertificationId\n * @permissionId ACADEMY.USER_CERTIFICATION_READ\n * @returns Retrieved user certification.\n * @fqn wix.academy.certifications.user.v1.UserCertifications.GetUserCertification\n */\nexport async function getUserCertification(\n  userCertificationId: string\n): Promise<NonNullablePaths<UserCertification, `certificationType`, 2>> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[1] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({\n    userCertificationId: userCertificationId,\n  });\n\n  const reqOpts =\n    ambassadorWixAcademyCertificationsV1UserCertification.getUserCertification(\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      ?.userCertification!;\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: { userCertificationId: '$[0]' },\n        singleArgumentUnchanged: false,\n      },\n      ['userCertificationId']\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 resolveWixAcademyCertificationsUserV1UserCertificationsUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    'api._api_base_domain_': [\n      {\n        srcPath: '/user-certifications',\n        destPath: '',\n      },\n    ],\n    'www.wixapis.com': [\n      {\n        srcPath: '/academy/certifications/v1/user-certifications',\n        destPath: '/v1/user-certifications',\n      },\n    ],\n    '*.dev.wix-code.com': [\n      {\n        srcPath: '/academy/certifications/v1/user-certifications',\n        destPath: '/v1/user-certifications',\n      },\n    ],\n    _: [\n      {\n        srcPath: '/academy/certifications/v1/user-certifications',\n        destPath: '/v1/user-certifications',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_user-certifications_user-certifications';\n\n/** Retrieves a user certification. */\nexport function getUserCertification(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __getUserCertification({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.academy.certifications.v1.user_certification',\n      method: 'GET' as any,\n      methodFqn:\n        'wix.academy.certifications.user.v1.UserCertifications.GetUserCertification',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixAcademyCertificationsUserV1UserCertificationsUrl({\n        protoPath: '/v1/user-certifications/{userCertificationId}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'userCertification.createdDate' },\n              { path: 'userCertification.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __getUserCertification;\n}\n","import { HttpClient, NonNullablePaths } from '@wix/sdk-types';\nimport {\n  UserCertification,\n  getUserCertification as universalGetUserCertification,\n} from './academy-certifications-v1-user-certification-user-certifications.universal.js';\n\nexport const __metadata = { PACKAGE_NAME: '@wix/user-certifications' };\n\nexport function getUserCertification(\n  httpClient: HttpClient\n): GetUserCertificationSignature {\n  return (userCertificationId: string) =>\n    universalGetUserCertification(\n      userCertificationId,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface GetUserCertificationSignature {\n  /**\n   * Retrieves a user certification.\n   * @param - ID of the user certification to retrieve.\n   * @returns Retrieved user certification.\n   */\n  (userCertificationId: string): Promise<\n    NonNullablePaths<UserCertification, `certificationType`, 2>\n  >;\n}\n\nexport {\n  AccountInfo,\n  ActionEvent,\n  CertificationType,\n  CreateUserCertificationRequest,\n  CreateUserCertificationResponse,\n  CursorPaging,\n  CursorPagingMetadata,\n  CursorQuery,\n  CursorQueryPagingMethodOneOf,\n  Cursors,\n  DeleteUserCertificationRequest,\n  DeleteUserCertificationResponse,\n  DomainEvent,\n  DomainEventBodyOneOf,\n  EntityCreatedEvent,\n  EntityDeletedEvent,\n  EntityUpdatedEvent,\n  GetUserCertificationRequest,\n  GetUserCertificationResponse,\n  IdentificationData,\n  IdentificationDataIdOneOf,\n  MessageEnvelope,\n  QueryUserCertificationsRequest,\n  QueryUserCertificationsResponse,\n  RestoreInfo,\n  SortOrder,\n  Sorting,\n  UserCertification,\n  WebhookIdentityType,\n} from './academy-certifications-v1-user-certification-user-certifications.universal.js';\n","import { getUserCertification as publicGetUserCertification } from './academy-certifications-v1-user-certification-user-certifications.public.js';\nimport { createRESTModule } from '@wix/sdk-runtime/rest-modules';\nimport { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';\n\nexport const getUserCertification: MaybeContext<\n  BuildRESTFunction<typeof publicGetUserCertification> &\n    typeof publicGetUserCertification\n> = /*#__PURE__*/ createRESTModule(publicGetUserCertification);\n\nexport {\n  CertificationType,\n  SortOrder,\n  WebhookIdentityType,\n} from './academy-certifications-v1-user-certification-user-certifications.universal.js';\nexport {\n  UserCertification,\n  CreateUserCertificationRequest,\n  CreateUserCertificationResponse,\n  GetUserCertificationRequest,\n  GetUserCertificationResponse,\n  DeleteUserCertificationRequest,\n  DeleteUserCertificationResponse,\n  QueryUserCertificationsRequest,\n  CursorQuery,\n  CursorQueryPagingMethodOneOf,\n  Sorting,\n  CursorPaging,\n  QueryUserCertificationsResponse,\n  CursorPagingMetadata,\n  Cursors,\n  DomainEvent,\n  DomainEventBodyOneOf,\n  EntityCreatedEvent,\n  RestoreInfo,\n  EntityUpdatedEvent,\n  EntityDeletedEvent,\n  ActionEvent,\n  MessageEnvelope,\n  IdentificationData,\n  IdentificationDataIdOneOf,\n  AccountInfo,\n} from './academy-certifications-v1-user-certification-user-certifications.universal.js';\nexport {\n  CertificationTypeWithLiterals,\n  SortOrderWithLiterals,\n  WebhookIdentityTypeWithLiterals,\n} from './academy-certifications-v1-user-certification-user-certifications.universal.js';\n"],"mappings":"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","names":["payload","CertificationType","SortOrder","WebhookIdentityType","getUserCertification","getUserCertification","getUserCertification"]}