@teemill/website 0.3.0 → 0.4.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.
package/dist/esm/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Website API
3
3
  * Manage your Teemill Website Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
4
  *
5
- * The version of the OpenAPI document: 0.3.0
5
+ * The version of the OpenAPI document: 0.4.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -32,6 +32,151 @@ export interface ApiError {
32
32
  */
33
33
  'message': string;
34
34
  }
35
+ /**
36
+ *
37
+ * @export
38
+ * @interface Application
39
+ */
40
+ export interface Application {
41
+ /**
42
+ * Unique object identifier
43
+ * @type {string}
44
+ * @memberof Application
45
+ */
46
+ 'id'?: string;
47
+ /**
48
+ * Technology to use for the application.
49
+ * @type {string}
50
+ * @memberof Application
51
+ */
52
+ 'technology': ApplicationTechnologyEnum;
53
+ /**
54
+ * Placement of the application. Available placements depend on the chosen product and technology.
55
+ * @type {string}
56
+ * @memberof Application
57
+ */
58
+ 'placement': ApplicationPlacementEnum;
59
+ /**
60
+ * Publicly available design file URL. This will fill the design area of the warehouse product. It will be centered horizontally and aligned to the top of the design area. Accepts PNG and JPEG files.
61
+ * @type {string}
62
+ * @memberof Application
63
+ */
64
+ 'src': string;
65
+ /**
66
+ *
67
+ * @type {ApplicationMockup}
68
+ * @memberof Application
69
+ */
70
+ 'mockup'?: ApplicationMockup | null;
71
+ }
72
+ export declare const ApplicationTechnologyEnum: {
73
+ readonly Dtg: "dtg";
74
+ readonly Embroidery: "embroidery";
75
+ readonly Dtf: "dtf";
76
+ readonly Pretreat: "pretreat";
77
+ readonly MugSublimation: "mug_sublimation";
78
+ readonly ManualPrint: "manual_print";
79
+ readonly AdditionalApplication: "additional_application";
80
+ readonly NotebookSublimation: "notebook_sublimation";
81
+ readonly DuplexPrint: "duplex_print";
82
+ };
83
+ export type ApplicationTechnologyEnum = typeof ApplicationTechnologyEnum[keyof typeof ApplicationTechnologyEnum];
84
+ export declare const ApplicationPlacementEnum: {
85
+ readonly Front: "front";
86
+ readonly Back: "back";
87
+ readonly Left: "left";
88
+ readonly Right: "right";
89
+ readonly Neck: "neck";
90
+ };
91
+ export type ApplicationPlacementEnum = typeof ApplicationPlacementEnum[keyof typeof ApplicationPlacementEnum];
92
+ /**
93
+ *
94
+ * @export
95
+ * @interface ApplicationMockup
96
+ */
97
+ export interface ApplicationMockup {
98
+ /**
99
+ * Drive image URL. If provided, this will be used as the mockup image for the variant application rather than generating a new one.
100
+ * @type {string}
101
+ * @memberof ApplicationMockup
102
+ */
103
+ 'file': string;
104
+ /**
105
+ * Publicly available mockup image URL. This is a preview of the mockup image for the given application.
106
+ * @type {string}
107
+ * @memberof ApplicationMockup
108
+ */
109
+ 'preview'?: string;
110
+ }
111
+ /**
112
+ *
113
+ * @export
114
+ * @interface AttachCrossSellProductsRequest
115
+ */
116
+ export interface AttachCrossSellProductsRequest {
117
+ /**
118
+ * A list of product IDs to attach as cross-sell products. The order in which they are sent is the order they will be saved in.
119
+ * @type {Array<string>}
120
+ * @memberof AttachCrossSellProductsRequest
121
+ */
122
+ 'products'?: Array<string>;
123
+ }
124
+ /**
125
+ *
126
+ * @export
127
+ * @interface Attribute
128
+ */
129
+ export interface Attribute {
130
+ /**
131
+ * Attribute name
132
+ * @type {string}
133
+ * @memberof Attribute
134
+ */
135
+ 'name': string;
136
+ /**
137
+ * Attribute value
138
+ * @type {string}
139
+ * @memberof Attribute
140
+ */
141
+ 'value': string;
142
+ /**
143
+ *
144
+ * @type {AttributeThumbnail}
145
+ * @memberof Attribute
146
+ */
147
+ 'thumbnail'?: AttributeThumbnail;
148
+ /**
149
+ * Attribute tags
150
+ * @type {Array<string>}
151
+ * @memberof Attribute
152
+ */
153
+ 'tags'?: Array<string>;
154
+ }
155
+ /**
156
+ * Attribute thumbnail, intended for interfaces like storefront colour selector.
157
+ * @export
158
+ * @interface AttributeThumbnail
159
+ */
160
+ export interface AttributeThumbnail {
161
+ /**
162
+ *
163
+ * @type {string}
164
+ * @memberof AttributeThumbnail
165
+ */
166
+ 'type'?: AttributeThumbnailTypeEnum;
167
+ /**
168
+ *
169
+ * @type {string}
170
+ * @memberof AttributeThumbnail
171
+ */
172
+ 'value'?: string;
173
+ }
174
+ export declare const AttributeThumbnailTypeEnum: {
175
+ readonly Text: "text";
176
+ readonly Color: "color";
177
+ readonly Image: "image";
178
+ };
179
+ export type AttributeThumbnailTypeEnum = typeof AttributeThumbnailTypeEnum[keyof typeof AttributeThumbnailTypeEnum];
35
180
  /**
36
181
  *
37
182
  * @export
@@ -45,6 +190,61 @@ export interface AuthorizeStripe200Response {
45
190
  */
