{"version":3,"sources":["../../src/achievements-categories-v3-category-categories.http.ts","../../src/achievements-categories-v3-category-categories.types.ts","../../src/achievements-categories-v3-category-categories.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\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 resolveWixAchievementsCategoriesV3CategoriesServiceUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    'bo._base_domain_': [\n      {\n        srcPath: '/program-categories-service',\n        destPath: '',\n      },\n    ],\n    'wixbo.ai': [\n      {\n        srcPath: '/program-categories-service',\n        destPath: '',\n      },\n    ],\n    'wix-bo.com': [\n      {\n        srcPath: '/program-categories-service',\n        destPath: '',\n      },\n    ],\n    'manage._base_domain_': [\n      {\n        srcPath: '/_api/program-categories-service',\n        destPath: '',\n      },\n      {\n        srcPath: '/program-categories-service',\n        destPath: '',\n      },\n    ],\n    'editor._base_domain_': [\n      {\n        srcPath: '/_api/program-categories-service',\n        destPath: '',\n      },\n    ],\n    'blocks._base_domain_': [\n      {\n        srcPath: '/_api/program-categories-service',\n        destPath: '',\n      },\n    ],\n    'create.editorx': [\n      {\n        srcPath: '/_api/program-categories-service',\n        destPath: '',\n      },\n    ],\n    'api._api_base_domain_': [\n      {\n        srcPath: '/program-categories-service',\n        destPath: '',\n      },\n    ],\n    _: [\n      {\n        srcPath: '/program-categories-service',\n        destPath: '',\n      },\n    ],\n    'www._base_domain_': [\n      {\n        srcPath: '/_api/program-categories-service',\n        destPath: '',\n      },\n    ],\n    '*.dev.wix-code.com': [\n      {\n        srcPath: '/_api/program-categories-service',\n        destPath: '',\n      },\n      {\n        srcPath: '/program-categories-service',\n        destPath: '',\n      },\n    ],\n    'editor.wixapps.net': [\n      {\n        srcPath: '/_api/program-categories-service',\n        destPath: '',\n      },\n      {\n        srcPath: '/program-categories-service',\n        destPath: '',\n      },\n    ],\n    'www.wixapis.com': [\n      {\n        srcPath: '/_api/program-categories-service',\n        destPath: '',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_online-programs_categories';\n\n/** Creates a new Category */\nexport function createCategory(payload: object): RequestOptionsFactory<any> {\n  function __createCategory({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'category.createdDate' },\n          { path: 'category.updatedDate' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.achievements.categories.v3.category',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.achievements.categories.v3.CategoriesService.CreateCategory',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixAchievementsCategoriesV3CategoriesServiceUrl({\n        protoPath: '/v3/categories',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'category.createdDate' },\n              { path: 'category.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __createCategory;\n}\n\n/** Creates new categories in a bulk */\nexport function bulkCreateCategory(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkCreateCategory({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'categories.createdDate' },\n          { path: 'categories.updatedDate' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.achievements.categories.v3.category',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.achievements.categories.v3.CategoriesService.BulkCreateCategory',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixAchievementsCategoriesV3CategoriesServiceUrl({\n        protoPath: '/v3/bulk/categories/create',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'results.item.createdDate' },\n              { path: 'results.item.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __bulkCreateCategory;\n}\n\n/** Get a Category by id */\nexport function getCategory(payload: object): RequestOptionsFactory<any> {\n  function __getCategory({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.achievements.categories.v3.category',\n      method: 'GET' as any,\n      methodFqn: 'wix.achievements.categories.v3.CategoriesService.GetCategory',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixAchievementsCategoriesV3CategoriesServiceUrl({\n        protoPath: '/v3/categories/{categoryId}',\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: 'category.createdDate' },\n              { path: 'category.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __getCategory;\n}\n\n/** Get list of categories by list of ids */\nexport function listCategories(payload: object): RequestOptionsFactory<any> {\n  function __listCategories({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.achievements.categories.v3.category',\n      method: 'GET' as any,\n      methodFqn:\n        'wix.achievements.categories.v3.CategoriesService.ListCategories',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixAchievementsCategoriesV3CategoriesServiceUrl({\n        protoPath: '/v3/categories',\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: 'categories.createdDate' },\n              { path: 'categories.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __listCategories;\n}\n\n/**\n * Update a Category, supports partial update\n * Pass the latest `revision` for a successful update\n */\nexport function updateCategory(payload: object): RequestOptionsFactory<any> {\n  function __updateCategory({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFieldMaskToRESTFieldMask,\n        paths: [{ path: 'mask' }],\n      },\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'category.createdDate' },\n          { path: 'category.updatedDate' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.achievements.categories.v3.category',\n      method: 'PATCH' as any,\n      methodFqn:\n        'wix.achievements.categories.v3.CategoriesService.UpdateCategory',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixAchievementsCategoriesV3CategoriesServiceUrl({\n        protoPath: '/v3/categories/{category.id}',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'category.createdDate' },\n              { path: 'category.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __updateCategory;\n}\n\n/** Delete a Category */\nexport function deleteCategory(payload: object): RequestOptionsFactory<any> {\n  function __deleteCategory({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.achievements.categories.v3.category',\n      method: 'DELETE' as any,\n      methodFqn:\n        'wix.achievements.categories.v3.CategoriesService.DeleteCategory',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixAchievementsCategoriesV3CategoriesServiceUrl({\n        protoPath: '/v3/categories/{categoryId}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __deleteCategory;\n}\n\n/** Query Categories using [WQL - Wix Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language) */\nexport function queryCategories(payload: object): RequestOptionsFactory<any> {\n  function __queryCategories({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.achievements.categories.v3.category',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.achievements.categories.v3.CategoriesService.QueryCategories',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixAchievementsCategoriesV3CategoriesServiceUrl({\n        protoPath: '/v3/categories/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: 'categories.createdDate' },\n              { path: 'categories.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __queryCategories;\n}\n\n/** Assign or unassign categories to a program */\nexport function bulkAssignCategoriesToProgram(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkAssignCategoriesToProgram({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.achievements.categories.v3.category',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.achievements.categories.v3.CategoriesService.BulkAssignCategoriesToProgram',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixAchievementsCategoriesV3CategoriesServiceUrl({\n        protoPath: '/v3/categories/bulk-assign-to-program',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'results.item.createdDate' },\n              { path: 'results.item.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __bulkAssignCategoriesToProgram;\n}\n","/** Category is the main entity of CategoriesService that can be used to group programs by */\nexport interface Category {\n  /**\n   * Category ID.\n   * @format GUID\n   * @readonly\n   */\n  id?: string | null;\n  /**\n   * Represents the current state of an item. Each time the item is modified, its `revision` changes by the server. for an update operation to succeed, you MUST pass the latest revision\n   * @readonly\n   */\n  revision?: string | null;\n  /**\n   * Represents the time this Category was created\n   * @readonly\n   */\n  createdDate?: Date | null;\n  /**\n   * Represents the time this Category was last updated\n   * @readonly\n   */\n  updatedDate?: Date | null;\n  /** @maxLength 100 */\n  label?: string;\n  /**\n   * List of programs in that category.\n   * @format GUID\n   * @maxSize 200\n   */\n  assignedTo?: string[];\n  /** extensible field */\n  extendedFields?: ExtendedFields;\n}\n\nexport interface ExtendedFields {\n  /**\n   * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\n   * The value of each key is structured according to the schema defined when the extended fields were configured.\n   *\n   * You can only access fields for which you have the appropriate permissions.\n   *\n   * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).\n   */\n  namespaces?: Record<string, Record<string, any>>;\n}\n\nexport interface CategoriesAssignedToProgram {\n  /**\n   * Categories which were added to program\n   * @format GUID\n   * @maxSize 10\n   */\n  categoriesAdded?: string[];\n  /**\n   * Categories which were removed from program\n   * @format GUID\n   * @maxSize 10\n   */\n  categoriesRemoved?: string[];\n}\n\nexport interface CategoryAssignedProgramsUpdated {\n  /**\n   * Programs which were added to category\n   * @format GUID\n   * @maxSize 10\n   */\n  programsAdded?: string[];\n  /**\n   * Programs which were removed from category\n   * @format GUID\n   * @maxSize 10\n   */\n  programsRemoved?: string[];\n}\n\nexport interface CreateCategoryRequest {\n  /** Category to be created */\n  category: Category;\n}\n\nexport interface CreateCategoryResponse {\n  /** The created Category */\n  category?: Category;\n}\n\nexport interface BulkCreateCategoryRequest {\n  /**\n   * List of categories you want to create\n   * @minSize 1\n   * @maxSize 100\n   */\n  categories: Category[];\n  /** Flag to specify if you want to get created entities in response */\n  returnEntity?: boolean;\n}\n\nexport interface BulkCreateCategoryResponse {\n  /** Results */\n  results?: BulkCategoryResult[];\n  /** bulk action metadata */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface ItemMetadata {\n  /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */\n  id?: string | null;\n  /** Index of the item within the request array. Allows for correlation between request and response items. */\n  originalIndex?: number;\n  /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */\n  success?: boolean;\n  /** Details about the error in case of failure. */\n  error?: ApplicationError;\n}\n\nexport interface ApplicationError {\n  /** Error code. */\n  code?: string;\n  /** Description of the error. */\n  description?: string;\n  /** Data related to the error. */\n  data?: Record<string, any> | null;\n}\n\nexport interface BulkCategoryResult {\n  /** item metadata */\n  itemMetadata?: ItemMetadata;\n  /** Only exists if `returnEntity` was set to true in the request */\n  item?: Category;\n}\n\nexport interface BulkActionMetadata {\n  /** Number of items that were successfully processed. */\n  totalSuccesses?: number;\n  /** Number of items that couldn't be processed. */\n  totalFailures?: number;\n  /** Number of failures without details because detailed failure threshold was exceeded. */\n  undetailedFailures?: number;\n}\n\nexport interface GetCategoryRequest {\n  /**\n   * Id of the Category to retrieve\n   * @format GUID\n   */\n  categoryId: string;\n}\n\nexport interface GetCategoryResponse {\n  /** The retrieved Category */\n  category?: Category;\n}\n\nexport interface ListCategoriesRequest {\n  /**\n   * Ids of categories to list\n   * @maxSize 100\n   * @format GUID\n   */\n  categoryIds?: string[];\n}\n\nexport interface ListCategoriesResponse {\n  /**\n   * The retrieved categories\n   * @maxSize 100\n   */\n  categories?: Category[];\n}\n\nexport interface UpdateCategoryRequest {\n  /** Category to be updated, may be partial */\n  category: Category;\n}\n\nexport interface UpdateCategoryResponse {\n  /** The updated Category */\n  category?: Category;\n}\n\nexport interface DeleteCategoryRequest {\n  /**\n   * Id of the Category to delete\n   * @format GUID\n   */\n  categoryId: string;\n}\n\nexport interface DeleteCategoryResponse {}\n\nexport interface QueryCategoriesRequest {\n  /** WQL expression */\n  query?: CursorQuery;\n}\n\nexport interface CursorQuery extends CursorQueryPagingMethodOneOf {\n  /**\n   * Cursor paging options.\n   *\n   * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).\n   */\n  cursorPaging?: CursorPaging;\n  /**\n   * Filter object.\n   *\n   * Learn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).\n   */\n  filter?: Record<string, any> | null;\n  /**\n   * Sort object.\n   *\n   * Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting).\n   * @maxSize 5\n   */\n  sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface CursorQueryPagingMethodOneOf {\n  /**\n   * Cursor paging options.\n   *\n   * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).\n   */\n  cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n  /**\n   * Name of the field to sort by.\n   * @maxLength 512\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   * Maximum number of items to return in the results.\n   * @max 100\n   */\n  limit?: number | null;\n  /**\n   * Pointer to the next or previous page in the list of results.\n   *\n   * Pass the relevant cursor token 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 QueryCategoriesResponse {\n  /** The retrieved Categories */\n  categories?: Category[];\n  /** Metadata for paging */\n  pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface CursorPagingMetadata {\n  /** Number of items returned in current page. */\n  count?: number | null;\n  /** Cursor strings that point to the next page, previous page, or both. */\n  cursors?: Cursors;\n  /**\n   * Whether there are more pages to retrieve following the current page.\n   *\n   * + `true`: Another page of results can be retrieved.\n   * + `false`: This is the last page.\n   */\n  hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n  /**\n   * Cursor string pointing to the next page in the list of results.\n   * @maxLength 16000\n   */\n  next?: string | null;\n  /**\n   * Cursor pointing to the previous page in the list of results.\n   * @maxLength 16000\n   */\n  prev?: string | null;\n}\n\nexport interface BulkAssignCategoriesToProgramRequest {\n  /**\n   * program ID which categories are changing\n   * @format GUID\n   */\n  programId: string;\n  /**\n   * Categories which are added to program\n   * @format GUID\n   * @maxSize 10\n   */\n  categoriesToAssign?: string[];\n  /**\n   * Categories which are removed from program\n   * @format GUID\n   * @maxSize 10\n   */\n  categoriesToUnassign?: string[];\n  /** Flag to specify if you want to get created entities in response */\n  returnEntity?: boolean;\n}\n\nexport interface BulkAssignCategoriesToProgramResponse {\n  /** Results */\n  results?: BulkAssignCategoryResult[];\n  /** bulk action metadata */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport enum Action {\n  UNKNOWN = 'UNKNOWN',\n  ASSIGN_PROGRAMS = 'ASSIGN_PROGRAMS',\n}\n\n/** @enumType */\nexport type ActionWithLiterals = Action | 'UNKNOWN' | 'ASSIGN_PROGRAMS';\n\nexport interface BulkAssignCategoryResult {\n  /** result action */\n  action?: ActionWithLiterals;\n  /** item metadata */\n  itemMetadata?: ItemMetadata;\n  /** Only exists if `returnEntity` was set to true in the request */\n  item?: Category;\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  entityAsJson?: string;\n  /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n  restoreInfo?: RestoreInfo;\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  currentEntityAsJson?: string;\n}\n\nexport interface EntityDeletedEvent {\n  /** Entity that was deleted. */\n  deletedEntityAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n  bodyAsJson?: string;\n}\n\nexport interface Empty {}\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","import * as ambassadorWixAchievementsCategoriesV3Category from './achievements-categories-v3-category-categories.http.js';\nimport * as ambassadorWixAchievementsCategoriesV3CategoryTypes from './achievements-categories-v3-category-categories.types.js';\nimport * as ambassadorWixAchievementsCategoriesV3CategoryUniversalTypes from './achievements-categories-v3-category-categories.universal.js';\n\nexport type __PublicMethodMetaInfo<\n  K = string,\n  M = unknown,\n  T = unknown,\n  S = unknown,\n  Q = unknown,\n  R = unknown\n> = {\n  getUrl: (context: any) => string;\n  httpMethod: K;\n  path: string;\n  pathParams: M;\n  __requestType: T;\n  __originalRequestType: S;\n  __responseType: Q;\n  __originalResponseType: R;\n};\n\nexport function createCategory(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixAchievementsCategoriesV3CategoryUniversalTypes.CreateCategoryRequest,\n  ambassadorWixAchievementsCategoriesV3CategoryTypes.CreateCategoryRequest,\n  ambassadorWixAchievementsCategoriesV3CategoryUniversalTypes.CreateCategoryResponse,\n  ambassadorWixAchievementsCategoriesV3CategoryTypes.CreateCategoryResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixAchievementsCategoriesV3Category.createCategory(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v3/categories',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function bulkCreateCategory(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixAchievementsCategoriesV3CategoryUniversalTypes.BulkCreateCategoryRequest,\n  ambassadorWixAchievementsCategoriesV3CategoryTypes.BulkCreateCategoryRequest,\n  ambassadorWixAchievementsCategoriesV3CategoryUniversalTypes.BulkCreateCategoryResponse,\n  ambassadorWixAchievementsCategoriesV3CategoryTypes.BulkCreateCategoryResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixAchievementsCategoriesV3Category.bulkCreateCategory(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v3/bulk/categories/create',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function getCategory(): __PublicMethodMetaInfo<\n  'GET',\n  { categoryId: string },\n  ambassadorWixAchievementsCategoriesV3CategoryUniversalTypes.GetCategoryRequest,\n  ambassadorWixAchievementsCategoriesV3CategoryTypes.GetCategoryRequest,\n  ambassadorWixAchievementsCategoriesV3CategoryUniversalTypes.GetCategoryResponse,\n  ambassadorWixAchievementsCategoriesV3CategoryTypes.GetCategoryResponse\n> {\n  const payload = { categoryId: ':categoryId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixAchievementsCategoriesV3Category.getCategory(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'GET',\n    path: '/v3/categories/{categoryId}',\n    pathParams: { categoryId: 'categoryId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function listCategories(): __PublicMethodMetaInfo<\n  'GET',\n  {},\n  ambassadorWixAchievementsCategoriesV3CategoryUniversalTypes.ListCategoriesRequest,\n  ambassadorWixAchievementsCategoriesV3CategoryTypes.ListCategoriesRequest,\n  ambassadorWixAchievementsCategoriesV3CategoryUniversalTypes.ListCategoriesResponse,\n  ambassadorWixAchievementsCategoriesV3CategoryTypes.ListCategoriesResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixAchievementsCategoriesV3Category.listCategories(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'GET',\n    path: '/v3/categories',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function updateCategory(): __PublicMethodMetaInfo<\n  'PATCH',\n  { categoryId: string },\n  ambassadorWixAchievementsCategoriesV3CategoryUniversalTypes.UpdateCategoryRequest,\n  ambassadorWixAchievementsCategoriesV3CategoryTypes.UpdateCategoryRequest,\n  ambassadorWixAchievementsCategoriesV3CategoryUniversalTypes.UpdateCategoryResponse,\n  ambassadorWixAchievementsCategoriesV3CategoryTypes.UpdateCategoryResponse\n> {\n  const payload = { category: { id: ':categoryId' } } as any;\n\n  const getRequestOptions =\n    ambassadorWixAchievementsCategoriesV3Category.updateCategory(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'PATCH',\n    path: '/v3/categories/{category.id}',\n    pathParams: { categoryId: 'categoryId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function deleteCategory(): __PublicMethodMetaInfo<\n  'DELETE',\n  { categoryId: string },\n  ambassadorWixAchievementsCategoriesV3CategoryUniversalTypes.DeleteCategoryRequest,\n  ambassadorWixAchievementsCategoriesV3CategoryTypes.DeleteCategoryRequest,\n  ambassadorWixAchievementsCategoriesV3CategoryUniversalTypes.DeleteCategoryResponse,\n  ambassadorWixAchievementsCategoriesV3CategoryTypes.DeleteCategoryResponse\n> {\n  const payload = { categoryId: ':categoryId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixAchievementsCategoriesV3Category.deleteCategory(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'DELETE',\n    path: '/v3/categories/{categoryId}',\n    pathParams: { categoryId: 'categoryId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function queryCategories(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixAchievementsCategoriesV3CategoryUniversalTypes.QueryCategoriesRequest,\n  ambassadorWixAchievementsCategoriesV3CategoryTypes.QueryCategoriesRequest,\n  ambassadorWixAchievementsCategoriesV3CategoryUniversalTypes.QueryCategoriesResponse,\n  ambassadorWixAchievementsCategoriesV3CategoryTypes.QueryCategoriesResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixAchievementsCategoriesV3Category.queryCategories(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v3/categories/query',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function bulkAssignCategoriesToProgram(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixAchievementsCategoriesV3CategoryUniversalTypes.BulkAssignCategoriesToProgramRequest,\n  ambassadorWixAchievementsCategoriesV3CategoryTypes.BulkAssignCategoriesToProgramRequest,\n  ambassadorWixAchievementsCategoriesV3CategoryUniversalTypes.BulkAssignCategoriesToProgramResponse,\n  ambassadorWixAchievementsCategoriesV3CategoryTypes.BulkAssignCategoriesToProgramResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixAchievementsCategoriesV3Category.bulkAssignCategoriesToProgram(\n      payload\n    );\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v3/categories/bulk-assign-to-program',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport {\n  Category as CategoryOriginal,\n  ExtendedFields as ExtendedFieldsOriginal,\n  CategoriesAssignedToProgram as CategoriesAssignedToProgramOriginal,\n  CategoryAssignedProgramsUpdated as CategoryAssignedProgramsUpdatedOriginal,\n  CreateCategoryRequest as CreateCategoryRequestOriginal,\n  CreateCategoryResponse as CreateCategoryResponseOriginal,\n  BulkCreateCategoryRequest as BulkCreateCategoryRequestOriginal,\n  BulkCreateCategoryResponse as BulkCreateCategoryResponseOriginal,\n  ItemMetadata as ItemMetadataOriginal,\n  ApplicationError as ApplicationErrorOriginal,\n  BulkCategoryResult as BulkCategoryResultOriginal,\n  BulkActionMetadata as BulkActionMetadataOriginal,\n  GetCategoryRequest as GetCategoryRequestOriginal,\n  GetCategoryResponse as GetCategoryResponseOriginal,\n  ListCategoriesRequest as ListCategoriesRequestOriginal,\n  ListCategoriesResponse as ListCategoriesResponseOriginal,\n  UpdateCategoryRequest as UpdateCategoryRequestOriginal,\n  UpdateCategoryResponse as UpdateCategoryResponseOriginal,\n  DeleteCategoryRequest as DeleteCategoryRequestOriginal,\n  DeleteCategoryResponse as DeleteCategoryResponseOriginal,\n  QueryCategoriesRequest as QueryCategoriesRequestOriginal,\n  CursorQuery as CursorQueryOriginal,\n  CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal,\n  Sorting as SortingOriginal,\n  SortOrder as SortOrderOriginal,\n  SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n  CursorPaging as CursorPagingOriginal,\n  QueryCategoriesResponse as QueryCategoriesResponseOriginal,\n  CursorPagingMetadata as CursorPagingMetadataOriginal,\n  Cursors as CursorsOriginal,\n  BulkAssignCategoriesToProgramRequest as BulkAssignCategoriesToProgramRequestOriginal,\n  BulkAssignCategoriesToProgramResponse as BulkAssignCategoriesToProgramResponseOriginal,\n  Action as ActionOriginal,\n  ActionWithLiterals as ActionWithLiteralsOriginal,\n  BulkAssignCategoryResult as BulkAssignCategoryResultOriginal,\n  DomainEvent as DomainEventOriginal,\n  DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n  EntityCreatedEvent as EntityCreatedEventOriginal,\n  RestoreInfo as RestoreInfoOriginal,\n  EntityUpdatedEvent as EntityUpdatedEventOriginal,\n  EntityDeletedEvent as EntityDeletedEventOriginal,\n  ActionEvent as ActionEventOriginal,\n  Empty as EmptyOriginal,\n  MessageEnvelope as MessageEnvelopeOriginal,\n  IdentificationData as IdentificationDataOriginal,\n  IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n  WebhookIdentityType as WebhookIdentityTypeOriginal,\n  WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n  AccountInfo as AccountInfoOriginal,\n} from './achievements-categories-v3-category-categories.types.js';\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,uDACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,oBAAoB;AAAA,MAClB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,YAAY;AAAA,MACV;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,cAAc;AAAA,MACZ;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAA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AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,iCAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBAC0C;AAAA,IAC5C;AAAA,EACF;AAEF,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","SortOrder","Action","WebhookIdentityType","createCategory","bulkCreateCategory","getCategory","listCategories","updateCategory","deleteCategory","queryCategories","bulkAssignCategoriesToProgram"]}