@teemill/website 0.22.1 → 0.23.0

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/README.md +25 -2
  2. package/api.ts +878 -56
  3. package/base.ts +1 -1
  4. package/common.ts +1 -1
  5. package/configuration.ts +1 -1
  6. package/dist/api.d.ts +727 -22
  7. package/dist/api.js +175 -5
  8. package/dist/base.d.ts +1 -1
  9. package/dist/base.js +1 -1
  10. package/dist/common.d.ts +1 -1
  11. package/dist/common.js +1 -1
  12. package/dist/configuration.d.ts +1 -1
  13. package/dist/configuration.js +1 -1
  14. package/dist/esm/api.d.ts +727 -22
  15. package/dist/esm/api.js +175 -5
  16. package/dist/esm/base.d.ts +1 -1
  17. package/dist/esm/base.js +1 -1
  18. package/dist/esm/common.d.ts +1 -1
  19. package/dist/esm/common.js +1 -1
  20. package/dist/esm/configuration.d.ts +1 -1
  21. package/dist/esm/configuration.js +1 -1
  22. package/dist/esm/index.d.ts +1 -1
  23. package/dist/esm/index.js +1 -1
  24. package/dist/index.d.ts +1 -1
  25. package/dist/index.js +1 -1
  26. package/docs/Banner.md +23 -0
  27. package/docs/BannerImage.md +22 -0
  28. package/docs/Collection.md +10 -6
  29. package/docs/CollectionProduct.md +24 -0
  30. package/docs/CollectionProductImage.md +22 -0
  31. package/docs/CollectionsApi.md +128 -0
  32. package/docs/CreateCollectionRequest.md +38 -0
  33. package/docs/CreateCollectionRequestBanner.md +22 -0
  34. package/docs/CreateCollectionRequestBannerImage.md +22 -0
  35. package/docs/CreateCollectionRequestBannerOverlay.md +26 -0
  36. package/docs/CreateCollectionRequestProductsInner.md +24 -0
  37. package/docs/CreateCollectionRequestSeoMetadata.md +24 -0
  38. package/docs/Footer.md +1 -1
  39. package/docs/FooterItem.md +4 -4
  40. package/docs/MetaImage.md +1 -1
  41. package/docs/NavigationTag.md +24 -0
  42. package/docs/NullableMetaImage.md +23 -0
  43. package/docs/Overlay.md +27 -0
  44. package/docs/UpdateCollectionRequest.md +7 -1
  45. package/docs/UpdateCollectionRequestBanner.md +22 -0
  46. package/docs/UpdateCollectionRequestBannerImage.md +22 -0
  47. package/docs/UpdateCollectionRequestProductsInner.md +24 -0
  48. package/docs/UpdateCollectionRequestSeoMetadata.md +24 -0
  49. package/docs/UpdateCollectionsRequestCollectionsInner.md +6 -0
  50. package/docs/UpdateCollectionsRequestCollectionsInnerBanner.md +22 -0
  51. package/docs/UpdateCollectionsRequestCollectionsInnerBannerImage.md +22 -0
  52. package/docs/UpdateCollectionsRequestCollectionsInnerBannerOverlay.md +26 -0
  53. package/docs/UpdateCollectionsRequestCollectionsInnerProductsInner.md +24 -0
  54. package/index.ts +1 -1
  55. package/package.json +1 -1
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Website API
5
5
  * Manage your PodOS Website
6
6
  *
7
- * The version of the OpenAPI document: 0.22.1
7
+ * The version of the OpenAPI document: 0.23.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -207,6 +207,44 @@ export interface AuthorizeStripe200Response {
207
207
  */
208
208
  'redirect_url': string;
209
209
  }
210
+ /**
211
+ * The banner image that is used to display the collection
212
+ * @export
213
+ * @interface Banner
214
+ */
215
+ export interface Banner {
216
+ /**
217
+ *
218
+ * @type {Overlay}
219
+ * @memberof Banner
220
+ */
221
+ 'overlay'?: Overlay | null;
222
+ /**
223
+ *
224
+ * @type {BannerImage}
225
+ * @memberof Banner
226
+ */
227
+ 'image': BannerImage;
228
+ }
229
+ /**
230
+ *
231
+ * @export
232
+ * @interface BannerImage
233
+ */
234
+ export interface BannerImage {
235
+ /**
236
+ *
237
+ * @type {string}
238
+ * @memberof BannerImage
239
+ */
240
+ 'src': string;
241
+ /**
242
+ *
243
+ * @type {string}
244
+ * @memberof BannerImage
245
+ */
246
+ 'alt': string;
247
+ }
210
248
  /**
211
249
  *
212
250
  * @export
@@ -254,7 +292,7 @@ export interface Blog {
254
292
  * @type {MetaImage}
255
293
  * @memberof Blog
256
294
  */
257
- 'metaImage'?: MetaImage;
295
+ 'metaImage'?: MetaImage | null;
258
296
  /**
259
297
  *
260
298
  * @type {string}
@@ -311,25 +349,31 @@ export interface Collection {
311
349
  * @type {string}
312
350
  * @memberof Collection
313
351
  */
314
- 'title'?: string;
352
+ 'title': string;
315
353
  /**
316
354
  *
317
355
  * @type {string}
318
356
  * @memberof Collection
319
357
  */
320
- 'description'?: string;
358
+ 'description': string;
321
359
  /**
322
360
  *
323
361
  * @type {string}
324
362
  * @memberof Collection
325
363
  */
326
- 'slug'?: string;
364
+ 'slug': string;
327
365
  /**
328
366
  *
329
367
  * @type {string}
330
368
  * @memberof Collection
331
369
  */
332
370
  'longDescription'?: string;
371
+ /**
372
+ *
373
+ * @type {Banner}
374
+ * @memberof Collection
375
+ */
376
+ 'banner': Banner;
333
377
  /**
334
378
  *
335
379
  * @type {SeoMetadata}
@@ -341,7 +385,7 @@ export interface Collection {
341
385
  * @type {TargetSearchPhraseData}
342
386
  * @memberof Collection
343
387
  */
