@wix/auto_sdk_stores_customizations-v-3 1.0.34 → 1.0.36
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.js +33 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +4 -0
- package/build/cjs/index.typings.js +33 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +33 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +33 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +4 -0
- package/build/es/index.typings.mjs +33 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +33 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +33 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +4 -0
- package/build/internal/cjs/index.typings.js +33 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.js +33 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +33 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +4 -0
- package/build/internal/es/index.typings.mjs +33 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.mjs +33 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -85,6 +85,9 @@ function createCustomization(payload) {
|
|
|
85
85
|
method: "POST",
|
|
86
86
|
methodFqn: "wix.stores.catalog.customization.v3.CustomizationService.CreateCustomization",
|
|
87
87
|
packageName: PACKAGE_NAME,
|
|
88
|
+
migrationOptions: {
|
|
89
|
+
optInTransformResponse: true
|
|
90
|
+
},
|
|
88
91
|
url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({
|
|
89
92
|
protoPath: "/v3/customizations",
|
|
90
93
|
data: serializedData,
|
|
@@ -126,6 +129,9 @@ function getCustomization(payload) {
|
|
|
126
129
|
method: "GET",
|
|
127
130
|
methodFqn: "wix.stores.catalog.customization.v3.CustomizationService.GetCustomization",
|
|
128
131
|
packageName: PACKAGE_NAME,
|
|
132
|
+
migrationOptions: {
|
|
133
|
+
optInTransformResponse: true
|
|
134
|
+
},
|
|
129
135
|
url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({
|
|
130
136
|
protoPath: "/v3/customizations/{customizationId}",
|
|
131
137
|
data: payload,
|
|
@@ -190,6 +196,9 @@ function updateCustomization(payload) {
|
|
|
190
196
|
method: "PATCH",
|
|
191
197
|
methodFqn: "wix.stores.catalog.customization.v3.CustomizationService.UpdateCustomization",
|
|
192
198
|
packageName: PACKAGE_NAME,
|
|
199
|
+
migrationOptions: {
|
|
200
|
+
optInTransformResponse: true
|
|
201
|
+
},
|
|
193
202
|
url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({
|
|
194
203
|
protoPath: "/v3/customizations/{customization.id}",
|
|
195
204
|
data: serializedData,
|
|
@@ -231,6 +240,9 @@ function deleteCustomization(payload) {
|
|
|
231
240
|
method: "DELETE",
|
|
232
241
|
methodFqn: "wix.stores.catalog.customization.v3.CustomizationService.DeleteCustomization",
|
|
233
242
|
packageName: PACKAGE_NAME,
|
|
243
|
+
migrationOptions: {
|
|
244
|
+
optInTransformResponse: true
|
|
245
|
+
},
|
|
234
246
|
url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({
|
|
235
247
|
protoPath: "/v3/customizations/{customizationId}",
|
|
236
248
|
data: payload,
|
|
@@ -249,6 +261,9 @@ function queryCustomizations(payload) {
|
|
|
249
261
|
method: "GET",
|
|
250
262
|
methodFqn: "wix.stores.catalog.customization.v3.CustomizationService.QueryCustomizations",
|
|
251
263
|
packageName: PACKAGE_NAME,
|
|
264
|
+
migrationOptions: {
|
|
265
|
+
optInTransformResponse: true
|
|
266
|
+
},
|
|
252
267
|
url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({
|
|
253
268
|
protoPath: "/v3/customizations/query",
|
|
254
269
|
data: payload,
|
|
@@ -320,6 +335,9 @@ function bulkCreateCustomizations(payload) {
|
|
|
320
335
|
method: "POST",
|
|
321
336
|
methodFqn: "wix.stores.catalog.customization.v3.CustomizationService.BulkCreateCustomizations",
|
|
322
337
|
packageName: PACKAGE_NAME,
|
|
338
|
+
migrationOptions: {
|
|
339
|
+
optInTransformResponse: true
|
|
340
|
+
},
|
|
323
341
|
url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({
|
|
324
342
|
protoPath: "/v3/bulk/customizations/create",
|
|
325
343
|
data: serializedData,
|
|
@@ -374,6 +392,9 @@ function addCustomizationChoices(payload) {
|
|
|
374
392
|
method: "POST",
|
|
375
393
|
methodFqn: "wix.stores.catalog.customization.v3.CustomizationService.AddCustomizationChoices",
|
|
376
394
|
packageName: PACKAGE_NAME,
|
|
395
|
+
migrationOptions: {
|
|
396
|
+
optInTransformResponse: true
|
|
397
|
+
},
|
|
377
398
|
url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({
|
|
378
399
|
protoPath: "/v3/customizations/{customizationId}/add-choices",
|
|
379
400
|
data: serializedData,
|
|
@@ -428,6 +449,9 @@ function setCustomizationChoices(payload) {
|
|
|
428
449
|
method: "POST",
|
|
429
450
|
methodFqn: "wix.stores.catalog.customization.v3.CustomizationService.SetCustomizationChoices",
|
|
430
451
|
packageName: PACKAGE_NAME,
|
|
452
|
+
migrationOptions: {
|
|
453
|
+
optInTransformResponse: true
|
|
454
|
+
},
|
|
431
455
|
url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({
|
|
432
456
|
protoPath: "/v3/customizations/{customizationId}/set-choices",
|
|
433
457
|
data: serializedData,
|
|
@@ -469,6 +493,9 @@ function removeCustomizationChoices(payload) {
|
|
|
469
493
|
method: "POST",
|
|
470
494
|
methodFqn: "wix.stores.catalog.customization.v3.CustomizationService.RemoveCustomizationChoices",
|
|
471
495
|
packageName: PACKAGE_NAME,
|
|
496
|
+
migrationOptions: {
|
|
497
|
+
optInTransformResponse: true
|
|
498
|
+
},
|
|
472
499
|
url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({
|
|
473
500
|
protoPath: "/v3/customizations/{customizationId}/remove-choices",
|
|
474
501
|
data: payload,
|
|
@@ -525,6 +552,9 @@ function bulkAddCustomizationChoices(payload) {
|
|
|
525
552
|
method: "POST",
|
|
526
553
|
methodFqn: "wix.stores.catalog.customization.v3.CustomizationService.BulkAddCustomizationChoices",
|
|
527
554
|
packageName: PACKAGE_NAME,
|
|
555
|
+
migrationOptions: {
|
|
556
|
+
optInTransformResponse: true
|
|
557
|
+
},
|
|
528
558
|
url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({
|
|
529
559
|
protoPath: "/v3/bulk/customizations/add-choices",
|
|
530
560
|
data: serializedData,
|
|
@@ -593,6 +623,9 @@ function bulkUpdateCustomizations(payload) {
|
|
|
593
623
|
method: "POST",
|
|
594
624
|
methodFqn: "wix.stores.catalog.customization.v3.CustomizationService.BulkUpdateCustomizations",
|
|
595
625
|
packageName: PACKAGE_NAME,
|
|
626
|
+
migrationOptions: {
|
|
627
|
+
optInTransformResponse: true
|
|
628
|
+
},
|
|
596
629
|
url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({
|
|
597
630
|
protoPath: "/v3/bulk/customizations/update",
|
|
598
631
|
data: serializedData,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/stores-catalog-v3-customization-customizations-v-3.http.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 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 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 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 * > **Note:** A customization cannot be deleted if it is assigned to one or more products.\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 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/rest/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/rest/articles/getting-started/api-query-language),\n * and [Sorting and Paging](https://dev.wix.com/docs/rest/articles/getting-started/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 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 brands. */\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 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 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 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 cannot be removed if it is assigned to one or more products.\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 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 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 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","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"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,oCAAoC;AAC7C,SAAS,oCAAoC;AAC7C,SAAS,4CAA4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AAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","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.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 * > **Note:** A customization cannot be deleted if it is assigned to one or more products.\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/rest/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/rest/articles/getting-started/api-query-language),\n * and [Sorting and Paging](https://dev.wix.com/docs/rest/articles/getting-started/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 brands. */\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 cannot be removed if it is assigned to one or more products.\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","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"],"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,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B;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","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.36",
|
|
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": "dca94df9f09ee2de0db8adeb290a2d5b750993417178af7f46a9dd7c"
|
|
54
54
|
}
|