@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.
Files changed (55) hide show
  1. package/build/cjs/context.d.ts +1 -0
  2. package/build/cjs/{index.typings.js → context.js} +7 -3
  3. package/build/cjs/context.js.map +1 -0
  4. package/build/cjs/index.d.ts +1 -1
  5. package/build/cjs/index.js +6 -2
  6. package/build/cjs/index.js.map +1 -1
  7. package/build/cjs/meta.d.ts +1 -1
  8. package/build/cjs/meta.js +6 -2
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/context.d.ts +1 -0
  11. package/build/es/context.js +2 -0
  12. package/build/es/context.js.map +1 -0
  13. package/build/es/index.d.ts +1 -1
  14. package/build/es/index.js +1 -1
  15. package/build/es/index.js.map +1 -1
  16. package/build/es/meta.d.ts +1 -1
  17. package/build/es/meta.js +1 -1
  18. package/build/es/meta.js.map +1 -1
  19. package/context/package.json +6 -0
  20. package/package.json +15 -7
  21. package/build/cjs/index.typings.d.ts +0 -1
  22. package/build/cjs/index.typings.js.map +0 -1
  23. package/build/cjs/src/metroinspector-v1-product.http.d.ts +0 -10
  24. package/build/cjs/src/metroinspector-v1-product.http.js +0 -315
  25. package/build/cjs/src/metroinspector-v1-product.http.js.map +0 -1
  26. package/build/cjs/src/metroinspector-v1-product.meta.d.ts +0 -26
  27. package/build/cjs/src/metroinspector-v1-product.meta.js +0 -138
  28. package/build/cjs/src/metroinspector-v1-product.meta.js.map +0 -1
  29. package/build/cjs/src/metroinspector-v1-product.public.d.ts +0 -79
  30. package/build/cjs/src/metroinspector-v1-product.public.js +0 -46
  31. package/build/cjs/src/metroinspector-v1-product.public.js.map +0 -1
  32. package/build/cjs/src/metroinspector-v1-product.types.d.ts +0 -735
  33. package/build/cjs/src/metroinspector-v1-product.types.js +0 -43
  34. package/build/cjs/src/metroinspector-v1-product.types.js.map +0 -1
  35. package/build/cjs/src/metroinspector-v1-product.universal.d.ts +0 -492
  36. package/build/cjs/src/metroinspector-v1-product.universal.js +0 -464
  37. package/build/cjs/src/metroinspector-v1-product.universal.js.map +0 -1
  38. package/build/es/index.typings.d.ts +0 -1
  39. package/build/es/index.typings.js +0 -2
  40. package/build/es/index.typings.js.map +0 -1
  41. package/build/es/src/metroinspector-v1-product.http.d.ts +0 -10
  42. package/build/es/src/metroinspector-v1-product.http.js +0 -306
  43. package/build/es/src/metroinspector-v1-product.http.js.map +0 -1
  44. package/build/es/src/metroinspector-v1-product.meta.d.ts +0 -26
  45. package/build/es/src/metroinspector-v1-product.meta.js +0 -110
  46. package/build/es/src/metroinspector-v1-product.meta.js.map +0 -1
  47. package/build/es/src/metroinspector-v1-product.public.d.ts +0 -79
  48. package/build/es/src/metroinspector-v1-product.public.js +0 -34
  49. package/build/es/src/metroinspector-v1-product.public.js.map +0 -1
  50. package/build/es/src/metroinspector-v1-product.types.d.ts +0 -735
  51. package/build/es/src/metroinspector-v1-product.types.js +0 -40
  52. package/build/es/src/metroinspector-v1-product.types.js.map +0 -1
  53. package/build/es/src/metroinspector-v1-product.universal.d.ts +0 -492
  54. package/build/es/src/metroinspector-v1-product.universal.js +0 -436
  55. package/build/es/src/metroinspector-v1-product.universal.js.map +0 -1