344
- 'targetSearchPhraseData'?: TargetSearchPhraseData;
388
+ 'targetSearchPhraseData': TargetSearchPhraseData;
345
389
  /**
346
390
  * History of AI optimisations performed on the collection
347
391
  * @type {Array<OptimisationHistoryItem>}
@@ -349,11 +393,61 @@ export interface Collection {
349
393
  */
350
394
  'optimisationHistory'?: Array<OptimisationHistoryItem>;
351
395
  /**
352
- *
353
- * @type {MetaImage}
396
+ * Tags that are used to link to other collections, pages and products.
397
+ * @type {Array<NavigationTag>}
354
398
  * @memberof Collection
355
399
  */
356
- 'metaImage'?: MetaImage;
400
+ 'navigationTags'?: Array<NavigationTag>;
401
+ /**
402
+ * A set of products to include in the collection.
403
+ * @type {Array<CollectionProduct>}
404
+ * @memberof Collection
405
+ */
406
+ 'products': Array<CollectionProduct>;
407
+ }
408
+ /**
409
+ *
410
+ * @export
411
+ * @interface CollectionProduct
412
+ */
413
+ export interface CollectionProduct {
414
+ /**
415
+ * A reference to the catalog product
416
+ * @type {string}
417
+ * @memberof CollectionProduct
418
+ */
419
+ 'ref': string;
420
+ /**
421
+ *
422
+ * @type {CollectionProductImage}
423
+ * @memberof CollectionProduct
424
+ */
425
+ 'image': CollectionProductImage;
426
+ /**
427
+ * The sort order of the product in the collection
428
+ * @type {number}
429
+ * @memberof CollectionProduct
430
+ */
431
+ 'order': number;
432
+ }
433
+ /**
434
+ *
435
+ * @export
436
+ * @interface CollectionProductImage
437
+ */
438
+ export interface CollectionProductImage {
439
+ /**
440
+ * An image for the product to be used in the collection
441
+ * @type {string}
442
+ * @memberof CollectionProductImage
443
+ */
444
+ 'src': string;
445
+ /**
446
+ * Alternative text for the image
447
+ * @type {string}
448
+ * @memberof CollectionProductImage
449
+ */
450
+ 'alt': string;
357
451
  }
358
452
  /**
359
453
  *
@@ -374,6 +468,192 @@ export interface CollectionsResponse {
374
468
  */
375
469
  'nextPageToken'?: number | null;
376
470
  }
471
+ /**
472
+ *
473
+ * @export
474
+ * @interface CreateCollectionRequest
475
+ */
476
+ export interface CreateCollectionRequest {
477
+ /**
478
+ *
479
+ * @type {CreateCollectionRequestBanner}
480
+ * @memberof CreateCollectionRequest
481
+ */
482
+ 'banner': CreateCollectionRequestBanner;
483
+ /**
484
+ * Collection title
485
+ * @type {string}
486
+ * @memberof CreateCollectionRequest
487
+ */
488
+ 'title': string;
489
+ /**
490
+ * Collection description
491
+ * @type {string}
492
+ * @memberof CreateCollectionRequest
493
+ */
494
+ 'description': string;
495
+ /**
496
+ * URL slug. This must be unique for each collection on the website.
497
+ * @type {string}
498
+ * @memberof CreateCollectionRequest
499
+ */
500
+ 'slug': string;
501
+ /**
502
+ * Long-form description for the collection used for SEO.
503
+ * @type {string}
504
+ * @memberof CreateCollectionRequest
505
+ */
506
+ 'longDescription'?: string;
507
+ /**
508
+ *
509
+ * @type {CreateCollectionRequestSeoMetadata}
510
+ * @memberof CreateCollectionRequest
511
+ */
512
+ 'seoMetadata'?: CreateCollectionRequestSeoMetadata;
513
+ /**
514
+ * The primary target search phrase for the collection that you wish to rank for in search engine results.
515
+ * @type {string}
516
+ * @memberof CreateCollectionRequest
517
+ */
518
+ 'targetSearchPhrase'?: string;
519
+ /**
520
+ * Synonyms for the target search phrase.
521
+ * @type {Array<string>}
522
+ * @memberof CreateCollectionRequest
523
+ */
524
+ 'targetSearchPhraseSynonyms'?: Array<string>;
525
+ /**
526
+ * A set of products to include in the collection.
527
+ * @type {Array<CreateCollectionRequestProductsInner>}
528
+ * @memberof CreateCollectionRequest
529
+ */
530
+ 'products': Array<CreateCollectionRequestProductsInner>;
531
+ /**
532
+ * Tags that are used to link to other collections, pages and products.
533
+ * @type {Array<NavigationTag>}
534
+ * @memberof CreateCollectionRequest
535
+ */
536
+ 'navigationTags'?: Array<NavigationTag>;
537
+ }
538
+ /**
539
+ *
540
+ * @export
541
+ * @interface CreateCollectionRequestBanner
542
+ */
543
+ export interface CreateCollectionRequestBanner {
544
+ /**
545
+ *
546
+ * @type {CreateCollectionRequestBannerImage}
547
+ * @memberof CreateCollectionRequestBanner
548
+ */
549
+ 'image': CreateCollectionRequestBannerImage;
550
+ /**
551
+ *
552
+ * @type {CreateCollectionRequestBannerOverlay}
553
+ * @memberof CreateCollectionRequestBanner
554
+ */
555
+ 'overlay'?: CreateCollectionRequestBannerOverlay;
556
+ }
557
+ /**
558
+ *
559
+ * @export
560
+ * @interface CreateCollectionRequestBannerImage
561
+ */
562
+ export interface CreateCollectionRequestBannerImage {
563
+ /**
564
+ * The source of the image
565
+ * @type {string}
566
+ * @memberof CreateCollectionRequestBannerImage
567
+ */
568
+ 'src': string;
569
+ /**
570
+ * Alternative text for the image
571
+ * @type {string}
572
+ * @memberof CreateCollectionRequestBannerImage
573
+ */
574
+ 'alt': string;
575
+ }
576
+ /**
577
+ *
578
+ * @export
579
+ * @interface CreateCollectionRequestBannerOverlay
580
+ */
581
+ export interface CreateCollectionRequestBannerOverlay {
582
+ /**
583
+ * The start color of the gradient
584
+ * @type {string}
585
+ * @memberof CreateCollectionRequestBannerOverlay
586
+ */
587
+ 'from'?: string;
588
+ /**
589
+ * The end color of the gradient
590
+ * @type {string}
591
+ * @memberof CreateCollectionRequestBannerOverlay
592
+ */
593
+ 'to'?: string;
594
+ /**
595
+ *
596
+ * @type {number}
597
+ * @memberof CreateCollectionRequestBannerOverlay
598
+ */
599
+ 'angle'?: number;
600
+ /**
601
+ * The opacity of the gradient
602
+ * @type {number}
603
+ * @memberof CreateCollectionRequestBannerOverlay
604
+ */
605
+ 'opacity'?: number;
606
+ }
607
+ /**
608
+ *
609
+ * @export
610
+ * @interface CreateCollectionRequestProductsInner
611
+ */
612
+ export interface CreateCollectionRequestProductsInner {
613
+ /**
614
+ * A reference to the catalog product
615
+ * @type {string}
616
+ * @memberof CreateCollectionRequestProductsInner
617
+ */
618
+ 'ref': string;
619
+ /**
620
+ * The sort order of the product in the collection
621
+ * @type {number}
622
+ * @memberof CreateCollectionRequestProductsInner
623
+ */
624
+ 'order': number;
625
+ /**
626
+ * An image for the product to be used in the collection
627
+ * @type {string}
628
+ * @memberof CreateCollectionRequestProductsInner
629
+ */
630
+ 'src': string;
631
+ }
632
+ /**
633
+ *
634
+ * @export
635
+ * @interface CreateCollectionRequestSeoMetadata
636
+ */
637
+ export interface CreateCollectionRequestSeoMetadata {
638
+ /**
639
+ * Meta title for the collection. This appears in search engine results and social shares. If not provided, the collection title will be used.
640
+ * @type {string}
641
+ * @memberof CreateCollectionRequestSeoMetadata
642
+ */
643
+ 'title'?: string;
644
+ /**
645
+ * Meta description for the collection. This appears in search engine results and social shares. If not provided, the collection description will be used.
646
+ * @type {string}
647
+ * @memberof CreateCollectionRequestSeoMetadata
648
+ */
649
+ 'description'?: string;
650
+ /**
651
+ *
652
+ * @type {MetaImage}
653
+ * @memberof CreateCollectionRequestSeoMetadata
654
+ */
655
+ 'image'?: MetaImage | null;
656
+ }
377
657
  /**
378
658
  *
379
659
  * @export
@@ -417,7 +697,7 @@ export interface Footer {
417
697
  * @type {Array<FooterItem>}
418
698
  * @memberof Footer
419
699
  */
