@wix/auto_sdk_metro_products 1.0.12 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +5 -7
- package/build/cjs/index.js +17 -291
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +65 -3
- package/build/cjs/index.typings.js +17 -291
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +9 -291
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +5 -7
- package/build/es/index.mjs +14 -291
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +65 -3
- package/build/es/index.typings.mjs +14 -291
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +9 -291
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +5 -7
- package/build/internal/cjs/index.js +17 -291
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +65 -3
- package/build/internal/cjs/index.typings.js +17 -291
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.js +9 -291
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +5 -7
- package/build/internal/es/index.mjs +14 -291
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +65 -3
- package/build/internal/es/index.typings.mjs +14 -291
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.mjs +9 -291
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as _wix_sdk_types from '@wix/sdk-types';
|
|
2
|
+
import { QuerySpec, Query, NonNullablePaths } from '@wix/sdk-types';
|
|
2
3
|
|
|
3
4
|
interface Product {
|
|
4
5
|
title?: string | null;
|
|
@@ -546,7 +547,68 @@ interface ProductsQueryBuilder {
|
|
|
546
547
|
* @fqn wix.coreservices.metroinspector.v1.products.ProductsService.QueryProducts
|
|
547
548
|
* @requiredField query
|
|
548
549
|
*/
|
|
549
|
-
declare function typedQueryProducts(query:
|
|
550
|
+
declare function typedQueryProducts(query: ProductQuery, options?: QueryProductsOptions): Promise<NonNullablePaths<QueryProductsResponse, `products` | `products.${number}._id` | `products.${number}.collectionId` | `products.${number}.address.streetAddress.number` | `products.${number}.address.streetAddress.name` | `products.${number}.pageLink.pageId` | `products.${number}.guid`, 6>>;
|
|
551
|
+
interface ProductQuerySpec extends QuerySpec {
|
|
552
|
+
paging: 'cursor';
|
|
553
|
+
wql: [
|
|
554
|
+
{
|
|
555
|
+
fields: ['guid', 'title'];
|
|
556
|
+
operators: '*';
|
|
557
|
+
sort: 'BOTH';
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
fields: ['collectionId'];
|
|
561
|
+
operators: ['$eq'];
|
|
562
|
+
sort: 'BOTH';
|
|
563
|
+
}
|
|
564
|
+
];
|
|
565
|
+
}
|
|
566
|
+
type CommonQueryWithEntityContext = Query<Product, ProductQuerySpec>;
|
|
567
|
+
type ProductQuery = {
|
|
568
|
+
/**
|
|
569
|
+
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`.
|
|
570
|
+
*/
|
|
571
|
+
cursorPaging?: {
|
|
572
|
+
/**
|
|
573
|
+
Maximum number of items to return in the results.
|
|
574
|
+
@max: 100
|
|
575
|
+
*/
|
|
576
|
+
limit?: NonNullable<CommonQueryWithEntityContext['cursorPaging']>['limit'] | null;
|
|
577
|
+
/**
|
|
578
|
+
Pointer to the next or previous page in the list of results.
|
|
579
|
+
|
|
580
|
+
Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
581
|
+
Not relevant for the first request.
|
|
582
|
+
@maxLength: 16000
|
|
583
|
+
*/
|
|
584
|
+
cursor?: NonNullable<CommonQueryWithEntityContext['cursorPaging']>['cursor'] | null;
|
|
585
|
+
};
|
|
586
|
+
/**
|
|
587
|
+
Filter object.
|
|
588
|
+
|
|
589
|
+
Learn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).
|
|
590
|
+
*/
|
|
591
|
+
filter?: CommonQueryWithEntityContext['filter'] | null;
|
|
592
|
+
/**
|
|
593
|
+
Sort object.
|
|
594
|
+
|
|
595
|
+
Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting).
|
|
596
|
+
*/
|
|
597
|
+
sort?: {
|
|
598
|
+
/**
|
|
599
|
+
Name of the field to sort by.
|
|
600
|
+
@maxLength: 512
|
|
601
|
+
*/
|
|
602
|
+
fieldName?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['fieldName'];
|
|
603
|
+
/**
|
|
604
|
+
Sort order.
|
|
605
|
+
*/
|
|
606
|
+
order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];
|
|
607
|
+
}[];
|
|
608
|
+
};
|
|
609
|
+
declare const QueryBuilder: () => _wix_sdk_types.QueryBuilder<Product, ProductQuerySpec, ProductQuery>;
|
|
610
|
+
declare const Filter: _wix_sdk_types.FilterFactory<Product, ProductQuerySpec>;
|
|
611
|
+
declare const Sort: _wix_sdk_types.SortFactory<ProductQuerySpec>;
|
|
550
612
|
/**
|
|
551
613
|
* create multiple products in a single request. Works synchronously
|
|
552
614
|
* @public
|
|
@@ -577,4 +639,4 @@ interface BulkUpdateProductsOptions {
|
|
|
577
639
|
*/
|
|
578
640
|
declare function bulkDeleteProducts(productIds: string[]): Promise<NonNullablePaths<BulkDeleteProductsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
579
641
|
|
|
580
|
-
export { type Address, type AddressLocation, type AddressStreetOneOf, type ApplicationError, type BulkActionMetadata, type BulkCreateProductsOptions, type BulkCreateProductsRequest, type BulkCreateProductsResponse, type BulkDeleteProductsRequest, type BulkDeleteProductsResponse, type BulkDeleteProductsResponseBulkProductResult, type BulkProductResult, type BulkUpdateProductsOptions, type BulkUpdateProductsRequest, type BulkUpdateProductsResponse, type BulkUpdateProductsResponseBulkProductResult, type CountProductsOptions, type CountProductsRequest, type CountProductsResponse, type CreateProductApplicationErrors, type CreateProductOptions, type CreateProductRequest, type CreateProductResponse, type CursorPaging, type Cursors, type DeleteProductRequest, type DeleteProductResponse, type FocalPoint, type GetProductRequest, type GetProductResponse, type GetProductsStartWithOptions, type GetProductsStartWithRequest, type GetProductsStartWithResponse, type ItemMetadata, LinkRel, type LinkRelWithLiterals, type MaskedProduct, type MyAddress, type PageLink, type Paging, type PagingMetadataV2, type Product, type ProductsQueryBuilder, type ProductsQueryResult, type QueryProductsOptions, type QueryProductsRequest, type QueryProductsResponse, type QueryV2, type QueryV2PagingMethodOneOf, type ResetProductsDbRequest, type ResetProductsDbResponse, SortOrder, type SortOrderWithLiterals, type Sorting, type StandardDetails, type StreetAddress, type Subdivision, SubdivisionType, type SubdivisionTypeWithLiterals, type UpdateProductOptions, type UpdateProductRequest, type UpdateProductResponse, type Variant, type VideoResolution, bulkCreateProducts, bulkDeleteProducts, bulkUpdateProducts, countProducts, createProduct, deleteProduct, getProduct, getProductsStartWith, queryProducts, typedQueryProducts, updateProduct };
|
|
642
|
+
export { type Address, type AddressLocation, type AddressStreetOneOf, type ApplicationError, type BulkActionMetadata, type BulkCreateProductsOptions, type BulkCreateProductsRequest, type BulkCreateProductsResponse, type BulkDeleteProductsRequest, type BulkDeleteProductsResponse, type BulkDeleteProductsResponseBulkProductResult, type BulkProductResult, type BulkUpdateProductsOptions, type BulkUpdateProductsRequest, type BulkUpdateProductsResponse, type BulkUpdateProductsResponseBulkProductResult, type CommonQueryWithEntityContext, type CountProductsOptions, type CountProductsRequest, type CountProductsResponse, type CreateProductApplicationErrors, type CreateProductOptions, type CreateProductRequest, type CreateProductResponse, type CursorPaging, type Cursors, type DeleteProductRequest, type DeleteProductResponse, Filter, type FocalPoint, type GetProductRequest, type GetProductResponse, type GetProductsStartWithOptions, type GetProductsStartWithRequest, type GetProductsStartWithResponse, type ItemMetadata, LinkRel, type LinkRelWithLiterals, type MaskedProduct, type MyAddress, type PageLink, type Paging, type PagingMetadataV2, type Product, type ProductQuery, type ProductQuerySpec, type ProductsQueryBuilder, type ProductsQueryResult, QueryBuilder, type QueryProductsOptions, type QueryProductsRequest, type QueryProductsResponse, type QueryV2, type QueryV2PagingMethodOneOf, type ResetProductsDbRequest, type ResetProductsDbResponse, Sort, SortOrder, type SortOrderWithLiterals, type Sorting, type StandardDetails, type StreetAddress, type Subdivision, SubdivisionType, type SubdivisionTypeWithLiterals, type UpdateProductOptions, type UpdateProductRequest, type UpdateProductResponse, type Variant, type VideoResolution, bulkCreateProducts, bulkDeleteProducts, bulkUpdateProducts, countProducts, createProduct, deleteProduct, getProduct, getProductsStartWith, queryProducts, typedQueryProducts, updateProduct };
|
|
@@ -18,202 +18,42 @@ import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
|
|
|
18
18
|
function resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl(opts) {
|
|
19
19
|
const domainToMappings = {
|
|
20
20
|
"apps._base_domain_": [
|
|
21
|
-
{
|
|
22
|
-
srcPath: "/_api/metro-inspector",
|
|
23
|
-
destPath: "/api"
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
srcPath: "/_api/metro-inspector",
|
|
27
|
-
destPath: "/api"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
srcPath: "/_api/metro-inspector",
|
|
31
|
-
destPath: "/api"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
srcPath: "/_api/metro-inspector",
|
|
35
|
-
destPath: "/api"
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
srcPath: "/_api/metro-inspector",
|
|
39
|
-
destPath: "/api"
|
|
40
|
-
},
|
|
41
21
|
{
|
|
42
22
|
srcPath: "/_api/metro-inspector",
|
|
43
23
|
destPath: "/api"
|
|
44
24
|
}
|
|
45
25
|
],
|
|
46
26
|
"api._api_base_domain_": [
|
|
47
|
-
{
|
|
48
|
-
srcPath: "/metro-inspector",
|
|
49
|
-
destPath: ""
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
srcPath: "/metro-inspector",
|
|
53
|
-
destPath: ""
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
srcPath: "/metro-inspector",
|
|
57
|
-
destPath: ""
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
srcPath: "/metro-inspector",
|
|
61
|
-
destPath: ""
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
srcPath: "/metro-inspector",
|
|
65
|
-
destPath: ""
|
|
66
|
-
},
|
|
67
27
|
{
|
|
68
28
|
srcPath: "/metro-inspector",
|
|
69
29
|
destPath: ""
|
|
70
30
|
}
|
|
71
31
|
],
|
|
72
32
|
"www._base_domain_": [
|
|
73
|
-
{
|
|
74
|
-
srcPath: "/metro-inspector",
|
|
75
|
-
destPath: "/api"
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
srcPath: "/metro-inspector",
|
|
79
|
-
destPath: "/api"
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
srcPath: "/metro-inspector",
|
|
83
|
-
destPath: "/api"
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
srcPath: "/metro-inspector",
|
|
87
|
-
destPath: "/api"
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
srcPath: "/metro-inspector",
|
|
91
|
-
destPath: "/api"
|
|
92
|
-
},
|
|
93
33
|
{
|
|
94
34
|
srcPath: "/metro-inspector",
|
|
95
35
|
destPath: "/api"
|
|
96
36
|
}
|
|
97
37
|
],
|
|
98
38
|
"manage._base_domain_": [
|
|
99
|
-
{
|
|
100
|
-
srcPath: "/metro-inspector",
|
|
101
|
-
destPath: ""
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
srcPath: "/metro-inspector",
|
|
105
|
-
destPath: ""
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
srcPath: "/metro-inspector",
|
|
109
|
-
destPath: ""
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
srcPath: "/metro-inspector",
|
|
113
|
-
destPath: ""
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
srcPath: "/metro-inspector",
|
|
117
|
-
destPath: ""
|
|
118
|
-
},
|
|
119
39
|
{
|
|
120
40
|
srcPath: "/metro-inspector",
|
|
121
41
|
destPath: ""
|
|
122
42
|
}
|
|
123
43
|
],
|
|
124
44
|
"www.wixgateway.com": [
|
|
125
|
-
{
|
|
126
|
-
srcPath: "/_api/metro-inspector",
|
|
127
|
-
destPath: "/api"
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
srcPath: "/_api/metro-inspector",
|
|
131
|
-
destPath: "/api"
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
srcPath: "/_api/metro-inspector",
|
|
135
|
-
destPath: "/api"
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
srcPath: "/_api/metro-inspector",
|
|
139
|
-
destPath: "/api"
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
srcPath: "/_api/metro-inspector",
|
|
143
|
-
destPath: "/api"
|
|
144
|
-
},
|
|
145
45
|
{
|
|
146
46
|
srcPath: "/_api/metro-inspector",
|
|
147
47
|
destPath: "/api"
|
|
148
48
|
}
|
|
149
49
|
],
|
|
150
50
|
_: [
|
|
151
|
-
{
|
|
152
|
-
srcPath: "/_api/metro-inspector",
|
|
153
|
-
destPath: "/api"
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
srcPath: "/_api/metro-inspector",
|
|
157
|
-
destPath: "/api"
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
srcPath: "/_api/metro-inspector",
|
|
161
|
-
destPath: "/api"
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
srcPath: "/_api/metro-inspector",
|
|
165
|
-
destPath: "/api"
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
srcPath: "/_api/metro-inspector",
|
|
169
|
-
destPath: "/api"
|
|
170
|
-
},
|
|
171
51
|
{
|
|
172
52
|
srcPath: "/_api/metro-inspector",
|
|
173
53
|
destPath: "/api"
|
|
174
54
|
}
|
|
175
55
|
],
|
|
176
56
|
"www.wixapis.com": [
|
|
177
|
-
{
|
|
178
|
-
srcPath: "/_api/metro-inspector",
|
|
179
|
-
destPath: "/api"
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
srcPath: "/metro-inspector",
|
|
183
|
-
destPath: ""
|
|
184
|
-
},
|
|
185
|
-
{
|
|
186
|
-
srcPath: "/_api/metro-inspector",
|
|
187
|
-
destPath: "/api"
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
srcPath: "/metro-inspector",
|
|
191
|
-
destPath: ""
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
srcPath: "/_api/metro-inspector",
|
|
195
|
-
destPath: "/api"
|
|
196
|
-
},
|
|
197
|
-
{
|
|
198
|
-
srcPath: "/metro-inspector",
|
|
199
|
-
destPath: ""
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
srcPath: "/_api/metro-inspector",
|
|
203
|
-
destPath: "/api"
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
srcPath: "/metro-inspector",
|
|
207
|
-
destPath: ""
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
srcPath: "/_api/metro-inspector",
|
|
211
|
-
destPath: "/api"
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
srcPath: "/metro-inspector",
|
|
215
|
-
destPath: ""
|
|
216
|
-
},
|
|
217
57
|
{
|
|
218
58
|
srcPath: "/_api/metro-inspector",
|
|
219
59
|
destPath: "/api"
|
|
@@ -224,46 +64,6 @@ function resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl(opts)
|
|
|
224
64
|
}
|
|
225
65
|
],
|
|
226
66
|
"editor._base_domain_": [
|
|
227
|
-
{
|
|
228
|
-
srcPath: "/metro-insepctor",
|
|
229
|
-
destPath: ""
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
srcPath: "/_api/metro-inspector",
|
|
233
|
-
destPath: "/api"
|
|
234
|
-
},
|
|
235
|
-
{
|
|
236
|
-
srcPath: "/metro-insepctor",
|
|
237
|
-
destPath: ""
|
|
238
|
-
},
|
|
239
|
-
{
|
|
240
|
-
srcPath: "/_api/metro-inspector",
|
|
241
|
-
destPath: "/api"
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
srcPath: "/metro-insepctor",
|
|
245
|
-
destPath: ""
|
|
246
|
-
},
|
|
247
|
-
{
|
|
248
|
-
srcPath: "/_api/metro-inspector",
|
|
249
|
-
destPath: "/api"
|
|
250
|
-
},
|
|
251
|
-
{
|
|
252
|
-
srcPath: "/metro-insepctor",
|
|
253
|
-
destPath: ""
|
|
254
|
-
},
|
|
255
|
-
{
|
|
256
|
-
srcPath: "/_api/metro-inspector",
|
|
257
|
-
destPath: "/api"
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
srcPath: "/metro-insepctor",
|
|
261
|
-
destPath: ""
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
srcPath: "/_api/metro-inspector",
|
|
265
|
-
destPath: "/api"
|
|
266
|
-
},
|
|
267
67
|
{
|
|
268
68
|
srcPath: "/metro-insepctor",
|
|
269
69
|
destPath: ""
|
|
@@ -274,46 +74,6 @@ function resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl(opts)
|
|
|
274
74
|
}
|
|
275
75
|
],
|
|
276
76
|
"blocks._base_domain_": [
|
|
277
|
-
{
|
|
278
|
-
srcPath: "/metro-insepctor",
|
|
279
|
-
destPath: ""
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
srcPath: "/_api/metro-inspector",
|
|
283
|
-
destPath: "/api"
|
|
284
|
-
},
|
|
285
|
-
{
|
|
286
|
-
srcPath: "/metro-insepctor",
|
|
287
|
-
destPath: ""
|
|
288
|
-
},
|
|
289
|
-
{
|
|
290
|
-
srcPath: "/_api/metro-inspector",
|
|
291
|
-
destPath: "/api"
|
|
292
|
-
},
|
|
293
|
-
{
|
|
294
|
-
srcPath: "/metro-insepctor",
|
|
295
|
-
destPath: ""
|
|
296
|
-
},
|
|
297
|
-
{
|
|
298
|
-
srcPath: "/_api/metro-inspector",
|
|
299
|
-
destPath: "/api"
|
|
300
|
-
},
|
|
301
|
-
{
|
|
302
|
-
srcPath: "/metro-insepctor",
|
|
303
|
-
destPath: ""
|
|
304
|
-
},
|
|
305
|
-
{
|
|
306
|
-
srcPath: "/_api/metro-inspector",
|
|
307
|
-
destPath: "/api"
|
|
308
|
-
},
|
|
309
|
-
{
|
|
310
|
-
srcPath: "/metro-insepctor",
|
|
311
|
-
destPath: ""
|
|
312
|
-
},
|
|
313
|
-
{
|
|
314
|
-
srcPath: "/_api/metro-inspector",
|
|
315
|
-
destPath: "/api"
|
|
316
|
-
},
|
|
317
77
|
{
|
|
318
78
|
srcPath: "/metro-insepctor",
|
|
319
79
|
destPath: ""
|
|
@@ -324,46 +84,6 @@ function resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl(opts)
|
|
|
324
84
|
}
|
|
325
85
|
],
|
|
326
86
|
"create.editorx": [
|
|
327
|
-
{
|
|
328
|
-
srcPath: "/metro-insepctor",
|
|
329
|
-
destPath: ""
|
|
330
|
-
},
|
|
331
|
-
{
|
|
332
|
-
srcPath: "/_api/metro-inspector",
|
|
333
|
-
destPath: "/api"
|
|
334
|
-
},
|
|
335
|
-
{
|
|
336
|
-
srcPath: "/metro-insepctor",
|
|
337
|
-
destPath: ""
|
|
338
|
-
},
|
|
339
|
-
{
|
|
340
|
-
srcPath: "/_api/metro-inspector",
|
|
341
|
-
destPath: "/api"
|
|
342
|
-
},
|
|
343
|
-
{
|
|
344
|
-
srcPath: "/metro-insepctor",
|
|
345
|
-
destPath: ""
|
|
346
|
-
},
|
|
347
|
-
{
|
|
348
|
-
srcPath: "/_api/metro-inspector",
|
|
349
|
-
destPath: "/api"
|
|
350
|
-
},
|
|
351
|
-
{
|
|
352
|
-
srcPath: "/metro-insepctor",
|
|
353
|
-
destPath: ""
|
|
354
|
-
},
|
|
355
|
-
{
|
|
356
|
-
srcPath: "/_api/metro-inspector",
|
|
357
|
-
destPath: "/api"
|
|
358
|
-
},
|
|
359
|
-
{
|
|
360
|
-
srcPath: "/metro-insepctor",
|
|
361
|
-
destPath: ""
|
|
362
|
-
},
|
|
363
|
-
{
|
|
364
|
-
srcPath: "/_api/metro-inspector",
|
|
365
|
-
destPath: "/api"
|
|
366
|
-
},
|
|
367
87
|
{
|
|
368
88
|
srcPath: "/metro-insepctor",
|
|
369
89
|
destPath: ""
|
|
@@ -377,23 +97,21 @@ function resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl(opts)
|
|
|
377
97
|
{
|
|
378
98
|
srcPath: "/_api/metro-inspector",
|
|
379
99
|
destPath: ""
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
destPath: ""
|
|
384
|
-
},
|
|
385
|
-
{
|
|
386
|
-
srcPath: "/_api/metro-inspector",
|
|
387
|
-
destPath: ""
|
|
388
|
-
},
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
"bo._base_domain_": [
|
|
389
103
|
{
|
|
390
104
|
srcPath: "/_api/metro-inspector",
|
|
391
105
|
destPath: ""
|
|
392
|
-
}
|
|
106
|
+
}
|
|
107
|
+
],
|
|
108
|
+
"wixbo.ai": [
|
|
393
109
|
{
|
|
394
110
|
srcPath: "/_api/metro-inspector",
|
|
395
111
|
destPath: ""
|
|
396
|
-
}
|
|
112
|
+
}
|
|
113
|
+
],
|
|
114
|
+
"wix-bo.com": [
|
|
397
115
|
{
|
|
398
116
|
srcPath: "/_api/metro-inspector",
|
|
399
117
|
destPath: ""
|
|
@@ -1067,6 +785,7 @@ import { transformRESTVideoV2ToSDKVideoV2 } from "@wix/sdk-runtime/transformatio
|
|
|
1067
785
|
import { transformSDKDocumentToRESTDocument } from "@wix/sdk-runtime/transformations/document";
|
|
1068
786
|
import { transformRESTDocumentToSDKDocument } from "@wix/sdk-runtime/transformations/document";
|
|
1069
787
|
import { transformPaths as transformPaths2 } from "@wix/sdk-runtime/transformations/transform-paths";
|
|
788
|
+
import { createQueryUtils } from "@wix/sdk-runtime/query-builder-utils";
|
|
1070
789
|
var SubdivisionType = /* @__PURE__ */ ((SubdivisionType2) => {
|
|
1071
790
|
SubdivisionType2["UNKNOWN_SUBDIVISION_TYPE"] = "UNKNOWN_SUBDIVISION_TYPE";
|
|
1072
791
|
SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_1"] = "ADMINISTRATIVE_AREA_LEVEL_1";
|
|
@@ -1561,6 +1280,7 @@ async function typedQueryProducts(query, options) {
|
|
|
1561
1280
|
throw transformedError;
|
|
1562
1281
|
}
|
|
1563
1282
|
}
|
|
1283
|
+
var { QueryBuilder, Filter, Sort } = createQueryUtils();
|
|
1564
1284
|
async function bulkCreateProducts2(products, options) {
|
|
1565
1285
|
const { httpClient, sideEffects } = arguments[2];
|
|
1566
1286
|
const payload = transformPaths2(
|
|
@@ -1767,7 +1487,10 @@ async function bulkDeleteProducts2(productIds) {
|
|
|
1767
1487
|
}
|
|
1768
1488
|
}
|
|
1769
1489
|
export {
|
|
1490
|
+
Filter,
|
|
1770
1491
|
LinkRel,
|
|
1492
|
+
QueryBuilder,
|
|
1493
|
+
Sort,
|
|
1771
1494
|
SortOrder,
|
|
1772
1495
|
SubdivisionType,
|
|
1773
1496
|
bulkCreateProducts2 as bulkCreateProducts,
|