@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 };
|
|
@@ -20,7 +20,10 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// index.typings.ts
|
|
21
21
|
var index_typings_exports = {};
|
|
22
22
|
__export(index_typings_exports, {
|
|
23
|
+
Filter: () => Filter,
|
|
23
24
|
LinkRel: () => LinkRel,
|
|
25
|
+
QueryBuilder: () => QueryBuilder,
|
|
26
|
+
Sort: () => Sort,
|
|
24
27
|
SortOrder: () => SortOrder,
|
|
25
28
|
SubdivisionType: () => SubdivisionType,
|
|
26
29
|
bulkCreateProducts: () => bulkCreateProducts2,
|
|
@@ -54,202 +57,42 @@ var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
|
|
|
54
57
|
function resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl(opts) {
|
|
55
58
|
const domainToMappings = {
|
|
56
59
|
"apps._base_domain_": [
|
|
57
|
-
{
|
|
58
|
-
srcPath: "/_api/metro-inspector",
|
|
59
|
-
destPath: "/api"
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
srcPath: "/_api/metro-inspector",
|
|
63
|
-
destPath: "/api"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
srcPath: "/_api/metro-inspector",
|
|
67
|
-
destPath: "/api"
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
srcPath: "/_api/metro-inspector",
|
|
71
|
-
destPath: "/api"
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
srcPath: "/_api/metro-inspector",
|
|
75
|
-
destPath: "/api"
|
|
76
|
-
},
|
|
77
60
|
{
|
|
78
61
|
srcPath: "/_api/metro-inspector",
|
|
79
62
|
destPath: "/api"
|
|
80
63
|
}
|
|
81
64
|
],
|
|
82
65
|
"api._api_base_domain_": [
|
|
83
|
-
{
|
|
84
|
-
srcPath: "/metro-inspector",
|
|
85
|
-
destPath: ""
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
srcPath: "/metro-inspector",
|
|
89
|
-
destPath: ""
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
srcPath: "/metro-inspector",
|
|
93
|
-
destPath: ""
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
srcPath: "/metro-inspector",
|
|
97
|
-
destPath: ""
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
srcPath: "/metro-inspector",
|
|
101
|
-
destPath: ""
|
|
102
|
-
},
|
|
103
66
|
{
|
|
104
67
|
srcPath: "/metro-inspector",
|
|
105
68
|
destPath: ""
|
|
106
69
|
}
|
|
107
70
|
],
|
|
108
71
|
"www._base_domain_": [
|
|
109
|
-
{
|
|
110
|
-
srcPath: "/metro-inspector",
|
|
111
|
-
destPath: "/api"
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
srcPath: "/metro-inspector",
|
|
115
|
-
destPath: "/api"
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
srcPath: "/metro-inspector",
|
|
119
|
-
destPath: "/api"
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
srcPath: "/metro-inspector",
|
|
123
|
-
destPath: "/api"
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
srcPath: "/metro-inspector",
|
|
127
|
-
destPath: "/api"
|
|
128
|
-
},
|
|
129
72
|
{
|
|
130
73
|
srcPath: "/metro-inspector",
|
|
131
74
|
destPath: "/api"
|
|
132
75
|
}
|
|
133
76
|
],
|
|
134
77
|
"manage._base_domain_": [
|
|
135
|
-
{
|
|
136
|
-
srcPath: "/metro-inspector",
|
|
137
|
-
destPath: ""
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
srcPath: "/metro-inspector",
|
|
141
|
-
destPath: ""
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
srcPath: "/metro-inspector",
|
|
145
|
-
destPath: ""
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
srcPath: "/metro-inspector",
|
|
149
|
-
destPath: ""
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
srcPath: "/metro-inspector",
|
|
153
|
-
destPath: ""
|
|
154
|
-
},
|
|
155
78
|
{
|
|
156
79
|
srcPath: "/metro-inspector",
|
|
157
80
|
destPath: ""
|
|
158
81
|
}
|
|
159
82
|
],
|
|
160
83
|
"www.wixgateway.com": [
|
|
161
|
-
{
|
|
162
|
-
srcPath: "/_api/metro-inspector",
|
|
163
|
-
destPath: "/api"
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
srcPath: "/_api/metro-inspector",
|
|
167
|
-
destPath: "/api"
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
srcPath: "/_api/metro-inspector",
|
|
171
|
-
destPath: "/api"
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
srcPath: "/_api/metro-inspector",
|
|
175
|
-
destPath: "/api"
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
srcPath: "/_api/metro-inspector",
|
|
179
|
-
destPath: "/api"
|
|
180
|
-
},
|
|
181
84
|
{
|
|
182
85
|
srcPath: "/_api/metro-inspector",
|
|
183
86
|
destPath: "/api"
|
|
184
87
|
}
|
|
185
88
|
],
|
|
186
89
|
_: [
|
|
187
|
-
{
|
|
188
|
-
srcPath: "/_api/metro-inspector",
|
|
189
|
-
destPath: "/api"
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
srcPath: "/_api/metro-inspector",
|
|
193
|
-
destPath: "/api"
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
srcPath: "/_api/metro-inspector",
|
|
197
|
-
destPath: "/api"
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
srcPath: "/_api/metro-inspector",
|
|
201
|
-
destPath: "/api"
|
|
202
|
-
},
|
|
203
|
-
{
|
|
204
|
-
srcPath: "/_api/metro-inspector",
|
|
205
|
-
destPath: "/api"
|
|
206
|
-
},
|
|
207
90
|
{
|
|
208
91
|
srcPath: "/_api/metro-inspector",
|
|
209
92
|
destPath: "/api"
|
|
210
93
|
}
|
|
211
94
|
],
|
|
212
95
|
"www.wixapis.com": [
|
|
213
|
-
{
|
|
214
|
-
srcPath: "/_api/metro-inspector",
|
|
215
|
-
destPath: "/api"
|
|
216
|
-
},
|
|
217
|
-
{
|
|
218
|
-
srcPath: "/metro-inspector",
|
|
219
|
-
destPath: ""
|
|
220
|
-
},
|
|
221
|
-
{
|
|
222
|
-
srcPath: "/_api/metro-inspector",
|
|
223
|
-
destPath: "/api"
|
|
224
|
-
},
|
|
225
|
-
{
|
|
226
|
-
srcPath: "/metro-inspector",
|
|
227
|
-
destPath: ""
|
|
228
|
-
},
|
|
229
|
-
{
|
|
230
|
-
srcPath: "/_api/metro-inspector",
|
|
231
|
-
destPath: "/api"
|
|
232
|
-
},
|
|
233
|
-
{
|
|
234
|
-
srcPath: "/metro-inspector",
|
|
235
|
-
destPath: ""
|
|
236
|
-
},
|
|
237
|
-
{
|
|
238
|
-
srcPath: "/_api/metro-inspector",
|
|
239
|
-
destPath: "/api"
|
|
240
|
-
},
|
|
241
|
-
{
|
|
242
|
-
srcPath: "/metro-inspector",
|
|
243
|
-
destPath: ""
|
|
244
|
-
},
|
|
245
|
-
{
|
|
246
|
-
srcPath: "/_api/metro-inspector",
|
|
247
|
-
destPath: "/api"
|
|
248
|
-
},
|
|
249
|
-
{
|
|
250
|
-
srcPath: "/metro-inspector",
|
|
251
|
-
destPath: ""
|
|
252
|
-
},
|
|
253
96
|
{
|
|
254
97
|
srcPath: "/_api/metro-inspector",
|
|
255
98
|
destPath: "/api"
|
|
@@ -260,46 +103,6 @@ function resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl(opts)
|
|
|
260
103
|
}
|
|
261
104
|
],
|
|
262
105
|
"editor._base_domain_": [
|
|
263
|
-
{
|
|
264
|
-
srcPath: "/metro-insepctor",
|
|
265
|
-
destPath: ""
|
|
266
|
-
},
|
|
267
|
-
{
|
|
268
|
-
srcPath: "/_api/metro-inspector",
|
|
269
|
-
destPath: "/api"
|
|
270
|
-
},
|
|
271
|
-
{
|
|
272
|
-
srcPath: "/metro-insepctor",
|
|
273
|
-
destPath: ""
|
|
274
|
-
},
|
|
275
|
-
{
|
|
276
|
-
srcPath: "/_api/metro-inspector",
|
|
277
|
-
destPath: "/api"
|
|
278
|
-
},
|
|
279
|
-
{
|
|
280
|
-
srcPath: "/metro-insepctor",
|
|
281
|
-
destPath: ""
|
|
282
|
-
},
|
|
283
|
-
{
|
|
284
|
-
srcPath: "/_api/metro-inspector",
|
|
285
|
-
destPath: "/api"
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
srcPath: "/metro-insepctor",
|
|
289
|
-
destPath: ""
|
|
290
|
-
},
|
|
291
|
-
{
|
|
292
|
-
srcPath: "/_api/metro-inspector",
|
|
293
|
-
destPath: "/api"
|
|
294
|
-
},
|
|
295
|
-
{
|
|
296
|
-
srcPath: "/metro-insepctor",
|
|
297
|
-
destPath: ""
|
|
298
|
-
},
|
|
299
|
-
{
|
|
300
|
-
srcPath: "/_api/metro-inspector",
|
|
301
|
-
destPath: "/api"
|
|
302
|
-
},
|
|
303
106
|
{
|
|
304
107
|
srcPath: "/metro-insepctor",
|
|
305
108
|
destPath: ""
|
|
@@ -310,46 +113,6 @@ function resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl(opts)
|
|
|
310
113
|
}
|
|
311
114
|
],
|
|
312
115
|
"blocks._base_domain_": [
|
|
313
|
-
{
|
|
314
|
-
srcPath: "/metro-insepctor",
|
|
315
|
-
destPath: ""
|
|
316
|
-
},
|
|
317
|
-
{
|
|
318
|
-
srcPath: "/_api/metro-inspector",
|
|
319
|
-
destPath: "/api"
|
|
320
|
-
},
|
|
321
|
-
{
|
|
322
|
-
srcPath: "/metro-insepctor",
|
|
323
|
-
destPath: ""
|
|
324
|
-
},
|
|
325
|
-
{
|
|
326
|
-
srcPath: "/_api/metro-inspector",
|
|
327
|
-
destPath: "/api"
|
|
328
|
-
},
|
|
329
|
-
{
|
|
330
|
-
srcPath: "/metro-insepctor",
|
|
331
|
-
destPath: ""
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
srcPath: "/_api/metro-inspector",
|
|
335
|
-
destPath: "/api"
|
|
336
|
-
},
|
|
337
|
-
{
|
|
338
|
-
srcPath: "/metro-insepctor",
|
|
339
|
-
destPath: ""
|
|
340
|
-
},
|
|
341
|
-
{
|
|
342
|
-
srcPath: "/_api/metro-inspector",
|
|
343
|
-
destPath: "/api"
|
|
344
|
-
},
|
|
345
|
-
{
|
|
346
|
-
srcPath: "/metro-insepctor",
|
|
347
|
-
destPath: ""
|
|
348
|
-
},
|
|
349
|
-
{
|
|
350
|
-
srcPath: "/_api/metro-inspector",
|
|
351
|
-
destPath: "/api"
|
|
352
|
-
},
|
|
353
116
|
{
|
|
354
117
|
srcPath: "/metro-insepctor",
|
|
355
118
|
destPath: ""
|
|
@@ -360,46 +123,6 @@ function resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl(opts)
|
|
|
360
123
|
}
|
|
361
124
|
],
|
|
362
125
|
"create.editorx": [
|
|
363
|
-
{
|
|
364
|
-
srcPath: "/metro-insepctor",
|
|
365
|
-
destPath: ""
|
|
366
|
-
},
|
|
367
|
-
{
|
|
368
|
-
srcPath: "/_api/metro-inspector",
|
|
369
|
-
destPath: "/api"
|
|
370
|
-
},
|
|
371
|
-
{
|
|
372
|
-
srcPath: "/metro-insepctor",
|
|
373
|
-
destPath: ""
|
|
374
|
-
},
|
|
375
|
-
{
|
|
376
|
-
srcPath: "/_api/metro-inspector",
|
|
377
|
-
destPath: "/api"
|
|
378
|
-
},
|
|
379
|
-
{
|
|
380
|
-
srcPath: "/metro-insepctor",
|
|
381
|
-
destPath: ""
|
|
382
|
-
},
|
|
383
|
-
{
|
|
384
|
-
srcPath: "/_api/metro-inspector",
|
|
385
|
-
destPath: "/api"
|
|
386
|
-
},
|
|
387
|
-
{
|
|
388
|
-
srcPath: "/metro-insepctor",
|
|
389
|
-
destPath: ""
|
|
390
|
-
},
|
|
391
|
-
{
|
|
392
|
-
srcPath: "/_api/metro-inspector",
|
|
393
|
-
destPath: "/api"
|
|
394
|
-
},
|
|
395
|
-
{
|
|
396
|
-
srcPath: "/metro-insepctor",
|
|
397
|
-
destPath: ""
|
|
398
|
-
},
|
|
399
|
-
{
|
|
400
|
-
srcPath: "/_api/metro-inspector",
|
|
401
|
-
destPath: "/api"
|
|
402
|
-
},
|
|
403
126
|
{
|
|
404
127
|
srcPath: "/metro-insepctor",
|
|
405
128
|
destPath: ""
|
|
@@ -413,23 +136,21 @@ function resolveWixCoreservicesMetroinspectorV1ProductsProductsServiceUrl(opts)
|
|
|
413
136
|
{
|
|
414
137
|
srcPath: "/_api/metro-inspector",
|
|
415
138
|
destPath: ""
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
destPath: ""
|
|
420
|
-
},
|
|
421
|
-
{
|
|
422
|
-
srcPath: "/_api/metro-inspector",
|
|
423
|
-
destPath: ""
|
|
424
|
-
},
|
|
139
|
+
}
|
|
140
|
+
],
|
|
141
|
+
"bo._base_domain_": [
|
|
425
142
|
{
|
|
426
143
|
srcPath: "/_api/metro-inspector",
|
|
427
144
|
destPath: ""
|
|
428
|
-
}
|
|
145
|
+
}
|
|
146
|
+
],
|
|
147
|
+
"wixbo.ai": [
|
|
429
148
|
{
|
|
430
149
|
srcPath: "/_api/metro-inspector",
|
|
431
150
|
destPath: ""
|
|
432
|
-
}
|
|
151
|
+
}
|
|
152
|
+
],
|
|
153
|
+
"wix-bo.com": [
|
|
433
154
|
{
|
|
434
155
|
srcPath: "/_api/metro-inspector",
|
|
435
156
|
destPath: ""
|
|
@@ -1103,6 +824,7 @@ var import_video_v22 = require("@wix/sdk-runtime/transformations/video-v2");
|
|
|
1103
824
|
var import_document = require("@wix/sdk-runtime/transformations/document");
|
|
1104
825
|
var import_document2 = require("@wix/sdk-runtime/transformations/document");
|
|
1105
826
|
var import_transform_paths2 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
827
|
+
var import_query_builder_utils = require("@wix/sdk-runtime/query-builder-utils");
|
|
1106
828
|
var SubdivisionType = /* @__PURE__ */ ((SubdivisionType2) => {
|
|
1107
829
|
SubdivisionType2["UNKNOWN_SUBDIVISION_TYPE"] = "UNKNOWN_SUBDIVISION_TYPE";
|
|
1108
830
|
SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_1"] = "ADMINISTRATIVE_AREA_LEVEL_1";
|
|
@@ -1597,6 +1319,7 @@ async function typedQueryProducts(query, options) {
|
|
|
1597
1319
|
throw transformedError;
|
|
1598
1320
|
}
|
|
1599
1321
|
}
|
|
1322
|
+
var { QueryBuilder, Filter, Sort } = (0, import_query_builder_utils.createQueryUtils)();
|
|
1600
1323
|
async function bulkCreateProducts2(products, options) {
|
|
1601
1324
|
const { httpClient, sideEffects } = arguments[2];
|
|
1602
1325
|
const payload = (0, import_transform_paths2.transformPaths)(
|
|
@@ -1804,7 +1527,10 @@ async function bulkDeleteProducts2(productIds) {
|
|
|
1804
1527
|
}
|
|
1805
1528
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1806
1529
|
0 && (module.exports = {
|
|
1530
|
+
Filter,
|
|
1807
1531
|
LinkRel,
|
|
1532
|
+
QueryBuilder,
|
|
1533
|
+
Sort,
|
|
1808
1534
|
SortOrder,
|
|
1809
1535
|
SubdivisionType,
|
|
1810
1536
|
bulkCreateProducts,
|