@wix/auto_sdk_metro_products 1.0.3 → 1.0.5
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 +32 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js +32 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +32 -2
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +32 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs +32 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +32 -2
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +32 -2
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.js +32 -2
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.js +32 -2
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +32 -2
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.mjs +32 -2
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.mjs +32 -2
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -169,6 +169,9 @@ function createProduct(payload) {
|
|
|
169
169
|
method: "POST",
|
|
170
170
|
methodFqn: "wix.coreservices.metroinspector.v1.products.ProductsService.CreateProduct",
|
|
171
171
|
packageName: PACKAGE_NAME,
|
|
172
|
+
migrationOptions: {
|
|
173
|
+
optInTransformResponse: true
|
|
174
|
+
},
|
|
172
175
|
url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({
|
|
173
176
|
protoPath: "/api/v1/products",
|
|
174
177
|
data: serializedData,
|
|
@@ -225,6 +228,9 @@ function deleteProduct(payload) {
|
|
|
225
228
|
method: "DELETE",
|
|
226
229
|
methodFqn: "wix.coreservices.metroinspector.v1.products.ProductsService.DeleteProduct",
|
|
227
230
|
packageName: PACKAGE_NAME,
|
|
231
|
+
migrationOptions: {
|
|
232
|
+
optInTransformResponse: true
|
|
233
|
+
},
|
|
228
234
|
url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({
|
|
229
235
|
protoPath: "/api/v1/products/{productId}",
|
|
230
236
|
data: payload,
|
|
@@ -285,6 +291,9 @@ function updateProduct(payload) {
|
|
|
285
291
|
method: "PUT",
|
|
286
292
|
methodFqn: "wix.coreservices.metroinspector.v1.products.ProductsService.UpdateProduct",
|
|
287
293
|
packageName: PACKAGE_NAME,
|
|
294
|
+
migrationOptions: {
|
|
295
|
+
optInTransformResponse: true
|
|
296
|
+
},
|
|
288
297
|
url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({
|
|
289
298
|
protoPath: "/api/v1/products/{productId}",
|
|
290
299
|
data: serializedData,
|
|
@@ -341,6 +350,9 @@ function getProduct(payload) {
|
|
|
341
350
|
method: "GET",
|
|
342
351
|
methodFqn: "wix.coreservices.metroinspector.v1.products.ProductsService.GetProduct",
|
|
343
352
|
packageName: PACKAGE_NAME,
|
|
353
|
+
migrationOptions: {
|
|
354
|
+
optInTransformResponse: true
|
|
355
|
+
},
|
|
344
356
|
url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({
|
|
345
357
|
protoPath: "/api/v1/products/{productId}",
|
|
346
358
|
data: payload,
|
|
@@ -397,6 +409,9 @@ function countProducts(payload) {
|
|
|
397
409
|
method: "POST",
|
|
398
410
|
methodFqn: "wix.coreservices.metroinspector.v1.products.ProductsService.CountProducts",
|
|
399
411
|
packageName: PACKAGE_NAME,
|
|
412
|
+
migrationOptions: {
|
|
413
|
+
optInTransformResponse: true
|
|
414
|
+
},
|
|
400
415
|
url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({
|
|
401
416
|
protoPath: "/api/v1/products/count",
|
|
402
417
|
data: payload,
|
|
@@ -415,6 +430,9 @@ function getProductsStartWith(payload) {
|
|
|
415
430
|
method: "GET",
|
|
416
431
|
methodFqn: "wix.coreservices.metroinspector.v1.products.ProductsService.GetProductsStartWith",
|
|
417
432
|
packageName: PACKAGE_NAME,
|
|
433
|
+
migrationOptions: {
|
|
434
|
+
optInTransformResponse: true
|
|
435
|
+
},
|
|
418
436
|
url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({
|
|
419
437
|
protoPath: "/api/v1/products/start-with/{title}",
|
|
420
438
|
data: payload,
|
|
@@ -468,15 +486,18 @@ function queryProducts(payload) {
|
|
|
468
486
|
function __queryProducts({ host }) {
|
|
469
487
|
const metadata = {
|
|
470
488
|
entityFqdn: "wix.metroinspector.v1.product",
|
|
471
|
-
method: "
|
|
489
|
+
method: "GET",
|
|
472
490
|
methodFqn: "wix.coreservices.metroinspector.v1.products.ProductsService.QueryProducts",
|
|
473
491
|
packageName: PACKAGE_NAME,
|
|
492
|
+
migrationOptions: {
|
|
493
|
+
optInTransformResponse: true
|
|
494
|
+
},
|
|
474
495
|
url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({
|
|
475
496
|
protoPath: "/api/v1/query-products",
|
|
476
497
|
data: payload,
|
|
477
498
|
host
|
|
478
499
|
}),
|
|
479
|
-
|
|
500
|
+
params: (0, import_rest_modules.toURLSearchParams)(payload, true),
|
|
480
501
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
481
502
|
{
|
|
482
503
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
@@ -574,6 +595,9 @@ function bulkCreateProducts(payload) {
|
|
|
574
595
|
method: "POST",
|
|
575
596
|
methodFqn: "wix.coreservices.metroinspector.v1.products.ProductsService.BulkCreateProducts",
|
|
576
597
|
packageName: PACKAGE_NAME,
|
|
598
|
+
migrationOptions: {
|
|
599
|
+
optInTransformResponse: true
|
|
600
|
+
},
|
|
577
601
|
url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({
|
|
578
602
|
protoPath: "/api/v1/bulk/products/create",
|
|
579
603
|
data: serializedData,
|
|
@@ -676,6 +700,9 @@ function bulkUpdateProducts(payload) {
|
|
|
676
700
|
method: "PATCH",
|
|
677
701
|
methodFqn: "wix.coreservices.metroinspector.v1.products.ProductsService.BulkUpdateProducts",
|
|
678
702
|
packageName: PACKAGE_NAME,
|
|
703
|
+
migrationOptions: {
|
|
704
|
+
optInTransformResponse: true
|
|
705
|
+
},
|
|
679
706
|
url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({
|
|
680
707
|
protoPath: "/api/v1/bulk/products/update",
|
|
681
708
|
data: serializedData,
|
|
@@ -734,6 +761,9 @@ function bulkDeleteProducts(payload) {
|
|
|
734
761
|
method: "POST",
|
|
735
762
|
methodFqn: "wix.coreservices.metroinspector.v1.products.ProductsService.BulkDeleteProducts",
|
|
736
763
|
packageName: PACKAGE_NAME,
|
|
764
|
+
migrationOptions: {
|
|
765
|
+
optInTransformResponse: true
|
|
766
|
+
},
|
|
737
767
|
url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({
|
|
738
768
|
protoPath: "/api/v1/bulk/products/delete",
|
|
739
769
|
data: payload,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../meta.ts","../../../src/metroinspector-v1-product-products.http.ts","../../../src/metroinspector-v1-product-products.meta.ts"],"sourcesContent":["export * from './src/metroinspector-v1-product-products.meta.js';\n","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 resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'apps._base_domain_': [\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/metro-inspector',\n destPath: '',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/metro-inspector',\n destPath: '/api',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/metro-inspector',\n destPath: '',\n },\n ],\n 'www.wixgateway.com': [\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n ],\n _: [\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/metro-inspector',\n destPath: '',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/metro-insepctor',\n destPath: '',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/metro-insepctor',\n destPath: '',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/metro-insepctor',\n destPath: '',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_metro_products';\n\n/** Creating a product */\nexport function createProduct(payload: object): RequestOptionsFactory<any> {\n function __createProduct({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'product.createdDate' },\n { path: 'product.modifiedDate' },\n { path: 'product.image.urlExpirationDate' },\n { path: 'product.document.urlExpirationDate' },\n { path: 'product.document.thumbnail.urlExpirationDate' },\n { path: 'product.video.urlExpirationDate' },\n { path: 'product.video.resolutions.urlExpirationDate' },\n { path: 'product.video.resolutions.poster.urlExpirationDate' },\n { path: 'product.video.posters.urlExpirationDate' },\n { path: 'product.audio.urlExpirationDate' },\n { path: 'product.variants.image.urlExpirationDate' },\n { path: 'product.mainVariant.image.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'product.image.focalPoint.x' },\n { path: 'product.image.focalPoint.y' },\n { path: 'product.document.thumbnail.focalPoint.x' },\n { path: 'product.document.thumbnail.focalPoint.y' },\n { path: 'product.video.resolutions.poster.focalPoint.x' },\n { path: 'product.video.resolutions.poster.focalPoint.y' },\n { path: 'product.video.posters.focalPoint.x' },\n { path: 'product.video.posters.focalPoint.y' },\n { path: 'product.variants.image.focalPoint.x' },\n { path: 'product.variants.image.focalPoint.y' },\n { path: 'product.mainVariant.image.focalPoint.x' },\n { path: 'product.mainVariant.image.focalPoint.y' },\n { path: 'product.address.geocode.latitude' },\n { path: 'product.address.geocode.longitude' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.metroinspector.v1.product',\n method: 'POST' as any,\n methodFqn:\n 'wix.coreservices.metroinspector.v1.products.ProductsService.CreateProduct',\n packageName: PACKAGE_NAME,\n url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({\n protoPath: '/api/v1/products',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'product.createdDate' },\n { path: 'product.modifiedDate' },\n { path: 'product.image.urlExpirationDate' },\n { path: 'product.document.urlExpirationDate' },\n { path: 'product.document.thumbnail.urlExpirationDate' },\n { path: 'product.video.urlExpirationDate' },\n { path: 'product.video.resolutions.urlExpirationDate' },\n { path: 'product.video.resolutions.poster.urlExpirationDate' },\n { path: 'product.video.posters.urlExpirationDate' },\n { path: 'product.audio.urlExpirationDate' },\n { path: 'product.variants.image.urlExpirationDate' },\n { path: 'product.mainVariant.image.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'product.image.focalPoint.x' },\n { path: 'product.image.focalPoint.y' },\n { path: 'product.document.thumbnail.focalPoint.x' },\n { path: 'product.document.thumbnail.focalPoint.y' },\n { path: 'product.video.resolutions.poster.focalPoint.x' },\n { path: 'product.video.resolutions.poster.focalPoint.y' },\n { path: 'product.video.posters.focalPoint.x' },\n { path: 'product.video.posters.focalPoint.y' },\n { path: 'product.variants.image.focalPoint.x' },\n { path: 'product.variants.image.focalPoint.y' },\n { path: 'product.mainVariant.image.focalPoint.x' },\n { path: 'product.mainVariant.image.focalPoint.y' },\n { path: 'product.address.geocode.latitude' },\n { path: 'product.address.geocode.longitude' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createProduct;\n}\n\nexport function deleteProduct(payload: object): RequestOptionsFactory<any> {\n function __deleteProduct({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.metroinspector.v1.product',\n method: 'DELETE' as any,\n methodFqn:\n 'wix.coreservices.metroinspector.v1.products.ProductsService.DeleteProduct',\n packageName: PACKAGE_NAME,\n url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({\n protoPath: '/api/v1/products/{productId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteProduct;\n}\n\nexport function updateProduct(payload: object): RequestOptionsFactory<any> {\n function __updateProduct({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'mask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'product.createdDate' },\n { path: 'product.modifiedDate' },\n { path: 'product.image.urlExpirationDate' },\n { path: 'product.document.urlExpirationDate' },\n { path: 'product.document.thumbnail.urlExpirationDate' },\n { path: 'product.video.urlExpirationDate' },\n { path: 'product.video.resolutions.urlExpirationDate' },\n { path: 'product.video.resolutions.poster.urlExpirationDate' },\n { path: 'product.video.posters.urlExpirationDate' },\n { path: 'product.audio.urlExpirationDate' },\n { path: 'product.variants.image.urlExpirationDate' },\n { path: 'product.mainVariant.image.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'product.image.focalPoint.x' },\n { path: 'product.image.focalPoint.y' },\n { path: 'product.document.thumbnail.focalPoint.x' },\n { path: 'product.document.thumbnail.focalPoint.y' },\n { path: 'product.video.resolutions.poster.focalPoint.x' },\n { path: 'product.video.resolutions.poster.focalPoint.y' },\n { path: 'product.video.posters.focalPoint.x' },\n { path: 'product.video.posters.focalPoint.y' },\n { path: 'product.variants.image.focalPoint.x' },\n { path: 'product.variants.image.focalPoint.y' },\n { path: 'product.mainVariant.image.focalPoint.x' },\n { path: 'product.mainVariant.image.focalPoint.y' },\n { path: 'product.address.geocode.latitude' },\n { path: 'product.address.geocode.longitude' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.metroinspector.v1.product',\n method: 'PUT' as any,\n methodFqn:\n 'wix.coreservices.metroinspector.v1.products.ProductsService.UpdateProduct',\n packageName: PACKAGE_NAME,\n url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({\n protoPath: '/api/v1/products/{productId}',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'product.createdDate' },\n { path: 'product.modifiedDate' },\n { path: 'product.image.urlExpirationDate' },\n { path: 'product.document.urlExpirationDate' },\n { path: 'product.document.thumbnail.urlExpirationDate' },\n { path: 'product.video.urlExpirationDate' },\n { path: 'product.video.resolutions.urlExpirationDate' },\n { path: 'product.video.resolutions.poster.urlExpirationDate' },\n { path: 'product.video.posters.urlExpirationDate' },\n { path: 'product.audio.urlExpirationDate' },\n { path: 'product.variants.image.urlExpirationDate' },\n { path: 'product.mainVariant.image.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'product.image.focalPoint.x' },\n { path: 'product.image.focalPoint.y' },\n { path: 'product.document.thumbnail.focalPoint.x' },\n { path: 'product.document.thumbnail.focalPoint.y' },\n { path: 'product.video.resolutions.poster.focalPoint.x' },\n { path: 'product.video.resolutions.poster.focalPoint.y' },\n { path: 'product.video.posters.focalPoint.x' },\n { path: 'product.video.posters.focalPoint.y' },\n { path: 'product.variants.image.focalPoint.x' },\n { path: 'product.variants.image.focalPoint.y' },\n { path: 'product.mainVariant.image.focalPoint.x' },\n { path: 'product.mainVariant.image.focalPoint.y' },\n { path: 'product.address.geocode.latitude' },\n { path: 'product.address.geocode.longitude' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateProduct;\n}\n\n/** override description */\nexport function getProduct(payload: object): RequestOptionsFactory<any> {\n function __getProduct({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.metroinspector.v1.product',\n method: 'GET' as any,\n methodFqn:\n 'wix.coreservices.metroinspector.v1.products.ProductsService.GetProduct',\n packageName: PACKAGE_NAME,\n url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({\n protoPath: '/api/v1/products/{productId}',\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: 'product.createdDate' },\n { path: 'product.modifiedDate' },\n { path: 'product.image.urlExpirationDate' },\n { path: 'product.document.urlExpirationDate' },\n { path: 'product.document.thumbnail.urlExpirationDate' },\n { path: 'product.video.urlExpirationDate' },\n { path: 'product.video.resolutions.urlExpirationDate' },\n { path: 'product.video.resolutions.poster.urlExpirationDate' },\n { path: 'product.video.posters.urlExpirationDate' },\n { path: 'product.audio.urlExpirationDate' },\n { path: 'product.variants.image.urlExpirationDate' },\n { path: 'product.mainVariant.image.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'product.image.focalPoint.x' },\n { path: 'product.image.focalPoint.y' },\n { path: 'product.document.thumbnail.focalPoint.x' },\n { path: 'product.document.thumbnail.focalPoint.y' },\n { path: 'product.video.resolutions.poster.focalPoint.x' },\n { path: 'product.video.resolutions.poster.focalPoint.y' },\n { path: 'product.video.posters.focalPoint.x' },\n { path: 'product.video.posters.focalPoint.y' },\n { path: 'product.variants.image.focalPoint.x' },\n { path: 'product.variants.image.focalPoint.y' },\n { path: 'product.mainVariant.image.focalPoint.x' },\n { path: 'product.mainVariant.image.focalPoint.y' },\n { path: 'product.address.geocode.latitude' },\n { path: 'product.address.geocode.longitude' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getProduct;\n}\n\nexport function countProducts(payload: object): RequestOptionsFactory<any> {\n function __countProducts({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.metroinspector.v1.product',\n method: 'POST' as any,\n methodFqn:\n 'wix.coreservices.metroinspector.v1.products.ProductsService.CountProducts',\n packageName: PACKAGE_NAME,\n url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({\n protoPath: '/api/v1/products/count',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __countProducts;\n}\n\nexport function getProductsStartWith(\n payload: object\n): RequestOptionsFactory<any> {\n function __getProductsStartWith({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.metroinspector.v1.product',\n method: 'GET' as any,\n methodFqn:\n 'wix.coreservices.metroinspector.v1.products.ProductsService.GetProductsStartWith',\n packageName: PACKAGE_NAME,\n url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({\n protoPath: '/api/v1/products/start-with/{title}',\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: 'products.createdDate' },\n { path: 'products.modifiedDate' },\n { path: 'products.image.urlExpirationDate' },\n { path: 'products.document.urlExpirationDate' },\n { path: 'products.document.thumbnail.urlExpirationDate' },\n { path: 'products.video.urlExpirationDate' },\n { path: 'products.video.resolutions.urlExpirationDate' },\n { path: 'products.video.resolutions.poster.urlExpirationDate' },\n { path: 'products.video.posters.urlExpirationDate' },\n { path: 'products.audio.urlExpirationDate' },\n { path: 'products.variants.image.urlExpirationDate' },\n { path: 'products.mainVariant.image.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'products.image.focalPoint.x' },\n { path: 'products.image.focalPoint.y' },\n { path: 'products.document.thumbnail.focalPoint.x' },\n { path: 'products.document.thumbnail.focalPoint.y' },\n { path: 'products.video.resolutions.poster.focalPoint.x' },\n { path: 'products.video.resolutions.poster.focalPoint.y' },\n { path: 'products.video.posters.focalPoint.x' },\n { path: 'products.video.posters.focalPoint.y' },\n { path: 'products.variants.image.focalPoint.x' },\n { path: 'products.variants.image.focalPoint.y' },\n { path: 'products.mainVariant.image.focalPoint.x' },\n { path: 'products.mainVariant.image.focalPoint.y' },\n { path: 'products.address.geocode.latitude' },\n { path: 'products.address.geocode.longitude' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getProductsStartWith;\n}\n\nexport function queryProducts(payload: object): RequestOptionsFactory<any> {\n function __queryProducts({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.metroinspector.v1.product',\n method: 'POST' as any,\n methodFqn:\n 'wix.coreservices.metroinspector.v1.products.ProductsService.QueryProducts',\n packageName: PACKAGE_NAME,\n url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({\n protoPath: '/api/v1/query-products',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'products.createdDate' },\n { path: 'products.modifiedDate' },\n { path: 'products.image.urlExpirationDate' },\n { path: 'products.document.urlExpirationDate' },\n { path: 'products.document.thumbnail.urlExpirationDate' },\n { path: 'products.video.urlExpirationDate' },\n { path: 'products.video.resolutions.urlExpirationDate' },\n { path: 'products.video.resolutions.poster.urlExpirationDate' },\n { path: 'products.video.posters.urlExpirationDate' },\n { path: 'products.audio.urlExpirationDate' },\n { path: 'products.variants.image.urlExpirationDate' },\n { path: 'products.mainVariant.image.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'products.image.focalPoint.x' },\n { path: 'products.image.focalPoint.y' },\n { path: 'products.document.thumbnail.focalPoint.x' },\n { path: 'products.document.thumbnail.focalPoint.y' },\n { path: 'products.video.resolutions.poster.focalPoint.x' },\n { path: 'products.video.resolutions.poster.focalPoint.y' },\n { path: 'products.video.posters.focalPoint.x' },\n { path: 'products.video.posters.focalPoint.y' },\n { path: 'products.variants.image.focalPoint.x' },\n { path: 'products.variants.image.focalPoint.y' },\n { path: 'products.mainVariant.image.focalPoint.x' },\n { path: 'products.mainVariant.image.focalPoint.y' },\n { path: 'products.address.geocode.latitude' },\n { path: 'products.address.geocode.longitude' },\n ],\n },\n ]),\n fallback: [\n {\n method: 'POST' as any,\n url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl(\n { protoPath: '/api/v1/query-products', data: payload, host }\n ),\n data: payload,\n },\n ],\n };\n\n return metadata;\n }\n\n return __queryProducts;\n}\n\n/** create multiple products in a single request. Works synchronously */\nexport function bulkCreateProducts(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkCreateProducts({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'products.createdDate' },\n { path: 'products.modifiedDate' },\n { path: 'products.image.urlExpirationDate' },\n { path: 'products.document.urlExpirationDate' },\n { path: 'products.document.thumbnail.urlExpirationDate' },\n { path: 'products.video.urlExpirationDate' },\n { path: 'products.video.resolutions.urlExpirationDate' },\n { path: 'products.video.resolutions.poster.urlExpirationDate' },\n { path: 'products.video.posters.urlExpirationDate' },\n { path: 'products.audio.urlExpirationDate' },\n { path: 'products.variants.image.urlExpirationDate' },\n { path: 'products.mainVariant.image.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'products.image.focalPoint.x' },\n { path: 'products.image.focalPoint.y' },\n { path: 'products.document.thumbnail.focalPoint.x' },\n { path: 'products.document.thumbnail.focalPoint.y' },\n { path: 'products.video.resolutions.poster.focalPoint.x' },\n { path: 'products.video.resolutions.poster.focalPoint.y' },\n { path: 'products.video.posters.focalPoint.x' },\n { path: 'products.video.posters.focalPoint.y' },\n { path: 'products.variants.image.focalPoint.x' },\n { path: 'products.variants.image.focalPoint.y' },\n { path: 'products.mainVariant.image.focalPoint.x' },\n { path: 'products.mainVariant.image.focalPoint.y' },\n { path: 'products.address.geocode.latitude' },\n { path: 'products.address.geocode.longitude' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.metroinspector.v1.product',\n method: 'POST' as any,\n methodFqn:\n 'wix.coreservices.metroinspector.v1.products.ProductsService.BulkCreateProducts',\n packageName: PACKAGE_NAME,\n url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({\n protoPath: '/api/v1/bulk/products/create',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'results.item.createdDate' },\n { path: 'results.item.modifiedDate' },\n { path: 'results.item.image.urlExpirationDate' },\n { path: 'results.item.document.urlExpirationDate' },\n { path: 'results.item.document.thumbnail.urlExpirationDate' },\n { path: 'results.item.video.urlExpirationDate' },\n { path: 'results.item.video.resolutions.urlExpirationDate' },\n {\n path: 'results.item.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'results.item.video.posters.urlExpirationDate' },\n { path: 'results.item.audio.urlExpirationDate' },\n { path: 'results.item.variants.image.urlExpirationDate' },\n { path: 'results.item.mainVariant.image.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'results.item.image.focalPoint.x' },\n { path: 'results.item.image.focalPoint.y' },\n { path: 'results.item.document.thumbnail.focalPoint.x' },\n { path: 'results.item.document.thumbnail.focalPoint.y' },\n { path: 'results.item.video.resolutions.poster.focalPoint.x' },\n { path: 'results.item.video.resolutions.poster.focalPoint.y' },\n { path: 'results.item.video.posters.focalPoint.x' },\n { path: 'results.item.video.posters.focalPoint.y' },\n { path: 'results.item.variants.image.focalPoint.x' },\n { path: 'results.item.variants.image.focalPoint.y' },\n { path: 'results.item.mainVariant.image.focalPoint.x' },\n { path: 'results.item.mainVariant.image.focalPoint.y' },\n { path: 'results.item.address.geocode.latitude' },\n { path: 'results.item.address.geocode.longitude' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkCreateProducts;\n}\n\n/** update multiple products in a single request. Works synchronously. */\nexport function bulkUpdateProducts(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdateProducts({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'products.fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'products.product.createdDate' },\n { path: 'products.product.modifiedDate' },\n { path: 'products.product.image.urlExpirationDate' },\n { path: 'products.product.document.urlExpirationDate' },\n { path: 'products.product.document.thumbnail.urlExpirationDate' },\n { path: 'products.product.video.urlExpirationDate' },\n { path: 'products.product.video.resolutions.urlExpirationDate' },\n {\n path: 'products.product.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'products.product.video.posters.urlExpirationDate' },\n { path: 'products.product.audio.urlExpirationDate' },\n { path: 'products.product.variants.image.urlExpirationDate' },\n { path: 'products.product.mainVariant.image.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'products.product.image.focalPoint.x' },\n { path: 'products.product.image.focalPoint.y' },\n { path: 'products.product.document.thumbnail.focalPoint.x' },\n { path: 'products.product.document.thumbnail.focalPoint.y' },\n { path: 'products.product.video.resolutions.poster.focalPoint.x' },\n { path: 'products.product.video.resolutions.poster.focalPoint.y' },\n { path: 'products.product.video.posters.focalPoint.x' },\n { path: 'products.product.video.posters.focalPoint.y' },\n { path: 'products.product.variants.image.focalPoint.x' },\n { path: 'products.product.variants.image.focalPoint.y' },\n { path: 'products.product.mainVariant.image.focalPoint.x' },\n { path: 'products.product.mainVariant.image.focalPoint.y' },\n { path: 'products.product.address.geocode.latitude' },\n { path: 'products.product.address.geocode.longitude' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.metroinspector.v1.product',\n method: 'PATCH' as any,\n methodFqn:\n 'wix.coreservices.metroinspector.v1.products.ProductsService.BulkUpdateProducts',\n packageName: PACKAGE_NAME,\n url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({\n protoPath: '/api/v1/bulk/products/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.item.createdDate' },\n { path: 'results.item.modifiedDate' },\n { path: 'results.item.image.urlExpirationDate' },\n { path: 'results.item.document.urlExpirationDate' },\n { path: 'results.item.document.thumbnail.urlExpirationDate' },\n { path: 'results.item.video.urlExpirationDate' },\n { path: 'results.item.video.resolutions.urlExpirationDate' },\n {\n path: 'results.item.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'results.item.video.posters.urlExpirationDate' },\n { path: 'results.item.audio.urlExpirationDate' },\n { path: 'results.item.variants.image.urlExpirationDate' },\n { path: 'results.item.mainVariant.image.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'results.item.image.focalPoint.x' },\n { path: 'results.item.image.focalPoint.y' },\n { path: 'results.item.document.thumbnail.focalPoint.x' },\n { path: 'results.item.document.thumbnail.focalPoint.y' },\n { path: 'results.item.video.resolutions.poster.focalPoint.x' },\n { path: 'results.item.video.resolutions.poster.focalPoint.y' },\n { path: 'results.item.video.posters.focalPoint.x' },\n { path: 'results.item.video.posters.focalPoint.y' },\n { path: 'results.item.variants.image.focalPoint.x' },\n { path: 'results.item.variants.image.focalPoint.y' },\n { path: 'results.item.mainVariant.image.focalPoint.x' },\n { path: 'results.item.mainVariant.image.focalPoint.y' },\n { path: 'results.item.address.geocode.latitude' },\n { path: 'results.item.address.geocode.longitude' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkUpdateProducts;\n}\n\n/** deletes multiple products in a single request. Works synchronously. */\nexport function bulkDeleteProducts(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkDeleteProducts({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.metroinspector.v1.product',\n method: 'POST' as any,\n methodFqn:\n 'wix.coreservices.metroinspector.v1.products.ProductsService.BulkDeleteProducts',\n packageName: PACKAGE_NAME,\n url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({\n protoPath: '/api/v1/bulk/products/delete',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkDeleteProducts;\n}\n","import * as ambassadorWixMetroinspectorV1Product from './metroinspector-v1-product-products.http.js';\nimport * as ambassadorWixMetroinspectorV1ProductTypes from './metroinspector-v1-product-products.types.js';\nimport * as ambassadorWixMetroinspectorV1ProductUniversalTypes from './metroinspector-v1-product-products.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 createProduct(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixMetroinspectorV1ProductUniversalTypes.CreateProductRequest,\n ambassadorWixMetroinspectorV1ProductTypes.CreateProductRequest,\n ambassadorWixMetroinspectorV1ProductUniversalTypes.CreateProductResponse,\n ambassadorWixMetroinspectorV1ProductTypes.CreateProductResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMetroinspectorV1Product.createProduct(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: '/api/v1/products',\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 deleteProduct(): __PublicMethodMetaInfo<\n 'DELETE',\n { productId: string },\n ambassadorWixMetroinspectorV1ProductUniversalTypes.DeleteProductRequest,\n ambassadorWixMetroinspectorV1ProductTypes.DeleteProductRequest,\n ambassadorWixMetroinspectorV1ProductUniversalTypes.DeleteProductResponse,\n ambassadorWixMetroinspectorV1ProductTypes.DeleteProductResponse\n> {\n const payload = { productId: ':productId' } as any;\n\n const getRequestOptions =\n ambassadorWixMetroinspectorV1Product.deleteProduct(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: '/api/v1/products/{productId}',\n pathParams: { productId: 'productId' },\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 updateProduct(): __PublicMethodMetaInfo<\n 'PUT',\n { productId: string },\n ambassadorWixMetroinspectorV1ProductUniversalTypes.UpdateProductRequest,\n ambassadorWixMetroinspectorV1ProductTypes.UpdateProductRequest,\n ambassadorWixMetroinspectorV1ProductUniversalTypes.UpdateProductResponse,\n ambassadorWixMetroinspectorV1ProductTypes.UpdateProductResponse\n> {\n const payload = { productId: ':productId' } as any;\n\n const getRequestOptions =\n ambassadorWixMetroinspectorV1Product.updateProduct(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PUT',\n path: '/api/v1/products/{productId}',\n pathParams: { productId: 'productId' },\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 getProduct(): __PublicMethodMetaInfo<\n 'GET',\n { productId: string },\n ambassadorWixMetroinspectorV1ProductUniversalTypes.GetProductRequest,\n ambassadorWixMetroinspectorV1ProductTypes.GetProductRequest,\n ambassadorWixMetroinspectorV1ProductUniversalTypes.GetProductResponse,\n ambassadorWixMetroinspectorV1ProductTypes.GetProductResponse\n> {\n const payload = { productId: ':productId' } as any;\n\n const getRequestOptions =\n ambassadorWixMetroinspectorV1Product.getProduct(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: '/api/v1/products/{productId}',\n pathParams: { productId: 'productId' },\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 countProducts(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixMetroinspectorV1ProductUniversalTypes.CountProductsRequest,\n ambassadorWixMetroinspectorV1ProductTypes.CountProductsRequest,\n ambassadorWixMetroinspectorV1ProductUniversalTypes.CountProductsResponse,\n ambassadorWixMetroinspectorV1ProductTypes.CountProductsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMetroinspectorV1Product.countProducts(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: '/api/v1/products/count',\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 getProductsStartWith(): __PublicMethodMetaInfo<\n 'GET',\n { title: string },\n ambassadorWixMetroinspectorV1ProductUniversalTypes.GetProductsStartWithRequest,\n ambassadorWixMetroinspectorV1ProductTypes.GetProductsStartWithRequest,\n ambassadorWixMetroinspectorV1ProductUniversalTypes.GetProductsStartWithResponse,\n ambassadorWixMetroinspectorV1ProductTypes.GetProductsStartWithResponse\n> {\n const payload = { title: ':title' } as any;\n\n const getRequestOptions =\n ambassadorWixMetroinspectorV1Product.getProductsStartWith(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: '/api/v1/products/start-with/{title}',\n pathParams: { title: 'title' },\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 queryProducts(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixMetroinspectorV1ProductUniversalTypes.QueryProductsRequest,\n ambassadorWixMetroinspectorV1ProductTypes.QueryProductsRequest,\n ambassadorWixMetroinspectorV1ProductUniversalTypes.QueryProductsResponse,\n ambassadorWixMetroinspectorV1ProductTypes.QueryProductsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMetroinspectorV1Product.queryProducts(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: '/api/v1/query-products',\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 bulkCreateProducts(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixMetroinspectorV1ProductUniversalTypes.BulkCreateProductsRequest,\n ambassadorWixMetroinspectorV1ProductTypes.BulkCreateProductsRequest,\n ambassadorWixMetroinspectorV1ProductUniversalTypes.BulkCreateProductsResponse,\n ambassadorWixMetroinspectorV1ProductTypes.BulkCreateProductsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMetroinspectorV1Product.bulkCreateProducts(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: '/api/v1/bulk/products/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 bulkUpdateProducts(): __PublicMethodMetaInfo<\n 'PATCH',\n {},\n ambassadorWixMetroinspectorV1ProductUniversalTypes.BulkUpdateProductsRequest,\n ambassadorWixMetroinspectorV1ProductTypes.BulkUpdateProductsRequest,\n ambassadorWixMetroinspectorV1ProductUniversalTypes.BulkUpdateProductsResponse,\n ambassadorWixMetroinspectorV1ProductTypes.BulkUpdateProductsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMetroinspectorV1Product.bulkUpdateProducts(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: '/api/v1/bulk/products/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 function bulkDeleteProducts(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixMetroinspectorV1ProductUniversalTypes.BulkDeleteProductsRequest,\n ambassadorWixMetroinspectorV1ProductTypes.BulkDeleteProductsRequest,\n ambassadorWixMetroinspectorV1ProductUniversalTypes.BulkDeleteProductsResponse,\n ambassadorWixMetroinspectorV1ProductTypes.BulkDeleteProductsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMetroinspectorV1Product.bulkDeleteProducts(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: '/api/v1/bulk/products/delete',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as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EjE,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,sBAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACiC,mBAAmB,OAAO;AAEjE,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":["bulkCreateProducts","bulkDeleteProducts","bulkUpdateProducts","countProducts","createProduct","deleteProduct","getProduct","getProductsStartWith","queryProducts","updateProduct","import_float","import_timestamp","import_rest_modules","payload","createProduct","deleteProduct","updateProduct","getProduct","countProducts","getProductsStartWith","queryProducts","bulkCreateProducts","bulkUpdateProducts","bulkDeleteProducts"]}
|
|
1
|
+
{"version":3,"sources":["../../../meta.ts","../../../src/metroinspector-v1-product-products.http.ts","../../../src/metroinspector-v1-product-products.meta.ts"],"sourcesContent":["export * from './src/metroinspector-v1-product-products.meta.js';\n","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 resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'apps._base_domain_': [\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/metro-inspector',\n destPath: '',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/metro-inspector',\n destPath: '/api',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/metro-inspector',\n destPath: '',\n },\n ],\n 'www.wixgateway.com': [\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n ],\n _: [\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n {\n srcPath: '/metro-inspector',\n destPath: '',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/metro-insepctor',\n destPath: '',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/metro-insepctor',\n destPath: '',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/metro-insepctor',\n destPath: '',\n },\n {\n srcPath: '/_api/metro-inspector',\n destPath: '/api',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_metro_products';\n\n/** Creating a product */\nexport function createProduct(payload: object): RequestOptionsFactory<any> {\n function __createProduct({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'product.createdDate' },\n { path: 'product.modifiedDate' },\n { path: 'product.image.urlExpirationDate' },\n { path: 'product.document.urlExpirationDate' },\n { path: 'product.document.thumbnail.urlExpirationDate' },\n { path: 'product.video.urlExpirationDate' },\n { path: 'product.video.resolutions.urlExpirationDate' },\n { path: 'product.video.resolutions.poster.urlExpirationDate' },\n { path: 'product.video.posters.urlExpirationDate' },\n { path: 'product.audio.urlExpirationDate' },\n { path: 'product.variants.image.urlExpirationDate' },\n { path: 'product.mainVariant.image.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'product.image.focalPoint.x' },\n { path: 'product.image.focalPoint.y' },\n { path: 'product.document.thumbnail.focalPoint.x' },\n { path: 'product.document.thumbnail.focalPoint.y' },\n { path: 'product.video.resolutions.poster.focalPoint.x' },\n { path: 'product.video.resolutions.poster.focalPoint.y' },\n { path: 'product.video.posters.focalPoint.x' },\n { path: 'product.video.posters.focalPoint.y' },\n { path: 'product.variants.image.focalPoint.x' },\n { path: 'product.variants.image.focalPoint.y' },\n { path: 'product.mainVariant.image.focalPoint.x' },\n { path: 'product.mainVariant.image.focalPoint.y' },\n { path: 'product.address.geocode.latitude' },\n { path: 'product.address.geocode.longitude' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.metroinspector.v1.product',\n method: 'POST' as any,\n methodFqn:\n 'wix.coreservices.metroinspector.v1.products.ProductsService.CreateProduct',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({\n protoPath: '/api/v1/products',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'product.createdDate' },\n { path: 'product.modifiedDate' },\n { path: 'product.image.urlExpirationDate' },\n { path: 'product.document.urlExpirationDate' },\n { path: 'product.document.thumbnail.urlExpirationDate' },\n { path: 'product.video.urlExpirationDate' },\n { path: 'product.video.resolutions.urlExpirationDate' },\n { path: 'product.video.resolutions.poster.urlExpirationDate' },\n { path: 'product.video.posters.urlExpirationDate' },\n { path: 'product.audio.urlExpirationDate' },\n { path: 'product.variants.image.urlExpirationDate' },\n { path: 'product.mainVariant.image.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'product.image.focalPoint.x' },\n { path: 'product.image.focalPoint.y' },\n { path: 'product.document.thumbnail.focalPoint.x' },\n { path: 'product.document.thumbnail.focalPoint.y' },\n { path: 'product.video.resolutions.poster.focalPoint.x' },\n { path: 'product.video.resolutions.poster.focalPoint.y' },\n { path: 'product.video.posters.focalPoint.x' },\n { path: 'product.video.posters.focalPoint.y' },\n { path: 'product.variants.image.focalPoint.x' },\n { path: 'product.variants.image.focalPoint.y' },\n { path: 'product.mainVariant.image.focalPoint.x' },\n { path: 'product.mainVariant.image.focalPoint.y' },\n { path: 'product.address.geocode.latitude' },\n { path: 'product.address.geocode.longitude' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createProduct;\n}\n\nexport function deleteProduct(payload: object): RequestOptionsFactory<any> {\n function __deleteProduct({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.metroinspector.v1.product',\n method: 'DELETE' as any,\n methodFqn:\n 'wix.coreservices.metroinspector.v1.products.ProductsService.DeleteProduct',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({\n protoPath: '/api/v1/products/{productId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteProduct;\n}\n\nexport function updateProduct(payload: object): RequestOptionsFactory<any> {\n function __updateProduct({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'mask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'product.createdDate' },\n { path: 'product.modifiedDate' },\n { path: 'product.image.urlExpirationDate' },\n { path: 'product.document.urlExpirationDate' },\n { path: 'product.document.thumbnail.urlExpirationDate' },\n { path: 'product.video.urlExpirationDate' },\n { path: 'product.video.resolutions.urlExpirationDate' },\n { path: 'product.video.resolutions.poster.urlExpirationDate' },\n { path: 'product.video.posters.urlExpirationDate' },\n { path: 'product.audio.urlExpirationDate' },\n { path: 'product.variants.image.urlExpirationDate' },\n { path: 'product.mainVariant.image.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'product.image.focalPoint.x' },\n { path: 'product.image.focalPoint.y' },\n { path: 'product.document.thumbnail.focalPoint.x' },\n { path: 'product.document.thumbnail.focalPoint.y' },\n { path: 'product.video.resolutions.poster.focalPoint.x' },\n { path: 'product.video.resolutions.poster.focalPoint.y' },\n { path: 'product.video.posters.focalPoint.x' },\n { path: 'product.video.posters.focalPoint.y' },\n { path: 'product.variants.image.focalPoint.x' },\n { path: 'product.variants.image.focalPoint.y' },\n { path: 'product.mainVariant.image.focalPoint.x' },\n { path: 'product.mainVariant.image.focalPoint.y' },\n { path: 'product.address.geocode.latitude' },\n { path: 'product.address.geocode.longitude' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.metroinspector.v1.product',\n method: 'PUT' as any,\n methodFqn:\n 'wix.coreservices.metroinspector.v1.products.ProductsService.UpdateProduct',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({\n protoPath: '/api/v1/products/{productId}',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'product.createdDate' },\n { path: 'product.modifiedDate' },\n { path: 'product.image.urlExpirationDate' },\n { path: 'product.document.urlExpirationDate' },\n { path: 'product.document.thumbnail.urlExpirationDate' },\n { path: 'product.video.urlExpirationDate' },\n { path: 'product.video.resolutions.urlExpirationDate' },\n { path: 'product.video.resolutions.poster.urlExpirationDate' },\n { path: 'product.video.posters.urlExpirationDate' },\n { path: 'product.audio.urlExpirationDate' },\n { path: 'product.variants.image.urlExpirationDate' },\n { path: 'product.mainVariant.image.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'product.image.focalPoint.x' },\n { path: 'product.image.focalPoint.y' },\n { path: 'product.document.thumbnail.focalPoint.x' },\n { path: 'product.document.thumbnail.focalPoint.y' },\n { path: 'product.video.resolutions.poster.focalPoint.x' },\n { path: 'product.video.resolutions.poster.focalPoint.y' },\n { path: 'product.video.posters.focalPoint.x' },\n { path: 'product.video.posters.focalPoint.y' },\n { path: 'product.variants.image.focalPoint.x' },\n { path: 'product.variants.image.focalPoint.y' },\n { path: 'product.mainVariant.image.focalPoint.x' },\n { path: 'product.mainVariant.image.focalPoint.y' },\n { path: 'product.address.geocode.latitude' },\n { path: 'product.address.geocode.longitude' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateProduct;\n}\n\n/** override description */\nexport function getProduct(payload: object): RequestOptionsFactory<any> {\n function __getProduct({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.metroinspector.v1.product',\n method: 'GET' as any,\n methodFqn:\n 'wix.coreservices.metroinspector.v1.products.ProductsService.GetProduct',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({\n protoPath: '/api/v1/products/{productId}',\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: 'product.createdDate' },\n { path: 'product.modifiedDate' },\n { path: 'product.image.urlExpirationDate' },\n { path: 'product.document.urlExpirationDate' },\n { path: 'product.document.thumbnail.urlExpirationDate' },\n { path: 'product.video.urlExpirationDate' },\n { path: 'product.video.resolutions.urlExpirationDate' },\n { path: 'product.video.resolutions.poster.urlExpirationDate' },\n { path: 'product.video.posters.urlExpirationDate' },\n { path: 'product.audio.urlExpirationDate' },\n { path: 'product.variants.image.urlExpirationDate' },\n { path: 'product.mainVariant.image.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'product.image.focalPoint.x' },\n { path: 'product.image.focalPoint.y' },\n { path: 'product.document.thumbnail.focalPoint.x' },\n { path: 'product.document.thumbnail.focalPoint.y' },\n { path: 'product.video.resolutions.poster.focalPoint.x' },\n { path: 'product.video.resolutions.poster.focalPoint.y' },\n { path: 'product.video.posters.focalPoint.x' },\n { path: 'product.video.posters.focalPoint.y' },\n { path: 'product.variants.image.focalPoint.x' },\n { path: 'product.variants.image.focalPoint.y' },\n { path: 'product.mainVariant.image.focalPoint.x' },\n { path: 'product.mainVariant.image.focalPoint.y' },\n { path: 'product.address.geocode.latitude' },\n { path: 'product.address.geocode.longitude' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getProduct;\n}\n\nexport function countProducts(payload: object): RequestOptionsFactory<any> {\n function __countProducts({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.metroinspector.v1.product',\n method: 'POST' as any,\n methodFqn:\n 'wix.coreservices.metroinspector.v1.products.ProductsService.CountProducts',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({\n protoPath: '/api/v1/products/count',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __countProducts;\n}\n\nexport function getProductsStartWith(\n payload: object\n): RequestOptionsFactory<any> {\n function __getProductsStartWith({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.metroinspector.v1.product',\n method: 'GET' as any,\n methodFqn:\n 'wix.coreservices.metroinspector.v1.products.ProductsService.GetProductsStartWith',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({\n protoPath: '/api/v1/products/start-with/{title}',\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: 'products.createdDate' },\n { path: 'products.modifiedDate' },\n { path: 'products.image.urlExpirationDate' },\n { path: 'products.document.urlExpirationDate' },\n { path: 'products.document.thumbnail.urlExpirationDate' },\n { path: 'products.video.urlExpirationDate' },\n { path: 'products.video.resolutions.urlExpirationDate' },\n { path: 'products.video.resolutions.poster.urlExpirationDate' },\n { path: 'products.video.posters.urlExpirationDate' },\n { path: 'products.audio.urlExpirationDate' },\n { path: 'products.variants.image.urlExpirationDate' },\n { path: 'products.mainVariant.image.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'products.image.focalPoint.x' },\n { path: 'products.image.focalPoint.y' },\n { path: 'products.document.thumbnail.focalPoint.x' },\n { path: 'products.document.thumbnail.focalPoint.y' },\n { path: 'products.video.resolutions.poster.focalPoint.x' },\n { path: 'products.video.resolutions.poster.focalPoint.y' },\n { path: 'products.video.posters.focalPoint.x' },\n { path: 'products.video.posters.focalPoint.y' },\n { path: 'products.variants.image.focalPoint.x' },\n { path: 'products.variants.image.focalPoint.y' },\n { path: 'products.mainVariant.image.focalPoint.x' },\n { path: 'products.mainVariant.image.focalPoint.y' },\n { path: 'products.address.geocode.latitude' },\n { path: 'products.address.geocode.longitude' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getProductsStartWith;\n}\n\nexport function queryProducts(payload: object): RequestOptionsFactory<any> {\n function __queryProducts({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.metroinspector.v1.product',\n method: 'GET' as any,\n methodFqn:\n 'wix.coreservices.metroinspector.v1.products.ProductsService.QueryProducts',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({\n protoPath: '/api/v1/query-products',\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: 'products.createdDate' },\n { path: 'products.modifiedDate' },\n { path: 'products.image.urlExpirationDate' },\n { path: 'products.document.urlExpirationDate' },\n { path: 'products.document.thumbnail.urlExpirationDate' },\n { path: 'products.video.urlExpirationDate' },\n { path: 'products.video.resolutions.urlExpirationDate' },\n { path: 'products.video.resolutions.poster.urlExpirationDate' },\n { path: 'products.video.posters.urlExpirationDate' },\n { path: 'products.audio.urlExpirationDate' },\n { path: 'products.variants.image.urlExpirationDate' },\n { path: 'products.mainVariant.image.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'products.image.focalPoint.x' },\n { path: 'products.image.focalPoint.y' },\n { path: 'products.document.thumbnail.focalPoint.x' },\n { path: 'products.document.thumbnail.focalPoint.y' },\n { path: 'products.video.resolutions.poster.focalPoint.x' },\n { path: 'products.video.resolutions.poster.focalPoint.y' },\n { path: 'products.video.posters.focalPoint.x' },\n { path: 'products.video.posters.focalPoint.y' },\n { path: 'products.variants.image.focalPoint.x' },\n { path: 'products.variants.image.focalPoint.y' },\n { path: 'products.mainVariant.image.focalPoint.x' },\n { path: 'products.mainVariant.image.focalPoint.y' },\n { path: 'products.address.geocode.latitude' },\n { path: 'products.address.geocode.longitude' },\n ],\n },\n ]),\n fallback: [\n {\n method: 'POST' as any,\n url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl(\n { protoPath: '/api/v1/query-products', data: payload, host }\n ),\n data: payload,\n },\n ],\n };\n\n return metadata;\n }\n\n return __queryProducts;\n}\n\n/** create multiple products in a single request. Works synchronously */\nexport function bulkCreateProducts(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkCreateProducts({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'products.createdDate' },\n { path: 'products.modifiedDate' },\n { path: 'products.image.urlExpirationDate' },\n { path: 'products.document.urlExpirationDate' },\n { path: 'products.document.thumbnail.urlExpirationDate' },\n { path: 'products.video.urlExpirationDate' },\n { path: 'products.video.resolutions.urlExpirationDate' },\n { path: 'products.video.resolutions.poster.urlExpirationDate' },\n { path: 'products.video.posters.urlExpirationDate' },\n { path: 'products.audio.urlExpirationDate' },\n { path: 'products.variants.image.urlExpirationDate' },\n { path: 'products.mainVariant.image.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'products.image.focalPoint.x' },\n { path: 'products.image.focalPoint.y' },\n { path: 'products.document.thumbnail.focalPoint.x' },\n { path: 'products.document.thumbnail.focalPoint.y' },\n { path: 'products.video.resolutions.poster.focalPoint.x' },\n { path: 'products.video.resolutions.poster.focalPoint.y' },\n { path: 'products.video.posters.focalPoint.x' },\n { path: 'products.video.posters.focalPoint.y' },\n { path: 'products.variants.image.focalPoint.x' },\n { path: 'products.variants.image.focalPoint.y' },\n { path: 'products.mainVariant.image.focalPoint.x' },\n { path: 'products.mainVariant.image.focalPoint.y' },\n { path: 'products.address.geocode.latitude' },\n { path: 'products.address.geocode.longitude' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.metroinspector.v1.product',\n method: 'POST' as any,\n methodFqn:\n 'wix.coreservices.metroinspector.v1.products.ProductsService.BulkCreateProducts',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({\n protoPath: '/api/v1/bulk/products/create',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'results.item.createdDate' },\n { path: 'results.item.modifiedDate' },\n { path: 'results.item.image.urlExpirationDate' },\n { path: 'results.item.document.urlExpirationDate' },\n { path: 'results.item.document.thumbnail.urlExpirationDate' },\n { path: 'results.item.video.urlExpirationDate' },\n { path: 'results.item.video.resolutions.urlExpirationDate' },\n {\n path: 'results.item.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'results.item.video.posters.urlExpirationDate' },\n { path: 'results.item.audio.urlExpirationDate' },\n { path: 'results.item.variants.image.urlExpirationDate' },\n { path: 'results.item.mainVariant.image.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'results.item.image.focalPoint.x' },\n { path: 'results.item.image.focalPoint.y' },\n { path: 'results.item.document.thumbnail.focalPoint.x' },\n { path: 'results.item.document.thumbnail.focalPoint.y' },\n { path: 'results.item.video.resolutions.poster.focalPoint.x' },\n { path: 'results.item.video.resolutions.poster.focalPoint.y' },\n { path: 'results.item.video.posters.focalPoint.x' },\n { path: 'results.item.video.posters.focalPoint.y' },\n { path: 'results.item.variants.image.focalPoint.x' },\n { path: 'results.item.variants.image.focalPoint.y' },\n { path: 'results.item.mainVariant.image.focalPoint.x' },\n { path: 'results.item.mainVariant.image.focalPoint.y' },\n { path: 'results.item.address.geocode.latitude' },\n { path: 'results.item.address.geocode.longitude' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkCreateProducts;\n}\n\n/** update multiple products in a single request. Works synchronously. */\nexport function bulkUpdateProducts(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdateProducts({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'products.fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'products.product.createdDate' },\n { path: 'products.product.modifiedDate' },\n { path: 'products.product.image.urlExpirationDate' },\n { path: 'products.product.document.urlExpirationDate' },\n { path: 'products.product.document.thumbnail.urlExpirationDate' },\n { path: 'products.product.video.urlExpirationDate' },\n { path: 'products.product.video.resolutions.urlExpirationDate' },\n {\n path: 'products.product.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'products.product.video.posters.urlExpirationDate' },\n { path: 'products.product.audio.urlExpirationDate' },\n { path: 'products.product.variants.image.urlExpirationDate' },\n { path: 'products.product.mainVariant.image.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'products.product.image.focalPoint.x' },\n { path: 'products.product.image.focalPoint.y' },\n { path: 'products.product.document.thumbnail.focalPoint.x' },\n { path: 'products.product.document.thumbnail.focalPoint.y' },\n { path: 'products.product.video.resolutions.poster.focalPoint.x' },\n { path: 'products.product.video.resolutions.poster.focalPoint.y' },\n { path: 'products.product.video.posters.focalPoint.x' },\n { path: 'products.product.video.posters.focalPoint.y' },\n { path: 'products.product.variants.image.focalPoint.x' },\n { path: 'products.product.variants.image.focalPoint.y' },\n { path: 'products.product.mainVariant.image.focalPoint.x' },\n { path: 'products.product.mainVariant.image.focalPoint.y' },\n { path: 'products.product.address.geocode.latitude' },\n { path: 'products.product.address.geocode.longitude' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.metroinspector.v1.product',\n method: 'PATCH' as any,\n methodFqn:\n 'wix.coreservices.metroinspector.v1.products.ProductsService.BulkUpdateProducts',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({\n protoPath: '/api/v1/bulk/products/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.item.createdDate' },\n { path: 'results.item.modifiedDate' },\n { path: 'results.item.image.urlExpirationDate' },\n { path: 'results.item.document.urlExpirationDate' },\n { path: 'results.item.document.thumbnail.urlExpirationDate' },\n { path: 'results.item.video.urlExpirationDate' },\n { path: 'results.item.video.resolutions.urlExpirationDate' },\n {\n path: 'results.item.video.resolutions.poster.urlExpirationDate',\n },\n { path: 'results.item.video.posters.urlExpirationDate' },\n { path: 'results.item.audio.urlExpirationDate' },\n { path: 'results.item.variants.image.urlExpirationDate' },\n { path: 'results.item.mainVariant.image.urlExpirationDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'results.item.image.focalPoint.x' },\n { path: 'results.item.image.focalPoint.y' },\n { path: 'results.item.document.thumbnail.focalPoint.x' },\n { path: 'results.item.document.thumbnail.focalPoint.y' },\n { path: 'results.item.video.resolutions.poster.focalPoint.x' },\n { path: 'results.item.video.resolutions.poster.focalPoint.y' },\n { path: 'results.item.video.posters.focalPoint.x' },\n { path: 'results.item.video.posters.focalPoint.y' },\n { path: 'results.item.variants.image.focalPoint.x' },\n { path: 'results.item.variants.image.focalPoint.y' },\n { path: 'results.item.mainVariant.image.focalPoint.x' },\n { path: 'results.item.mainVariant.image.focalPoint.y' },\n { path: 'results.item.address.geocode.latitude' },\n { path: 'results.item.address.geocode.longitude' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkUpdateProducts;\n}\n\n/** deletes multiple products in a single request. Works synchronously. */\nexport function bulkDeleteProducts(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkDeleteProducts({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.metroinspector.v1.product',\n method: 'POST' as any,\n methodFqn:\n 'wix.coreservices.metroinspector.v1.products.ProductsService.BulkDeleteProducts',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({\n protoPath: '/api/v1/bulk/products/delete',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkDeleteProducts;\n}\n","import * as ambassadorWixMetroinspectorV1Product from './metroinspector-v1-product-products.http.js';\nimport * as ambassadorWixMetroinspectorV1ProductTypes from './metroinspector-v1-product-products.types.js';\nimport * as ambassadorWixMetroinspectorV1ProductUniversalTypes from './metroinspector-v1-product-products.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 createProduct(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixMetroinspectorV1ProductUniversalTypes.CreateProductRequest,\n ambassadorWixMetroinspectorV1ProductTypes.CreateProductRequest,\n ambassadorWixMetroinspectorV1ProductUniversalTypes.CreateProductResponse,\n ambassadorWixMetroinspectorV1ProductTypes.CreateProductResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMetroinspectorV1Product.createProduct(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: '/api/v1/products',\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 deleteProduct(): __PublicMethodMetaInfo<\n 'DELETE',\n { productId: string },\n ambassadorWixMetroinspectorV1ProductUniversalTypes.DeleteProductRequest,\n ambassadorWixMetroinspectorV1ProductTypes.DeleteProductRequest,\n ambassadorWixMetroinspectorV1ProductUniversalTypes.DeleteProductResponse,\n ambassadorWixMetroinspectorV1ProductTypes.DeleteProductResponse\n> {\n const payload = { productId: ':productId' } as any;\n\n const getRequestOptions =\n ambassadorWixMetroinspectorV1Product.deleteProduct(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: '/api/v1/products/{productId}',\n pathParams: { productId: 'productId' },\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 updateProduct(): __PublicMethodMetaInfo<\n 'PUT',\n { productId: string },\n ambassadorWixMetroinspectorV1ProductUniversalTypes.UpdateProductRequest,\n ambassadorWixMetroinspectorV1ProductTypes.UpdateProductRequest,\n ambassadorWixMetroinspectorV1ProductUniversalTypes.UpdateProductResponse,\n ambassadorWixMetroinspectorV1ProductTypes.UpdateProductResponse\n> {\n const payload = { productId: ':productId' } as any;\n\n const getRequestOptions =\n ambassadorWixMetroinspectorV1Product.updateProduct(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PUT',\n path: '/api/v1/products/{productId}',\n pathParams: { productId: 'productId' },\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 getProduct(): __PublicMethodMetaInfo<\n 'GET',\n { productId: string },\n ambassadorWixMetroinspectorV1ProductUniversalTypes.GetProductRequest,\n ambassadorWixMetroinspectorV1ProductTypes.GetProductRequest,\n ambassadorWixMetroinspectorV1ProductUniversalTypes.GetProductResponse,\n ambassadorWixMetroinspectorV1ProductTypes.GetProductResponse\n> {\n const payload = { productId: ':productId' } as any;\n\n const getRequestOptions =\n ambassadorWixMetroinspectorV1Product.getProduct(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: '/api/v1/products/{productId}',\n pathParams: { productId: 'productId' },\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 countProducts(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixMetroinspectorV1ProductUniversalTypes.CountProductsRequest,\n ambassadorWixMetroinspectorV1ProductTypes.CountProductsRequest,\n ambassadorWixMetroinspectorV1ProductUniversalTypes.CountProductsResponse,\n ambassadorWixMetroinspectorV1ProductTypes.CountProductsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMetroinspectorV1Product.countProducts(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: '/api/v1/products/count',\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 getProductsStartWith(): __PublicMethodMetaInfo<\n 'GET',\n { title: string },\n ambassadorWixMetroinspectorV1ProductUniversalTypes.GetProductsStartWithRequest,\n ambassadorWixMetroinspectorV1ProductTypes.GetProductsStartWithRequest,\n ambassadorWixMetroinspectorV1ProductUniversalTypes.GetProductsStartWithResponse,\n ambassadorWixMetroinspectorV1ProductTypes.GetProductsStartWithResponse\n> {\n const payload = { title: ':title' } as any;\n\n const getRequestOptions =\n ambassadorWixMetroinspectorV1Product.getProductsStartWith(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: '/api/v1/products/start-with/{title}',\n pathParams: { title: 'title' },\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 queryProducts(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixMetroinspectorV1ProductUniversalTypes.QueryProductsRequest,\n ambassadorWixMetroinspectorV1ProductTypes.QueryProductsRequest,\n ambassadorWixMetroinspectorV1ProductUniversalTypes.QueryProductsResponse,\n ambassadorWixMetroinspectorV1ProductTypes.QueryProductsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMetroinspectorV1Product.queryProducts(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: '/api/v1/query-products',\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 bulkCreateProducts(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixMetroinspectorV1ProductUniversalTypes.BulkCreateProductsRequest,\n ambassadorWixMetroinspectorV1ProductTypes.BulkCreateProductsRequest,\n ambassadorWixMetroinspectorV1ProductUniversalTypes.BulkCreateProductsResponse,\n ambassadorWixMetroinspectorV1ProductTypes.BulkCreateProductsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMetroinspectorV1Product.bulkCreateProducts(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: '/api/v1/bulk/products/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 bulkUpdateProducts(): __PublicMethodMetaInfo<\n 'PATCH',\n {},\n ambassadorWixMetroinspectorV1ProductUniversalTypes.BulkUpdateProductsRequest,\n ambassadorWixMetroinspectorV1ProductTypes.BulkUpdateProductsRequest,\n ambassadorWixMetroinspectorV1ProductUniversalTypes.BulkUpdateProductsResponse,\n ambassadorWixMetroinspectorV1ProductTypes.BulkUpdateProductsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMetroinspectorV1Product.bulkUpdateProducts(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: '/api/v1/bulk/products/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 function bulkDeleteProducts(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixMetroinspectorV1ProductUniversalTypes.BulkDeleteProductsRequest,\n ambassadorWixMetroinspectorV1ProductTypes.BulkDeleteProductsRequest,\n ambassadorWixMetroinspectorV1ProductUniversalTypes.BulkDeleteProductsResponse,\n ambassadorWixMetroinspectorV1ProductTypes.BulkDeleteProductsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixMetroinspectorV1Product.bulkDeleteProducts(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: '/api/v1/bulk/products/delete',\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;AAAA;AAAA,4BAAAA;AAAA,EAAA,0BAAAC;AAAA,EAAA,0BAAAC;AAAA,EAAA,qBAAAC;AAAA,EAAA,qBAAAC;AAAA,EAAA,qBAAAC;AAAA,EAAA,kBAAAC;AAAA,EAAA,4BAAAC;AAAA,EAAA,qBAAAC;AAAA,EAAA,qBAAAC;AAAA;AAAA;;;ACAA,0BAAkC;AAClC,mBAA6C;AAC7C,IAAAC,gBAA6C;AAC7C,uBAAqD;AACrD,IAAAC,oBAAqD;AACrD,wBAAqD;AACrD,6BAA+B;AAC/B,IAAAC,uBAA2B;AAI3B,SAAS,iEACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,sBAAsB;AAAA,MACpB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,yBAAyB;AAAA,MACvB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,qBAAqB;AAAA,MACnB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAA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AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,sBAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACiC,mBAAmB,OAAO;AAEjE,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":["bulkCreateProducts","bulkDeleteProducts","bulkUpdateProducts","countProducts","createProduct","deleteProduct","getProduct","getProductsStartWith","queryProducts","updateProduct","import_float","import_timestamp","import_rest_modules","payload","createProduct","deleteProduct","updateProduct","getProduct","countProducts","getProductsStartWith","queryProducts","bulkCreateProducts","bulkUpdateProducts","bulkDeleteProducts"]}
|
|
@@ -142,6 +142,9 @@ function createProduct(payload) {
|
|
|
142
142
|
method: "POST",
|
|
143
143
|
methodFqn: "wix.coreservices.metroinspector.v1.products.ProductsService.CreateProduct",
|
|
144
144
|
packageName: PACKAGE_NAME,
|
|
145
|
+
migrationOptions: {
|
|
146
|
+
optInTransformResponse: true
|
|
147
|
+
},
|
|
145
148
|
url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({
|
|
146
149
|
protoPath: "/api/v1/products",
|
|
147
150
|
data: serializedData,
|
|
@@ -198,6 +201,9 @@ function deleteProduct(payload) {
|
|
|
198
201
|
method: "DELETE",
|
|
199
202
|
methodFqn: "wix.coreservices.metroinspector.v1.products.ProductsService.DeleteProduct",
|
|
200
203
|
packageName: PACKAGE_NAME,
|
|
204
|
+
migrationOptions: {
|
|
205
|
+
optInTransformResponse: true
|
|
206
|
+
},
|
|
201
207
|
url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({
|
|
202
208
|
protoPath: "/api/v1/products/{productId}",
|
|
203
209
|
data: payload,
|
|
@@ -258,6 +264,9 @@ function updateProduct(payload) {
|
|
|
258
264
|
method: "PUT",
|
|
259
265
|
methodFqn: "wix.coreservices.metroinspector.v1.products.ProductsService.UpdateProduct",
|
|
260
266
|
packageName: PACKAGE_NAME,
|
|
267
|
+
migrationOptions: {
|
|
268
|
+
optInTransformResponse: true
|
|
269
|
+
},
|
|
261
270
|
url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({
|
|
262
271
|
protoPath: "/api/v1/products/{productId}",
|
|
263
272
|
data: serializedData,
|
|
@@ -314,6 +323,9 @@ function getProduct(payload) {
|
|
|
314
323
|
method: "GET",
|
|
315
324
|
methodFqn: "wix.coreservices.metroinspector.v1.products.ProductsService.GetProduct",
|
|
316
325
|
packageName: PACKAGE_NAME,
|
|
326
|
+
migrationOptions: {
|
|
327
|
+
optInTransformResponse: true
|
|
328
|
+
},
|
|
317
329
|
url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({
|
|
318
330
|
protoPath: "/api/v1/products/{productId}",
|
|
319
331
|
data: payload,
|
|
@@ -370,6 +382,9 @@ function countProducts(payload) {
|
|
|
370
382
|
method: "POST",
|
|
371
383
|
methodFqn: "wix.coreservices.metroinspector.v1.products.ProductsService.CountProducts",
|
|
372
384
|
packageName: PACKAGE_NAME,
|
|
385
|
+
migrationOptions: {
|
|
386
|
+
optInTransformResponse: true
|
|
387
|
+
},
|
|
373
388
|
url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({
|
|
374
389
|
protoPath: "/api/v1/products/count",
|
|
375
390
|
data: payload,
|
|
@@ -388,6 +403,9 @@ function getProductsStartWith(payload) {
|
|
|
388
403
|
method: "GET",
|
|
389
404
|
methodFqn: "wix.coreservices.metroinspector.v1.products.ProductsService.GetProductsStartWith",
|
|
390
405
|
packageName: PACKAGE_NAME,
|
|
406
|
+
migrationOptions: {
|
|
407
|
+
optInTransformResponse: true
|
|
408
|
+
},
|
|
391
409
|
url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({
|
|
392
410
|
protoPath: "/api/v1/products/start-with/{title}",
|
|
393
411
|
data: payload,
|
|
@@ -441,15 +459,18 @@ function queryProducts(payload) {
|
|
|
441
459
|
function __queryProducts({ host }) {
|
|
442
460
|
const metadata = {
|
|
443
461
|
entityFqdn: "wix.metroinspector.v1.product",
|
|
444
|
-
method: "
|
|
462
|
+
method: "GET",
|
|
445
463
|
methodFqn: "wix.coreservices.metroinspector.v1.products.ProductsService.QueryProducts",
|
|
446
464
|
packageName: PACKAGE_NAME,
|
|
465
|
+
migrationOptions: {
|
|
466
|
+
optInTransformResponse: true
|
|
467
|
+
},
|
|
447
468
|
url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({
|
|
448
469
|
protoPath: "/api/v1/query-products",
|
|
449
470
|
data: payload,
|
|
450
471
|
host
|
|
451
472
|
}),
|
|
452
|
-
|
|
473
|
+
params: toURLSearchParams(payload, true),
|
|
453
474
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
454
475
|
{
|
|
455
476
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
@@ -547,6 +568,9 @@ function bulkCreateProducts(payload) {
|
|
|
547
568
|
method: "POST",
|
|
548
569
|
methodFqn: "wix.coreservices.metroinspector.v1.products.ProductsService.BulkCreateProducts",
|
|
549
570
|
packageName: PACKAGE_NAME,
|
|
571
|
+
migrationOptions: {
|
|
572
|
+
optInTransformResponse: true
|
|
573
|
+
},
|
|
550
574
|
url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({
|
|
551
575
|
protoPath: "/api/v1/bulk/products/create",
|
|
552
576
|
data: serializedData,
|
|
@@ -649,6 +673,9 @@ function bulkUpdateProducts(payload) {
|
|
|
649
673
|
method: "PATCH",
|
|
650
674
|
methodFqn: "wix.coreservices.metroinspector.v1.products.ProductsService.BulkUpdateProducts",
|
|
651
675
|
packageName: PACKAGE_NAME,
|
|
676
|
+
migrationOptions: {
|
|
677
|
+
optInTransformResponse: true
|
|
678
|
+
},
|
|
652
679
|
url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({
|
|
653
680
|
protoPath: "/api/v1/bulk/products/update",
|
|
654
681
|
data: serializedData,
|
|
@@ -707,6 +734,9 @@ function bulkDeleteProducts(payload) {
|
|
|
707
734
|
method: "POST",
|
|
708
735
|
methodFqn: "wix.coreservices.metroinspector.v1.products.ProductsService.BulkDeleteProducts",
|
|
709
736
|
packageName: PACKAGE_NAME,
|
|
737
|
+
migrationOptions: {
|
|
738
|
+
optInTransformResponse: true
|
|
739
|
+
},
|
|
710
740
|
url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({
|
|
711
741
|
protoPath: "/api/v1/bulk/products/delete",
|
|
712
742
|
data: payload,
|