420
- 'items'?: Array<FooterItem>;
700
+ 'items': Array<FooterItem>;
421
701
  }
422
702
  /**
423
703
  *
@@ -430,25 +710,25 @@ export interface FooterItem {
430
710
  * @type {string}
431
711
  * @memberof FooterItem
432
712
  */
433
- 'id'?: string;
713
+ 'id': string;
434
714
  /**
435
715
  *
436
716
  * @type {string}
437
717
  * @memberof FooterItem
438
718
  */
439
- 'text'?: string;
719
+ 'text': string;
440
720
  /**
441
721
  *
442
722
  * @type {string}
443
723
  * @memberof FooterItem
444
724
  */
445
- 'link'?: string;
725
+ 'link': string;
446
726
  /**
447
727
  *
448
728
  * @type {number}
449
729
  * @memberof FooterItem
450
730
  */
451
- 'order'?: number;
731
+ 'order': number;
452
732
  }
453
733
  /**
454
734
  * Image description
@@ -606,7 +886,7 @@ export interface MetaField {
606
886
  'value': string;
607
887
  }
608
888
  /**
609
- * The image that will in links shared on social media platforms
889
+ * The image that will be used in links shared on social media platforms
610
890
  * @export
611
891
  * @interface MetaImage
612
892
  */
@@ -637,6 +917,50 @@ export interface ModerateReviewRequest {
637
917
  */
638
918
  'enabled'?: boolean;
639
919
  }
920
+ /**
921
+ *
922
+ * @export
923
+ * @interface NavigationTag
924
+ */
925
+ export interface NavigationTag {
926
+ /**
927
+ *
928
+ * @type {string}
929
+ * @memberof NavigationTag
930
+ */
931
+ 'text': string;
932
+ /**
933
+ *
934
+ * @type {string}
935
+ * @memberof NavigationTag
936
+ */
937
+ 'link': string;
938
+ /**
939
+ *
940
+ * @type {number}
941
+ * @memberof NavigationTag
942
+ */
943
+ 'order': number;
944
+ }
945
+ /**
946
+ * The image that will be used in links shared on social media platforms
947
+ * @export
948
+ * @interface NullableMetaImage
949
+ */
950
+ export interface NullableMetaImage {
951
+ /**
952
+ *
953
+ * @type {string}
954
+ * @memberof NullableMetaImage
955
+ */
956
+ 'src'?: string;
957
+ /**
958
+ *
959
+ * @type {string}
960
+ * @memberof NullableMetaImage
961
+ */
962
+ 'alt'?: string;
963
+ }
640
964
  /**
641
965
  *
642
966
  * @export
@@ -656,6 +980,37 @@ export interface OptimisationHistoryItem {
656
980
  */
657
981
  'createdAt'?: string;
658
982
  }
