@wix/auto_sdk_metro_products 1.0.5 → 1.0.6
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/meta.d.ts +58 -1
- package/build/cjs/meta.js +31 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/meta.d.mts +58 -1
- package/build/es/meta.mjs +28 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/meta.d.ts +58 -1
- package/build/internal/cjs/meta.js +31 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/meta.d.mts +58 -1
- package/build/internal/es/meta.mjs +28 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -3
package/build/cjs/meta.d.ts
CHANGED
|
@@ -53,6 +53,16 @@ interface Image {
|
|
|
53
53
|
*/
|
|
54
54
|
filename?: string | null;
|
|
55
55
|
}
|
|
56
|
+
interface FocalPoint {
|
|
57
|
+
/** X-coordinate of the focal point. */
|
|
58
|
+
x?: number;
|
|
59
|
+
/** Y-coordinate of the focal point. */
|
|
60
|
+
y?: number;
|
|
61
|
+
/** crop by height */
|
|
62
|
+
height?: number | null;
|
|
63
|
+
/** crop by width */
|
|
64
|
+
width?: number | null;
|
|
65
|
+
}
|
|
56
66
|
/** Physical address */
|
|
57
67
|
interface Address extends AddressStreetOneOf {
|
|
58
68
|
/** Street name and number. */
|
|
@@ -86,6 +96,43 @@ interface StreetAddress {
|
|
|
86
96
|
/** Street name. */
|
|
87
97
|
name?: string;
|
|
88
98
|
}
|
|
99
|
+
interface AddressLocation {
|
|
100
|
+
/** Address latitude. */
|
|
101
|
+
latitude?: number | null;
|
|
102
|
+
/** Address longitude. */
|
|
103
|
+
longitude?: number | null;
|
|
104
|
+
}
|
|
105
|
+
interface Subdivision {
|
|
106
|
+
/** Short subdivision code. */
|
|
107
|
+
code?: string;
|
|
108
|
+
/** Subdivision full name. */
|
|
109
|
+
name?: string;
|
|
110
|
+
}
|
|
111
|
+
declare enum SubdivisionType {
|
|
112
|
+
UNKNOWN_SUBDIVISION_TYPE = "UNKNOWN_SUBDIVISION_TYPE",
|
|
113
|
+
/** State */
|
|
114
|
+
ADMINISTRATIVE_AREA_LEVEL_1 = "ADMINISTRATIVE_AREA_LEVEL_1",
|
|
115
|
+
/** County */
|
|
116
|
+
ADMINISTRATIVE_AREA_LEVEL_2 = "ADMINISTRATIVE_AREA_LEVEL_2",
|
|
117
|
+
/** City/town */
|
|
118
|
+
ADMINISTRATIVE_AREA_LEVEL_3 = "ADMINISTRATIVE_AREA_LEVEL_3",
|
|
119
|
+
/** Neighborhood/quarter */
|
|
120
|
+
ADMINISTRATIVE_AREA_LEVEL_4 = "ADMINISTRATIVE_AREA_LEVEL_4",
|
|
121
|
+
/** Street/block */
|
|
122
|
+
ADMINISTRATIVE_AREA_LEVEL_5 = "ADMINISTRATIVE_AREA_LEVEL_5",
|
|
123
|
+
/** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
|
|
124
|
+
COUNTRY = "COUNTRY"
|
|
125
|
+
}
|
|
126
|
+
/** @enumType */
|
|
127
|
+
type SubdivisionTypeWithLiterals = SubdivisionType | 'UNKNOWN_SUBDIVISION_TYPE' | 'ADMINISTRATIVE_AREA_LEVEL_1' | 'ADMINISTRATIVE_AREA_LEVEL_2' | 'ADMINISTRATIVE_AREA_LEVEL_3' | 'ADMINISTRATIVE_AREA_LEVEL_4' | 'ADMINISTRATIVE_AREA_LEVEL_5' | 'COUNTRY';
|
|
128
|
+
/** Subdivision Concordance values */
|
|
129
|
+
interface StandardDetails {
|
|
130
|
+
/**
|
|
131
|
+
* subdivision iso-3166-2 code according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). e.g. US-NY, GB-SCT, NO-30
|
|
132
|
+
* @maxLength 20
|
|
133
|
+
*/
|
|
134
|
+
iso31662?: string | null;
|
|
135
|
+
}
|
|
89
136
|
interface Document {
|
|
90
137
|
/** WixMedia ID. */
|
|
91
138
|
id?: string;
|
|
@@ -414,6 +461,16 @@ interface BulkDeleteProductsResponse {
|
|
|
414
461
|
interface BulkDeleteProductsResponseBulkProductResult {
|
|
415
462
|
itemMetadata?: ItemMetadata;
|
|
416
463
|
}
|
|
464
|
+
interface ResetProductsDbRequest {
|
|
465
|
+
}
|
|
466
|
+
interface ResetProductsDbResponse {
|
|
467
|
+
}
|
|
468
|
+
/** @docsIgnore */
|
|
469
|
+
type CreateProductApplicationErrors = {
|
|
470
|
+
code?: 'PRODUCT_EXISTS';
|
|
471
|
+
description?: string;
|
|
472
|
+
data?: Record<string, any>;
|
|
473
|
+
};
|
|
417
474
|
|
|
418
475
|
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
419
476
|
getUrl: (context: any) => string;
|
|
@@ -444,4 +501,4 @@ declare function bulkCreateProducts(): __PublicMethodMetaInfo<'POST', {}, BulkCr
|
|
|
444
501
|
declare function bulkUpdateProducts(): __PublicMethodMetaInfo<'PATCH', {}, BulkUpdateProductsRequest$1, BulkUpdateProductsRequest, BulkUpdateProductsResponse$1, BulkUpdateProductsResponse>;
|
|
445
502
|
declare function bulkDeleteProducts(): __PublicMethodMetaInfo<'POST', {}, BulkDeleteProductsRequest$1, BulkDeleteProductsRequest, BulkDeleteProductsResponse$1, BulkDeleteProductsResponse>;
|
|
446
503
|
|
|
447
|
-
export { type __PublicMethodMetaInfo, bulkCreateProducts, bulkDeleteProducts, bulkUpdateProducts, countProducts, createProduct, deleteProduct, getProduct, getProductsStartWith, queryProducts, updateProduct };
|
|
504
|
+
export { type AddressLocation as AddressLocationOriginal, type Address as AddressOriginal, type AddressStreetOneOf as AddressStreetOneOfOriginal, type ApplicationError as ApplicationErrorOriginal, type Audio as AudioOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCreateProductsRequest as BulkCreateProductsRequestOriginal, type BulkCreateProductsResponse as BulkCreateProductsResponseOriginal, type BulkDeleteProductsRequest as BulkDeleteProductsRequestOriginal, type BulkDeleteProductsResponseBulkProductResult as BulkDeleteProductsResponseBulkProductResultOriginal, type BulkDeleteProductsResponse as BulkDeleteProductsResponseOriginal, type BulkProductResult as BulkProductResultOriginal, type BulkUpdateProductsRequest as BulkUpdateProductsRequestOriginal, type BulkUpdateProductsResponseBulkProductResult as BulkUpdateProductsResponseBulkProductResultOriginal, type BulkUpdateProductsResponse as BulkUpdateProductsResponseOriginal, type CountProductsRequest as CountProductsRequestOriginal, type CountProductsResponse as CountProductsResponseOriginal, type CreateProductApplicationErrors as CreateProductApplicationErrorsOriginal, type CreateProductRequest as CreateProductRequestOriginal, type CreateProductResponse as CreateProductResponseOriginal, type CursorPaging as CursorPagingOriginal, type Cursors as CursorsOriginal, type DeleteProductRequest as DeleteProductRequestOriginal, type DeleteProductResponse as DeleteProductResponseOriginal, type Document as DocumentOriginal, type FocalPoint as FocalPointOriginal, type GetProductRequest as GetProductRequestOriginal, type GetProductResponse as GetProductResponseOriginal, type GetProductsStartWithRequest as GetProductsStartWithRequestOriginal, type GetProductsStartWithResponse as GetProductsStartWithResponseOriginal, type Image as ImageOriginal, type ItemMetadata as ItemMetadataOriginal, LinkRel as LinkRelOriginal, type LinkRelWithLiterals as LinkRelWithLiteralsOriginal, type MaskedProduct as MaskedProductOriginal, type MyAddress as MyAddressOriginal, type PageLink as PageLinkOriginal, type PagingMetadataV2 as PagingMetadataV2Original, type Paging as PagingOriginal, type Product as ProductOriginal, type QueryProductsRequest as QueryProductsRequestOriginal, type QueryProductsResponse as QueryProductsResponseOriginal, type QueryV2 as QueryV2Original, type QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal, type ResetProductsDbRequest as ResetProductsDbRequestOriginal, type ResetProductsDbResponse as ResetProductsDbResponseOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type StandardDetails as StandardDetailsOriginal, type StreetAddress as StreetAddressOriginal, type Subdivision as SubdivisionOriginal, SubdivisionType as SubdivisionTypeOriginal, type SubdivisionTypeWithLiterals as SubdivisionTypeWithLiteralsOriginal, type UpdateProductRequest as UpdateProductRequestOriginal, type UpdateProductResponse as UpdateProductResponseOriginal, type Variant as VariantOriginal, type VideoResolution as VideoResolutionOriginal, type VideoV2 as VideoV2Original, type __PublicMethodMetaInfo, bulkCreateProducts, bulkDeleteProducts, bulkUpdateProducts, countProducts, createProduct, deleteProduct, getProduct, getProductsStartWith, queryProducts, updateProduct };
|
package/build/cjs/meta.js
CHANGED
|
@@ -20,6 +20,9 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// meta.ts
|
|
21
21
|
var meta_exports = {};
|
|
22
22
|
__export(meta_exports, {
|
|
23
|
+
LinkRelOriginal: () => LinkRel,
|
|
24
|
+
SortOrderOriginal: () => SortOrder,
|
|
25
|
+
SubdivisionTypeOriginal: () => SubdivisionType,
|
|
23
26
|
bulkCreateProducts: () => bulkCreateProducts2,
|
|
24
27
|
bulkDeleteProducts: () => bulkDeleteProducts2,
|
|
25
28
|
bulkUpdateProducts: () => bulkUpdateProducts2,
|
|
@@ -776,6 +779,31 @@ function bulkDeleteProducts(payload) {
|
|
|
776
779
|
return __bulkDeleteProducts;
|
|
777
780
|
}
|
|
778
781
|
|
|
782
|
+
// src/metroinspector-v1-product-products.types.ts
|
|
783
|
+
var SubdivisionType = /* @__PURE__ */ ((SubdivisionType2) => {
|
|
784
|
+
SubdivisionType2["UNKNOWN_SUBDIVISION_TYPE"] = "UNKNOWN_SUBDIVISION_TYPE";
|
|
785
|
+
SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_1"] = "ADMINISTRATIVE_AREA_LEVEL_1";
|
|
786
|
+
SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_2"] = "ADMINISTRATIVE_AREA_LEVEL_2";
|
|
787
|
+
SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_3"] = "ADMINISTRATIVE_AREA_LEVEL_3";
|
|
788
|
+
SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_4"] = "ADMINISTRATIVE_AREA_LEVEL_4";
|
|
789
|
+
SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_5"] = "ADMINISTRATIVE_AREA_LEVEL_5";
|
|
790
|
+
SubdivisionType2["COUNTRY"] = "COUNTRY";
|
|
791
|
+
return SubdivisionType2;
|
|
792
|
+
})(SubdivisionType || {});
|
|
793
|
+
var LinkRel = /* @__PURE__ */ ((LinkRel2) => {
|
|
794
|
+
LinkRel2["unknown_link_rel"] = "unknown_link_rel";
|
|
795
|
+
LinkRel2["nofollow"] = "nofollow";
|
|
796
|
+
LinkRel2["noopener"] = "noopener";
|
|
797
|
+
LinkRel2["noreferrer"] = "noreferrer";
|
|
798
|
+
LinkRel2["sponsored"] = "sponsored";
|
|
799
|
+
return LinkRel2;
|
|
800
|
+
})(LinkRel || {});
|
|
801
|
+
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
802
|
+
SortOrder2["ASC"] = "ASC";
|
|
803
|
+
SortOrder2["DESC"] = "DESC";
|
|
804
|
+
return SortOrder2;
|
|
805
|
+
})(SortOrder || {});
|
|
806
|
+
|
|
779
807
|
// src/metroinspector-v1-product-products.meta.ts
|
|
780
808
|
function createProduct2() {
|
|
781
809
|
const payload = {};
|
|
@@ -959,6 +987,9 @@ function bulkDeleteProducts2() {
|
|
|
959
987
|
}
|
|
960
988
|
// Annotate the CommonJS export names for ESM import in node:
|
|
961
989
|
0 && (module.exports = {
|
|
990
|
+
LinkRelOriginal,
|
|
991
|
+
SortOrderOriginal,
|
|
992
|
+
SubdivisionTypeOriginal,
|
|
962
993
|
bulkCreateProducts,
|
|
963
994
|
bulkDeleteProducts,
|
|
964
995
|
bulkUpdateProducts,
|
package/build/cjs/meta.js.map
CHANGED
|
@@ -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 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;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wB;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;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.types.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","export interface Product {\n title?: string | null;\n id?: string;\n collectionId?: string;\n createdDate?: Date | null;\n modifiedDate?: Date | null;\n image?: Image;\n address?: Address;\n document?: Document;\n video?: VideoV2;\n pageLink?: PageLink;\n audio?: Audio;\n /** @format COLOR_HEX */\n color?: string | null;\n /** @format LOCAL_DATE */\n localDate?: string | null;\n /** @format LOCAL_TIME */\n localTime?: string | null;\n /** @format LOCAL_DATE_TIME */\n localDateTime?: string | null;\n variants?: Variant[];\n mainVariant?: Variant;\n customAddress?: MyAddress;\n /**\n * @readonly\n * @format GUID\n */\n guid?: string;\n}\n\nexport interface Image {\n /** WixMedia image ID. */\n id?: string;\n /** Image URL. */\n url?: string;\n /**\n * Original image height.\n * @readonly\n */\n height?: number;\n /**\n * Original image width.\n * @readonly\n */\n width?: number;\n /** Image alt text. */\n altText?: string | null;\n /**\n * Image filename.\n * @readonly\n */\n filename?: string | null;\n}\n\nexport interface FocalPoint {\n /** X-coordinate of the focal point. */\n x?: number;\n /** Y-coordinate of the focal point. */\n y?: number;\n /** crop by height */\n height?: number | null;\n /** crop by width */\n width?: number | null;\n}\n\n/** Physical address */\nexport interface Address extends AddressStreetOneOf {\n /** Street name and number. */\n streetAddress?: StreetAddress;\n /** Main address line, usually street and number as free text. */\n addressLine?: string | null;\n /**\n * Country code.\n * @format COUNTRY\n */\n country?: string | null;\n /** Subdivision shorthand. Usually, a short code (2 or 3 letters) that represents a state, region, prefecture, or province. e.g. NY */\n subdivision?: string | null;\n /** City name. */\n city?: string | null;\n /** Zip/postal code. */\n postalCode?: string | null;\n /** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */\n addressLine2?: string | null;\n}\n\n/** @oneof */\nexport interface AddressStreetOneOf {\n /** Street name and number. */\n streetAddress?: StreetAddress;\n /** Main address line, usually street and number as free text. */\n addressLine?: string | null;\n}\n\nexport interface StreetAddress {\n /** Street number. */\n number?: string;\n /** Street name. */\n name?: string;\n}\n\nexport interface AddressLocation {\n /** Address latitude. */\n latitude?: number | null;\n /** Address longitude. */\n longitude?: number | null;\n}\n\nexport interface Subdivision {\n /** Short subdivision code. */\n code?: string;\n /** Subdivision full name. */\n name?: string;\n}\n\nexport enum SubdivisionType {\n UNKNOWN_SUBDIVISION_TYPE = 'UNKNOWN_SUBDIVISION_TYPE',\n /** State */\n ADMINISTRATIVE_AREA_LEVEL_1 = 'ADMINISTRATIVE_AREA_LEVEL_1',\n /** County */\n ADMINISTRATIVE_AREA_LEVEL_2 = 'ADMINISTRATIVE_AREA_LEVEL_2',\n /** City/town */\n ADMINISTRATIVE_AREA_LEVEL_3 = 'ADMINISTRATIVE_AREA_LEVEL_3',\n /** Neighborhood/quarter */\n ADMINISTRATIVE_AREA_LEVEL_4 = 'ADMINISTRATIVE_AREA_LEVEL_4',\n /** Street/block */\n ADMINISTRATIVE_AREA_LEVEL_5 = 'ADMINISTRATIVE_AREA_LEVEL_5',\n /** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */\n COUNTRY = 'COUNTRY',\n}\n\n/** @enumType */\nexport type SubdivisionTypeWithLiterals =\n | SubdivisionType\n | 'UNKNOWN_SUBDIVISION_TYPE'\n | 'ADMINISTRATIVE_AREA_LEVEL_1'\n | 'ADMINISTRATIVE_AREA_LEVEL_2'\n | 'ADMINISTRATIVE_AREA_LEVEL_3'\n | 'ADMINISTRATIVE_AREA_LEVEL_4'\n | 'ADMINISTRATIVE_AREA_LEVEL_5'\n | 'COUNTRY';\n\n/** Subdivision Concordance values */\nexport interface StandardDetails {\n /**\n * subdivision iso-3166-2 code according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). e.g. US-NY, GB-SCT, NO-30\n * @maxLength 20\n */\n iso31662?: string | null;\n}\n\nexport interface Document {\n /** WixMedia ID. */\n id?: string;\n /** Document URL. */\n url?: string;\n /** Document filename. */\n filename?: string | null;\n}\n\nexport interface VideoV2 {\n /** WixMedia ID. */\n id?: string;\n /**\n * Available resolutions for the video, starting with the optimal resolution.\n * @readonly\n * @maxSize 100\n */\n resolutions?: VideoResolution[];\n /**\n * Video filename.\n * @readonly\n */\n filename?: string | null;\n}\n\nexport interface VideoResolution {\n /** Video URL. */\n url?: string;\n /** Video height. */\n height?: number;\n /** Video width. */\n width?: number;\n /** Video format for example, mp4, hls. */\n format?: string;\n}\n\nexport interface PageLink {\n /** The page id we want from the site */\n pageId?: string;\n /** Where this link should open, supports _self and _blank or any name the user chooses. _self means same page, _blank means new page. */\n target?: string | null;\n /**\n * rel of link\n * @maxSize 20\n */\n rel?: LinkRelWithLiterals[];\n}\n\n/**\n * The 'rel' attribute of the link. The rel attribute defines the relationship between a linked resource and the current document.\n * Further reading (also about different possible rel types): https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel\n * Following are the accepted 'rel' types by Wix applications.\n */\nexport enum LinkRel {\n /** default (not implemented) */\n unknown_link_rel = 'unknown_link_rel',\n /** Indicates that the current document's original author or publisher does not endorse the referenced document. */\n nofollow = 'nofollow',\n /** Instructs the browser to navigate to the target resource without granting the new browsing context access to the document that opened it. */\n noopener = 'noopener',\n /** No Referer header will be included. Additionally, has the same effect as noopener. */\n noreferrer = 'noreferrer',\n /** Indicates a link that resulted from advertisements or paid placements. */\n sponsored = 'sponsored',\n}\n\n/** @enumType */\nexport type LinkRelWithLiterals =\n | LinkRel\n | 'unknown_link_rel'\n | 'nofollow'\n | 'noopener'\n | 'noreferrer'\n | 'sponsored';\n\nexport interface Audio {\n /** WixMedia ID. */\n id?: string;\n /** Audio URL. */\n url?: string;\n /**\n * Audio filename.\n * @readonly\n */\n filename?: string | null;\n}\n\nexport interface Variant {\n name?: string;\n value?: string;\n image?: Image;\n}\n\nexport interface MyAddress {\n /** @format COUNTRY */\n country?: string | null;\n subdivision?: string | null;\n city?: string | null;\n postalCode?: string | null;\n streetAddress?: StreetAddress;\n}\n\nexport interface CreateProductRequest {\n product?: Product;\n}\n\nexport interface CreateProductResponse {\n product?: Product;\n}\n\nexport interface DeleteProductRequest {\n productId: string;\n}\n\nexport interface DeleteProductResponse {}\n\nexport interface UpdateProductRequest {\n productId: string;\n product?: Product;\n /** Explicit list of fields to update. */\n mask?: string[];\n}\n\nexport interface UpdateProductResponse {\n product?: Product;\n}\n\nexport interface GetProductRequest {\n productId: string;\n}\n\nexport interface GetProductResponse {\n product?: Product;\n}\n\nexport interface CountProductsRequest {\n filter?: Record<string, any> | null;\n /** Whether variants should be included in the response. */\n includeVariants?: boolean;\n /** Whether hidden products should be included in the response. Requires permissions to manage products. */\n includeHiddenProducts?: boolean;\n /** Whether merchant specific data should be included in the response. Requires permissions to manage products. */\n includeMerchantSpecificData?: boolean;\n}\n\nexport interface CountProductsResponse {\n count?: number;\n}\n\nexport interface GetProductsStartWithRequest {\n title: string;\n addressLine2?: string | null;\n}\n\nexport interface GetProductsStartWithResponse {\n products?: Product[];\n}\n\nexport interface QueryProductsRequest {\n query?: QueryV2;\n /** Whether variants should be included in the response. */\n includeVariants?: boolean;\n /** Whether hidden products should be included in the response. Requires permissions to manage products. */\n includeHiddenProducts?: boolean;\n /** Whether merchant specific data should be included in the response. Requires permissions to manage products. */\n includeMerchantSpecificData?: boolean;\n}\n\nexport interface QueryV2 extends QueryV2PagingMethodOneOf {\n /** Paging options to limit and offset the number of items. */\n paging?: Paging;\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n /**\n * Filter object.\n *\n * Learn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).\n */\n filter?: Record<string, any> | null;\n /**\n * Sort object.\n *\n * Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting).\n */\n sort?: Sorting[];\n /** Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned. */\n fields?: string[];\n /** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */\n fieldsets?: string[];\n}\n\n/** @oneof */\nexport interface QueryV2PagingMethodOneOf {\n /** Paging options to limit and offset the number of items. */\n paging?: Paging;\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n /**\n * Name of the field to sort by.\n * @maxLength 512\n */\n fieldName?: string;\n /** Sort order. */\n order?: SortOrderWithLiterals;\n}\n\nexport enum SortOrder {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface Paging {\n /** Number of items to load. */\n limit?: number | null;\n /** Number of items to skip in the current sort order. */\n offset?: number | null;\n}\n\nexport interface CursorPaging {\n /**\n * Maximum number of items to return in the results.\n * @max 100\n */\n limit?: number | null;\n /**\n * Pointer to the next or previous page in the list of results.\n *\n * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n * Not relevant for the first request.\n * @maxLength 16000\n */\n cursor?: string | null;\n}\n\nexport interface QueryProductsResponse {\n products?: Product[];\n metadata?: PagingMetadataV2;\n}\n\nexport interface PagingMetadataV2 {\n /** Number of items returned in the response. */\n count?: number | null;\n /** Offset that was requested. */\n offset?: number | null;\n /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */\n total?: number | null;\n /** Flag that indicates the server failed to calculate the `total` field. */\n tooManyToCount?: boolean | null;\n /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */\n cursors?: Cursors;\n}\n\nexport interface Cursors {\n /**\n * Cursor string pointing to the next page in the list of results.\n * @maxLength 16000\n */\n next?: string | null;\n /**\n * Cursor pointing to the previous page in the list of results.\n * @maxLength 16000\n */\n prev?: string | null;\n}\n\nexport interface BulkCreateProductsRequest {\n /**\n * @minSize 1\n * @maxSize 100\n */\n products: Product[];\n /** set to `true` if you wish to receive back the created products in the response */\n returnEntity?: boolean;\n}\n\nexport interface BulkCreateProductsResponse {\n /**\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkProductResult[];\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface ItemMetadata {\n /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */\n id?: string | null;\n /** Index of the item within the request array. Allows for correlation between request and response items. */\n originalIndex?: number;\n /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */\n success?: boolean;\n /** Details about the error in case of failure. */\n error?: ApplicationError;\n}\n\nexport interface ApplicationError {\n /** Error code. */\n code?: string;\n /** Description of the error. */\n description?: string;\n /** Data related to the error. */\n data?: Record<string, any> | null;\n}\n\nexport interface BulkProductResult {\n /** Defined in wix.commons */\n itemMetadata?: ItemMetadata;\n /** Only exists if `returnEntity` was set to true in the request */\n item?: Product;\n}\n\nexport interface BulkActionMetadata {\n /** Number of items that were successfully processed. */\n totalSuccesses?: number;\n /** Number of items that couldn't be processed. */\n totalFailures?: number;\n /** Number of failures without details because detailed failure threshold was exceeded. */\n undetailedFailures?: number;\n}\n\nexport interface BulkUpdateProductsRequest {\n /**\n * @minSize 1\n * @maxSize 100\n */\n products: MaskedProduct[];\n /** set to `true` if you wish to receive back the updated products in the response */\n returnEntity?: boolean;\n}\n\nexport interface MaskedProduct {\n /** Product to be updated, may be partial */\n product?: Product;\n}\n\nexport interface BulkUpdateProductsResponse {\n /**\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkUpdateProductsResponseBulkProductResult[];\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkUpdateProductsResponseBulkProductResult {\n itemMetadata?: ItemMetadata;\n /** Only exists if `returnEntity` was set to true in the request */\n item?: Product;\n}\n\nexport interface BulkDeleteProductsRequest {\n /**\n * @minSize 1\n * @maxSize 100\n * @format GUID\n */\n productIds: string[];\n}\n\nexport interface BulkDeleteProductsResponse {\n /**\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkDeleteProductsResponseBulkProductResult[];\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkDeleteProductsResponseBulkProductResult {\n itemMetadata?: ItemMetadata;\n}\n\nexport interface ResetProductsDbRequest {}\n\nexport interface ResetProductsDbResponse {}\n\n/** @docsIgnore */\nexport type CreateProductApplicationErrors = {\n code?: 'PRODUCT_EXISTS';\n description?: string;\n data?: Record<string, any>;\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\nexport {\n Product as ProductOriginal,\n Image as ImageOriginal,\n FocalPoint as FocalPointOriginal,\n Address as AddressOriginal,\n AddressStreetOneOf as AddressStreetOneOfOriginal,\n StreetAddress as StreetAddressOriginal,\n AddressLocation as AddressLocationOriginal,\n Subdivision as SubdivisionOriginal,\n SubdivisionType as SubdivisionTypeOriginal,\n SubdivisionTypeWithLiterals as SubdivisionTypeWithLiteralsOriginal,\n StandardDetails as StandardDetailsOriginal,\n Document as DocumentOriginal,\n VideoV2 as VideoV2Original,\n VideoResolution as VideoResolutionOriginal,\n PageLink as PageLinkOriginal,\n LinkRel as LinkRelOriginal,\n LinkRelWithLiterals as LinkRelWithLiteralsOriginal,\n Audio as AudioOriginal,\n Variant as VariantOriginal,\n MyAddress as MyAddressOriginal,\n CreateProductRequest as CreateProductRequestOriginal,\n CreateProductResponse as CreateProductResponseOriginal,\n DeleteProductRequest as DeleteProductRequestOriginal,\n DeleteProductResponse as DeleteProductResponseOriginal,\n UpdateProductRequest as UpdateProductRequestOriginal,\n UpdateProductResponse as UpdateProductResponseOriginal,\n GetProductRequest as GetProductRequestOriginal,\n GetProductResponse as GetProductResponseOriginal,\n CountProductsRequest as CountProductsRequestOriginal,\n CountProductsResponse as CountProductsResponseOriginal,\n GetProductsStartWithRequest as GetProductsStartWithRequestOriginal,\n GetProductsStartWithResponse as GetProductsStartWithResponseOriginal,\n QueryProductsRequest as QueryProductsRequestOriginal,\n QueryV2 as QueryV2Original,\n QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal,\n Sorting as SortingOriginal,\n SortOrder as SortOrderOriginal,\n SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n Paging as PagingOriginal,\n CursorPaging as CursorPagingOriginal,\n QueryProductsResponse as QueryProductsResponseOriginal,\n PagingMetadataV2 as PagingMetadataV2Original,\n Cursors as CursorsOriginal,\n BulkCreateProductsRequest as BulkCreateProductsRequestOriginal,\n BulkCreateProductsResponse as BulkCreateProductsResponseOriginal,\n ItemMetadata as ItemMetadataOriginal,\n ApplicationError as ApplicationErrorOriginal,\n BulkProductResult as BulkProductResultOriginal,\n BulkActionMetadata as BulkActionMetadataOriginal,\n BulkUpdateProductsRequest as BulkUpdateProductsRequestOriginal,\n MaskedProduct as MaskedProductOriginal,\n BulkUpdateProductsResponse as BulkUpdateProductsResponseOriginal,\n BulkUpdateProductsResponseBulkProductResult as BulkUpdateProductsResponseBulkProductResultOriginal,\n BulkDeleteProductsRequest as BulkDeleteProductsRequestOriginal,\n BulkDeleteProductsResponse as BulkDeleteProductsResponseOriginal,\n BulkDeleteProductsResponseBulkProductResult as BulkDeleteProductsResponseBulkProductResultOriginal,\n ResetProductsDbRequest as ResetProductsDbRequestOriginal,\n ResetProductsDbResponse as ResetProductsDbResponseOriginal,\n CreateProductApplicationErrors as CreateProductApplicationErrorsOriginal,\n} from './metroinspector-v1-product-products.types.js';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;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;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,sBAAsB;AAAA,MACpB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,GAAG;AAAA,MACD;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;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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;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","SubdivisionType","LinkRel","SortOrder","createProduct","deleteProduct","updateProduct","getProduct","countProducts","getProductsStartWith","queryProducts","bulkCreateProducts","bulkUpdateProducts","bulkDeleteProducts"]}
|
package/build/es/meta.d.mts
CHANGED
|
@@ -53,6 +53,16 @@ interface Image {
|
|
|
53
53
|
*/
|
|
54
54
|
filename?: string | null;
|
|
55
55
|
}
|
|
56
|
+
interface FocalPoint {
|
|
57
|
+
/** X-coordinate of the focal point. */
|
|
58
|
+
x?: number;
|
|
59
|
+
/** Y-coordinate of the focal point. */
|
|
60
|
+
y?: number;
|
|
61
|
+
/** crop by height */
|
|
62
|
+
height?: number | null;
|
|
63
|
+
/** crop by width */
|
|
64
|
+
width?: number | null;
|
|
65
|
+
}
|
|
56
66
|
/** Physical address */
|
|
57
67
|
interface Address extends AddressStreetOneOf {
|
|
58
68
|
/** Street name and number. */
|
|
@@ -86,6 +96,43 @@ interface StreetAddress {
|
|
|
86
96
|
/** Street name. */
|
|
87
97
|
name?: string;
|
|
88
98
|
}
|
|
99
|
+
interface AddressLocation {
|
|
100
|
+
/** Address latitude. */
|
|
101
|
+
latitude?: number | null;
|
|
102
|
+
/** Address longitude. */
|
|
103
|
+
longitude?: number | null;
|
|
104
|
+
}
|
|
105
|
+
interface Subdivision {
|
|
106
|
+
/** Short subdivision code. */
|
|
107
|
+
code?: string;
|
|
108
|
+
/** Subdivision full name. */
|
|
109
|
+
name?: string;
|
|
110
|
+
}
|
|
111
|
+
declare enum SubdivisionType {
|
|
112
|
+
UNKNOWN_SUBDIVISION_TYPE = "UNKNOWN_SUBDIVISION_TYPE",
|
|
113
|
+
/** State */
|
|
114
|
+
ADMINISTRATIVE_AREA_LEVEL_1 = "ADMINISTRATIVE_AREA_LEVEL_1",
|
|
115
|
+
/** County */
|
|
116
|
+
ADMINISTRATIVE_AREA_LEVEL_2 = "ADMINISTRATIVE_AREA_LEVEL_2",
|
|
117
|
+
/** City/town */
|
|
118
|
+
ADMINISTRATIVE_AREA_LEVEL_3 = "ADMINISTRATIVE_AREA_LEVEL_3",
|
|
119
|
+
/** Neighborhood/quarter */
|
|
120
|
+
ADMINISTRATIVE_AREA_LEVEL_4 = "ADMINISTRATIVE_AREA_LEVEL_4",
|
|
121
|
+
/** Street/block */
|
|
122
|
+
ADMINISTRATIVE_AREA_LEVEL_5 = "ADMINISTRATIVE_AREA_LEVEL_5",
|
|
123
|
+
/** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
|
|
124
|
+
COUNTRY = "COUNTRY"
|
|
125
|
+
}
|
|
126
|
+
/** @enumType */
|
|
127
|
+
type SubdivisionTypeWithLiterals = SubdivisionType | 'UNKNOWN_SUBDIVISION_TYPE' | 'ADMINISTRATIVE_AREA_LEVEL_1' | 'ADMINISTRATIVE_AREA_LEVEL_2' | 'ADMINISTRATIVE_AREA_LEVEL_3' | 'ADMINISTRATIVE_AREA_LEVEL_4' | 'ADMINISTRATIVE_AREA_LEVEL_5' | 'COUNTRY';
|
|
128
|
+
/** Subdivision Concordance values */
|
|
129
|
+
interface StandardDetails {
|
|
130
|
+
/**
|
|
131
|
+
* subdivision iso-3166-2 code according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). e.g. US-NY, GB-SCT, NO-30
|
|
132
|
+
* @maxLength 20
|
|
133
|
+
*/
|
|
134
|
+
iso31662?: string | null;
|
|
135
|
+
}
|
|
89
136
|
interface Document {
|
|
90
137
|
/** WixMedia ID. */
|
|
91
138
|
id?: string;
|
|
@@ -414,6 +461,16 @@ interface BulkDeleteProductsResponse {
|
|
|
414
461
|
interface BulkDeleteProductsResponseBulkProductResult {
|
|
415
462
|
itemMetadata?: ItemMetadata;
|
|
416
463
|
}
|
|
464
|
+
interface ResetProductsDbRequest {
|
|
465
|
+
}
|
|
466
|
+
interface ResetProductsDbResponse {
|
|
467
|
+
}
|
|
468
|
+
/** @docsIgnore */
|
|
469
|
+
type CreateProductApplicationErrors = {
|
|
470
|
+
code?: 'PRODUCT_EXISTS';
|
|
471
|
+
description?: string;
|
|
472
|
+
data?: Record<string, any>;
|
|
473
|
+
};
|
|
417
474
|
|
|
418
475
|
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
419
476
|
getUrl: (context: any) => string;
|
|
@@ -444,4 +501,4 @@ declare function bulkCreateProducts(): __PublicMethodMetaInfo<'POST', {}, BulkCr
|
|
|
444
501
|
declare function bulkUpdateProducts(): __PublicMethodMetaInfo<'PATCH', {}, BulkUpdateProductsRequest$1, BulkUpdateProductsRequest, BulkUpdateProductsResponse$1, BulkUpdateProductsResponse>;
|
|
445
502
|
declare function bulkDeleteProducts(): __PublicMethodMetaInfo<'POST', {}, BulkDeleteProductsRequest$1, BulkDeleteProductsRequest, BulkDeleteProductsResponse$1, BulkDeleteProductsResponse>;
|
|
446
503
|
|
|
447
|
-
export { type __PublicMethodMetaInfo, bulkCreateProducts, bulkDeleteProducts, bulkUpdateProducts, countProducts, createProduct, deleteProduct, getProduct, getProductsStartWith, queryProducts, updateProduct };
|
|
504
|
+
export { type AddressLocation as AddressLocationOriginal, type Address as AddressOriginal, type AddressStreetOneOf as AddressStreetOneOfOriginal, type ApplicationError as ApplicationErrorOriginal, type Audio as AudioOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCreateProductsRequest as BulkCreateProductsRequestOriginal, type BulkCreateProductsResponse as BulkCreateProductsResponseOriginal, type BulkDeleteProductsRequest as BulkDeleteProductsRequestOriginal, type BulkDeleteProductsResponseBulkProductResult as BulkDeleteProductsResponseBulkProductResultOriginal, type BulkDeleteProductsResponse as BulkDeleteProductsResponseOriginal, type BulkProductResult as BulkProductResultOriginal, type BulkUpdateProductsRequest as BulkUpdateProductsRequestOriginal, type BulkUpdateProductsResponseBulkProductResult as BulkUpdateProductsResponseBulkProductResultOriginal, type BulkUpdateProductsResponse as BulkUpdateProductsResponseOriginal, type CountProductsRequest as CountProductsRequestOriginal, type CountProductsResponse as CountProductsResponseOriginal, type CreateProductApplicationErrors as CreateProductApplicationErrorsOriginal, type CreateProductRequest as CreateProductRequestOriginal, type CreateProductResponse as CreateProductResponseOriginal, type CursorPaging as CursorPagingOriginal, type Cursors as CursorsOriginal, type DeleteProductRequest as DeleteProductRequestOriginal, type DeleteProductResponse as DeleteProductResponseOriginal, type Document as DocumentOriginal, type FocalPoint as FocalPointOriginal, type GetProductRequest as GetProductRequestOriginal, type GetProductResponse as GetProductResponseOriginal, type GetProductsStartWithRequest as GetProductsStartWithRequestOriginal, type GetProductsStartWithResponse as GetProductsStartWithResponseOriginal, type Image as ImageOriginal, type ItemMetadata as ItemMetadataOriginal, LinkRel as LinkRelOriginal, type LinkRelWithLiterals as LinkRelWithLiteralsOriginal, type MaskedProduct as MaskedProductOriginal, type MyAddress as MyAddressOriginal, type PageLink as PageLinkOriginal, type PagingMetadataV2 as PagingMetadataV2Original, type Paging as PagingOriginal, type Product as ProductOriginal, type QueryProductsRequest as QueryProductsRequestOriginal, type QueryProductsResponse as QueryProductsResponseOriginal, type QueryV2 as QueryV2Original, type QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal, type ResetProductsDbRequest as ResetProductsDbRequestOriginal, type ResetProductsDbResponse as ResetProductsDbResponseOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type StandardDetails as StandardDetailsOriginal, type StreetAddress as StreetAddressOriginal, type Subdivision as SubdivisionOriginal, SubdivisionType as SubdivisionTypeOriginal, type SubdivisionTypeWithLiterals as SubdivisionTypeWithLiteralsOriginal, type UpdateProductRequest as UpdateProductRequestOriginal, type UpdateProductResponse as UpdateProductResponseOriginal, type Variant as VariantOriginal, type VideoResolution as VideoResolutionOriginal, type VideoV2 as VideoV2Original, type __PublicMethodMetaInfo, bulkCreateProducts, bulkDeleteProducts, bulkUpdateProducts, countProducts, createProduct, deleteProduct, getProduct, getProductsStartWith, queryProducts, updateProduct };
|