@wix/metro 1.0.66 → 1.0.68
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 +1 -0
- package/build/cjs/meta.js +24 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/cjs/src/metroinspector-v1-product.http.d.ts +6 -6
- package/build/cjs/src/metroinspector-v1-product.http.js +2 -2
- package/build/cjs/src/metroinspector-v1-product.http.js.map +1 -1
- package/build/cjs/src/metroinspector-v1-product.meta.d.ts +26 -0
- package/build/cjs/src/metroinspector-v1-product.meta.js +138 -0
- package/build/cjs/src/metroinspector-v1-product.meta.js.map +1 -0
- package/build/cjs/src/metroinspector-v1-product.public.d.ts +68 -5
- package/build/cjs/src/metroinspector-v1-product.types.d.ts +425 -0
- package/build/cjs/src/metroinspector-v1-product.universal.d.ts +124 -4
- package/build/cjs/src/metroinspector-v1-product.universal.js.map +1 -1
- package/build/es/meta.d.ts +1 -0
- package/build/es/meta.js +2 -0
- package/build/es/meta.js.map +1 -0
- package/build/es/src/metroinspector-v1-product.http.d.ts +6 -6
- package/build/es/src/metroinspector-v1-product.http.js +2 -2
- package/build/es/src/metroinspector-v1-product.http.js.map +1 -1
- package/build/es/src/metroinspector-v1-product.meta.d.ts +26 -0
- package/build/es/src/metroinspector-v1-product.meta.js +110 -0
- package/build/es/src/metroinspector-v1-product.meta.js.map +1 -0
- package/build/es/src/metroinspector-v1-product.public.d.ts +68 -5
- package/build/es/src/metroinspector-v1-product.types.d.ts +425 -0
- package/build/es/src/metroinspector-v1-product.universal.d.ts +124 -4
- package/build/es/src/metroinspector-v1-product.universal.js.map +1 -1
- package/meta/package.json +6 -0
- package/package.json +4 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metroinspector-v1-product.http.js","sourceRoot":"","sources":["../../../src/metroinspector-v1-product.http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,C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AgB;QAChB,MAAM;QACN,SAAS;QACT,MAAM;QACN,QAAQ;QACR,QAAQ;QACR,gBAAgB;QAChB,QAAQ;KACT,CAAC,CAAC;IAEH,SAAS,eAAe,CAAC,EAAE,IAAI,EAAO;QACpC,MAAM,cAAc,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,MAAM,QAAQ,GAAG;YACf,UAAU,EAAE,+BAA+B;YAC3C,MAAM,EAAE,MAAa;YACrB,SAAS,EACP,2EAA2E;YAC7E,GAAG,EAAE,gEAAgE,CAAC;gBACpE,SAAS,EAAE,wBAAwB;gBACnC,IAAI,EAAE,cAAc;gBACpB,IAAI;aACL,CAAC;YACF,IAAI,EAAE,cAAc;YACpB,iBAAiB,EAAE,OAAO;YAC1B,QAAQ,EAAE;gBACR;oBACE,MAAM,EAAE,MAAa;oBACrB,GAAG,EAAE,gEAAgE,CACnE,EAAE,SAAS,EAAE,wBAAwB,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,CACpE;oBACD,IAAI,EAAE,cAAc;iBACrB;aACF;SACF,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,eAAe,CAAC,OAAO,GAAG,OAAO,CAAC;IAElC,OAAO,eAAe,CAAC;AACzB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as ambassadorWixMetroinspectorV1ProductTypes from './metroinspector-v1-product.types';
|
|
2
|
+
import * as ambassadorWixMetroinspectorV1ProductUniversalTypes from './metroinspector-v1-product.universal';
|
|
3
|
+
export declare type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
4
|
+
getUrl: (context: any) => string;
|
|
5
|
+
httpMethod: K;
|
|
6
|
+
path: string;
|
|
7
|
+
pathParams: M;
|
|
8
|
+
__requestType: T;
|
|
9
|
+
__originalRequestType: S;
|
|
10
|
+
__responseType: Q;
|
|
11
|
+
__originalResponseType: R;
|
|
12
|
+
};
|
|
13
|
+
export declare function createProduct(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixMetroinspectorV1ProductUniversalTypes.CreateProductRequest, ambassadorWixMetroinspectorV1ProductTypes.CreateProductRequest, ambassadorWixMetroinspectorV1ProductUniversalTypes.CreateProductResponse & ambassadorWixMetroinspectorV1ProductUniversalTypes.CreateProductResponseNonNullableFields, ambassadorWixMetroinspectorV1ProductTypes.CreateProductResponse & ambassadorWixMetroinspectorV1ProductTypes.CreateProductResponseNonNullableFields>;
|
|
14
|
+
export declare function deleteProduct(): __PublicMethodMetaInfo<'DELETE', {
|
|
15
|
+
productId: string;
|
|
16
|
+
}, ambassadorWixMetroinspectorV1ProductUniversalTypes.DeleteProductRequest, ambassadorWixMetroinspectorV1ProductTypes.DeleteProductRequest, ambassadorWixMetroinspectorV1ProductUniversalTypes.DeleteProductResponse, ambassadorWixMetroinspectorV1ProductTypes.DeleteProductResponse>;
|
|
17
|
+
export declare function updateProduct(): __PublicMethodMetaInfo<'PUT', {
|
|
18
|
+
productId: string;
|
|
19
|
+
}, ambassadorWixMetroinspectorV1ProductUniversalTypes.UpdateProductRequest, ambassadorWixMetroinspectorV1ProductTypes.UpdateProductRequest, ambassadorWixMetroinspectorV1ProductUniversalTypes.UpdateProductResponse & ambassadorWixMetroinspectorV1ProductUniversalTypes.UpdateProductResponseNonNullableFields, ambassadorWixMetroinspectorV1ProductTypes.UpdateProductResponse & ambassadorWixMetroinspectorV1ProductTypes.UpdateProductResponseNonNullableFields>;
|
|
20
|
+
export declare function getProduct(): __PublicMethodMetaInfo<'GET', {
|
|
21
|
+
productId: string;
|
|
22
|
+
}, ambassadorWixMetroinspectorV1ProductUniversalTypes.GetProductRequest, ambassadorWixMetroinspectorV1ProductTypes.GetProductRequest, ambassadorWixMetroinspectorV1ProductUniversalTypes.GetProductResponse & ambassadorWixMetroinspectorV1ProductUniversalTypes.GetProductResponseNonNullableFields, ambassadorWixMetroinspectorV1ProductTypes.GetProductResponse & ambassadorWixMetroinspectorV1ProductTypes.GetProductResponseNonNullableFields>;
|
|
23
|
+
export declare function getProductsStartWith(): __PublicMethodMetaInfo<'GET', {
|
|
24
|
+
title: string;
|
|
25
|
+
}, ambassadorWixMetroinspectorV1ProductUniversalTypes.GetProductsStartWithRequest, ambassadorWixMetroinspectorV1ProductTypes.GetProductsStartWithRequest, ambassadorWixMetroinspectorV1ProductUniversalTypes.GetProductsStartWithResponse & ambassadorWixMetroinspectorV1ProductUniversalTypes.GetProductsStartWithResponseNonNullableFields, ambassadorWixMetroinspectorV1ProductTypes.GetProductsStartWithResponse & ambassadorWixMetroinspectorV1ProductTypes.GetProductsStartWithResponseNonNullableFields>;
|
|
26
|
+
export declare function queryProducts(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixMetroinspectorV1ProductUniversalTypes.QueryProductsRequest, ambassadorWixMetroinspectorV1ProductTypes.QueryProductsRequest, ambassadorWixMetroinspectorV1ProductUniversalTypes.QueryProductsResponse & ambassadorWixMetroinspectorV1ProductUniversalTypes.QueryProductsResponseNonNullableFields, ambassadorWixMetroinspectorV1ProductTypes.QueryProductsResponse & ambassadorWixMetroinspectorV1ProductTypes.QueryProductsResponseNonNullableFields>;
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import * as ambassadorWixMetroinspectorV1Product from './metroinspector-v1-product.http';
|
|
2
|
+
export function createProduct() {
|
|
3
|
+
const payload = {};
|
|
4
|
+
const getRequestOptions = ambassadorWixMetroinspectorV1Product.createProduct(payload);
|
|
5
|
+
const getUrl = (context) => {
|
|
6
|
+
const { url } = getRequestOptions(context);
|
|
7
|
+
return url;
|
|
8
|
+
};
|
|
9
|
+
return {
|
|
10
|
+
getUrl,
|
|
11
|
+
httpMethod: 'POST',
|
|
12
|
+
path: '/api/v1/products',
|
|
13
|
+
pathParams: {},
|
|
14
|
+
__requestType: null,
|
|
15
|
+
__originalRequestType: null,
|
|
16
|
+
__responseType: null,
|
|
17
|
+
__originalResponseType: null,
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
export function deleteProduct() {
|
|
21
|
+
const payload = { productId: ':productId' };
|
|
22
|
+
const getRequestOptions = ambassadorWixMetroinspectorV1Product.deleteProduct(payload);
|
|
23
|
+
const getUrl = (context) => {
|
|
24
|
+
const { url } = getRequestOptions(context);
|
|
25
|
+
return url;
|
|
26
|
+
};
|
|
27
|
+
return {
|
|
28
|
+
getUrl,
|
|
29
|
+
httpMethod: 'DELETE',
|
|
30
|
+
path: '/api/v1/products/{productId}',
|
|
31
|
+
pathParams: { productId: 'productId' },
|
|
32
|
+
__requestType: null,
|
|
33
|
+
__originalRequestType: null,
|
|
34
|
+
__responseType: null,
|
|
35
|
+
__originalResponseType: null,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export function updateProduct() {
|
|
39
|
+
const payload = { productId: ':productId' };
|
|
40
|
+
const getRequestOptions = ambassadorWixMetroinspectorV1Product.updateProduct(payload);
|
|
41
|
+
const getUrl = (context) => {
|
|
42
|
+
const { url } = getRequestOptions(context);
|
|
43
|
+
return url;
|
|
44
|
+
};
|
|
45
|
+
return {
|
|
46
|
+
getUrl,
|
|
47
|
+
httpMethod: 'PUT',
|
|
48
|
+
path: '/api/v1/products/{productId}',
|
|
49
|
+
pathParams: { productId: 'productId' },
|
|
50
|
+
__requestType: null,
|
|
51
|
+
__originalRequestType: null,
|
|
52
|
+
__responseType: null,
|
|
53
|
+
__originalResponseType: null,
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
export function getProduct() {
|
|
57
|
+
const payload = { productId: ':productId' };
|
|
58
|
+
const getRequestOptions = ambassadorWixMetroinspectorV1Product.getProduct(payload);
|
|
59
|
+
const getUrl = (context) => {
|
|
60
|
+
const { url } = getRequestOptions(context);
|
|
61
|
+
return url;
|
|
62
|
+
};
|
|
63
|
+
return {
|
|
64
|
+
getUrl,
|
|
65
|
+
httpMethod: 'GET',
|
|
66
|
+
path: '/api/v1/products/{productId}',
|
|
67
|
+
pathParams: { productId: 'productId' },
|
|
68
|
+
__requestType: null,
|
|
69
|
+
__originalRequestType: null,
|
|
70
|
+
__responseType: null,
|
|
71
|
+
__originalResponseType: null,
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
export function getProductsStartWith() {
|
|
75
|
+
const payload = { title: ':title' };
|
|
76
|
+
const getRequestOptions = ambassadorWixMetroinspectorV1Product.getProductsStartWith(payload);
|
|
77
|
+
const getUrl = (context) => {
|
|
78
|
+
const { url } = getRequestOptions(context);
|
|
79
|
+
return url;
|
|
80
|
+
};
|
|
81
|
+
return {
|
|
82
|
+
getUrl,
|
|
83
|
+
httpMethod: 'GET',
|
|
84
|
+
path: '/api/v1/products/start-with/{title}',
|
|
85
|
+
pathParams: { title: 'title' },
|
|
86
|
+
__requestType: null,
|
|
87
|
+
__originalRequestType: null,
|
|
88
|
+
__responseType: null,
|
|
89
|
+
__originalResponseType: null,
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
export function queryProducts() {
|
|
93
|
+
const payload = {};
|
|
94
|
+
const getRequestOptions = ambassadorWixMetroinspectorV1Product.queryProducts(payload);
|
|
95
|
+
const getUrl = (context) => {
|
|
96
|
+
const { url } = getRequestOptions(context);
|
|
97
|
+
return url;
|
|
98
|
+
};
|
|
99
|
+
return {
|
|
100
|
+
getUrl,
|
|
101
|
+
httpMethod: 'GET',
|
|
102
|
+
path: '/api/v1/query-products',
|
|
103
|
+
pathParams: {},
|
|
104
|
+
__requestType: null,
|
|
105
|
+
__originalRequestType: null,
|
|
106
|
+
__responseType: null,
|
|
107
|
+
__originalResponseType: null,
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
//# sourceMappingURL=metroinspector-v1-product.meta.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metroinspector-v1-product.meta.js","sourceRoot":"","sources":["../../../src/metroinspector-v1-product.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,oCAAoC,MAAM,kCAAkC,CAAC;AAsBzF,MAAM,UAA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AAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,KAAK;QACjB,IAAI,EAAE,qCAAqC;QAC3C,UAAU,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE;QAC9B,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,aAAa;IAU3B,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,oCAAoC,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IAE9D,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,KAAK;QACjB,IAAI,EAAE,wBAAwB;QAC9B,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC"}
|
|
@@ -3,11 +3,74 @@ import { CreateProductOptions, GetProductsStartWithOptions, QueryProductsOptions
|
|
|
3
3
|
export declare const __metadata: {
|
|
4
4
|
PACKAGE_NAME: string;
|
|
5
5
|
};
|
|
6
|
-
export declare function createProduct(httpClient: HttpClient): (options?: CreateProductOptions | undefined) => Promise<import("./metroinspector-v1-product.universal").Product
|
|
6
|
+
export declare function createProduct(httpClient: HttpClient): (options?: CreateProductOptions | undefined) => Promise<import("./metroinspector-v1-product.universal").Product & {
|
|
7
|
+
_id: string;
|
|
8
|
+
collectionId: string;
|
|
9
|
+
image: string;
|
|
10
|
+
document: string;
|
|
11
|
+
video: string;
|
|
12
|
+
pageLink?: {
|
|
13
|
+
pageId: string;
|
|
14
|
+
} | undefined;
|
|
15
|
+
audio: string;
|
|
16
|
+
variants: {
|
|
17
|
+
name: string;
|
|
18
|
+
value: string;
|
|
19
|
+
image: string;
|
|
20
|
+
}[];
|
|
21
|
+
mainVariant?: {
|
|
22
|
+
name: string;
|
|
23
|
+
value: string;
|
|
24
|
+
image: string;
|
|
25
|
+
} | undefined;
|
|
26
|
+
guid: string;
|
|
27
|
+
}>;
|
|
7
28
|
export declare function deleteProduct(httpClient: HttpClient): (productId: string) => Promise<void>;
|
|
8
|
-
export declare function updateProduct(httpClient: HttpClient): (productId: string, options?: UpdateProductOptions | undefined) => Promise<import("./metroinspector-v1-product.universal").Product
|
|
9
|
-
|
|
10
|
-
|
|
29
|
+
export declare function updateProduct(httpClient: HttpClient): (productId: string, options?: UpdateProductOptions | undefined) => Promise<import("./metroinspector-v1-product.universal").Product & {
|
|
30
|
+
_id: string;
|
|
31
|
+
collectionId: string;
|
|
32
|
+
image: string;
|
|
33
|
+
document: string;
|
|
34
|
+
video: string;
|
|
35
|
+
pageLink?: {
|
|
36
|
+
pageId: string;
|
|
37
|
+
} | undefined;
|
|
38
|
+
audio: string;
|
|
39
|
+
variants: {
|
|
40
|
+
name: string;
|
|
41
|
+
value: string;
|
|
42
|
+
image: string;
|
|
43
|
+
}[];
|
|
44
|
+
mainVariant?: {
|
|
45
|
+
name: string;
|
|
46
|
+
value: string;
|
|
47
|
+
image: string;
|
|
48
|
+
} | undefined;
|
|
49
|
+
guid: string;
|
|
50
|
+
}>;
|
|
51
|
+
export declare function getProduct(httpClient: HttpClient): (productId: string) => Promise<import("./metroinspector-v1-product.universal").Product & {
|
|
52
|
+
_id: string;
|
|
53
|
+
collectionId: string;
|
|
54
|
+
image: string;
|
|
55
|
+
document: string;
|
|
56
|
+
video: string;
|
|
57
|
+
pageLink?: {
|
|
58
|
+
pageId: string;
|
|
59
|
+
} | undefined;
|
|
60
|
+
audio: string;
|
|
61
|
+
variants: {
|
|
62
|
+
name: string;
|
|
63
|
+
value: string;
|
|
64
|
+
image: string;
|
|
65
|
+
}[];
|
|
66
|
+
mainVariant?: {
|
|
67
|
+
name: string;
|
|
68
|
+
value: string;
|
|
69
|
+
image: string;
|
|
70
|
+
} | undefined;
|
|
71
|
+
guid: string;
|
|
72
|
+
}>;
|
|
73
|
+
export declare function getProductsStartWith(httpClient: HttpClient): (title: string, options?: GetProductsStartWithOptions | undefined) => Promise<import("./metroinspector-v1-product.universal").GetProductsStartWithResponse & import("./metroinspector-v1-product.universal").GetProductsStartWithResponseNonNullableFields>;
|
|
11
74
|
export declare function queryProducts(httpClient: HttpClient): (options?: QueryProductsOptions | undefined) => import("./metroinspector-v1-product.universal").ProductsQueryBuilder;
|
|
12
75
|
export { SubdivisionType, SortOrder, } from './metroinspector-v1-product.universal';
|
|
13
|
-
export { Address, AddressStreetOneOf, StreetAddress, AddressLocation, Subdivision, VideoResolution, PageLink, Variant, MyAddress, CreateProductRequest, CreateProductResponse, DeleteProductRequest, DeleteProductResponse, UpdateProductRequest, UpdateProductResponse, GetProductRequest, GetProductResponse, GetProductsStartWithRequest, GetProductsStartWithResponse, QueryProductsRequest, QueryV2, QueryV2PagingMethodOneOf, Sorting, Paging, CursorPaging, QueryProductsResponse, PagingMetadataV2, Cursors, Product, CreateProductOptions, UpdateProductOptions, GetProductsStartWithOptions, QueryProductsOptions, ProductsQueryResult, ProductsQueryBuilder, } from './metroinspector-v1-product.universal';
|
|
76
|
+
export { Address, AddressStreetOneOf, StreetAddress, AddressLocation, Subdivision, VideoResolution, PageLink, Variant, MyAddress, CreateProductRequest, CreateProductResponse, DeleteProductRequest, DeleteProductResponse, UpdateProductRequest, UpdateProductResponse, GetProductRequest, GetProductResponse, GetProductsStartWithRequest, GetProductsStartWithResponse, QueryProductsRequest, QueryV2, QueryV2PagingMethodOneOf, Sorting, Paging, CursorPaging, QueryProductsResponse, PagingMetadataV2, Cursors, CreateProductResponseNonNullableFields, UpdateProductResponseNonNullableFields, GetProductResponseNonNullableFields, GetProductsStartWithResponseNonNullableFields, QueryProductsResponseNonNullableFields, Product, CreateProductOptions, UpdateProductOptions, GetProductsStartWithOptions, QueryProductsOptions, ProductsQueryResult, ProductsQueryBuilder, } from './metroinspector-v1-product.universal';
|
|
@@ -284,3 +284,428 @@ export interface Cursors {
|
|
|
284
284
|
/** Cursor pointing to previous page in the list of results. */
|
|
285
285
|
prev?: string | null;
|
|
286
286
|
}
|
|
287
|
+
export interface CreateProductResponseNonNullableFields {
|
|
288
|
+
product?: {
|
|
289
|
+
id: string;
|
|
290
|
+
collectionId: string;
|
|
291
|
+
image?: {
|
|
292
|
+
id: string;
|
|
293
|
+
url: string;
|
|
294
|
+
height: number;
|
|
295
|
+
width: number;
|
|
296
|
+
};
|
|
297
|
+
address?: {
|
|
298
|
+
streetAddress?: {
|
|
299
|
+
number: string;
|
|
300
|
+
name: string;
|
|
301
|
+
apt: string;
|
|
302
|
+
};
|
|
303
|
+
subdivisions: {
|
|
304
|
+
code: string;
|
|
305
|
+
name: string;
|
|
306
|
+
type: SubdivisionType;
|
|
307
|
+
}[];
|
|
308
|
+
};
|
|
309
|
+
document?: {
|
|
310
|
+
id: string;
|
|
311
|
+
url: string;
|
|
312
|
+
};
|
|
313
|
+
video?: {
|
|
314
|
+
id: string;
|
|
315
|
+
url: string;
|
|
316
|
+
resolutions: {
|
|
317
|
+
url: string;
|
|
318
|
+
height: number;
|
|
319
|
+
width: number;
|
|
320
|
+
poster?: {
|
|
321
|
+
id: string;
|
|
322
|
+
url: string;
|
|
323
|
+
height: number;
|
|
324
|
+
width: number;
|
|
325
|
+
};
|
|
326
|
+
format: string;
|
|
327
|
+
}[];
|
|
328
|
+
posters: {
|
|
329
|
+
id: string;
|
|
330
|
+
url: string;
|
|
331
|
+
height: number;
|
|
332
|
+
width: number;
|
|
333
|
+
}[];
|
|
334
|
+
};
|
|
335
|
+
pageLink?: {
|
|
336
|
+
pageId: string;
|
|
337
|
+
};
|
|
338
|
+
audio?: {
|
|
339
|
+
id: string;
|
|
340
|
+
url: string;
|
|
341
|
+
};
|
|
342
|
+
variants: {
|
|
343
|
+
name: string;
|
|
344
|
+
value: string;
|
|
345
|
+
image?: {
|
|
346
|
+
id: string;
|
|
347
|
+
url: string;
|
|
348
|
+
height: number;
|
|
349
|
+
width: number;
|
|
350
|
+
};
|
|
351
|
+
}[];
|
|
352
|
+
mainVariant?: {
|
|
353
|
+
name: string;
|
|
354
|
+
value: string;
|
|
355
|
+
image?: {
|
|
356
|
+
id: string;
|
|
357
|
+
url: string;
|
|
358
|
+
height: number;
|
|
359
|
+
width: number;
|
|
360
|
+
};
|
|
361
|
+
};
|
|
362
|
+
customAddress?: {
|
|
363
|
+
streetAddress?: {
|
|
364
|
+
number: string;
|
|
365
|
+
name: string;
|
|
366
|
+
apt: string;
|
|
367
|
+
};
|
|
368
|
+
};
|
|
369
|
+
guid: string;
|
|
370
|
+
};
|
|
371
|
+
}
|
|
372
|
+
export interface UpdateProductResponseNonNullableFields {
|
|
373
|
+
product?: {
|
|
374
|
+
id: string;
|
|
375
|
+
collectionId: string;
|
|
376
|
+
image?: {
|
|
377
|
+
id: string;
|
|
378
|
+
url: string;
|
|
379
|
+
height: number;
|
|
380
|
+
width: number;
|
|
381
|
+
};
|
|
382
|
+
address?: {
|
|
383
|
+
streetAddress?: {
|
|
384
|
+
number: string;
|
|
385
|
+
name: string;
|
|
386
|
+
apt: string;
|
|
387
|
+
};
|
|
388
|
+
subdivisions: {
|
|
389
|
+
code: string;
|
|
390
|
+
name: string;
|
|
391
|
+
type: SubdivisionType;
|
|
392
|
+
}[];
|
|
393
|
+
};
|
|
394
|
+
document?: {
|
|
395
|
+
id: string;
|
|
396
|
+
url: string;
|
|
397
|
+
};
|
|
398
|
+
video?: {
|
|
399
|
+
id: string;
|
|
400
|
+
url: string;
|
|
401
|
+
resolutions: {
|
|
402
|
+
url: string;
|
|
403
|
+
height: number;
|
|
404
|
+
width: number;
|
|
405
|
+
poster?: {
|
|
406
|
+
id: string;
|
|
407
|
+
url: string;
|
|
408
|
+
height: number;
|
|
409
|
+
width: number;
|
|
410
|
+
};
|
|
411
|
+
format: string;
|
|
412
|
+
}[];
|
|
413
|
+
posters: {
|
|
414
|
+
id: string;
|
|
415
|
+
url: string;
|
|
416
|
+
height: number;
|
|
417
|
+
width: number;
|
|
418
|
+
}[];
|
|
419
|
+
};
|
|
420
|
+
pageLink?: {
|
|
421
|
+
pageId: string;
|
|
422
|
+
};
|
|
423
|
+
audio?: {
|
|
424
|
+
id: string;
|
|
425
|
+
url: string;
|
|
426
|
+
};
|
|
427
|
+
variants: {
|
|
428
|
+
name: string;
|
|
429
|
+
value: string;
|
|
430
|
+
image?: {
|
|
431
|
+
id: string;
|
|
432
|
+
url: string;
|
|
433
|
+
height: number;
|
|
434
|
+
width: number;
|
|
435
|
+
};
|
|
436
|
+
}[];
|
|
437
|
+
mainVariant?: {
|
|
438
|
+
name: string;
|
|
439
|
+
value: string;
|
|
440
|
+
image?: {
|
|
441
|
+
id: string;
|
|
442
|
+
url: string;
|
|
443
|
+
height: number;
|
|
444
|
+
width: number;
|
|
445
|
+
};
|
|
446
|
+
};
|
|
447
|
+
customAddress?: {
|
|
448
|
+
streetAddress?: {
|
|
449
|
+
number: string;
|
|
450
|
+
name: string;
|
|
451
|
+
apt: string;
|
|
452
|
+
};
|
|
453
|
+
};
|
|
454
|
+
guid: string;
|
|
455
|
+
};
|
|
456
|
+
}
|
|
457
|
+
export interface GetProductResponseNonNullableFields {
|
|
458
|
+
product?: {
|
|
459
|
+
id: string;
|
|
460
|
+
collectionId: string;
|
|
461
|
+
image?: {
|
|
462
|
+
id: string;
|
|
463
|
+
url: string;
|
|
464
|
+
height: number;
|
|
465
|
+
width: number;
|
|
466
|
+
};
|
|
467
|
+
address?: {
|
|
468
|
+
streetAddress?: {
|
|
469
|
+
number: string;
|
|
470
|
+
name: string;
|
|
471
|
+
apt: string;
|
|
472
|
+
};
|
|
473
|
+
subdivisions: {
|
|
474
|
+
code: string;
|
|
475
|
+
name: string;
|
|
476
|
+
type: SubdivisionType;
|
|
477
|
+
}[];
|
|
478
|
+
};
|
|
479
|
+
document?: {
|
|
480
|
+
id: string;
|
|
481
|
+
url: string;
|
|
482
|
+
};
|
|
483
|
+
video?: {
|
|
484
|
+
id: string;
|
|
485
|
+
url: string;
|
|
486
|
+
resolutions: {
|
|
487
|
+
url: string;
|
|
488
|
+
height: number;
|
|
489
|
+
width: number;
|
|
490
|
+
poster?: {
|
|
491
|
+
id: string;
|
|
492
|
+
url: string;
|
|
493
|
+
height: number;
|
|
494
|
+
width: number;
|
|
495
|
+
};
|
|
496
|
+
format: string;
|
|
497
|
+
}[];
|
|
498
|
+
posters: {
|
|
499
|
+
id: string;
|
|
500
|
+
url: string;
|
|
501
|
+
height: number;
|
|
502
|
+
width: number;
|
|
503
|
+
}[];
|
|
504
|
+
};
|
|
505
|
+
pageLink?: {
|
|
506
|
+
pageId: string;
|
|
507
|
+
};
|
|
508
|
+
audio?: {
|
|
509
|
+
id: string;
|
|
510
|
+
url: string;
|
|
511
|
+
};
|
|
512
|
+
variants: {
|
|
513
|
+
name: string;
|
|
514
|
+
value: string;
|
|
515
|
+
image?: {
|
|
516
|
+
id: string;
|
|
517
|
+
url: string;
|
|
518
|
+
height: number;
|
|
519
|
+
width: number;
|
|
520
|
+
};
|
|
521
|
+
}[];
|
|
522
|
+
mainVariant?: {
|
|
523
|
+
name: string;
|
|
524
|
+
value: string;
|
|
525
|
+
image?: {
|
|
526
|
+
id: string;
|
|
527
|
+
url: string;
|
|
528
|
+
height: number;
|
|
529
|
+
width: number;
|
|
530
|
+
};
|
|
531
|
+
};
|
|
532
|
+
customAddress?: {
|
|
533
|
+
streetAddress?: {
|
|
534
|
+
number: string;
|
|
535
|
+
name: string;
|
|
536
|
+
apt: string;
|
|
537
|
+
};
|
|
538
|
+
};
|
|
539
|
+
guid: string;
|
|
540
|
+
};
|
|
541
|
+
}
|
|
542
|
+
export interface GetProductsStartWithResponseNonNullableFields {
|
|
543
|
+
products: {
|
|
544
|
+
id: string;
|
|
545
|
+
collectionId: string;
|
|
546
|
+
image?: {
|
|
547
|
+
id: string;
|
|
548
|
+
url: string;
|
|
549
|
+
height: number;
|
|
550
|
+
width: number;
|
|
551
|
+
};
|
|
552
|
+
address?: {
|
|
553
|
+
streetAddress?: {
|
|
554
|
+
number: string;
|
|
555
|
+
name: string;
|
|
556
|
+
apt: string;
|
|
557
|
+
};
|
|
558
|
+
subdivisions: {
|
|
559
|
+
code: string;
|
|
560
|
+
name: string;
|
|
561
|
+
type: SubdivisionType;
|
|
562
|
+
}[];
|
|
563
|
+
};
|
|
564
|
+
document?: {
|
|
565
|
+
id: string;
|
|
566
|
+
url: string;
|
|
567
|
+
};
|
|
568
|
+
video?: {
|
|
569
|
+
id: string;
|
|
570
|
+
url: string;
|
|
571
|
+
resolutions: {
|
|
572
|
+
url: string;
|
|
573
|
+
height: number;
|
|
574
|
+
width: number;
|
|
575
|
+
poster?: {
|
|
576
|
+
id: string;
|
|
577
|
+
url: string;
|
|
578
|
+
height: number;
|
|
579
|
+
width: number;
|
|
580
|
+
};
|
|
581
|
+
format: string;
|
|
582
|
+
}[];
|
|
583
|
+
posters: {
|
|
584
|
+
id: string;
|
|
585
|
+
url: string;
|
|
586
|
+
height: number;
|
|
587
|
+
width: number;
|
|
588
|
+
}[];
|
|
589
|
+
};
|
|
590
|
+
pageLink?: {
|
|
591
|
+
pageId: string;
|
|
592
|
+
};
|
|
593
|
+
audio?: {
|
|
594
|
+
id: string;
|
|
595
|
+
url: string;
|
|
596
|
+
};
|
|
597
|
+
variants: {
|
|
598
|
+
name: string;
|
|
599
|
+
value: string;
|
|
600
|
+
image?: {
|
|
601
|
+
id: string;
|
|
602
|
+
url: string;
|
|
603
|
+
height: number;
|
|
604
|
+
width: number;
|
|
605
|
+
};
|
|
606
|
+
}[];
|
|
607
|
+
mainVariant?: {
|
|
608
|
+
name: string;
|
|
609
|
+
value: string;
|
|
610
|
+
image?: {
|
|
611
|
+
id: string;
|
|
612
|
+
url: string;
|
|
613
|
+
height: number;
|
|
614
|
+
width: number;
|
|
615
|
+
};
|
|
616
|
+
};
|
|
617
|
+
customAddress?: {
|
|
618
|
+
streetAddress?: {
|
|
619
|
+
number: string;
|
|
620
|
+
name: string;
|
|
621
|
+
apt: string;
|
|
622
|
+
};
|
|
623
|
+
};
|
|
624
|
+
guid: string;
|
|
625
|
+
}[];
|
|
626
|
+
}
|
|
627
|
+
export interface QueryProductsResponseNonNullableFields {
|
|
628
|
+
products: {
|
|
629
|
+
id: string;
|
|
630
|
+
collectionId: string;
|
|
631
|
+
image?: {
|
|
632
|
+
id: string;
|
|
633
|
+
url: string;
|
|
634
|
+
height: number;
|
|
635
|
+
width: number;
|
|
636
|
+
};
|
|
637
|
+
address?: {
|
|
638
|
+
streetAddress?: {
|
|
639
|
+
number: string;
|
|
640
|
+
name: string;
|
|
641
|
+
apt: string;
|
|
642
|
+
};
|
|
643
|
+
subdivisions: {
|
|
644
|
+
code: string;
|
|
645
|
+
name: string;
|
|
646
|
+
type: SubdivisionType;
|
|
647
|
+
}[];
|
|
648
|
+
};
|
|
649
|
+
document?: {
|
|
650
|
+
id: string;
|
|
651
|
+
url: string;
|
|
652
|
+
};
|
|
653
|
+
video?: {
|
|
654
|
+
id: string;
|
|
655
|
+
url: string;
|
|
656
|
+
resolutions: {
|
|
657
|
+
url: string;
|
|
658
|
+
height: number;
|
|
659
|
+
width: number;
|
|
660
|
+
poster?: {
|
|
661
|
+
id: string;
|
|
662
|
+
url: string;
|
|
663
|
+
height: number;
|
|
664
|
+
width: number;
|
|
665
|
+
};
|
|
666
|
+
format: string;
|
|
667
|
+
}[];
|
|
668
|
+
posters: {
|
|
669
|
+
id: string;
|
|
670
|
+
url: string;
|
|
671
|
+
height: number;
|
|
672
|
+
width: number;
|
|
673
|
+
}[];
|
|
674
|
+
};
|
|
675
|
+
pageLink?: {
|
|
676
|
+
pageId: string;
|
|
677
|
+
};
|
|
678
|
+
audio?: {
|
|
679
|
+
id: string;
|
|
680
|
+
url: string;
|
|
681
|
+
};
|
|
682
|
+
variants: {
|
|
683
|
+
name: string;
|
|
684
|
+
value: string;
|
|
685
|
+
image?: {
|
|
686
|
+
id: string;
|
|
687
|
+
url: string;
|
|
688
|
+
height: number;
|
|
689
|
+
width: number;
|
|
690
|
+
};
|
|
691
|
+
}[];
|
|
692
|
+
mainVariant?: {
|
|
693
|
+
name: string;
|
|
694
|
+
value: string;
|
|
695
|
+
image?: {
|
|
696
|
+
id: string;
|
|
697
|
+
url: string;
|
|
698
|
+
height: number;
|
|
699
|
+
width: number;
|
|
700
|
+
};
|
|
701
|
+
};
|
|
702
|
+
customAddress?: {
|
|
703
|
+
streetAddress?: {
|
|
704
|
+
number: string;
|
|
705
|
+
name: string;
|
|
706
|
+
apt: string;
|
|
707
|
+
};
|
|
708
|
+
};
|
|
709
|
+
guid: string;
|
|
710
|
+
}[];
|
|
711
|
+
}
|