@wix/stores 1.0.92 → 1.0.93
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/src/platform-v1-wishlist.http.d.ts +2 -2
- package/build/cjs/src/platform-v1-wishlist.http.js.map +1 -1
- package/build/cjs/src/platform-v1-wishlist.public.d.ts +10 -2
- package/build/cjs/src/platform-v1-wishlist.types.d.ts +11 -0
- package/build/cjs/src/platform-v1-wishlist.universal.d.ts +12 -1
- package/build/cjs/src/platform-v1-wishlist.universal.js.map +1 -1
- package/build/cjs/src/stores-catalog-v1-collection.http.d.ts +4 -4
- package/build/cjs/src/stores-catalog-v1-collection.http.js.map +1 -1
- package/build/cjs/src/stores-catalog-v1-collection.public.d.ts +53 -3
- package/build/cjs/src/stores-catalog-v1-collection.types.d.ts +204 -0
- package/build/cjs/src/stores-catalog-v1-collection.universal.d.ts +161 -2
- package/build/cjs/src/stores-catalog-v1-collection.universal.js.map +1 -1
- package/build/cjs/src/stores-catalog-v1-product.http.d.ts +15 -15
- package/build/cjs/src/stores-catalog-v1-product.http.js.map +1 -1
- package/build/cjs/src/stores-catalog-v1-product.public.d.ts +14 -14
- package/build/cjs/src/stores-catalog-v1-product.types.d.ts +1501 -0
- package/build/cjs/src/stores-catalog-v1-product.universal.d.ts +1411 -13
- package/build/cjs/src/stores-catalog-v1-product.universal.js.map +1 -1
- package/build/cjs/src/stores-v1-abandoned-cart.http.d.ts +3 -3
- package/build/cjs/src/stores-v1-abandoned-cart.http.js.map +1 -1
- package/build/cjs/src/stores-v1-abandoned-cart.public.d.ts +13 -3
- package/build/cjs/src/stores-v1-abandoned-cart.types.d.ts +27 -0
- package/build/cjs/src/stores-v1-abandoned-cart.universal.d.ts +29 -2
- package/build/cjs/src/stores-v1-abandoned-cart.universal.js.map +1 -1
- package/build/cjs/src/stores-v1-subscription-option.http.d.ts +9 -9
- package/build/cjs/src/stores-v1-subscription-option.http.js.map +1 -1
- package/build/cjs/src/stores-v1-subscription-option.public.d.ts +36 -9
- package/build/cjs/src/stores-v1-subscription-option.types.d.ts +85 -0
- package/build/cjs/src/stores-v1-subscription-option.universal.d.ts +93 -8
- package/build/cjs/src/stores-v1-subscription-option.universal.js.map +1 -1
- package/build/cjs/src/stores-v2-inventory.http.d.ts +3 -3
- package/build/cjs/src/stores-v2-inventory.http.js.map +1 -1
- package/build/cjs/src/stores-v2-inventory.public.d.ts +3 -3
- package/build/cjs/src/stores-v2-inventory.types.d.ts +29 -0
- package/build/cjs/src/stores-v2-inventory.universal.d.ts +31 -2
- package/build/cjs/src/stores-v2-inventory.universal.js.map +1 -1
- package/build/es/src/platform-v1-wishlist.http.d.ts +2 -2
- package/build/es/src/platform-v1-wishlist.http.js.map +1 -1
- package/build/es/src/platform-v1-wishlist.public.d.ts +10 -2
- package/build/es/src/platform-v1-wishlist.types.d.ts +11 -0
- package/build/es/src/platform-v1-wishlist.universal.d.ts +12 -1
- package/build/es/src/platform-v1-wishlist.universal.js.map +1 -1
- package/build/es/src/stores-catalog-v1-collection.http.d.ts +4 -4
- package/build/es/src/stores-catalog-v1-collection.http.js.map +1 -1
- package/build/es/src/stores-catalog-v1-collection.public.d.ts +53 -3
- package/build/es/src/stores-catalog-v1-collection.types.d.ts +204 -0
- package/build/es/src/stores-catalog-v1-collection.universal.d.ts +161 -2
- package/build/es/src/stores-catalog-v1-collection.universal.js.map +1 -1
- package/build/es/src/stores-catalog-v1-product.http.d.ts +15 -15
- package/build/es/src/stores-catalog-v1-product.http.js.map +1 -1
- package/build/es/src/stores-catalog-v1-product.public.d.ts +14 -14
- package/build/es/src/stores-catalog-v1-product.types.d.ts +1501 -0
- package/build/es/src/stores-catalog-v1-product.universal.d.ts +1411 -13
- package/build/es/src/stores-catalog-v1-product.universal.js.map +1 -1
- package/build/es/src/stores-v1-abandoned-cart.http.d.ts +3 -3
- package/build/es/src/stores-v1-abandoned-cart.http.js.map +1 -1
- package/build/es/src/stores-v1-abandoned-cart.public.d.ts +13 -3
- package/build/es/src/stores-v1-abandoned-cart.types.d.ts +27 -0
- package/build/es/src/stores-v1-abandoned-cart.universal.d.ts +29 -2
- package/build/es/src/stores-v1-abandoned-cart.universal.js.map +1 -1
- package/build/es/src/stores-v1-subscription-option.http.d.ts +9 -9
- package/build/es/src/stores-v1-subscription-option.http.js.map +1 -1
- package/build/es/src/stores-v1-subscription-option.public.d.ts +36 -9
- package/build/es/src/stores-v1-subscription-option.types.d.ts +85 -0
- package/build/es/src/stores-v1-subscription-option.universal.d.ts +93 -8
- package/build/es/src/stores-v1-subscription-option.universal.js.map +1 -1
- package/build/es/src/stores-v2-inventory.http.d.ts +3 -3
- package/build/es/src/stores-v2-inventory.http.js.map +1 -1
- package/build/es/src/stores-v2-inventory.public.d.ts +3 -3
- package/build/es/src/stores-v2-inventory.types.d.ts +29 -0
- package/build/es/src/stores-v2-inventory.universal.d.ts +31 -2
- package/build/es/src/stores-v2-inventory.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -3,7 +3,57 @@ export declare const __metadata: {
|
|
|
3
3
|
PACKAGE_NAME: string;
|
|
4
4
|
};
|
|
5
5
|
export declare function queryCollections(httpClient: HttpClient): () => import("./stores-catalog-v1-collection.universal").CollectionsQueryBuilder;
|
|
6
|
-
export declare function getCollection(httpClient: HttpClient): (_id: string) => Promise<import("./stores-catalog-v1-collection.universal").Collection
|
|
7
|
-
|
|
6
|
+
export declare function getCollection(httpClient: HttpClient): (_id: string) => Promise<import("./stores-catalog-v1-collection.universal").Collection & {
|
|
7
|
+
media?: {
|
|
8
|
+
mainMedia?: {
|
|
9
|
+
image?: {
|
|
10
|
+
url: string;
|
|
11
|
+
width: number;
|
|
12
|
+
height: number;
|
|
13
|
+
} | undefined;
|
|
14
|
+
video?: {
|
|
15
|
+
files: {
|
|
16
|
+
url: string;
|
|
17
|
+
width: number;
|
|
18
|
+
height: number;
|
|
19
|
+
}[];
|
|
20
|
+
stillFrameMediaId: string;
|
|
21
|
+
} | undefined;
|
|
22
|
+
thumbnail?: {
|
|
23
|
+
url: string;
|
|
24
|
+
width: number;
|
|
25
|
+
height: number;
|
|
26
|
+
} | undefined;
|
|
27
|
+
mediaType: import("./stores-catalog-v1-collection.universal").MediaItemType;
|
|
28
|
+
title: string;
|
|
29
|
+
_id: string;
|
|
30
|
+
} | undefined;
|
|
31
|
+
items: {
|
|
32
|
+
image?: {
|
|
33
|
+
url: string;
|
|
34
|
+
width: number;
|
|
35
|
+
height: number;
|
|
36
|
+
} | undefined;
|
|
37
|
+
video?: {
|
|
38
|
+
files: {
|
|
39
|
+
url: string;
|
|
40
|
+
width: number;
|
|
41
|
+
height: number;
|
|
42
|
+
}[];
|
|
43
|
+
stillFrameMediaId: string;
|
|
44
|
+
} | undefined;
|
|
45
|
+
thumbnail?: {
|
|
46
|
+
url: string;
|
|
47
|
+
width: number;
|
|
48
|
+
height: number;
|
|
49
|
+
} | undefined;
|
|
50
|
+
mediaType: import("./stores-catalog-v1-collection.universal").MediaItemType;
|
|
51
|
+
title: string;
|
|
52
|
+
_id: string;
|
|
53
|
+
}[];
|
|
54
|
+
} | undefined;
|
|
55
|
+
numberOfProducts: number;
|
|
56
|
+
}>;
|
|
57
|
+
export declare function getCollectionBySlug(httpClient: HttpClient): (slug: string) => Promise<import("./stores-catalog-v1-collection.universal").GetCollectionBySlugResponse & import("./stores-catalog-v1-collection.universal").GetCollectionBySlugResponseNonNullableFields>;
|
|
8
58
|
export { MediaItemType, SortOrder, } from './stores-catalog-v1-collection.universal';
|
|
9
|
-
export { Collection, Media, MediaItem, MediaItemItemOneOf, MediaItemUrlAndSize, MediaItemVideo, SeoSchema, Keyword, Tag, Settings, QueryCollectionsRequest, PlatformQuery, PlatformQueryPagingMethodOneOf, Sorting, PlatformPaging, CursorPaging, QueryCollectionsResponse, PlatformPagingMetadata, Cursors, GetCollectionRequest, GetCollectionResponse, GetCollectionBySlugRequest, GetCollectionBySlugResponse, CollectionsQueryResult, CollectionsQueryBuilder, } from './stores-catalog-v1-collection.universal';
|
|
59
|
+
export { Collection, Media, MediaItem, MediaItemItemOneOf, MediaItemUrlAndSize, MediaItemVideo, SeoSchema, Keyword, Tag, Settings, QueryCollectionsRequest, PlatformQuery, PlatformQueryPagingMethodOneOf, Sorting, PlatformPaging, CursorPaging, QueryCollectionsResponse, PlatformPagingMetadata, Cursors, GetCollectionRequest, GetCollectionResponse, GetCollectionBySlugRequest, GetCollectionBySlugResponse, QueryCollectionsResponseNonNullableFields, GetCollectionResponseNonNullableFields, GetCollectionBySlugResponseNonNullableFields, CollectionsQueryResult, CollectionsQueryBuilder, } from './stores-catalog-v1-collection.universal';
|
|
@@ -209,3 +209,207 @@ export interface GetCollectionBySlugResponse {
|
|
|
209
209
|
/** The requested collection. */
|
|
210
210
|
collection?: Collection;
|
|
211
211
|
}
|
|
212
|
+
export interface QueryCollectionsResponseNonNullableFields {
|
|
213
|
+
collections: {
|
|
214
|
+
media?: {
|
|
215
|
+
mainMedia?: {
|
|
216
|
+
image?: {
|
|
217
|
+
url: string;
|
|
218
|
+
width: number;
|
|
219
|
+
height: number;
|
|
220
|
+
};
|
|
221
|
+
video?: {
|
|
222
|
+
files: {
|
|
223
|
+
url: string;
|
|
224
|
+
width: number;
|
|
225
|
+
height: number;
|
|
226
|
+
}[];
|
|
227
|
+
stillFrameMediaId: string;
|
|
228
|
+
};
|
|
229
|
+
thumbnail?: {
|
|
230
|
+
url: string;
|
|
231
|
+
width: number;
|
|
232
|
+
height: number;
|
|
233
|
+
};
|
|
234
|
+
mediaType: MediaItemType;
|
|
235
|
+
title: string;
|
|
236
|
+
id: string;
|
|
237
|
+
};
|
|
238
|
+
items: {
|
|
239
|
+
image?: {
|
|
240
|
+
url: string;
|
|
241
|
+
width: number;
|
|
242
|
+
height: number;
|
|
243
|
+
};
|
|
244
|
+
video?: {
|
|
245
|
+
files: {
|
|
246
|
+
url: string;
|
|
247
|
+
width: number;
|
|
248
|
+
height: number;
|
|
249
|
+
}[];
|
|
250
|
+
stillFrameMediaId: string;
|
|
251
|
+
};
|
|
252
|
+
thumbnail?: {
|
|
253
|
+
url: string;
|
|
254
|
+
width: number;
|
|
255
|
+
height: number;
|
|
256
|
+
};
|
|
257
|
+
mediaType: MediaItemType;
|
|
258
|
+
title: string;
|
|
259
|
+
id: string;
|
|
260
|
+
}[];
|
|
261
|
+
};
|
|
262
|
+
numberOfProducts: number;
|
|
263
|
+
seoSchema?: {
|
|
264
|
+
tags: {
|
|
265
|
+
type: string;
|
|
266
|
+
children: string;
|
|
267
|
+
custom: boolean;
|
|
268
|
+
disabled: boolean;
|
|
269
|
+
}[];
|
|
270
|
+
settings?: {
|
|
271
|
+
preventAutoRedirect: boolean;
|
|
272
|
+
keywords: {
|
|
273
|
+
term: string;
|
|
274
|
+
isMain: boolean;
|
|
275
|
+
}[];
|
|
276
|
+
};
|
|
277
|
+
};
|
|
278
|
+
}[];
|
|
279
|
+
}
|
|
280
|
+
export interface GetCollectionResponseNonNullableFields {
|
|
281
|
+
collection?: {
|
|
282
|
+
media?: {
|
|
283
|
+
mainMedia?: {
|
|
284
|
+
image?: {
|
|
285
|
+
url: string;
|
|
286
|
+
width: number;
|
|
287
|
+
height: number;
|
|
288
|
+
};
|
|
289
|
+
video?: {
|
|
290
|
+
files: {
|
|
291
|
+
url: string;
|
|
292
|
+
width: number;
|
|
293
|
+
height: number;
|
|
294
|
+
}[];
|
|
295
|
+
stillFrameMediaId: string;
|
|
296
|
+
};
|
|
297
|
+
thumbnail?: {
|
|
298
|
+
url: string;
|
|
299
|
+
width: number;
|
|
300
|
+
height: number;
|
|
301
|
+
};
|
|
302
|
+
mediaType: MediaItemType;
|
|
303
|
+
title: string;
|
|
304
|
+
id: string;
|
|
305
|
+
};
|
|
306
|
+
items: {
|
|
307
|
+
image?: {
|
|
308
|
+
url: string;
|
|
309
|
+
width: number;
|
|
310
|
+
height: number;
|
|
311
|
+
};
|
|
312
|
+
video?: {
|
|
313
|
+
files: {
|
|
314
|
+
url: string;
|
|
315
|
+
width: number;
|
|
316
|
+
height: number;
|
|
317
|
+
}[];
|
|
318
|
+
stillFrameMediaId: string;
|
|
319
|
+
};
|
|
320
|
+
thumbnail?: {
|
|
321
|
+
url: string;
|
|
322
|
+
width: number;
|
|
323
|
+
height: number;
|
|
324
|
+
};
|
|
325
|
+
mediaType: MediaItemType;
|
|
326
|
+
title: string;
|
|
327
|
+
id: string;
|
|
328
|
+
}[];
|
|
329
|
+
};
|
|
330
|
+
numberOfProducts: number;
|
|
331
|
+
seoSchema?: {
|
|
332
|
+
tags: {
|
|
333
|
+
type: string;
|
|
334
|
+
children: string;
|
|
335
|
+
custom: boolean;
|
|
336
|
+
disabled: boolean;
|
|
337
|
+
}[];
|
|
338
|
+
settings?: {
|
|
339
|
+
preventAutoRedirect: boolean;
|
|
340
|
+
keywords: {
|
|
341
|
+
term: string;
|
|
342
|
+
isMain: boolean;
|
|
343
|
+
}[];
|
|
344
|
+
};
|
|
345
|
+
};
|
|
346
|
+
};
|
|
347
|
+
}
|
|
348
|
+
export interface GetCollectionBySlugResponseNonNullableFields {
|
|
349
|
+
collection?: {
|
|
350
|
+
media?: {
|
|
351
|
+
mainMedia?: {
|
|
352
|
+
image?: {
|
|
353
|
+
url: string;
|
|
354
|
+
width: number;
|
|
355
|
+
height: number;
|
|
356
|
+
};
|
|
357
|
+
video?: {
|
|
358
|
+
files: {
|
|
359
|
+
url: string;
|
|
360
|
+
width: number;
|
|
361
|
+
height: number;
|
|
362
|
+
}[];
|
|
363
|
+
stillFrameMediaId: string;
|
|
364
|
+
};
|
|
365
|
+
thumbnail?: {
|
|
366
|
+
url: string;
|
|
367
|
+
width: number;
|
|
368
|
+
height: number;
|
|
369
|
+
};
|
|
370
|
+
mediaType: MediaItemType;
|
|
371
|
+
title: string;
|
|
372
|
+
id: string;
|
|
373
|
+
};
|
|
374
|
+
items: {
|
|
375
|
+
image?: {
|
|
376
|
+
url: string;
|
|
377
|
+
width: number;
|
|
378
|
+
height: number;
|
|
379
|
+
};
|
|
380
|
+
video?: {
|
|
381
|
+
files: {
|
|
382
|
+
url: string;
|
|
383
|
+
width: number;
|
|
384
|
+
height: number;
|
|
385
|
+
}[];
|
|
386
|
+
stillFrameMediaId: string;
|
|
387
|
+
};
|
|
388
|
+
thumbnail?: {
|
|
389
|
+
url: string;
|
|
390
|
+
width: number;
|
|
391
|
+
height: number;
|
|
392
|
+
};
|
|
393
|
+
mediaType: MediaItemType;
|
|
394
|
+
title: string;
|
|
395
|
+
id: string;
|
|
396
|
+
}[];
|
|
397
|
+
};
|
|
398
|
+
numberOfProducts: number;
|
|
399
|
+
seoSchema?: {
|
|
400
|
+
tags: {
|
|
401
|
+
type: string;
|
|
402
|
+
children: string;
|
|
403
|
+
custom: boolean;
|
|
404
|
+
disabled: boolean;
|
|
405
|
+
}[];
|
|
406
|
+
settings?: {
|
|
407
|
+
preventAutoRedirect: boolean;
|
|
408
|
+
keywords: {
|
|
409
|
+
term: string;
|
|
410
|
+
isMain: boolean;
|
|
411
|
+
}[];
|
|
412
|
+
};
|
|
413
|
+
};
|
|
414
|
+
};
|
|
415
|
+
}
|
|
@@ -215,6 +215,165 @@ export interface GetCollectionBySlugResponse {
|
|
|
215
215
|
/** The requested collection. */
|
|
216
216
|
collection?: Collection;
|
|
217
217
|
}
|
|
218
|
+
export interface QueryCollectionsResponseNonNullableFields {
|
|
219
|
+
collections: {
|
|
220
|
+
media?: {
|
|
221
|
+
mainMedia?: {
|
|
222
|
+
image?: {
|
|
223
|
+
url: string;
|
|
224
|
+
width: number;
|
|
225
|
+
height: number;
|
|
226
|
+
};
|
|
227
|
+
video?: {
|
|
228
|
+
files: {
|
|
229
|
+
url: string;
|
|
230
|
+
width: number;
|
|
231
|
+
height: number;
|
|
232
|
+
}[];
|
|
233
|
+
stillFrameMediaId: string;
|
|
234
|
+
};
|
|
235
|
+
thumbnail?: {
|
|
236
|
+
url: string;
|
|
237
|
+
width: number;
|
|
238
|
+
height: number;
|
|
239
|
+
};
|
|
240
|
+
mediaType: MediaItemType;
|
|
241
|
+
title: string;
|
|
242
|
+
_id: string;
|
|
243
|
+
};
|
|
244
|
+
items: {
|
|
245
|
+
image?: {
|
|
246
|
+
url: string;
|
|
247
|
+
width: number;
|
|
248
|
+
height: number;
|
|
249
|
+
};
|
|
250
|
+
video?: {
|
|
251
|
+
files: {
|
|
252
|
+
url: string;
|
|
253
|
+
width: number;
|
|
254
|
+
height: number;
|
|
255
|
+
}[];
|
|
256
|
+
stillFrameMediaId: string;
|
|
257
|
+
};
|
|
258
|
+
thumbnail?: {
|
|
259
|
+
url: string;
|
|
260
|
+
width: number;
|
|
261
|
+
height: number;
|
|
262
|
+
};
|
|
263
|
+
mediaType: MediaItemType;
|
|
264
|
+
title: string;
|
|
265
|
+
_id: string;
|
|
266
|
+
}[];
|
|
267
|
+
};
|
|
268
|
+
numberOfProducts: number;
|
|
269
|
+
}[];
|
|
270
|
+
}
|
|
271
|
+
export interface GetCollectionResponseNonNullableFields {
|
|
272
|
+
collection?: {
|
|
273
|
+
media?: {
|
|
274
|
+
mainMedia?: {
|
|
275
|
+
image?: {
|
|
276
|
+
url: string;
|
|
277
|
+
width: number;
|
|
278
|
+
height: number;
|
|
279
|
+
};
|
|
280
|
+
video?: {
|
|
281
|
+
files: {
|
|
282
|
+
url: string;
|
|
283
|
+
width: number;
|
|
284
|
+
height: number;
|
|
285
|
+
}[];
|
|
286
|
+
stillFrameMediaId: string;
|
|
287
|
+
};
|
|
288
|
+
thumbnail?: {
|
|
289
|
+
url: string;
|
|
290
|
+
width: number;
|
|
291
|
+
height: number;
|
|
292
|
+
};
|
|
293
|
+
mediaType: MediaItemType;
|
|
294
|
+
title: string;
|
|
295
|
+
_id: string;
|
|
296
|
+
};
|
|
297
|
+
items: {
|
|
298
|
+
image?: {
|
|
299
|
+
url: string;
|
|
300
|
+
width: number;
|
|
301
|
+
height: number;
|
|
302
|
+
};
|
|
303
|
+
video?: {
|
|
304
|
+
files: {
|
|
305
|
+
url: string;
|
|
306
|
+
width: number;
|
|
307
|
+
height: number;
|
|
308
|
+
}[];
|
|
309
|
+
stillFrameMediaId: string;
|
|
310
|
+
};
|
|
311
|
+
thumbnail?: {
|
|
312
|
+
url: string;
|
|
313
|
+
width: number;
|
|
314
|
+
height: number;
|
|
315
|
+
};
|
|
316
|
+
mediaType: MediaItemType;
|
|
317
|
+
title: string;
|
|
318
|
+
_id: string;
|
|
319
|
+
}[];
|
|
320
|
+
};
|
|
321
|
+
numberOfProducts: number;
|
|
322
|
+
};
|
|
323
|
+
}
|
|
324
|
+
export interface GetCollectionBySlugResponseNonNullableFields {
|
|
325
|
+
collection?: {
|
|
326
|
+
media?: {
|
|
327
|
+
mainMedia?: {
|
|
328
|
+
image?: {
|
|
329
|
+
url: string;
|
|
330
|
+
width: number;
|
|
331
|
+
height: number;
|
|
332
|
+
};
|
|
333
|
+
video?: {
|
|
334
|
+
files: {
|
|
335
|
+
url: string;
|
|
336
|
+
width: number;
|
|
337
|
+
height: number;
|
|
338
|
+
}[];
|
|
339
|
+
stillFrameMediaId: string;
|
|
340
|
+
};
|
|
341
|
+
thumbnail?: {
|
|
342
|
+
url: string;
|
|
343
|
+
width: number;
|
|
344
|
+
height: number;
|
|
345
|
+
};
|
|
346
|
+
mediaType: MediaItemType;
|
|
347
|
+
title: string;
|
|
348
|
+
_id: string;
|
|
349
|
+
};
|
|
350
|
+
items: {
|
|
351
|
+
image?: {
|
|
352
|
+
url: string;
|
|
353
|
+
width: number;
|
|
354
|
+
height: number;
|
|
355
|
+
};
|
|
356
|
+
video?: {
|
|
357
|
+
files: {
|
|
358
|
+
url: string;
|
|
359
|
+
width: number;
|
|
360
|
+
height: number;
|
|
361
|
+
}[];
|
|
362
|
+
stillFrameMediaId: string;
|
|
363
|
+
};
|
|
364
|
+
thumbnail?: {
|
|
365
|
+
url: string;
|
|
366
|
+
width: number;
|
|
367
|
+
height: number;
|
|
368
|
+
};
|
|
369
|
+
mediaType: MediaItemType;
|
|
370
|
+
title: string;
|
|
371
|
+
_id: string;
|
|
372
|
+
}[];
|
|
373
|
+
};
|
|
374
|
+
numberOfProducts: number;
|
|
375
|
+
};
|
|
376
|
+
}
|
|
218
377
|
/**
|
|
219
378
|
* Retrieves a list of up to 100 collections, given the provided paging, sorting and filtering.
|
|
220
379
|
* See [Stores Pagination](https://dev.wix.com/api/rest/wix-stores/pagination) for more information.
|
|
@@ -288,7 +447,7 @@ export interface CollectionsQueryBuilder {
|
|
|
288
447
|
* @documentationMaturity preview
|
|
289
448
|
* @requiredField _id
|
|
290
449
|
*/
|
|
291
|
-
export declare function getCollection(_id: string): Promise<Collection>;
|
|
450
|
+
export declare function getCollection(_id: string): Promise<Collection & NonNullable<GetCollectionResponseNonNullableFields>['collection']>;
|
|
292
451
|
/**
|
|
293
452
|
* Retrieves a collection with the provided slug.
|
|
294
453
|
* @param slug - Slug of the collection to retrieve.
|
|
@@ -296,5 +455,5 @@ export declare function getCollection(_id: string): Promise<Collection>;
|
|
|
296
455
|
* @documentationMaturity preview
|
|
297
456
|
* @requiredField slug
|
|
298
457
|
*/
|
|
299
|
-
export declare function getCollectionBySlug(slug: string): Promise<GetCollectionBySlugResponse>;
|
|
458
|
+
export declare function getCollectionBySlug(slug: string): Promise<GetCollectionBySlugResponse & GetCollectionBySlugResponseNonNullableFields>;
|
|
300
459
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stores-catalog-v1-collection.universal.js","sourceRoot":"","sources":["../../../src/stores-catalog-v1-collection.universal.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,UAAU,EACV,cAAc,EACd,qCAAqC,GACtC,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,sCAAsC,MAAM,qCAAqC,CAAC;AAC9F,aAAa;AACb,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAE7E,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;AAED,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;AAuE5B,MAAM,CAAN,IAAY,aAOX;AAPD,WAAY,aAAa;IACvB,4EAA2D,CAAA;IAC3D,gCAAe,CAAA;IACf,gCAAe,CAAA;IACf,gCAAe,CAAA;IACf,sCAAqB,CAAA;IACrB,4BAAW,CAAA;AACb,CAAC,EAPW,aAAa,KAAb,aAAa,QAOxB;AA6FD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;
|
|
1
|
+
{"version":3,"file":"stores-catalog-v1-collection.universal.js","sourceRoot":"","sources":["../../../src/stores-catalog-v1-collection.universal.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,UAAU,EACV,cAAc,EACd,qCAAqC,GACtC,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,sCAAsC,MAAM,qCAAqC,CAAC;AAC9F,aAAa;AACb,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAE7E,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;A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B,EAAE,sBAAsB;SAC7C,CAAC,CAAC;QAEH,MAAM,OAAO,GAAG,mBAAmB,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;QAE5C,MAAM,OAAO,GACX,sCAAsC,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;QAEtE,KAAK,CAAC,+CAA+C,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;QAE3E,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,UAAU,+CAAvB,WAAW,CAAgB,CAAC;QAC5B,IAAI;YACF,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;YACjD,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,SAAS,+CAAtB,WAAW,EAAc,MAAM,CAAC,CAAC;YAEjC,OAAO,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAQ,CAAC;SACrC;QAAC,OAAO,GAAQ,EAAE;YACjB,MAAM,gBAAgB,GAAG,cAAc,CAAC,GAAG,EAAE,qBAAqB,EAAE;gBAClE,MAAM;aACP,CAAC,CAAC;YACH,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,OAAO,+CAApB,WAAW,EAAY,GAAG,CAAC,CAAC;YAE5B,MAAM,gBAAgB,CAAC;SACxB;;CACF"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { RequestOptionsFactory } from '@wix/sdk-types';
|
|
2
|
-
import { AddProductMediaRequest, AddProductMediaResponse, AddProductMediaToChoicesRequest, AddProductMediaToChoicesResponse, AddProductsToCollectionRequest, AddProductsToCollectionResponse, BulkAdjustProductPropertiesRequest, BulkAdjustProductPropertiesResponse, BulkUpdateProductsRequest, BulkUpdateProductsResponse, CreateCollectionRequest, CreateCollectionResponse, CreateProductRequest, CreateProductResponse, DeleteCollectionRequest, DeleteCollectionResponse, DeleteProductOptionsRequest, DeleteProductOptionsResponse, DeleteProductRequest, DeleteProductResponse, GetCollectionBySlugRequest, GetCollectionBySlugResponse, GetProductRequest, GetProductResponse, GetStoreVariantRequest, GetStoreVariantResponse, ProductOptionsAvailabilityRequest, ProductOptionsAvailabilityResponse, QueryProductsPlatformizedRequest, QueryProductsPlatformizedResponse, QueryProductVariantsRequest, QueryProductVariantsResponse, QueryStoreVariantsRequest, QueryStoreVariantsResponse, RemoveProductBrandRequest, RemoveProductBrandResponse, RemoveProductMediaFromChoicesRequest, RemoveProductMediaFromChoicesResponse, RemoveProductMediaRequest, RemoveProductMediaResponse, RemoveProductRibbonRequest, RemoveProductRibbonResponse, RemoveProductsFromCollectionRequest, RemoveProductsFromCollectionResponse, ResetAllVariantDataRequest, ResetAllVariantDataResponse, UpdateCollectionRequest, UpdateCollectionResponse, UpdateProductRequest, UpdateProductResponse, UpdateVariantsRequest, UpdateVariantsResponse } from './stores-catalog-v1-product.types';
|
|
2
|
+
import { AddProductMediaRequest, AddProductMediaResponse, AddProductMediaToChoicesRequest, AddProductMediaToChoicesResponse, AddProductsToCollectionRequest, AddProductsToCollectionResponse, BulkAdjustProductPropertiesRequest, BulkAdjustProductPropertiesResponse, BulkUpdateProductsRequest, BulkUpdateProductsResponse, CreateCollectionRequest, CreateCollectionResponse, CreateProductRequest, CreateProductResponse, DeleteCollectionRequest, DeleteCollectionResponse, DeleteProductOptionsRequest, DeleteProductOptionsResponse, DeleteProductRequest, DeleteProductResponse, GetCollectionBySlugRequest, GetCollectionBySlugResponse, GetProductRequest, GetProductResponse, GetStoreVariantRequest, GetStoreVariantResponse, ProductOptionsAvailabilityRequest, ProductOptionsAvailabilityResponse, QueryProductsPlatformizedRequest, QueryProductsPlatformizedResponse, QueryProductVariantsRequest, QueryProductVariantsResponse, QueryStoreVariantsRequest, QueryStoreVariantsResponse, RemoveProductBrandRequest, RemoveProductBrandResponse, RemoveProductMediaFromChoicesRequest, RemoveProductMediaFromChoicesResponse, RemoveProductMediaRequest, RemoveProductMediaResponse, RemoveProductRibbonRequest, RemoveProductRibbonResponse, RemoveProductsFromCollectionRequest, RemoveProductsFromCollectionResponse, ResetAllVariantDataRequest, ResetAllVariantDataResponse, UpdateCollectionRequest, UpdateCollectionResponse, UpdateProductRequest, UpdateProductResponse, UpdateVariantsRequest, UpdateVariantsResponse, CreateProductResponseNonNullableFields, UpdateProductResponseNonNullableFields, UpdateVariantsResponseNonNullableFields, CreateCollectionResponseNonNullableFields, UpdateCollectionResponseNonNullableFields, BulkUpdateProductsResponseNonNullableFields, BulkAdjustProductPropertiesResponseNonNullableFields, QueryProductsPlatformizedResponseNonNullableFields, GetProductResponseNonNullableFields, GetCollectionBySlugResponseNonNullableFields, ProductOptionsAvailabilityResponseNonNullableFields, QueryProductVariantsResponseNonNullableFields, QueryStoreVariantsResponseNonNullableFields, GetStoreVariantResponseNonNullableFields } from './stores-catalog-v1-product.types';
|
|
3
3
|
/** Creates a new product. */
|
|
4
|
-
export declare function createProduct(payload: CreateProductRequest): RequestOptionsFactory<CreateProductResponse>;
|
|
4
|
+
export declare function createProduct(payload: CreateProductRequest): RequestOptionsFactory<CreateProductResponse & CreateProductResponseNonNullableFields>;
|
|
5
5
|
/** Updates specified fields in a product. */
|
|
6
|
-
export declare function updateProduct(payload: UpdateProductRequest): RequestOptionsFactory<UpdateProductResponse>;
|
|
6
|
+
export declare function updateProduct(payload: UpdateProductRequest): RequestOptionsFactory<UpdateProductResponse & UpdateProductResponseNonNullableFields>;
|
|
7
7
|
/** Deletes a product. */
|
|
8
8
|
export declare function deleteProduct(payload: DeleteProductRequest): RequestOptionsFactory<DeleteProductResponse>;
|
|
9
9
|
/** Updates variants of a specified product. */
|
|
10
|
-
export declare function updateVariants(payload: UpdateVariantsRequest): RequestOptionsFactory<UpdateVariantsResponse>;
|
|
10
|
+
export declare function updateVariants(payload: UpdateVariantsRequest): RequestOptionsFactory<UpdateVariantsResponse & UpdateVariantsResponseNonNullableFields>;
|
|
11
11
|
/** Resets the data (such as the price and the weight) of all variants for a given product to their default values. */
|
|
12
12
|
export declare function resetAllVariantData(payload: ResetAllVariantDataRequest): RequestOptionsFactory<ResetAllVariantDataResponse>;
|
|
13
13
|
/** Adds products to a specified collection. */
|
|
@@ -43,34 +43,34 @@ export declare function deleteProductOptions(payload: DeleteProductOptionsReques
|
|
|
43
43
|
/** Deletes a product's brand. */
|
|
44
44
|
export declare function removeBrand(payload: RemoveProductBrandRequest): RequestOptionsFactory<RemoveProductBrandResponse>;
|
|
45
45
|
/** Creates a new collection. */
|
|
46
|
-
export declare function createCollection(payload: CreateCollectionRequest): RequestOptionsFactory<CreateCollectionResponse>;
|
|
46
|
+
export declare function createCollection(payload: CreateCollectionRequest): RequestOptionsFactory<CreateCollectionResponse & CreateCollectionResponseNonNullableFields>;
|
|
47
47
|
/** Updates specified properties of a collection. To add products to a collection, call the [addProductsToCollection](#addproductstocollection) function. */
|
|
48
|
-
export declare function updateCollection(payload: UpdateCollectionRequest): RequestOptionsFactory<UpdateCollectionResponse>;
|
|
48
|
+
export declare function updateCollection(payload: UpdateCollectionRequest): RequestOptionsFactory<UpdateCollectionResponse & UpdateCollectionResponseNonNullableFields>;
|
|
49
49
|
/** Deletes a collection. */
|
|
50
50
|
export declare function deleteCollection(payload: DeleteCollectionRequest): RequestOptionsFactory<DeleteCollectionResponse>;
|
|
51
51
|
/** Deletes a product's ribbon. */
|
|
52
52
|
export declare function removeRibbon(payload: RemoveProductRibbonRequest): RequestOptionsFactory<RemoveProductRibbonResponse>;
|
|
53
53
|
/** Updates a specified property for up to 100 products at a time. */
|
|
54
|
-
export declare function bulkUpdateProducts(payload: BulkUpdateProductsRequest): RequestOptionsFactory<BulkUpdateProductsResponse>;
|
|
54
|
+
export declare function bulkUpdateProducts(payload: BulkUpdateProductsRequest): RequestOptionsFactory<BulkUpdateProductsResponse & BulkUpdateProductsResponseNonNullableFields>;
|
|
55
55
|
/**
|
|
56
56
|
* Adjusts a specified numerical property for up to 100 products at a time.
|
|
57
57
|
* The property can be increased or decreased either by percentage or amount.
|
|
58
58
|
*/
|
|
59
|
-
export declare function bulkAdjustProductProperties(payload: BulkAdjustProductPropertiesRequest): RequestOptionsFactory<BulkAdjustProductPropertiesResponse>;
|
|
59
|
+
export declare function bulkAdjustProductProperties(payload: BulkAdjustProductPropertiesRequest): RequestOptionsFactory<BulkAdjustProductPropertiesResponse & BulkAdjustProductPropertiesResponseNonNullableFields>;
|
|
60
60
|
/** Returns a list of up to 100 products, given the provided paging, sorting and filtering. */
|
|
61
|
-
export declare function queryProductsPlatformized(payload: QueryProductsPlatformizedRequest): RequestOptionsFactory<QueryProductsPlatformizedResponse>;
|
|
61
|
+
export declare function queryProductsPlatformized(payload: QueryProductsPlatformizedRequest): RequestOptionsFactory<QueryProductsPlatformizedResponse & QueryProductsPlatformizedResponseNonNullableFields>;
|
|
62
62
|
/** Retrieves a product with the provided ID. */
|
|
63
|
-
export declare function getProduct(payload: GetProductRequest): RequestOptionsFactory<GetProductResponse>;
|
|
63
|
+
export declare function getProduct(payload: GetProductRequest): RequestOptionsFactory<GetProductResponse & GetProductResponseNonNullableFields>;
|
|
64
64
|
/** Retrieves a collection with the provided slug. */
|
|
65
|
-
export declare function getCollectionBySlug(payload: GetCollectionBySlugRequest): RequestOptionsFactory<GetCollectionBySlugResponse>;
|
|
65
|
+
export declare function getCollectionBySlug(payload: GetCollectionBySlugRequest): RequestOptionsFactory<GetCollectionBySlugResponse & GetCollectionBySlugResponseNonNullableFields>;
|
|
66
66
|
/** Gets the availability of relevant product variants based on the product ID and selections provided. See [Use Cases](https://dev.wix.com/api/rest/wix-stores/catalog/use-cases) for an example. */
|
|
67
|
-
export declare function productOptionsAvailability(payload: ProductOptionsAvailabilityRequest): RequestOptionsFactory<ProductOptionsAvailabilityResponse>;
|
|
67
|
+
export declare function productOptionsAvailability(payload: ProductOptionsAvailabilityRequest): RequestOptionsFactory<ProductOptionsAvailabilityResponse & ProductOptionsAvailabilityResponseNonNullableFields>;
|
|
68
68
|
/**
|
|
69
69
|
* Retrieves product variants, based on either choices (option-choice key-value pairs) or variant IDs.
|
|
70
70
|
* See [Stores Pagination](https://dev.wix.com/api/rest/wix-stores/pagination) for more information.
|
|
71
71
|
*/
|
|
72
|
-
export declare function queryProductVariants(payload: QueryProductVariantsRequest): RequestOptionsFactory<QueryProductVariantsResponse>;
|
|
72
|
+
export declare function queryProductVariants(payload: QueryProductVariantsRequest): RequestOptionsFactory<QueryProductVariantsResponse & QueryProductVariantsResponseNonNullableFields>;
|
|
73
73
|
/** Retrieves up to 100 store variants, given the provided paging, filtering, and sorting. */
|
|
74
|
-
export declare function queryStoreVariants(payload: QueryStoreVariantsRequest): RequestOptionsFactory<QueryStoreVariantsResponse>;
|
|
74
|
+
export declare function queryStoreVariants(payload: QueryStoreVariantsRequest): RequestOptionsFactory<QueryStoreVariantsResponse & QueryStoreVariantsResponseNonNullableFields>;
|
|
75
75
|
/** Retrieves a store variant with the provided ID. */
|
|
76
|
-
export declare function getStoreVariant(payload: GetStoreVariantRequest): RequestOptionsFactory<GetStoreVariantResponse>;
|
|
76
|
+
export declare function getStoreVariant(payload: GetStoreVariantRequest): RequestOptionsFactory<GetStoreVariantResponse & GetStoreVariantResponseNonNullableFields>;
|