983
+ /**
984
+ * The overlay that is used to display the collection
985
+ * @export
986
+ * @interface Overlay
987
+ */
988
+ export interface Overlay {
989
+ /**
990
+ *
991
+ * @type {string}
992
+ * @memberof Overlay
993
+ */
994
+ 'from': string;
995
+ /**
996
+ *
997
+ * @type {string}
998
+ * @memberof Overlay
999
+ */
1000
+ 'to': string;
1001
+ /**
1002
+ *
1003
+ * @type {number}
1004
+ * @memberof Overlay
1005
+ */
1006
+ 'angle': number;
1007
+ /**
1008
+ *
1009
+ * @type {number}
1010
+ * @memberof Overlay
1011
+ */
1012
+ 'opacity': number;
1013
+ }
659
1014
  /**
660
1015
  *
661
1016
  * @export
@@ -717,7 +1072,7 @@ export interface Page {
717
1072
  * @type {MetaImage}
718
1073
  * @memberof Page
719
1074
  */
720
- 'metaImage'?: MetaImage;
1075
+ 'metaImage'?: MetaImage | null;
721
1076
  /**
722
1077
  *
723
1078
  * @type {string}
@@ -1808,6 +2163,12 @@ export interface UpdateBrandRequest {
1808
2163
  * @interface UpdateCollectionRequest
1809
2164
  */
1810
2165
  export interface UpdateCollectionRequest {
2166
+ /**
2167
+ *
2168
+ * @type {UpdateCollectionRequestBanner}
2169
+ * @memberof UpdateCollectionRequest
2170
+ */
2171
+ 'banner'?: UpdateCollectionRequestBanner;
1811
2172
  /**
1812
2173
  * Collection title
1813
2174
  * @type {string}
@@ -1834,10 +2195,10 @@ export interface UpdateCollectionRequest {
1834
2195
  'longDescription'?: string;
1835
2196
  /**
1836
2197
  *
1837
- * @type {UpdateCollectionsRequestCollectionsInnerSeoMetadata}
2198
+ * @type {UpdateCollectionRequestSeoMetadata}
1838
2199
  * @memberof UpdateCollectionRequest
1839
2200
  */
1840
- 'seoMetadata'?: UpdateCollectionsRequestCollectionsInnerSeoMetadata;
2201
+ 'seoMetadata'?: UpdateCollectionRequestSeoMetadata;
1841
2202
  /**
1842
2203
  * The primary target search phrase for the collection that you wish to rank for in search engine results.
1843
2204
  * @type {string}
@@ -1850,74 +2211,286 @@ export interface UpdateCollectionRequest {
1850
2211
  * @memberof UpdateCollectionRequest
1851
2212
  */
1852
2213
  'targetSearchPhraseSynonyms'?: Array<string>;
2214
+ /**
2215
+ * A set of products to include in the collection.
2216
+ * @type {Array<UpdateCollectionRequestProductsInner>}
2217
+ * @memberof UpdateCollectionRequest
2218
+ */
2219
+ 'products'?: Array<UpdateCollectionRequestProductsInner>;
2220
+ /**
2221
+ * Tags that are used to link to other collections, pages and products.
2222
+ * @type {Array<NavigationTag>}
2223
+ * @memberof UpdateCollectionRequest
2224
+ */
2225
+ 'navigationTags'?: Array<NavigationTag>;
2226
+ }
2227
+ /**
2228
+ *
2229
+ * @export
2230
+ * @interface UpdateCollectionRequestBanner
2231
+ */
2232
+ export interface UpdateCollectionRequestBanner {
2233
+ /**
2234
+ *
2235
+ * @type {UpdateCollectionRequestBannerImage}
2236
+ * @memberof UpdateCollectionRequestBanner
2237
+ */
2238
+ 'image'?: UpdateCollectionRequestBannerImage;
2239
+ /**
2240
+ *
2241
+ * @type {UpdateCollectionsRequestCollectionsInnerBannerOverlay}
2242
+ * @memberof UpdateCollectionRequestBanner
2243
+ */
2244
+ 'overlay'?: UpdateCollectionsRequestCollectionsInnerBannerOverlay | null;
2245
+ }
2246
+ /**
2247
+ *
2248
+ * @export
2249
+ * @interface UpdateCollectionRequestBannerImage
2250
+ */
2251
+ export interface UpdateCollectionRequestBannerImage {
2252
+ /**
2253
+ * Banner image source
2254
+ * @type {string}
2255
+ * @memberof UpdateCollectionRequestBannerImage
2256
+ */
2257
+ 'src'?: string;
2258
+ /**
2259
+ * Banner image alt text
2260
+ * @type {string}
2261
+ * @memberof UpdateCollectionRequestBannerImage
2262
+ */
2263
+ 'alt'?: string;
2264
+ }
2265
+ /**
2266
+ *
2267
+ * @export
2268
+ * @interface UpdateCollectionRequestProductsInner
2269
+ */
2270
+ export interface UpdateCollectionRequestProductsInner {
2271
+ /**
2272
+ * A reference to the catalog product
2273
+ * @type {string}
2274
+ * @memberof UpdateCollectionRequestProductsInner
2275
+ */
2276
+ 'ref'?: string;
2277
+ /**
2278
+ * The sort order of the product in the collection
2279
+ * @type {number}
2280
+ * @memberof UpdateCollectionRequestProductsInner
2281
+ */
2282
+ 'order'?: number;
2283
+ /**
2284
+ * An image for the product to be used in the collection
2285
+ * @type {string}
2286
+ * @memberof UpdateCollectionRequestProductsInner
2287
+ */
2288
+ 'src'?: string;
2289
+ }
2290
+ /**
2291
+ *
2292
+ * @export
2293
+ * @interface UpdateCollectionRequestSeoMetadata
2294
+ */
2295
+ export interface UpdateCollectionRequestSeoMetadata {
2296
+ /**
2297
+ * Meta title for the collection. This appears in search engine results and social shares. If not provided, the collection title will be used.
2298
+ * @type {string}
2299
+ * @memberof UpdateCollectionRequestSeoMetadata
2300
+ */
2301
+ 'title'?: string | null;
2302
+ /**
2303
+ * Meta description for the collection. This appears in search engine results and social shares. If not provided, the collection description will be used.
2304
+ * @type {string}
2305
+ * @memberof UpdateCollectionRequestSeoMetadata
2306
+ */
2307
+ 'description'?: string | null;
2308
+ /**
2309
+ *
2310
+ * @type {MetaImage}
2311
+ * @memberof UpdateCollectionRequestSeoMetadata
2312
+ */
2313
+ 'image'?: MetaImage | null;
2314
+ }
2315
+ /**
2316
+ *
2317
+ * @export
2318
+ * @interface UpdateCollectionsRequest
2319
+ */
2320
+ export interface UpdateCollectionsRequest {
2321
+ /**
2322
+ *
2323
+ * @type {Array<UpdateCollectionsRequestCollectionsInner>}
2324
+ * @memberof UpdateCollectionsRequest
2325
+ */
2326
+ 'collections'?: Array<UpdateCollectionsRequestCollectionsInner>;
2327
+ }
2328
+ /**
2329
+ *
2330
+ * @export
2331
+ * @interface UpdateCollectionsRequestCollectionsInner
2332
+ */
2333
+ export interface UpdateCollectionsRequestCollectionsInner {
2334
+ /**
2335
+ * Unique object identifier
2336
+ * @type {string}
2337
+ * @memberof UpdateCollectionsRequestCollectionsInner
2338
+ */
2339
+ 'id': string;
2340
+ /**
2341
+ *
2342
+ * @type {UpdateCollectionsRequestCollectionsInnerBanner}
2343
+ * @memberof UpdateCollectionsRequestCollectionsInner
2344
+ */
2345
+ 'banner'?: UpdateCollectionsRequestCollectionsInnerBanner;
2346
+ /**
2347
+ * Collection title
2348
+ * @type {string}
2349
+ * @memberof UpdateCollectionsRequestCollectionsInner
2350
+ */
2351
+ 'title'?: string;
2352
+ /**
2353
+ * Collection description
2354
+ * @type {string}
2355
+ * @memberof UpdateCollectionsRequestCollectionsInner
2356
+ */
2357
+ 'description'?: string;
2358
+ /**
2359
+ * URL slug. This must be unique for each collection on the website. Updating this will also break any existing links to this collection.
2360
+ * @type {string}
2361
+ * @memberof UpdateCollectionsRequestCollectionsInner
2362
+ */
2363
+ 'slug'?: string;
2364
+ /**
2365
+ * Long-form description for the collection used for SEO.
2366
+ * @type {string}
2367
+ * @memberof UpdateCollectionsRequestCollectionsInner
2368
+ */
2369
+ 'longDescription'?: string;
2370
+ /**
2371
+ *
2372
+ * @type {UpdateCollectionsRequestCollectionsInnerSeoMetadata}
2373
+ * @memberof UpdateCollectionsRequestCollectionsInner
2374
+ */
2375
+ 'seoMetadata'?: UpdateCollectionsRequestCollectionsInnerSeoMetadata;
2376
+ /**
2377
+ * The primary target search phrase for the collection that you wish to rank for in search engine results.
2378
+ * @type {string}
2379
+ * @memberof UpdateCollectionsRequestCollectionsInner
2380
+ */
2381
+ 'targetSearchPhrase'?: string;
2382
+ /**
2383
+ * Synonyms for the target search phrase.
2384
+ * @type {Array<string>}
2385
+ * @memberof UpdateCollectionsRequestCollectionsInner
2386
+ */
2387
+ 'targetSearchPhraseSynonyms'?: Array<string>;
2388
+ /**
2389
+ * A set of products to include in the collection.
2390
+ * @type {Array<UpdateCollectionsRequestCollectionsInnerProductsInner>}
2391
+ * @memberof UpdateCollectionsRequestCollectionsInner
2392
+ */
2393
+ 'products'?: Array<UpdateCollectionsRequestCollectionsInnerProductsInner>;
2394
+ /**
2395
+ * Tags that are used to link to other collections, pages and products.
2396
+ * @type {Array<NavigationTag>}
2397
+ * @memberof UpdateCollectionsRequestCollectionsInner
2398
+ */
2399
+ 'navigationTags'?: Array<NavigationTag>;
1853
2400
  }
