@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.
@@ -6,6 +6,268 @@
6
6
 
7
7
  export interface paths {
8
8
  "/api/v2/CartService/Carts/{cartId}": {
9
+ /**
10
+ * Get all business owned contacts
11
+ * @description Get all business owned contacts
12
+ */
13
+ get: operations["GetCartByIdAsync"];
14
+ /**
15
+ * Update a cart
16
+ * @description Update a cart
17
+ */
18
+ put: operations["UpdateCartAsync"];
19
+ };
20
+ "/api/v2/CartService/Carts/{cartId}/Currency": {
21
+ /**
22
+ * Get the currency of a cart
23
+ * @description The currency of a cart used for display purposes
24
+ */
25
+ get: operations["GetCartCurrencyAsync"];
26
+ /**
27
+ * Set the currency of a cart
28
+ * @description Set the currency of a cart
29
+ */
30
+ put: operations["SetCartCurrencyAsync"];
31
+ };
32
+ "/api/v2/CartService/Carts/{cartId}/Country": {
33
+ /**
34
+ * Get the country of a cart
35
+ * @description The country of a cart is used to calculate taxes and shipping costs
36
+ */
37
+ get: operations["GetCartCountryAsync"];
38
+ /**
39
+ * Set the country of a cart
40
+ * @description Set the country of a cart
41
+ */
42
+ put: operations["SetCartCountryAsync"];
43
+ };
44
+ "/api/v2/CartService/Carts/{cartId}/Submit": {
45
+ /**
46
+ * Submit a cart for processing
47
+ * @description Submit a cart for processing
48
+ */
49
+ post: operations["SubmitCartAsync"];
50
+ };
51
+ "/api/v2/CartService/Carts/ActingCart": {
52
+ /**
53
+ * Get the acting cart
54
+ * @description Get the acting cart
55
+ */
56
+ get: operations["GetActingCart"];
57
+ };
58
+ "/api/v2/CartService/Carts/GuestCart": {
59
+ /**
60
+ * Get the guest cart
61
+ * @description Get the guest cart
62
+ */
63
+ get: operations["GetGuestCartAsync"];
64
+ };
65
+ "/api/v2/CartService/Carts/UserCart": {
66
+ /**
67
+ * Get the current user's cart
68
+ * @description Get the current user's cart
69
+ */
70
+ get: operations["GetUserCart"];
71
+ };
72
+ "/api/v2/CartService/Carts/BusinessCart/{tenantId}": {
73
+ /**
74
+ * Get the business cart
75
+ * @description Get the business cart
76
+ */
77
+ get: operations["GetTenantCartAsync"];
78
+ };
79
+ "/api/v2/CartService/Carts/{cartId}/Items": {
80
+ /**
81
+ * Get all cart lines
82
+ * @description Get all cart lines
83
+ */
84
+ get: operations["GetItemsInCartAsync"];
85
+ /**
86
+ * Clear all items from a cart
87
+ * @description Clear all items from a cart
88
+ */
89
+ delete: operations["ClearCartAsync"];
90
+ };
91
+ "/api/v2/CartService/Carts/{cartId}/Items/{itemId}": {
92
+ /**
93
+ * Update an Item in a cart
94
+ * @description Update an Item in a cart
95
+ */
96
+ put: operations["UpdateItemCartRecordAsync"];
97
+ /**
98
+ * Add an Item to a cart
99
+ * @description Add an Item to a cart
100
+ */
101
+ post: operations["AddItemToCartAsync"];
102
+ /**
103
+ * Remove an Item from a cart
104
+ * @description Remove an Item from a cart
105
+ */
106
+ delete: operations["RemoveItemFromCartAsync"];
107
+ };
108
+ "/api/v2/CartService/Carts/{cartId}/Contains/{itemId}": {
109
+ /**
110
+ * Assesses if an Item is already in a cart
111
+ * @description Assesses if an Item is already in a cart
112
+ */
113
+ get: operations["IsItemAlreadyInCartAsync"];
114
+ };
115
+ "/api/v2/CartService/Carts/{cartId}/Items/{itemId}/Increase": {
116
+ /**
117
+ * Increase an Item in a cart
118
+ * @description Increase an Item in a cart
119
+ */
120
+ put: operations["IncreaseItemCartRecordQuantityAsync"];
121
+ };
122
+ "/api/v2/CartService/Carts/{cartId}/Items/{itemId}/Decrease": {
123
+ /**
124
+ * Decrease an Item in a cart
125
+ * @description Decrease an Item in a cart
126
+ */
127
+ put: operations["RemoveItemFromCartAsync"];
128
+ };
129
+ "/api/v2/CartService/Carts/{cartId}/Lines": {
130
+ /**
131
+ * Get all cart lines
132
+ * @description Get all cart lines
133
+ */
134
+ get: operations["GetCartLinesAsync"];
135
+ };
136
+ "/api/v2/CartService/Carts/{cartId}/Lines/{lineId}": {
137
+ /**
138
+ * Get a cart line by ID
139
+ * @description Get a cart line by ID
140
+ */
141
+ get: operations["GetCartLineAsync"];
142
+ /**
143
+ * Update a cart line
144
+ * @description Update a cart line
145
+ */
146
+ put: operations["UpdateCartLineAsync"];
147
+ /**
148
+ * Remove a cart line
149
+ * @description Remove a cart line
150
+ */
151
+ delete: operations["RemoveCartLineAsync"];
152
+ };
153
+ "/api/v2/CartService/Carts/{cartId}/Lines/{lineId}/Increase": {
154
+ /**
155
+ * Increase the quantity of a cart line
156
+ * @description Increase the quantity of a cart line
157
+ */
158
+ put: operations["IncreaseCartLineAsync"];
159
+ };
160
+ "/api/v2/CartService/Carts/{cartId}/Lines/{lineId}/Decrease": {
161
+ /**
162
+ * Decrease the quantity of a cart line
163
+ * @description Decrease the quantity of a cart line
164
+ */
165
+ put: operations["DecreaseCartLineAsync"];
166
+ };
167
+ "/api/v2/CartService/Carts/{cartId}/WishLists": {
168
+ /**
169
+ * Get all wishlists in a cart
170
+ * @description Get all wishlists in a cart
171
+ */
172
+ get: operations["GetWishListAsync"];
173
+ /**
174
+ * Create a new wish list
175
+ * @description Create a new wish list
176
+ */
177
+ post: operations["CreateWishListAsync"];
178
+ };
179
+ "/api/v2/CartService/Carts/{cartId}/WishLists/Contains/{itemId}": {
180
+ /**
181
+ * Assesses if an Item is already in any of the cart's wishlists
182
+ * @description Assesses if an Item is already in any of the cart's wishlists
183
+ */
184
+ get: operations["IsItemInWishLists"];
185
+ };
186
+ "/api/v2/CartService/Carts/{cartId}/WishLists/{wishListId}/Exists": {
187
+ /**
188
+ * Assesses if a WishList exists
189
+ * @description Assesses if a WishList exists
190
+ */
191
+ get: operations["WishListExistsAsync"];
192
+ /**
193
+ * Assesses if a WishList exists
194
+ * @description Assesses if a WishList exists but does not return the content
195
+ */
196
+ head: operations["WishListExistsHeadAsync"];
197
+ };
198
+ "/api/v2/CartService/Carts/{cartId}/WishLists/{wishListId}": {
199
+ /**
200
+ * Get a wish list by ID
201
+ * @description Get a wish list by ID
202
+ */
203
+ get: operations["GetCartWishListDetailsAsync"];
204
+ /**
205
+ * Update a wish list
206
+ * @description Update a wish list
207
+ */
208
+ put: operations["UpdateItemToWishList"];
209
+ /**
210
+ * Delete a wish list
211
+ * @description Delete a wish list
212
+ */
213
+ delete: operations["DeleteWishList"];
214
+ };
215
+ "/api/v2/CartService/Carts/{cartId}/WishLists/{wishListId}/Records": {
216
+ /**
217
+ * Get all records in a wish list
218
+ * @description Get all records in a wish list
219
+ */
220
+ get: operations["GetCartWishListItemsAsync"];
221
+ /**
222
+ * Add a record to a wish list
223
+ * @description Add a record to a wish list
224
+ */
225
+ post: operations["AddItemToWishList"];
226
+ };
227
+ "/api/v2/CartService/Carts/{cartId}/WishLists/{wishListId}/Records/{recordId}": {
228
+ /**
229
+ * Get a record in a wish list
230
+ * @description Get a record in a wish list
231
+ */
232
+ get: operations["GetCartWishListItemAsync"];
233
+ /**
234
+ * Remove a record from a wish list
235
+ * @description Remove a record from a wish list
236
+ */
237
+ delete: operations["DeleteWishListRecord"];
238
+ };
239
+ "/api/v2/CartService/Carts/{cartId}/Compare": {
240
+ /**
241
+ * Get all items in the compare table
242
+ * @description Get all items in the compare table
243
+ */
244
+ get: operations["GetItemToCompareRecords"];
245
+ };
246
+ "/api/v2/CartService/Carts/{cartId}/Compare/{itemId}": {
247
+ /**
248
+ * Get an item from the compare table
249
+ * @description Get an item from the compare table
250
+ */
251
+ get: operations["GetItemToCompareRecord"];
252
+ /**
253
+ * Add an item to the compare table
254
+ * @description Add an item to the compare table
255
+ */
256
+ post: operations["AddItemToCompareTableAsync"];
257
+ /**
258
+ * Remove an item from the compare table
259
+ * @description Remove an item from the compare table
260
+ */
261
+ delete: operations["RemoveItemFromCompareTableAsync"];
262
+ };
263
+ "/api/v2/CartService/Carts/{cartId}/Compare/Contains/{itemId}": {
264
+ /**
265
+ * Assesses if an Item is already in the compare table
266
+ * @description Assesses if an Item is already in the compare table
267
+ */
268
+ get: operations["IsItemInCompareTableAsync"];
269
+ };
270
+ "/api/v2/CartService/Compare/{cartId}": {
9
271
  get: {
10
272
  parameters: {
11
273
  query?: {
@@ -22,8 +284,8 @@ export interface paths {
22
284
  /** @description OK */
23
285
  200: {
24
286
  content: {
25
- "application/json": components["schemas"]["CartDtoEnvelope"];
26
- "application/xml": components["schemas"]["CartDtoEnvelope"];
287
+ "application/json": components["schemas"]["ItemToCompareCartRecordDtoListEnvelope"];
288
+ "application/xml": components["schemas"]["ItemToCompareCartRecordDtoListEnvelope"];
27
289
  };
28
290
  };
29
291
  /** @description Unauthorized */
@@ -33,8 +295,8 @@ export interface paths {
33
295
  "application/xml": components["schemas"]["ErrorEnvelope"];
34
296
  };
35
297
  };
36
- /** @description Forbidden */
37
- 403: {
298
+ /** @description Not Found */
299
+ 404: {
38
300
  content: {
39
301
  "application/json": components["schemas"]["ErrorEnvelope"];
40
302
  "application/xml": components["schemas"]["ErrorEnvelope"];
@@ -42,7 +304,9 @@ export interface paths {
42
304
  };
43
305
  };
44
306
  };
45
- put: {
307
+ };
308
+ "/api/v2/CartService/Compare/{recordId}/Details": {
309
+ get: {
46
310
  parameters: {
47
311
  query?: {
48
312
  "api-version"?: string;
@@ -51,32 +315,53 @@ export interface paths {
51
315
  "x-api-version"?: string;
52
316
  };
53
317
  path: {
54
- cartId: string;
55
- };
56
- };
57
- requestBody?: {
58
- content: {
59
- "application/json": components["schemas"]["CartUpdateRequest"];
60
- "application/xml": components["schemas"]["CartUpdateRequest"];
318
+ recordId: string;
61
319
  };
62
320
  };
63
321
  responses: {
64
322
  /** @description OK */
65
323
  200: {
66
324
  content: {
67
- "application/json": components["schemas"]["EmptyEnvelope"];
68
- "application/xml": components["schemas"]["EmptyEnvelope"];
325
+ "application/json": components["schemas"]["ItemToCompareCartRecordDtoEnvelope"];
326
+ "application/xml": components["schemas"]["ItemToCompareCartRecordDtoEnvelope"];
69
327
  };
70
328
  };
71
- /** @description Unauthorized */
72
- 401: {
329
+ /** @description Not Found */
330
+ 404: {
73
331
  content: {
74
332
  "application/json": components["schemas"]["ErrorEnvelope"];
75
333
  "application/xml": components["schemas"]["ErrorEnvelope"];
76
334
  };
77
335
  };
78
- /** @description Forbidden */
79
- 403: {
336
+ };
337
+ };
338
+ };
339
+ "/api/v2/CartService/Compare": {
340
+ post: {
341
+ parameters: {
342
+ query?: {
343
+ "api-version"?: string;
344
+ };
345
+ header?: {
346
+ "x-api-version"?: string;
347
+ };
348
+ };
349
+ requestBody?: {
350
+ content: {
351
+ "application/json": components["schemas"]["AddProductToCompareRequest"];
352
+ "application/xml": components["schemas"]["AddProductToCompareRequest"];
353
+ };
354
+ };
355
+ responses: {
356
+ /** @description OK */
357
+ 200: {
358
+ content: {
359
+ "application/json": components["schemas"]["ItemCartRecordDto"];
360
+ "application/xml": components["schemas"]["ItemCartRecordDto"];
361
+ };
362
+ };
363
+ /** @description Not Found */
364
+ 404: {
80
365
  content: {
81
366
  "application/json": components["schemas"]["ErrorEnvelope"];
82
367
  "application/xml": components["schemas"]["ErrorEnvelope"];
@@ -85,8 +370,8 @@ export interface paths {
85
370
  };
86
371
  };
87
372
  };
88
- "/api/v2/CartService/Carts/{cartId}/Currency": {
89
- get: {
373
+ "/api/v2/CartService/Compare/{recordId}": {
374
+ delete: {
90
375
  parameters: {
91
376
  query?: {
92
377
  "api-version"?: string;
@@ -95,26 +380,19 @@ export interface paths {
95
380
  "x-api-version"?: string;
96
381
  };
97
382
  path: {
98
- cartId: string;
383
+ recordId: string;
99
384
  };
100
385
  };
101
386
  responses: {
102
387
  /** @description OK */
103
388
  200: {
104
389
  content: {
105
- "application/json": components["schemas"]["CurrencyDtoEnvelope"];
106
- "application/xml": components["schemas"]["CurrencyDtoEnvelope"];
107
- };
108
- };
109
- /** @description Unauthorized */
110
- 401: {
111
- content: {
112
- "application/json": components["schemas"]["ErrorEnvelope"];
113
- "application/xml": components["schemas"]["ErrorEnvelope"];
390
+ "application/json": components["schemas"]["ItemToCompareCartRecordDto"];
391
+ "application/xml": components["schemas"]["ItemToCompareCartRecordDto"];
114
392
  };
115
393
  };
116
- /** @description Forbidden */
117
- 403: {
394
+ /** @description Not Found */
395
+ 404: {
118
396
  content: {
119
397
  "application/json": components["schemas"]["ErrorEnvelope"];
120
398
  "application/xml": components["schemas"]["ErrorEnvelope"];
@@ -122,23 +400,19 @@ export interface paths {
122
400
  };
123
401
  };
124
402
  };
125
- put: {
403
+ };
404
+ "/api/v2/CartService/Records/AddItem": {
405
+ post: {
126
406
  parameters: {
127
407
  query?: {
408
+ cartId?: string;
409
+ itemId?: string;
410
+ quantity?: number;
128
411
  "api-version"?: string;
129
412
  };
130
413
  header?: {
131
414
  "x-api-version"?: string;
132
415
  };
133
- path: {
134
- cartId: string;
135
- };
136
- };
137
- requestBody?: {
138
- content: {
139
- "application/json": components["schemas"]["CurrencySwitchRequest"];
140
- "application/xml": components["schemas"]["CurrencySwitchRequest"];
141
- };
142
416
  };
143
417
  responses: {
144
418
  /** @description OK */
@@ -155,8 +429,8 @@ export interface paths {
155
429
  "application/xml": components["schemas"]["ErrorEnvelope"];
156
430
  };
157
431
  };
158
- /** @description Forbidden */
159
- 403: {
432
+ /** @description Not Found */
433
+ 404: {
160
434
  content: {
161
435
  "application/json": components["schemas"]["ErrorEnvelope"];
162
436
  "application/xml": components["schemas"]["ErrorEnvelope"];
@@ -165,7 +439,7 @@ export interface paths {
165
439
  };
166
440
  };
167
441
  };
168
- "/api/v2/CartService/Carts/{cartId}/Country": {
442
+ "/api/v2/CartService/Records/{cartID}": {
169
443
  get: {
170
444
  parameters: {
171
445
  query?: {
@@ -182,8 +456,8 @@ export interface paths {
182
456
  /** @description OK */
183
457
  200: {
184
458
  content: {
185
- "application/json": components["schemas"]["CountryDtoEnvelope"];
186
- "application/xml": components["schemas"]["CountryDtoEnvelope"];
459
+ "application/json": components["schemas"]["ItemCartRecordDtoListEnvelope"];
460
+ "application/xml": components["schemas"]["ItemCartRecordDtoListEnvelope"];
187
461
  };
188
462
  };
189
463
  /** @description Unauthorized */
@@ -193,8 +467,8 @@ export interface paths {
193
467
  "application/xml": components["schemas"]["ErrorEnvelope"];
194
468
  };
195
469
  };
196
- /** @description Forbidden */
197
- 403: {
470
+ /** @description Not Found */
471
+ 404: {
198
472
  content: {
199
473
  "application/json": components["schemas"]["ErrorEnvelope"];
200
474
  "application/xml": components["schemas"]["ErrorEnvelope"];
@@ -202,7 +476,9 @@ export interface paths {
202
476
  };
203
477
  };
204
478
  };
205
- put: {
479
+ };
480
+ "/api/v2/CartService/Records": {
481
+ post: {
206
482
  parameters: {
207
483
  query?: {
208
484
  "api-version"?: string;
@@ -210,14 +486,11 @@ export interface paths {
210
486
  header?: {
211
487
  "x-api-version"?: string;
212
488
  };
213
- path: {
214
- cartId: string;
215
- };
216
489
  };
217
490
  requestBody?: {
218
491
  content: {
219
- "application/json": components["schemas"]["CountrySwitchRequest"];
220
- "application/xml": components["schemas"]["CountrySwitchRequest"];
492
+ "application/json": components["schemas"]["ItemCartRecordCreateDto"];
493
+ "application/xml": components["schemas"]["ItemCartRecordCreateDto"];
221
494
  };
222
495
  };
223
496
  responses: {
@@ -235,8 +508,8 @@ export interface paths {
235
508
  "application/xml": components["schemas"]["ErrorEnvelope"];
236
509
  };
237
510
  };
238
- /** @description Forbidden */
239
- 403: {
511
+ /** @description Not Found */
512
+ 404: {
240
513
  content: {
241
514
  "application/json": components["schemas"]["ErrorEnvelope"];
242
515
  "application/xml": components["schemas"]["ErrorEnvelope"];
@@ -244,14 +517,11 @@ export interface paths {
244
517
  };
245
518
  };
246
519
  };
247
- };
248
- "/api/v2/CartService/Carts/{cartId}/Submit": {
249
- post: operations["SubmitCartAsync"];
250
- };
251
- "/api/v2/CartService/Carts/ActingCart": {
252
- get: {
520
+ delete: {
253
521
  parameters: {
254
522
  query?: {
523
+ cartId?: string;
524
+ productId?: string;
255
525
  "api-version"?: string;
256
526
  };
257
527
  header?: {
@@ -262,8 +532,8 @@ export interface paths {
262
532
  /** @description OK */
263
533
  200: {
264
534
  content: {
265
- "application/json": components["schemas"]["CartDtoEnvelope"];
266
- "application/xml": components["schemas"]["CartDtoEnvelope"];
535
+ "application/json": components["schemas"]["EmptyEnvelope"];
536
+ "application/xml": components["schemas"]["EmptyEnvelope"];
267
537
  };
268
538
  };
269
539
  /** @description Unauthorized */
@@ -273,8 +543,8 @@ export interface paths {
273
543
  "application/xml": components["schemas"]["ErrorEnvelope"];
274
544
  };
275
545
  };
276
- /** @description Forbidden */
277
- 403: {
546
+ /** @description Not Found */
547
+ 404: {
278
548
  content: {
279
549
  "application/json": components["schemas"]["ErrorEnvelope"];
280
550
  "application/xml": components["schemas"]["ErrorEnvelope"];
@@ -283,10 +553,12 @@ export interface paths {
283
553
  };
284
554
  };
285
555
  };
286
- "/api/v2/CartService/Carts/GuestCart": {
556
+ "/api/v2/CartService/Records/IsInCart": {
287
557
  get: {
288
558
  parameters: {
289
- query?: {
559
+ query: {
560
+ itemID: string;
561
+ cartID: string;
290
562
  "api-version"?: string;
291
563
  };
292
564
  header?: {
@@ -297,8 +569,8 @@ export interface paths {
297
569
  /** @description OK */
298
570
  200: {
299
571
  content: {
300
- "application/json": components["schemas"]["CartDtoEnvelope"];
301
- "application/xml": components["schemas"]["CartDtoEnvelope"];
572
+ "application/json": components["schemas"]["BooleanEnvelope"];
573
+ "application/xml": components["schemas"]["BooleanEnvelope"];
302
574
  };
303
575
  };
304
576
  /** @description Unauthorized */
@@ -308,20 +580,21 @@ export interface paths {
308
580
  "application/xml": components["schemas"]["ErrorEnvelope"];
309
581
  };
310
582
  };
311
- /** @description Forbidden */
312
- 403: {
583
+ /** @description Not Found */
584
+ 404: {
313
585
  content: {
314
- "application/json": components["schemas"]["ErrorEnvelope"];
315
- "application/xml": components["schemas"]["ErrorEnvelope"];
586
+ "application/json": components["schemas"]["EmptyEnvelope"];
587
+ "application/xml": components["schemas"]["EmptyEnvelope"];
316
588
  };
317
589
  };
318
590
  };
319
591
  };
320
592
  };
321
- "/api/v2/CartService/Carts/UserCart": {
322
- get: {
593
+ "/api/v2/CartService/Records/ClearCart": {
594
+ post: {
323
595
  parameters: {
324
- query?: {
596
+ query: {
597
+ cartID: string;
325
598
  "api-version"?: string;
326
599
  };
327
600
  header?: {
@@ -332,8 +605,8 @@ export interface paths {
332
605
  /** @description OK */
333
606
  200: {
334
607
  content: {
335
- "application/json": components["schemas"]["CartDtoEnvelope"];
336
- "application/xml": components["schemas"]["CartDtoEnvelope"];
608
+ "application/json": components["schemas"]["EmptyEnvelope"];
609
+ "application/xml": components["schemas"]["EmptyEnvelope"];
337
610
  };
338
611
  };
339
612
  /** @description Unauthorized */
@@ -343,10 +616,17 @@ export interface paths {
343
616
  "application/xml": components["schemas"]["ErrorEnvelope"];
344
617
  };
345
618
  };
619
+ /** @description Not Found */
620
+ 404: {
621
+ content: {
622
+ "application/json": components["schemas"]["ErrorEnvelope"];
623
+ "application/xml": components["schemas"]["ErrorEnvelope"];
624
+ };
625
+ };
346
626
  };
347
627
  };
348
628
  };
349
- "/api/v2/CartService/Carts/BusinessCart/{tenantId}": {
629
+ "/api/v2/CartService/Records/{recordId}/Details": {
350
630
  get: {
351
631
  parameters: {
352
632
  query?: {
@@ -356,26 +636,26 @@ export interface paths {
356
636
  "x-api-version"?: string;
357
637
  };
358
638
  path: {
359
- tenantId: string;
639
+ recordId: string;
360
640
  };
361
641
  };
362
642
  responses: {
363
643
  /** @description OK */
364
644
  200: {
365
645
  content: {
366
- "application/json": components["schemas"]["CartDtoEnvelope"];
367
- "application/xml": components["schemas"]["CartDtoEnvelope"];
646
+ "application/json": components["schemas"]["EmptyEnvelope"];
647
+ "application/xml": components["schemas"]["EmptyEnvelope"];
368
648
  };
369
649
  };
370
650
  /** @description Unauthorized */
371
651
  401: {
372
652
  content: {
373
- "application/json": components["schemas"]["ErrorEnvelope"];
374
- "application/xml": components["schemas"]["ErrorEnvelope"];
653
+ "application/json": components["schemas"]["ItemCartRecordDtoEnvelope"];
654
+ "application/xml": components["schemas"]["ItemCartRecordDtoEnvelope"];
375
655
  };
376
656
  };
377
- /** @description Forbidden */
378
- 403: {
657
+ /** @description Not Found */
658
+ 404: {
379
659
  content: {
380
660
  "application/json": components["schemas"]["ErrorEnvelope"];
381
661
  "application/xml": components["schemas"]["ErrorEnvelope"];
@@ -384,8 +664,8 @@ export interface paths {
384
664
  };
385
665
  };
386
666
  };
387
- "/api/v2/CartService/Carts/{cartId}/Items": {
388
- get: {
667
+ "/api/v2/CartService/Records/{recordId}": {
668
+ put: {
389
669
  parameters: {
390
670
  query?: {
391
671
  "api-version"?: string;
@@ -394,15 +674,21 @@ export interface paths {
394
674
  "x-api-version"?: string;
395
675
  };
396
676
  path: {
397
- cartId: string;
677
+ recordId: string;
678
+ };
679
+ };
680
+ requestBody?: {
681
+ content: {
682
+ "application/json": components["schemas"]["ItemCartRecordUpdateDto"];
683
+ "application/xml": components["schemas"]["ItemCartRecordUpdateDto"];
398
684
  };
399
685
  };
400
686
  responses: {
401
687
  /** @description OK */
402
688
  200: {
403
689
  content: {
404
- "application/json": components["schemas"]["ItemCartRecordDtoListEnvelope"];
405
- "application/xml": components["schemas"]["ItemCartRecordDtoListEnvelope"];
690
+ "application/json": components["schemas"]["EmptyEnvelope"];
691
+ "application/xml": components["schemas"]["EmptyEnvelope"];
406
692
  };
407
693
  };
408
694
  /** @description Unauthorized */
@@ -430,7 +716,7 @@ export interface paths {
430
716
  "x-api-version"?: string;
431
717
  };
432
718
  path: {
433
- cartId: string;
719
+ recordId: string;
434
720
  };
435
721
  };
436
722
  responses: {
@@ -458,24 +744,18 @@ export interface paths {
458
744
  };
459
745
  };
460
746
  };
461
- "/api/v2/CartService/Carts/{cartId}/Items/{itemId}": {
747
+ "/api/v2/CartService/Records/{recordId}/Increase": {
462
748
  put: {
463
749
  parameters: {
464
750
  query?: {
751
+ quantity?: number;
465
752
  "api-version"?: string;
466
753
  };
467
754
  header?: {
468
755
  "x-api-version"?: string;
469
756
  };
470
757
  path: {
471
- cartId: string;
472
- itemId: string;
473
- };
474
- };
475
- requestBody?: {
476
- content: {
477
- "application/json": components["schemas"]["ItemCartRecordUpdateDto"];
478
- "application/xml": components["schemas"]["ItemCartRecordUpdateDto"];
758
+ recordId: string;
479
759
  };
480
760
  };
481
761
  responses: {
@@ -502,7 +782,9 @@ export interface paths {
502
782
  };
503
783
  };
504
784
  };
505
- post: {
785
+ };
786
+ "/api/v2/CartService/Records/{recordId}/Decrease": {
787
+ put: {
506
788
  parameters: {
507
789
  query?: {
508
790
  quantity?: number;
@@ -512,8 +794,7 @@ export interface paths {
512
794
  "x-api-version"?: string;
513
795
  };
514
796
  path: {
515
- cartId: string;
516
- itemId: string;
797
+ recordId: string;
517
798
  };
518
799
  };
519
800
  responses: {
@@ -540,57 +821,40 @@ export interface paths {
540
821
  };
541
822
  };
542
823
  };
543
- delete: {
824
+ };
825
+ "/api/v2/CartService/WishLists/Contains": {
826
+ get: {
544
827
  parameters: {
545
828
  query?: {
829
+ cartId?: string;
830
+ productId?: string;
546
831
  "api-version"?: string;
547
832
  };
548
833
  header?: {
549
834
  "x-api-version"?: string;
550
835
  };
551
- path: {
552
- cartId: string;
553
- itemId: string;
554
- };
555
836
  };
556
837
  responses: {
557
838
  /** @description OK */
558
839
  200: {
559
840
  content: {
560
- "application/json": components["schemas"]["EmptyEnvelope"];
561
- "application/xml": components["schemas"]["EmptyEnvelope"];
562
- };
563
- };
564
- /** @description Unauthorized */
565
- 401: {
566
- content: {
567
- "application/json": components["schemas"]["ErrorEnvelope"];
568
- "application/xml": components["schemas"]["ErrorEnvelope"];
569
- };
570
- };
571
- /** @description Not Found */
572
- 404: {
573
- content: {
574
- "application/json": components["schemas"]["ErrorEnvelope"];
575
- "application/xml": components["schemas"]["ErrorEnvelope"];
841
+ "application/json": components["schemas"]["BooleanEnvelope"];
842
+ "application/xml": components["schemas"]["BooleanEnvelope"];
576
843
  };
577
844
  };
578
845
  };
579
846
  };
580
847
  };
581
- "/api/v2/CartService/Carts/{cartId}/Contains/{itemId}": {
848
+ "/api/v2/CartService/WishLists/Exists": {
582
849
  get: {
583
850
  parameters: {
584
851
  query?: {
852
+ wishListId?: string;
585
853
  "api-version"?: string;
586
854
  };
587
855
  header?: {
588
856
  "x-api-version"?: string;
589
857
  };
590
- path: {
591
- cartId: string;
592
- itemId: string;
593
- };
594
858
  };
595
859
  responses: {
596
860
  /** @description OK */
@@ -600,42 +864,17 @@ export interface paths {
600
864
  "application/xml": components["schemas"]["BooleanEnvelope"];
601
865
  };
602
866
  };
603
- /** @description Unauthorized */
604
- 401: {
605
- content: {
606
- "application/json": components["schemas"]["ErrorEnvelope"];
607
- "application/xml": components["schemas"]["ErrorEnvelope"];
608
- };
609
- };
610
- /** @description Not Found */
611
- 404: {
612
- content: {
613
- "application/json": components["schemas"]["EmptyEnvelope"];
614
- "application/xml": components["schemas"]["EmptyEnvelope"];
615
- };
616
- };
617
867
  };
618
868
  };
619
- };
620
- "/api/v2/CartService/Carts/{cartId}/Items/{itemId}/Increase": {
621
- put: {
869
+ head: {
622
870
  parameters: {
623
871
  query?: {
872
+ wishListId?: string;
624
873
  "api-version"?: string;
625
874
  };
626
875
  header?: {
627
876
  "x-api-version"?: string;
628
877
  };
629
- path: {
630
- cartId: string;
631
- itemId: string;
632
- };
633
- };
634
- requestBody?: {
635
- content: {
636
- "application/json": components["schemas"]["ItemCartRecordUpdateDto"];
637
- "application/xml": components["schemas"]["ItemCartRecordUpdateDto"];
638
- };
639
878
  };
640
879
  responses: {
641
880
  /** @description OK */
@@ -645,25 +884,11 @@ export interface paths {
645
884
  "application/xml": components["schemas"]["EmptyEnvelope"];
646
885
  };
647
886
  };
648
- /** @description Unauthorized */
649
- 401: {
650
- content: {
651
- "application/json": components["schemas"]["ErrorEnvelope"];
652
- "application/xml": components["schemas"]["ErrorEnvelope"];
653
- };
654
- };
655
- /** @description Not Found */
656
- 404: {
657
- content: {
658
- "application/json": components["schemas"]["ErrorEnvelope"];
659
- "application/xml": components["schemas"]["ErrorEnvelope"];
660
- };
661
- };
662
887
  };
663
888
  };
664
889
  };
665
- "/api/v2/CartService/Carts/{cartId}/Items/{itemId}/Decrease": {
666
- put: {
890
+ "/api/v2/CartService/WishLists": {
891
+ post: {
667
892
  parameters: {
668
893
  query?: {
669
894
  "api-version"?: string;
@@ -671,15 +896,11 @@ export interface paths {
671
896
  header?: {
672
897
  "x-api-version"?: string;
673
898
  };
674
- path: {
675
- cartId: string;
676
- itemId: string;
677
- };
678
899
  };
679
900
  requestBody?: {
680
901
  content: {
681
- "application/json": components["schemas"]["ItemCartRecordUpdateDto"];
682
- "application/xml": components["schemas"]["ItemCartRecordUpdateDto"];
902
+ "application/json": components["schemas"]["NewWishListRequest"];
903
+ "application/xml": components["schemas"]["NewWishListRequest"];
683
904
  };
684
905
  };
685
906
  responses: {
@@ -690,25 +911,11 @@ export interface paths {
690
911
  "application/xml": components["schemas"]["EmptyEnvelope"];
691
912
  };
692
913
  };
693
- /** @description Unauthorized */
694
- 401: {
695
- content: {
696
- "application/json": components["schemas"]["ErrorEnvelope"];
697
- "application/xml": components["schemas"]["ErrorEnvelope"];
698
- };
699
- };
700
- /** @description Not Found */
701
- 404: {
702
- content: {
703
- "application/json": components["schemas"]["ErrorEnvelope"];
704
- "application/xml": components["schemas"]["ErrorEnvelope"];
705
- };
706
- };
707
914
  };
708
915
  };
709
916
  };
710
- "/api/v2/CartService/Carts/{cartId}/Lines": {
711
- get: {
917
+ "/api/v2/CartService/WishLists/{wishListId}": {
918
+ put: {
712
919
  parameters: {
713
920
  query?: {
714
921
  "api-version"?: string;
@@ -717,36 +924,26 @@ export interface paths {
717
924
  "x-api-version"?: string;
718
925
  };
719
926
  path: {
720
- cartId: string;
927
+ wishListId: string;
928
+ };
929
+ };
930
+ requestBody?: {
931
+ content: {
932
+ "application/json": components["schemas"]["WishListUpdateDto"];
933
+ "application/xml": components["schemas"]["WishListUpdateDto"];
721
934
  };
722
935
  };
723
936
  responses: {
724
937
  /** @description OK */
725
938
  200: {
726
939
  content: {
727
- "application/json": components["schemas"]["ItemCartRecordDtoListEnvelope"];
728
- "application/xml": components["schemas"]["ItemCartRecordDtoListEnvelope"];
729
- };
730
- };
731
- /** @description Unauthorized */
732
- 401: {
733
- content: {
734
- "application/json": components["schemas"]["ErrorEnvelope"];
735
- "application/xml": components["schemas"]["ErrorEnvelope"];
736
- };
737
- };
738
- /** @description Not Found */
739
- 404: {
740
- content: {
741
- "application/json": components["schemas"]["ErrorEnvelope"];
742
- "application/xml": components["schemas"]["ErrorEnvelope"];
940
+ "application/json": components["schemas"]["EmptyEnvelope"];
941
+ "application/xml": components["schemas"]["EmptyEnvelope"];
743
942
  };
744
943
  };
745
944
  };
746
945
  };
747
- };
748
- "/api/v2/CartService/Carts/{cartId}/Lines/{lineId}": {
749
- get: {
946
+ delete: {
750
947
  parameters: {
751
948
  query?: {
752
949
  "api-version"?: string;
@@ -755,8 +952,7 @@ export interface paths {
755
952
  "x-api-version"?: string;
756
953
  };
757
954
  path: {
758
- cartId: string;
759
- lineId: string;
955
+ wishListId: string;
760
956
  };
761
957
  };
762
958
  responses: {
@@ -767,23 +963,11 @@ export interface paths {
767
963
  "application/xml": components["schemas"]["EmptyEnvelope"];
768
964
  };
769
965
  };
770
- /** @description Unauthorized */
771
- 401: {
772
- content: {
773
- "application/json": components["schemas"]["ItemCartRecordDtoEnvelope"];
774
- "application/xml": components["schemas"]["ItemCartRecordDtoEnvelope"];
775
- };
776
- };
777
- /** @description Not Found */
778
- 404: {
779
- content: {
780
- "application/json": components["schemas"]["ErrorEnvelope"];
781
- "application/xml": components["schemas"]["ErrorEnvelope"];
782
- };
783
- };
784
966
  };
785
967
  };
786
- put: {
968
+ };
969
+ "/api/v2/CartService/WishLists/{cartId}": {
970
+ get: {
787
971
  parameters: {
788
972
  query?: {
789
973
  "api-version"?: string;
@@ -793,40 +977,21 @@ export interface paths {
793
977
  };
794
978
  path: {
795
979
  cartId: string;
796
- lineId: string;
797
- };
798
- };
799
- requestBody?: {
800
- content: {
801
- "application/json": components["schemas"]["ItemCartRecordUpdateDto"];
802
- "application/xml": components["schemas"]["ItemCartRecordUpdateDto"];
803
980
  };
804
981
  };
805
982
  responses: {
806
983
  /** @description OK */
807
984
  200: {
808
985
  content: {
809
- "application/json": components["schemas"]["EmptyEnvelope"];
810
- "application/xml": components["schemas"]["EmptyEnvelope"];
811
- };
812
- };
813
- /** @description Unauthorized */
814
- 401: {
815
- content: {
816
- "application/json": components["schemas"]["ErrorEnvelope"];
817
- "application/xml": components["schemas"]["ErrorEnvelope"];
818
- };
819
- };
820
- /** @description Not Found */
821
- 404: {
822
- content: {
823
- "application/json": components["schemas"]["ErrorEnvelope"];
824
- "application/xml": components["schemas"]["ErrorEnvelope"];
986
+ "application/json": components["schemas"]["WishListDto"][];
987
+ "application/xml": components["schemas"]["WishListDto"][];
825
988
  };
826
989
  };
827
990
  };
828
991
  };
829
- delete: {
992
+ };
993
+ "/api/v2/CartService/WishLists/{wishListId}/Records": {
994
+ get: {
830
995
  parameters: {
831
996
  query?: {
832
997
  "api-version"?: string;
@@ -835,88 +1000,58 @@ export interface paths {
835
1000
  "x-api-version"?: string;
836
1001
  };
837
1002
  path: {
838
- cartId: string;
839
- lineId: string;
1003
+ wishListId: string;
840
1004
  };
841
1005
  };
842
1006
  responses: {
843
1007
  /** @description OK */
844
1008
  200: {
845
1009
  content: {
846
- "application/json": components["schemas"]["EmptyEnvelope"];
847
- "application/xml": components["schemas"]["EmptyEnvelope"];
848
- };
849
- };
850
- /** @description Unauthorized */
851
- 401: {
852
- content: {
853
- "application/json": components["schemas"]["ErrorEnvelope"];
854
- "application/xml": components["schemas"]["ErrorEnvelope"];
855
- };
856
- };
857
- /** @description Not Found */
858
- 404: {
859
- content: {
860
- "application/json": components["schemas"]["ErrorEnvelope"];
861
- "application/xml": components["schemas"]["ErrorEnvelope"];
1010
+ "application/json": components["schemas"]["WishListItemRecordDto"][];
1011
+ "application/xml": components["schemas"]["WishListItemRecordDto"][];
862
1012
  };
863
1013
  };
864
1014
  };
865
1015
  };
866
1016
  };
867
- "/api/v2/CartService/Carts/{cartId}/Lines/{lineId}/Increase": {
868
- put: {
1017
+ "/api/v2/CartService/WishLists/{wishListId}/Details": {
1018
+ get: {
869
1019
  parameters: {
870
1020
  query?: {
871
- quantity?: number;
872
1021
  "api-version"?: string;
873
1022
  };
874
1023
  header?: {
875
1024
  "x-api-version"?: string;
876
1025
  };
877
1026
  path: {
878
- cartId: string;
879
- lineId: string;
1027
+ wishListId: string;
880
1028
  };
881
1029
  };
882
1030
  responses: {
883
1031
  /** @description OK */
884
1032
  200: {
885
1033
  content: {
886
- "application/json": components["schemas"]["EmptyEnvelope"];
887
- "application/xml": components["schemas"]["EmptyEnvelope"];
888
- };
889
- };
890
- /** @description Unauthorized */
891
- 401: {
892
- content: {
893
- "application/json": components["schemas"]["ErrorEnvelope"];
894
- "application/xml": components["schemas"]["ErrorEnvelope"];
895
- };
896
- };
897
- /** @description Not Found */
898
- 404: {
899
- content: {
900
- "application/json": components["schemas"]["ErrorEnvelope"];
901
- "application/xml": components["schemas"]["ErrorEnvelope"];
1034
+ "application/json": components["schemas"]["WishListDto"];
1035
+ "application/xml": components["schemas"]["WishListDto"];
902
1036
  };
903
1037
  };
904
1038
  };
905
1039
  };
906
1040
  };
907
- "/api/v2/CartService/Carts/{cartId}/Lines/{lineId}/Decrease": {
908
- put: {
1041
+ "/api/v2/CartService/WishLists/Records": {
1042
+ post: {
909
1043
  parameters: {
910
1044
  query?: {
911
- quantity?: number;
912
1045
  "api-version"?: string;
913
1046
  };
914
1047
  header?: {
915
1048
  "x-api-version"?: string;
916
1049
  };
917
- path: {
918
- cartId: string;
919
- lineId: string;
1050
+ };
1051
+ requestBody?: {
1052
+ content: {
1053
+ "application/json": components["schemas"]["ProductToWishListRequest"];
1054
+ "application/xml": components["schemas"]["ProductToWishListRequest"];
920
1055
  };
921
1056
  };
922
1057
  responses: {
@@ -927,25 +1062,11 @@ export interface paths {
927
1062
  "application/xml": components["schemas"]["EmptyEnvelope"];
928
1063
  };
929
1064
  };
930
- /** @description Unauthorized */
931
- 401: {
932
- content: {
933
- "application/json": components["schemas"]["ErrorEnvelope"];
934
- "application/xml": components["schemas"]["ErrorEnvelope"];
935
- };
936
- };
937
- /** @description Not Found */
938
- 404: {
939
- content: {
940
- "application/json": components["schemas"]["ErrorEnvelope"];
941
- "application/xml": components["schemas"]["ErrorEnvelope"];
942
- };
943
- };
944
1065
  };
945
1066
  };
946
1067
  };
947
- "/api/v2/CartService/Carts/{cartId}/WishLists": {
948
- get: {
1068
+ "/api/v2/CartService/WishLists/Records/{recordId}": {
1069
+ delete: {
949
1070
  parameters: {
950
1071
  query?: {
951
1072
  "api-version"?: string;
@@ -954,1820 +1075,2069 @@ export interface paths {
954
1075
  "x-api-version"?: string;
955
1076
  };
956
1077
  path: {
957
- cartId: string;
1078
+ recordId: string;
958
1079
  };
959
1080
  };
960
1081
  responses: {
961
1082
  /** @description OK */
962
1083
  200: {
963
- content: {
964
- "application/json": components["schemas"]["WishListDto"][];
965
- "application/xml": components["schemas"]["WishListDto"][];
966
- };
967
- };
968
- /** @description Unauthorized */
969
- 401: {
970
- content: {
971
- "application/json": components["schemas"]["ErrorEnvelope"];
972
- "application/xml": components["schemas"]["ErrorEnvelope"];
973
- };
974
- };
975
- /** @description Not Found */
976
- 404: {
977
- content: {
978
- "application/json": components["schemas"]["ErrorEnvelope"];
979
- "application/xml": components["schemas"]["ErrorEnvelope"];
980
- };
981
- };
982
- };
983
- };
984
- post: {
985
- parameters: {
986
- query?: {
987
- "api-version"?: string;
988
- };
989
- header?: {
990
- "x-api-version"?: string;
991
- };
992
- path: {
993
- cartId: string;
994
- };
995
- };
996
- requestBody?: {
997
- content: {
998
- "application/json": components["schemas"]["NewWishListRequest"];
999
- "application/xml": components["schemas"]["NewWishListRequest"];
1000
- };
1001
- };
1002
- responses: {
1003
- /** @description OK */
1004
- 200: {
1005
- content: {
1006
- "application/json": components["schemas"]["EmptyEnvelope"];
1007
- "application/xml": components["schemas"]["EmptyEnvelope"];
1008
- };
1009
- };
1010
- /** @description Unauthorized */
1011
- 401: {
1012
- content: {
1013
- "application/json": components["schemas"]["ErrorEnvelope"];
1014
- "application/xml": components["schemas"]["ErrorEnvelope"];
1015
- };
1016
- };
1017
- /** @description Not Found */
1018
- 404: {
1019
- content: {
1020
- "application/json": components["schemas"]["ErrorEnvelope"];
1021
- "application/xml": components["schemas"]["ErrorEnvelope"];
1022
- };
1084
+ content: never;
1023
1085
  };
1024
1086
  };
1025
1087
  };
1026
1088
  };
1027
- "/api/v2/CartService/Carts/{cartId}/WishLists/Contains/{itemId}": {
1028
- get: {
1029
- parameters: {
1030
- query?: {
1031
- "api-version"?: string;
1032
- };
1033
- header?: {
1034
- "x-api-version"?: string;
1035
- };
1036
- path: {
1037
- cartId: string;
1038
- itemId: string;
1039
- };
1040
- };
1041
- responses: {
1042
- /** @description OK */
1043
- 200: {
1044
- content: {
1045
- "application/json": components["schemas"]["BooleanEnvelope"];
1046
- "application/xml": components["schemas"]["BooleanEnvelope"];
1047
- };
1048
- };
1049
- /** @description Unauthorized */
1050
- 401: {
1051
- content: {
1052
- "application/json": components["schemas"]["ErrorEnvelope"];
1053
- "application/xml": components["schemas"]["ErrorEnvelope"];
1054
- };
1055
- };
1056
- /** @description Not Found */
1057
- 404: {
1058
- content: {
1059
- "application/json": components["schemas"]["ErrorEnvelope"];
1060
- "application/xml": components["schemas"]["ErrorEnvelope"];
1061
- };
1062
- };
1063
- };
1089
+ }
1090
+
1091
+ export type webhooks = Record<string, never>;
1092
+
1093
+ export interface components {
1094
+ schemas: {
1095
+ AddProductToCompareRequest: {
1096
+ id?: string | null;
1097
+ cartID?: string | null;
1098
+ productID?: string | null;
1099
+ };
1100
+ BooleanEnvelope: {
1101
+ isSuccess?: boolean;
1102
+ errorMessage?: string | null;
1103
+ correlationId?: string | null;
1104
+ /** Format: date-time */
1105
+ timestamp?: string;
1106
+ activityId?: string | null;
1107
+ result?: boolean;
1108
+ };
1109
+ CartDto: {
1110
+ id?: string | null;
1111
+ ip?: string | null;
1112
+ type?: string | null;
1113
+ /** Format: double */
1114
+ total?: number;
1115
+ /** Format: double */
1116
+ taxes?: number;
1117
+ /** Format: double */
1118
+ freight?: number;
1119
+ /** Format: double */
1120
+ subTotal?: number;
1121
+ currencyId?: string | null;
1122
+ countryId?: string | null;
1123
+ /** Format: int32 */
1124
+ itemCartRecordsCount?: number | null;
1125
+ /** Format: int32 */
1126
+ itemToCompareRecordsCount?: number | null;
1127
+ };
1128
+ CartDtoEnvelope: {
1129
+ isSuccess?: boolean;
1130
+ errorMessage?: string | null;
1131
+ correlationId?: string | null;
1132
+ /** Format: date-time */
1133
+ timestamp?: string;
1134
+ activityId?: string | null;
1135
+ result?: components["schemas"]["CartDto"];
1136
+ };
1137
+ CartUpdateRequest: {
1138
+ currencyId?: string | null;
1139
+ countryId?: string | null;
1140
+ };
1141
+ CountryDto: {
1142
+ id?: string | null;
1143
+ /** Format: date-time */
1144
+ timestamp?: string | null;
1145
+ iso3?: string | null;
1146
+ iso2?: string | null;
1147
+ name?: string | null;
1148
+ nativeName?: string | null;
1149
+ flagUrl?: string | null;
1150
+ };
1151
+ CountryDtoEnvelope: {
1152
+ isSuccess?: boolean;
1153
+ errorMessage?: string | null;
1154
+ correlationId?: string | null;
1155
+ /** Format: date-time */
1156
+ timestamp?: string;
1157
+ activityId?: string | null;
1158
+ result?: components["schemas"]["CountryDto"];
1159
+ };
1160
+ CountrySwitchRequest: {
1161
+ cartID?: string | null;
1162
+ countryID?: string | null;
1163
+ };
1164
+ CurrencyDto: {
1165
+ id?: string | null;
1166
+ code?: string | null;
1167
+ name?: string | null;
1168
+ symbol?: string | null;
1169
+ country?: components["schemas"]["CountryDto"];
1170
+ };
1171
+ CurrencyDtoEnvelope: {
1172
+ isSuccess?: boolean;
1173
+ errorMessage?: string | null;
1174
+ correlationId?: string | null;
1175
+ /** Format: date-time */
1176
+ timestamp?: string;
1177
+ activityId?: string | null;
1178
+ result?: components["schemas"]["CurrencyDto"];
1179
+ };
1180
+ CurrencySwitchRequest: {
1181
+ cartID?: string | null;
1182
+ currencyID?: string | null;
1183
+ };
1184
+ EmptyEnvelope: {
1185
+ isSuccess?: boolean;
1186
+ errorMessage?: string | null;
1187
+ correlationId?: string | null;
1188
+ /** Format: date-time */
1189
+ timestamp?: string;
1190
+ activityId?: string | null;
1191
+ };
1192
+ ErrorEnvelope: {
1193
+ isSuccess?: boolean;
1194
+ errorMessage?: string | null;
1195
+ correlationId?: string | null;
1196
+ /** Format: date-time */
1197
+ timestamp?: string;
1198
+ activityId?: string | null;
1199
+ };
1200
+ ItemCartRecordCreateDto: {
1201
+ /** Format: uuid */
1202
+ id?: string;
1203
+ /** Format: date-time */
1204
+ timestamp?: string;
1205
+ cartId?: string | null;
1206
+ productId?: string | null;
1207
+ /** Format: double */
1208
+ quantity?: number;
1209
+ };
1210
+ ItemCartRecordDto: {
1211
+ id?: string | null;
1212
+ /** Format: date-time */
1213
+ timestamp?: string | null;
1214
+ closed?: boolean;
1215
+ itemId?: string | null;
1216
+ itemTitle?: string | null;
1217
+ itemShortDescription?: string | null;
1218
+ itemPrimaryImageUrl?: string | null;
1219
+ shippingPolicyId?: string | null;
1220
+ tenantId?: string | null;
1221
+ enrollmentId?: string | null;
1222
+ currencyId?: string | null;
1223
+ description?: string | null;
1224
+ /** Format: double */
1225
+ quantity?: number;
1226
+ free?: boolean;
1227
+ freeReason?: string | null;
1228
+ freeReasonCode?: string | null;
1229
+ data?: string | null;
1230
+ dataLabel?: string | null;
1231
+ data1?: string | null;
1232
+ data1Label?: string | null;
1233
+ data2?: string | null;
1234
+ data2Label?: string | null;
1235
+ data3?: string | null;
1236
+ data3Label?: string | null;
1237
+ data4?: string | null;
1238
+ data4Label?: string | null;
1239
+ data5?: string | null;
1240
+ data5Label?: string | null;
1241
+ data6?: string | null;
1242
+ data6Label?: string | null;
1243
+ data7?: string | null;
1244
+ data7Label?: string | null;
1245
+ data8?: string | null;
1246
+ data8Label?: string | null;
1247
+ data9?: string | null;
1248
+ data9Label?: string | null;
1249
+ itemPriceId?: string | null;
1250
+ priceListItemId?: string | null;
1251
+ unitId?: string | null;
1252
+ unitGroupId?: string | null;
1253
+ /**
1254
+ * Format: int32
1255
+ * @enum {integer}
1256
+ */
1257
+ taxCalculationMethod?: 0 | 1;
1258
+ /**
1259
+ * Format: int32
1260
+ * @enum {integer}
1261
+ */
1262
+ costCalculationMethod?: 0 | 1;
1263
+ forexRatesSnapshot?: string | null;
1264
+ /** Format: double */
1265
+ forexRate?: number;
1266
+ /** Format: double */
1267
+ totalBaseAmountInUsd?: number;
1268
+ /** Format: double */
1269
+ totalProfitInUsd?: number;
1270
+ /** Format: double */
1271
+ totalDetailAmountInUsd?: number;
1272
+ /** Format: double */
1273
+ totalTaxBaseInUsd?: number;
1274
+ /** Format: double */
1275
+ totalDiscountsInUsd?: number;
1276
+ /** Format: double */
1277
+ totalTaxesInUsd?: number;
1278
+ /** Format: double */
1279
+ totalWithholdingTaxesInUsd?: number;
1280
+ /** Format: double */
1281
+ totalShippingCostInUsd?: number;
1282
+ /** Format: double */
1283
+ totalShippingTaxesInUsd?: number;
1284
+ /** Format: double */
1285
+ totalWarrantyCostInUsd?: number;
1286
+ /** Format: double */
1287
+ totalReturnCostInUsd?: number;
1288
+ /** Format: double */
1289
+ totalRefundCostInUsd?: number;
1290
+ /** Format: double */
1291
+ totalSurchargesInUsd?: number;
1292
+ /** Format: double */
1293
+ totalAmountInUsd?: number;
1294
+ /** Format: double */
1295
+ totalGlobalDiscountsInUsd?: number;
1296
+ /** Format: double */
1297
+ totalGlobalSurchargesInUsd?: number;
1298
+ /** Format: double */
1299
+ customGlobalSurchargesAmount?: number;
1300
+ /** Format: double */
1301
+ customGlobalDiscountsAmount?: number;
1302
+ /** Format: double */
1303
+ customBaseAmount?: number;
1304
+ /** Format: double */
1305
+ customDetailAmount?: number;
1306
+ /** Format: double */
1307
+ customDiscountsAmount?: number;
1308
+ /** Format: double */
1309
+ customTaxBase?: number;
1310
+ /** Format: double */
1311
+ customSurchargesAmount?: number;
1312
+ /** Format: double */
1313
+ customProfitAmount?: number;
1314
+ /** Format: double */
1315
+ customShippingCostAmount?: number;
1316
+ /** Format: double */
1317
+ customShippingTaxAmount?: number;
1318
+ /** Format: double */
1319
+ customTaxAmount?: number;
1320
+ /** Format: double */
1321
+ customWithholdingTaxAmount?: number;
1322
+ /** Format: double */
1323
+ customTotalAmount?: number;
1324
+ returnPolicyId?: string | null;
1325
+ refundPolicyId?: string | null;
1326
+ warrantyPolicyId?: string | null;
1327
+ shipmentPolicyId?: string | null;
1328
+ shippingLocationId?: string | null;
1329
+ locationId?: string | null;
1330
+ quoteItemRecordId?: string | null;
1331
+ businessProfileRecordId?: string | null;
1332
+ parentBillingItemRecordId?: string | null;
1333
+ cartId?: string | null;
1334
+ itemID?: string | null;
1335
+ shippingAddressID?: string | null;
1336
+ };
1337
+ ItemCartRecordDtoEnvelope: {
1338
+ isSuccess?: boolean;
1339
+ errorMessage?: string | null;
1340
+ correlationId?: string | null;
1341
+ /** Format: date-time */
1342
+ timestamp?: string;
1343
+ activityId?: string | null;
1344
+ result?: components["schemas"]["ItemCartRecordDto"];
1345
+ };
1346
+ ItemCartRecordDtoListEnvelope: {
1347
+ isSuccess?: boolean;
1348
+ errorMessage?: string | null;
1349
+ correlationId?: string | null;
1350
+ /** Format: date-time */
1351
+ timestamp?: string;
1352
+ activityId?: string | null;
1353
+ result?: components["schemas"]["ItemCartRecordDto"][] | null;
1354
+ };
1355
+ ItemCartRecordUpdateDto: {
1356
+ /** Format: double */
1357
+ quantity?: number;
1358
+ };
1359
+ ItemToCompareCartRecordDto: {
1360
+ id?: string | null;
1361
+ /** Format: date-time */
1362
+ timestamp?: string | null;
1363
+ cartId?: string | null;
1364
+ itemId?: string | null;
1365
+ itemTitle?: string | null;
1366
+ itemShortDescription?: string | null;
1367
+ itemPrimaryImageUrl?: string | null;
1368
+ brandId?: string | null;
1369
+ brandName?: string | null;
1370
+ categoryName?: string | null;
1371
+ categoryId?: string | null;
1372
+ googleCategoryId?: string | null;
1373
+ googleCategoryName?: string | null;
1374
+ /** Format: double */
1375
+ totalTaxesInUsd?: number;
1376
+ /** Format: double */
1377
+ totalPriceInUsd?: number;
1378
+ shippingCountryId?: string | null;
1379
+ tenantId?: string | null;
1380
+ };
1381
+ ItemToCompareCartRecordDtoEnvelope: {
1382
+ isSuccess?: boolean;
1383
+ errorMessage?: string | null;
1384
+ correlationId?: string | null;
1385
+ /** Format: date-time */
1386
+ timestamp?: string;
1387
+ activityId?: string | null;
1388
+ result?: components["schemas"]["ItemToCompareCartRecordDto"];
1389
+ };
1390
+ ItemToCompareCartRecordDtoListEnvelope: {
1391
+ isSuccess?: boolean;
1392
+ errorMessage?: string | null;
1393
+ correlationId?: string | null;
1394
+ /** Format: date-time */
1395
+ timestamp?: string;
1396
+ activityId?: string | null;
1397
+ result?: components["schemas"]["ItemToCompareCartRecordDto"][] | null;
1064
1398
  };
1065
- };
1066
- "/api/v2/CartService/Carts/{cartId}/WishLists/{wishListId}/Exists": {
1067
- get: {
1068
- parameters: {
1069
- query?: {
1070
- "api-version"?: string;
1071
- };
1072
- header?: {
1073
- "x-api-version"?: string;
1074
- };
1075
- path: {
1076
- cartId: string;
1077
- wishListId: string;
1078
- };
1079
- };
1080
- responses: {
1081
- /** @description OK */
1082
- 200: {
1083
- content: {
1084
- "application/json": components["schemas"]["BooleanEnvelope"];
1085
- "application/xml": components["schemas"]["BooleanEnvelope"];
1086
- };
1087
- };
1088
- /** @description Unauthorized */
1089
- 401: {
1090
- content: {
1091
- "application/json": components["schemas"]["ErrorEnvelope"];
1092
- "application/xml": components["schemas"]["ErrorEnvelope"];
1093
- };
1094
- };
1095
- /** @description Not Found */
1096
- 404: {
1097
- content: {
1098
- "application/json": components["schemas"]["ErrorEnvelope"];
1099
- "application/xml": components["schemas"]["ErrorEnvelope"];
1100
- };
1101
- };
1102
- };
1399
+ NewWishListRequest: {
1400
+ title?: string | null;
1401
+ description?: string | null;
1402
+ /** Format: uuid */
1403
+ cartID?: string;
1404
+ public?: boolean;
1103
1405
  };
1104
- head: {
1105
- parameters: {
1106
- query?: {
1107
- "api-version"?: string;
1108
- };
1109
- header?: {
1110
- "x-api-version"?: string;
1111
- };
1112
- path: {
1113
- cartId: string;
1114
- wishListId: string;
1115
- };
1116
- };
1117
- responses: {
1118
- /** @description OK */
1119
- 200: {
1120
- content: {
1121
- "application/json": components["schemas"]["EmptyEnvelope"];
1122
- "application/xml": components["schemas"]["EmptyEnvelope"];
1123
- };
1124
- };
1125
- };
1406
+ ProductToWishListRequest: {
1407
+ wishListId?: string | null;
1408
+ productId?: string | null;
1126
1409
  };
1127
- };
1128
- "/api/v2/CartService/Carts/{cartId}/WishLists/{wishListId}": {
1129
- get: {
1130
- parameters: {
1131
- query?: {
1132
- "api-version"?: string;
1133
- };
1134
- header?: {
1135
- "x-api-version"?: string;
1136
- };
1137
- path: {
1138
- cartId: string;
1139
- wishListId: string;
1140
- };
1141
- };
1142
- responses: {
1143
- /** @description OK */
1144
- 200: {
1145
- content: {
1146
- "application/json": components["schemas"]["WishListDtoEnvelope"];
1147
- "application/xml": components["schemas"]["WishListDtoEnvelope"];
1148
- };
1149
- };
1150
- /** @description Unauthorized */
1151
- 401: {
1152
- content: {
1153
- "application/json": components["schemas"]["ErrorEnvelope"];
1154
- "application/xml": components["schemas"]["ErrorEnvelope"];
1155
- };
1156
- };
1157
- /** @description Not Found */
1158
- 404: {
1159
- content: {
1160
- "application/json": components["schemas"]["ErrorEnvelope"];
1161
- "application/xml": components["schemas"]["ErrorEnvelope"];
1162
- };
1163
- };
1164
- };
1410
+ WishListDto: {
1411
+ /** Format: date-time */
1412
+ timestamp?: string | null;
1413
+ id?: string | null;
1414
+ title?: string | null;
1415
+ description?: string | null;
1416
+ cartId?: string | null;
1417
+ public?: boolean;
1165
1418
  };
1166
- put: {
1167
- parameters: {
1168
- query?: {
1169
- "api-version"?: string;
1170
- };
1171
- header?: {
1172
- "x-api-version"?: string;
1173
- };
1174
- path: {
1175
- cartId: string;
1176
- wishListId: string;
1177
- };
1178
- };
1179
- requestBody?: {
1180
- content: {
1181
- "application/json": components["schemas"]["WishListUpdateDto"];
1182
- "application/xml": components["schemas"]["WishListUpdateDto"];
1183
- };
1184
- };
1185
- responses: {
1186
- /** @description OK */
1187
- 200: {
1188
- content: {
1189
- "application/json": components["schemas"]["EmptyEnvelope"];
1190
- "application/xml": components["schemas"]["EmptyEnvelope"];
1191
- };
1192
- };
1193
- /** @description Unauthorized */
1194
- 401: {
1195
- content: {
1196
- "application/json": components["schemas"]["ErrorEnvelope"];
1197
- "application/xml": components["schemas"]["ErrorEnvelope"];
1198
- };
1199
- };
1200
- /** @description Not Found */
1201
- 404: {
1202
- content: {
1203
- "application/json": components["schemas"]["ErrorEnvelope"];
1204
- "application/xml": components["schemas"]["ErrorEnvelope"];
1205
- };
1206
- };
1207
- };
1419
+ WishListDtoEnvelope: {
1420
+ isSuccess?: boolean;
1421
+ errorMessage?: string | null;
1422
+ correlationId?: string | null;
1423
+ /** Format: date-time */
1424
+ timestamp?: string;
1425
+ activityId?: string | null;
1426
+ result?: components["schemas"]["WishListDto"];
1208
1427
  };
1209
- delete: {
1210
- parameters: {
1211
- query?: {
1212
- "api-version"?: string;
1213
- };
1214
- header?: {
1215
- "x-api-version"?: string;
1216
- };
1217
- path: {
1218
- cartId: string;
1219
- wishListId: string;
1220
- };
1221
- };
1222
- responses: {
1223
- /** @description OK */
1224
- 200: {
1225
- content: {
1226
- "application/json": components["schemas"]["EmptyEnvelope"];
1227
- "application/xml": components["schemas"]["EmptyEnvelope"];
1228
- };
1229
- };
1230
- /** @description Unauthorized */
1231
- 401: {
1232
- content: {
1233
- "application/json": components["schemas"]["ErrorEnvelope"];
1234
- "application/xml": components["schemas"]["ErrorEnvelope"];
1235
- };
1236
- };
1237
- /** @description Not Found */
1238
- 404: {
1239
- content: {
1240
- "application/json": components["schemas"]["ErrorEnvelope"];
1241
- "application/xml": components["schemas"]["ErrorEnvelope"];
1242
- };
1243
- };
1244
- };
1428
+ WishListItemRecordDto: {
1429
+ id?: string | null;
1430
+ /** Format: date-time */
1431
+ timestamp?: string | null;
1432
+ wishListId?: string | null;
1433
+ productId?: string | null;
1434
+ };
1435
+ WishListUpdateDto: {
1436
+ title: string;
1437
+ description?: string | null;
1438
+ public?: boolean;
1245
1439
  };
1246
1440
  };
1247
- "/api/v2/CartService/Carts/{cartId}/WishLists/{wishListId}/Records": {
1248
- get: {
1249
- parameters: {
1250
- query?: {
1251
- "api-version"?: string;
1252
- };
1253
- header?: {
1254
- "x-api-version"?: string;
1255
- };
1256
- path: {
1257
- cartId: string;
1258
- wishListId: string;
1259
- };
1260
- };
1261
- responses: {
1262
- /** @description OK */
1263
- 200: {
1264
- content: {
1265
- "application/json": components["schemas"]["WishListItemRecordDto"][];
1266
- "application/xml": components["schemas"]["WishListItemRecordDto"][];
1267
- };
1268
- };
1269
- /** @description Unauthorized */
1270
- 401: {
1271
- content: {
1272
- "application/json": components["schemas"]["ErrorEnvelope"];
1273
- "application/xml": components["schemas"]["ErrorEnvelope"];
1274
- };
1275
- };
1276
- /** @description Not Found */
1277
- 404: {
1278
- content: {
1279
- "application/json": components["schemas"]["ErrorEnvelope"];
1280
- "application/xml": components["schemas"]["ErrorEnvelope"];
1281
- };
1282
- };
1441
+ responses: never;
1442
+ parameters: never;
1443
+ requestBodies: never;
1444
+ headers: never;
1445
+ pathItems: never;
1446
+ }
1447
+
1448
+ export type $defs = Record<string, never>;
1449
+
1450
+ export type external = Record<string, never>;
1451
+
1452
+ export interface operations {
1453
+
1454
+ /**
1455
+ * Get all business owned contacts
1456
+ * @description Get all business owned contacts
1457
+ */
1458
+ GetCartByIdAsync: {
1459
+ parameters: {
1460
+ query?: {
1461
+ "api-version"?: string;
1462
+ };
1463
+ header?: {
1464
+ "x-api-version"?: string;
1465
+ };
1466
+ path: {
1467
+ cartId: string;
1283
1468
  };
1284
1469
  };
1285
- post: {
1286
- parameters: {
1287
- query?: {
1288
- "api-version"?: string;
1289
- };
1290
- header?: {
1291
- "x-api-version"?: string;
1292
- };
1293
- path: {
1294
- cartId: string;
1295
- wishListId: string;
1470
+ responses: {
1471
+ /** @description OK */
1472
+ 200: {
1473
+ content: {
1474
+ "application/json": components["schemas"]["CartDtoEnvelope"];
1475
+ "application/xml": components["schemas"]["CartDtoEnvelope"];
1296
1476
  };
1297
1477
  };
1298
- requestBody?: {
1478
+ /** @description Unauthorized */
1479
+ 401: {
1299
1480
  content: {
1300
- "application/json": components["schemas"]["ProductToWishListRequest"];
1301
- "application/xml": components["schemas"]["ProductToWishListRequest"];
1481
+ "application/json": components["schemas"]["ErrorEnvelope"];
1482
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1302
1483
  };
1303
1484
  };
1304
- responses: {
1305
- /** @description OK */
1306
- 200: {
1307
- content: {
1308
- "application/json": components["schemas"]["EmptyEnvelope"];
1309
- "application/xml": components["schemas"]["EmptyEnvelope"];
1310
- };
1311
- };
1312
- /** @description Unauthorized */
1313
- 401: {
1314
- content: {
1315
- "application/json": components["schemas"]["ErrorEnvelope"];
1316
- "application/xml": components["schemas"]["ErrorEnvelope"];
1317
- };
1318
- };
1319
- /** @description Not Found */
1320
- 404: {
1321
- content: {
1322
- "application/json": components["schemas"]["ErrorEnvelope"];
1323
- "application/xml": components["schemas"]["ErrorEnvelope"];
1324
- };
1485
+ /** @description Forbidden */
1486
+ 403: {
1487
+ content: {
1488
+ "application/json": components["schemas"]["ErrorEnvelope"];
1489
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1325
1490
  };
1326
1491
  };
1327
1492
  };
1328
1493
  };
1329
- "/api/v2/CartService/Carts/{cartId}/WishLists/{wishListId}/Records/{recordId}": {
1330
- get: {
1331
- parameters: {
1332
- query?: {
1333
- "api-version"?: string;
1334
- };
1335
- header?: {
1336
- "x-api-version"?: string;
1337
- };
1338
- path: {
1339
- cartId: string;
1340
- wishListId: string;
1341
- recordId: string;
1342
- };
1494
+ /**
1495
+ * Update a cart
1496
+ * @description Update a cart
1497
+ */
1498
+ UpdateCartAsync: {
1499
+ parameters: {
1500
+ query?: {
1501
+ "api-version"?: string;
1343
1502
  };
1344
- responses: {
1345
- /** @description OK */
1346
- 200: {
1347
- content: {
1348
- "application/json": components["schemas"]["WishListItemRecordDto"][];
1349
- "application/xml": components["schemas"]["WishListItemRecordDto"][];
1350
- };
1351
- };
1503
+ header?: {
1504
+ "x-api-version"?: string;
1352
1505
  };
1353
- };
1354
- delete: {
1355
- parameters: {
1356
- query?: {
1357
- "api-version"?: string;
1358
- };
1359
- header?: {
1360
- "x-api-version"?: string;
1361
- };
1362
- path: {
1363
- cartId: string;
1364
- wishListId: string;
1365
- recordId: string;
1366
- };
1506
+ path: {
1507
+ cartId: string;
1367
1508
  };
1368
- responses: {
1369
- /** @description OK */
1370
- 200: {
1371
- content: {
1372
- "application/json": components["schemas"]["EmptyEnvelope"];
1373
- "application/xml": components["schemas"]["EmptyEnvelope"];
1374
- };
1375
- };
1376
- /** @description Unauthorized */
1377
- 401: {
1378
- content: {
1379
- "application/json": components["schemas"]["ErrorEnvelope"];
1380
- "application/xml": components["schemas"]["ErrorEnvelope"];
1381
- };
1382
- };
1383
- /** @description Not Found */
1384
- 404: {
1385
- content: {
1386
- "application/json": components["schemas"]["ErrorEnvelope"];
1387
- "application/xml": components["schemas"]["ErrorEnvelope"];
1388
- };
1389
- };
1509
+ };
1510
+ requestBody?: {
1511
+ content: {
1512
+ "application/json": components["schemas"]["CartUpdateRequest"];
1513
+ "application/xml": components["schemas"]["CartUpdateRequest"];
1390
1514
  };
1391
1515
  };
1392
- };
1393
- "/api/v2/CartService/Carts/{cartId}/Compare": {
1394
- get: {
1395
- parameters: {
1396
- query?: {
1397
- "api-version"?: string;
1398
- };
1399
- header?: {
1400
- "x-api-version"?: string;
1401
- };
1402
- path: {
1403
- cartId: string;
1516
+ responses: {
1517
+ /** @description OK */
1518
+ 200: {
1519
+ content: {
1520
+ "application/json": components["schemas"]["EmptyEnvelope"];
1521
+ "application/xml": components["schemas"]["EmptyEnvelope"];
1404
1522
  };
1405
1523
  };
1406
- responses: {
1407
- /** @description OK */
1408
- 200: {
1409
- content: {
1410
- "application/json": components["schemas"]["ItemToCompareCartRecordDtoListEnvelope"];
1411
- "application/xml": components["schemas"]["ItemToCompareCartRecordDtoListEnvelope"];
1412
- };
1413
- };
1414
- /** @description Unauthorized */
1415
- 401: {
1416
- content: {
1417
- "application/json": components["schemas"]["ErrorEnvelope"];
1418
- "application/xml": components["schemas"]["ErrorEnvelope"];
1419
- };
1524
+ /** @description Unauthorized */
1525
+ 401: {
1526
+ content: {
1527
+ "application/json": components["schemas"]["ErrorEnvelope"];
1528
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1420
1529
  };
1421
- /** @description Not Found */
1422
- 404: {
1423
- content: {
1424
- "application/json": components["schemas"]["ErrorEnvelope"];
1425
- "application/xml": components["schemas"]["ErrorEnvelope"];
1426
- };
1530
+ };
1531
+ /** @description Forbidden */
1532
+ 403: {
1533
+ content: {
1534
+ "application/json": components["schemas"]["ErrorEnvelope"];
1535
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1427
1536
  };
1428
1537
  };
1429
1538
  };
1430
1539
  };
1431
- "/api/v2/CartService/Carts/{cartId}/Compare/{itemId}": {
1432
- get: {
1433
- parameters: {
1434
- query?: {
1435
- "api-version"?: string;
1436
- };
1437
- header?: {
1438
- "x-api-version"?: string;
1439
- };
1440
- path: {
1441
- cartId: string;
1442
- itemId: string;
1443
- };
1444
- };
1445
- responses: {
1446
- /** @description OK */
1447
- 200: {
1448
- content: {
1449
- "application/json": components["schemas"]["ItemToCompareCartRecordDtoEnvelope"];
1450
- "application/xml": components["schemas"]["ItemToCompareCartRecordDtoEnvelope"];
1451
- };
1452
- };
1453
- /** @description Unauthorized */
1454
- 401: {
1455
- content: {
1456
- "application/json": components["schemas"]["ErrorEnvelope"];
1457
- "application/xml": components["schemas"]["ErrorEnvelope"];
1458
- };
1459
- };
1460
- /** @description Not Found */
1461
- 404: {
1462
- content: {
1463
- "application/json": components["schemas"]["ErrorEnvelope"];
1464
- "application/xml": components["schemas"]["ErrorEnvelope"];
1465
- };
1466
- };
1540
+ /**
1541
+ * Get the currency of a cart
1542
+ * @description The currency of a cart used for display purposes
1543
+ */
1544
+ GetCartCurrencyAsync: {
1545
+ parameters: {
1546
+ query?: {
1547
+ "api-version"?: string;
1467
1548
  };
1468
- };
1469
- post: {
1470
- parameters: {
1471
- query?: {
1472
- "api-version"?: string;
1473
- };
1474
- header?: {
1475
- "x-api-version"?: string;
1476
- };
1477
- path: {
1478
- cartId: string;
1479
- itemId: string;
1480
- };
1549
+ header?: {
1550
+ "x-api-version"?: string;
1481
1551
  };
1482
- responses: {
1483
- /** @description OK */
1484
- 200: {
1485
- content: {
1486
- "application/json": components["schemas"]["ItemCartRecordDto"];
1487
- "application/xml": components["schemas"]["ItemCartRecordDto"];
1488
- };
1489
- };
1490
- /** @description Unauthorized */
1491
- 401: {
1492
- content: {
1493
- "application/json": components["schemas"]["ErrorEnvelope"];
1494
- "application/xml": components["schemas"]["ErrorEnvelope"];
1495
- };
1496
- };
1497
- /** @description Not Found */
1498
- 404: {
1499
- content: {
1500
- "application/json": components["schemas"]["ErrorEnvelope"];
1501
- "application/xml": components["schemas"]["ErrorEnvelope"];
1502
- };
1503
- };
1552
+ path: {
1553
+ cartId: string;
1504
1554
  };
1505
1555
  };
1506
- delete: {
1507
- parameters: {
1508
- query?: {
1509
- "api-version"?: string;
1510
- };
1511
- header?: {
1512
- "x-api-version"?: string;
1513
- };
1514
- path: {
1515
- cartId: string;
1516
- itemId: string;
1556
+ responses: {
1557
+ /** @description OK */
1558
+ 200: {
1559
+ content: {
1560
+ "application/json": components["schemas"]["CurrencyDtoEnvelope"];
1561
+ "application/xml": components["schemas"]["CurrencyDtoEnvelope"];
1517
1562
  };
1518
1563
  };
1519
- responses: {
1520
- /** @description OK */
1521
- 200: {
1522
- content: {
1523
- "application/json": components["schemas"]["ItemToCompareCartRecordDto"];
1524
- "application/xml": components["schemas"]["ItemToCompareCartRecordDto"];
1525
- };
1526
- };
1527
- /** @description Unauthorized */
1528
- 401: {
1529
- content: {
1530
- "application/json": components["schemas"]["ErrorEnvelope"];
1531
- "application/xml": components["schemas"]["ErrorEnvelope"];
1532
- };
1564
+ /** @description Unauthorized */
1565
+ 401: {
1566
+ content: {
1567
+ "application/json": components["schemas"]["ErrorEnvelope"];
1568
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1533
1569
  };
1534
- /** @description Not Found */
1535
- 404: {
1536
- content: {
1537
- "application/json": components["schemas"]["ErrorEnvelope"];
1538
- "application/xml": components["schemas"]["ErrorEnvelope"];
1539
- };
1570
+ };
1571
+ /** @description Forbidden */
1572
+ 403: {
1573
+ content: {
1574
+ "application/json": components["schemas"]["ErrorEnvelope"];
1575
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1540
1576
  };
1541
1577
  };
1542
1578
  };
1543
1579
  };
1544
- "/api/v2/CartService/Carts/{cartId}/Compare/Contains/{itemId}": {
1545
- get: {
1546
- parameters: {
1547
- query?: {
1548
- "api-version"?: string;
1549
- };
1550
- header?: {
1551
- "x-api-version"?: string;
1552
- };
1553
- path: {
1554
- cartId: string;
1555
- itemId: string;
1556
- };
1580
+ /**
1581
+ * Set the currency of a cart
1582
+ * @description Set the currency of a cart
1583
+ */
1584
+ SetCartCurrencyAsync: {
1585
+ parameters: {
1586
+ query?: {
1587
+ "api-version"?: string;
1557
1588
  };
1558
- responses: {
1559
- /** @description OK */
1560
- 200: {
1561
- content: {
1562
- "application/json": components["schemas"]["BooleanEnvelope"];
1563
- "application/xml": components["schemas"]["BooleanEnvelope"];
1564
- };
1589
+ header?: {
1590
+ "x-api-version"?: string;
1591
+ };
1592
+ path: {
1593
+ cartId: string;
1594
+ };
1595
+ };
1596
+ requestBody?: {
1597
+ content: {
1598
+ "application/json": components["schemas"]["CurrencySwitchRequest"];
1599
+ "application/xml": components["schemas"]["CurrencySwitchRequest"];
1600
+ };
1601
+ };
1602
+ responses: {
1603
+ /** @description OK */
1604
+ 200: {
1605
+ content: {
1606
+ "application/json": components["schemas"]["EmptyEnvelope"];
1607
+ "application/xml": components["schemas"]["EmptyEnvelope"];
1565
1608
  };
1566
- /** @description Unauthorized */
1567
- 401: {
1568
- content: {
1569
- "application/json": components["schemas"]["ErrorEnvelope"];
1570
- "application/xml": components["schemas"]["ErrorEnvelope"];
1571
- };
1609
+ };
1610
+ /** @description Unauthorized */
1611
+ 401: {
1612
+ content: {
1613
+ "application/json": components["schemas"]["ErrorEnvelope"];
1614
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1572
1615
  };
1573
- /** @description Not Found */
1574
- 404: {
1575
- content: {
1576
- "application/json": components["schemas"]["ErrorEnvelope"];
1577
- "application/xml": components["schemas"]["ErrorEnvelope"];
1578
- };
1616
+ };
1617
+ /** @description Forbidden */
1618
+ 403: {
1619
+ content: {
1620
+ "application/json": components["schemas"]["ErrorEnvelope"];
1621
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1579
1622
  };
1580
1623
  };
1581
1624
  };
1582
1625
  };
1583
- "/api/v2/CartService/Compare/{cartId}": {
1584
- get: {
1585
- parameters: {
1586
- query?: {
1587
- "api-version"?: string;
1626
+ /**
1627
+ * Get the country of a cart
1628
+ * @description The country of a cart is used to calculate taxes and shipping costs
1629
+ */
1630
+ GetCartCountryAsync: {
1631
+ parameters: {
1632
+ query?: {
1633
+ "api-version"?: string;
1634
+ };
1635
+ header?: {
1636
+ "x-api-version"?: string;
1637
+ };
1638
+ path: {
1639
+ cartId: string;
1640
+ };
1641
+ };
1642
+ responses: {
1643
+ /** @description OK */
1644
+ 200: {
1645
+ content: {
1646
+ "application/json": components["schemas"]["CountryDtoEnvelope"];
1647
+ "application/xml": components["schemas"]["CountryDtoEnvelope"];
1588
1648
  };
1589
- header?: {
1590
- "x-api-version"?: string;
1649
+ };
1650
+ /** @description Unauthorized */
1651
+ 401: {
1652
+ content: {
1653
+ "application/json": components["schemas"]["ErrorEnvelope"];
1654
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1591
1655
  };
1592
- path: {
1593
- cartId: string;
1656
+ };
1657
+ /** @description Forbidden */
1658
+ 403: {
1659
+ content: {
1660
+ "application/json": components["schemas"]["ErrorEnvelope"];
1661
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1594
1662
  };
1595
1663
  };
1596
- responses: {
1597
- /** @description OK */
1598
- 200: {
1599
- content: {
1600
- "application/json": components["schemas"]["ItemToCompareCartRecordDtoListEnvelope"];
1601
- "application/xml": components["schemas"]["ItemToCompareCartRecordDtoListEnvelope"];
1602
- };
1664
+ };
1665
+ };
1666
+ /**
1667
+ * Set the country of a cart
1668
+ * @description Set the country of a cart
1669
+ */
1670
+ SetCartCountryAsync: {
1671
+ parameters: {
1672
+ query?: {
1673
+ "api-version"?: string;
1674
+ };
1675
+ header?: {
1676
+ "x-api-version"?: string;
1677
+ };
1678
+ path: {
1679
+ cartId: string;
1680
+ };
1681
+ };
1682
+ requestBody?: {
1683
+ content: {
1684
+ "application/json": components["schemas"]["CountrySwitchRequest"];
1685
+ "application/xml": components["schemas"]["CountrySwitchRequest"];
1686
+ };
1687
+ };
1688
+ responses: {
1689
+ /** @description OK */
1690
+ 200: {
1691
+ content: {
1692
+ "application/json": components["schemas"]["EmptyEnvelope"];
1693
+ "application/xml": components["schemas"]["EmptyEnvelope"];
1603
1694
  };
1604
- /** @description Unauthorized */
1605
- 401: {
1606
- content: {
1607
- "application/json": components["schemas"]["ErrorEnvelope"];
1608
- "application/xml": components["schemas"]["ErrorEnvelope"];
1609
- };
1695
+ };
1696
+ /** @description Unauthorized */
1697
+ 401: {
1698
+ content: {
1699
+ "application/json": components["schemas"]["ErrorEnvelope"];
1700
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1610
1701
  };
1611
- /** @description Not Found */
1612
- 404: {
1613
- content: {
1614
- "application/json": components["schemas"]["ErrorEnvelope"];
1615
- "application/xml": components["schemas"]["ErrorEnvelope"];
1616
- };
1702
+ };
1703
+ /** @description Forbidden */
1704
+ 403: {
1705
+ content: {
1706
+ "application/json": components["schemas"]["ErrorEnvelope"];
1707
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1617
1708
  };
1618
1709
  };
1619
1710
  };
1620
1711
  };
1621
- "/api/v2/CartService/Compare/{recordId}/Details": {
1622
- get: {
1623
- parameters: {
1624
- query?: {
1625
- "api-version"?: string;
1626
- };
1627
- header?: {
1628
- "x-api-version"?: string;
1629
- };
1630
- path: {
1631
- recordId: string;
1712
+ /**
1713
+ * Submit a cart for processing
1714
+ * @description Submit a cart for processing
1715
+ */
1716
+ SubmitCartAsync: {
1717
+ parameters: {
1718
+ query?: {
1719
+ tenantId?: string;
1720
+ "api-version"?: string;
1721
+ };
1722
+ header?: {
1723
+ "x-api-version"?: string;
1724
+ };
1725
+ path: {
1726
+ cartId: string;
1727
+ };
1728
+ };
1729
+ responses: {
1730
+ /** @description OK */
1731
+ 200: {
1732
+ content: {
1733
+ "application/json": components["schemas"]["EmptyEnvelope"];
1734
+ "application/xml": components["schemas"]["EmptyEnvelope"];
1632
1735
  };
1633
1736
  };
1634
- responses: {
1635
- /** @description OK */
1636
- 200: {
1637
- content: {
1638
- "application/json": components["schemas"]["ItemToCompareCartRecordDtoEnvelope"];
1639
- "application/xml": components["schemas"]["ItemToCompareCartRecordDtoEnvelope"];
1640
- };
1737
+ /** @description Unauthorized */
1738
+ 401: {
1739
+ content: {
1740
+ "application/json": components["schemas"]["ErrorEnvelope"];
1741
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1641
1742
  };
1642
- /** @description Not Found */
1643
- 404: {
1644
- content: {
1645
- "application/json": components["schemas"]["ErrorEnvelope"];
1646
- "application/xml": components["schemas"]["ErrorEnvelope"];
1647
- };
1743
+ };
1744
+ /** @description Forbidden */
1745
+ 403: {
1746
+ content: {
1747
+ "application/json": components["schemas"]["ErrorEnvelope"];
1748
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1648
1749
  };
1649
1750
  };
1650
1751
  };
1651
- };
1652
- "/api/v2/CartService/Compare": {
1653
- post: {
1654
- parameters: {
1655
- query?: {
1656
- "api-version"?: string;
1657
- };
1658
- header?: {
1659
- "x-api-version"?: string;
1752
+ };
1753
+ /**
1754
+ * Get the acting cart
1755
+ * @description Get the acting cart
1756
+ */
1757
+ GetActingCart: {
1758
+ parameters: {
1759
+ query?: {
1760
+ "api-version"?: string;
1761
+ };
1762
+ header?: {
1763
+ "x-api-version"?: string;
1764
+ };
1765
+ };
1766
+ responses: {
1767
+ /** @description OK */
1768
+ 200: {
1769
+ content: {
1770
+ "application/json": components["schemas"]["CartDtoEnvelope"];
1771
+ "application/xml": components["schemas"]["CartDtoEnvelope"];
1660
1772
  };
1661
1773
  };
1662
- requestBody?: {
1774
+ /** @description Unauthorized */
1775
+ 401: {
1663
1776
  content: {
1664
- "application/json": components["schemas"]["AddProductToCompareRequest"];
1665
- "application/xml": components["schemas"]["AddProductToCompareRequest"];
1777
+ "application/json": components["schemas"]["ErrorEnvelope"];
1778
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1666
1779
  };
1667
1780
  };
1668
- responses: {
1669
- /** @description OK */
1670
- 200: {
1671
- content: {
1672
- "application/json": components["schemas"]["ItemCartRecordDto"];
1673
- "application/xml": components["schemas"]["ItemCartRecordDto"];
1674
- };
1675
- };
1676
- /** @description Not Found */
1677
- 404: {
1678
- content: {
1679
- "application/json": components["schemas"]["ErrorEnvelope"];
1680
- "application/xml": components["schemas"]["ErrorEnvelope"];
1681
- };
1781
+ /** @description Forbidden */
1782
+ 403: {
1783
+ content: {
1784
+ "application/json": components["schemas"]["ErrorEnvelope"];
1785
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1682
1786
  };
1683
1787
  };
1684
1788
  };
1685
1789
  };
1686
- "/api/v2/CartService/Compare/{recordId}": {
1687
- delete: {
1688
- parameters: {
1689
- query?: {
1690
- "api-version"?: string;
1691
- };
1692
- header?: {
1693
- "x-api-version"?: string;
1694
- };
1695
- path: {
1696
- recordId: string;
1697
- };
1790
+ /**
1791
+ * Get the guest cart
1792
+ * @description Get the guest cart
1793
+ */
1794
+ GetGuestCartAsync: {
1795
+ parameters: {
1796
+ query?: {
1797
+ "api-version"?: string;
1698
1798
  };
1699
- responses: {
1700
- /** @description OK */
1701
- 200: {
1702
- content: {
1703
- "application/json": components["schemas"]["ItemToCompareCartRecordDto"];
1704
- "application/xml": components["schemas"]["ItemToCompareCartRecordDto"];
1705
- };
1706
- };
1707
- /** @description Not Found */
1708
- 404: {
1709
- content: {
1710
- "application/json": components["schemas"]["ErrorEnvelope"];
1711
- "application/xml": components["schemas"]["ErrorEnvelope"];
1712
- };
1713
- };
1799
+ header?: {
1800
+ "x-api-version"?: string;
1714
1801
  };
1715
1802
  };
1716
- };
1717
- "/api/v2/CartService/Records/AddItem": {
1718
- post: {
1719
- parameters: {
1720
- query?: {
1721
- cartId?: string;
1722
- itemId?: string;
1723
- quantity?: number;
1724
- "api-version"?: string;
1725
- };
1726
- header?: {
1727
- "x-api-version"?: string;
1803
+ responses: {
1804
+ /** @description OK */
1805
+ 200: {
1806
+ content: {
1807
+ "application/json": components["schemas"]["CartDtoEnvelope"];
1808
+ "application/xml": components["schemas"]["CartDtoEnvelope"];
1728
1809
  };
1729
1810
  };
1730
- responses: {
1731
- /** @description OK */
1732
- 200: {
1733
- content: {
1734
- "application/json": components["schemas"]["EmptyEnvelope"];
1735
- "application/xml": components["schemas"]["EmptyEnvelope"];
1736
- };
1737
- };
1738
- /** @description Unauthorized */
1739
- 401: {
1740
- content: {
1741
- "application/json": components["schemas"]["ErrorEnvelope"];
1742
- "application/xml": components["schemas"]["ErrorEnvelope"];
1743
- };
1811
+ /** @description Unauthorized */
1812
+ 401: {
1813
+ content: {
1814
+ "application/json": components["schemas"]["ErrorEnvelope"];
1815
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1744
1816
  };
1745
- /** @description Not Found */
1746
- 404: {
1747
- content: {
1748
- "application/json": components["schemas"]["ErrorEnvelope"];
1749
- "application/xml": components["schemas"]["ErrorEnvelope"];
1750
- };
1817
+ };
1818
+ /** @description Forbidden */
1819
+ 403: {
1820
+ content: {
1821
+ "application/json": components["schemas"]["ErrorEnvelope"];
1822
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1751
1823
  };
1752
1824
  };
1753
1825
  };
1754
1826
  };
1755
- "/api/v2/CartService/Records/{cartID}": {
1756
- get: {
1757
- parameters: {
1758
- query?: {
1759
- "api-version"?: string;
1760
- };
1761
- header?: {
1762
- "x-api-version"?: string;
1763
- };
1764
- path: {
1765
- cartId: string;
1766
- };
1827
+ /**
1828
+ * Get the current user's cart
1829
+ * @description Get the current user's cart
1830
+ */
1831
+ GetUserCart: {
1832
+ parameters: {
1833
+ query?: {
1834
+ "api-version"?: string;
1767
1835
  };
1768
- responses: {
1769
- /** @description OK */
1770
- 200: {
1771
- content: {
1772
- "application/json": components["schemas"]["ItemCartRecordDtoListEnvelope"];
1773
- "application/xml": components["schemas"]["ItemCartRecordDtoListEnvelope"];
1774
- };
1836
+ header?: {
1837
+ "x-api-version"?: string;
1838
+ };
1839
+ };
1840
+ responses: {
1841
+ /** @description OK */
1842
+ 200: {
1843
+ content: {
1844
+ "application/json": components["schemas"]["CartDtoEnvelope"];
1845
+ "application/xml": components["schemas"]["CartDtoEnvelope"];
1775
1846
  };
1776
- /** @description Unauthorized */
1777
- 401: {
1778
- content: {
1779
- "application/json": components["schemas"]["ErrorEnvelope"];
1780
- "application/xml": components["schemas"]["ErrorEnvelope"];
1781
- };
1847
+ };
1848
+ /** @description Unauthorized */
1849
+ 401: {
1850
+ content: {
1851
+ "application/json": components["schemas"]["ErrorEnvelope"];
1852
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1782
1853
  };
1783
- /** @description Not Found */
1784
- 404: {
1785
- content: {
1786
- "application/json": components["schemas"]["ErrorEnvelope"];
1787
- "application/xml": components["schemas"]["ErrorEnvelope"];
1788
- };
1854
+ };
1855
+ /** @description Forbidden */
1856
+ 403: {
1857
+ content: {
1858
+ "application/json": components["schemas"]["ErrorEnvelope"];
1859
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1789
1860
  };
1790
1861
  };
1791
1862
  };
1792
1863
  };
1793
- "/api/v2/CartService/Records": {
1794
- post: {
1795
- parameters: {
1796
- query?: {
1797
- "api-version"?: string;
1798
- };
1799
- header?: {
1800
- "x-api-version"?: string;
1801
- };
1864
+ /**
1865
+ * Get the business cart
1866
+ * @description Get the business cart
1867
+ */
1868
+ GetTenantCartAsync: {
1869
+ parameters: {
1870
+ query?: {
1871
+ "api-version"?: string;
1802
1872
  };
1803
- requestBody?: {
1873
+ header?: {
1874
+ "x-api-version"?: string;
1875
+ };
1876
+ path: {
1877
+ tenantId: string;
1878
+ };
1879
+ };
1880
+ responses: {
1881
+ /** @description OK */
1882
+ 200: {
1804
1883
  content: {
1805
- "application/json": components["schemas"]["ItemCartRecordCreateDto"];
1806
- "application/xml": components["schemas"]["ItemCartRecordCreateDto"];
1884
+ "application/json": components["schemas"]["CartDtoEnvelope"];
1885
+ "application/xml": components["schemas"]["CartDtoEnvelope"];
1807
1886
  };
1808
1887
  };
1809
- responses: {
1810
- /** @description OK */
1811
- 200: {
1812
- content: {
1813
- "application/json": components["schemas"]["EmptyEnvelope"];
1814
- "application/xml": components["schemas"]["EmptyEnvelope"];
1815
- };
1816
- };
1817
- /** @description Unauthorized */
1818
- 401: {
1819
- content: {
1820
- "application/json": components["schemas"]["ErrorEnvelope"];
1821
- "application/xml": components["schemas"]["ErrorEnvelope"];
1822
- };
1888
+ /** @description Unauthorized */
1889
+ 401: {
1890
+ content: {
1891
+ "application/json": components["schemas"]["ErrorEnvelope"];
1892
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1823
1893
  };
1824
- /** @description Not Found */
1825
- 404: {
1826
- content: {
1827
- "application/json": components["schemas"]["ErrorEnvelope"];
1828
- "application/xml": components["schemas"]["ErrorEnvelope"];
1829
- };
1894
+ };
1895
+ /** @description Forbidden */
1896
+ 403: {
1897
+ content: {
1898
+ "application/json": components["schemas"]["ErrorEnvelope"];
1899
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1830
1900
  };
1831
1901
  };
1832
1902
  };
1833
- delete: {
1834
- parameters: {
1835
- query?: {
1836
- cartId?: string;
1837
- productId?: string;
1838
- "api-version"?: string;
1839
- };
1840
- header?: {
1841
- "x-api-version"?: string;
1842
- };
1903
+ };
1904
+ /**
1905
+ * Get all cart lines
1906
+ * @description Get all cart lines
1907
+ */
1908
+ GetItemsInCartAsync: {
1909
+ parameters: {
1910
+ query?: {
1911
+ "api-version"?: string;
1843
1912
  };
1844
- responses: {
1845
- /** @description OK */
1846
- 200: {
1847
- content: {
1848
- "application/json": components["schemas"]["EmptyEnvelope"];
1849
- "application/xml": components["schemas"]["EmptyEnvelope"];
1850
- };
1913
+ header?: {
1914
+ "x-api-version"?: string;
1915
+ };
1916
+ path: {
1917
+ cartId: string;
1918
+ };
1919
+ };
1920
+ responses: {
1921
+ /** @description OK */
1922
+ 200: {
1923
+ content: {
1924
+ "application/json": components["schemas"]["ItemCartRecordDtoListEnvelope"];
1925
+ "application/xml": components["schemas"]["ItemCartRecordDtoListEnvelope"];
1851
1926
  };
1852
- /** @description Unauthorized */
1853
- 401: {
1854
- content: {
1855
- "application/json": components["schemas"]["ErrorEnvelope"];
1856
- "application/xml": components["schemas"]["ErrorEnvelope"];
1857
- };
1927
+ };
1928
+ /** @description Unauthorized */
1929
+ 401: {
1930
+ content: {
1931
+ "application/json": components["schemas"]["ErrorEnvelope"];
1932
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1858
1933
  };
1859
- /** @description Not Found */
1860
- 404: {
1861
- content: {
1862
- "application/json": components["schemas"]["ErrorEnvelope"];
1863
- "application/xml": components["schemas"]["ErrorEnvelope"];
1864
- };
1934
+ };
1935
+ /** @description Not Found */
1936
+ 404: {
1937
+ content: {
1938
+ "application/json": components["schemas"]["ErrorEnvelope"];
1939
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1865
1940
  };
1866
1941
  };
1867
1942
  };
1868
1943
  };
1869
- "/api/v2/CartService/Records/IsInCart": {
1870
- get: {
1871
- parameters: {
1872
- query: {
1873
- itemID: string;
1874
- cartID: string;
1875
- "api-version"?: string;
1876
- };
1877
- header?: {
1878
- "x-api-version"?: string;
1879
- };
1944
+ /**
1945
+ * Clear all items from a cart
1946
+ * @description Clear all items from a cart
1947
+ */
1948
+ ClearCartAsync: {
1949
+ parameters: {
1950
+ query?: {
1951
+ "api-version"?: string;
1880
1952
  };
1881
- responses: {
1882
- /** @description OK */
1883
- 200: {
1884
- content: {
1885
- "application/json": components["schemas"]["BooleanEnvelope"];
1886
- "application/xml": components["schemas"]["BooleanEnvelope"];
1887
- };
1953
+ header?: {
1954
+ "x-api-version"?: string;
1955
+ };
1956
+ path: {
1957
+ cartId: string;
1958
+ };
1959
+ };
1960
+ responses: {
1961
+ /** @description OK */
1962
+ 200: {
1963
+ content: {
1964
+ "application/json": components["schemas"]["EmptyEnvelope"];
1965
+ "application/xml": components["schemas"]["EmptyEnvelope"];
1888
1966
  };
1889
- /** @description Unauthorized */
1890
- 401: {
1891
- content: {
1892
- "application/json": components["schemas"]["ErrorEnvelope"];
1893
- "application/xml": components["schemas"]["ErrorEnvelope"];
1894
- };
1967
+ };
1968
+ /** @description Unauthorized */
1969
+ 401: {
1970
+ content: {
1971
+ "application/json": components["schemas"]["ErrorEnvelope"];
1972
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1895
1973
  };
1896
- /** @description Not Found */
1897
- 404: {
1898
- content: {
1899
- "application/json": components["schemas"]["EmptyEnvelope"];
1900
- "application/xml": components["schemas"]["EmptyEnvelope"];
1901
- };
1974
+ };
1975
+ /** @description Not Found */
1976
+ 404: {
1977
+ content: {
1978
+ "application/json": components["schemas"]["ErrorEnvelope"];
1979
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1902
1980
  };
1903
1981
  };
1904
1982
  };
1905
1983
  };
1906
- "/api/v2/CartService/Records/ClearCart": {
1907
- post: {
1908
- parameters: {
1909
- query: {
1910
- cartID: string;
1911
- "api-version"?: string;
1912
- };
1913
- header?: {
1914
- "x-api-version"?: string;
1915
- };
1984
+ /**
1985
+ * Update an Item in a cart
1986
+ * @description Update an Item in a cart
1987
+ */
1988
+ UpdateItemCartRecordAsync: {
1989
+ parameters: {
1990
+ query?: {
1991
+ "api-version"?: string;
1916
1992
  };
1917
- responses: {
1918
- /** @description OK */
1919
- 200: {
1920
- content: {
1921
- "application/json": components["schemas"]["EmptyEnvelope"];
1922
- "application/xml": components["schemas"]["EmptyEnvelope"];
1923
- };
1993
+ header?: {
1994
+ "x-api-version"?: string;
1995
+ };
1996
+ path: {
1997
+ cartId: string;
1998
+ itemId: string;
1999
+ };
2000
+ };
2001
+ requestBody?: {
2002
+ content: {
2003
+ "application/json": components["schemas"]["ItemCartRecordUpdateDto"];
2004
+ "application/xml": components["schemas"]["ItemCartRecordUpdateDto"];
2005
+ };
2006
+ };
2007
+ responses: {
2008
+ /** @description OK */
2009
+ 200: {
2010
+ content: {
2011
+ "application/json": components["schemas"]["EmptyEnvelope"];
2012
+ "application/xml": components["schemas"]["EmptyEnvelope"];
1924
2013
  };
1925
- /** @description Unauthorized */
1926
- 401: {
1927
- content: {
1928
- "application/json": components["schemas"]["ErrorEnvelope"];
1929
- "application/xml": components["schemas"]["ErrorEnvelope"];
1930
- };
2014
+ };
2015
+ /** @description Unauthorized */
2016
+ 401: {
2017
+ content: {
2018
+ "application/json": components["schemas"]["ErrorEnvelope"];
2019
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1931
2020
  };
1932
- /** @description Not Found */
1933
- 404: {
1934
- content: {
1935
- "application/json": components["schemas"]["ErrorEnvelope"];
1936
- "application/xml": components["schemas"]["ErrorEnvelope"];
1937
- };
2021
+ };
2022
+ /** @description Not Found */
2023
+ 404: {
2024
+ content: {
2025
+ "application/json": components["schemas"]["ErrorEnvelope"];
2026
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1938
2027
  };
1939
2028
  };
1940
2029
  };
1941
2030
  };
1942
- "/api/v2/CartService/Records/{recordId}/Details": {
1943
- get: {
1944
- parameters: {
1945
- query?: {
1946
- "api-version"?: string;
2031
+ /**
2032
+ * Add an Item to a cart
2033
+ * @description Add an Item to a cart
2034
+ */
2035
+ AddItemToCartAsync: {
2036
+ parameters: {
2037
+ query?: {
2038
+ quantity?: number;
2039
+ "api-version"?: string;
2040
+ };
2041
+ header?: {
2042
+ "x-api-version"?: string;
2043
+ };
2044
+ path: {
2045
+ cartId: string;
2046
+ itemId: string;
2047
+ };
2048
+ };
2049
+ responses: {
2050
+ /** @description OK */
2051
+ 200: {
2052
+ content: {
2053
+ "application/json": components["schemas"]["EmptyEnvelope"];
2054
+ "application/xml": components["schemas"]["EmptyEnvelope"];
1947
2055
  };
1948
- header?: {
1949
- "x-api-version"?: string;
2056
+ };
2057
+ /** @description Unauthorized */
2058
+ 401: {
2059
+ content: {
2060
+ "application/json": components["schemas"]["ErrorEnvelope"];
2061
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1950
2062
  };
1951
- path: {
1952
- recordId: string;
2063
+ };
2064
+ /** @description Not Found */
2065
+ 404: {
2066
+ content: {
2067
+ "application/json": components["schemas"]["ErrorEnvelope"];
2068
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1953
2069
  };
1954
2070
  };
1955
- responses: {
1956
- /** @description OK */
1957
- 200: {
1958
- content: {
1959
- "application/json": components["schemas"]["EmptyEnvelope"];
1960
- "application/xml": components["schemas"]["EmptyEnvelope"];
1961
- };
2071
+ };
2072
+ };
2073
+ /**
2074
+ * Decrease an Item in a cart
2075
+ * @description Decrease an Item in a cart
2076
+ */
2077
+ RemoveItemFromCartAsync: {
2078
+ parameters: {
2079
+ query?: {
2080
+ "api-version"?: string;
2081
+ };
2082
+ header?: {
2083
+ "x-api-version"?: string;
2084
+ };
2085
+ path: {
2086
+ cartId: string;
2087
+ itemId: string;
2088
+ };
2089
+ };
2090
+ requestBody?: {
2091
+ content: {
2092
+ "application/json": components["schemas"]["ItemCartRecordUpdateDto"];
2093
+ "application/xml": components["schemas"]["ItemCartRecordUpdateDto"];
2094
+ };
2095
+ };
2096
+ responses: {
2097
+ /** @description OK */
2098
+ 200: {
2099
+ content: {
2100
+ "application/json": components["schemas"]["EmptyEnvelope"];
2101
+ "application/xml": components["schemas"]["EmptyEnvelope"];
1962
2102
  };
1963
- /** @description Unauthorized */
1964
- 401: {
1965
- content: {
1966
- "application/json": components["schemas"]["ItemCartRecordDtoEnvelope"];
1967
- "application/xml": components["schemas"]["ItemCartRecordDtoEnvelope"];
1968
- };
2103
+ };
2104
+ /** @description Unauthorized */
2105
+ 401: {
2106
+ content: {
2107
+ "application/json": components["schemas"]["ErrorEnvelope"];
2108
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1969
2109
  };
1970
- /** @description Not Found */
1971
- 404: {
1972
- content: {
1973
- "application/json": components["schemas"]["ErrorEnvelope"];
1974
- "application/xml": components["schemas"]["ErrorEnvelope"];
1975
- };
2110
+ };
2111
+ /** @description Not Found */
2112
+ 404: {
2113
+ content: {
2114
+ "application/json": components["schemas"]["ErrorEnvelope"];
2115
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1976
2116
  };
1977
2117
  };
1978
2118
  };
1979
2119
  };
1980
- "/api/v2/CartService/Records/{recordId}": {
1981
- put: {
1982
- parameters: {
1983
- query?: {
1984
- "api-version"?: string;
1985
- };
1986
- header?: {
1987
- "x-api-version"?: string;
2120
+ /**
2121
+ * Assesses if an Item is already in a cart
2122
+ * @description Assesses if an Item is already in a cart
2123
+ */
2124
+ IsItemAlreadyInCartAsync: {
2125
+ parameters: {
2126
+ query?: {
2127
+ "api-version"?: string;
2128
+ };
2129
+ header?: {
2130
+ "x-api-version"?: string;
2131
+ };
2132
+ path: {
2133
+ cartId: string;
2134
+ itemId: string;
2135
+ };
2136
+ };
2137
+ responses: {
2138
+ /** @description OK */
2139
+ 200: {
2140
+ content: {
2141
+ "application/json": components["schemas"]["BooleanEnvelope"];
2142
+ "application/xml": components["schemas"]["BooleanEnvelope"];
1988
2143
  };
1989
- path: {
1990
- recordId: string;
2144
+ };
2145
+ /** @description Unauthorized */
2146
+ 401: {
2147
+ content: {
2148
+ "application/json": components["schemas"]["ErrorEnvelope"];
2149
+ "application/xml": components["schemas"]["ErrorEnvelope"];
1991
2150
  };
1992
2151
  };
1993
- requestBody?: {
2152
+ /** @description Not Found */
2153
+ 404: {
1994
2154
  content: {
1995
- "application/json": components["schemas"]["ItemCartRecordUpdateDto"];
1996
- "application/xml": components["schemas"]["ItemCartRecordUpdateDto"];
2155
+ "application/json": components["schemas"]["EmptyEnvelope"];
2156
+ "application/xml": components["schemas"]["EmptyEnvelope"];
1997
2157
  };
1998
2158
  };
1999
- responses: {
2000
- /** @description OK */
2001
- 200: {
2002
- content: {
2003
- "application/json": components["schemas"]["EmptyEnvelope"];
2004
- "application/xml": components["schemas"]["EmptyEnvelope"];
2005
- };
2006
- };
2007
- /** @description Unauthorized */
2008
- 401: {
2009
- content: {
2010
- "application/json": components["schemas"]["ErrorEnvelope"];
2011
- "application/xml": components["schemas"]["ErrorEnvelope"];
2012
- };
2013
- };
2014
- /** @description Not Found */
2015
- 404: {
2016
- content: {
2017
- "application/json": components["schemas"]["ErrorEnvelope"];
2018
- "application/xml": components["schemas"]["ErrorEnvelope"];
2019
- };
2020
- };
2159
+ };
2160
+ };
2161
+ /**
2162
+ * Increase an Item in a cart
2163
+ * @description Increase an Item in a cart
2164
+ */
2165
+ IncreaseItemCartRecordQuantityAsync: {
2166
+ parameters: {
2167
+ query?: {
2168
+ "api-version"?: string;
2169
+ };
2170
+ header?: {
2171
+ "x-api-version"?: string;
2172
+ };
2173
+ path: {
2174
+ cartId: string;
2175
+ itemId: string;
2021
2176
  };
2022
2177
  };
2023
- delete: {
2024
- parameters: {
2025
- query?: {
2026
- "api-version"?: string;
2027
- };
2028
- header?: {
2029
- "x-api-version"?: string;
2030
- };
2031
- path: {
2032
- recordId: string;
2033
- };
2178
+ requestBody?: {
2179
+ content: {
2180
+ "application/json": components["schemas"]["ItemCartRecordUpdateDto"];
2181
+ "application/xml": components["schemas"]["ItemCartRecordUpdateDto"];
2034
2182
  };
2035
- responses: {
2036
- /** @description OK */
2037
- 200: {
2038
- content: {
2039
- "application/json": components["schemas"]["EmptyEnvelope"];
2040
- "application/xml": components["schemas"]["EmptyEnvelope"];
2041
- };
2183
+ };
2184
+ responses: {
2185
+ /** @description OK */
2186
+ 200: {
2187
+ content: {
2188
+ "application/json": components["schemas"]["EmptyEnvelope"];
2189
+ "application/xml": components["schemas"]["EmptyEnvelope"];
2042
2190
  };
2043
- /** @description Unauthorized */
2044
- 401: {
2045
- content: {
2046
- "application/json": components["schemas"]["ErrorEnvelope"];
2047
- "application/xml": components["schemas"]["ErrorEnvelope"];
2048
- };
2191
+ };
2192
+ /** @description Unauthorized */
2193
+ 401: {
2194
+ content: {
2195
+ "application/json": components["schemas"]["ErrorEnvelope"];
2196
+ "application/xml": components["schemas"]["ErrorEnvelope"];
2049
2197
  };
2050
- /** @description Not Found */
2051
- 404: {
2052
- content: {
2053
- "application/json": components["schemas"]["ErrorEnvelope"];
2054
- "application/xml": components["schemas"]["ErrorEnvelope"];
2055
- };
2198
+ };
2199
+ /** @description Not Found */
2200
+ 404: {
2201
+ content: {
2202
+ "application/json": components["schemas"]["ErrorEnvelope"];
2203
+ "application/xml": components["schemas"]["ErrorEnvelope"];
2056
2204
  };
2057
2205
  };
2058
2206
  };
2059
2207
  };
2060
- "/api/v2/CartService/Records/{recordId}/Increase": {
2061
- put: {
2062
- parameters: {
2063
- query?: {
2064
- quantity?: number;
2065
- "api-version"?: string;
2066
- };
2067
- header?: {
2068
- "x-api-version"?: string;
2069
- };
2070
- path: {
2071
- recordId: string;
2072
- };
2208
+ /**
2209
+ * Get all cart lines
2210
+ * @description Get all cart lines
2211
+ */
2212
+ GetCartLinesAsync: {
2213
+ parameters: {
2214
+ query?: {
2215
+ "api-version"?: string;
2073
2216
  };
2074
- responses: {
2075
- /** @description OK */
2076
- 200: {
2077
- content: {
2078
- "application/json": components["schemas"]["EmptyEnvelope"];
2079
- "application/xml": components["schemas"]["EmptyEnvelope"];
2080
- };
2217
+ header?: {
2218
+ "x-api-version"?: string;
2219
+ };
2220
+ path: {
2221
+ cartId: string;
2222
+ };
2223
+ };
2224
+ responses: {
2225
+ /** @description OK */
2226
+ 200: {
2227
+ content: {
2228
+ "application/json": components["schemas"]["ItemCartRecordDtoListEnvelope"];
2229
+ "application/xml": components["schemas"]["ItemCartRecordDtoListEnvelope"];
2081
2230
  };
2082
- /** @description Unauthorized */
2083
- 401: {
2084
- content: {
2085
- "application/json": components["schemas"]["ErrorEnvelope"];
2086
- "application/xml": components["schemas"]["ErrorEnvelope"];
2087
- };
2231
+ };
2232
+ /** @description Unauthorized */
2233
+ 401: {
2234
+ content: {
2235
+ "application/json": components["schemas"]["ErrorEnvelope"];
2236
+ "application/xml": components["schemas"]["ErrorEnvelope"];
2088
2237
  };
2089
- /** @description Not Found */
2090
- 404: {
2091
- content: {
2092
- "application/json": components["schemas"]["ErrorEnvelope"];
2093
- "application/xml": components["schemas"]["ErrorEnvelope"];
2094
- };
2238
+ };
2239
+ /** @description Not Found */
2240
+ 404: {
2241
+ content: {
2242
+ "application/json": components["schemas"]["ErrorEnvelope"];
2243
+ "application/xml": components["schemas"]["ErrorEnvelope"];
2095
2244
  };
2096
2245
  };
2097
2246
  };
2098
2247
  };
2099
- "/api/v2/CartService/Records/{recordId}/Decrease": {
2100
- put: {
2101
- parameters: {
2102
- query?: {
2103
- quantity?: number;
2104
- "api-version"?: string;
2248
+ /**
2249
+ * Get a cart line by ID
2250
+ * @description Get a cart line by ID
2251
+ */
2252
+ GetCartLineAsync: {
2253
+ parameters: {
2254
+ query?: {
2255
+ "api-version"?: string;
2256
+ };
2257
+ header?: {
2258
+ "x-api-version"?: string;
2259
+ };
2260
+ path: {
2261
+ cartId: string;
2262
+ lineId: string;
2263
+ };
2264
+ };
2265
+ responses: {
2266
+ /** @description OK */
2267
+ 200: {
2268
+ content: {
2269
+ "application/json": components["schemas"]["EmptyEnvelope"];
2270
+ "application/xml": components["schemas"]["EmptyEnvelope"];
2105
2271
  };
2106
- header?: {
2107
- "x-api-version"?: string;
2272
+ };
2273
+ /** @description Unauthorized */
2274
+ 401: {
2275
+ content: {
2276
+ "application/json": components["schemas"]["ItemCartRecordDtoEnvelope"];
2277
+ "application/xml": components["schemas"]["ItemCartRecordDtoEnvelope"];
2108
2278
  };
2109
- path: {
2110
- recordId: string;
2279
+ };
2280
+ /** @description Not Found */
2281
+ 404: {
2282
+ content: {
2283
+ "application/json": components["schemas"]["ErrorEnvelope"];
2284
+ "application/xml": components["schemas"]["ErrorEnvelope"];
2111
2285
  };
2112
2286
  };
2113
- responses: {
2114
- /** @description OK */
2115
- 200: {
2116
- content: {
2117
- "application/json": components["schemas"]["EmptyEnvelope"];
2118
- "application/xml": components["schemas"]["EmptyEnvelope"];
2119
- };
2287
+ };
2288
+ };
2289
+ /**
2290
+ * Update a cart line
2291
+ * @description Update a cart line
2292
+ */
2293
+ UpdateCartLineAsync: {
2294
+ parameters: {
2295
+ query?: {
2296
+ "api-version"?: string;
2297
+ };
2298
+ header?: {
2299
+ "x-api-version"?: string;
2300
+ };
2301
+ path: {
2302
+ cartId: string;
2303
+ lineId: string;
2304
+ };
2305
+ };
2306
+ requestBody?: {
2307
+ content: {
2308
+ "application/json": components["schemas"]["ItemCartRecordUpdateDto"];
2309
+ "application/xml": components["schemas"]["ItemCartRecordUpdateDto"];
2310
+ };
2311
+ };
2312
+ responses: {
2313
+ /** @description OK */
2314
+ 200: {
2315
+ content: {
2316
+ "application/json": components["schemas"]["EmptyEnvelope"];
2317
+ "application/xml": components["schemas"]["EmptyEnvelope"];
2120
2318
  };
2121
- /** @description Unauthorized */
2122
- 401: {
2123
- content: {
2124
- "application/json": components["schemas"]["ErrorEnvelope"];
2125
- "application/xml": components["schemas"]["ErrorEnvelope"];
2126
- };
2319
+ };
2320
+ /** @description Unauthorized */
2321
+ 401: {
2322
+ content: {
2323
+ "application/json": components["schemas"]["ErrorEnvelope"];
2324
+ "application/xml": components["schemas"]["ErrorEnvelope"];
2127
2325
  };
2128
- /** @description Not Found */
2129
- 404: {
2130
- content: {
2131
- "application/json": components["schemas"]["ErrorEnvelope"];
2132
- "application/xml": components["schemas"]["ErrorEnvelope"];
2133
- };
2326
+ };
2327
+ /** @description Not Found */
2328
+ 404: {
2329
+ content: {
2330
+ "application/json": components["schemas"]["ErrorEnvelope"];
2331
+ "application/xml": components["schemas"]["ErrorEnvelope"];
2134
2332
  };
2135
2333
  };
2136
2334
  };
2137
2335
  };
2138
- "/api/v2/CartService/WishLists/Contains": {
2139
- get: {
2140
- parameters: {
2141
- query?: {
2142
- cartId?: string;
2143
- productId?: string;
2144
- "api-version"?: string;
2336
+ /**
2337
+ * Remove a cart line
2338
+ * @description Remove a cart line
2339
+ */
2340
+ RemoveCartLineAsync: {
2341
+ parameters: {
2342
+ query?: {
2343
+ "api-version"?: string;
2344
+ };
2345
+ header?: {
2346
+ "x-api-version"?: string;
2347
+ };
2348
+ path: {
2349
+ cartId: string;
2350
+ lineId: string;
2351
+ };
2352
+ };
2353
+ responses: {
2354
+ /** @description OK */
2355
+ 200: {
2356
+ content: {
2357
+ "application/json": components["schemas"]["EmptyEnvelope"];
2358
+ "application/xml": components["schemas"]["EmptyEnvelope"];
2145
2359
  };
2146
- header?: {
2147
- "x-api-version"?: string;
2360
+ };
2361
+ /** @description Unauthorized */
2362
+ 401: {
2363
+ content: {
2364
+ "application/json": components["schemas"]["ErrorEnvelope"];
2365
+ "application/xml": components["schemas"]["ErrorEnvelope"];
2148
2366
  };
2149
2367
  };
2150
- responses: {
2151
- /** @description OK */
2152
- 200: {
2153
- content: {
2154
- "application/json": components["schemas"]["BooleanEnvelope"];
2155
- "application/xml": components["schemas"]["BooleanEnvelope"];
2156
- };
2368
+ /** @description Not Found */
2369
+ 404: {
2370
+ content: {
2371
+ "application/json": components["schemas"]["ErrorEnvelope"];
2372
+ "application/xml": components["schemas"]["ErrorEnvelope"];
2157
2373
  };
2158
2374
  };
2159
2375
  };
2160
2376
  };
2161
- "/api/v2/CartService/WishLists/Exists": {
2162
- get: {
2163
- parameters: {
2164
- query?: {
2165
- wishListId?: string;
2166
- "api-version"?: string;
2167
- };
2168
- header?: {
2169
- "x-api-version"?: string;
2170
- };
2377
+ /**
2378
+ * Increase the quantity of a cart line
2379
+ * @description Increase the quantity of a cart line
2380
+ */
2381
+ IncreaseCartLineAsync: {
2382
+ parameters: {
2383
+ query?: {
2384
+ quantity?: number;
2385
+ "api-version"?: string;
2171
2386
  };
2172
- responses: {
2173
- /** @description OK */
2174
- 200: {
2175
- content: {
2176
- "application/json": components["schemas"]["BooleanEnvelope"];
2177
- "application/xml": components["schemas"]["BooleanEnvelope"];
2178
- };
2179
- };
2387
+ header?: {
2388
+ "x-api-version"?: string;
2389
+ };
2390
+ path: {
2391
+ cartId: string;
2392
+ lineId: string;
2180
2393
  };
2181
2394
  };
2182
- head: {
2183
- parameters: {
2184
- query?: {
2185
- wishListId?: string;
2186
- "api-version"?: string;
2395
+ responses: {
2396
+ /** @description OK */
2397
+ 200: {
2398
+ content: {
2399
+ "application/json": components["schemas"]["EmptyEnvelope"];
2400
+ "application/xml": components["schemas"]["EmptyEnvelope"];
2187
2401
  };
2188
- header?: {
2189
- "x-api-version"?: string;
2402
+ };
2403
+ /** @description Unauthorized */
2404
+ 401: {
2405
+ content: {
2406
+ "application/json": components["schemas"]["ErrorEnvelope"];
2407
+ "application/xml": components["schemas"]["ErrorEnvelope"];
2190
2408
  };
2191
2409
  };
2192
- responses: {
2193
- /** @description OK */
2194
- 200: {
2195
- content: {
2196
- "application/json": components["schemas"]["EmptyEnvelope"];
2197
- "application/xml": components["schemas"]["EmptyEnvelope"];
2198
- };
2410
+ /** @description Not Found */
2411
+ 404: {
2412
+ content: {
2413
+ "application/json": components["schemas"]["ErrorEnvelope"];
2414
+ "application/xml": components["schemas"]["ErrorEnvelope"];
2199
2415
  };
2200
2416
  };
2201
2417
  };
2202
2418
  };
2203
- "/api/v2/CartService/WishLists": {
2204
- post: {
2205
- parameters: {
2206
- query?: {
2207
- "api-version"?: string;
2208
- };
2209
- header?: {
2210
- "x-api-version"?: string;
2419
+ /**
2420
+ * Decrease the quantity of a cart line
2421
+ * @description Decrease the quantity of a cart line
2422
+ */
2423
+ DecreaseCartLineAsync: {
2424
+ parameters: {
2425
+ query?: {
2426
+ quantity?: number;
2427
+ "api-version"?: string;
2428
+ };
2429
+ header?: {
2430
+ "x-api-version"?: string;
2431
+ };
2432
+ path: {
2433
+ cartId: string;
2434
+ lineId: string;
2435
+ };
2436
+ };
2437
+ responses: {
2438
+ /** @description OK */
2439
+ 200: {
2440
+ content: {
2441
+ "application/json": components["schemas"]["EmptyEnvelope"];
2442
+ "application/xml": components["schemas"]["EmptyEnvelope"];
2211
2443
  };
2212
2444
  };
2213
- requestBody?: {
2445
+ /** @description Unauthorized */
2446
+ 401: {
2214
2447
  content: {
2215
- "application/json": components["schemas"]["NewWishListRequest"];
2216
- "application/xml": components["schemas"]["NewWishListRequest"];
2448
+ "application/json": components["schemas"]["ErrorEnvelope"];
2449
+ "application/xml": components["schemas"]["ErrorEnvelope"];
2217
2450
  };
2218
2451
  };
2219
- responses: {
2220
- /** @description OK */
2221
- 200: {
2222
- content: {
2223
- "application/json": components["schemas"]["EmptyEnvelope"];
2224
- "application/xml": components["schemas"]["EmptyEnvelope"];
2225
- };
2452
+ /** @description Not Found */
2453
+ 404: {
2454
+ content: {
2455
+ "application/json": components["schemas"]["ErrorEnvelope"];
2456
+ "application/xml": components["schemas"]["ErrorEnvelope"];
2226
2457
  };
2227
2458
  };
2228
2459
  };
2229
2460
  };
2230
- "/api/v2/CartService/WishLists/{wishListId}": {
2231
- put: {
2232
- parameters: {
2233
- query?: {
2234
- "api-version"?: string;
2235
- };
2236
- header?: {
2237
- "x-api-version"?: string;
2238
- };
2239
- path: {
2240
- wishListId: string;
2241
- };
2461
+ /**
2462
+ * Get all wishlists in a cart
2463
+ * @description Get all wishlists in a cart
2464
+ */
2465
+ GetWishListAsync: {
2466
+ parameters: {
2467
+ query?: {
2468
+ "api-version"?: string;
2242
2469
  };
2243
- requestBody?: {
2244
- content: {
2245
- "application/json": components["schemas"]["WishListUpdateDto"];
2246
- "application/xml": components["schemas"]["WishListUpdateDto"];
2247
- };
2470
+ header?: {
2471
+ "x-api-version"?: string;
2248
2472
  };
2249
- responses: {
2250
- /** @description OK */
2251
- 200: {
2252
- content: {
2253
- "application/json": components["schemas"]["EmptyEnvelope"];
2254
- "application/xml": components["schemas"]["EmptyEnvelope"];
2255
- };
2256
- };
2473
+ path: {
2474
+ cartId: string;
2257
2475
  };
2258
2476
  };
2259
- delete: {
2260
- parameters: {
2261
- query?: {
2262
- "api-version"?: string;
2263
- };
2264
- header?: {
2265
- "x-api-version"?: string;
2477
+ responses: {
2478
+ /** @description OK */
2479
+ 200: {
2480
+ content: {
2481
+ "application/json": components["schemas"]["WishListDto"][];
2482
+ "application/xml": components["schemas"]["WishListDto"][];
2266
2483
  };
2267
- path: {
2268
- wishListId: string;
2484
+ };
2485
+ /** @description Unauthorized */
2486
+ 401: {
2487
+ content: {
2488
+ "application/json": components["schemas"]["ErrorEnvelope"];
2489
+ "application/xml": components["schemas"]["ErrorEnvelope"];
2269
2490
  };
2270
2491
  };
2271
- responses: {
2272
- /** @description OK */
2273
- 200: {
2274
- content: {
2275
- "application/json": components["schemas"]["EmptyEnvelope"];
2276
- "application/xml": components["schemas"]["EmptyEnvelope"];
2277
- };
2492
+ /** @description Not Found */
2493
+ 404: {
2494
+ content: {
2495
+ "application/json": components["schemas"]["ErrorEnvelope"];
2496
+ "application/xml": components["schemas"]["ErrorEnvelope"];
2278
2497
  };
2279
2498
  };
2280
2499
  };
2281
2500
  };
2282
- "/api/v2/CartService/WishLists/{cartId}": {
2283
- get: {
2284
- parameters: {
2285
- query?: {
2286
- "api-version"?: string;
2287
- };
2288
- header?: {
2289
- "x-api-version"?: string;
2501
+ /**
2502
+ * Create a new wish list
2503
+ * @description Create a new wish list
2504
+ */
2505
+ CreateWishListAsync: {
2506
+ parameters: {
2507
+ query?: {
2508
+ "api-version"?: string;
2509
+ };
2510
+ header?: {
2511
+ "x-api-version"?: string;
2512
+ };
2513
+ path: {
2514
+ cartId: string;
2515
+ };
2516
+ };
2517
+ requestBody?: {
2518
+ content: {
2519
+ "application/json": components["schemas"]["NewWishListRequest"];
2520
+ "application/xml": components["schemas"]["NewWishListRequest"];
2521
+ };
2522
+ };
2523
+ responses: {
2524
+ /** @description OK */
2525
+ 200: {
2526
+ content: {
2527
+ "application/json": components["schemas"]["EmptyEnvelope"];
2528
+ "application/xml": components["schemas"]["EmptyEnvelope"];
2290
2529
  };
2291
- path: {
2292
- cartId: string;
2530
+ };
2531
+ /** @description Unauthorized */
2532
+ 401: {
2533
+ content: {
2534
+ "application/json": components["schemas"]["ErrorEnvelope"];
2535
+ "application/xml": components["schemas"]["ErrorEnvelope"];
2293
2536
  };
2294
2537
  };
2295
- responses: {
2296
- /** @description OK */
2297
- 200: {
2298
- content: {
2299
- "application/json": components["schemas"]["WishListDto"][];
2300
- "application/xml": components["schemas"]["WishListDto"][];
2301
- };
2538
+ /** @description Not Found */
2539
+ 404: {
2540
+ content: {
2541
+ "application/json": components["schemas"]["ErrorEnvelope"];
2542
+ "application/xml": components["schemas"]["ErrorEnvelope"];
2302
2543
  };
2303
2544
  };
2304
2545
  };
2305
2546
  };
2306
- "/api/v2/CartService/WishLists/{wishListId}/Records": {
2307
- get: {
2308
- parameters: {
2309
- query?: {
2310
- "api-version"?: string;
2311
- };
2312
- header?: {
2313
- "x-api-version"?: string;
2547
+ /**
2548
+ * Assesses if an Item is already in any of the cart's wishlists
2549
+ * @description Assesses if an Item is already in any of the cart's wishlists
2550
+ */
2551
+ IsItemInWishLists: {
2552
+ parameters: {
2553
+ query?: {
2554
+ "api-version"?: string;
2555
+ };
2556
+ header?: {
2557
+ "x-api-version"?: string;
2558
+ };
2559
+ path: {
2560
+ cartId: string;
2561
+ itemId: string;
2562
+ };
2563
+ };
2564
+ responses: {
2565
+ /** @description OK */
2566
+ 200: {
2567
+ content: {
2568
+ "application/json": components["schemas"]["BooleanEnvelope"];
2569
+ "application/xml": components["schemas"]["BooleanEnvelope"];
2314
2570
  };
2315
- path: {
2316
- wishListId: string;
2571
+ };
2572
+ /** @description Unauthorized */
2573
+ 401: {
2574
+ content: {
2575
+ "application/json": components["schemas"]["ErrorEnvelope"];
2576
+ "application/xml": components["schemas"]["ErrorEnvelope"];
2317
2577
  };
2318
2578
  };
2319
- responses: {
2320
- /** @description OK */
2321
- 200: {
2322
- content: {
2323
- "application/json": components["schemas"]["WishListItemRecordDto"][];
2324
- "application/xml": components["schemas"]["WishListItemRecordDto"][];
2325
- };
2579
+ /** @description Not Found */
2580
+ 404: {
2581
+ content: {
2582
+ "application/json": components["schemas"]["ErrorEnvelope"];
2583
+ "application/xml": components["schemas"]["ErrorEnvelope"];
2326
2584
  };
2327
2585
  };
2328
2586
  };
2329
2587
  };
2330
- "/api/v2/CartService/WishLists/{wishListId}/Details": {
2331
- get: {
2332
- parameters: {
2333
- query?: {
2334
- "api-version"?: string;
2335
- };
2336
- header?: {
2337
- "x-api-version"?: string;
2588
+ /**
2589
+ * Assesses if a WishList exists
2590
+ * @description Assesses if a WishList exists
2591
+ */
2592
+ WishListExistsAsync: {
2593
+ parameters: {
2594
+ query?: {
2595
+ "api-version"?: string;
2596
+ };
2597
+ header?: {
2598
+ "x-api-version"?: string;
2599
+ };
2600
+ path: {
2601
+ cartId: string;
2602
+ wishListId: string;
2603
+ };
2604
+ };
2605
+ responses: {
2606
+ /** @description OK */
2607
+ 200: {
2608
+ content: {
2609
+ "application/json": components["schemas"]["BooleanEnvelope"];
2610
+ "application/xml": components["schemas"]["BooleanEnvelope"];
2338
2611
  };
2339
- path: {
2340
- wishListId: string;
2612
+ };
2613
+ /** @description Unauthorized */
2614
+ 401: {
2615
+ content: {
2616
+ "application/json": components["schemas"]["ErrorEnvelope"];
2617
+ "application/xml": components["schemas"]["ErrorEnvelope"];
2341
2618
  };
2342
2619
  };
2343
- responses: {
2344
- /** @description OK */
2345
- 200: {
2346
- content: {
2347
- "application/json": components["schemas"]["WishListDto"];
2348
- "application/xml": components["schemas"]["WishListDto"];
2349
- };
2620
+ /** @description Not Found */
2621
+ 404: {
2622
+ content: {
2623
+ "application/json": components["schemas"]["ErrorEnvelope"];
2624
+ "application/xml": components["schemas"]["ErrorEnvelope"];
2350
2625
  };
2351
2626
  };
2352
2627
  };
2353
2628
  };
2354
- "/api/v2/CartService/WishLists/Records": {
2355
- post: {
2356
- parameters: {
2357
- query?: {
2358
- "api-version"?: string;
2359
- };
2360
- header?: {
2361
- "x-api-version"?: string;
2629
+ /**
2630
+ * Assesses if a WishList exists
2631
+ * @description Assesses if a WishList exists but does not return the content
2632
+ */
2633
+ WishListExistsHeadAsync: {
2634
+ parameters: {
2635
+ query?: {
2636
+ "api-version"?: string;
2637
+ };
2638
+ header?: {
2639
+ "x-api-version"?: string;
2640
+ };
2641
+ path: {
2642
+ cartId: string;
2643
+ wishListId: string;
2644
+ };
2645
+ };
2646
+ responses: {
2647
+ /** @description OK */
2648
+ 200: {
2649
+ content: {
2650
+ "application/json": components["schemas"]["EmptyEnvelope"];
2651
+ "application/xml": components["schemas"]["EmptyEnvelope"];
2362
2652
  };
2363
2653
  };
2364
- requestBody?: {
2654
+ /** @description Unauthorized */
2655
+ 401: {
2365
2656
  content: {
2366
- "application/json": components["schemas"]["ProductToWishListRequest"];
2367
- "application/xml": components["schemas"]["ProductToWishListRequest"];
2657
+ "application/json": components["schemas"]["ErrorEnvelope"];
2658
+ "application/xml": components["schemas"]["ErrorEnvelope"];
2368
2659
  };
2369
2660
  };
2370
- responses: {
2371
- /** @description OK */
2372
- 200: {
2373
- content: {
2374
- "application/json": components["schemas"]["EmptyEnvelope"];
2375
- "application/xml": components["schemas"]["EmptyEnvelope"];
2376
- };
2661
+ /** @description Not Found */
2662
+ 404: {
2663
+ content: {
2664
+ "application/json": components["schemas"]["ErrorEnvelope"];
2665
+ "application/xml": components["schemas"]["ErrorEnvelope"];
2377
2666
  };
2378
2667
  };
2379
2668
  };
2380
2669
  };
2381
- "/api/v2/CartService/WishLists/Records/{recordId}": {
2382
- delete: {
2383
- parameters: {
2384
- query?: {
2385
- "api-version"?: string;
2386
- };
2387
- header?: {
2388
- "x-api-version"?: string;
2670
+ /**
2671
+ * Get a wish list by ID
2672
+ * @description Get a wish list by ID
2673
+ */
2674
+ GetCartWishListDetailsAsync: {
2675
+ parameters: {
2676
+ query?: {
2677
+ "api-version"?: string;
2678
+ };
2679
+ header?: {
2680
+ "x-api-version"?: string;
2681
+ };
2682
+ path: {
2683
+ cartId: string;
2684
+ wishListId: string;
2685
+ };
2686
+ };
2687
+ responses: {
2688
+ /** @description OK */
2689
+ 200: {
2690
+ content: {
2691
+ "application/json": components["schemas"]["WishListDtoEnvelope"];
2692
+ "application/xml": components["schemas"]["WishListDtoEnvelope"];
2389
2693
  };
2390
- path: {
2391
- recordId: string;
2694
+ };
2695
+ /** @description Unauthorized */
2696
+ 401: {
2697
+ content: {
2698
+ "application/json": components["schemas"]["ErrorEnvelope"];
2699
+ "application/xml": components["schemas"]["ErrorEnvelope"];
2392
2700
  };
2393
2701
  };
2394
- responses: {
2395
- /** @description OK */
2396
- 200: {
2397
- content: never;
2702
+ /** @description Not Found */
2703
+ 404: {
2704
+ content: {
2705
+ "application/json": components["schemas"]["ErrorEnvelope"];
2706
+ "application/xml": components["schemas"]["ErrorEnvelope"];
2398
2707
  };
2399
2708
  };
2400
2709
  };
2401
2710
  };
2402
- }
2403
-
2404
- export type webhooks = Record<string, never>;
2405
-
2406
- export interface components {
2407
- schemas: {
2408
- AddProductToCompareRequest: {
2409
- id?: string | null;
2410
- cartID?: string | null;
2411
- productID?: string | null;
2412
- };
2413
- BooleanEnvelope: {
2414
- isSuccess?: boolean;
2415
- errorMessage?: string | null;
2416
- correlationId?: string | null;
2417
- /** Format: date-time */
2418
- timestamp?: string;
2419
- activityId?: string | null;
2420
- result?: boolean;
2421
- };
2422
- CartDto: {
2423
- id?: string | null;
2424
- ip?: string | null;
2425
- type?: string | null;
2426
- /** Format: double */
2427
- total?: number;
2428
- /** Format: double */
2429
- taxes?: number;
2430
- /** Format: double */
2431
- freight?: number;
2432
- /** Format: double */
2433
- subTotal?: number;
2434
- currencyId?: string | null;
2435
- countryId?: string | null;
2436
- /** Format: int32 */
2437
- itemCartRecordsCount?: number | null;
2438
- /** Format: int32 */
2439
- itemToCompareRecordsCount?: number | null;
2440
- };
2441
- CartDtoEnvelope: {
2442
- isSuccess?: boolean;
2443
- errorMessage?: string | null;
2444
- correlationId?: string | null;
2445
- /** Format: date-time */
2446
- timestamp?: string;
2447
- activityId?: string | null;
2448
- result?: components["schemas"]["CartDto"];
2449
- };
2450
- CartUpdateRequest: {
2451
- currencyId?: string | null;
2452
- countryId?: string | null;
2453
- };
2454
- CountryDto: {
2455
- id?: string | null;
2456
- /** Format: date-time */
2457
- timestamp?: string | null;
2458
- iso3?: string | null;
2459
- iso2?: string | null;
2460
- name?: string | null;
2461
- nativeName?: string | null;
2462
- flagUrl?: string | null;
2711
+ /**
2712
+ * Update a wish list
2713
+ * @description Update a wish list
2714
+ */
2715
+ UpdateItemToWishList: {
2716
+ parameters: {
2717
+ query?: {
2718
+ "api-version"?: string;
2719
+ };
2720
+ header?: {
2721
+ "x-api-version"?: string;
2722
+ };
2723
+ path: {
2724
+ cartId: string;
2725
+ wishListId: string;
2726
+ };
2463
2727
  };
2464
- CountryDtoEnvelope: {
2465
- isSuccess?: boolean;
2466
- errorMessage?: string | null;
2467
- correlationId?: string | null;
2468
- /** Format: date-time */
2469
- timestamp?: string;
2470
- activityId?: string | null;
2471
- result?: components["schemas"]["CountryDto"];
2728
+ requestBody?: {
2729
+ content: {
2730
+ "application/json": components["schemas"]["WishListUpdateDto"];
2731
+ "application/xml": components["schemas"]["WishListUpdateDto"];
2732
+ };
2472
2733
  };
2473
- CountrySwitchRequest: {
2474
- cartID?: string | null;
2475
- countryID?: string | null;
2734
+ responses: {
2735
+ /** @description OK */
2736
+ 200: {
2737
+ content: {
2738
+ "application/json": components["schemas"]["EmptyEnvelope"];
2739
+ "application/xml": components["schemas"]["EmptyEnvelope"];
2740
+ };
2741
+ };
2742
+ /** @description Unauthorized */
2743
+ 401: {
2744
+ content: {
2745
+ "application/json": components["schemas"]["ErrorEnvelope"];
2746
+ "application/xml": components["schemas"]["ErrorEnvelope"];
2747
+ };
2748
+ };
2749
+ /** @description Not Found */
2750
+ 404: {
2751
+ content: {
2752
+ "application/json": components["schemas"]["ErrorEnvelope"];
2753
+ "application/xml": components["schemas"]["ErrorEnvelope"];
2754
+ };
2755
+ };
2476
2756
  };
2477
- CurrencyDto: {
2478
- id?: string | null;
2479
- code?: string | null;
2480
- name?: string | null;
2481
- symbol?: string | null;
2482
- country?: components["schemas"]["CountryDto"];
2757
+ };
2758
+ /**
2759
+ * Delete a wish list
2760
+ * @description Delete a wish list
2761
+ */
2762
+ DeleteWishList: {
2763
+ parameters: {
2764
+ query?: {
2765
+ "api-version"?: string;
2766
+ };
2767
+ header?: {
2768
+ "x-api-version"?: string;
2769
+ };
2770
+ path: {
2771
+ cartId: string;
2772
+ wishListId: string;
2773
+ };
2483
2774
  };
2484
- CurrencyDtoEnvelope: {
2485
- isSuccess?: boolean;
2486
- errorMessage?: string | null;
2487
- correlationId?: string | null;
2488
- /** Format: date-time */
2489
- timestamp?: string;
2490
- activityId?: string | null;
2491
- result?: components["schemas"]["CurrencyDto"];
2775
+ responses: {
2776
+ /** @description OK */
2777
+ 200: {
2778
+ content: {
2779
+ "application/json": components["schemas"]["EmptyEnvelope"];
2780
+ "application/xml": components["schemas"]["EmptyEnvelope"];
2781
+ };
2782
+ };
2783
+ /** @description Unauthorized */
2784
+ 401: {
2785
+ content: {
2786
+ "application/json": components["schemas"]["ErrorEnvelope"];
2787
+ "application/xml": components["schemas"]["ErrorEnvelope"];
2788
+ };
2789
+ };
2790
+ /** @description Not Found */
2791
+ 404: {
2792
+ content: {
2793
+ "application/json": components["schemas"]["ErrorEnvelope"];
2794
+ "application/xml": components["schemas"]["ErrorEnvelope"];
2795
+ };
2796
+ };
2492
2797
  };
2493
- CurrencySwitchRequest: {
2494
- cartID?: string | null;
2495
- currencyID?: string | null;
2798
+ };
2799
+ /**
2800
+ * Get all records in a wish list
2801
+ * @description Get all records in a wish list
2802
+ */
2803
+ GetCartWishListItemsAsync: {
2804
+ parameters: {
2805
+ query?: {
2806
+ "api-version"?: string;
2807
+ };
2808
+ header?: {
2809
+ "x-api-version"?: string;
2810
+ };
2811
+ path: {
2812
+ cartId: string;
2813
+ wishListId: string;
2814
+ };
2496
2815
  };
2497
- EmptyEnvelope: {
2498
- isSuccess?: boolean;
2499
- errorMessage?: string | null;
2500
- correlationId?: string | null;
2501
- /** Format: date-time */
2502
- timestamp?: string;
2503
- activityId?: string | null;
2816
+ responses: {
2817
+ /** @description OK */
2818
+ 200: {
2819
+ content: {
2820
+ "application/json": components["schemas"]["WishListItemRecordDto"][];
2821
+ "application/xml": components["schemas"]["WishListItemRecordDto"][];
2822
+ };
2823
+ };
2824
+ /** @description Unauthorized */
2825
+ 401: {
2826
+ content: {
2827
+ "application/json": components["schemas"]["ErrorEnvelope"];
2828
+ "application/xml": components["schemas"]["ErrorEnvelope"];
2829
+ };
2830
+ };
2831
+ /** @description Not Found */
2832
+ 404: {
2833
+ content: {
2834
+ "application/json": components["schemas"]["ErrorEnvelope"];
2835
+ "application/xml": components["schemas"]["ErrorEnvelope"];
2836
+ };
2837
+ };
2504
2838
  };
2505
- ErrorEnvelope: {
2506
- isSuccess?: boolean;
2507
- errorMessage?: string | null;
2508
- correlationId?: string | null;
2509
- /** Format: date-time */
2510
- timestamp?: string;
2511
- activityId?: string | null;
2839
+ };
2840
+ /**
2841
+ * Add a record to a wish list
2842
+ * @description Add a record to a wish list
2843
+ */
2844
+ AddItemToWishList: {
2845
+ parameters: {
2846
+ query?: {
2847
+ "api-version"?: string;
2848
+ };
2849
+ header?: {
2850
+ "x-api-version"?: string;
2851
+ };
2852
+ path: {
2853
+ cartId: string;
2854
+ wishListId: string;
2855
+ };
2512
2856
  };
2513
- ItemCartRecordCreateDto: {
2514
- /** Format: uuid */
2515
- id?: string;
2516
- /** Format: date-time */
2517
- timestamp?: string;
2518
- cartId?: string | null;
2519
- productId?: string | null;
2520
- /** Format: double */
2521
- quantity?: number;
2857
+ requestBody?: {
2858
+ content: {
2859
+ "application/json": components["schemas"]["ProductToWishListRequest"];
2860
+ "application/xml": components["schemas"]["ProductToWishListRequest"];
2861
+ };
2522
2862
  };
2523
- ItemCartRecordDto: {
2524
- id?: string | null;
2525
- /** Format: date-time */
2526
- timestamp?: string | null;
2527
- closed?: boolean;
2528
- itemId?: string | null;
2529
- itemTitle?: string | null;
2530
- itemShortDescription?: string | null;
2531
- itemPrimaryImageUrl?: string | null;
2532
- shippingPolicyId?: string | null;
2533
- tenantId?: string | null;
2534
- enrollmentId?: string | null;
2535
- currencyId?: string | null;
2536
- description?: string | null;
2537
- /** Format: double */
2538
- quantity?: number;
2539
- free?: boolean;
2540
- freeReason?: string | null;
2541
- freeReasonCode?: string | null;
2542
- data?: string | null;
2543
- dataLabel?: string | null;
2544
- data1?: string | null;
2545
- data1Label?: string | null;
2546
- data2?: string | null;
2547
- data2Label?: string | null;
2548
- data3?: string | null;
2549
- data3Label?: string | null;
2550
- data4?: string | null;
2551
- data4Label?: string | null;
2552
- data5?: string | null;
2553
- data5Label?: string | null;
2554
- data6?: string | null;
2555
- data6Label?: string | null;
2556
- data7?: string | null;
2557
- data7Label?: string | null;
2558
- data8?: string | null;
2559
- data8Label?: string | null;
2560
- data9?: string | null;
2561
- data9Label?: string | null;
2562
- itemPriceId?: string | null;
2563
- priceListItemId?: string | null;
2564
- unitId?: string | null;
2565
- unitGroupId?: string | null;
2566
- /**
2567
- * Format: int32
2568
- * @enum {integer}
2569
- */
2570
- taxCalculationMethod?: 0 | 1;
2571
- /**
2572
- * Format: int32
2573
- * @enum {integer}
2574
- */
2575
- costCalculationMethod?: 0 | 1;
2576
- forexRatesSnapshot?: string | null;
2577
- /** Format: double */
2578
- forexRate?: number;
2579
- /** Format: double */
2580
- totalBaseAmountInUsd?: number;
2581
- /** Format: double */
2582
- totalProfitInUsd?: number;
2583
- /** Format: double */
2584
- totalDetailAmountInUsd?: number;
2585
- /** Format: double */
2586
- totalTaxBaseInUsd?: number;
2587
- /** Format: double */
2588
- totalDiscountsInUsd?: number;
2589
- /** Format: double */
2590
- totalTaxesInUsd?: number;
2591
- /** Format: double */
2592
- totalWithholdingTaxesInUsd?: number;
2593
- /** Format: double */
2594
- totalShippingCostInUsd?: number;
2595
- /** Format: double */
2596
- totalShippingTaxesInUsd?: number;
2597
- /** Format: double */
2598
- totalWarrantyCostInUsd?: number;
2599
- /** Format: double */
2600
- totalReturnCostInUsd?: number;
2601
- /** Format: double */
2602
- totalRefundCostInUsd?: number;
2603
- /** Format: double */
2604
- totalSurchargesInUsd?: number;
2605
- /** Format: double */
2606
- totalAmountInUsd?: number;
2607
- /** Format: double */
2608
- totalGlobalDiscountsInUsd?: number;
2609
- /** Format: double */
2610
- totalGlobalSurchargesInUsd?: number;
2611
- /** Format: double */
2612
- customGlobalSurchargesAmount?: number;
2613
- /** Format: double */
2614
- customGlobalDiscountsAmount?: number;
2615
- /** Format: double */
2616
- customBaseAmount?: number;
2617
- /** Format: double */
2618
- customDetailAmount?: number;
2619
- /** Format: double */
2620
- customDiscountsAmount?: number;
2621
- /** Format: double */
2622
- customTaxBase?: number;
2623
- /** Format: double */
2624
- customSurchargesAmount?: number;
2625
- /** Format: double */
2626
- customProfitAmount?: number;
2627
- /** Format: double */
2628
- customShippingCostAmount?: number;
2629
- /** Format: double */
2630
- customShippingTaxAmount?: number;
2631
- /** Format: double */
2632
- customTaxAmount?: number;
2633
- /** Format: double */
2634
- customWithholdingTaxAmount?: number;
2635
- /** Format: double */
2636
- customTotalAmount?: number;
2637
- returnPolicyId?: string | null;
2638
- refundPolicyId?: string | null;
2639
- warrantyPolicyId?: string | null;
2640
- shipmentPolicyId?: string | null;
2641
- shippingLocationId?: string | null;
2642
- locationId?: string | null;
2643
- quoteItemRecordId?: string | null;
2644
- businessProfileRecordId?: string | null;
2645
- parentBillingItemRecordId?: string | null;
2646
- cartId?: string | null;
2647
- itemID?: string | null;
2648
- shippingAddressID?: string | null;
2863
+ responses: {
2864
+ /** @description OK */
2865
+ 200: {
2866
+ content: {
2867
+ "application/json": components["schemas"]["EmptyEnvelope"];
2868
+ "application/xml": components["schemas"]["EmptyEnvelope"];
2869
+ };
2870
+ };
2871
+ /** @description Unauthorized */
2872
+ 401: {
2873
+ content: {
2874
+ "application/json": components["schemas"]["ErrorEnvelope"];
2875
+ "application/xml": components["schemas"]["ErrorEnvelope"];
2876
+ };
2877
+ };
2878
+ /** @description Not Found */
2879
+ 404: {
2880
+ content: {
2881
+ "application/json": components["schemas"]["ErrorEnvelope"];
2882
+ "application/xml": components["schemas"]["ErrorEnvelope"];
2883
+ };
2884
+ };
2649
2885
  };
2650
- ItemCartRecordDtoEnvelope: {
2651
- isSuccess?: boolean;
2652
- errorMessage?: string | null;
2653
- correlationId?: string | null;
2654
- /** Format: date-time */
2655
- timestamp?: string;
2656
- activityId?: string | null;
2657
- result?: components["schemas"]["ItemCartRecordDto"];
2886
+ };
2887
+ /**
2888
+ * Get a record in a wish list
2889
+ * @description Get a record in a wish list
2890
+ */
2891
+ GetCartWishListItemAsync: {
2892
+ parameters: {
2893
+ query?: {
2894
+ "api-version"?: string;
2895
+ };
2896
+ header?: {
2897
+ "x-api-version"?: string;
2898
+ };
2899
+ path: {
2900
+ cartId: string;
2901
+ wishListId: string;
2902
+ recordId: string;
2903
+ };
2658
2904
  };
2659
- ItemCartRecordDtoListEnvelope: {
2660
- isSuccess?: boolean;
2661
- errorMessage?: string | null;
2662
- correlationId?: string | null;
2663
- /** Format: date-time */
2664
- timestamp?: string;
2665
- activityId?: string | null;
2666
- result?: components["schemas"]["ItemCartRecordDto"][] | null;
2905
+ responses: {
2906
+ /** @description OK */
2907
+ 200: {
2908
+ content: {
2909
+ "application/json": components["schemas"]["WishListItemRecordDto"][];
2910
+ "application/xml": components["schemas"]["WishListItemRecordDto"][];
2911
+ };
2912
+ };
2913
+ /** @description Unauthorized */
2914
+ 401: {
2915
+ content: {
2916
+ "application/json": components["schemas"]["ErrorEnvelope"];
2917
+ "application/xml": components["schemas"]["ErrorEnvelope"];
2918
+ };
2919
+ };
2920
+ /** @description Not Found */
2921
+ 404: {
2922
+ content: {
2923
+ "application/json": components["schemas"]["ErrorEnvelope"];
2924
+ "application/xml": components["schemas"]["ErrorEnvelope"];
2925
+ };
2926
+ };
2667
2927
  };
2668
- ItemCartRecordUpdateDto: {
2669
- /** Format: double */
2670
- quantity?: number;
2928
+ };
2929
+ /**
2930
+ * Remove a record from a wish list
2931
+ * @description Remove a record from a wish list
2932
+ */
2933
+ DeleteWishListRecord: {
2934
+ parameters: {
2935
+ query?: {
2936
+ "api-version"?: string;
2937
+ };
2938
+ header?: {
2939
+ "x-api-version"?: string;
2940
+ };
2941
+ path: {
2942
+ cartId: string;
2943
+ wishListId: string;
2944
+ recordId: string;
2945
+ };
2671
2946
  };
2672
- ItemToCompareCartRecordDto: {
2673
- id?: string | null;
2674
- /** Format: date-time */
2675
- timestamp?: string | null;
2676
- cartId?: string | null;
2677
- itemId?: string | null;
2678
- itemTitle?: string | null;
2679
- itemShortDescription?: string | null;
2680
- itemPrimaryImageUrl?: string | null;
2681
- brandId?: string | null;
2682
- brandName?: string | null;
2683
- categoryName?: string | null;
2684
- categoryId?: string | null;
2685
- googleCategoryId?: string | null;
2686
- googleCategoryName?: string | null;
2687
- /** Format: double */
2688
- totalTaxesInUsd?: number;
2689
- /** Format: double */
2690
- totalPriceInUsd?: number;
2691
- shippingCountryId?: string | null;
2692
- tenantId?: string | null;
2947
+ responses: {
2948
+ /** @description OK */
2949
+ 200: {
2950
+ content: {
2951
+ "application/json": components["schemas"]["EmptyEnvelope"];
2952
+ "application/xml": components["schemas"]["EmptyEnvelope"];
2953
+ };
2954
+ };
2955
+ /** @description Unauthorized */
2956
+ 401: {
2957
+ content: {
2958
+ "application/json": components["schemas"]["ErrorEnvelope"];
2959
+ "application/xml": components["schemas"]["ErrorEnvelope"];
2960
+ };
2961
+ };
2962
+ /** @description Not Found */
2963
+ 404: {
2964
+ content: {
2965
+ "application/json": components["schemas"]["ErrorEnvelope"];
2966
+ "application/xml": components["schemas"]["ErrorEnvelope"];
2967
+ };
2968
+ };
2693
2969
  };
2694
- ItemToCompareCartRecordDtoEnvelope: {
2695
- isSuccess?: boolean;
2696
- errorMessage?: string | null;
2697
- correlationId?: string | null;
2698
- /** Format: date-time */
2699
- timestamp?: string;
2700
- activityId?: string | null;
2701
- result?: components["schemas"]["ItemToCompareCartRecordDto"];
2970
+ };
2971
+ /**
2972
+ * Get all items in the compare table
2973
+ * @description Get all items in the compare table
2974
+ */
2975
+ GetItemToCompareRecords: {
2976
+ parameters: {
2977
+ query?: {
2978
+ "api-version"?: string;
2979
+ };
2980
+ header?: {
2981
+ "x-api-version"?: string;
2982
+ };
2983
+ path: {
2984
+ cartId: string;
2985
+ };
2702
2986
  };
2703
- ItemToCompareCartRecordDtoListEnvelope: {
2704
- isSuccess?: boolean;
2705
- errorMessage?: string | null;
2706
- correlationId?: string | null;
2707
- /** Format: date-time */
2708
- timestamp?: string;
2709
- activityId?: string | null;
2710
- result?: components["schemas"]["ItemToCompareCartRecordDto"][] | null;
2987
+ responses: {
2988
+ /** @description OK */
2989
+ 200: {
2990
+ content: {
2991
+ "application/json": components["schemas"]["ItemToCompareCartRecordDtoListEnvelope"];
2992
+ "application/xml": components["schemas"]["ItemToCompareCartRecordDtoListEnvelope"];
2993
+ };
2994
+ };
2995
+ /** @description Unauthorized */
2996
+ 401: {
2997
+ content: {
2998
+ "application/json": components["schemas"]["ErrorEnvelope"];
2999
+ "application/xml": components["schemas"]["ErrorEnvelope"];
3000
+ };
3001
+ };
3002
+ /** @description Not Found */
3003
+ 404: {
3004
+ content: {
3005
+ "application/json": components["schemas"]["ErrorEnvelope"];
3006
+ "application/xml": components["schemas"]["ErrorEnvelope"];
3007
+ };
3008
+ };
2711
3009
  };
2712
- NewWishListRequest: {
2713
- title?: string | null;
2714
- description?: string | null;
2715
- /** Format: uuid */
2716
- cartID?: string;
2717
- public?: boolean;
3010
+ };
3011
+ /**
3012
+ * Get an item from the compare table
3013
+ * @description Get an item from the compare table
3014
+ */
3015
+ GetItemToCompareRecord: {
3016
+ parameters: {
3017
+ query?: {
3018
+ "api-version"?: string;
3019
+ };
3020
+ header?: {
3021
+ "x-api-version"?: string;
3022
+ };
3023
+ path: {
3024
+ cartId: string;
3025
+ itemId: string;
3026
+ };
2718
3027
  };
2719
- ProductToWishListRequest: {
2720
- wishListId?: string | null;
2721
- productId?: string | null;
3028
+ responses: {
3029
+ /** @description OK */
3030
+ 200: {
3031
+ content: {
3032
+ "application/json": components["schemas"]["ItemToCompareCartRecordDtoEnvelope"];
3033
+ "application/xml": components["schemas"]["ItemToCompareCartRecordDtoEnvelope"];
3034
+ };
3035
+ };
3036
+ /** @description Unauthorized */
3037
+ 401: {
3038
+ content: {
3039
+ "application/json": components["schemas"]["ErrorEnvelope"];
3040
+ "application/xml": components["schemas"]["ErrorEnvelope"];
3041
+ };
3042
+ };
3043
+ /** @description Not Found */
3044
+ 404: {
3045
+ content: {
3046
+ "application/json": components["schemas"]["ErrorEnvelope"];
3047
+ "application/xml": components["schemas"]["ErrorEnvelope"];
3048
+ };
3049
+ };
2722
3050
  };
2723
- WishListDto: {
2724
- /** Format: date-time */
2725
- timestamp?: string | null;
2726
- id?: string | null;
2727
- title?: string | null;
2728
- description?: string | null;
2729
- cartId?: string | null;
2730
- public?: boolean;
3051
+ };
3052
+ /**
3053
+ * Add an item to the compare table
3054
+ * @description Add an item to the compare table
3055
+ */
3056
+ AddItemToCompareTableAsync: {
3057
+ parameters: {
3058
+ query?: {
3059
+ "api-version"?: string;
3060
+ };
3061
+ header?: {
3062
+ "x-api-version"?: string;
3063
+ };
3064
+ path: {
3065
+ cartId: string;
3066
+ itemId: string;
3067
+ };
2731
3068
  };
2732
- WishListDtoEnvelope: {
2733
- isSuccess?: boolean;
2734
- errorMessage?: string | null;
2735
- correlationId?: string | null;
2736
- /** Format: date-time */
2737
- timestamp?: string;
2738
- activityId?: string | null;
2739
- result?: components["schemas"]["WishListDto"];
3069
+ responses: {
3070
+ /** @description OK */
3071
+ 200: {
3072
+ content: {
3073
+ "application/json": components["schemas"]["ItemCartRecordDto"];
3074
+ "application/xml": components["schemas"]["ItemCartRecordDto"];
3075
+ };
3076
+ };
3077
+ /** @description Unauthorized */
3078
+ 401: {
3079
+ content: {
3080
+ "application/json": components["schemas"]["ErrorEnvelope"];
3081
+ "application/xml": components["schemas"]["ErrorEnvelope"];
3082
+ };
3083
+ };
3084
+ /** @description Not Found */
3085
+ 404: {
3086
+ content: {
3087
+ "application/json": components["schemas"]["ErrorEnvelope"];
3088
+ "application/xml": components["schemas"]["ErrorEnvelope"];
3089
+ };
3090
+ };
2740
3091
  };
2741
- WishListItemRecordDto: {
2742
- id?: string | null;
2743
- /** Format: date-time */
2744
- timestamp?: string | null;
2745
- wishListId?: string | null;
2746
- productId?: string | null;
3092
+ };
3093
+ /**
3094
+ * Remove an item from the compare table
3095
+ * @description Remove an item from the compare table
3096
+ */
3097
+ RemoveItemFromCompareTableAsync: {
3098
+ parameters: {
3099
+ query?: {
3100
+ "api-version"?: string;
3101
+ };
3102
+ header?: {
3103
+ "x-api-version"?: string;
3104
+ };
3105
+ path: {
3106
+ cartId: string;
3107
+ itemId: string;
3108
+ };
2747
3109
  };
2748
- WishListUpdateDto: {
2749
- title: string;
2750
- description?: string | null;
2751
- public?: boolean;
3110
+ responses: {
3111
+ /** @description OK */
3112
+ 200: {
3113
+ content: {
3114
+ "application/json": components["schemas"]["ItemToCompareCartRecordDto"];
3115
+ "application/xml": components["schemas"]["ItemToCompareCartRecordDto"];
3116
+ };
3117
+ };
3118
+ /** @description Unauthorized */
3119
+ 401: {
3120
+ content: {
3121
+ "application/json": components["schemas"]["ErrorEnvelope"];
3122
+ "application/xml": components["schemas"]["ErrorEnvelope"];
3123
+ };
3124
+ };
3125
+ /** @description Not Found */
3126
+ 404: {
3127
+ content: {
3128
+ "application/json": components["schemas"]["ErrorEnvelope"];
3129
+ "application/xml": components["schemas"]["ErrorEnvelope"];
3130
+ };
3131
+ };
2752
3132
  };
2753
3133
  };
2754
- responses: never;
2755
- parameters: never;
2756
- requestBodies: never;
2757
- headers: never;
2758
- pathItems: never;
2759
- }
2760
-
2761
- export type $defs = Record<string, never>;
2762
-
2763
- export type external = Record<string, never>;
2764
-
2765
- export interface operations {
2766
-
2767
- SubmitCartAsync: {
3134
+ /**
3135
+ * Assesses if an Item is already in the compare table
3136
+ * @description Assesses if an Item is already in the compare table
3137
+ */
3138
+ IsItemInCompareTableAsync: {
2768
3139
  parameters: {
2769
3140
  query?: {
2770
- tenantId?: string;
2771
3141
  "api-version"?: string;
2772
3142
  };
2773
3143
  header?: {
@@ -2775,14 +3145,15 @@ export interface operations {
2775
3145
  };
2776
3146
  path: {
2777
3147
  cartId: string;
3148
+ itemId: string;
2778
3149
  };
2779
3150
  };
2780
3151
  responses: {
2781
3152
  /** @description OK */
2782
3153
  200: {
2783
3154
  content: {
2784
- "application/json": components["schemas"]["EmptyEnvelope"];
2785
- "application/xml": components["schemas"]["EmptyEnvelope"];
3155
+ "application/json": components["schemas"]["BooleanEnvelope"];
3156
+ "application/xml": components["schemas"]["BooleanEnvelope"];
2786
3157
  };
2787
3158
  };
2788
3159
  /** @description Unauthorized */
@@ -2792,8 +3163,8 @@ export interface operations {
2792
3163
  "application/xml": components["schemas"]["ErrorEnvelope"];
2793
3164
  };
2794
3165
  };
2795
- /** @description Forbidden */
2796
- 403: {
3166
+ /** @description Not Found */
3167
+ 404: {
2797
3168
  content: {
2798
3169
  "application/json": components["schemas"]["ErrorEnvelope"];
2799
3170
  "application/xml": components["schemas"]["ErrorEnvelope"];