@fenixalliance/abs-api-client 1.0.10 → 1.0.12

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.
@@ -25,14 +25,16 @@ import type { WishListUpdateDto } from '../models/WishListUpdateDto';
25
25
  import type { CancelablePromise } from '../core/CancelablePromise';
26
26
  import { OpenAPI } from '../core/OpenAPI';
27
27
  import { request as __request } from '../core/request';
28
- export class CartsService {
28
+ export class CartService {
29
29
  /**
30
+ * Get all business owned contacts
31
+ * Get all business owned contacts
30
32
  * @param cartId
31
33
  * @param xApiVersion
32
34
  * @returns CartDtoEnvelope OK
33
35
  * @throws ApiError
34
36
  */
35
- public static getApiV2CartServiceCarts(
37
+ public static getCartByIdAsync(
36
38
  cartId: string,
37
39
  xApiVersion?: string,
38
40
  ): CancelablePromise<CartDtoEnvelope> {
@@ -52,13 +54,15 @@ export class CartsService {
52
54
  });
53
55
  }
54
56
  /**
57
+ * Update a cart
58
+ * Update a cart
55
59
  * @param cartId
56
60
  * @param xApiVersion
57
61
  * @param requestBody
58
62
  * @returns EmptyEnvelope OK
59
63
  * @throws ApiError
60
64
  */
61
- public static putApiV2CartServiceCarts(
65
+ public static updateCartAsync(
62
66
  cartId: string,
63
67
  xApiVersion?: string,
64
68
  requestBody?: CartUpdateRequest,
@@ -81,13 +85,15 @@ export class CartsService {
81
85
  });
82
86
  }
83
87
  /**
88
+ * Set the currency of a cart
89
+ * Set the currency of a cart
84
90
  * @param cartId
85
91
  * @param xApiVersion
86
92
  * @param requestBody
87
93
  * @returns EmptyEnvelope OK
88
94
  * @throws ApiError
89
95
  */
90
- public static putApiV2CartServiceCartsCurrency(
96
+ public static setCartCurrencyAsync(
91
97
  cartId: string,
92
98
  xApiVersion?: string,
93
99
  requestBody?: CurrencySwitchRequest,
@@ -110,12 +116,14 @@ export class CartsService {
110
116
  });
111
117
  }
112
118
  /**
119
+ * Get the currency of a cart
120
+ * The currency of a cart used for display purposes
113
121
  * @param cartId
114
122
  * @param xApiVersion
115
123
  * @returns CurrencyDtoEnvelope OK
116
124
  * @throws ApiError
117
125
  */
118
- public static getApiV2CartServiceCartsCurrency(
126
+ public static getCartCurrencyAsync(
119
127
  cartId: string,
120
128
  xApiVersion?: string,
121
129
  ): CancelablePromise<CurrencyDtoEnvelope> {
@@ -135,13 +143,15 @@ export class CartsService {
135
143
  });
136
144
  }
137
145
  /**
146
+ * Set the country of a cart
147
+ * Set the country of a cart
138
148
  * @param cartId
139
149
  * @param xApiVersion
140
150
  * @param requestBody
141
151
  * @returns EmptyEnvelope OK
142
152
  * @throws ApiError
143
153
  */
144
- public static putApiV2CartServiceCartsCountry(
154
+ public static setCartCountryAsync(
145
155
  cartId: string,
146
156
  xApiVersion?: string,
147
157
  requestBody?: CountrySwitchRequest,
@@ -164,12 +174,14 @@ export class CartsService {
164
174
  });
165
175
  }
166
176
  /**
177
+ * Get the country of a cart
178
+ * The country of a cart is used to calculate taxes and shipping costs
167
179
  * @param cartId
168
180
  * @param xApiVersion
169
181
  * @returns CountryDtoEnvelope OK
170
182
  * @throws ApiError
171
183
  */
172
- public static getApiV2CartServiceCartsCountry(
184
+ public static getCartCountryAsync(
173
185
  cartId: string,
174
186
  xApiVersion?: string,
175
187
  ): CancelablePromise<CountryDtoEnvelope> {
@@ -189,6 +201,8 @@ export class CartsService {
189
201
  });
190
202
  }
191
203
  /**
204
+ * Submit a cart for processing
205
+ * Submit a cart for processing
192
206
  * @param cartId
193
207
  * @param tenantId
194
208
  * @param xApiVersion
@@ -219,11 +233,13 @@ export class CartsService {
219
233
  });
220
234
  }
221
235
  /**
236
+ * Get the acting cart
237
+ * Get the acting cart
222
238
  * @param xApiVersion
223
239
  * @returns CartDtoEnvelope OK
224
240
  * @throws ApiError
225
241
  */
226
- public static getApiV2CartServiceCartsActingCart(
242
+ public static getActingCart(
227
243
  xApiVersion?: string,
228
244
  ): CancelablePromise<CartDtoEnvelope> {
229
245
  return __request(OpenAPI, {
@@ -239,11 +255,13 @@ export class CartsService {
239
255
  });
240
256
  }
241
257
  /**
258
+ * Get the guest cart
259
+ * Get the guest cart
242
260
  * @param xApiVersion
243
261
  * @returns CartDtoEnvelope OK
244
262
  * @throws ApiError
245
263
  */
246
- public static getApiV2CartServiceCartsGuestCart(
264
+ public static getGuestCartAsync(
247
265
  xApiVersion?: string,
248
266
  ): CancelablePromise<CartDtoEnvelope> {
249
267
  return __request(OpenAPI, {
@@ -259,11 +277,13 @@ export class CartsService {
259
277
  });
260
278
  }
261
279
  /**
280
+ * Get the current user's cart
281
+ * Get the current user's cart
262
282
  * @param xApiVersion
263
283
  * @returns CartDtoEnvelope OK
264
284
  * @throws ApiError
265
285
  */
266
- public static getApiV2CartServiceCartsUserCart(
286
+ public static getUserCart(
267
287
  xApiVersion?: string,
268
288
  ): CancelablePromise<CartDtoEnvelope> {
269
289
  return __request(OpenAPI, {
@@ -274,16 +294,19 @@ export class CartsService {
274
294
  },
275
295
  errors: {
276
296
  401: `Unauthorized`,
297
+ 403: `Forbidden`,
277
298
  },
278
299
  });
279
300
  }
280
301
  /**
302
+ * Get the business cart
303
+ * Get the business cart
281
304
  * @param tenantId
282
305
  * @param xApiVersion
283
306
  * @returns CartDtoEnvelope OK
284
307
  * @throws ApiError
285
308
  */
286
- public static getApiV2CartServiceCartsBusinessCart(
309
+ public static getTenantCartAsync(
287
310
  tenantId: string,
288
311
  xApiVersion?: string,
289
312
  ): CancelablePromise<CartDtoEnvelope> {
@@ -303,12 +326,14 @@ export class CartsService {
303
326
  });
304
327
  }
305
328
  /**
329
+ * Get all cart lines
330
+ * Get all cart lines
306
331
  * @param cartId
307
332
  * @param xApiVersion
308
333
  * @returns ItemCartRecordDtoListEnvelope OK
309
334
  * @throws ApiError
310
335
  */
311
- public static getApiV2CartServiceCartsItems(
336
+ public static getItemsInCartAsync(
312
337
  cartId: string,
313
338
  xApiVersion?: string,
314
339
  ): CancelablePromise<ItemCartRecordDtoListEnvelope> {
@@ -328,12 +353,14 @@ export class CartsService {
328
353
  });
329
354
  }
330
355
  /**
356
+ * Clear all items from a cart
357
+ * Clear all items from a cart
331
358
  * @param cartId
332
359
  * @param xApiVersion
333
360
  * @returns EmptyEnvelope OK
334
361
  * @throws ApiError
335
362
  */
336
- public static deleteApiV2CartServiceCartsItems(
363
+ public static clearCartAsync(
337
364
  cartId: string,
338
365
  xApiVersion?: string,
339
366
  ): CancelablePromise<EmptyEnvelope> {
@@ -353,6 +380,8 @@ export class CartsService {
353
380
  });
354
381
  }
355
382
  /**
383
+ * Add an Item to a cart
384
+ * Add an Item to a cart
356
385
  * @param cartId
357
386
  * @param itemId
358
387
  * @param quantity
@@ -360,7 +389,7 @@ export class CartsService {
360
389
  * @returns EmptyEnvelope OK
361
390
  * @throws ApiError
362
391
  */
363
- public static postApiV2CartServiceCartsItems(
392
+ public static addItemToCartAsync(
364
393
  cartId: string,
365
394
  itemId: string,
366
395
  quantity: number = 1,
@@ -386,6 +415,8 @@ export class CartsService {
386
415
  });
387
416
  }
388
417
  /**
418
+ * Update an Item in a cart
419
+ * Update an Item in a cart
389
420
  * @param cartId
390
421
  * @param itemId
391
422
  * @param xApiVersion
@@ -393,7 +424,7 @@ export class CartsService {
393
424
  * @returns EmptyEnvelope OK
394
425
  * @throws ApiError
395
426
  */
396
- public static putApiV2CartServiceCartsItems(
427
+ public static updateItemCartRecordAsync(
397
428
  cartId: string,
398
429
  itemId: string,
399
430
  xApiVersion?: string,
@@ -418,13 +449,15 @@ export class CartsService {
418
449
  });
419
450
  }
420
451
  /**
452
+ * Remove an Item from a cart
453
+ * Remove an Item from a cart
421
454
  * @param cartId
422
455
  * @param itemId
423
456
  * @param xApiVersion
424
457
  * @returns EmptyEnvelope OK
425
458
  * @throws ApiError
426
459
  */
427
- public static deleteApiV2CartServiceCartsItems1(
460
+ public static removeItemFromCartAsync(
428
461
  cartId: string,
429
462
  itemId: string,
430
463
  xApiVersion?: string,
@@ -446,13 +479,15 @@ export class CartsService {
446
479
  });
447
480
  }
448
481
  /**
482
+ * Assesses if an Item is already in a cart
483
+ * Assesses if an Item is already in a cart
449
484
  * @param cartId
450
485
  * @param itemId
451
486
  * @param xApiVersion
452
487
  * @returns BooleanEnvelope OK
453
488
  * @throws ApiError
454
489
  */
455
- public static getApiV2CartServiceCartsContains(
490
+ public static isItemAlreadyInCartAsync(
456
491
  cartId: string,
457
492
  itemId: string,
458
493
  xApiVersion?: string,
@@ -474,6 +509,8 @@ export class CartsService {
474
509
  });
475
510
  }
476
511
  /**
512
+ * Increase an Item in a cart
513
+ * Increase an Item in a cart
477
514
  * @param cartId
478
515
  * @param itemId
479
516
  * @param xApiVersion
@@ -481,7 +518,7 @@ export class CartsService {
481
518
  * @returns EmptyEnvelope OK
482
519
  * @throws ApiError
483
520
  */
484
- public static putApiV2CartServiceCartsItemsIncrease(
521
+ public static increaseItemCartRecordQuantityAsync(
485
522
  cartId: string,
486
523
  itemId: string,
487
524
  xApiVersion?: string,
@@ -506,6 +543,8 @@ export class CartsService {
506
543
  });
507
544
  }
508
545
  /**
546
+ * Decrease an Item in a cart
547
+ * Decrease an Item in a cart
509
548
  * @param cartId
510
549
  * @param itemId
511
550
  * @param xApiVersion
@@ -513,7 +552,7 @@ export class CartsService {
513
552
  * @returns EmptyEnvelope OK
514
553
  * @throws ApiError
515
554
  */
516
- public static putApiV2CartServiceCartsItemsDecrease(
555
+ public static removeItemFromCartAsync1(
517
556
  cartId: string,
518
557
  itemId: string,
519
558
  xApiVersion?: string,
@@ -538,12 +577,14 @@ export class CartsService {
538
577
  });
539
578
  }
540
579
  /**
580
+ * Get all cart lines
581
+ * Get all cart lines
541
582
  * @param cartId
542
583
  * @param xApiVersion
543
584
  * @returns ItemCartRecordDtoListEnvelope OK
544
585
  * @throws ApiError
545
586
  */
546
- public static getApiV2CartServiceCartsLines(
587
+ public static getCartLinesAsync(
547
588
  cartId: string,
548
589
  xApiVersion?: string,
549
590
  ): CancelablePromise<ItemCartRecordDtoListEnvelope> {
@@ -563,13 +604,15 @@ export class CartsService {
563
604
  });
564
605
  }
565
606
  /**
607
+ * Get a cart line by ID
608
+ * Get a cart line by ID
566
609
  * @param cartId
567
610
  * @param lineId
568
611
  * @param xApiVersion
569
612
  * @returns EmptyEnvelope OK
570
613
  * @throws ApiError
571
614
  */
572
- public static getApiV2CartServiceCartsLines1(
615
+ public static getCartLineAsync(
573
616
  cartId: string,
574
617
  lineId: string,
575
618
  xApiVersion?: string,
@@ -591,6 +634,8 @@ export class CartsService {
591
634
  });
592
635
  }
593
636
  /**
637
+ * Update a cart line
638
+ * Update a cart line
594
639
  * @param cartId
595
640
  * @param lineId
596
641
  * @param xApiVersion
@@ -598,7 +643,7 @@ export class CartsService {
598
643
  * @returns EmptyEnvelope OK
599
644
  * @throws ApiError
600
645
  */
601
- public static putApiV2CartServiceCartsLines(
646
+ public static updateCartLineAsync(
602
647
  cartId: string,
603
648
  lineId: string,
604
649
  xApiVersion?: string,
@@ -623,13 +668,15 @@ export class CartsService {
623
668
  });
624
669
  }
625
670
  /**
671
+ * Remove a cart line
672
+ * Remove a cart line
626
673
  * @param cartId
627
674
  * @param lineId
628
675
  * @param xApiVersion
629
676
  * @returns EmptyEnvelope OK
630
677
  * @throws ApiError
631
678
  */
632
- public static deleteApiV2CartServiceCartsLines(
679
+ public static removeCartLineAsync(
633
680
  cartId: string,
634
681
  lineId: string,
635
682
  xApiVersion?: string,
@@ -651,6 +698,8 @@ export class CartsService {
651
698
  });
652
699
  }
653
700
  /**
701
+ * Increase the quantity of a cart line
702
+ * Increase the quantity of a cart line
654
703
  * @param cartId
655
704
  * @param lineId
656
705
  * @param quantity
@@ -658,7 +707,7 @@ export class CartsService {
658
707
  * @returns EmptyEnvelope OK
659
708
  * @throws ApiError
660
709
  */
661
- public static putApiV2CartServiceCartsLinesIncrease(
710
+ public static increaseCartLineAsync(
662
711
  cartId: string,
663
712
  lineId: string,
664
713
  quantity: number = 1,
@@ -684,6 +733,8 @@ export class CartsService {
684
733
  });
685
734
  }
686
735
  /**
736
+ * Decrease the quantity of a cart line
737
+ * Decrease the quantity of a cart line
687
738
  * @param cartId
688
739
  * @param lineId
689
740
  * @param quantity
@@ -691,7 +742,7 @@ export class CartsService {
691
742
  * @returns EmptyEnvelope OK
692
743
  * @throws ApiError
693
744
  */
694
- public static putApiV2CartServiceCartsLinesDecrease(
745
+ public static decreaseCartLineAsync(
695
746
  cartId: string,
696
747
  lineId: string,
697
748
  quantity: number = 1,
@@ -717,12 +768,14 @@ export class CartsService {
717
768
  });
718
769
  }
719
770
  /**
771
+ * Get all wishlists in a cart
772
+ * Get all wishlists in a cart
720
773
  * @param cartId
721
774
  * @param xApiVersion
722
775
  * @returns WishListDto OK
723
776
  * @throws ApiError
724
777
  */
725
- public static getApiV2CartServiceCartsWishLists(
778
+ public static getWishListAsync(
726
779
  cartId: string,
727
780
  xApiVersion?: string,
728
781
  ): CancelablePromise<Array<WishListDto>> {
@@ -742,13 +795,15 @@ export class CartsService {
742
795
  });
743
796
  }
744
797
  /**
798
+ * Create a new wish list
799
+ * Create a new wish list
745
800
  * @param cartId
746
801
  * @param xApiVersion
747
802
  * @param requestBody
748
803
  * @returns EmptyEnvelope OK
749
804
  * @throws ApiError
750
805
  */
751
- public static postApiV2CartServiceCartsWishLists(
806
+ public static createWishListAsync(
752
807
  cartId: string,
753
808
  xApiVersion?: string,
754
809
  requestBody?: NewWishListRequest,
@@ -771,13 +826,15 @@ export class CartsService {
771
826
  });
772
827
  }
773
828
  /**
829
+ * Assesses if an Item is already in any of the cart's wishlists
830
+ * Assesses if an Item is already in any of the cart's wishlists
774
831
  * @param cartId
775
832
  * @param itemId
776
833
  * @param xApiVersion
777
834
  * @returns BooleanEnvelope OK
778
835
  * @throws ApiError
779
836
  */
780
- public static getApiV2CartServiceCartsWishListsContains(
837
+ public static isItemInWishLists(
781
838
  cartId: string,
782
839
  itemId: string,
783
840
  xApiVersion?: string,
@@ -799,13 +856,15 @@ export class CartsService {
799
856
  });
800
857
  }
801
858
  /**
859
+ * Assesses if a WishList exists
860
+ * Assesses if a WishList exists
802
861
  * @param cartId
803
862
  * @param wishListId
804
863
  * @param xApiVersion
805
864
  * @returns BooleanEnvelope OK
806
865
  * @throws ApiError
807
866
  */
808
- public static getApiV2CartServiceCartsWishListsExists(
867
+ public static wishListExistsAsync(
809
868
  cartId: string,
810
869
  wishListId: string,
811
870
  xApiVersion?: string,
@@ -827,13 +886,15 @@ export class CartsService {
827
886
  });
828
887
  }
829
888
  /**
889
+ * Assesses if a WishList exists
890
+ * Assesses if a WishList exists but does not return the content
830
891
  * @param cartId
831
892
  * @param wishListId
832
893
  * @param xApiVersion
833
894
  * @returns EmptyEnvelope OK
834
895
  * @throws ApiError
835
896
  */
836
- public static headApiV2CartServiceCartsWishListsExists(
897
+ public static wishListExistsHeadAsync(
837
898
  cartId: string,
838
899
  wishListId: string,
839
900
  xApiVersion?: string,
@@ -848,9 +909,15 @@ export class CartsService {
848
909
  headers: {
849
910
  'x-api-version': xApiVersion,
850
911
  },
912
+ errors: {
913
+ 401: `Unauthorized`,
914
+ 404: `Not Found`,
915
+ },
851
916
  });
852
917
  }
853
918
  /**
919
+ * Update a wish list
920
+ * Update a wish list
854
921
  * @param cartId
855
922
  * @param wishListId
856
923
  * @param xApiVersion
@@ -858,7 +925,7 @@ export class CartsService {
858
925
  * @returns EmptyEnvelope OK
859
926
  * @throws ApiError
860
927
  */
861
- public static putApiV2CartServiceCartsWishLists(
928
+ public static updateItemToWishList(
862
929
  cartId: string,
863
930
  wishListId: string,
864
931
  xApiVersion?: string,
@@ -883,13 +950,15 @@ export class CartsService {
883
950
  });
884
951
  }
885
952
  /**
953
+ * Get a wish list by ID
954
+ * Get a wish list by ID
886
955
  * @param cartId
887
956
  * @param wishListId
888
957
  * @param xApiVersion
889
958
  * @returns WishListDtoEnvelope OK
890
959
  * @throws ApiError
891
960
  */
892
- public static getApiV2CartServiceCartsWishLists1(
961
+ public static getCartWishListDetailsAsync(
893
962
  cartId: string,
894
963
  wishListId: string,
895
964
  xApiVersion?: string,
@@ -911,13 +980,15 @@ export class CartsService {
911
980
  });
912
981
  }
913
982
  /**
983
+ * Delete a wish list
984
+ * Delete a wish list
914
985
  * @param cartId
915
986
  * @param wishListId
916
987
  * @param xApiVersion
917
988
  * @returns EmptyEnvelope OK
918
989
  * @throws ApiError
919
990
  */
920
- public static deleteApiV2CartServiceCartsWishLists(
991
+ public static deleteWishList(
921
992
  cartId: string,
922
993
  wishListId: string,
923
994
  xApiVersion?: string,
@@ -939,13 +1010,15 @@ export class CartsService {
939
1010
  });
940
1011
  }
941
1012
  /**
1013
+ * Get all records in a wish list
1014
+ * Get all records in a wish list
942
1015
  * @param cartId
943
1016
  * @param wishListId
944
1017
  * @param xApiVersion
945
1018
  * @returns WishListItemRecordDto OK
946
1019
  * @throws ApiError
947
1020
  */
948
- public static getApiV2CartServiceCartsWishListsRecords(
1021
+ public static getCartWishListItemsAsync(
949
1022
  cartId: string,
950
1023
  wishListId: string,
951
1024
  xApiVersion?: string,
@@ -967,6 +1040,8 @@ export class CartsService {
967
1040
  });
968
1041
  }
969
1042
  /**
1043
+ * Add a record to a wish list
1044
+ * Add a record to a wish list
970
1045
  * @param cartId
971
1046
  * @param wishListId
972
1047
  * @param xApiVersion
@@ -974,7 +1049,7 @@ export class CartsService {
974
1049
  * @returns EmptyEnvelope OK
975
1050
  * @throws ApiError
976
1051
  */
977
- public static postApiV2CartServiceCartsWishListsRecords(
1052
+ public static addItemToWishList(
978
1053
  cartId: string,
979
1054
  wishListId: string,
980
1055
  xApiVersion?: string,
@@ -999,6 +1074,8 @@ export class CartsService {
999
1074
  });
1000
1075
  }
1001
1076
  /**
1077
+ * Get a record in a wish list
1078
+ * Get a record in a wish list
1002
1079
  * @param cartId
1003
1080
  * @param wishListId
1004
1081
  * @param recordId
@@ -1006,7 +1083,7 @@ export class CartsService {
1006
1083
  * @returns WishListItemRecordDto OK
1007
1084
  * @throws ApiError
1008
1085
  */
1009
- public static getApiV2CartServiceCartsWishListsRecords1(
1086
+ public static getCartWishListItemAsync(
1010
1087
  cartId: string,
1011
1088
  wishListId: string,
1012
1089
  recordId: string,
@@ -1023,9 +1100,15 @@ export class CartsService {
1023
1100
  headers: {
1024
1101
  'x-api-version': xApiVersion,
1025
1102
  },
1103
+ errors: {
1104
+ 401: `Unauthorized`,
1105
+ 404: `Not Found`,
1106
+ },
1026
1107
  });
1027
1108
  }
1028
1109
  /**
1110
+ * Remove a record from a wish list
1111
+ * Remove a record from a wish list
1029
1112
  * @param cartId
1030
1113
  * @param wishListId
1031
1114
  * @param recordId
@@ -1033,7 +1116,7 @@ export class CartsService {
1033
1116
  * @returns EmptyEnvelope OK
1034
1117
  * @throws ApiError
1035
1118
  */
1036
- public static deleteApiV2CartServiceCartsWishListsRecords(
1119
+ public static deleteWishListRecord(
1037
1120
  cartId: string,
1038
1121
  wishListId: string,
1039
1122
  recordId: string,
@@ -1057,12 +1140,14 @@ export class CartsService {
1057
1140
  });
1058
1141
  }
1059
1142
  /**
1143
+ * Get all items in the compare table
1144
+ * Get all items in the compare table
1060
1145
  * @param cartId
1061
1146
  * @param xApiVersion
1062
1147
  * @returns ItemToCompareCartRecordDtoListEnvelope OK
1063
1148
  * @throws ApiError
1064
1149
  */
1065
- public static getApiV2CartServiceCartsCompare(
1150
+ public static getItemToCompareRecords(
1066
1151
  cartId: string,
1067
1152
  xApiVersion?: string,
1068
1153
  ): CancelablePromise<ItemToCompareCartRecordDtoListEnvelope> {
@@ -1082,13 +1167,15 @@ export class CartsService {
1082
1167
  });
1083
1168
  }
1084
1169
  /**
1170
+ * Get an item from the compare table
1171
+ * Get an item from the compare table
1085
1172
  * @param cartId
1086
1173
  * @param itemId
1087
1174
  * @param xApiVersion
1088
1175
  * @returns ItemToCompareCartRecordDtoEnvelope OK
1089
1176
  * @throws ApiError
1090
1177
  */
1091
- public static getApiV2CartServiceCartsCompare1(
1178
+ public static getItemToCompareRecord(
1092
1179
  cartId: string,
1093
1180
  itemId: string,
1094
1181
  xApiVersion?: string,
@@ -1110,13 +1197,15 @@ export class CartsService {
1110
1197
  });
1111
1198
  }
1112
1199
  /**
1200
+ * Add an item to the compare table
1201
+ * Add an item to the compare table
1113
1202
  * @param cartId
1114
1203
  * @param itemId
1115
1204
  * @param xApiVersion
1116
1205
  * @returns ItemCartRecordDto OK
1117
1206
  * @throws ApiError
1118
1207
  */
1119
- public static postApiV2CartServiceCartsCompare(
1208
+ public static addItemToCompareTableAsync(
1120
1209
  cartId: string,
1121
1210
  itemId: string,
1122
1211
  xApiVersion?: string,
@@ -1138,13 +1227,15 @@ export class CartsService {
1138
1227
  });
1139
1228
  }
1140
1229
  /**
1230
+ * Remove an item from the compare table
1231
+ * Remove an item from the compare table
1141
1232
  * @param cartId
1142
1233
  * @param itemId
1143
1234
  * @param xApiVersion
1144
1235
  * @returns ItemToCompareCartRecordDto OK
1145
1236
  * @throws ApiError
1146
1237
  */
1147
- public static deleteApiV2CartServiceCartsCompare(
1238
+ public static removeItemFromCompareTableAsync(
1148
1239
  cartId: string,
1149
1240
  itemId: string,
1150
1241
  xApiVersion?: string,
@@ -1166,13 +1257,15 @@ export class CartsService {
1166
1257
  });
1167
1258
  }
1168
1259
  /**
1260
+ * Assesses if an Item is already in the compare table
1261
+ * Assesses if an Item is already in the compare table
1169
1262
  * @param cartId
1170
1263
  * @param itemId
1171
1264
  * @param xApiVersion
1172
1265
  * @returns BooleanEnvelope OK
1173
1266
  * @throws ApiError
1174
1267
  */
1175
- public static getApiV2CartServiceCartsCompareContains(
1268
+ public static isItemInCompareTableAsync(
1176
1269
  cartId: string,
1177
1270
  itemId: string,
1178
1271
  xApiVersion?: string,