46
191
  'redirect_url': string;
47
192
  }
193
+ /**
194
+ * Image description
195
+ * @export
196
+ * @interface Image
197
+ */
198
+ export interface Image {
199
+ /**
200
+ * Unique object identifier
201
+ * @type {string}
202
+ * @memberof Image
203
+ */
204
+ 'id'?: string;
205
+ /**
206
+ *
207
+ * @type {string}
208
+ * @memberof Image
209
+ */
210
+ 'src'?: string;
211
+ /**
212
+ *
213
+ * @type {string}
214
+ * @memberof Image
215
+ */
216
+ 'type'?: string | null;
217
+ /**
218
+ *
219
+ * @type {string}
220
+ * @memberof Image
221
+ */
222
+ 'alt'?: string;
223
+ /**
224
+ * List of variant Ids
225
+ * @type {Array<string>}
226
+ * @memberof Image
227
+ */
228
+ 'variantIds'?: Array<string>;
229
+ /**
230
+ *
231
+ * @type {number}
232
+ * @memberof Image
233
+ */
234
+ 'sortOrder'?: number;
235
+ /**
236
+ *
237
+ * @type {string}
238
+ * @memberof Image
239
+ */
240
+ 'createdAt'?: string;
241
+ /**
242
+ *
243
+ * @type {string}
244
+ * @memberof Image
245
+ */
246
+ 'updatedAt'?: string;
247
+ }
48
248
  /**
49
249
  *
50
250
  * @export
@@ -95,6 +295,25 @@ export interface MenuItem {
95
295
  */
96
296
  'submenu': Array<SubmenuInner>;
97
297
  }
