@wix/auto_sdk_stores_customizations-v-3 1.0.51 → 1.0.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +14 -5
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +5 -5
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +14 -5
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +5 -5
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +14 -5
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +5 -5
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +14 -5
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +5 -5
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -891,19 +891,19 @@ declare enum WebhookIdentityType {
|
|
|
891
891
|
}
|
|
892
892
|
/** @enumType */
|
|
893
893
|
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
894
|
-
interface
|
|
894
|
+
interface AccountInfo {
|
|
895
895
|
/**
|
|
896
|
-
* ID of the account.
|
|
896
|
+
* ID of the Wix account associated with the event.
|
|
897
897
|
* @format GUID
|
|
898
898
|
*/
|
|
899
899
|
accountId?: string | null;
|
|
900
900
|
/**
|
|
901
|
-
* ID of the parent account.
|
|
901
|
+
* ID of the parent Wix account. Only included when accountId belongs to a child account.
|
|
902
902
|
* @format GUID
|
|
903
903
|
*/
|
|
904
904
|
parentAccountId?: string | null;
|
|
905
905
|
/**
|
|
906
|
-
* ID of the site
|
|
906
|
+
* ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
|
|
907
907
|
* @format GUID
|
|
908
908
|
*/
|
|
909
909
|
siteId?: string | null;
|
|
@@ -1075,4 +1075,4 @@ declare function removeCustomizationChoices(): __PublicMethodMetaInfo<'POST', {
|
|
|
1075
1075
|
declare function bulkAddCustomizationChoices(): __PublicMethodMetaInfo<'POST', {}, BulkAddCustomizationChoicesRequest$1, BulkAddCustomizationChoicesRequest, BulkAddCustomizationChoicesResponse$1, BulkAddCustomizationChoicesResponse>;
|
|
1076
1076
|
declare function bulkUpdateCustomizations(): __PublicMethodMetaInfo<'POST', {}, BulkUpdateCustomizationsRequest$1, BulkUpdateCustomizationsRequest, BulkUpdateCustomizationsResponse$1, BulkUpdateCustomizationsResponse>;
|
|
1077
1077
|
|
|
1078
|
-
export { type
|
|
1078
|
+
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AddCustomizationChoicesApplicationErrors as AddCustomizationChoicesApplicationErrorsOriginal, type AddCustomizationChoicesRequest as AddCustomizationChoicesRequestOriginal, type AddCustomizationChoicesResponse as AddCustomizationChoicesResponseOriginal, type AddCustomizationChoicesValidationErrors as AddCustomizationChoicesValidationErrorsOriginal, type App as AppOriginal, type ApplicationError as ApplicationErrorOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkAddCustomizationChoicesApplicationErrors as BulkAddCustomizationChoicesApplicationErrorsOriginal, type BulkAddCustomizationChoicesRequest as BulkAddCustomizationChoicesRequestOriginal, type BulkAddCustomizationChoicesResponse as BulkAddCustomizationChoicesResponseOriginal, type BulkAddCustomizationChoicesValidationErrors as BulkAddCustomizationChoicesValidationErrorsOriginal, type BulkCreateCustomizationsApplicationErrors as BulkCreateCustomizationsApplicationErrorsOriginal, type BulkCreateCustomizationsRequest as BulkCreateCustomizationsRequestOriginal, type BulkCreateCustomizationsResponse as BulkCreateCustomizationsResponseOriginal, type BulkCreateCustomizationsValidationErrors as BulkCreateCustomizationsValidationErrorsOriginal, type BulkCustomizationResult as BulkCustomizationResultOriginal, type BulkUpdateCustomizationsRequest as BulkUpdateCustomizationsRequestOriginal, type BulkUpdateCustomizationsResponse as BulkUpdateCustomizationsResponseOriginal, type Choice as ChoiceOriginal, ChoiceType as ChoiceTypeOriginal, type ChoiceTypeWithLiterals as ChoiceTypeWithLiteralsOriginal, type ChoiceValueOneOf as ChoiceValueOneOfOriginal, type ChoicesSettings as ChoicesSettingsOriginal, type CreateCustomizationApplicationErrors as CreateCustomizationApplicationErrorsOriginal, type CreateCustomizationRequest as CreateCustomizationRequestOriginal, type CreateCustomizationResponse as CreateCustomizationResponseOriginal, type CreateCustomizationValidationErrors as CreateCustomizationValidationErrorsOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type CustomTag as CustomTagOriginal, type CustomizationChoices as CustomizationChoicesOriginal, type CustomizationCustomizationSettingsOneOf as CustomizationCustomizationSettingsOneOfOriginal, type CustomizationIdsWrapper as CustomizationIdsWrapperOriginal, type Customization as CustomizationOriginal, CustomizationRenderType as CustomizationRenderTypeOriginal, type CustomizationRenderTypeWithLiterals as CustomizationRenderTypeWithLiteralsOriginal, CustomizationType as CustomizationTypeOriginal, type CustomizationTypeWithLiterals as CustomizationTypeWithLiteralsOriginal, type DeleteCustomizationRequest as DeleteCustomizationRequestOriginal, type DeleteCustomizationResponse as DeleteCustomizationResponseOriginal, type DeleteCustomizationValidationErrors as DeleteCustomizationValidationErrorsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type File as FileOriginal, type FocalPoint as FocalPointOriginal, type FreeTextSettings as FreeTextSettingsOriginal, type GetCustomizationRequest as GetCustomizationRequestOriginal, type GetCustomizationResponse as GetCustomizationResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type Image as ImageOriginal, type InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOfOriginal, type InvalidateCache as InvalidateCacheOriginal, type ItemMetadata as ItemMetadataOriginal, type MaskedCustomization as MaskedCustomizationOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type MultipleColors as MultipleColorsOriginal, type Page as PageOriginal, type QueryCustomizationsRequest as QueryCustomizationsRequestOriginal, type QueryCustomizationsResponse as QueryCustomizationsResponseOriginal, type RecloneSiteRequest as RecloneSiteRequestOriginal, type RecloneSiteResponse as RecloneSiteResponseOriginal, type RemoveCustomizationChoicesApplicationErrors as RemoveCustomizationChoicesApplicationErrorsOriginal, type RemoveCustomizationChoicesRequest as RemoveCustomizationChoicesRequestOriginal, type RemoveCustomizationChoicesResponse as RemoveCustomizationChoicesResponseOriginal, type RemoveCustomizationChoicesValidationErrors as RemoveCustomizationChoicesValidationErrorsOriginal, RequestedFields as RequestedFieldsOriginal, type RequestedFieldsWithLiterals as RequestedFieldsWithLiteralsOriginal, type RestoreInfo as RestoreInfoOriginal, type SetCustomizationChoicesApplicationErrors as SetCustomizationChoicesApplicationErrorsOriginal, type SetCustomizationChoicesRequest as SetCustomizationChoicesRequestOriginal, type SetCustomizationChoicesResponse as SetCustomizationChoicesResponseOriginal, type SetCustomizationChoicesValidationErrors as SetCustomizationChoicesValidationErrorsOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type URI as URIOriginal, type UpdateCustomizationRequest as UpdateCustomizationRequestOriginal, type UpdateCustomizationResponse as UpdateCustomizationResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, addCustomizationChoices, bulkAddCustomizationChoices, bulkCreateCustomizations, bulkUpdateCustomizations, createCustomization, deleteCustomization, getCustomization, queryCustomizations, removeCustomizationChoices, setCustomizationChoices, updateCustomization };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/stores-catalog-v3-customization-customizations-v-3.http.ts","../../../src/stores-catalog-v3-customization-customizations-v-3.types.ts","../../../src/stores-catalog-v3-customization-customizations-v-3.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKFloatToRESTFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\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 resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/customization',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/stores/v3/customizations',\n destPath: '/v3/customizations',\n },\n {\n srcPath: '/stores/v3/bulk/customizations',\n destPath: '/v3/bulk/customizations',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/customization',\n destPath: '',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/customization',\n destPath: '',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/customization',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/_api/customization',\n destPath: '',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/customization',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_stores_customizations-v-3';\n\n/** Creates a customization. */\nexport function createCustomization(\n payload: object\n): RequestOptionsFactory<any> {\n function __createCustomization({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'customization.createdDate' },\n { path: 'customization.updatedDate' },\n {\n path: 'customization.choicesSettings.choices.image.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'customization.choicesSettings.choices.image.focalPoint.x' },\n { path: 'customization.choicesSettings.choices.image.focalPoint.y' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'POST' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.CreateCustomization',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/customizations',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'customization.createdDate' },\n { path: 'customization.updatedDate' },\n {\n path: 'customization.choicesSettings.choices.image.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'customization.choicesSettings.choices.image.focalPoint.x',\n },\n {\n path: 'customization.choicesSettings.choices.image.focalPoint.y',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createCustomization;\n}\n\n/** Retrieves a customization. */\nexport function getCustomization(payload: object): RequestOptionsFactory<any> {\n function __getCustomization({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'GET' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.GetCustomization',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/customizations/{customizationId}',\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: 'customization.createdDate' },\n { path: 'customization.updatedDate' },\n {\n path: 'customization.choicesSettings.choices.image.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'customization.choicesSettings.choices.image.focalPoint.x',\n },\n {\n path: 'customization.choicesSettings.choices.image.focalPoint.y',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getCustomization;\n}\n\n/**\n * Updates a customization.\n *\n * Each time the customization is updated, `revision` increments by 1.\n * The current `revision` must be passed when updating the customization.\n * This ensures you're working with the latest customization and prevents unintended overwrites.\n */\nexport function updateCustomization(\n payload: object\n): RequestOptionsFactory<any> {\n function __updateCustomization({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'customization.createdDate' },\n { path: 'customization.updatedDate' },\n {\n path: 'customization.choicesSettings.choices.image.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'customization.choicesSettings.choices.image.focalPoint.x' },\n { path: 'customization.choicesSettings.choices.image.focalPoint.y' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'PATCH' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.UpdateCustomization',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/customizations/{customization.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: 'customization.createdDate' },\n { path: 'customization.updatedDate' },\n {\n path: 'customization.choicesSettings.choices.image.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'customization.choicesSettings.choices.image.focalPoint.x',\n },\n {\n path: 'customization.choicesSettings.choices.image.focalPoint.y',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateCustomization;\n}\n\n/**\n * Deletes a customization.\n *\n * > **Notes:**\n * > + **Options** (customizations with `customizationType: PRODUCT_OPTION`) can't be deleted while assigned to any product because they affect product variants and inventory.\n * > + **Modifiers** can be deleted freely. When deleted, they are automatically removed from all products that reference them.\n */\nexport function deleteCustomization(\n payload: object\n): RequestOptionsFactory<any> {\n function __deleteCustomization({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'DELETE' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.DeleteCustomization',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/customizations/{customizationId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteCustomization;\n}\n\n/**\n * Retrieves a list of up to 100 customizations, given the provided filtering, sorting, and cursor paging.\n * Pass supported values to the `fields` array in the request to include those fields in the response.\n *\n *\n * Query Customizations runs with these defaults, which you can override:\n *\n * - `createdDate` is sorted in `DESC` order\n * - `cursorPaging.limit` is `100`\n *\n * For field support for filters and sorting,\n * see [Customizations: Supported Filters and Sorting](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/customizations-v3/supported-filters-and-sorting).\n *\n * To learn about working with _Query_ endpoints, see\n * [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language),\n * and [Sorting and Paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging).\n */\nexport function queryCustomizations(\n payload: object\n): RequestOptionsFactory<any> {\n function __queryCustomizations({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'GET' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.QueryCustomizations',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/customizations/query',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload, true),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'customizations.createdDate' },\n { path: 'customizations.updatedDate' },\n {\n path: 'customizations.choicesSettings.choices.image.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'customizations.choicesSettings.choices.image.focalPoint.x',\n },\n {\n path: 'customizations.choicesSettings.choices.image.focalPoint.y',\n },\n ],\n },\n ]),\n fallback: [\n {\n method: 'POST' as any,\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/customizations/query',\n data: payload,\n host,\n }),\n data: payload,\n },\n ],\n };\n\n return metadata;\n }\n\n return __queryCustomizations;\n}\n\n/** Creates multiple customizations. */\nexport function bulkCreateCustomizations(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkCreateCustomizations({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'customizations.createdDate' },\n { path: 'customizations.updatedDate' },\n {\n path: 'customizations.choicesSettings.choices.image.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'customizations.choicesSettings.choices.image.focalPoint.x' },\n { path: 'customizations.choicesSettings.choices.image.focalPoint.y' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'POST' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.BulkCreateCustomizations',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/bulk/customizations/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.customization.createdDate' },\n { path: 'results.customization.updatedDate' },\n {\n path: 'results.customization.choicesSettings.choices.image.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'results.customization.choicesSettings.choices.image.focalPoint.x',\n },\n {\n path: 'results.customization.choicesSettings.choices.image.focalPoint.y',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkCreateCustomizations;\n}\n\n/** Adds choices to a customization. */\nexport function addCustomizationChoices(\n payload: object\n): RequestOptionsFactory<any> {\n function __addCustomizationChoices({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [{ path: 'choices.image.urlExpirationDate' }],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'choices.image.focalPoint.x' },\n { path: 'choices.image.focalPoint.y' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'POST' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.AddCustomizationChoices',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/customizations/{customizationId}/add-choices',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'customization.createdDate' },\n { path: 'customization.updatedDate' },\n {\n path: 'customization.choicesSettings.choices.image.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'customization.choicesSettings.choices.image.focalPoint.x',\n },\n {\n path: 'customization.choicesSettings.choices.image.focalPoint.y',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __addCustomizationChoices;\n}\n\n/**\n * Sets a customization's choices. Any and all existing choices will be overridden.\n *\n * > **Note:** A choice cannot be overridden if it is assigned to one or more products.\n */\nexport function setCustomizationChoices(\n payload: object\n): RequestOptionsFactory<any> {\n function __setCustomizationChoices({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [{ path: 'choices.image.urlExpirationDate' }],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'choices.image.focalPoint.x' },\n { path: 'choices.image.focalPoint.y' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'POST' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.SetCustomizationChoices',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/customizations/{customizationId}/set-choices',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'customization.createdDate' },\n { path: 'customization.updatedDate' },\n {\n path: 'customization.choicesSettings.choices.image.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'customization.choicesSettings.choices.image.focalPoint.x',\n },\n {\n path: 'customization.choicesSettings.choices.image.focalPoint.y',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __setCustomizationChoices;\n}\n\n/**\n * Removes choices from a customization.\n *\n * > **Note:** A choice can't be removed if it's assigned to one or more product variants. This applies to option choices only; modifier choices can be removed freely.\n */\nexport function removeCustomizationChoices(\n payload: object\n): RequestOptionsFactory<any> {\n function __removeCustomizationChoices({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'POST' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.RemoveCustomizationChoices',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/customizations/{customizationId}/remove-choices',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'customization.createdDate' },\n { path: 'customization.updatedDate' },\n {\n path: 'customization.choicesSettings.choices.image.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'customization.choicesSettings.choices.image.focalPoint.x',\n },\n {\n path: 'customization.choicesSettings.choices.image.focalPoint.y',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __removeCustomizationChoices;\n}\n\n/** Adds choices to multiple customizations. */\nexport function bulkAddCustomizationChoices(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkAddCustomizationChoices({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'customizationsChoices.choices.image.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'customizationsChoices.choices.image.focalPoint.x' },\n { path: 'customizationsChoices.choices.image.focalPoint.y' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'POST' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.BulkAddCustomizationChoices',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/bulk/customizations/add-choices',\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.customization.createdDate' },\n { path: 'results.customization.updatedDate' },\n {\n path: 'results.customization.choicesSettings.choices.image.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'results.customization.choicesSettings.choices.image.focalPoint.x',\n },\n {\n path: 'results.customization.choicesSettings.choices.image.focalPoint.y',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkAddCustomizationChoices;\n}\n\n/**\n * Updates multiple customizations.\n *\n * Each time the customization is updated, `revision` increments by 1.\n * The current `revision` must be passed when updating the customization.\n * This ensures you're working with the latest customization and prevents unintended overwrites.\n */\nexport function bulkUpdateCustomizations(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdateCustomizations({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'customizations.fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'customizations.customization.createdDate' },\n { path: 'customizations.customization.updatedDate' },\n {\n path: 'customizations.customization.choicesSettings.choices.image.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n {\n path: 'customizations.customization.choicesSettings.choices.image.focalPoint.x',\n },\n {\n path: 'customizations.customization.choicesSettings.choices.image.focalPoint.y',\n },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'POST' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.BulkUpdateCustomizations',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/bulk/customizations/update',\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.customization.createdDate' },\n { path: 'results.customization.updatedDate' },\n {\n path: 'results.customization.choicesSettings.choices.image.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'results.customization.choicesSettings.choices.image.focalPoint.x',\n },\n {\n path: 'results.customization.choicesSettings.choices.image.focalPoint.y',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkUpdateCustomizations;\n}\n","/**\n * Customizations include options and modifiers which can later be applied to products.\n * Options are designed to add variations to a product, where modifiers add a customizable change to the product but without creating another variant.\n */\nexport interface Customization extends CustomizationCustomizationSettingsOneOf {\n /**\n * Free text input settings.\n *\n * > **Note:** To be passed along with `customizationRenderType: FREE_TEXT`.\n * @immutable\n */\n freeTextInput?: FreeTextSettings;\n /**\n * Choices settings.\n *\n * > **Note:** Must be passed along with `customizationRenderType` of `SWATCH_CHOICES` and `TEXT_CHOICES`.\n */\n choicesSettings?: ChoicesSettings;\n /**\n * Customization ID.\n * @minLength 1\n * @maxLength 36\n * @readonly\n */\n id?: string | null;\n /**\n * Revision number, which increments by 1 each time the customization is updated.\n * To prevent conflicting changes,\n * the current revision must be passed when updating the customization.\n *\n * Ignored when creating a customization.\n * @readonly\n */\n revision?: string | null;\n /**\n * Date and time the customization was created.\n * @readonly\n */\n createdDate?: Date | null;\n /**\n * Date and time the customization was updated.\n * @readonly\n */\n updatedDate?: Date | null;\n /**\n * Customization name for options (for example, `\"color\"`, `\"size\"`) and modifiers (for example, `\"greeting card\"`).\n * @minLength 1\n * @maxLength 50\n */\n name?: string;\n /**\n * Customization type.\n * @immutable\n */\n customizationType?: CustomizationTypeWithLiterals;\n /**\n * Customization render type.\n *\n * Defines how the customization will be displayed in the storefront.\n * @immutable\n */\n customizationRenderType?: CustomizationRenderTypeWithLiterals;\n /**\n * Number of products this customization is assigned to.\n * > **Note:** Returned only when you pass `\"ASSIGNED_PRODUCTS_COUNT\"` to the `fields` array in Customizations API requests.\n * @readonly\n */\n assignedProductsCount?: number | null;\n}\n\n/** @oneof */\nexport interface CustomizationCustomizationSettingsOneOf {\n /**\n * Free text input settings.\n *\n * > **Note:** To be passed along with `customizationRenderType: FREE_TEXT`.\n * @immutable\n */\n freeTextInput?: FreeTextSettings;\n /**\n * Choices settings.\n *\n * > **Note:** Must be passed along with `customizationRenderType` of `SWATCH_CHOICES` and `TEXT_CHOICES`.\n */\n choicesSettings?: ChoicesSettings;\n}\n\nexport enum CustomizationType {\n UNKNOWN_CUSTOMIZATION_TYPE = 'UNKNOWN_CUSTOMIZATION_TYPE',\n PRODUCT_OPTION = 'PRODUCT_OPTION',\n MODIFIER = 'MODIFIER',\n}\n\n/** @enumType */\nexport type CustomizationTypeWithLiterals =\n | CustomizationType\n | 'UNKNOWN_CUSTOMIZATION_TYPE'\n | 'PRODUCT_OPTION'\n | 'MODIFIER';\n\nexport enum CustomizationRenderType {\n UNKNOWN_CUSTOMIZATION_RENDER_TYPE = 'UNKNOWN_CUSTOMIZATION_RENDER_TYPE',\n /** Customization by free text input. */\n FREE_TEXT = 'FREE_TEXT',\n /** Customization by selection of text choices. */\n TEXT_CHOICES = 'TEXT_CHOICES',\n /** Customization by selection of colors. */\n SWATCH_CHOICES = 'SWATCH_CHOICES',\n}\n\n/** @enumType */\nexport type CustomizationRenderTypeWithLiterals =\n | CustomizationRenderType\n | 'UNKNOWN_CUSTOMIZATION_RENDER_TYPE'\n | 'FREE_TEXT'\n | 'TEXT_CHOICES'\n | 'SWATCH_CHOICES';\n\nexport interface FreeTextSettings {\n /** Minimum text character length. */\n minCharCount?: number;\n /**\n * Maximum text character length.\n * @max 500\n */\n maxCharCount?: number;\n /**\n * Default amount added to a product's price when this choice is assigned to a modifier.\n * @decimalValue options { gte:0, lte:999999999, maxScale:3 }\n */\n defaultAddedPrice?: string | null;\n /**\n * Title to display to customer for their free-text input.\n * @minLength 1\n * @maxLength 100\n */\n title?: string;\n}\n\nexport interface ChoicesSettings {\n /**\n * List of choices.\n * @minSize 1\n * @maxSize 200\n * @immutable\n */\n choices?: Choice[];\n}\n\nexport interface Choice extends ChoiceValueOneOf {\n /**\n * Color code in HEX format, [as described by MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color).\n * @minLength 3\n * @maxLength 20\n * @format COLOR_HEX\n */\n colorCode?: string;\n /**\n * Choice ID.\n * @format GUID\n * @readonly\n */\n id?: string;\n /**\n * Choice type.\n *\n * > **Notes:**\n * > + For `customizationRenderType: SWATCH_CHOICES`, the supported `choiceType` value is: `ONE_COLOR`.\n * > + For a `customizationRenderType` of `TEXT_CHOICES`, the supported `choiceType` value is: `CHOICE_TEXT`.\n * @immutable\n */\n choiceType?: ChoiceTypeWithLiterals;\n /**\n * A read-only key generated based on choice name. Used for eCommerce integration.\n * @readonly\n * @minLength 1\n * @maxLength 50\n */\n key?: string | null;\n /**\n * Choice name.\n * @minLength 1\n * @maxLength 50\n */\n name?: string;\n /**\n * Default amount added to a product's price when this customization is assigned to a modifier.\n * @decimalValue options { gte:0, lte:999999999, maxScale:3 }\n */\n defaultAddedPrice?: string | null;\n /**\n * Number of products this choice is assigned to .\n * @readonly\n */\n assignedProductsCount?: number;\n}\n\n/** @oneof */\nexport interface ChoiceValueOneOf {\n /**\n * Color code in HEX format, [as described by MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color).\n * @minLength 3\n * @maxLength 20\n * @format COLOR_HEX\n */\n colorCode?: string;\n}\n\nexport enum ChoiceType {\n UNKNOWN_CHOICE_TYPE = 'UNKNOWN_CHOICE_TYPE',\n /** For a `customizationRenderType` of `TEXT_CHOICES`. */\n CHOICE_TEXT = 'CHOICE_TEXT',\n /** For `customizationRenderType: SWATCH_CHOICES`. */\n ONE_COLOR = 'ONE_COLOR',\n}\n\n/** @enumType */\nexport type ChoiceTypeWithLiterals =\n | ChoiceType\n | 'UNKNOWN_CHOICE_TYPE'\n | 'CHOICE_TEXT'\n | 'ONE_COLOR';\n\nexport interface MultipleColors {\n /**\n * A list of color codes.\n * @minLength 3\n * @maxLength 20\n * @minSize 2\n * @maxSize 2\n */\n colorCodes?: string[];\n}\n\nexport interface Image {\n /** WixMedia image ID. */\n id?: string;\n /** Image URL. */\n url?: string;\n /**\n * Original image height.\n * @readonly\n */\n height?: number;\n /**\n * Original image width.\n * @readonly\n */\n width?: number;\n /** Image alt text. */\n altText?: string | null;\n /**\n * Image filename.\n * @readonly\n */\n filename?: string | null;\n}\n\nexport interface FocalPoint {\n /** X-coordinate of the focal point. */\n x?: number;\n /** Y-coordinate of the focal point. */\n y?: number;\n /** crop by height */\n height?: number | null;\n /** crop by width */\n width?: number | null;\n}\n\nexport interface InvalidateCache extends InvalidateCacheGetByOneOf {\n /**\n * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n siteId?: string;\n /** Invalidate by App */\n app?: App;\n /** Invalidate by page id */\n page?: Page;\n /** Invalidate by URI path */\n uri?: URI;\n /** Invalidate by file (for media files such as PDFs) */\n file?: File;\n /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */\n customTag?: CustomTag;\n /**\n * tell us why you're invalidating the cache. You don't need to add your app name\n * @maxLength 256\n */\n reason?: string | null;\n /** Is local DS */\n localDc?: boolean;\n hardPurge?: boolean;\n}\n\n/** @oneof */\nexport interface InvalidateCacheGetByOneOf {\n /**\n * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n siteId?: string;\n /** Invalidate by App */\n app?: App;\n /** Invalidate by page id */\n page?: Page;\n /** Invalidate by URI path */\n uri?: URI;\n /** Invalidate by file (for media files such as PDFs) */\n file?: File;\n /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */\n customTag?: CustomTag;\n}\n\nexport interface App {\n /**\n * The AppDefId\n * @minLength 1\n */\n appDefId?: string;\n /**\n * The instance Id\n * @format GUID\n */\n instanceId?: string;\n}\n\nexport interface Page {\n /**\n * the msid the page is on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Page ID\n * @minLength 1\n */\n pageId?: string;\n}\n\nexport interface URI {\n /**\n * the msid the URI is on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes\n * @minLength 1\n */\n uriPath?: string;\n}\n\nexport interface File {\n /**\n * the msid the file is related to\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by filename (for media files such as PDFs)\n * @minLength 1\n * @maxLength 256\n */\n fileName?: string;\n}\n\nexport interface CustomTag {\n /**\n * the msid the tag is related to\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Tag to invalidate by\n * @minLength 1\n * @maxLength 256\n */\n tag?: string;\n}\n\nexport interface CreateCustomizationRequest {\n /** Customization to create. */\n customization: Customization;\n}\n\nexport interface CreateCustomizationResponse {\n /** Created customization. */\n customization?: Customization;\n}\n\nexport interface GetCustomizationRequest {\n /**\n * Customization ID.\n * @format GUID\n */\n customizationId: string;\n /**\n * Fields to include in the response.\n *\n * Supported values: `ASSIGNED_PRODUCTS_COUNT`\n * @maxSize 100\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport enum RequestedFields {\n /** Unknown requested field. */\n UNKNOWN_REQUESTED_FIELD = 'UNKNOWN_REQUESTED_FIELD',\n /** Assigned products count. */\n ASSIGNED_PRODUCTS_COUNT = 'ASSIGNED_PRODUCTS_COUNT',\n}\n\n/** @enumType */\nexport type RequestedFieldsWithLiterals =\n | RequestedFields\n | 'UNKNOWN_REQUESTED_FIELD'\n | 'ASSIGNED_PRODUCTS_COUNT';\n\nexport interface GetCustomizationResponse {\n /** Customization. */\n customization?: Customization;\n}\n\nexport interface UpdateCustomizationRequest {\n /** Customization to update. */\n customization: Customization;\n /**\n * Fields to include in the response.\n *\n * Supported values: `ASSIGNED_PRODUCTS_COUNT`\n * @maxSize 100\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface UpdateCustomizationResponse {\n /** Updated customization. */\n customization?: Customization;\n}\n\nexport interface DeleteCustomizationRequest {\n /**\n * Customization ID.\n * @format GUID\n */\n customizationId: string;\n}\n\nexport interface DeleteCustomizationResponse {}\n\nexport interface QueryCustomizationsRequest {\n /** Query options. */\n query?: CursorQuery;\n /**\n * Fields to include in the response.\n *\n * Supported values: `ASSIGNED_PRODUCTS_COUNT`\n * @maxSize 100\n */\n fields?: RequestedFieldsWithLiterals[];\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 5\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 512\n */\n fieldName?: string;\n /** Sort order. */\n order?: SortOrderWithLiterals;\n}\n\nexport enum SortOrder {\n /** Ascending order. */\n ASC = 'ASC',\n /** Descending order. */\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 QueryCustomizationsResponse {\n /**\n * List of customizations.\n * @minSize 1\n * @maxSize 200\n */\n customizations?: Customization[];\n /** Details on the paged set of results returned. */\n pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface CursorPagingMetadata {\n /** Number of items returned in the response. */\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 BulkCreateCustomizationsRequest {\n /**\n * Customizations to create.\n * @minSize 1\n * @maxSize 100\n */\n customizations: Customization[];\n /**\n * Whether to return the full customization entities in the response.\n *\n * Default: `false`\n */\n returnEntity?: boolean;\n}\n\nexport interface BulkCreateCustomizationsResponse {\n /**\n * Customizations created by bulk action.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkCustomizationResult[];\n /** Bulk action metadata. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkCustomizationResult {\n /** Bulk action metadata for customization. */\n itemMetadata?: ItemMetadata;\n /**\n * Full customization entity.\n *\n * Returned only if `returnEntity: true` is passed in the request.\n */\n customization?: Customization;\n}\n\nexport interface ItemMetadata {\n /**\n * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).\n * @minLength 1\n * @maxLength 36\n */\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 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 CustomizationIdsWrapper {\n /**\n * list of all the customization ids that are invalid\n * e.g list of failed choices ids\n * @minSize 1\n * @maxSize 100\n * @minLength 1\n * @maxLength 36\n */\n customizationIds?: string[];\n}\n\nexport interface AddCustomizationChoicesRequest {\n /**\n * Customization ID.\n * @format GUID\n */\n customizationId: string;\n /**\n * Choices to add.\n * @minSize 1\n * @maxSize 100\n */\n choices: Choice[];\n /**\n * Fields to include in the response.\n *\n * Supported values: `ASSIGNED_PRODUCTS_COUNT`\n * @maxSize 100\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface AddCustomizationChoicesResponse {\n /** Updated customization. */\n customization?: Customization;\n}\n\nexport interface SetCustomizationChoicesRequest {\n /**\n * Customization ID.\n * @format GUID\n */\n customizationId: string;\n /**\n * Choices to set.\n * @minSize 1\n * @maxSize 100\n */\n choices: Choice[];\n /**\n * Fields to include in the response.\n *\n * Supported values: `ASSIGNED_PRODUCTS_COUNT`\n * @maxSize 100\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface SetCustomizationChoicesResponse {\n /** Updated customization. */\n customization?: Customization;\n}\n\nexport interface RemoveCustomizationChoicesRequest {\n /**\n * Customization ID.\n * @format GUID\n */\n customizationId: string;\n /**\n * IDs of choices to remove.\n * @format GUID\n * @minSize 1\n * @maxSize 100\n */\n choiceIds: string[];\n /** Customization revision. */\n revision?: string;\n /**\n * Fields to include in the response.\n *\n * Supported values: `ASSIGNED_PRODUCTS_COUNT`\n * @maxSize 100\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface RemoveCustomizationChoicesResponse {\n /** Updated customization. */\n customization?: Customization;\n}\n\nexport interface BulkAddCustomizationChoicesRequest {\n /**\n * List of customization IDs and choices.\n * @minSize 1\n * @maxSize 100\n */\n customizationsChoices: CustomizationChoices[];\n /**\n * Whether to return the full customization entities in the response.\n *\n * Default: `false`\n */\n returnEntity?: boolean;\n /**\n * Fields to include in the response.\n *\n * Supported values: `ASSIGNED_PRODUCTS_COUNT`\n * @maxSize 100\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface CustomizationChoices {\n /**\n * Customization ID.\n * @minLength 1\n * @maxLength 36\n */\n customizationId?: string;\n /**\n * Choices to add.\n * @minSize 1\n * @maxSize 100\n */\n choices?: Choice[];\n}\n\nexport interface BulkAddCustomizationChoicesResponse {\n /**\n * Customizations updated by bulk action.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkCustomizationResult[];\n /** Bulk action metadata. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkUpdateCustomizationsRequest {\n /**\n * List of customizations to update.\n * @minSize 1\n * @maxSize 100\n */\n customizations: MaskedCustomization[];\n /**\n * Whether to return the full customization entities in the response.\n *\n * Default: `false`\n */\n returnEntity?: boolean;\n /**\n * Fields to include in the response.\n *\n * Supported values: `ASSIGNED_PRODUCTS_COUNT`\n * @maxSize 100\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface MaskedCustomization {\n /** Customization to update. */\n customization?: Customization;\n}\n\nexport interface BulkUpdateCustomizationsResponse {\n /**\n * Customizations updated by bulk action.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkCustomizationResult[];\n /** Bulk action metadata. */\n bulkActionMetadata?: BulkActionMetadata;\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 RecloneSiteRequest {\n /** @format GUID */\n cloneFrom?: string;\n}\n\nexport interface RecloneSiteResponse {}\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}\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 AccountDetails {\n /**\n * ID of the account.\n * @format GUID\n */\n accountId?: string | null;\n /**\n * ID of the parent account.\n * @format GUID\n */\n parentAccountId?: string | null;\n /**\n * ID of the site, if applicable.\n * @format GUID\n */\n siteId?: string | null;\n}\n\n/** @docsIgnore */\nexport type CreateCustomizationApplicationErrors =\n | {\n code?: 'OPTIONS_LIMIT_EXCEEDED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'MODIFIERS_LIMIT_EXCEEDED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'INVALID_CUSTOMIZATION_RENDER_TYPE';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'INVALID_FREE_TEXT_SETTINGS';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type CreateCustomizationValidationErrors =\n | {\n ruleName?: 'ONLY_SPACES_STRING_ERROR';\n }\n | {\n ruleName?: 'DUPLICATE_CHOICE_NAME';\n }\n | {\n ruleName?: 'CUSTOMIZATION_WITH_ONLY_ID_OR_CHOICE_IDS';\n }\n | {\n ruleName?: 'MIXED_CHOICE_IDS_CONSISTENCY';\n }\n | {\n ruleName?: 'ID_NOT_ALLOWED_IN_REQUEST';\n };\n/** @docsIgnore */\nexport type DeleteCustomizationValidationErrors = {\n ruleName?: 'NOT_ALLOWED_DELETE_CUSTOMIZATION_ASSIGNED_TO_PRODUCT';\n};\n/** @docsIgnore */\nexport type BulkCreateCustomizationsApplicationErrors =\n | {\n code?: 'OPTIONS_LIMIT_EXCEEDED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'MODIFIERS_LIMIT_EXCEEDED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DOESNT_SUPPORT_CHOICES';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'CHOICES_LIMIT_EXCEEDED';\n description?: string;\n data?: CustomizationIdsWrapper;\n };\n/** @docsIgnore */\nexport type BulkCreateCustomizationsValidationErrors =\n | {\n ruleName?: 'ONLY_SPACES_STRING_ERROR';\n }\n | {\n ruleName?: 'INVALID_CHOICE_TYPE';\n }\n | {\n ruleName?: 'DUPLICATE_CHOICE_NAME';\n }\n | {\n ruleName?: 'INVALID_CHOICE_VALUE';\n }\n | {\n ruleName?: 'CUSTOMIZATION_WITH_ONLY_ID_OR_CHOICE_IDS';\n }\n | {\n ruleName?: 'MIXED_CHOICE_IDS_CONSISTENCY';\n }\n | {\n ruleName?: 'ID_NOT_ALLOWED_IN_REQUEST';\n };\n/** @docsIgnore */\nexport type AddCustomizationChoicesApplicationErrors =\n | {\n code?: 'CHOICES_LIMIT_EXCEEDED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DOESNT_SUPPORT_CHOICES';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type AddCustomizationChoicesValidationErrors =\n | {\n ruleName?: 'INVALID_CHOICE_TYPE';\n }\n | {\n ruleName?: 'INVALID_CHOICE_VALUE';\n }\n | {\n ruleName?: 'DUPLICATE_CHOICE_NAME';\n };\n/** @docsIgnore */\nexport type SetCustomizationChoicesApplicationErrors =\n | {\n code?: 'DOESNT_SUPPORT_CHOICES';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'CHOICES_LIMIT_EXCEEDED';\n description?: string;\n data?: CustomizationIdsWrapper;\n };\n/** @docsIgnore */\nexport type SetCustomizationChoicesValidationErrors =\n | {\n ruleName?: 'INVALID_CHOICE_TYPE';\n }\n | {\n ruleName?: 'INVALID_CHOICE_VALUE';\n }\n | {\n ruleName?: 'NOT_ALLOWED_DELETE_CHOICE_ASSIGNED_TO_PRODUCT';\n }\n | {\n ruleName?: 'DUPLICATE_CHOICE_NAME';\n };\n/** @docsIgnore */\nexport type RemoveCustomizationChoicesApplicationErrors = {\n code?: 'CHOICE_ASSIGNED_TO_PRODUCT';\n description?: string;\n data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type RemoveCustomizationChoicesValidationErrors = {\n ruleName?: 'NOT_ALLOWED_CUSTOMIZATION_WITHOUT_CHOICES';\n};\n/** @docsIgnore */\nexport type BulkAddCustomizationChoicesApplicationErrors =\n | {\n code?: 'CHOICES_LIMIT_EXCEEDED';\n description?: string;\n data?: CustomizationIdsWrapper;\n }\n | {\n code?: 'DOESNT_SUPPORT_CHOICES';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type BulkAddCustomizationChoicesValidationErrors =\n | {\n ruleName?: 'INVALID_CHOICE_TYPE';\n }\n | {\n ruleName?: 'INVALID_CHOICE_VALUE';\n };\n","import * as ambassadorWixStoresCatalogV3Customization from './stores-catalog-v3-customization-customizations-v-3.http.js';\nimport * as ambassadorWixStoresCatalogV3CustomizationTypes from './stores-catalog-v3-customization-customizations-v-3.types.js';\nimport * as ambassadorWixStoresCatalogV3CustomizationUniversalTypes from './stores-catalog-v3-customization-customizations-v-3.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 createCustomization(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.CreateCustomizationRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.CreateCustomizationRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.CreateCustomizationResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.CreateCustomizationResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.createCustomization(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/customizations',\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 getCustomization(): __PublicMethodMetaInfo<\n 'GET',\n { customizationId: string },\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.GetCustomizationRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.GetCustomizationRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.GetCustomizationResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.GetCustomizationResponse\n> {\n const payload = { customizationId: ':customizationId' } as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.getCustomization(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/customizations/{customizationId}',\n pathParams: { customizationId: 'customizationId' },\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 updateCustomization(): __PublicMethodMetaInfo<\n 'PATCH',\n { customizationId: string },\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.UpdateCustomizationRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.UpdateCustomizationRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.UpdateCustomizationResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.UpdateCustomizationResponse\n> {\n const payload = { customization: { id: ':customizationId' } } as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.updateCustomization(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/customizations/{customization.id}',\n pathParams: { customizationId: 'customizationId' },\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 deleteCustomization(): __PublicMethodMetaInfo<\n 'DELETE',\n { customizationId: string },\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.DeleteCustomizationRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.DeleteCustomizationRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.DeleteCustomizationResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.DeleteCustomizationResponse\n> {\n const payload = { customizationId: ':customizationId' } as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.deleteCustomization(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/customizations/{customizationId}',\n pathParams: { customizationId: 'customizationId' },\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 queryCustomizations(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.QueryCustomizationsRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.QueryCustomizationsRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.QueryCustomizationsResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.QueryCustomizationsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.queryCustomizations(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/customizations/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 bulkCreateCustomizations(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.BulkCreateCustomizationsRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.BulkCreateCustomizationsRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.BulkCreateCustomizationsResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.BulkCreateCustomizationsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.bulkCreateCustomizations(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/customizations/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 addCustomizationChoices(): __PublicMethodMetaInfo<\n 'POST',\n { customizationId: string },\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.AddCustomizationChoicesRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.AddCustomizationChoicesRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.AddCustomizationChoicesResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.AddCustomizationChoicesResponse\n> {\n const payload = { customizationId: ':customizationId' } as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.addCustomizationChoices(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/customizations/{customizationId}/add-choices',\n pathParams: { customizationId: 'customizationId' },\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 setCustomizationChoices(): __PublicMethodMetaInfo<\n 'POST',\n { customizationId: string },\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.SetCustomizationChoicesRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.SetCustomizationChoicesRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.SetCustomizationChoicesResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.SetCustomizationChoicesResponse\n> {\n const payload = { customizationId: ':customizationId' } as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.setCustomizationChoices(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/customizations/{customizationId}/set-choices',\n pathParams: { customizationId: 'customizationId' },\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 removeCustomizationChoices(): __PublicMethodMetaInfo<\n 'POST',\n { customizationId: string },\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.RemoveCustomizationChoicesRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.RemoveCustomizationChoicesRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.RemoveCustomizationChoicesResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.RemoveCustomizationChoicesResponse\n> {\n const payload = { customizationId: ':customizationId' } as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.removeCustomizationChoices(\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/customizations/{customizationId}/remove-choices',\n pathParams: { customizationId: 'customizationId' },\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 bulkAddCustomizationChoices(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.BulkAddCustomizationChoicesRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.BulkAddCustomizationChoicesRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.BulkAddCustomizationChoicesResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.BulkAddCustomizationChoicesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.bulkAddCustomizationChoices(\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/bulk/customizations/add-choices',\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 bulkUpdateCustomizations(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.BulkUpdateCustomizationsRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.BulkUpdateCustomizationsRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.BulkUpdateCustomizationsResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.BulkUpdateCustomizationsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.bulkUpdateCustomizations(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/customizations/update',\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 Customization as CustomizationOriginal,\n CustomizationCustomizationSettingsOneOf as CustomizationCustomizationSettingsOneOfOriginal,\n CustomizationType as CustomizationTypeOriginal,\n CustomizationTypeWithLiterals as CustomizationTypeWithLiteralsOriginal,\n CustomizationRenderType as CustomizationRenderTypeOriginal,\n CustomizationRenderTypeWithLiterals as CustomizationRenderTypeWithLiteralsOriginal,\n FreeTextSettings as FreeTextSettingsOriginal,\n ChoicesSettings as ChoicesSettingsOriginal,\n Choice as ChoiceOriginal,\n ChoiceValueOneOf as ChoiceValueOneOfOriginal,\n ChoiceType as ChoiceTypeOriginal,\n ChoiceTypeWithLiterals as ChoiceTypeWithLiteralsOriginal,\n MultipleColors as MultipleColorsOriginal,\n Image as ImageOriginal,\n FocalPoint as FocalPointOriginal,\n InvalidateCache as InvalidateCacheOriginal,\n InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOfOriginal,\n App as AppOriginal,\n Page as PageOriginal,\n URI as URIOriginal,\n File as FileOriginal,\n CustomTag as CustomTagOriginal,\n CreateCustomizationRequest as CreateCustomizationRequestOriginal,\n CreateCustomizationResponse as CreateCustomizationResponseOriginal,\n GetCustomizationRequest as GetCustomizationRequestOriginal,\n RequestedFields as RequestedFieldsOriginal,\n RequestedFieldsWithLiterals as RequestedFieldsWithLiteralsOriginal,\n GetCustomizationResponse as GetCustomizationResponseOriginal,\n UpdateCustomizationRequest as UpdateCustomizationRequestOriginal,\n UpdateCustomizationResponse as UpdateCustomizationResponseOriginal,\n DeleteCustomizationRequest as DeleteCustomizationRequestOriginal,\n DeleteCustomizationResponse as DeleteCustomizationResponseOriginal,\n QueryCustomizationsRequest as QueryCustomizationsRequestOriginal,\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 QueryCustomizationsResponse as QueryCustomizationsResponseOriginal,\n CursorPagingMetadata as CursorPagingMetadataOriginal,\n Cursors as CursorsOriginal,\n BulkCreateCustomizationsRequest as BulkCreateCustomizationsRequestOriginal,\n BulkCreateCustomizationsResponse as BulkCreateCustomizationsResponseOriginal,\n BulkCustomizationResult as BulkCustomizationResultOriginal,\n ItemMetadata as ItemMetadataOriginal,\n ApplicationError as ApplicationErrorOriginal,\n BulkActionMetadata as BulkActionMetadataOriginal,\n CustomizationIdsWrapper as CustomizationIdsWrapperOriginal,\n AddCustomizationChoicesRequest as AddCustomizationChoicesRequestOriginal,\n AddCustomizationChoicesResponse as AddCustomizationChoicesResponseOriginal,\n SetCustomizationChoicesRequest as SetCustomizationChoicesRequestOriginal,\n SetCustomizationChoicesResponse as SetCustomizationChoicesResponseOriginal,\n RemoveCustomizationChoicesRequest as RemoveCustomizationChoicesRequestOriginal,\n RemoveCustomizationChoicesResponse as RemoveCustomizationChoicesResponseOriginal,\n BulkAddCustomizationChoicesRequest as BulkAddCustomizationChoicesRequestOriginal,\n CustomizationChoices as CustomizationChoicesOriginal,\n BulkAddCustomizationChoicesResponse as BulkAddCustomizationChoicesResponseOriginal,\n BulkUpdateCustomizationsRequest as BulkUpdateCustomizationsRequestOriginal,\n MaskedCustomization as MaskedCustomizationOriginal,\n BulkUpdateCustomizationsResponse as BulkUpdateCustomizationsResponseOriginal,\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 RecloneSiteRequest as RecloneSiteRequestOriginal,\n RecloneSiteResponse as RecloneSiteResponseOriginal,\n MessageEnvelope as MessageEnvelopeOriginal,\n IdentificationData as IdentificationDataOriginal,\n IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n WebhookIdentityType as WebhookIdentityTypeOriginal,\n WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n AccountDetails as AccountDetailsOriginal,\n CreateCustomizationApplicationErrors as CreateCustomizationApplicationErrorsOriginal,\n CreateCustomizationValidationErrors as CreateCustomizationValidationErrorsOriginal,\n DeleteCustomizationValidationErrors as DeleteCustomizationValidationErrorsOriginal,\n BulkCreateCustomizationsApplicationErrors as BulkCreateCustomizationsApplicationErrorsOriginal,\n BulkCreateCustomizationsValidationErrors as BulkCreateCustomizationsValidationErrorsOriginal,\n AddCustomizationChoicesApplicationErrors as AddCustomizationChoicesApplicationErrorsOriginal,\n AddCustomizationChoicesValidationErrors as AddCustomizationChoicesValidationErrorsOriginal,\n SetCustomizationChoicesApplicationErrors as SetCustomizationChoicesApplicationErrorsOriginal,\n SetCustomizationChoicesValidationErrors as SetCustomizationChoicesValidationErrorsOriginal,\n RemoveCustomizationChoicesApplicationErrors as RemoveCustomizationChoicesApplicationErrorsOriginal,\n RemoveCustomizationChoicesValidationErrors as RemoveCustomizationChoicesValidationErrorsOriginal,\n BulkAddCustomizationChoicesApplicationErrors as BulkAddCustomizationChoicesApplicationErrorsOriginal,\n BulkAddCustomizationChoicesValidationErrors as BulkAddCustomizationChoicesValidationErrorsOriginal,\n} from './stores-catalog-v3-customization-customizations-v-3.types.js';\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,oCAAoC;AAC7C,SAAS,oCAAoC;AAC7C,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,8DACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,mBAAmB;AAAA,MACjB;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,UA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UAAU,EAAE,iBAAiB,mBAAmB;AAEtD,QAAM,oBACsC;AAAA,IACxC;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,EAAE,iBAAiB,kBAAkB;AAAA,IACjD,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,+BAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACsC;AAAA,IACxC;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;AAEO,SAASC,4BAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACsC,yBAAyB,OAAO;AAE5E,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","CustomizationType","CustomizationRenderType","ChoiceType","RequestedFields","SortOrder","WebhookIdentityType","createCustomization","getCustomization","updateCustomization","deleteCustomization","queryCustomizations","bulkCreateCustomizations","addCustomizationChoices","setCustomizationChoices","removeCustomizationChoices","bulkAddCustomizationChoices","bulkUpdateCustomizations"]}
|
|
1
|
+
{"version":3,"sources":["../../../src/stores-catalog-v3-customization-customizations-v-3.http.ts","../../../src/stores-catalog-v3-customization-customizations-v-3.types.ts","../../../src/stores-catalog-v3-customization-customizations-v-3.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKFloatToRESTFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\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 resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/customization',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/stores/v3/customizations',\n destPath: '/v3/customizations',\n },\n {\n srcPath: '/stores/v3/bulk/customizations',\n destPath: '/v3/bulk/customizations',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/customization',\n destPath: '',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/customization',\n destPath: '',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/customization',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/_api/customization',\n destPath: '',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/customization',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_stores_customizations-v-3';\n\n/** Creates a customization. */\nexport function createCustomization(\n payload: object\n): RequestOptionsFactory<any> {\n function __createCustomization({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'customization.createdDate' },\n { path: 'customization.updatedDate' },\n {\n path: 'customization.choicesSettings.choices.image.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'customization.choicesSettings.choices.image.focalPoint.x' },\n { path: 'customization.choicesSettings.choices.image.focalPoint.y' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'POST' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.CreateCustomization',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/customizations',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'customization.createdDate' },\n { path: 'customization.updatedDate' },\n {\n path: 'customization.choicesSettings.choices.image.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'customization.choicesSettings.choices.image.focalPoint.x',\n },\n {\n path: 'customization.choicesSettings.choices.image.focalPoint.y',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createCustomization;\n}\n\n/** Retrieves a customization. */\nexport function getCustomization(payload: object): RequestOptionsFactory<any> {\n function __getCustomization({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'GET' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.GetCustomization',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/customizations/{customizationId}',\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: 'customization.createdDate' },\n { path: 'customization.updatedDate' },\n {\n path: 'customization.choicesSettings.choices.image.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'customization.choicesSettings.choices.image.focalPoint.x',\n },\n {\n path: 'customization.choicesSettings.choices.image.focalPoint.y',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getCustomization;\n}\n\n/**\n * Updates a customization.\n *\n * Each time the customization is updated, `revision` increments by 1.\n * The current `revision` must be passed when updating the customization.\n * This ensures you're working with the latest customization and prevents unintended overwrites.\n */\nexport function updateCustomization(\n payload: object\n): RequestOptionsFactory<any> {\n function __updateCustomization({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'customization.createdDate' },\n { path: 'customization.updatedDate' },\n {\n path: 'customization.choicesSettings.choices.image.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'customization.choicesSettings.choices.image.focalPoint.x' },\n { path: 'customization.choicesSettings.choices.image.focalPoint.y' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'PATCH' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.UpdateCustomization',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/customizations/{customization.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: 'customization.createdDate' },\n { path: 'customization.updatedDate' },\n {\n path: 'customization.choicesSettings.choices.image.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'customization.choicesSettings.choices.image.focalPoint.x',\n },\n {\n path: 'customization.choicesSettings.choices.image.focalPoint.y',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateCustomization;\n}\n\n/**\n * Deletes a customization.\n *\n * > **Notes:**\n * > + **Options** (customizations with `customizationType: PRODUCT_OPTION`) can't be deleted while assigned to any product because they affect product variants and inventory.\n * > + **Modifiers** can be deleted freely. When deleted, they are automatically removed from all products that reference them.\n */\nexport function deleteCustomization(\n payload: object\n): RequestOptionsFactory<any> {\n function __deleteCustomization({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'DELETE' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.DeleteCustomization',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/customizations/{customizationId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteCustomization;\n}\n\n/**\n * Retrieves a list of up to 100 customizations, given the provided filtering, sorting, and cursor paging.\n * Pass supported values to the `fields` array in the request to include those fields in the response.\n *\n *\n * Query Customizations runs with these defaults, which you can override:\n *\n * - `createdDate` is sorted in `DESC` order\n * - `cursorPaging.limit` is `100`\n *\n * For field support for filters and sorting,\n * see [Customizations: Supported Filters and Sorting](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/customizations-v3/supported-filters-and-sorting).\n *\n * To learn about working with _Query_ endpoints, see\n * [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language),\n * and [Sorting and Paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging).\n */\nexport function queryCustomizations(\n payload: object\n): RequestOptionsFactory<any> {\n function __queryCustomizations({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'GET' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.QueryCustomizations',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/customizations/query',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload, true),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'customizations.createdDate' },\n { path: 'customizations.updatedDate' },\n {\n path: 'customizations.choicesSettings.choices.image.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'customizations.choicesSettings.choices.image.focalPoint.x',\n },\n {\n path: 'customizations.choicesSettings.choices.image.focalPoint.y',\n },\n ],\n },\n ]),\n fallback: [\n {\n method: 'POST' as any,\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/customizations/query',\n data: payload,\n host,\n }),\n data: payload,\n },\n ],\n };\n\n return metadata;\n }\n\n return __queryCustomizations;\n}\n\n/** Creates multiple customizations. */\nexport function bulkCreateCustomizations(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkCreateCustomizations({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'customizations.createdDate' },\n { path: 'customizations.updatedDate' },\n {\n path: 'customizations.choicesSettings.choices.image.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'customizations.choicesSettings.choices.image.focalPoint.x' },\n { path: 'customizations.choicesSettings.choices.image.focalPoint.y' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'POST' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.BulkCreateCustomizations',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/bulk/customizations/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.customization.createdDate' },\n { path: 'results.customization.updatedDate' },\n {\n path: 'results.customization.choicesSettings.choices.image.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'results.customization.choicesSettings.choices.image.focalPoint.x',\n },\n {\n path: 'results.customization.choicesSettings.choices.image.focalPoint.y',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkCreateCustomizations;\n}\n\n/** Adds choices to a customization. */\nexport function addCustomizationChoices(\n payload: object\n): RequestOptionsFactory<any> {\n function __addCustomizationChoices({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [{ path: 'choices.image.urlExpirationDate' }],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'choices.image.focalPoint.x' },\n { path: 'choices.image.focalPoint.y' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'POST' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.AddCustomizationChoices',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/customizations/{customizationId}/add-choices',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'customization.createdDate' },\n { path: 'customization.updatedDate' },\n {\n path: 'customization.choicesSettings.choices.image.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'customization.choicesSettings.choices.image.focalPoint.x',\n },\n {\n path: 'customization.choicesSettings.choices.image.focalPoint.y',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __addCustomizationChoices;\n}\n\n/**\n * Sets a customization's choices. Any and all existing choices will be overridden.\n *\n * > **Note:** A choice cannot be overridden if it is assigned to one or more products.\n */\nexport function setCustomizationChoices(\n payload: object\n): RequestOptionsFactory<any> {\n function __setCustomizationChoices({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [{ path: 'choices.image.urlExpirationDate' }],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'choices.image.focalPoint.x' },\n { path: 'choices.image.focalPoint.y' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'POST' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.SetCustomizationChoices',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/customizations/{customizationId}/set-choices',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'customization.createdDate' },\n { path: 'customization.updatedDate' },\n {\n path: 'customization.choicesSettings.choices.image.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'customization.choicesSettings.choices.image.focalPoint.x',\n },\n {\n path: 'customization.choicesSettings.choices.image.focalPoint.y',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __setCustomizationChoices;\n}\n\n/**\n * Removes choices from a customization.\n *\n * > **Note:** A choice can't be removed if it's assigned to one or more product variants. This applies to option choices only; modifier choices can be removed freely.\n */\nexport function removeCustomizationChoices(\n payload: object\n): RequestOptionsFactory<any> {\n function __removeCustomizationChoices({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'POST' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.RemoveCustomizationChoices',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/customizations/{customizationId}/remove-choices',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'customization.createdDate' },\n { path: 'customization.updatedDate' },\n {\n path: 'customization.choicesSettings.choices.image.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'customization.choicesSettings.choices.image.focalPoint.x',\n },\n {\n path: 'customization.choicesSettings.choices.image.focalPoint.y',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __removeCustomizationChoices;\n}\n\n/** Adds choices to multiple customizations. */\nexport function bulkAddCustomizationChoices(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkAddCustomizationChoices({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'customizationsChoices.choices.image.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'customizationsChoices.choices.image.focalPoint.x' },\n { path: 'customizationsChoices.choices.image.focalPoint.y' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'POST' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.BulkAddCustomizationChoices',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/bulk/customizations/add-choices',\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.customization.createdDate' },\n { path: 'results.customization.updatedDate' },\n {\n path: 'results.customization.choicesSettings.choices.image.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'results.customization.choicesSettings.choices.image.focalPoint.x',\n },\n {\n path: 'results.customization.choicesSettings.choices.image.focalPoint.y',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkAddCustomizationChoices;\n}\n\n/**\n * Updates multiple customizations.\n *\n * Each time the customization is updated, `revision` increments by 1.\n * The current `revision` must be passed when updating the customization.\n * This ensures you're working with the latest customization and prevents unintended overwrites.\n */\nexport function bulkUpdateCustomizations(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdateCustomizations({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'customizations.fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'customizations.customization.createdDate' },\n { path: 'customizations.customization.updatedDate' },\n {\n path: 'customizations.customization.choicesSettings.choices.image.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n {\n path: 'customizations.customization.choicesSettings.choices.image.focalPoint.x',\n },\n {\n path: 'customizations.customization.choicesSettings.choices.image.focalPoint.y',\n },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'POST' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.BulkUpdateCustomizations',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/bulk/customizations/update',\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.customization.createdDate' },\n { path: 'results.customization.updatedDate' },\n {\n path: 'results.customization.choicesSettings.choices.image.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'results.customization.choicesSettings.choices.image.focalPoint.x',\n },\n {\n path: 'results.customization.choicesSettings.choices.image.focalPoint.y',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkUpdateCustomizations;\n}\n","/**\n * Customizations include options and modifiers which can later be applied to products.\n * Options are designed to add variations to a product, where modifiers add a customizable change to the product but without creating another variant.\n */\nexport interface Customization extends CustomizationCustomizationSettingsOneOf {\n /**\n * Free text input settings.\n *\n * > **Note:** To be passed along with `customizationRenderType: FREE_TEXT`.\n * @immutable\n */\n freeTextInput?: FreeTextSettings;\n /**\n * Choices settings.\n *\n * > **Note:** Must be passed along with `customizationRenderType` of `SWATCH_CHOICES` and `TEXT_CHOICES`.\n */\n choicesSettings?: ChoicesSettings;\n /**\n * Customization ID.\n * @minLength 1\n * @maxLength 36\n * @readonly\n */\n id?: string | null;\n /**\n * Revision number, which increments by 1 each time the customization is updated.\n * To prevent conflicting changes,\n * the current revision must be passed when updating the customization.\n *\n * Ignored when creating a customization.\n * @readonly\n */\n revision?: string | null;\n /**\n * Date and time the customization was created.\n * @readonly\n */\n createdDate?: Date | null;\n /**\n * Date and time the customization was updated.\n * @readonly\n */\n updatedDate?: Date | null;\n /**\n * Customization name for options (for example, `\"color\"`, `\"size\"`) and modifiers (for example, `\"greeting card\"`).\n * @minLength 1\n * @maxLength 50\n */\n name?: string;\n /**\n * Customization type.\n * @immutable\n */\n customizationType?: CustomizationTypeWithLiterals;\n /**\n * Customization render type.\n *\n * Defines how the customization will be displayed in the storefront.\n * @immutable\n */\n customizationRenderType?: CustomizationRenderTypeWithLiterals;\n /**\n * Number of products this customization is assigned to.\n * > **Note:** Returned only when you pass `\"ASSIGNED_PRODUCTS_COUNT\"` to the `fields` array in Customizations API requests.\n * @readonly\n */\n assignedProductsCount?: number | null;\n}\n\n/** @oneof */\nexport interface CustomizationCustomizationSettingsOneOf {\n /**\n * Free text input settings.\n *\n * > **Note:** To be passed along with `customizationRenderType: FREE_TEXT`.\n * @immutable\n */\n freeTextInput?: FreeTextSettings;\n /**\n * Choices settings.\n *\n * > **Note:** Must be passed along with `customizationRenderType` of `SWATCH_CHOICES` and `TEXT_CHOICES`.\n */\n choicesSettings?: ChoicesSettings;\n}\n\nexport enum CustomizationType {\n UNKNOWN_CUSTOMIZATION_TYPE = 'UNKNOWN_CUSTOMIZATION_TYPE',\n PRODUCT_OPTION = 'PRODUCT_OPTION',\n MODIFIER = 'MODIFIER',\n}\n\n/** @enumType */\nexport type CustomizationTypeWithLiterals =\n | CustomizationType\n | 'UNKNOWN_CUSTOMIZATION_TYPE'\n | 'PRODUCT_OPTION'\n | 'MODIFIER';\n\nexport enum CustomizationRenderType {\n UNKNOWN_CUSTOMIZATION_RENDER_TYPE = 'UNKNOWN_CUSTOMIZATION_RENDER_TYPE',\n /** Customization by free text input. */\n FREE_TEXT = 'FREE_TEXT',\n /** Customization by selection of text choices. */\n TEXT_CHOICES = 'TEXT_CHOICES',\n /** Customization by selection of colors. */\n SWATCH_CHOICES = 'SWATCH_CHOICES',\n}\n\n/** @enumType */\nexport type CustomizationRenderTypeWithLiterals =\n | CustomizationRenderType\n | 'UNKNOWN_CUSTOMIZATION_RENDER_TYPE'\n | 'FREE_TEXT'\n | 'TEXT_CHOICES'\n | 'SWATCH_CHOICES';\n\nexport interface FreeTextSettings {\n /** Minimum text character length. */\n minCharCount?: number;\n /**\n * Maximum text character length.\n * @max 500\n */\n maxCharCount?: number;\n /**\n * Default amount added to a product's price when this choice is assigned to a modifier.\n * @decimalValue options { gte:0, lte:999999999, maxScale:3 }\n */\n defaultAddedPrice?: string | null;\n /**\n * Title to display to customer for their free-text input.\n * @minLength 1\n * @maxLength 100\n */\n title?: string;\n}\n\nexport interface ChoicesSettings {\n /**\n * List of choices.\n * @minSize 1\n * @maxSize 200\n * @immutable\n */\n choices?: Choice[];\n}\n\nexport interface Choice extends ChoiceValueOneOf {\n /**\n * Color code in HEX format, [as described by MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color).\n * @minLength 3\n * @maxLength 20\n * @format COLOR_HEX\n */\n colorCode?: string;\n /**\n * Choice ID.\n * @format GUID\n * @readonly\n */\n id?: string;\n /**\n * Choice type.\n *\n * > **Notes:**\n * > + For `customizationRenderType: SWATCH_CHOICES`, the supported `choiceType` value is: `ONE_COLOR`.\n * > + For a `customizationRenderType` of `TEXT_CHOICES`, the supported `choiceType` value is: `CHOICE_TEXT`.\n * @immutable\n */\n choiceType?: ChoiceTypeWithLiterals;\n /**\n * A read-only key generated based on choice name. Used for eCommerce integration.\n * @readonly\n * @minLength 1\n * @maxLength 50\n */\n key?: string | null;\n /**\n * Choice name.\n * @minLength 1\n * @maxLength 50\n */\n name?: string;\n /**\n * Default amount added to a product's price when this customization is assigned to a modifier.\n * @decimalValue options { gte:0, lte:999999999, maxScale:3 }\n */\n defaultAddedPrice?: string | null;\n /**\n * Number of products this choice is assigned to .\n * @readonly\n */\n assignedProductsCount?: number;\n}\n\n/** @oneof */\nexport interface ChoiceValueOneOf {\n /**\n * Color code in HEX format, [as described by MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color).\n * @minLength 3\n * @maxLength 20\n * @format COLOR_HEX\n */\n colorCode?: string;\n}\n\nexport enum ChoiceType {\n UNKNOWN_CHOICE_TYPE = 'UNKNOWN_CHOICE_TYPE',\n /** For a `customizationRenderType` of `TEXT_CHOICES`. */\n CHOICE_TEXT = 'CHOICE_TEXT',\n /** For `customizationRenderType: SWATCH_CHOICES`. */\n ONE_COLOR = 'ONE_COLOR',\n}\n\n/** @enumType */\nexport type ChoiceTypeWithLiterals =\n | ChoiceType\n | 'UNKNOWN_CHOICE_TYPE'\n | 'CHOICE_TEXT'\n | 'ONE_COLOR';\n\nexport interface MultipleColors {\n /**\n * A list of color codes.\n * @minLength 3\n * @maxLength 20\n * @minSize 2\n * @maxSize 2\n */\n colorCodes?: string[];\n}\n\nexport interface Image {\n /** WixMedia image ID. */\n id?: string;\n /** Image URL. */\n url?: string;\n /**\n * Original image height.\n * @readonly\n */\n height?: number;\n /**\n * Original image width.\n * @readonly\n */\n width?: number;\n /** Image alt text. */\n altText?: string | null;\n /**\n * Image filename.\n * @readonly\n */\n filename?: string | null;\n}\n\nexport interface FocalPoint {\n /** X-coordinate of the focal point. */\n x?: number;\n /** Y-coordinate of the focal point. */\n y?: number;\n /** crop by height */\n height?: number | null;\n /** crop by width */\n width?: number | null;\n}\n\nexport interface InvalidateCache extends InvalidateCacheGetByOneOf {\n /**\n * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n siteId?: string;\n /** Invalidate by App */\n app?: App;\n /** Invalidate by page id */\n page?: Page;\n /** Invalidate by URI path */\n uri?: URI;\n /** Invalidate by file (for media files such as PDFs) */\n file?: File;\n /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */\n customTag?: CustomTag;\n /**\n * tell us why you're invalidating the cache. You don't need to add your app name\n * @maxLength 256\n */\n reason?: string | null;\n /** Is local DS */\n localDc?: boolean;\n hardPurge?: boolean;\n}\n\n/** @oneof */\nexport interface InvalidateCacheGetByOneOf {\n /**\n * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n siteId?: string;\n /** Invalidate by App */\n app?: App;\n /** Invalidate by page id */\n page?: Page;\n /** Invalidate by URI path */\n uri?: URI;\n /** Invalidate by file (for media files such as PDFs) */\n file?: File;\n /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */\n customTag?: CustomTag;\n}\n\nexport interface App {\n /**\n * The AppDefId\n * @minLength 1\n */\n appDefId?: string;\n /**\n * The instance Id\n * @format GUID\n */\n instanceId?: string;\n}\n\nexport interface Page {\n /**\n * the msid the page is on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Page ID\n * @minLength 1\n */\n pageId?: string;\n}\n\nexport interface URI {\n /**\n * the msid the URI is on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes\n * @minLength 1\n */\n uriPath?: string;\n}\n\nexport interface File {\n /**\n * the msid the file is related to\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by filename (for media files such as PDFs)\n * @minLength 1\n * @maxLength 256\n */\n fileName?: string;\n}\n\nexport interface CustomTag {\n /**\n * the msid the tag is related to\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Tag to invalidate by\n * @minLength 1\n * @maxLength 256\n */\n tag?: string;\n}\n\nexport interface CreateCustomizationRequest {\n /** Customization to create. */\n customization: Customization;\n}\n\nexport interface CreateCustomizationResponse {\n /** Created customization. */\n customization?: Customization;\n}\n\nexport interface GetCustomizationRequest {\n /**\n * Customization ID.\n * @format GUID\n */\n customizationId: string;\n /**\n * Fields to include in the response.\n *\n * Supported values: `ASSIGNED_PRODUCTS_COUNT`\n * @maxSize 100\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport enum RequestedFields {\n /** Unknown requested field. */\n UNKNOWN_REQUESTED_FIELD = 'UNKNOWN_REQUESTED_FIELD',\n /** Assigned products count. */\n ASSIGNED_PRODUCTS_COUNT = 'ASSIGNED_PRODUCTS_COUNT',\n}\n\n/** @enumType */\nexport type RequestedFieldsWithLiterals =\n | RequestedFields\n | 'UNKNOWN_REQUESTED_FIELD'\n | 'ASSIGNED_PRODUCTS_COUNT';\n\nexport interface GetCustomizationResponse {\n /** Customization. */\n customization?: Customization;\n}\n\nexport interface UpdateCustomizationRequest {\n /** Customization to update. */\n customization: Customization;\n /**\n * Fields to include in the response.\n *\n * Supported values: `ASSIGNED_PRODUCTS_COUNT`\n * @maxSize 100\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface UpdateCustomizationResponse {\n /** Updated customization. */\n customization?: Customization;\n}\n\nexport interface DeleteCustomizationRequest {\n /**\n * Customization ID.\n * @format GUID\n */\n customizationId: string;\n}\n\nexport interface DeleteCustomizationResponse {}\n\nexport interface QueryCustomizationsRequest {\n /** Query options. */\n query?: CursorQuery;\n /**\n * Fields to include in the response.\n *\n * Supported values: `ASSIGNED_PRODUCTS_COUNT`\n * @maxSize 100\n */\n fields?: RequestedFieldsWithLiterals[];\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 5\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 512\n */\n fieldName?: string;\n /** Sort order. */\n order?: SortOrderWithLiterals;\n}\n\nexport enum SortOrder {\n /** Ascending order. */\n ASC = 'ASC',\n /** Descending order. */\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 QueryCustomizationsResponse {\n /**\n * List of customizations.\n * @minSize 1\n * @maxSize 200\n */\n customizations?: Customization[];\n /** Details on the paged set of results returned. */\n pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface CursorPagingMetadata {\n /** Number of items returned in the response. */\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 BulkCreateCustomizationsRequest {\n /**\n * Customizations to create.\n * @minSize 1\n * @maxSize 100\n */\n customizations: Customization[];\n /**\n * Whether to return the full customization entities in the response.\n *\n * Default: `false`\n */\n returnEntity?: boolean;\n}\n\nexport interface BulkCreateCustomizationsResponse {\n /**\n * Customizations created by bulk action.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkCustomizationResult[];\n /** Bulk action metadata. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkCustomizationResult {\n /** Bulk action metadata for customization. */\n itemMetadata?: ItemMetadata;\n /**\n * Full customization entity.\n *\n * Returned only if `returnEntity: true` is passed in the request.\n */\n customization?: Customization;\n}\n\nexport interface ItemMetadata {\n /**\n * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).\n * @minLength 1\n * @maxLength 36\n */\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 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 CustomizationIdsWrapper {\n /**\n * list of all the customization ids that are invalid\n * e.g list of failed choices ids\n * @minSize 1\n * @maxSize 100\n * @minLength 1\n * @maxLength 36\n */\n customizationIds?: string[];\n}\n\nexport interface AddCustomizationChoicesRequest {\n /**\n * Customization ID.\n * @format GUID\n */\n customizationId: string;\n /**\n * Choices to add.\n * @minSize 1\n * @maxSize 100\n */\n choices: Choice[];\n /**\n * Fields to include in the response.\n *\n * Supported values: `ASSIGNED_PRODUCTS_COUNT`\n * @maxSize 100\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface AddCustomizationChoicesResponse {\n /** Updated customization. */\n customization?: Customization;\n}\n\nexport interface SetCustomizationChoicesRequest {\n /**\n * Customization ID.\n * @format GUID\n */\n customizationId: string;\n /**\n * Choices to set.\n * @minSize 1\n * @maxSize 100\n */\n choices: Choice[];\n /**\n * Fields to include in the response.\n *\n * Supported values: `ASSIGNED_PRODUCTS_COUNT`\n * @maxSize 100\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface SetCustomizationChoicesResponse {\n /** Updated customization. */\n customization?: Customization;\n}\n\nexport interface RemoveCustomizationChoicesRequest {\n /**\n * Customization ID.\n * @format GUID\n */\n customizationId: string;\n /**\n * IDs of choices to remove.\n * @format GUID\n * @minSize 1\n * @maxSize 100\n */\n choiceIds: string[];\n /** Customization revision. */\n revision?: string;\n /**\n * Fields to include in the response.\n *\n * Supported values: `ASSIGNED_PRODUCTS_COUNT`\n * @maxSize 100\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface RemoveCustomizationChoicesResponse {\n /** Updated customization. */\n customization?: Customization;\n}\n\nexport interface BulkAddCustomizationChoicesRequest {\n /**\n * List of customization IDs and choices.\n * @minSize 1\n * @maxSize 100\n */\n customizationsChoices: CustomizationChoices[];\n /**\n * Whether to return the full customization entities in the response.\n *\n * Default: `false`\n */\n returnEntity?: boolean;\n /**\n * Fields to include in the response.\n *\n * Supported values: `ASSIGNED_PRODUCTS_COUNT`\n * @maxSize 100\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface CustomizationChoices {\n /**\n * Customization ID.\n * @minLength 1\n * @maxLength 36\n */\n customizationId?: string;\n /**\n * Choices to add.\n * @minSize 1\n * @maxSize 100\n */\n choices?: Choice[];\n}\n\nexport interface BulkAddCustomizationChoicesResponse {\n /**\n * Customizations updated by bulk action.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkCustomizationResult[];\n /** Bulk action metadata. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkUpdateCustomizationsRequest {\n /**\n * List of customizations to update.\n * @minSize 1\n * @maxSize 100\n */\n customizations: MaskedCustomization[];\n /**\n * Whether to return the full customization entities in the response.\n *\n * Default: `false`\n */\n returnEntity?: boolean;\n /**\n * Fields to include in the response.\n *\n * Supported values: `ASSIGNED_PRODUCTS_COUNT`\n * @maxSize 100\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface MaskedCustomization {\n /** Customization to update. */\n customization?: Customization;\n}\n\nexport interface BulkUpdateCustomizationsResponse {\n /**\n * Customizations updated by bulk action.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkCustomizationResult[];\n /** Bulk action metadata. */\n bulkActionMetadata?: BulkActionMetadata;\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 RecloneSiteRequest {\n /** @format GUID */\n cloneFrom?: string;\n}\n\nexport interface RecloneSiteResponse {}\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}\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/** @docsIgnore */\nexport type CreateCustomizationApplicationErrors =\n | {\n code?: 'OPTIONS_LIMIT_EXCEEDED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'MODIFIERS_LIMIT_EXCEEDED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'INVALID_CUSTOMIZATION_RENDER_TYPE';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'INVALID_FREE_TEXT_SETTINGS';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type CreateCustomizationValidationErrors =\n | {\n ruleName?: 'ONLY_SPACES_STRING_ERROR';\n }\n | {\n ruleName?: 'DUPLICATE_CHOICE_NAME';\n }\n | {\n ruleName?: 'CUSTOMIZATION_WITH_ONLY_ID_OR_CHOICE_IDS';\n }\n | {\n ruleName?: 'MIXED_CHOICE_IDS_CONSISTENCY';\n }\n | {\n ruleName?: 'ID_NOT_ALLOWED_IN_REQUEST';\n };\n/** @docsIgnore */\nexport type DeleteCustomizationValidationErrors = {\n ruleName?: 'NOT_ALLOWED_DELETE_CUSTOMIZATION_ASSIGNED_TO_PRODUCT';\n};\n/** @docsIgnore */\nexport type BulkCreateCustomizationsApplicationErrors =\n | {\n code?: 'OPTIONS_LIMIT_EXCEEDED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'MODIFIERS_LIMIT_EXCEEDED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DOESNT_SUPPORT_CHOICES';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'CHOICES_LIMIT_EXCEEDED';\n description?: string;\n data?: CustomizationIdsWrapper;\n };\n/** @docsIgnore */\nexport type BulkCreateCustomizationsValidationErrors =\n | {\n ruleName?: 'ONLY_SPACES_STRING_ERROR';\n }\n | {\n ruleName?: 'INVALID_CHOICE_TYPE';\n }\n | {\n ruleName?: 'DUPLICATE_CHOICE_NAME';\n }\n | {\n ruleName?: 'INVALID_CHOICE_VALUE';\n }\n | {\n ruleName?: 'CUSTOMIZATION_WITH_ONLY_ID_OR_CHOICE_IDS';\n }\n | {\n ruleName?: 'MIXED_CHOICE_IDS_CONSISTENCY';\n }\n | {\n ruleName?: 'ID_NOT_ALLOWED_IN_REQUEST';\n };\n/** @docsIgnore */\nexport type AddCustomizationChoicesApplicationErrors =\n | {\n code?: 'CHOICES_LIMIT_EXCEEDED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DOESNT_SUPPORT_CHOICES';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type AddCustomizationChoicesValidationErrors =\n | {\n ruleName?: 'INVALID_CHOICE_TYPE';\n }\n | {\n ruleName?: 'INVALID_CHOICE_VALUE';\n }\n | {\n ruleName?: 'DUPLICATE_CHOICE_NAME';\n };\n/** @docsIgnore */\nexport type SetCustomizationChoicesApplicationErrors =\n | {\n code?: 'DOESNT_SUPPORT_CHOICES';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'CHOICES_LIMIT_EXCEEDED';\n description?: string;\n data?: CustomizationIdsWrapper;\n };\n/** @docsIgnore */\nexport type SetCustomizationChoicesValidationErrors =\n | {\n ruleName?: 'INVALID_CHOICE_TYPE';\n }\n | {\n ruleName?: 'INVALID_CHOICE_VALUE';\n }\n | {\n ruleName?: 'NOT_ALLOWED_DELETE_CHOICE_ASSIGNED_TO_PRODUCT';\n }\n | {\n ruleName?: 'DUPLICATE_CHOICE_NAME';\n };\n/** @docsIgnore */\nexport type RemoveCustomizationChoicesApplicationErrors = {\n code?: 'CHOICE_ASSIGNED_TO_PRODUCT';\n description?: string;\n data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type RemoveCustomizationChoicesValidationErrors = {\n ruleName?: 'NOT_ALLOWED_CUSTOMIZATION_WITHOUT_CHOICES';\n};\n/** @docsIgnore */\nexport type BulkAddCustomizationChoicesApplicationErrors =\n | {\n code?: 'CHOICES_LIMIT_EXCEEDED';\n description?: string;\n data?: CustomizationIdsWrapper;\n }\n | {\n code?: 'DOESNT_SUPPORT_CHOICES';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type BulkAddCustomizationChoicesValidationErrors =\n | {\n ruleName?: 'INVALID_CHOICE_TYPE';\n }\n | {\n ruleName?: 'INVALID_CHOICE_VALUE';\n };\n","import * as ambassadorWixStoresCatalogV3Customization from './stores-catalog-v3-customization-customizations-v-3.http.js';\nimport * as ambassadorWixStoresCatalogV3CustomizationTypes from './stores-catalog-v3-customization-customizations-v-3.types.js';\nimport * as ambassadorWixStoresCatalogV3CustomizationUniversalTypes from './stores-catalog-v3-customization-customizations-v-3.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 createCustomization(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.CreateCustomizationRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.CreateCustomizationRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.CreateCustomizationResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.CreateCustomizationResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.createCustomization(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/customizations',\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 getCustomization(): __PublicMethodMetaInfo<\n 'GET',\n { customizationId: string },\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.GetCustomizationRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.GetCustomizationRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.GetCustomizationResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.GetCustomizationResponse\n> {\n const payload = { customizationId: ':customizationId' } as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.getCustomization(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/customizations/{customizationId}',\n pathParams: { customizationId: 'customizationId' },\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 updateCustomization(): __PublicMethodMetaInfo<\n 'PATCH',\n { customizationId: string },\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.UpdateCustomizationRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.UpdateCustomizationRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.UpdateCustomizationResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.UpdateCustomizationResponse\n> {\n const payload = { customization: { id: ':customizationId' } } as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.updateCustomization(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/customizations/{customization.id}',\n pathParams: { customizationId: 'customizationId' },\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 deleteCustomization(): __PublicMethodMetaInfo<\n 'DELETE',\n { customizationId: string },\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.DeleteCustomizationRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.DeleteCustomizationRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.DeleteCustomizationResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.DeleteCustomizationResponse\n> {\n const payload = { customizationId: ':customizationId' } as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.deleteCustomization(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/customizations/{customizationId}',\n pathParams: { customizationId: 'customizationId' },\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 queryCustomizations(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.QueryCustomizationsRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.QueryCustomizationsRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.QueryCustomizationsResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.QueryCustomizationsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.queryCustomizations(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/customizations/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 bulkCreateCustomizations(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.BulkCreateCustomizationsRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.BulkCreateCustomizationsRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.BulkCreateCustomizationsResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.BulkCreateCustomizationsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.bulkCreateCustomizations(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/customizations/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 addCustomizationChoices(): __PublicMethodMetaInfo<\n 'POST',\n { customizationId: string },\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.AddCustomizationChoicesRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.AddCustomizationChoicesRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.AddCustomizationChoicesResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.AddCustomizationChoicesResponse\n> {\n const payload = { customizationId: ':customizationId' } as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.addCustomizationChoices(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/customizations/{customizationId}/add-choices',\n pathParams: { customizationId: 'customizationId' },\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 setCustomizationChoices(): __PublicMethodMetaInfo<\n 'POST',\n { customizationId: string },\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.SetCustomizationChoicesRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.SetCustomizationChoicesRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.SetCustomizationChoicesResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.SetCustomizationChoicesResponse\n> {\n const payload = { customizationId: ':customizationId' } as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.setCustomizationChoices(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/customizations/{customizationId}/set-choices',\n pathParams: { customizationId: 'customizationId' },\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 removeCustomizationChoices(): __PublicMethodMetaInfo<\n 'POST',\n { customizationId: string },\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.RemoveCustomizationChoicesRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.RemoveCustomizationChoicesRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.RemoveCustomizationChoicesResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.RemoveCustomizationChoicesResponse\n> {\n const payload = { customizationId: ':customizationId' } as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.removeCustomizationChoices(\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/customizations/{customizationId}/remove-choices',\n pathParams: { customizationId: 'customizationId' },\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 bulkAddCustomizationChoices(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.BulkAddCustomizationChoicesRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.BulkAddCustomizationChoicesRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.BulkAddCustomizationChoicesResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.BulkAddCustomizationChoicesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.bulkAddCustomizationChoices(\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/bulk/customizations/add-choices',\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 bulkUpdateCustomizations(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.BulkUpdateCustomizationsRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.BulkUpdateCustomizationsRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.BulkUpdateCustomizationsResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.BulkUpdateCustomizationsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.bulkUpdateCustomizations(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/customizations/update',\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 Customization as CustomizationOriginal,\n CustomizationCustomizationSettingsOneOf as CustomizationCustomizationSettingsOneOfOriginal,\n CustomizationType as CustomizationTypeOriginal,\n CustomizationTypeWithLiterals as CustomizationTypeWithLiteralsOriginal,\n CustomizationRenderType as CustomizationRenderTypeOriginal,\n CustomizationRenderTypeWithLiterals as CustomizationRenderTypeWithLiteralsOriginal,\n FreeTextSettings as FreeTextSettingsOriginal,\n ChoicesSettings as ChoicesSettingsOriginal,\n Choice as ChoiceOriginal,\n ChoiceValueOneOf as ChoiceValueOneOfOriginal,\n ChoiceType as ChoiceTypeOriginal,\n ChoiceTypeWithLiterals as ChoiceTypeWithLiteralsOriginal,\n MultipleColors as MultipleColorsOriginal,\n Image as ImageOriginal,\n FocalPoint as FocalPointOriginal,\n InvalidateCache as InvalidateCacheOriginal,\n InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOfOriginal,\n App as AppOriginal,\n Page as PageOriginal,\n URI as URIOriginal,\n File as FileOriginal,\n CustomTag as CustomTagOriginal,\n CreateCustomizationRequest as CreateCustomizationRequestOriginal,\n CreateCustomizationResponse as CreateCustomizationResponseOriginal,\n GetCustomizationRequest as GetCustomizationRequestOriginal,\n RequestedFields as RequestedFieldsOriginal,\n RequestedFieldsWithLiterals as RequestedFieldsWithLiteralsOriginal,\n GetCustomizationResponse as GetCustomizationResponseOriginal,\n UpdateCustomizationRequest as UpdateCustomizationRequestOriginal,\n UpdateCustomizationResponse as UpdateCustomizationResponseOriginal,\n DeleteCustomizationRequest as DeleteCustomizationRequestOriginal,\n DeleteCustomizationResponse as DeleteCustomizationResponseOriginal,\n QueryCustomizationsRequest as QueryCustomizationsRequestOriginal,\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 QueryCustomizationsResponse as QueryCustomizationsResponseOriginal,\n CursorPagingMetadata as CursorPagingMetadataOriginal,\n Cursors as CursorsOriginal,\n BulkCreateCustomizationsRequest as BulkCreateCustomizationsRequestOriginal,\n BulkCreateCustomizationsResponse as BulkCreateCustomizationsResponseOriginal,\n BulkCustomizationResult as BulkCustomizationResultOriginal,\n ItemMetadata as ItemMetadataOriginal,\n ApplicationError as ApplicationErrorOriginal,\n BulkActionMetadata as BulkActionMetadataOriginal,\n CustomizationIdsWrapper as CustomizationIdsWrapperOriginal,\n AddCustomizationChoicesRequest as AddCustomizationChoicesRequestOriginal,\n AddCustomizationChoicesResponse as AddCustomizationChoicesResponseOriginal,\n SetCustomizationChoicesRequest as SetCustomizationChoicesRequestOriginal,\n SetCustomizationChoicesResponse as SetCustomizationChoicesResponseOriginal,\n RemoveCustomizationChoicesRequest as RemoveCustomizationChoicesRequestOriginal,\n RemoveCustomizationChoicesResponse as RemoveCustomizationChoicesResponseOriginal,\n BulkAddCustomizationChoicesRequest as BulkAddCustomizationChoicesRequestOriginal,\n CustomizationChoices as CustomizationChoicesOriginal,\n BulkAddCustomizationChoicesResponse as BulkAddCustomizationChoicesResponseOriginal,\n BulkUpdateCustomizationsRequest as BulkUpdateCustomizationsRequestOriginal,\n MaskedCustomization as MaskedCustomizationOriginal,\n BulkUpdateCustomizationsResponse as BulkUpdateCustomizationsResponseOriginal,\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 RecloneSiteRequest as RecloneSiteRequestOriginal,\n RecloneSiteResponse as RecloneSiteResponseOriginal,\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 CreateCustomizationApplicationErrors as CreateCustomizationApplicationErrorsOriginal,\n CreateCustomizationValidationErrors as CreateCustomizationValidationErrorsOriginal,\n DeleteCustomizationValidationErrors as DeleteCustomizationValidationErrorsOriginal,\n BulkCreateCustomizationsApplicationErrors as BulkCreateCustomizationsApplicationErrorsOriginal,\n BulkCreateCustomizationsValidationErrors as BulkCreateCustomizationsValidationErrorsOriginal,\n AddCustomizationChoicesApplicationErrors as AddCustomizationChoicesApplicationErrorsOriginal,\n AddCustomizationChoicesValidationErrors as AddCustomizationChoicesValidationErrorsOriginal,\n SetCustomizationChoicesApplicationErrors as SetCustomizationChoicesApplicationErrorsOriginal,\n SetCustomizationChoicesValidationErrors as SetCustomizationChoicesValidationErrorsOriginal,\n RemoveCustomizationChoicesApplicationErrors as RemoveCustomizationChoicesApplicationErrorsOriginal,\n RemoveCustomizationChoicesValidationErrors as RemoveCustomizationChoicesValidationErrorsOriginal,\n BulkAddCustomizationChoicesApplicationErrors as BulkAddCustomizationChoicesApplicationErrorsOriginal,\n BulkAddCustomizationChoicesValidationErrors as BulkAddCustomizationChoicesValidationErrorsOriginal,\n} from './stores-catalog-v3-customization-customizations-v-3.types.js';\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,oCAAoC;AAC7C,SAAS,oCAAoC;AAC7C,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,8DACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,mBAAmB;AAAA,MACjB;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;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,kBAAkB;AAAA,MAChB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;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AO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,EAAE,iBAAiB,kBAAkB;AAAA,IACjD,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,+BAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACsC;AAAA,IACxC;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;AAEO,SAASC,4BAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACsC,yBAAyB,OAAO;AAE5E,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","CustomizationType","CustomizationRenderType","ChoiceType","RequestedFields","SortOrder","WebhookIdentityType","createCustomization","getCustomization","updateCustomization","deleteCustomization","queryCustomizations","bulkCreateCustomizations","addCustomizationChoices","setCustomizationChoices","removeCustomizationChoices","bulkAddCustomizationChoices","bulkUpdateCustomizations"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_stores_customizations-v-3",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.53",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"fqdn": "wix.stores.catalog.v3.customization"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "93196c8011a194dcd54136a245041107afb5bc4d80ba08a75248addc"
|
|
54
54
|
}
|