1854
2401
  /**
1855
2402
  *
1856
2403
  * @export
1857
- * @interface UpdateCollectionsRequest
2404
+ * @interface UpdateCollectionsRequestCollectionsInnerBanner
1858
2405
  */
1859
- export interface UpdateCollectionsRequest {
2406
+ export interface UpdateCollectionsRequestCollectionsInnerBanner {
1860
2407
  /**
1861
2408
  *
1862
- * @type {Array<UpdateCollectionsRequestCollectionsInner>}
1863
- * @memberof UpdateCollectionsRequest
2409
+ * @type {UpdateCollectionsRequestCollectionsInnerBannerImage}
2410
+ * @memberof UpdateCollectionsRequestCollectionsInnerBanner
1864
2411
  */
1865
- 'collections'?: Array<UpdateCollectionsRequestCollectionsInner>;
2412
+ 'image'?: UpdateCollectionsRequestCollectionsInnerBannerImage;
2413
+ /**
2414
+ *
2415
+ * @type {UpdateCollectionsRequestCollectionsInnerBannerOverlay}
2416
+ * @memberof UpdateCollectionsRequestCollectionsInnerBanner
2417
+ */
2418
+ 'overlay'?: UpdateCollectionsRequestCollectionsInnerBannerOverlay | null;
1866
2419
  }
1867
2420
  /**
1868
2421
  *
1869
2422
  * @export
1870
- * @interface UpdateCollectionsRequestCollectionsInner
2423
+ * @interface UpdateCollectionsRequestCollectionsInnerBannerImage
1871
2424
  */
1872
- export interface UpdateCollectionsRequestCollectionsInner {
2425
+ export interface UpdateCollectionsRequestCollectionsInnerBannerImage {
1873
2426
  /**
1874
- * Unique object identifier
2427
+ * Banner image source
1875
2428
  * @type {string}
1876
- * @memberof UpdateCollectionsRequestCollectionsInner
2429
+ * @memberof UpdateCollectionsRequestCollectionsInnerBannerImage
1877
2430
  */
1878
- 'id': string;
2431
+ 'src'?: string;
1879
2432
  /**
1880
- * Collection title
2433
+ * Alternative text for the image
1881
2434
  * @type {string}
1882
- * @memberof UpdateCollectionsRequestCollectionsInner
2435
+ * @memberof UpdateCollectionsRequestCollectionsInnerBannerImage
1883
2436
  */
1884
- 'title'?: string;
2437
+ 'alt'?: string;
2438
+ }
2439
+ /**
2440
+ *
2441
+ * @export
2442
+ * @interface UpdateCollectionsRequestCollectionsInnerBannerOverlay
2443
+ */
2444
+ export interface UpdateCollectionsRequestCollectionsInnerBannerOverlay {
1885
2445
  /**
1886
- * Collection description
2446
+ * The start color of the gradient
1887
2447
  * @type {string}
1888
- * @memberof UpdateCollectionsRequestCollectionsInner
2448
+ * @memberof UpdateCollectionsRequestCollectionsInnerBannerOverlay
1889
2449
  */
1890
- 'description'?: string;
2450
+ 'from'?: string;
1891
2451
  /**
1892
- * URL slug. This must be unique for each collection on the website. Updating this will also break any existing links to this collection.
2452
+ * The end color of the gradient
1893
2453
  * @type {string}
1894
- * @memberof UpdateCollectionsRequestCollectionsInner
2454
+ * @memberof UpdateCollectionsRequestCollectionsInnerBannerOverlay
1895
2455
  */
1896
- 'slug'?: string;
2456
+ 'to'?: string;
1897
2457
  /**
1898
- * Long-form description for the collection used for SEO.
1899
- * @type {string}
1900
- * @memberof UpdateCollectionsRequestCollectionsInner
2458
+ * The angle of the gradient
2459
+ * @type {number}
2460
+ * @memberof UpdateCollectionsRequestCollectionsInnerBannerOverlay
1901
2461
  */
1902
- 'longDescription'?: string;
2462
+ 'angle'?: number;
2463
+ /**
2464
+ * The opacity of the gradient
2465
+ * @type {number}
2466
+ * @memberof UpdateCollectionsRequestCollectionsInnerBannerOverlay
2467
+ */
2468
+ 'opacity'?: number;
2469
+ }
2470
+ /**
2471
+ *
2472
+ * @export
2473
+ * @interface UpdateCollectionsRequestCollectionsInnerProductsInner
2474
+ */
2475
+ export interface UpdateCollectionsRequestCollectionsInnerProductsInner {
1903
2476
  /**
1904
2477
  *
1905
- * @type {UpdateCollectionsRequestCollectionsInnerSeoMetadata}
1906
- * @memberof UpdateCollectionsRequestCollectionsInner
2478
+ * @type {CollectionProduct}
2479
+ * @memberof UpdateCollectionsRequestCollectionsInnerProductsInner
1907
2480
  */
1908
- 'seoMetadata'?: UpdateCollectionsRequestCollectionsInnerSeoMetadata;
2481
+ 'ref'?: CollectionProduct;
1909
2482
  /**
1910
- * The primary target search phrase for the collection that you wish to rank for in search engine results.
1911
- * @type {string}
1912
- * @memberof UpdateCollectionsRequestCollectionsInner
2483
+ * The sort order of the product in the collection
2484
+ * @type {number}
2485
+ * @memberof UpdateCollectionsRequestCollectionsInnerProductsInner
1913
2486
  */
1914
- 'targetSearchPhrase'?: string;
2487
+ 'order'?: number;
1915
2488
  /**
1916
- * Synonyms for the target search phrase.
1917
- * @type {Array<string>}
1918
- * @memberof UpdateCollectionsRequestCollectionsInner
2489
+ *
2490
+ * @type {NullableMetaImage}
2491
+ * @memberof UpdateCollectionsRequestCollectionsInnerProductsInner
1919
2492
  */
1920
- 'targetSearchPhraseSynonyms'?: Array<string>;
2493
+ 'image'?: NullableMetaImage | null;
1921
2494
  }
1922
2495
  /**
1923
2496
  *
@@ -3220,6 +3793,117 @@ export class BlogsApi extends BaseAPI {
3220
3793
  */
3221
3794
  export const CollectionsApiAxiosParamCreator = function (configuration?: Configuration) {
3222
3795
  return {
3796
+ /**
3797
+ * Create a new website collection.
3798
+ * @summary Create website collection
3799
+ * @param {string} project What project it is
3800
+ * @param {number} [pageToken] Page reference token
3801
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
3802
+ * @param {string} [search] Search term to filter results
3803
+ * @param {CreateCollectionRequest} [createCollectionRequest] Create a new collection
3804
+ * @param {*} [options] Override http request option.
3805
+ * @throws {RequiredError}
3806
+ */
3807
+ createCollection: async (project: string, pageToken?: number, pageSize?: number, search?: string, createCollectionRequest?: CreateCollectionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3808
+ // verify required parameter 'project' is not null or undefined
3809
+ assertParamExists('createCollection', 'project', project)
3810
+ const localVarPath = `/v1/website/collections`;
3811
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3812
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3813
+ let baseOptions;
3814
+ if (configuration) {
3815
+ baseOptions = configuration.baseOptions;
3816
+ }
3817
+
3818
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
3819
+ const localVarHeaderParameter = {} as any;
3820
+ const localVarQueryParameter = {} as any;
3821
+
3822
+ // authentication session-oauth required
3823
+ // oauth required
3824
+ await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
3825
+
3826
+ // authentication api-key required
3827
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
3828
+
3829
+ if (project !== undefined) {
3830
+ localVarQueryParameter['project'] = project;
3831
+ }
3832
+
3833
+ if (pageToken !== undefined) {
3834
+ localVarQueryParameter['pageToken'] = pageToken;
3835
+ }
3836
+
3837
+ if (pageSize !== undefined) {
3838
+ localVarQueryParameter['pageSize'] = pageSize;
3839
+ }
3840
+
3841
+ if (search !== undefined) {
3842
+ localVarQueryParameter['search'] = search;
3843
+ }
3844
+
3845
+
3846
+
3847
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3848
+
3849
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3850
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3851
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3852
+ localVarRequestOptions.data = serializeDataIfNeeded(createCollectionRequest, localVarRequestOptions, configuration)
3853
+
3854
+ return {
3855
+ url: toPathString(localVarUrlObj),
3856
+ options: localVarRequestOptions,
3857
+ };
3858
+ },
3859
+ /**
3860
+ *
3861
+ * @summary Delete website collection
3862
+ * @param {string} project What project it is
3863
+ * @param {string} collectionId Collection\&#39;s unique identifier
3864
+ * @param {*} [options] Override http request option.
3865
+ * @throws {RequiredError}
3866
+ */
3867
+ deleteCollection: async (project: string, collectionId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3868
+ // verify required parameter 'project' is not null or undefined
3869
+ assertParamExists('deleteCollection', 'project', project)
3870
+ // verify required parameter 'collectionId' is not null or undefined
3871
+ assertParamExists('deleteCollection', 'collectionId', collectionId)
3872
+ const localVarPath = `/v1/website/collections/{collectionId}`
3873
+ .replace(`{${"collectionId"}}`, encodeURIComponent(String(collectionId)));
3874
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3875
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3876
+ let baseOptions;
3877
+ if (configuration) {
3878
+ baseOptions = configuration.baseOptions;
3879
+ }
3880
+
3881
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
3882
+ const localVarHeaderParameter = {} as any;
3883
+ const localVarQueryParameter = {} as any;
3884
+
3885
+ // authentication session-oauth required
3886
+ // oauth required
3887
+ await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
3888
+
3889
+ // authentication api-key required
3890
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
3891
+
3892
+ if (project !== undefined) {
3893
+ localVarQueryParameter['project'] = project;
3894
+ }
3895
+
3896
+
3897
+
3898
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3899
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3900
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3901
+
3902
+ return {
3903
+ url: toPathString(localVarUrlObj),
3904
+ options: localVarRequestOptions,
3905
+ };
3906
+ },
3223
3907
  /**
3224
3908
  * Export collections as a CSV file.
3225
3909
  * @summary Export collections
@@ -3472,7 +4156,7 @@ export const CollectionsApiAxiosParamCreator = function (configuration?: Configu
3472
4156
  };
3473
4157
  },
3474
4158
  /**
3475
- *
4159
+ * Update a website collection.
3476
4160
  * @summary Update website collections
3477
4161
  * @param {string} project What project it is
3478
4162
  * @param {number} [pageToken] Page reference token
@@ -3544,6 +4228,37 @@ export const CollectionsApiAxiosParamCreator = function (configuration?: Configu
3544
4228
  export const CollectionsApiFp = function(configuration?: Configuration) {
3545
4229
  const localVarAxiosParamCreator = CollectionsApiAxiosParamCreator(configuration)
3546
4230
  return {
4231
+ /**
4232
+ * Create a new website collection.
4233
+ * @summary Create website collection
4234
+ * @param {string} project What project it is
4235
+ * @param {number} [pageToken] Page reference token
4236
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
4237
+ * @param {string} [search] Search term to filter results
4238
+ * @param {CreateCollectionRequest} [createCollectionRequest] Create a new collection
4239
+ * @param {*} [options] Override http request option.
4240
+ * @throws {RequiredError}
4241
+ */
4242
+ async createCollection(project: string, pageToken?: number, pageSize?: number, search?: string, createCollectionRequest?: CreateCollectionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Collection>> {
4243
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createCollection(project, pageToken, pageSize, search, createCollectionRequest, options);
4244
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4245
+ const localVarOperationServerBasePath = operationServerMap['CollectionsApi.createCollection']?.[localVarOperationServerIndex]?.url;
4246
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4247
+ },
4248
+ /**
4249
+ *
4250
+ * @summary Delete website collection
4251
+ * @param {string} project What project it is
4252
+ * @param {string} collectionId Collection\&#39;s unique identifier
4253
+ * @param {*} [options] Override http request option.
4254
+ * @throws {RequiredError}
4255
+ */
4256
+ async deleteCollection(project: string, collectionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
4257
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCollection(project, collectionId, options);
4258
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4259
+ const localVarOperationServerBasePath = operationServerMap['CollectionsApi.deleteCollection']?.[localVarOperationServerIndex]?.url;
4260
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4261
+ },
3547
4262
  /**
3548
4263
  * Export collections as a CSV file.
3549
4264
  * @summary Export collections
@@ -3617,7 +4332,7 @@ export const CollectionsApiFp = function(configuration?: Configuration) {
3617
4332
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3618
4333
  },
3619
4334
  /**
3620
- *
4335
+ * Update a website collection.
3621
4336
  * @summary Update website collections
3622
4337
  * @param {string} project What project it is
3623
4338
  * @param {number} [pageToken] Page reference token
@@ -3643,6 +4358,26 @@ export const CollectionsApiFp = function(configuration?: Configuration) {
3643
4358
  export const CollectionsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
3644
4359
  const localVarFp = CollectionsApiFp(configuration)
3645
4360
  return {
4361
+ /**
4362
+ * Create a new website collection.
4363
+ * @summary Create website collection
4364
+ * @param {CollectionsApiCreateCollectionRequest} requestParameters Request parameters.
4365
+ * @param {*} [options] Override http request option.
4366
+ * @throws {RequiredError}
4367
+ */
4368
+ createCollection(requestParameters: CollectionsApiCreateCollectionRequest, options?: RawAxiosRequestConfig): AxiosPromise<Collection> {
4369
+ return localVarFp.createCollection(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.createCollectionRequest, options).then((request) => request(axios, basePath));
4370
+ },
4371
+ /**
4372
+ *
4373
+ * @summary Delete website collection
4374
+ * @param {CollectionsApiDeleteCollectionRequest} requestParameters Request parameters.
4375
+ * @param {*} [options] Override http request option.
4376
+ * @throws {RequiredError}
4377
+ */
4378
+ deleteCollection(requestParameters: CollectionsApiDeleteCollectionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
4379
+ return localVarFp.deleteCollection(requestParameters.project, requestParameters.collectionId, options).then((request) => request(axios, basePath));
4380
+ },
3646
4381
  /**
3647
4382
  * Export collections as a CSV file.
3648
4383
  * @summary Export collections
@@ -3694,7 +4429,7 @@ export const CollectionsApiFactory = function (configuration?: Configuration, ba
3694
4429
  return localVarFp.updateCollection(requestParameters.project, requestParameters.collectionId, requestParameters.updateCollectionRequest, options).then((request) => request(axios, basePath));
3695
4430
  },
3696
4431
  /**
3697
- *
4432
+ * Update a website collection.
3698
4433
  * @summary Update website collections
3699
4434
  * @param {CollectionsApiUpdateCollectionsRequest} requestParameters Request parameters.
3700
4435
  * @param {*} [options] Override http request option.
@@ -3706,6 +4441,69 @@ export const CollectionsApiFactory = function (configuration?: Configuration, ba
3706
4441
  };
3707
4442
  };
3708
4443
 
4444
+ /**
4445
+ * Request parameters for createCollection operation in CollectionsApi.
4446
+ * @export
4447
+ * @interface CollectionsApiCreateCollectionRequest
4448
+ */
4449
+ export interface CollectionsApiCreateCollectionRequest {
4450
+ /**
4451
+ * What project it is
4452
+ * @type {string}
4453
+ * @memberof CollectionsApiCreateCollection
4454
+ */
4455
+ readonly project: string
4456
+
4457
+ /**
4458
+ * Page reference token
4459
+ * @type {number}
4460
+ * @memberof CollectionsApiCreateCollection
4461
+ */
4462
+ readonly pageToken?: number
4463
+
4464
+ /**
4465
+ * Max page size. This is the maximum page size that will be returned, but it might be smaller.
4466
+ * @type {number}
4467
+ * @memberof CollectionsApiCreateCollection
4468
+ */
4469
+ readonly pageSize?: number
4470
+
4471
+ /**
4472
+ * Search term to filter results
4473
+ * @type {string}
4474
+ * @memberof CollectionsApiCreateCollection
4475
+ */
4476
+ readonly search?: string
4477
+
4478
+ /**
4479
+ * Create a new collection
4480
+ * @type {CreateCollectionRequest}
4481
+ * @memberof CollectionsApiCreateCollection
4482
+ */
4483
+ readonly createCollectionRequest?: CreateCollectionRequest
4484
+ }
4485
+
4486
+ /**
4487
+ * Request parameters for deleteCollection operation in CollectionsApi.
4488
+ * @export
4489
+ * @interface CollectionsApiDeleteCollectionRequest
4490
+ */
4491
+ export interface CollectionsApiDeleteCollectionRequest {
4492
+ /**
4493
+ * What project it is
4494
+ * @type {string}
4495
+ * @memberof CollectionsApiDeleteCollection
4496
+ */
4497
+ readonly project: string
4498
+
4499
+ /**
4500
+ * Collection\&#39;s unique identifier
4501
+ * @type {string}
4502
+ * @memberof CollectionsApiDeleteCollection
4503
+ */
4504
+ readonly collectionId: string
4505
+ }
4506
+
3709
4507
  /**
3710
4508
  * Request parameters for exportCollections operation in CollectionsApi.
3711
4509
  * @export
@@ -3874,6 +4672,30 @@ export interface CollectionsApiUpdateCollectionsRequest {
3874
4672
  * @extends {BaseAPI}
3875
4673
  */
3876
4674
  export class CollectionsApi extends BaseAPI {
4675
+ /**
4676
+ * Create a new website collection.
4677
+ * @summary Create website collection
4678
+ * @param {CollectionsApiCreateCollectionRequest} requestParameters Request parameters.
4679
+ * @param {*} [options] Override http request option.
4680
+ * @throws {RequiredError}
4681
+ * @memberof CollectionsApi
4682
+ */
4683
+ public createCollection(requestParameters: CollectionsApiCreateCollectionRequest, options?: RawAxiosRequestConfig) {
4684
+ return CollectionsApiFp(this.configuration).createCollection(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.createCollectionRequest, options).then((request) => request(this.axios, this.basePath));
4685
+ }
4686
+
4687
+ /**
4688
+ *
4689
+ * @summary Delete website collection
4690
+ * @param {CollectionsApiDeleteCollectionRequest} requestParameters Request parameters.
4691
+ * @param {*} [options] Override http request option.
4692
+ * @throws {RequiredError}
4693
+ * @memberof CollectionsApi
4694
+ */
4695
+ public deleteCollection(requestParameters: CollectionsApiDeleteCollectionRequest, options?: RawAxiosRequestConfig) {
4696
+ return CollectionsApiFp(this.configuration).deleteCollection(requestParameters.project, requestParameters.collectionId, options).then((request) => request(this.axios, this.basePath));
4697
+ }
4698
+
3877
4699
  /**
3878
4700
  * Export collections as a CSV file.
3879
4701
  * @summary Export collections
@@ -3935,7 +4757,7 @@ export class CollectionsApi extends BaseAPI {
3935
4757
  }
3936
4758
 
3937
4759
  /**
3938
- *
4760
+ * Update a website collection.
3939
4761
  * @summary Update website collections
3940
4762
  * @param {CollectionsApiUpdateCollectionsRequest} requestParameters Request parameters.
3941
4763
  * @param {*} [options] Override http request option.