298
+ /**
299
+ * Key/value pairs that can be used to store additional information on the product
300
+ * @export
301
+ * @interface MetaField
302
+ */
303
+ export interface MetaField {
304
+ /**
305
+ * The name or key of the property
306
+ * @type {string}
307
+ * @memberof MetaField
308
+ */
309
+ 'name'?: string;
310
+ /**
311
+ * The string value of the property
312
+ * @type {string}
313
+ * @memberof MetaField
314
+ */
315
+ 'value'?: string;
316
+ }
98
317
  /**
99
318
  *
100
319
  * @export
@@ -127,6 +346,275 @@ export declare const PaymentAccountMethodEnum: {
127
346
  readonly Paypal: "paypal";
128
347
  };
129
348
  export type PaymentAccountMethodEnum = typeof PaymentAccountMethodEnum[keyof typeof PaymentAccountMethodEnum];
349
+ /**
350
+ * Standard price definition that defines the amount, tax rate and currency.
351
+ * @export
352
+ * @interface Price
353
+ */
354
+ export interface Price {
355
+ /**
356
+ * Price including tax in the specified currency.
357
+ * @type {number}
358
+ * @memberof Price
359
+ */
360
+ 'amount'?: number;
361
+ /**
362
+ * Currency code for the currency the price is valued in.
363
+ * @type {string}
364
+ * @memberof Price
365
+ */
366
+ 'currencyCode'?: PriceCurrencyCodeEnum;
367
+ }
368
+ export declare const PriceCurrencyCodeEnum: {
369
+ readonly Gbp: "GBP";
370
+ };
371
+ export type PriceCurrencyCodeEnum = typeof PriceCurrencyCodeEnum[keyof typeof PriceCurrencyCodeEnum];
372
+ /**
373
+ *
374
+ * @export
375
+ * @interface Product
376
+ */
377
+ export interface Product {
378
+ /**
379
+ * Unique object identifier
380
+ * @type {string}
381
+ * @memberof Product
382
+ */
383
+ 'id'?: string;
384
+ /**
385
+ * A reference to the resource location
386
+ * @type {string}
387
+ * @memberof Product
388
+ */
389
+ 'ref'?: string;
390
+ /**
391
+ *
392
+ * @type {string}
393
+ * @memberof Product
394
+ */
395
+ 'title': string;
396
+ /**
397
+ *
398
+ * @type {string}
399
+ * @memberof Product
400
+ */
401
+ 'description': string;
402
+ /**
403
+ *
404
+ * @type {string}
405
+ * @memberof Product
406
+ */
407
+ 'slug'?: string;
408
+ /**
409
+ *
410
+ * @type {boolean}
411
+ * @memberof Product
412
+ */
413
+ 'enabled'?: boolean;
414
+ /**
415
+ *
416
+ * @type {SeoMetadata}
417
+ * @memberof Product
418
+ */
419
+ 'seoMetadata'?: SeoMetadata;
420
+ /**
421
+ *
422
+ * @type {Array<string>}
423
+ * @memberof Product
424
+ */
425
+ 'tags'?: Array<string>;
426
+ /**
427
+ *
428
+ * @type {Array<string>}
429
+ * @memberof Product
430
+ */
431
+ 'internalTags'?: Array<string>;
432
+ /**
433
+ *
434
+ * @type {string}
435
+ * @memberof Product
436
+ */
437
+ 'createdAt'?: string;
438
+ /**
439
+ *
440
+ * @type {string}
441
+ * @memberof Product
442
+ */
443
+ 'updatedAt'?: string;
444
+ /**
445
+ *
446
+ * @type {string}
447
+ * @memberof Product
448
+ */
449
+ 'publishedAt'?: string;
450
+ /**
451
+ * Images
452
+ * @type {Array<Image>}
453
+ * @memberof Product
454
+ */
455
+ 'images'?: Array<Image>;
456
+ /**
457
+ * Videos
458
+ * @type {Array<Video>}
459
+ * @memberof Product
460
+ */
461
+ 'videos'?: Array<Video>;
462
+ /**
463
+ * Variants
464
+ * @type {Array<Variant>}
465
+ * @memberof Product
466
+ */
467
+ 'variants'?: Array<Variant>;
468
+ /**
469
+ * Additional files attached to the product.
470
+ * @type {Array<ProductAdditionalFilesInner>}
471
+ * @memberof Product
472
+ */
473
+ 'additionalFiles'?: Array<ProductAdditionalFilesInner>;
474
+ /**
475
+ * List of application sets associated with this product
476
+ * @type {Array<ProductApplicationSetsInner>}
477
+ * @memberof Product
478
+ */
479
+ 'applicationSets'?: Array<ProductApplicationSetsInner>;
480
+ /**
481
+ * The average review rating. This field is only present if included in the fields query parameter
482
+ * @type {number}
483
+ * @memberof Product
484
+ */
485
+ 'reviewScore'?: number | null;
486
+ /**
487
+ * A count of reviews. This field is only present if included in the fields query parameter
488
+ * @type {number}
489
+ * @memberof Product
490
+ */
491
+ 'reviewCount'?: number;
492
+ /**
493
+ *
494
+ * @type {string}
495
+ * @memberof Product
496
+ */
497
+ 'sku'?: string;
498
+ /**
499
+ * A count of sales. This field is only present if included in the fields query parameter
500
+ * @type {number}
501
+ * @memberof Product
502
+ */
503
+ 'sales'?: number;
504
+ /**
505
+ *
506
+ * @type {boolean}
507
+ * @memberof Product
508
+ */
509
+ 'includeInDataFeeds'?: boolean;
510
+ /**
511
+ *
512
+ * @type {ProductWarehouseProduct}
513
+ * @memberof Product
514
+ */
515
+ 'warehouseProduct'?: ProductWarehouseProduct;
516
+ /**
517
+ *
518
+ * @type {Array<MetaField>}
519
+ * @memberof Product
520
+ */
521
+ 'metafields'?: Array<MetaField>;
522
+ }
523
+ /**
524
+ *
525
+ * @export
526
+ * @interface ProductAdditionalFilesInner
527
+ */
528
+ export interface ProductAdditionalFilesInner {
529
+ /**
530
+ * Unique object identifier
531
+ * @type {string}
532
+ * @memberof ProductAdditionalFilesInner
533
+ */
534
+ 'id'?: string;
535
+ /**
536
+ * File URL
537
+ * @type {string}
538
+ * @memberof ProductAdditionalFilesInner
539
+ */
540
+ 'src'?: string;
541
+ }
542
+ /**
543
+ *
544
+ * @export
545
+ * @interface ProductApplicationSetsInner
546
+ */
547
+ export interface ProductApplicationSetsInner {
548
+ /**
549
+ * Unique object identifier
550
+ * @type {string}
551
+ * @memberof ProductApplicationSetsInner
552
+ */
553
+ 'id'?: string;
554
+ /**
555
+ * A reference to the resource location
556
+ * @type {string}
557
+ * @memberof ProductApplicationSetsInner
558
+ */
559
+ 'ref'?: string;
560
+ /**
561
+ * Name of the application set
562
+ * @type {string}
563
+ * @memberof ProductApplicationSetsInner
564
+ */
565
+ 'name'?: string;
566
+ }
567
+ /**
568
+ *
569
+ * @export
570
+ * @interface ProductWarehouseProduct
571
+ */
572
+ export interface ProductWarehouseProduct {
573
+ /**
574
+ * Unique object identifier
575
+ * @type {string}
576
+ * @memberof ProductWarehouseProduct
577
+ */
578
+ 'id'?: string;
579
+ /**
580
+ * Reference to the product in the Global Fulfillment Network (GFN) catalog that will be used as a base for this product. A list of available products for the given project can be obtained from the GFN Catalog API.
581
+ * @type {string}
582
+ * @memberof ProductWarehouseProduct
583
+ */
584
+ 'gfnProductRef'?: string;
585
+ }
586
+ /**
587
+ * SEO metadata for the product
588
+ * @export
589
+ * @interface SeoMetadata
590
+ */
591
+ export interface SeoMetadata {
592
+ /**
593
+ * Meta title for the product. This appears in search engine results and social shares. If not provided, the product title will be used.
594
+ * @type {string}
595
+ * @memberof SeoMetadata
596
+ */
597
+ 'title'?: string;
598
+ /**
599
+ * Meta description for the product. This appears in search engine results and social shares. If not provided, the product description will be used.
600
+ * @type {string}
601
+ * @memberof SeoMetadata
602
+ */
603
+ 'description'?: string | null;
604
+ }
605
+ /**
606
+ *
607
+ * @export
608
+ * @interface Stock
609
+ */
610
+ export interface Stock {
611
+ /**
612
+ *
613
+ * @type {number}
614
+ * @memberof Stock
615
+ */
616
+ 'level'?: number;
617
+ }
130
618
  /**
131
619
  *
132
620
  * @export
@@ -313,6 +801,171 @@ export interface UpdateMenuRequestSubmenuItem {
313
801
  */
