@fenixalliance/abs-api-client 1.0.10 → 1.0.11

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.
@@ -4,6 +4,327 @@ exports.WishListsService = void 0;
4
4
  const OpenAPI_1 = require("../core/OpenAPI");
5
5
  const request_1 = require("../core/request");
6
6
  class WishListsService {
7
+ /**
8
+ * Get all wishlists in a cart
9
+ * Get all wishlists in a cart
10
+ * @param cartId
11
+ * @param xApiVersion
12
+ * @returns WishListDto OK
13
+ * @throws ApiError
14
+ */
15
+ static getWishListAsync(cartId, xApiVersion) {
16
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
17
+ method: 'GET',
18
+ url: '/api/v2/CartService/Carts/{cartId}/WishLists',
19
+ path: {
20
+ 'cartId': cartId,
21
+ },
22
+ headers: {
23
+ 'x-api-version': xApiVersion,
24
+ },
25
+ errors: {
26
+ 401: `Unauthorized`,
27
+ 404: `Not Found`,
28
+ },
29
+ });
30
+ }
31
+ /**
32
+ * Create a new wish list
33
+ * Create a new wish list
34
+ * @param cartId
35
+ * @param xApiVersion
36
+ * @param requestBody
37
+ * @returns EmptyEnvelope OK
38
+ * @throws ApiError
39
+ */
40
+ static createWishListAsync(cartId, xApiVersion, requestBody) {
41
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
42
+ method: 'POST',
43
+ url: '/api/v2/CartService/Carts/{cartId}/WishLists',
44
+ path: {
45
+ 'cartId': cartId,
46
+ },
47
+ headers: {
48
+ 'x-api-version': xApiVersion,
49
+ },
50
+ body: requestBody,
51
+ mediaType: 'application/json',
52
+ errors: {
53
+ 401: `Unauthorized`,
54
+ 404: `Not Found`,
55
+ },
56
+ });
57
+ }
58
+ /**
59
+ * Assesses if an Item is already in any of the cart's wishlists
60
+ * Assesses if an Item is already in any of the cart's wishlists
61
+ * @param cartId
62
+ * @param itemId
63
+ * @param xApiVersion
64
+ * @returns BooleanEnvelope OK
65
+ * @throws ApiError
66
+ */
67
+ static isItemInWishLists(cartId, itemId, xApiVersion) {
68
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
69
+ method: 'GET',
70
+ url: '/api/v2/CartService/Carts/{cartId}/WishLists/Contains/{itemId}',
71
+ path: {
72
+ 'cartId': cartId,
73
+ 'itemId': itemId,
74
+ },
75
+ headers: {
76
+ 'x-api-version': xApiVersion,
77
+ },
78
+ errors: {
79
+ 401: `Unauthorized`,
80
+ 404: `Not Found`,
81
+ },
82
+ });
83
+ }
84
+ /**
85
+ * Assesses if a WishList exists
86
+ * Assesses if a WishList exists
87
+ * @param cartId
88
+ * @param wishListId
89
+ * @param xApiVersion
90
+ * @returns BooleanEnvelope OK
91
+ * @throws ApiError
92
+ */
93
+ static wishListExistsAsync(cartId, wishListId, xApiVersion) {
94
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
95
+ method: 'GET',
96
+ url: '/api/v2/CartService/Carts/{cartId}/WishLists/{wishListId}/Exists',
97
+ path: {
98
+ 'cartId': cartId,
99
+ 'wishListId': wishListId,
100
+ },
101
+ headers: {
102
+ 'x-api-version': xApiVersion,
103
+ },
104
+ errors: {
105
+ 401: `Unauthorized`,
106
+ 404: `Not Found`,
107
+ },
108
+ });
109
+ }
110
+ /**
111
+ * Assesses if a WishList exists
112
+ * Assesses if a WishList exists but does not return the content
113
+ * @param cartId
114
+ * @param wishListId
115
+ * @param xApiVersion
116
+ * @returns EmptyEnvelope OK
117
+ * @throws ApiError
118
+ */
119
+ static wishListExistsHeadAsync(cartId, wishListId, xApiVersion) {
120
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
121
+ method: 'HEAD',
122
+ url: '/api/v2/CartService/Carts/{cartId}/WishLists/{wishListId}/Exists',
123
+ path: {
124
+ 'cartId': cartId,
125
+ 'wishListId': wishListId,
126
+ },
127
+ headers: {
128
+ 'x-api-version': xApiVersion,
129
+ },
130
+ errors: {
131
+ 401: `Unauthorized`,
132
+ 404: `Not Found`,
133
+ },
134
+ });
135
+ }
136
+ /**
137
+ * Update a wish list
138
+ * Update a wish list
139
+ * @param cartId
140
+ * @param wishListId
141
+ * @param xApiVersion
142
+ * @param requestBody
143
+ * @returns EmptyEnvelope OK
144
+ * @throws ApiError
145
+ */
146
+ static updateItemToWishList(cartId, wishListId, xApiVersion, requestBody) {
147
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
148
+ method: 'PUT',
149
+ url: '/api/v2/CartService/Carts/{cartId}/WishLists/{wishListId}',
150
+ path: {
151
+ 'cartId': cartId,
152
+ 'wishListId': wishListId,
153
+ },
154
+ headers: {
155
+ 'x-api-version': xApiVersion,
156
+ },
157
+ body: requestBody,
158
+ mediaType: 'application/json',
159
+ errors: {
160
+ 401: `Unauthorized`,
161
+ 404: `Not Found`,
162
+ },
163
+ });
164
+ }
165
+ /**
166
+ * Get a wish list by ID
167
+ * Get a wish list by ID
168
+ * @param cartId
169
+ * @param wishListId
170
+ * @param xApiVersion
171
+ * @returns WishListDtoEnvelope OK
172
+ * @throws ApiError
173
+ */
174
+ static getCartWishListDetailsAsync(cartId, wishListId, xApiVersion) {
175
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
176
+ method: 'GET',
177
+ url: '/api/v2/CartService/Carts/{cartId}/WishLists/{wishListId}',
178
+ path: {
179
+ 'cartId': cartId,
180
+ 'wishListId': wishListId,
181
+ },
182
+ headers: {
183
+ 'x-api-version': xApiVersion,
184
+ },
185
+ errors: {
186
+ 401: `Unauthorized`,
187
+ 404: `Not Found`,
188
+ },
189
+ });
190
+ }
191
+ /**
192
+ * Delete a wish list
193
+ * Delete a wish list
194
+ * @param cartId
195
+ * @param wishListId
196
+ * @param xApiVersion
197
+ * @returns EmptyEnvelope OK
198
+ * @throws ApiError
199
+ */
200
+ static deleteWishList(cartId, wishListId, xApiVersion) {
201
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
202
+ method: 'DELETE',
203
+ url: '/api/v2/CartService/Carts/{cartId}/WishLists/{wishListId}',
204
+ path: {
205
+ 'cartId': cartId,
206
+ 'wishListId': wishListId,
207
+ },
208
+ headers: {
209
+ 'x-api-version': xApiVersion,
210
+ },
211
+ errors: {
212
+ 401: `Unauthorized`,
213
+ 404: `Not Found`,
214
+ },
215
+ });
216
+ }
217
+ /**
218
+ * Get all records in a wish list
219
+ * Get all records in a wish list
220
+ * @param cartId
221
+ * @param wishListId
222
+ * @param xApiVersion
223
+ * @returns WishListItemRecordDto OK
224
+ * @throws ApiError
225
+ */
226
+ static getCartWishListItemsAsync(cartId, wishListId, xApiVersion) {
227
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
228
+ method: 'GET',
229
+ url: '/api/v2/CartService/Carts/{cartId}/WishLists/{wishListId}/Records',
230
+ path: {
231
+ 'cartId': cartId,
232
+ 'wishListId': wishListId,
233
+ },
234
+ headers: {
235
+ 'x-api-version': xApiVersion,
236
+ },
237
+ errors: {
238
+ 401: `Unauthorized`,
239
+ 404: `Not Found`,
240
+ },
241
+ });
242
+ }
243
+ /**
244
+ * Add a record to a wish list
245
+ * Add a record to a wish list
246
+ * @param cartId
247
+ * @param wishListId
248
+ * @param xApiVersion
249
+ * @param requestBody
250
+ * @returns EmptyEnvelope OK
251
+ * @throws ApiError
252
+ */
253
+ static addItemToWishList(cartId, wishListId, xApiVersion, requestBody) {
254
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
255
+ method: 'POST',
256
+ url: '/api/v2/CartService/Carts/{cartId}/WishLists/{wishListId}/Records',
257
+ path: {
258
+ 'cartId': cartId,
259
+ 'wishListId': wishListId,
260
+ },
261
+ headers: {
262
+ 'x-api-version': xApiVersion,
263
+ },
264
+ body: requestBody,
265
+ mediaType: 'application/json',
266
+ errors: {
267
+ 401: `Unauthorized`,
268
+ 404: `Not Found`,
269
+ },
270
+ });
271
+ }
272
+ /**
273
+ * Get a record in a wish list
274
+ * Get a record in a wish list
275
+ * @param cartId
276
+ * @param wishListId
277
+ * @param recordId
278
+ * @param xApiVersion
279
+ * @returns WishListItemRecordDto OK
280
+ * @throws ApiError
281
+ */
282
+ static getCartWishListItemAsync(cartId, wishListId, recordId, xApiVersion) {
283
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
284
+ method: 'GET',
285
+ url: '/api/v2/CartService/Carts/{cartId}/WishLists/{wishListId}/Records/{recordId}',
286
+ path: {
287
+ 'cartId': cartId,
288
+ 'wishListId': wishListId,
289
+ 'recordId': recordId,
290
+ },
291
+ headers: {
292
+ 'x-api-version': xApiVersion,
293
+ },
294
+ errors: {
295
+ 401: `Unauthorized`,
296
+ 404: `Not Found`,
297
+ },
298
+ });
299
+ }
300
+ /**
301
+ * Remove a record from a wish list
302
+ * Remove a record from a wish list
303
+ * @param cartId
304
+ * @param wishListId
305
+ * @param recordId
306
+ * @param xApiVersion
307
+ * @returns EmptyEnvelope OK
308
+ * @throws ApiError
309
+ */
310
+ static deleteWishListRecord(cartId, wishListId, recordId, xApiVersion) {
311
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
312
+ method: 'DELETE',
313
+ url: '/api/v2/CartService/Carts/{cartId}/WishLists/{wishListId}/Records/{recordId}',
314
+ path: {
315
+ 'cartId': cartId,
316
+ 'wishListId': wishListId,
317
+ 'recordId': recordId,
318
+ },
319
+ headers: {
320
+ 'x-api-version': xApiVersion,
321
+ },
322
+ errors: {
323
+ 401: `Unauthorized`,
324
+ 404: `Not Found`,
325
+ },
326
+ });
327
+ }
7
328
  /**
8
329
  * @param cartId
9
330
  * @param productId
@@ -7,12 +7,385 @@ import type { EmptyEnvelope } from '../models/EmptyEnvelope';
7
7
  import type { NewWishListRequest } from '../models/NewWishListRequest';
8
8
  import type { ProductToWishListRequest } from '../models/ProductToWishListRequest';
9
9
  import type { WishListDto } from '../models/WishListDto';
10
+ import type { WishListDtoEnvelope } from '../models/WishListDtoEnvelope';
10
11
  import type { WishListItemRecordDto } from '../models/WishListItemRecordDto';
11
12
  import type { WishListUpdateDto } from '../models/WishListUpdateDto';
12
13
  import type { CancelablePromise } from '../core/CancelablePromise';
13
14
  import { OpenAPI } from '../core/OpenAPI';
14
15
  import { request as __request } from '../core/request';
15
16
  export class WishListsService {
17
+ /**
18
+ * Get all wishlists in a cart
19
+ * Get all wishlists in a cart
20
+ * @param cartId
21
+ * @param xApiVersion
22
+ * @returns WishListDto OK
23
+ * @throws ApiError
24
+ */
25
+ public static getWishListAsync(
26
+ cartId: string,
27
+ xApiVersion?: string,
28
+ ): CancelablePromise<Array<WishListDto>> {
29
+ return __request(OpenAPI, {
30
+ method: 'GET',
31
+ url: '/api/v2/CartService/Carts/{cartId}/WishLists',
32
+ path: {
33
+ 'cartId': cartId,
34
+ },
35
+ headers: {
36
+ 'x-api-version': xApiVersion,
37
+ },
38
+ errors: {
39
+ 401: `Unauthorized`,
40
+ 404: `Not Found`,
41
+ },
42
+ });
43
+ }
44
+ /**
45
+ * Create a new wish list
46
+ * Create a new wish list
47
+ * @param cartId
48
+ * @param xApiVersion
49
+ * @param requestBody
50
+ * @returns EmptyEnvelope OK
51
+ * @throws ApiError
52
+ */
53
+ public static createWishListAsync(
54
+ cartId: string,
55
+ xApiVersion?: string,
56
+ requestBody?: NewWishListRequest,
57
+ ): CancelablePromise<EmptyEnvelope> {
58
+ return __request(OpenAPI, {
59
+ method: 'POST',
60
+ url: '/api/v2/CartService/Carts/{cartId}/WishLists',
61
+ path: {
62
+ 'cartId': cartId,
63
+ },
64
+ headers: {
65
+ 'x-api-version': xApiVersion,
66
+ },
67
+ body: requestBody,
68
+ mediaType: 'application/json',
69
+ errors: {
70
+ 401: `Unauthorized`,
71
+ 404: `Not Found`,
72
+ },
73
+ });
74
+ }
75
+ /**
76
+ * Assesses if an Item is already in any of the cart's wishlists
77
+ * Assesses if an Item is already in any of the cart's wishlists
78
+ * @param cartId
79
+ * @param itemId
80
+ * @param xApiVersion
81
+ * @returns BooleanEnvelope OK
82
+ * @throws ApiError
83
+ */
84
+ public static isItemInWishLists(
85
+ cartId: string,
86
+ itemId: string,
87
+ xApiVersion?: string,
88
+ ): CancelablePromise<BooleanEnvelope> {
89
+ return __request(OpenAPI, {
90
+ method: 'GET',
91
+ url: '/api/v2/CartService/Carts/{cartId}/WishLists/Contains/{itemId}',
92
+ path: {
93
+ 'cartId': cartId,
94
+ 'itemId': itemId,
95
+ },
96
+ headers: {
97
+ 'x-api-version': xApiVersion,
98
+ },
99
+ errors: {
100
+ 401: `Unauthorized`,
101
+ 404: `Not Found`,
102
+ },
103
+ });
104
+ }
105
+ /**
106
+ * Assesses if a WishList exists
107
+ * Assesses if a WishList exists
108
+ * @param cartId
109
+ * @param wishListId
110
+ * @param xApiVersion
111
+ * @returns BooleanEnvelope OK
112
+ * @throws ApiError
113
+ */
114
+ public static wishListExistsAsync(
115
+ cartId: string,
116
+ wishListId: string,
117
+ xApiVersion?: string,
118
+ ): CancelablePromise<BooleanEnvelope> {
119
+ return __request(OpenAPI, {
120
+ method: 'GET',
121
+ url: '/api/v2/CartService/Carts/{cartId}/WishLists/{wishListId}/Exists',
122
+ path: {
123
+ 'cartId': cartId,
124
+ 'wishListId': wishListId,
125
+ },
126
+ headers: {
127
+ 'x-api-version': xApiVersion,
128
+ },
129
+ errors: {
130
+ 401: `Unauthorized`,
131
+ 404: `Not Found`,
132
+ },
133
+ });
134
+ }
135
+ /**
136
+ * Assesses if a WishList exists
137
+ * Assesses if a WishList exists but does not return the content
138
+ * @param cartId
139
+ * @param wishListId
140
+ * @param xApiVersion
141
+ * @returns EmptyEnvelope OK
142
+ * @throws ApiError
143
+ */
144
+ public static wishListExistsHeadAsync(
145
+ cartId: string,
146
+ wishListId: string,
147
+ xApiVersion?: string,
148
+ ): CancelablePromise<EmptyEnvelope> {
149
+ return __request(OpenAPI, {
150
+ method: 'HEAD',
151
+ url: '/api/v2/CartService/Carts/{cartId}/WishLists/{wishListId}/Exists',
152
+ path: {
153
+ 'cartId': cartId,
154
+ 'wishListId': wishListId,
155
+ },
156
+ headers: {
157
+ 'x-api-version': xApiVersion,
158
+ },
159
+ errors: {
160
+ 401: `Unauthorized`,
161
+ 404: `Not Found`,
162
+ },
163
+ });
164
+ }
165
+ /**
166
+ * Update a wish list
167
+ * Update a wish list
168
+ * @param cartId
169
+ * @param wishListId
170
+ * @param xApiVersion
171
+ * @param requestBody
172
+ * @returns EmptyEnvelope OK
173
+ * @throws ApiError
174
+ */
175
+ public static updateItemToWishList(
176
+ cartId: string,
177
+ wishListId: string,
178
+ xApiVersion?: string,
179
+ requestBody?: WishListUpdateDto,
180
+ ): CancelablePromise<EmptyEnvelope> {
181
+ return __request(OpenAPI, {
182
+ method: 'PUT',
183
+ url: '/api/v2/CartService/Carts/{cartId}/WishLists/{wishListId}',
184
+ path: {
185
+ 'cartId': cartId,
186
+ 'wishListId': wishListId,
187
+ },
188
+ headers: {
189
+ 'x-api-version': xApiVersion,
190
+ },
191
+ body: requestBody,
192
+ mediaType: 'application/json',
193
+ errors: {
194
+ 401: `Unauthorized`,
195
+ 404: `Not Found`,
196
+ },
197
+ });
198
+ }
199
+ /**
200
+ * Get a wish list by ID
201
+ * Get a wish list by ID
202
+ * @param cartId
203
+ * @param wishListId
204
+ * @param xApiVersion
205
+ * @returns WishListDtoEnvelope OK
206
+ * @throws ApiError
207
+ */
208
+ public static getCartWishListDetailsAsync(
209
+ cartId: string,
210
+ wishListId: string,
211
+ xApiVersion?: string,
212
+ ): CancelablePromise<WishListDtoEnvelope> {
213
+ return __request(OpenAPI, {
214
+ method: 'GET',
215
+ url: '/api/v2/CartService/Carts/{cartId}/WishLists/{wishListId}',
216
+ path: {
217
+ 'cartId': cartId,
218
+ 'wishListId': wishListId,
219
+ },
220
+ headers: {
221
+ 'x-api-version': xApiVersion,
222
+ },
223
+ errors: {
224
+ 401: `Unauthorized`,
225
+ 404: `Not Found`,
226
+ },
227
+ });
228
+ }
229
+ /**
230
+ * Delete a wish list
231
+ * Delete a wish list
232
+ * @param cartId
233
+ * @param wishListId
234
+ * @param xApiVersion
235
+ * @returns EmptyEnvelope OK
236
+ * @throws ApiError
237
+ */
238
+ public static deleteWishList(
239
+ cartId: string,
240
+ wishListId: string,
241
+ xApiVersion?: string,
242
+ ): CancelablePromise<EmptyEnvelope> {
243
+ return __request(OpenAPI, {
244
+ method: 'DELETE',
245
+ url: '/api/v2/CartService/Carts/{cartId}/WishLists/{wishListId}',
246
+ path: {
247
+ 'cartId': cartId,
248
+ 'wishListId': wishListId,
249
+ },
250
+ headers: {
251
+ 'x-api-version': xApiVersion,
252
+ },
253
+ errors: {
254
+ 401: `Unauthorized`,
255
+ 404: `Not Found`,
256
+ },
257
+ });
258
+ }
259
+ /**
260
+ * Get all records in a wish list
261
+ * Get all records in a wish list
262
+ * @param cartId
263
+ * @param wishListId
264
+ * @param xApiVersion
265
+ * @returns WishListItemRecordDto OK
266
+ * @throws ApiError
267
+ */
268
+ public static getCartWishListItemsAsync(
269
+ cartId: string,
270
+ wishListId: string,
271
+ xApiVersion?: string,
272
+ ): CancelablePromise<Array<WishListItemRecordDto>> {
273
+ return __request(OpenAPI, {
274
+ method: 'GET',
275
+ url: '/api/v2/CartService/Carts/{cartId}/WishLists/{wishListId}/Records',
276
+ path: {
277
+ 'cartId': cartId,
278
+ 'wishListId': wishListId,
279
+ },
280
+ headers: {
281
+ 'x-api-version': xApiVersion,
282
+ },
283
+ errors: {
284
+ 401: `Unauthorized`,
285
+ 404: `Not Found`,
286
+ },
287
+ });
288
+ }
289
+ /**
290
+ * Add a record to a wish list
291
+ * Add a record to a wish list
292
+ * @param cartId
293
+ * @param wishListId
294
+ * @param xApiVersion
295
+ * @param requestBody
296
+ * @returns EmptyEnvelope OK
297
+ * @throws ApiError
298
+ */
299
+ public static addItemToWishList(
300
+ cartId: string,
301
+ wishListId: string,
302
+ xApiVersion?: string,
303
+ requestBody?: ProductToWishListRequest,
304
+ ): CancelablePromise<EmptyEnvelope> {
305
+ return __request(OpenAPI, {
306
+ method: 'POST',
307
+ url: '/api/v2/CartService/Carts/{cartId}/WishLists/{wishListId}/Records',
308
+ path: {
309
+ 'cartId': cartId,
310
+ 'wishListId': wishListId,
311
+ },
312
+ headers: {
313
+ 'x-api-version': xApiVersion,
314
+ },
315
+ body: requestBody,
316
+ mediaType: 'application/json',
317
+ errors: {
318
+ 401: `Unauthorized`,
319
+ 404: `Not Found`,
320
+ },
321
+ });
322
+ }
323
+ /**
324
+ * Get a record in a wish list
325
+ * Get a record in a wish list
326
+ * @param cartId
327
+ * @param wishListId
328
+ * @param recordId
329
+ * @param xApiVersion
330
+ * @returns WishListItemRecordDto OK
331
+ * @throws ApiError
332
+ */
333
+ public static getCartWishListItemAsync(
334
+ cartId: string,
335
+ wishListId: string,
336
+ recordId: string,
337
+ xApiVersion?: string,
338
+ ): CancelablePromise<Array<WishListItemRecordDto>> {
339
+ return __request(OpenAPI, {
340
+ method: 'GET',
341
+ url: '/api/v2/CartService/Carts/{cartId}/WishLists/{wishListId}/Records/{recordId}',
342
+ path: {
343
+ 'cartId': cartId,
344
+ 'wishListId': wishListId,
345
+ 'recordId': recordId,
346
+ },
347
+ headers: {
348
+ 'x-api-version': xApiVersion,
349
+ },
350
+ errors: {
351
+ 401: `Unauthorized`,
352
+ 404: `Not Found`,
353
+ },
354
+ });
355
+ }
356
+ /**
357
+ * Remove a record from a wish list
358
+ * Remove a record from a wish list
359
+ * @param cartId
360
+ * @param wishListId
361
+ * @param recordId
362
+ * @param xApiVersion
363
+ * @returns EmptyEnvelope OK
364
+ * @throws ApiError
365
+ */
366
+ public static deleteWishListRecord(
367
+ cartId: string,
368
+ wishListId: string,
369
+ recordId: string,
370
+ xApiVersion?: string,
371
+ ): CancelablePromise<EmptyEnvelope> {
372
+ return __request(OpenAPI, {
373
+ method: 'DELETE',
374
+ url: '/api/v2/CartService/Carts/{cartId}/WishLists/{wishListId}/Records/{recordId}',
375
+ path: {
376
+ 'cartId': cartId,
377
+ 'wishListId': wishListId,
378
+ 'recordId': recordId,
379
+ },
380
+ headers: {
381
+ 'x-api-version': xApiVersion,
382
+ },
383
+ errors: {
384
+ 401: `Unauthorized`,
385
+ 404: `Not Found`,
386
+ },
387
+ });
388
+ }
16
389
  /**
17
390
  * @param cartId
18
391
  * @param productId