@@ -1,43 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SortOrder = exports.LinkRel = exports.SubdivisionType = void 0;
4
- var SubdivisionType;
5
- (function (SubdivisionType) {
6
- SubdivisionType["UNKNOWN_SUBDIVISION_TYPE"] = "UNKNOWN_SUBDIVISION_TYPE";
7
- /** State */
8
- SubdivisionType["ADMINISTRATIVE_AREA_LEVEL_1"] = "ADMINISTRATIVE_AREA_LEVEL_1";
9
- /** County */
10
- SubdivisionType["ADMINISTRATIVE_AREA_LEVEL_2"] = "ADMINISTRATIVE_AREA_LEVEL_2";
11
- /** City/town */
12
- SubdivisionType["ADMINISTRATIVE_AREA_LEVEL_3"] = "ADMINISTRATIVE_AREA_LEVEL_3";
13
- /** Neighborhood/quarter */
14
- SubdivisionType["ADMINISTRATIVE_AREA_LEVEL_4"] = "ADMINISTRATIVE_AREA_LEVEL_4";
15
- /** Street/block */
16
- SubdivisionType["ADMINISTRATIVE_AREA_LEVEL_5"] = "ADMINISTRATIVE_AREA_LEVEL_5";
17
- /** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
18
- SubdivisionType["COUNTRY"] = "COUNTRY";
19
- })(SubdivisionType = exports.SubdivisionType || (exports.SubdivisionType = {}));
20
- /**
21
- * The 'rel' attribute of the link. The rel attribute defines the relationship between a linked resource and the current document.
22
- * Further reading (also about different possible rel types): https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel
23
- * Following are the accepted 'rel' types by Wix applications.
24
- */
25
- var LinkRel;
26
- (function (LinkRel) {
27
- /** default (not implemented) */
28
- LinkRel["unknown_link_rel"] = "unknown_link_rel";
29
- /** Indicates that the current document's original author or publisher does not endorse the referenced document. */
30
- LinkRel["nofollow"] = "nofollow";
31
- /** Instructs the browser to navigate to the target resource without granting the new browsing context access to the document that opened it. */
32
- LinkRel["noopener"] = "noopener";
33
- /** No Referer header will be included. Additionally, has the same effect as noopener. */
34
- LinkRel["noreferrer"] = "noreferrer";
35
- /** Indicates a link that resulted from advertisements or paid placements. */
36
- LinkRel["sponsored"] = "sponsored";
37
- })(LinkRel = exports.LinkRel || (exports.LinkRel = {}));
38
- var SortOrder;
39
- (function (SortOrder) {
40
- SortOrder["ASC"] = "ASC";
41
- SortOrder["DESC"] = "DESC";
42
- })(SortOrder = exports.SortOrder || (exports.SortOrder = {}));
43
- //# sourceMappingURL=metroinspector-v1-product.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"metroinspector-v1-product.types.js","sourceRoot":"","sources":["../../../src/metroinspector-v1-product.types.ts"],"names":[],"mappings":";;;AA8FA,IAAY,eAcX;AAdD,WAAY,eAAe;IACzB,wEAAqD,CAAA;IACrD,YAAY;IACZ,8EAA2D,CAAA;IAC3D,aAAa;IACb,8EAA2D,CAAA;IAC3D,gBAAgB;IAChB,8EAA2D,CAAA;IAC3D,2BAA2B;IAC3B,8EAA2D,CAAA;IAC3D,mBAAmB;IACnB,8EAA2D,CAAA;IAC3D,8IAA8I;IAC9I,sCAAmB,CAAA;AACrB,CAAC,EAdW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAc1B;AA8CD;;;;GAIG;AACH,IAAY,OAWX;AAXD,WAAY,OAAO;IACjB,gCAAgC;IAChC,gDAAqC,CAAA;IACrC,mHAAmH;IACnH,gCAAqB,CAAA;IACrB,gJAAgJ;IAChJ,gCAAqB,CAAA;IACrB,yFAAyF;IACzF,oCAAyB,CAAA;IACzB,6EAA6E;IAC7E,kCAAuB,CAAA;AACzB,CAAC,EAXW,OAAO,GAAP,eAAO,KAAP,eAAO,QAWlB;AAwHD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB"}
@@ -1,492 +0,0 @@
1
- export declare const __debug: {
2
- verboseLogging: {
3
- on: () => boolean;
4
- off: () => boolean;
5
- };
6
- };
7
- /** Physical address */
8
- export interface Address extends AddressStreetOneOf {
9
- /** Street name and number. */
10
- streetAddress?: StreetAddress;
11
- /** Main address line, usually street and number as free text. */
12
- addressLine1?: string | null;
13
- /** Country code. */
14
- country?: string | null;
15
- /** Subdivision. Usually a state, region, prefecture, or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). */
16
- subdivision?: string | null;
17
- /** City name. */
18
- city?: string | null;
19
- /** Zip/postal code. */
20
- postalCode?: string | null;
21
- /** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */
22
- addressLine2?: string | null;
23
- }
24
- /** @oneof */
25
- export interface AddressStreetOneOf {
26
- /** Street name and number. */
27
- streetAddress?: StreetAddress;
28
- /** Main address line, usually street and number as free text. */
29
- addressLine?: string | null;
30
- }
31
- export interface StreetAddress {
32
- /** Street number. */
33
- number?: string;
34
- /** Street name. */
35
- name?: string;
36
- }
37
- export interface AddressLocation {
38
- /** Address latitude. */
39
- latitude?: number | null;
40
- /** Address longitude. */
41
- longitude?: number | null;
42
- }
43
- export interface Subdivision {
44
- /** Short subdivision code. */
45
- code?: string;
46
- /** Subdivision full name. */
47
- name?: string;
48
- }
49
- export declare enum SubdivisionType {
50
- UNKNOWN_SUBDIVISION_TYPE = "UNKNOWN_SUBDIVISION_TYPE",
51
- /** State */
52
- ADMINISTRATIVE_AREA_LEVEL_1 = "ADMINISTRATIVE_AREA_LEVEL_1",
53
- /** County */
54
- ADMINISTRATIVE_AREA_LEVEL_2 = "ADMINISTRATIVE_AREA_LEVEL_2",
55
- /** City/town */
56
- ADMINISTRATIVE_AREA_LEVEL_3 = "ADMINISTRATIVE_AREA_LEVEL_3",
57
- /** Neighborhood/quarter */
58
- ADMINISTRATIVE_AREA_LEVEL_4 = "ADMINISTRATIVE_AREA_LEVEL_4",
59
- /** Street/block */
60
- ADMINISTRATIVE_AREA_LEVEL_5 = "ADMINISTRATIVE_AREA_LEVEL_5",
61
- /** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
62
- COUNTRY = "COUNTRY"
63
- }
64
- export interface VideoResolution {
65
- /** Video URL. */
66
- url?: string;
67
- /** Video height. */
68
- height?: number;
69
- /** Video width. */
70
- width?: number;
71
- /** Video format for example, mp4, hls. */
72
- format?: string;
73
- }
74
- export interface PageLink {
75
- /** The page id we want from the site */
76
- pageId?: string;
77
- /** Where this link should open, supports _self and _blank or any name the user chooses. _self means same page, _blank means new page. */
78
- target?: string | null;
79
- /** rel of link */
80
- rel?: LinkRel[];
81
- }
82
- /**
83
- * The 'rel' attribute of the link. The rel attribute defines the relationship between a linked resource and the current document.
84
- * Further reading (also about different possible rel types): https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel
85
- * Following are the accepted 'rel' types by Wix applications.
86
- */
87
- export declare enum LinkRel {
88
- /** default (not implemented) */
89
- unknown_link_rel = "unknown_link_rel",
90
- /** Indicates that the current document's original author or publisher does not endorse the referenced document. */
91
- nofollow = "nofollow",
92
- /** Instructs the browser to navigate to the target resource without granting the new browsing context access to the document that opened it. */
93
- noopener = "noopener",
94
- /** No Referer header will be included. Additionally, has the same effect as noopener. */
95
- noreferrer = "noreferrer",
96
- /** Indicates a link that resulted from advertisements or paid placements. */
97
- sponsored = "sponsored"
98
- }
99
- export interface Variant {
100
- name?: string;
101
- value?: string;
102
- image?: string;
103
- }
104
- export interface MyAddress {
105
- country?: string | null;
106
- subdivision?: string | null;
107
- city?: string | null;
108
- postalCode?: string | null;
109
- streetAddress?: StreetAddress;
110
- }
111
- export interface CreateProductRequest {
112
- product?: Product;
113
- }
114
- export interface CreateProductResponse {
115
- product?: Product;
116
- }
117
- export interface DeleteProductRequest {
118
- productId: string;
119
- }
120
- export interface DeleteProductResponse {
121
- }
122
- export interface UpdateProductRequest {
123
- productId: string;
124
- product?: Product;
125
- /** Explicit list of fields to update. */
126
- mask?: string[];
127
- }
128
- export interface UpdateProductResponse {
129
- product?: Product;
130
- }
131
- export interface GetProductRequest {
132
- productId: string;
133
- }
134
- export interface GetProductResponse {
135
- product?: Product;
136
- }
137
- export interface GetProductsStartWithRequest {
138
- title: string;
139
- addressLine2?: string | null;
140
- }
141
- export interface GetProductsStartWithResponse {
142
- products?: Product[];
143
- }
144
- export interface QueryProductsRequest {
145
- query?: QueryV2;
146
- /** Whether variants should be included in the response. */
147
- includeVariants?: boolean;
148
- /** Whether hidden products should be included in the response. Requires permissions to manage products. */
149
- includeHiddenProducts?: boolean;
150
- /** Whether merchant specific data should be included in the response. Requires permissions to manage products. */
151
- includeMerchantSpecificData?: boolean;
152
- }
153
- export interface QueryV2 extends QueryV2PagingMethodOneOf {
154
- /** Paging options to limit and skip the number of items. */
155
- paging?: Paging;
156
- /** 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`. */
157
- cursorPaging?: CursorPaging;
158
- /**
159
- * Filter object in the following format:
160
- * `"filter" : {
161
- * "fieldName1": "value1",
162
- * "fieldName2":{"$operator":"value2"}
163
- * }`
164
- * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
165
- */
166
- filter?: Record<string, any> | null;
167
- /**
168
- * Sort object in the following format:
169
- * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
170
- */
171
- sort?: Sorting[];
172
- /** Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned. */
173
- fields?: string[];
174
- /** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */
175
- fieldsets?: string[];
176
- }
177
- /** @oneof */
178
- export interface QueryV2PagingMethodOneOf {
179
- /** Paging options to limit and skip the number of items. */
180
- paging?: Paging;
181
- /** 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`. */
182
- cursorPaging?: CursorPaging;
183
- }
184
- export interface Sorting {
185
- /** Name of the field to sort by. */
186
- fieldName?: string;
187
- /** Sort order. */
188
- order?: SortOrder;
189
- }
190
- export declare enum SortOrder {
191
- ASC = "ASC",
192
- DESC = "DESC"
193
- }
194
- export interface Paging {
195
- /** Number of items to load. */
196
- limit?: number | null;
197
- /** Number of items to skip in the current sort order. */
198
- offset?: number | null;
199
- }
200
- export interface CursorPaging {
201
- /** Number of items to load. */
202
- limit?: number | null;
203
- /**
204
- * Pointer to the next or previous page in the list of results.
205
- *
206
- * You can get the relevant cursor token
207
- * from the `pagingMetadata` object in the previous call's response.
208
- * Not relevant for the first request.
209
- */
210
- cursor?: string | null;
211
- }
212
- export interface QueryProductsResponse {
213
- products?: Product[];
214
- metadata?: PagingMetadataV2;
215
- }
216
- export interface PagingMetadataV2 {
217
- /** Number of items returned in the response. */
218
- count?: number | null;
219
- /** Offset that was requested. */
220
- offset?: number | null;
221
- /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
222
- total?: number | null;
223
- /** Flag that indicates the server failed to calculate the `total` field. */
224
- tooManyToCount?: boolean | null;
225
- /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
226
- cursors?: Cursors;
227
- }
228
- export interface Cursors {
229
- /** Cursor pointing to next page in the list of results. */
230
- next?: string | null;
231
- /** Cursor pointing to previous page in the list of results. */
232
- prev?: string | null;
233
- }
234
- export interface CreateProductResponseNonNullableFields {
235
- product?: {
236
- _id: string;
237
- collectionId: string;
238
- image: string;
239
- document: string;
240
- video: string;
241
- pageLink?: {
242
- pageId: string;
243
- rel: LinkRel[];
244
- };
245
- audio: string;
246
- variants: {
247
- name: string;
248
- value: string;
249
- image: string;
250
- }[];
251
- mainVariant?: {
252
- name: string;
253
- value: string;
254
- image: string;
255
- };
256
- guid: string;
257
- };
258
- }
259
- export interface UpdateProductResponseNonNullableFields {
260
- product?: {
261
- _id: string;
262
- collectionId: string;
263
- image: string;
264
- document: string;
265
- video: string;
266
- pageLink?: {
267
- pageId: string;
268
- rel: LinkRel[];
269
- };
270
- audio: string;
271
- variants: {
272
- name: string;
273
- value: string;
274
- image: string;
275
- }[];
276
- mainVariant?: {
277
- name: string;
278
- value: string;
279
- image: string;
280
- };
281
- guid: string;
282
- };
283
- }
284
- export interface GetProductResponseNonNullableFields {
285
- product?: {
286
- _id: string;
287
- collectionId: string;
288
- image: string;
289
- document: string;
290
- video: string;
291
- pageLink?: {
292
- pageId: string;
293
- rel: LinkRel[];
294
- };
295
- audio: string;
296
- variants: {
297
- name: string;
298
- value: string;
299
- image: string;
300
- }[];
301
- mainVariant?: {
302
- name: string;
303
- value: string;
304
- image: string;
305
- };
306
- guid: string;
307
- };
308
- }
309
- export interface GetProductsStartWithResponseNonNullableFields {
310
- products: {
311
- _id: string;
312
- collectionId: string;
313
- image: string;
314
- document: string;
315
- video: string;
316
- pageLink?: {
317
- pageId: string;
318
- rel: LinkRel[];
319
- };
320
- audio: string;
321
- variants: {
322
- name: string;
323
- value: string;
324
- image: string;
325
- }[];
326
- mainVariant?: {
327
- name: string;
328
- value: string;
329
- image: string;
330
- };
331
- guid: string;
332
- }[];
333
- }
334
- export interface QueryProductsResponseNonNullableFields {
335
- products: {
336
- _id: string;
337
- collectionId: string;
338
- image: string;
339
- document: string;
340
- video: string;
341
- pageLink?: {
342
- pageId: string;
343
- rel: LinkRel[];
344
- };
345
- audio: string;
346
- variants: {
347
- name: string;
348
- value: string;
349
- image: string;
350
- }[];
351
- mainVariant?: {
352
- name: string;
353
- value: string;
354
- image: string;
355
- };
356
- guid: string;
357
- }[];
358
- }
359
- export interface Product {
360
- _id: string;
361
- name: string | null;
362
- collectionId: string;
363
- _createdDate: Date;
364
- modifiedDate: Date;
365
- image: string;
366
- address: Address;
367
- document: string;
368
- video: string;
369
- pageLink: PageLink;
370
- audio: string;
371
- color: string | null;
372
- localDate: string | null;
373
- localTime: string | null;
374
- localDateTime: string | null;
375
- variants: Variant[];
376
- mainVariant: Variant;
377
- customAddress: MyAddress;
378
- guid: string;
379
- }
380
- /**
381
- * Creating a product
382
- * @public
383
- * @documentationMaturity preview
384
- * @requiredField options.product.title
385
- */
386
- export declare function createProduct(options?: CreateProductOptions): Promise<Product & NonNullable<CreateProductResponseNonNullableFields>['product']>;
387
- export interface CreateProductOptions {
388
- product?: Product;
389
- }
390
- /** @public
391
- * @documentationMaturity preview
392
- * @requiredField productId
393
- */
394
- export declare function deleteProduct(productId: string): Promise<void>;
395
- /** @public
396
- * @documentationMaturity preview
397
- * @requiredField options.product._id
398
- * @requiredField productId
399
- */
400
- export declare function updateProduct(productId: string, options?: UpdateProductOptions): Promise<Product & NonNullable<UpdateProductResponseNonNullableFields>['product']>;
401
- export interface UpdateProductOptions {
402
- product?: Product;
403
- /** Explicit list of fields to update. */
404
- mask?: string[];
405
- }
406
- /**
407
- * override description
408
- * @public
409
- * @documentationMaturity preview
410
- * @requiredField productId
411
- * @param arg1 - ## new override param 1
412
- * @returns ## override return
413
- */
414
- export declare function getProduct(productId: string): Promise<Product & NonNullable<GetProductResponseNonNullableFields>['product']>;
415
- /** @public
416
- * @documentationMaturity preview
417
- * @requiredField title
418
- */
419
- export declare function getProductsStartWith(title: string, options?: GetProductsStartWithOptions): Promise<GetProductsStartWithResponse & GetProductsStartWithResponseNonNullableFields>;
420
- export interface GetProductsStartWithOptions {
421
- addressLine2?: string | null;
422
- }
423
- /** @public
424
- * @documentationMaturity preview
425
- */
426
- export declare function queryProducts(options?: QueryProductsOptions): ProductsQueryBuilder;
427
- export interface QueryProductsOptions {
428
- /** Whether variants should be included in the response. */
429
- includeVariants?: boolean | undefined;
430
- /** Whether hidden products should be included in the response. Requires permissions to manage products. */
431
- includeHiddenProducts?: boolean | undefined;
432
- /** Whether merchant specific data should be included in the response. Requires permissions to manage products. */
433
- includeMerchantSpecificData?: boolean | undefined;
434
- }
435
- interface QueryCursorResult {
436
- cursors: Cursors;
437
- hasNext: () => boolean;
438
- hasPrev: () => boolean;
439
- length: number;
440
- pageSize: number;
441
- }
442
- export interface ProductsQueryResult extends QueryCursorResult {
443
- items: Product[];
444
- query: ProductsQueryBuilder;
445
- next: () => Promise<ProductsQueryResult>;
446
- prev: () => Promise<ProductsQueryResult>;
447
- }
448
- export interface ProductsQueryBuilder {
449
- /** @param propertyName - Property whose value is compared with `value`.
450
- * @param value - Value to compare against.
451
- * @documentationMaturity preview
452
- */
453
- eq: (propertyName: 'title' | 'collectionId' | 'guid', value: any) => ProductsQueryBuilder;
454
- /** @param propertyName - Property whose value is compared with `value`.
455
- * @param value - Value to compare against.
456
- * @documentationMaturity preview
457
- */
458
- ne: (propertyName: 'title' | 'guid', value: any) => ProductsQueryBuilder;
459
- /** @param propertyName - Property whose value is compared with `string`.
460
- * @param string - String to compare against. Case-insensitive.
461
- * @documentationMaturity preview
462
- */
463
- startsWith: (propertyName: 'title' | 'guid', value: string) => ProductsQueryBuilder;
464
- /** @param propertyName - Property whose value is compared with `values`.
465
- * @param values - List of values to compare against.
466
- * @documentationMaturity preview
467
- */
468
- hasSome: (propertyName: 'title' | 'guid', value: any[]) => ProductsQueryBuilder;
469
- /** @documentationMaturity preview */
470
- in: (propertyName: 'title' | 'guid', value: any) => ProductsQueryBuilder;
471
- /** @documentationMaturity preview */
472
- exists: (propertyName: 'title' | 'guid', value: boolean) => ProductsQueryBuilder;
473
- /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
474
- * @documentationMaturity preview
475
- */
476
- ascending: (...propertyNames: Array<'title' | 'collectionId' | 'guid'>) => ProductsQueryBuilder;
477
- /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
478
- * @documentationMaturity preview
479
- */
480
- descending: (...propertyNames: Array<'title' | 'collectionId' | 'guid'>) => ProductsQueryBuilder;
481
- /** @param limit - Number of items to return, which is also the `pageSize` of the results object.
482
- * @documentationMaturity preview
483
- */
484
- limit: (limit: number) => ProductsQueryBuilder;
485
- /** @param cursor - A pointer to specific record
486
- * @documentationMaturity preview
487
- */
488
- skipTo: (cursor: string) => ProductsQueryBuilder;
489
- /** @documentationMaturity preview */
490
- find: () => Promise<ProductsQueryResult>;
491
- }
492
- export {};