314
802
  'order': number;
315
803
  }
804
+ /**
805
+ *
806
+ * @export
807
+ * @interface Variant
808
+ */
809
+ export interface Variant {
810
+ /**
811
+ * Unique object identifier
812
+ * @type {string}
813
+ * @memberof Variant
814
+ */
815
+ 'id'?: string;
816
+ /**
817
+ * Attributes associated to a variant such as Colour and Size. An attribute can have thumbnail type of `text`, `color`, or `image`. Attribute tags are intended for grouping and filtering, e.g. by a group of colours.
818
+ * @type {Array<Attribute>}
819
+ * @memberof Variant
820
+ */
821
+ 'attributes': Array<Attribute>;
822
+ /**
823
+ *
824
+ * @type {string}
825
+ * @memberof Variant
826
+ */
827
+ 'sku': string;
828
+ /**
829
+ * A reference to the resource location
830
+ * @type {string}
831
+ * @memberof Variant
832
+ */
833
+ 'ref'?: string;
834
+ /**
835
+ *
836
+ * @type {VariantProduct}
837
+ * @memberof Variant
838
+ */
839
+ 'product'?: VariantProduct;
840
+ /**
841
+ *
842
+ * @type {number}
843
+ * @memberof Variant
844
+ */
845
+ 'sortOrder'?: number;
846
+ /**
847
+ *
848
+ * @type {Price}
849
+ * @memberof Variant
850
+ */
851
+ 'retailPrice'?: Price;
852
+ /**
853
+ *
854
+ * @type {Price}
855
+ * @memberof Variant
856
+ */
857
+ 'salePrice'?: Price;
858
+ /**
859
+ *
860
+ * @type {Price}
861
+ * @memberof Variant
862
+ */
863
+ 'price'?: Price;
864
+ /**
865
+ *
866
+ * @type {Stock}
867
+ * @memberof Variant
868
+ */
869
+ 'stock'?: Stock;
870
+ /**
871
+ *
872
+ * @type {string}
873
+ * @memberof Variant
874
+ */
875
+ 'createdAt'?: string;
876
+ /**
877
+ *
878
+ * @type {string}
879
+ * @memberof Variant
880
+ */
881
+ 'updatedAt'?: string;
882
+ /**
883
+ *
884
+ * @type {string}
885
+ * @memberof Variant
886
+ */
887
+ 'publishedAt'?: string;
888
+ /**
889
+ * Images
890
+ * @type {Array<Image>}
891
+ * @memberof Variant
892
+ */
893
+ 'images'?: Array<Image>;
894
+ /**
895
+ * Design applications. If not provided, the product will be blank.
896
+ * @type {Array<Application>}
897
+ * @memberof Variant
898
+ */
899
+ 'applications'?: Array<Application>;
900
+ /**
901
+ * Global Trade Item Number
902
+ * @type {string}
903
+ * @memberof Variant
904
+ */
905
+ 'gtin'?: string | null;
906
+ }
907
+ /**
908
+ *
909
+ * @export
910
+ * @interface VariantProduct
911
+ */
912
+ export interface VariantProduct {
913
+ /**
914
+ * Unique object identifier
915
+ * @type {string}
916
+ * @memberof VariantProduct
917
+ */
918
+ 'id'?: string;
919
+ /**
920
+ * A reference to the resource location
921
+ * @type {string}
922
+ * @memberof VariantProduct
923
+ */
924
+ 'ref'?: string;
925
+ }
926
+ /**
927
+ * Video object
928
+ * @export
929
+ * @interface Video
930
+ */
931
+ export interface Video {
932
+ /**
933
+ * Unique object identifier
934
+ * @type {string}
935
+ * @memberof Video
936
+ */
937
+ 'id'?: string;
938
+ /**
939
+ *
940
+ * @type {string}
941
+ * @memberof Video
942
+ */
943
+ 'src'?: string;
944
+ /**
945
+ *
946
+ * @type {string}
947
+ * @memberof Video
948
+ */
949
+ 'alt'?: string;
950
+ /**
951
+ *
952
+ * @type {number}
953
+ * @memberof Video
954
+ */
955
+ 'sortOrder'?: number;
956
+ /**
957
+ *
958
+ * @type {string}
959
+ * @memberof Video
960
+ */
961
+ 'createdAt'?: string;
962
+ /**
963
+ *
964
+ * @type {string}
965
+ * @memberof Video
966
+ */
967
+ 'updatedAt'?: string;
968
+ }
316
969
  /**
317
970
  * CrossSellApi - axios parameter creator
318
971
  * @export
@@ -323,11 +976,11 @@ export declare const CrossSellApiAxiosParamCreator: (configuration?: Configurati
323
976
  * @summary Attach cross-sell products
324
977
  * @param {string} project What project it is
325
978
  * @param {string} productId Product\&#39;s unique identifier
326
- * @param {Array<string>} [requestBody]
979
+ * @param {AttachCrossSellProductsRequest} [attachCrossSellProductsRequest]
327
980
  * @param {*} [options] Override http request option.
328
981
  * @throws {RequiredError}
329
982
  */
