@wix/motion 1.0.27 → 1.0.29
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 +3 -0
- package/build/cjs/meta.js +26 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/cjs/src/alarm-v1-alarm.meta.d.ts +18 -0
- package/build/cjs/src/alarm-v1-alarm.meta.js +62 -0
- package/build/cjs/src/alarm-v1-alarm.meta.js.map +1 -0
- package/build/cjs/src/alarm-v1-alarm.types.d.ts +4 -4
- package/build/cjs/src/alarm-v1-alarm.universal.d.ts +4 -4
- package/build/cjs/src/metroinspector-v1-echo.meta.d.ts +15 -0
- package/build/cjs/src/metroinspector-v1-echo.meta.js +43 -0
- package/build/cjs/src/metroinspector-v1-echo.meta.js.map +1 -0
- package/build/cjs/src/metroinspector-v1-echo.public.d.ts +1 -1
- package/build/cjs/src/metroinspector-v1-echo.types.d.ts +5 -5
- package/build/cjs/src/metroinspector-v1-echo.universal.d.ts +7 -7
- 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 +43 -43
- package/build/cjs/src/metroinspector-v1-product.types.d.ts +241 -241
- package/build/cjs/src/metroinspector-v1-product.universal.d.ts +80 -80
- package/build/es/meta.d.ts +3 -0
- package/build/es/meta.js +4 -0
- package/build/es/meta.js.map +1 -0
- package/build/es/src/alarm-v1-alarm.meta.d.ts +18 -0
- package/build/es/src/alarm-v1-alarm.meta.js +38 -0
- package/build/es/src/alarm-v1-alarm.meta.js.map +1 -0
- package/build/es/src/alarm-v1-alarm.types.d.ts +4 -4
- package/build/es/src/alarm-v1-alarm.universal.d.ts +4 -4
- package/build/es/src/metroinspector-v1-echo.meta.d.ts +15 -0
- package/build/es/src/metroinspector-v1-echo.meta.js +20 -0
- package/build/es/src/metroinspector-v1-echo.meta.js.map +1 -0
- package/build/es/src/metroinspector-v1-echo.public.d.ts +1 -1
- package/build/es/src/metroinspector-v1-echo.types.d.ts +5 -5
- package/build/es/src/metroinspector-v1-echo.universal.d.ts +7 -7
- 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 +43 -43
- package/build/es/src/metroinspector-v1-product.types.d.ts +241 -241
- package/build/es/src/metroinspector-v1-product.universal.d.ts +80 -80
- package/meta/package.json +6 -0
- package/package.json +4 -3
|
@@ -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,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,EA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AAO,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"}
|
|
@@ -4,73 +4,73 @@ export declare const __metadata: {
|
|
|
4
4
|
PACKAGE_NAME: string;
|
|
5
5
|
};
|
|
6
6
|
export declare function createProduct(httpClient: HttpClient): (options?: (CreateProductOptions & CreateProductOptionsRequiredFields) | undefined) => Promise<import("./metroinspector-v1-product.universal").Product & {
|
|
7
|
-
_id:
|
|
8
|
-
collectionId:
|
|
9
|
-
image:
|
|
10
|
-
document:
|
|
11
|
-
video:
|
|
7
|
+
_id: string;
|
|
8
|
+
collectionId: string;
|
|
9
|
+
image: string;
|
|
10
|
+
document: string;
|
|
11
|
+
video: string;
|
|
12
12
|
pageLink?: {
|
|
13
|
-
pageId:
|
|
13
|
+
pageId: string;
|
|
14
14
|
} | undefined;
|
|
15
|
-
audio:
|
|
15
|
+
audio: string;
|
|
16
16
|
variants: {
|
|
17
|
-
name:
|
|
18
|
-
value:
|
|
19
|
-
image:
|
|
17
|
+
name: string;
|
|
18
|
+
value: string;
|
|
19
|
+
image: string;
|
|
20
20
|
}[];
|
|
21
21
|
mainVariant?: {
|
|
22
|
-
name:
|
|
23
|
-
value:
|
|
24
|
-
image:
|
|
22
|
+
name: string;
|
|
23
|
+
value: string;
|
|
24
|
+
image: string;
|
|
25
25
|
} | undefined;
|
|
26
|
-
guid:
|
|
26
|
+
guid: string;
|
|
27
27
|
}>;
|
|
28
28
|
export declare function deleteProduct(httpClient: HttpClient): (productId: string) => Promise<void>;
|
|
29
29
|
export declare function updateProduct(httpClient: HttpClient): (productId: string, options?: (UpdateProductOptions & UpdateProductOptionsRequiredFields) | undefined) => Promise<import("./metroinspector-v1-product.universal").Product & {
|
|
30
|
-
_id:
|
|
31
|
-
collectionId:
|
|
32
|
-
image:
|
|
33
|
-
document:
|
|
34
|
-
video:
|
|
30
|
+
_id: string;
|
|
31
|
+
collectionId: string;
|
|
32
|
+
image: string;
|
|
33
|
+
document: string;
|
|
34
|
+
video: string;
|
|
35
35
|
pageLink?: {
|
|
36
|
-
pageId:
|
|
36
|
+
pageId: string;
|
|
37
37
|
} | undefined;
|
|
38
|
-
audio:
|
|
38
|
+
audio: string;
|
|
39
39
|
variants: {
|
|
40
|
-
name:
|
|
41
|
-
value:
|
|
42
|
-
image:
|
|
40
|
+
name: string;
|
|
41
|
+
value: string;
|
|
42
|
+
image: string;
|
|
43
43
|
}[];
|
|
44
44
|
mainVariant?: {
|
|
45
|
-
name:
|
|
46
|
-
value:
|
|
47
|
-
image:
|
|
45
|
+
name: string;
|
|
46
|
+
value: string;
|
|
47
|
+
image: string;
|
|
48
48
|
} | undefined;
|
|
49
|
-
guid:
|
|
49
|
+
guid: string;
|
|
50
50
|
}>;
|
|
51
51
|
export declare function getProduct(httpClient: HttpClient): (productId: string) => Promise<import("./metroinspector-v1-product.universal").Product & {
|
|
52
|
-
_id:
|
|
53
|
-
collectionId:
|
|
54
|
-
image:
|
|
55
|
-
document:
|
|
56
|
-
video:
|
|
52
|
+
_id: string;
|
|
53
|
+
collectionId: string;
|
|
54
|
+
image: string;
|
|
55
|
+
document: string;
|
|
56
|
+
video: string;
|
|
57
57
|
pageLink?: {
|
|
58
|
-
pageId:
|
|
58
|
+
pageId: string;
|
|
59
59
|
} | undefined;
|
|
60
|
-
audio:
|
|
60
|
+
audio: string;
|
|
61
61
|
variants: {
|
|
62
|
-
name:
|
|
63
|
-
value:
|
|
64
|
-
image:
|
|
62
|
+
name: string;
|
|
63
|
+
value: string;
|
|
64
|
+
image: string;
|
|
65
65
|
}[];
|
|
66
66
|
mainVariant?: {
|
|
67
|
-
name:
|
|
68
|
-
value:
|
|
69
|
-
image:
|
|
67
|
+
name: string;
|
|
68
|
+
value: string;
|
|
69
|
+
image: string;
|
|
70
70
|
} | undefined;
|
|
71
|
-
guid:
|
|
71
|
+
guid: string;
|
|
72
72
|
}>;
|
|
73
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>;
|
|
74
74
|
export declare function queryProducts(httpClient: HttpClient): (options?: QueryProductsOptions | undefined) => import("./metroinspector-v1-product.universal").ProductsQueryBuilder;
|
|
75
75
|
export { SubdivisionType, SortOrder, } 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, CreateProductRequestRequiredFields, CreateProductResponseNonNullableFields, DeleteProductRequestRequiredFields, UpdateProductRequestRequiredFields, UpdateProductResponseNonNullableFields, GetProductRequestRequiredFields, GetProductResponseNonNullableFields, GetProductsStartWithRequestRequiredFields, GetProductsStartWithResponseNonNullableFields, QueryProductsResponseNonNullableFields, CreateProductOptionsRequiredFields, CreateProductOptions, UpdateProductOptionsRequiredFields, 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, CreateProductRequestRequiredFields, CreateProductResponseNonNullableFields, DeleteProductRequestRequiredFields, UpdateProductRequestRequiredFields, UpdateProductResponseNonNullableFields, GetProductRequestRequiredFields, GetProductResponseNonNullableFields, GetProductsStartWithRequestRequiredFields, GetProductsStartWithResponseNonNullableFields, QueryProductsResponseNonNullableFields, Product, CreateProductOptionsRequiredFields, CreateProductOptions, UpdateProductOptionsRequiredFields, UpdateProductOptions, GetProductsStartWithOptions, QueryProductsOptions, ProductsQueryResult, ProductsQueryBuilder, } from './metroinspector-v1-product.universal';
|