@wix/metro 1.0.72 → 1.0.74
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/context.d.ts +1 -0
- package/build/cjs/{index.typings.js → context.js} +7 -3
- package/build/cjs/context.js.map +1 -0
- package/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +6 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/meta.d.ts +1 -1
- package/build/cjs/meta.js +6 -2
- package/build/cjs/meta.js.map +1 -1
- package/build/es/context.d.ts +1 -0
- package/build/es/context.js +2 -0
- package/build/es/context.js.map +1 -0
- package/build/es/index.d.ts +1 -1
- package/build/es/index.js +1 -1
- package/build/es/index.js.map +1 -1
- package/build/es/meta.d.ts +1 -1
- package/build/es/meta.js +1 -1
- package/build/es/meta.js.map +1 -1
- package/context/package.json +6 -0
- package/package.json +15 -7
- package/build/cjs/index.typings.d.ts +0 -1
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/src/metroinspector-v1-product.http.d.ts +0 -10
- package/build/cjs/src/metroinspector-v1-product.http.js +0 -315
- package/build/cjs/src/metroinspector-v1-product.http.js.map +0 -1
- package/build/cjs/src/metroinspector-v1-product.meta.d.ts +0 -26
- package/build/cjs/src/metroinspector-v1-product.meta.js +0 -138
- package/build/cjs/src/metroinspector-v1-product.meta.js.map +0 -1
- package/build/cjs/src/metroinspector-v1-product.public.d.ts +0 -79
- package/build/cjs/src/metroinspector-v1-product.public.js +0 -46
- package/build/cjs/src/metroinspector-v1-product.public.js.map +0 -1
- package/build/cjs/src/metroinspector-v1-product.types.d.ts +0 -735
- package/build/cjs/src/metroinspector-v1-product.types.js +0 -43
- package/build/cjs/src/metroinspector-v1-product.types.js.map +0 -1
- package/build/cjs/src/metroinspector-v1-product.universal.d.ts +0 -492
- package/build/cjs/src/metroinspector-v1-product.universal.js +0 -464
- package/build/cjs/src/metroinspector-v1-product.universal.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -1
- package/build/es/index.typings.js +0 -2
- package/build/es/index.typings.js.map +0 -1
- package/build/es/src/metroinspector-v1-product.http.d.ts +0 -10
- package/build/es/src/metroinspector-v1-product.http.js +0 -306
- package/build/es/src/metroinspector-v1-product.http.js.map +0 -1
- package/build/es/src/metroinspector-v1-product.meta.d.ts +0 -26
- package/build/es/src/metroinspector-v1-product.meta.js +0 -110
- package/build/es/src/metroinspector-v1-product.meta.js.map +0 -1
- package/build/es/src/metroinspector-v1-product.public.d.ts +0 -79
- package/build/es/src/metroinspector-v1-product.public.js +0 -34
- package/build/es/src/metroinspector-v1-product.public.js.map +0 -1
- package/build/es/src/metroinspector-v1-product.types.d.ts +0 -735
- package/build/es/src/metroinspector-v1-product.types.js +0 -40
- package/build/es/src/metroinspector-v1-product.types.js.map +0 -1
- package/build/es/src/metroinspector-v1-product.universal.d.ts +0 -492
- package/build/es/src/metroinspector-v1-product.universal.js +0 -436
- package/build/es/src/metroinspector-v1-product.universal.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as products from '@wix/metro_products/context';
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -20,5 +24,5 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
20
24
|
};
|
|
21
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
26
|
exports.products = void 0;
|
|
23
|
-
exports.products = __importStar(require("
|
|
24
|
-
//# sourceMappingURL=
|
|
27
|
+
exports.products = __importStar(require("@wix/metro_products/context"));
|
|
28
|
+
//# sourceMappingURL=context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../context.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wEAAwD"}
|
package/build/cjs/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * as products from '
|
|
1
|
+
export * as products from '@wix/metro_products';
|
package/build/cjs/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -20,5 +24,5 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
20
24
|
};
|
|
21
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
26
|
exports.products = void 0;
|
|
23
|
-
exports.products = __importStar(require("
|
|
27
|
+
exports.products = __importStar(require("@wix/metro_products"));
|
|
24
28
|
//# sourceMappingURL=index.js.map
|
package/build/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gEAAgD"}
|
package/build/cjs/meta.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * as products from '
|
|
1
|
+
export * as products from '@wix/metro_products/meta';
|
package/build/cjs/meta.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -20,5 +24,5 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
20
24
|
};
|
|
21
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
26
|
exports.products = void 0;
|
|
23
|
-
exports.products = __importStar(require("
|
|
27
|
+
exports.products = __importStar(require("@wix/metro_products/meta"));
|
|
24
28
|
//# sourceMappingURL=meta.js.map
|
package/build/cjs/meta.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qEAAqD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as products from '@wix/metro_products/context';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,6BAA6B,CAAC"}
|
package/build/es/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * as products from '
|
|
1
|
+
export * as products from '@wix/metro_products';
|
package/build/es/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * as products from '
|
|
1
|
+
export * as products from '@wix/metro_products';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/build/es/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC"}
|
package/build/es/meta.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * as products from '
|
|
1
|
+
export * as products from '@wix/metro_products/meta';
|
package/build/es/meta.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * as products from '
|
|
1
|
+
export * as products from '@wix/metro_products/meta';
|
|
2
2
|
//# sourceMappingURL=meta.js.map
|
package/build/es/meta.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,
|
|
1
|
+
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,0BAA0B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/metro",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.74",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -12,12 +12,15 @@
|
|
|
12
12
|
"files": [
|
|
13
13
|
"build",
|
|
14
14
|
"frontend/package.json",
|
|
15
|
-
"meta"
|
|
15
|
+
"meta",
|
|
16
|
+
"context"
|
|
16
17
|
],
|
|
17
18
|
"dependencies": {
|
|
18
|
-
"@wix/
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
"@wix/metro_products": "1.0.0"
|
|
20
|
+
},
|
|
21
|
+
"devDependencies": {
|
|
22
|
+
"@wix/sdk": "https://cdn.dev.wixpress.com/@wix/sdk/02e8069ab2fd783e0e6a080fc7d590e76cb26ab93c8389574286305b.tar.gz",
|
|
23
|
+
"typescript": "^5.3.2"
|
|
21
24
|
},
|
|
22
25
|
"scripts": {
|
|
23
26
|
"build": "tsc -b tsconfig.json tsconfig.esm.json",
|
|
@@ -25,9 +28,14 @@
|
|
|
25
28
|
},
|
|
26
29
|
"wix": {
|
|
27
30
|
"artifact": {
|
|
31
|
+
"groupId": "com.wixpress.public-sdk-autogen",
|
|
28
32
|
"artifactId": "metro-public-sdk-autogen",
|
|
29
|
-
"
|
|
33
|
+
"isRootPublicSdk": true
|
|
34
|
+
},
|
|
35
|
+
"sdkDependency": {
|
|
36
|
+
"fqdnNamespace": "",
|
|
37
|
+
"fqdn": ""
|
|
30
38
|
}
|
|
31
39
|
},
|
|
32
|
-
"falconPackageHash": "
|
|
40
|
+
"falconPackageHash": "dcde2013716853e06d13c71798171910e87fc9078f73256777efb45b"
|
|
33
41
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * as products from './src/metroinspector-v1-product.universal';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../index.typings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,sFAAsE"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { RequestOptionsFactory } from '@wix/sdk-types';
|
|
2
|
-
import { CreateProductRequest, CreateProductResponse, DeleteProductRequest, DeleteProductResponse, GetProductRequest, GetProductResponse, GetProductsStartWithRequest, GetProductsStartWithResponse, QueryProductsRequest, QueryProductsResponse, UpdateProductRequest, UpdateProductResponse, CreateProductResponseNonNullableFields, UpdateProductResponseNonNullableFields, GetProductResponseNonNullableFields, GetProductsStartWithResponseNonNullableFields, QueryProductsResponseNonNullableFields } from './metroinspector-v1-product.types';
|
|
3
|
-
/** Creating a product */
|
|
4
|
-
export declare function createProduct(payload: CreateProductRequest): RequestOptionsFactory<CreateProductResponse & CreateProductResponseNonNullableFields>;
|
|
5
|
-
export declare function deleteProduct(payload: DeleteProductRequest): RequestOptionsFactory<DeleteProductResponse>;
|
|
6
|
-
export declare function updateProduct(payload: UpdateProductRequest): RequestOptionsFactory<UpdateProductResponse & UpdateProductResponseNonNullableFields>;
|
|
7
|
-
/** override description */
|
|
8
|
-
export declare function getProduct(payload: GetProductRequest): RequestOptionsFactory<GetProductResponse & GetProductResponseNonNullableFields>;
|
|
9
|
-
export declare function getProductsStartWith(payload: GetProductsStartWithRequest): RequestOptionsFactory<GetProductsStartWithResponse & GetProductsStartWithResponseNonNullableFields>;
|
|
10
|
-
export declare function queryProducts(payload: QueryProductsRequest): RequestOptionsFactory<QueryProductsResponse & QueryProductsResponseNonNullableFields>;
|
|
@@ -1,315 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.queryProducts = exports.getProductsStartWith = exports.getProduct = exports.updateProduct = exports.deleteProduct = exports.createProduct = void 0;
|
|
4
|
-
const metro_runtime_1 = require("@wix/metro-runtime");
|
|
5
|
-
const ambassador_1 = require("@wix/metro-runtime/ambassador");
|
|
6
|
-
const metro_runtime_2 = require("@wix/metro-runtime");
|
|
7
|
-
const _address = { geocode: '_addressLocation' };
|
|
8
|
-
const _addressLocation = {
|
|
9
|
-
latitude: 'google.protobuf.DoubleValue',
|
|
10
|
-
longitude: 'google.protobuf.DoubleValue',
|
|
11
|
-
};
|
|
12
|
-
const _audio = { urlExpirationDate: 'google.protobuf.Timestamp' };
|
|
13
|
-
const _createProductRequest = { product: '_product' };
|
|
14
|
-
const _createProductResponse = { product: '_product' };
|
|
15
|
-
const _deleteProductRequest = {};
|
|
16
|
-
const _deleteProductResponse = {};
|
|
17
|
-
const _document = { urlExpirationDate: 'google.protobuf.Timestamp' };
|
|
18
|
-
const _getProductRequest = {};
|
|
19
|
-
const _getProductResponse = { product: '_product' };
|
|
20
|
-
const _getProductsStartWithRequest = {};
|
|
21
|
-
const _getProductsStartWithResponse = { products: '_product' };
|
|
22
|
-
const _image = { urlExpirationDate: 'google.protobuf.Timestamp' };
|
|
23
|
-
const _product = {
|
|
24
|
-
createdDate: 'google.protobuf.Timestamp',
|
|
25
|
-
modifiedDate: 'google.protobuf.Timestamp',
|
|
26
|
-
image: '_image',
|
|
27
|
-
address: '_address',
|
|
28
|
-
document: '_document',
|
|
29
|
-
video: '_videoV2',
|
|
30
|
-
audio: '_audio',
|
|
31
|
-
variants: '_variant',
|
|
32
|
-
mainVariant: '_variant',
|
|
33
|
-
};
|
|
34
|
-
const _queryProductsRequest = {};
|
|
35
|
-
const _queryProductsResponse = { products: '_product' };
|
|
36
|
-
const _updateProductRequest = {
|
|
37
|
-
mask: 'google.protobuf.FieldMask',
|
|
38
|
-
product: '_product',
|
|
39
|
-
};
|
|
40
|
-
const _updateProductResponse = { product: '_product' };
|
|
41
|
-
const _variant = { image: '_image' };
|
|
42
|
-
const _videoResolution = {
|
|
43
|
-
urlExpirationDate: 'google.protobuf.Timestamp',
|
|
44
|
-
poster: '_image',
|
|
45
|
-
};
|
|
46
|
-
const _videoV2 = {
|
|
47
|
-
urlExpirationDate: 'google.protobuf.Timestamp',
|
|
48
|
-
resolutions: '_videoResolution',
|
|
49
|
-
posters: '_image',
|
|
50
|
-
};
|
|
51
|
-
function resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl(opts) {
|
|
52
|
-
const domainToMappings = {
|
|
53
|
-
'apps._base_domain_': [
|
|
54
|
-
{
|
|
55
|
-
srcPath: '/_api/metro-inspector',
|
|
56
|
-
destPath: '/api',
|
|
57
|
-
},
|
|
58
|
-
],
|
|
59
|
-
'api._api_base_domain_': [
|
|
60
|
-
{
|
|
61
|
-
srcPath: '/metro-inspector',
|
|
62
|
-
destPath: '',
|
|
63
|
-
},
|
|
64
|
-
],
|
|
65
|
-
'www._base_domain_': [
|
|
66
|
-
{
|
|
67
|
-
srcPath: '/metro-inspector',
|
|
68
|
-
destPath: '/api',
|
|
69
|
-
},
|
|
70
|
-
],
|
|
71
|
-
'manage._base_domain_': [
|
|
72
|
-
{
|
|
73
|
-
srcPath: '/metro-inspector',
|
|
74
|
-
destPath: '',
|
|
75
|
-
},
|
|
76
|
-
],
|
|
77
|
-
'www.wixgateway.com': [
|
|
78
|
-
{
|
|
79
|
-
srcPath: '/_api/metro-inspector',
|
|
80
|
-
destPath: '/api',
|
|
81
|
-
},
|
|
82
|
-
],
|
|
83
|
-
_: [
|
|
84
|
-
{
|
|
85
|
-
srcPath: '/_api/metro-inspector',
|
|
86
|
-
destPath: '/api',
|
|
87
|
-
},
|
|
88
|
-
],
|
|
89
|
-
'www.wixapis.com': [
|
|
90
|
-
{
|
|
91
|
-
srcPath: '/_api/metro-inspector',
|
|
92
|
-
destPath: '/api',
|
|
93
|
-
},
|
|
94
|
-
],
|
|
95
|
-
};
|
|
96
|
-
return (0, metro_runtime_2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
97
|
-
}
|
|
98
|
-
/** Creating a product */
|
|
99
|
-
function createProduct(payload) {
|
|
100
|
-
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_createProductRequest, {
|
|
101
|
-
_address,
|
|
102
|
-
_addressLocation,
|
|
103
|
-
_audio,
|
|
104
|
-
_document,
|
|
105
|
-
_image,
|
|
106
|
-
_product,
|
|
107
|
-
_variant,
|
|
108
|
-
_videoResolution,
|
|
109
|
-
_videoV2,
|
|
110
|
-
});
|
|
111
|
-
const { fromJSON: fromRes } = (0, ambassador_1.serializer)(_createProductResponse, {
|
|
112
|
-
_address,
|
|
113
|
-
_addressLocation,
|
|
114
|
-
_audio,
|
|
115
|
-
_document,
|
|
116
|
-
_image,
|
|
117
|
-
_product,
|
|
118
|
-
_variant,
|
|
119
|
-
_videoResolution,
|
|
120
|
-
_videoV2,
|
|
121
|
-
});
|
|
122
|
-
function __createProduct({ host }) {
|
|
123
|
-
const serializedData = toReq(payload);
|
|
124
|
-
const metadata = {
|
|
125
|
-
entityFqdn: 'wix.metroinspector.v1.product',
|
|
126
|
-
method: 'POST',
|
|
127
|
-
methodFqn: 'wix.coreservices.metroinspector.v1.products.ProductsService.CreateProduct',
|
|
128
|
-
url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({
|
|
129
|
-
protoPath: '/api/v1/products',
|
|
130
|
-
data: serializedData,
|
|
131
|
-
host,
|
|
132
|
-
}),
|
|
133
|
-
data: serializedData,
|
|
134
|
-
transformResponse: fromRes,
|
|
135
|
-
};
|
|
136
|
-
return metadata;
|
|
137
|
-
}
|
|
138
|
-
__createProduct.fromReq = fromReq;
|
|
139
|
-
return __createProduct;
|
|
140
|
-
}
|
|
141
|
-
exports.createProduct = createProduct;
|
|
142
|
-
function deleteProduct(payload) {
|
|
143
|
-
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_deleteProductRequest, {});
|
|
144
|
-
const { fromJSON: fromRes } = (0, ambassador_1.serializer)(_deleteProductResponse, {});
|
|
145
|
-
function __deleteProduct({ host }) {
|
|
146
|
-
const serializedData = toReq(payload);
|
|
147
|
-
const metadata = {
|
|
148
|
-
entityFqdn: 'wix.metroinspector.v1.product',
|
|
149
|
-
method: 'DELETE',
|
|
150
|
-
methodFqn: 'wix.coreservices.metroinspector.v1.products.ProductsService.DeleteProduct',
|
|
151
|
-
url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({
|
|
152
|
-
protoPath: '/api/v1/products/{productId}',
|
|
153
|
-
data: serializedData,
|
|
154
|
-
host,
|
|
155
|
-
}),
|
|
156
|
-
params: (0, metro_runtime_1.toURLSearchParams)(serializedData),
|
|
157
|
-
transformResponse: fromRes,
|
|
158
|
-
};
|
|
159
|
-
return metadata;
|
|
160
|
-
}
|
|
161
|
-
__deleteProduct.fromReq = fromReq;
|
|
162
|
-
return __deleteProduct;
|
|
163
|
-
}
|
|
164
|
-
exports.deleteProduct = deleteProduct;
|
|
165
|
-
function updateProduct(payload) {
|
|
166
|
-
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_updateProductRequest, {
|
|
167
|
-
_address,
|
|
168
|
-
_addressLocation,
|
|
169
|
-
_audio,
|
|
170
|
-
_document,
|
|
171
|
-
_image,
|
|
172
|
-
_product,
|
|
173
|
-
_variant,
|
|
174
|
-
_videoResolution,
|
|
175
|
-
_videoV2,
|
|
176
|
-
});
|
|
177
|
-
const { fromJSON: fromRes } = (0, ambassador_1.serializer)(_updateProductResponse, {
|
|
178
|
-
_address,
|
|
179
|
-
_addressLocation,
|
|
180
|
-
_audio,
|
|
181
|
-
_document,
|
|
182
|
-
_image,
|
|
183
|
-
_product,
|
|
184
|
-
_variant,
|
|
185
|
-
_videoResolution,
|
|
186
|
-
_videoV2,
|
|
187
|
-
});
|
|
188
|
-
function __updateProduct({ host }) {
|
|
189
|
-
const serializedData = toReq(payload);
|
|
190
|
-
const metadata = {
|
|
191
|
-
entityFqdn: 'wix.metroinspector.v1.product',
|
|
192
|
-
method: 'PUT',
|
|
193
|
-
methodFqn: 'wix.coreservices.metroinspector.v1.products.ProductsService.UpdateProduct',
|
|
194
|
-
url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({
|
|
195
|
-
protoPath: '/api/v1/products/{productId}',
|
|
196
|
-
data: serializedData,
|
|
197
|
-
host,
|
|
198
|
-
}),
|
|
199
|
-
data: serializedData,
|
|
200
|
-
transformResponse: fromRes,
|
|
201
|
-
};
|
|
202
|
-
return metadata;
|
|
203
|
-
}
|
|
204
|
-
__updateProduct.fromReq = fromReq;
|
|
205
|
-
return __updateProduct;
|
|
206
|
-
}
|
|
207
|
-
exports.updateProduct = updateProduct;
|
|
208
|
-
/** override description */
|
|
209
|
-
function getProduct(payload) {
|
|
210
|
-
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_getProductRequest, {});
|
|
211
|
-
const { fromJSON: fromRes } = (0, ambassador_1.serializer)(_getProductResponse, {
|
|
212
|
-
_address,
|
|
213
|
-
_addressLocation,
|
|
214
|
-
_audio,
|
|
215
|
-
_document,
|
|
216
|
-
_image,
|
|
217
|
-
_product,
|
|
218
|
-
_variant,
|
|
219
|
-
_videoResolution,
|
|
220
|
-
_videoV2,
|
|
221
|
-
});
|
|
222
|
-
function __getProduct({ host }) {
|
|
223
|
-
const serializedData = toReq(payload);
|
|
224
|
-
const metadata = {
|
|
225
|
-
entityFqdn: 'wix.metroinspector.v1.product',
|
|
226
|
-
method: 'GET',
|
|
227
|
-
methodFqn: 'wix.coreservices.metroinspector.v1.products.ProductsService.GetProduct',
|
|
228
|
-
url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({
|
|
229
|
-
protoPath: '/api/v1/products/{productId}',
|
|
230
|
-
data: serializedData,
|
|
231
|
-
host,
|
|
232
|
-
}),
|
|
233
|
-
params: (0, metro_runtime_1.toURLSearchParams)(serializedData),
|
|
234
|
-
transformResponse: fromRes,
|
|
235
|
-
};
|
|
236
|
-
return metadata;
|
|
237
|
-
}
|
|
238
|
-
__getProduct.fromReq = fromReq;
|
|
239
|
-
return __getProduct;
|
|
240
|
-
}
|
|
241
|
-
exports.getProduct = getProduct;
|
|
242
|
-
function getProductsStartWith(payload) {
|
|
243
|
-
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_getProductsStartWithRequest, {});
|
|
244
|
-
const { fromJSON: fromRes } = (0, ambassador_1.serializer)(_getProductsStartWithResponse, {
|
|
245
|
-
_address,
|
|
246
|
-
_addressLocation,
|
|
247
|
-
_audio,
|
|
248
|
-
_document,
|
|
249
|
-
_image,
|
|
250
|
-
_product,
|
|
251
|
-
_variant,
|
|
252
|
-
_videoResolution,
|
|
253
|
-
_videoV2,
|
|
254
|
-
});
|
|
255
|
-
function __getProductsStartWith({ host }) {
|
|
256
|
-
const serializedData = toReq(payload);
|
|
257
|
-
const metadata = {
|
|
258
|
-
entityFqdn: 'wix.metroinspector.v1.product',
|
|
259
|
-
method: 'GET',
|
|
260
|
-
methodFqn: 'wix.coreservices.metroinspector.v1.products.ProductsService.GetProductsStartWith',
|
|
261
|
-
url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({
|
|
262
|
-
protoPath: '/api/v1/products/start-with/{title}',
|
|
263
|
-
data: serializedData,
|
|
264
|
-
host,
|
|
265
|
-
}),
|
|
266
|
-
params: (0, metro_runtime_1.toURLSearchParams)(serializedData),
|
|
267
|
-
transformResponse: fromRes,
|
|
268
|
-
};
|
|
269
|
-
return metadata;
|
|
270
|
-
}
|
|
271
|
-
__getProductsStartWith.fromReq = fromReq;
|
|
272
|
-
return __getProductsStartWith;
|
|
273
|
-
}
|
|
274
|
-
exports.getProductsStartWith = getProductsStartWith;
|
|
275
|
-
function queryProducts(payload) {
|
|
276
|
-
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_queryProductsRequest, {});
|
|
277
|
-
const { fromJSON: fromRes } = (0, ambassador_1.serializer)(_queryProductsResponse, {
|
|
278
|
-
_address,
|
|
279
|
-
_addressLocation,
|
|
280
|
-
_audio,
|
|
281
|
-
_document,
|
|
282
|
-
_image,
|
|
283
|
-
_product,
|
|
284
|
-
_variant,
|
|
285
|
-
_videoResolution,
|
|
286
|
-
_videoV2,
|
|
287
|
-
});
|
|
288
|
-
function __queryProducts({ host }) {
|
|
289
|
-
const serializedData = toReq(payload);
|
|
290
|
-
const metadata = {
|
|
291
|
-
entityFqdn: 'wix.metroinspector.v1.product',
|
|
292
|
-
method: 'POST',
|
|
293
|
-
methodFqn: 'wix.coreservices.metroinspector.v1.products.ProductsService.QueryProducts',
|
|
294
|
-
url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({
|
|
295
|
-
protoPath: '/api/v1/query-products',
|
|
296
|
-
data: serializedData,
|
|
297
|
-
host,
|
|
298
|
-
}),
|
|
299
|
-
data: serializedData,
|
|
300
|
-
transformResponse: fromRes,
|
|
301
|
-
fallback: [
|
|
302
|
-
{
|
|
303
|
-
method: 'POST',
|
|
304
|
-
url: resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl({ protoPath: '/api/v1/query-products', data: serializedData, host }),
|
|
305
|
-
data: serializedData,
|
|
306
|
-
},
|
|
307
|
-
],
|
|
308
|
-
};
|
|
309
|
-
return metadata;
|
|
310
|
-
}
|
|
311
|
-
__queryProducts.fromReq = fromReq;
|
|
312
|
-
return __queryProducts;
|
|
313
|
-
}
|
|
314
|
-
exports.queryProducts = queryProducts;
|
|
315
|
-
//# sourceMappingURL=metroinspector-v1-product.http.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"metroinspector-v1-product.http.js","sourceRoot":"","sources":["../../../src/metroinspector-v1-product.http.ts"],"names":[],"mappings":";;;AAAA,sDAAuD;AACvD,8DAA2D;AAC3D,sDAAgD;AAuBhD,MAAM,QAAQ,GAAG,EAAE,OAAO,EAAE,kBAAkB,EAAE,CAAC;AACjD,MAAM,gBAAgB,GAAG;IACvB,QAAQ,EAAE,6BAA6B;IACvC,SAAS,EAAE,6BAA6B;CACzC,CAAC;AACF,MAAM,MAAM,GAAG,EAAE,iBAAiB,EAAE,2BAA2B,EAAE,CAAC;AAClE,MAAM,qBAAqB,GAAG,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;AACtD,MAAM,sBAAsB,GAAG,EAAE,OAAO,EAAE,UAAU,EAAE,CAA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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;AApDD,sCAoDC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
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>;
|