330
- attachCrossSellProducts: (project: string, productId: string, requestBody?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
983
+ attachCrossSellProducts: (project: string, productId: string, attachCrossSellProductsRequest?: AttachCrossSellProductsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
331
984
  /**
332
985
  *
333
986
  * @summary Get cross-sell products linked to a product
@@ -348,11 +1001,11 @@ export declare const CrossSellApiFp: (configuration?: Configuration) => {
348
1001
  * @summary Attach cross-sell products
349
1002
  * @param {string} project What project it is
350
1003
  * @param {string} productId Product\&#39;s unique identifier
351
- * @param {Array<string>} [requestBody]
1004
+ * @param {AttachCrossSellProductsRequest} [attachCrossSellProductsRequest]
352
1005
  * @param {*} [options] Override http request option.
353
1006
  * @throws {RequiredError}
354
1007
  */
355
- attachCrossSellProducts(project: string, productId: string, requestBody?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
1008
+ attachCrossSellProducts(project: string, productId: string, attachCrossSellProductsRequest?: AttachCrossSellProductsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Product>>>;
356
1009
  /**
357
1010
  *
358
1011
  * @summary Get cross-sell products linked to a product
@@ -361,7 +1014,7 @@ export declare const CrossSellApiFp: (configuration?: Configuration) => {
361
1014
  * @param {*} [options] Override http request option.
362
1015
  * @throws {RequiredError}
363
1016
  */
364
- getCrossSellProducts(project: string, productId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
1017
+ getCrossSellProducts(project: string, productId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Product>>>;
365
1018
  };
366
1019
  /**
367
1020
  * CrossSellApi - factory interface
@@ -375,7 +1028,7 @@ export declare const CrossSellApiFactory: (configuration?: Configuration, basePa
375
1028
  * @param {*} [options] Override http request option.
376
1029
  * @throws {RequiredError}
377
1030
  */
378
- attachCrossSellProducts(requestParameters: CrossSellApiAttachCrossSellProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
1031
+ attachCrossSellProducts(requestParameters: CrossSellApiAttachCrossSellProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<Product>>;
379
1032
  /**
380
1033
  *
381
1034
  * @summary Get cross-sell products linked to a product
@@ -383,7 +1036,7 @@ export declare const CrossSellApiFactory: (configuration?: Configuration, basePa
383
1036
  * @param {*} [options] Override http request option.
384
1037
  * @throws {RequiredError}
385
1038
  */
386
- getCrossSellProducts(requestParameters: CrossSellApiGetCrossSellProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
1039
+ getCrossSellProducts(requestParameters: CrossSellApiGetCrossSellProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<Product>>;
387
1040
  };
388
1041
  /**
389
1042
  * Request parameters for attachCrossSellProducts operation in CrossSellApi.
@@ -405,10 +1058,10 @@ export interface CrossSellApiAttachCrossSellProductsRequest {
405
1058
  readonly productId: string;
406
1059
  /**
407
1060
  *
408
- * @type {Array<string>}
1061
+ * @type {AttachCrossSellProductsRequest}
409
1062
  * @memberof CrossSellApiAttachCrossSellProducts
410
1063
  */
411
- readonly requestBody?: Array<string>;
1064
+ readonly attachCrossSellProductsRequest?: AttachCrossSellProductsRequest;
412
1065
  }
413
1066
  /**
414
1067
  * Request parameters for getCrossSellProducts operation in CrossSellApi.
@@ -444,7 +1097,7 @@ export declare class CrossSellApi extends BaseAPI {
444
1097
  * @throws {RequiredError}
445
1098
  * @memberof CrossSellApi
446
1099
  */
447
- attachCrossSellProducts(requestParameters: CrossSellApiAttachCrossSellProductsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string[], any>>;
1100
+ attachCrossSellProducts(requestParameters: CrossSellApiAttachCrossSellProductsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Product[], any>>;
448
1101
  /**
449
1102
  *
450
1103
  * @summary Get cross-sell products linked to a product
@@ -453,7 +1106,7 @@ export declare class CrossSellApi extends BaseAPI {
453
1106
  * @throws {RequiredError}
454
1107
  * @memberof CrossSellApi
455
1108
  */
456
- getCrossSellProducts(requestParameters: CrossSellApiGetCrossSellProductsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string[], any>>;
1109
+ getCrossSellProducts(requestParameters: CrossSellApiGetCrossSellProductsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Product[], any>>;
457
1110
  }
458
1111
  /**
459
1112
  * MenuApi - axios parameter creator