@compassdigital/sdk.typescript 4.96.0 → 4.98.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -76,28 +76,102 @@ export interface NotFoundErrorDTO {
76
76
  data: Record<string, any>;
77
77
  }
78
78
 
79
- export interface Brand {
79
+ export interface OrderTotals {
80
+ amount?: number;
81
+ meals?: number;
82
+ }
83
+
84
+ export interface OrderTransaction {
85
+ mx_totals?: OrderTotals;
86
+ // the amount remaining on the transaction after refund - remaining amount available for refund
87
+ transaction_remainder_amount?: number;
88
+ }
89
+
90
+ export interface OrderMetaShoppingcart {
91
+ original_total?: OrderTotals;
92
+ total?: OrderTotals;
93
+ }
94
+
95
+ export interface OrderDelivery {
96
+ // provider
97
+ provider?: string;
98
+ tracker_url?: string;
99
+ loading_code?: string;
100
+ }
101
+
102
+ export interface OrderDiscount {
103
+ app?: string;
104
+ code?: string;
105
+ }
106
+
107
+ export interface OrderRefundTransaction {
108
+ // shoppingcart
109
+ original_shoppingcart?: string;
110
+ // user
111
+ issued_by?: string;
112
+ refund_date?: string;
113
+ amount?: number;
114
+ refund_amount?: number;
115
+ }
116
+
117
+ export interface OrderMeta {
118
+ // Check-in UUID for frictionless orders
119
+ checkin_uuid?: string;
120
+ // which ui the order was placed on
121
+ source?: 'web' | 'mobile';
122
+ transaction?: OrderTransaction;
123
+ shoppingcart?: OrderMetaShoppingcart;
124
+ // Indicate whether the order is active or inactive
125
+ active?: boolean;
126
+ // Override for meta.active for testing purposes
127
+ active_override?: boolean;
128
+ delivery?: OrderDelivery;
129
+ discount?: OrderDiscount;
130
+ // The type of kds that the brand uses
131
+ type_of_kds?: string;
132
+ // Indicate whether the order is eligible for cancellation
133
+ cancel_eligible?: boolean;
134
+ refunds: OrderRefundTransaction[];
135
+ }
136
+
137
+ export interface CustomerOrderBrandDTO {
80
138
  id: string;
81
- name?: string;
139
+ name: string;
140
+ location_description: string;
82
141
  }
83
142
 
84
143
  export interface OrderDate {
144
+ // Date order was accepted into our system and shown on kitchen apps
85
145
  accepted?: string;
86
- created?: string;
87
- modified?: string;
146
+ // Date kitchen should start preparation ideally(not mandatory)
88
147
  should_start?: string;
148
+ // Date kitchen should be half way preparation ideally(not mandatory)
89
149
  completion_warning?: string;
150
+ // Date kitchen finished preparation
90
151
  ready?: string;
152
+ // Date kitchen started preparation
91
153
  started?: string;
154
+ // Date till which show orders as active
92
155
  show_as_active_until?: string;
156
+ // For delivery orders - date customer did not pick the order
93
157
  no_show?: string;
158
+ // For delivery orders - date customer completed the order collected and sent back robot
94
159
  collected?: string;
160
+ // For delivery orders - date order was delivered to destination(not picked by user)
95
161
  delivered?: string;
162
+ // For delivery orders - date order was picked up from station for delivery(out_for_delivery)
96
163
  pickup?: string;
164
+ // Date order was cancelled
97
165
  cancelled?: string;
166
+ // Date order was polled for kds
167
+ polled?: string;
168
+ created?: string;
169
+ modified?: string;
98
170
  }
99
171
 
100
172
  export interface OrderDetails {
173
+ // Pickup or delivery instructions
174
+ instructions?: string;
101
175
  name?: string;
102
176
  display_id?: string;
103
177
  contact_number?: string;
@@ -105,22 +179,71 @@ export interface OrderDetails {
105
179
  order_type?: string;
106
180
  duration?: string;
107
181
  destination?: string;
108
- instructions?: string;
109
182
  }
110
183
 
111
- export interface Price {
184
+ export interface OrderMonetaryValue {
112
185
  amount?: number;
113
186
  }
114
187
 
115
- export interface RefundItem {
188
+ export interface OrderRefundItem {
189
+ // Item ID
116
190
  id?: string;
191
+ // unique index within cart
117
192
  _index?: string;
193
+ // Quantity of the item
118
194
  quantity?: number;
119
- price?: Price;
195
+ price?: OrderMonetaryValue;
196
+ // Reason for refund
120
197
  reason?: string;
121
198
  }
122
199
 
123
- export interface OrderIsStatus {
200
+ export interface OrderCreditCard {
201
+ // The credit card type (Amex, Visa, Mastercard, etc...
202
+ card_type?: string;
203
+ // The last 4 digits of the card number
204
+ last4?: string;
205
+ }
206
+
207
+ export interface OrderCashlessPayment {
208
+ // The badge pay tender id
209
+ tender?: string;
210
+ // The badge pay payment id
211
+ id?: string;
212
+ // The total charged to the badge pay tender
213
+ total?: number;
214
+ // The badge pay tender name
215
+ name?: string;
216
+ }
217
+
218
+ export interface OrderPayment {
219
+ token?: string;
220
+ credit_card?: OrderCreditCard;
221
+ digital_wallet_pay?: string;
222
+ badge_pay?: OrderCashlessPayment;
223
+ stipend?: OrderCashlessPayment;
224
+ voucher?: OrderCashlessPayment;
225
+ coupon_voucher?: OrderCashlessPayment;
226
+ }
227
+
228
+ export interface OrderMealplan {
229
+ // mealplan
230
+ id?: string;
231
+ // tender
232
+ tender?: string;
233
+ name?: string;
234
+ }
235
+
236
+ export interface OrderMealSwipes {
237
+ // mealplan
238
+ id?: string;
239
+ // tender
240
+ tender?: string;
241
+ tender_name?: string;
242
+ swipes?: number;
243
+ total?: number;
244
+ }
245
+
246
+ export interface OrderIs {
124
247
  accepted?: boolean;
125
248
  in_progress?: boolean;
126
249
  ready?: boolean;
@@ -133,47 +256,155 @@ export interface OrderIsStatus {
133
256
  cancelled?: boolean;
134
257
  }
135
258
 
136
- export interface CartTotal {
259
+ export interface OrderLabel {
260
+ en?: string;
261
+ }
262
+
263
+ export interface OrderItemOption {
264
+ // option
265
+ id?: string;
266
+ // index
267
+ _index?: string;
268
+ meta?: Record<string, any>;
269
+ }
270
+
271
+ export interface OrderedItemOptionGroup {
272
+ label?: OrderLabel;
273
+ items?: OrderItemOption[];
274
+ }
275
+
276
+ export interface OrderItemWithIssue {
277
+ // item
278
+ id: string;
279
+ // index
280
+ _index: string;
281
+ _subtotal?: OrderMonetaryValue;
282
+ _promo?: OrderMonetaryValue;
283
+ reason?: string;
284
+ quantity?: number;
285
+ unit?: number;
286
+ price?: OrderMonetaryValue;
287
+ meta?: Record<string, any>;
288
+ options?: OrderedItemOptionGroup[];
289
+ }
290
+
291
+ export interface OrderIssueMeta {
292
+ created_at?: string;
293
+ }
294
+
295
+ export interface OrderIssue {
296
+ // issue
297
+ id?: string;
298
+ // Array of Items with issues
299
+ items?: OrderItemWithIssue[];
300
+ // Optional additional explanation for issue: 5,10,15 for late issues, SOLD_OUT, MODIFICATION, DIETARY_RESTRICTION for see kitchen issues
301
+ reason?: string;
302
+ meta?: {
303
+ [index: string]: any;
304
+ } & OrderIssueMeta;
305
+ type?: string;
306
+ }
307
+
308
+ export interface ShoppingcartSalePrice {
309
+ active?: boolean;
310
+ amount?: number;
311
+ }
312
+
313
+ export interface ShoppingcartMonetaryValue {
137
314
  amount?: number;
138
- meals?: number;
139
315
  }
140
316
 
141
- export interface Label {
317
+ export interface ShoppingcartLabel {
142
318
  en?: string;
143
319
  fr?: string;
144
320
  }
145
321
 
146
- export interface QuantityByWeight {
322
+ export interface ShoppingcartItemMeta {
323
+ // menu id
324
+ menu?: string;
325
+ // brand id
326
+ brand?: string;
327
+ brand_label?: ShoppingcartLabel;
328
+ taxes?: string[];
329
+ tax: {
330
+ tax_tag_code?: string;
331
+ tax_rate?: number;
332
+ tax_amount?: number;
333
+ };
334
+ menu_tax_tags?: string[];
335
+ orderable?: boolean;
336
+ volante_id?: string;
337
+ barcodes?: string[];
338
+ plu?: string;
339
+ }
340
+
341
+ export interface ShoppingcartQuantityByWeight {
147
342
  unit?: string;
148
343
  value?: number;
149
344
  }
150
345
 
151
- export interface SalePrice {
152
- active?: boolean;
153
- amount?: number;
346
+ export interface ShoppingcartItemModifierGroupMeta {
347
+ order_type?: 'selection' | 'option' | 'quantity';
348
+ taxes?: string[];
349
+ original_label?: ShoppingcartLabel;
350
+ surchage_limit_value?: number;
154
351
  }
155
352
 
156
- export interface Modifier {
157
- id: string;
158
- price?: Price;
159
- quantity?: number;
160
- label?: Label;
353
+ export interface ShoppingcartItemModifierSizing {
354
+ name?: string;
355
+ price?: number;
356
+ posid?: string;
357
+ }
358
+
359
+ export interface ShoppingcartItemModifierMeta {
360
+ sort_number?: number;
361
+ original_label?: ShoppingcartLabel;
362
+ taxes?: string[];
363
+ sizing?: ShoppingcartItemModifierSizing[];
364
+ }
365
+
366
+ export interface ShoppingcartItemModifierIs {
367
+ disabled?: boolean;
368
+ incremental?: boolean;
369
+ surchage_limit?: boolean;
370
+ }
371
+
372
+ export interface ShoppingcartItemModifier {
373
+ // index
161
374
  _index?: string;
375
+ meta?: {
376
+ [index: string]: any;
377
+ } & ShoppingcartItemModifierMeta;
378
+ amount_off_exclusions?: string[];
379
+ id?: string;
380
+ price?: ShoppingcartMonetaryValue;
381
+ quantity?: number;
382
+ label?: ShoppingcartLabel;
383
+ is?: ShoppingcartItemModifierIs;
162
384
  }
163
385
 
164
- export interface ModifierGroup {
165
- id: string;
166
- label?: Label;
167
- items?: Modifier[];
386
+ export interface ShoppingcartItemModifierGroup {
387
+ meta?: {
388
+ [index: string]: any;
389
+ } & ShoppingcartItemModifierGroupMeta;
390
+ id?: string;
391
+ label?: ShoppingcartLabel;
392
+ items?: ShoppingcartItemModifier[];
393
+ is?: ShoppingcartItemModifierIs;
168
394
  }
169
395
 
170
- export interface OrderItemRating {
171
- // order id
396
+ export interface ShoppingcartItemReportingCategory {
397
+ primary?: string;
398
+ secondary?: string;
399
+ }
400
+
401
+ export interface ShoppingcartItemReporting {
402
+ category?: ShoppingcartItemReportingCategory;
403
+ }
404
+
405
+ export interface OrderItemReview {
406
+ // review id
172
407
  id: string;
173
- // menu id
174
- menu: string;
175
- // item id
176
- item: string;
177
408
  // rating score
178
409
  score: number;
179
410
  // review comment
@@ -182,29 +413,254 @@ export interface OrderItemRating {
182
413
  reason: string[];
183
414
  }
184
415
 
185
- export interface CartItem {
416
+ export interface ShoppingcartItem {
417
+ // can be cdl item id or stringified timestamp
186
418
  id: string;
187
- description?: Label;
419
+ // index based on cdl id or stringified timestamp
188
420
  _index?: string;
421
+ sale_price?: ShoppingcartSalePrice;
422
+ _subtotal?: ShoppingcartMonetaryValue;
423
+ _promo?: ShoppingcartMonetaryValue;
424
+ _discount?: ShoppingcartMonetaryValue;
425
+ meta?: {
426
+ [index: string]: any;
427
+ } & ShoppingcartItemMeta;
428
+ // Details about discount like BOGO, LTO, Bundle etc.
429
+ item_discount?: Record<string, any>;
430
+ // user specified instructions for the item
431
+ special_instructions?: string;
432
+ amount_off_exclusions?: string[];
433
+ description?: ShoppingcartLabel;
189
434
  quantity: number;
190
- quantity_by_weight?: QuantityByWeight;
191
- price?: Price;
192
- sale_price?: SalePrice;
193
- weighed_price?: Price;
194
- _subtotal?: Price;
195
- options?: ModifierGroup[];
196
- label?: Label;
435
+ quantity_by_weight?: ShoppingcartQuantityByWeight;
436
+ unit?: number;
437
+ price?: ShoppingcartMonetaryValue;
438
+ weighed_price?: ShoppingcartMonetaryValue;
439
+ options?: ShoppingcartItemModifierGroup[];
440
+ added_on?: string;
441
+ meal_value?: number;
442
+ category?: ShoppingcartLabel;
443
+ menu_label?: ShoppingcartLabel;
444
+ tax_rate?: number;
445
+ label?: ShoppingcartLabel;
446
+ reporting?: ShoppingcartItemReporting;
447
+ review?: OrderItemReview;
448
+ }
449
+
450
+ export interface ShoppingcartDiscountIncentives {
451
+ id?: string;
452
+ program: {
453
+ code?: string;
454
+ };
455
+ }
456
+
457
+ export interface ShoppingcartFPValidationData {
458
+ discountIncentives?: ShoppingcartDiscountIncentives[];
459
+ }
460
+
461
+ export interface ShoppingcartPromoItem {
462
+ applied_discount_amount?: number;
463
+ amount?: number;
464
+ discount_amount?: number;
465
+ price?: number;
466
+ quantity?: number;
467
+ source_id?: string;
468
+ subtotal_amount?: number;
469
+ }
470
+
471
+ export interface ShoppingcartPromoOrder {
472
+ items_applied_discount_amount?: number;
473
+ amount?: number;
474
+ items_discount_amount?: number;
475
+ total_amount?: number;
476
+ total_applied_discount_amount?: number;
477
+ total_discount_amount?: number;
478
+ items?: ShoppingcartPromoItem[];
479
+ }
480
+
481
+ export interface ShoppingcartPromoDetails {
482
+ provider?: 'fp' | 'voucherify';
483
+ provider_data?: ShoppingcartFPValidationData;
484
+ code?: string;
485
+ amount_off?: number;
486
+ percent_off?: number;
487
+ amount?: number;
488
+ app?: string;
489
+ discount?: Record<string, any>;
490
+ order?: ShoppingcartPromoOrder;
491
+ }
492
+
493
+ export interface ShoppingcartPaymentMethodMealplan {
494
+ id?: string;
495
+ tender?: string;
496
+ total?: number;
497
+ type?: string;
498
+ }
499
+
500
+ export interface ShoppingcartPaymentMethodCreditCard {
501
+ card_type?: string;
502
+ last4?: string;
503
+ total?: number;
504
+ type?: string;
505
+ }
506
+
507
+ export interface ShoppingcartPaymentMethodDigitalWalletPay {
508
+ wallet_type?: string;
509
+ total?: number;
510
+ type?: string;
511
+ }
512
+
513
+ export interface ShoppingcartPaymentMethodMealSwipes {
514
+ id?: string;
515
+ tender?: string;
516
+ tender_type?: string;
517
+ tender_name?: string;
518
+ swipes?: number;
519
+ rate?: number;
520
+ total?: number;
521
+ type?: string;
522
+ }
523
+
524
+ export interface ShoppingcartPaymentMethodMealExchange {
525
+ id?: string;
526
+ tender?: string;
527
+ type?: string;
528
+ }
529
+
530
+ export interface ShppingcartPaymentMethodCashlessTender {
531
+ id?: string;
532
+ total?: number;
533
+ tender?: string;
197
534
  name?: string;
198
- review: OrderItemRating;
535
+ type?: string;
536
+ }
537
+
538
+ export interface ShoppingcartPaymentMethod {
539
+ mealplan?: ShoppingcartPaymentMethodMealplan;
540
+ credit_card?: ShoppingcartPaymentMethodCreditCard;
541
+ digital_wallet_pay?: ShoppingcartPaymentMethodDigitalWalletPay;
542
+ meal_swipes?: ShoppingcartPaymentMethodMealSwipes;
543
+ meal_exchange?: ShoppingcartPaymentMethodMealExchange;
544
+ badge_pay?: ShppingcartPaymentMethodCashlessTender;
545
+ stipend?: ShppingcartPaymentMethodCashlessTender;
546
+ voucher?: ShppingcartPaymentMethodCashlessTender;
547
+ coupon_voucher?: ShppingcartPaymentMethodCashlessTender;
548
+ }
549
+
550
+ export interface ShoppingcartTaxBreakdown {
551
+ taxable_amount?: number;
552
+ tax_collectable?: number;
553
+ combined_tax_rate?: number;
554
+ gst?: number;
555
+ pst?: number;
556
+ provider?: string;
557
+ }
558
+
559
+ export interface TaxItem {
560
+ // unique item identifier
561
+ id: string;
562
+ // indicates a tax rule for an item
563
+ taxTagCode: string;
564
+ // amount of an item
565
+ quantity: number;
566
+ // decimal price of an item
567
+ price: number;
568
+ // amount of tax charged on an item after funds are captured
569
+ taxedAmount?: number;
570
+ }
571
+
572
+ export interface TaxRefund {
573
+ // unique identifier of the refunded item
574
+ refundItemId: string;
575
+ // quantity amount of the item to be refunded
576
+ refundItemQuantity: number;
199
577
  }
200
578
 
201
- export interface ShoppingCart {
579
+ export interface TaxLocationData {
580
+ // unique location identifier
202
581
  id: string;
203
- total?: CartTotal;
204
- items?: CartItem[];
582
+ // country of transaction
583
+ country: string;
584
+ // state or province of transaction
585
+ stateOrProvince: string;
586
+ // city of transaction
587
+ city: string;
588
+ // postal code of transaction
589
+ postalCode: string;
590
+ // street address of transaction
591
+ streetAddress: string;
592
+ }
593
+
594
+ export interface TaxRequest {
595
+ // a unique identifier representing the transaction
596
+ id: string;
597
+ // the app to associate the transaction with
598
+ appName: string;
599
+ // the order fulfillment type
600
+ transactionType: 'pickup' | 'delivery';
601
+ // numeric value of service fee
602
+ serviceFee?: number;
603
+ // numeric value of delivery fee
604
+ deliveryFee?: number;
605
+ // items to calculate tax on
606
+ items: TaxItem[];
607
+ // iso timstamp of transaction date
608
+ transactionDate?: string;
609
+ // an array of items to refund
610
+ refunds?: TaxRefund[];
611
+ locationData: TaxLocationData;
612
+ }
613
+
614
+ export interface ShoppingcartTaxes {
615
+ breakdown?: ShoppingcartTaxBreakdown;
616
+ amount?: number;
617
+ rate?: number;
618
+ provider?: string;
619
+ quote_payload?: TaxRequest;
620
+ }
621
+
622
+ export interface ShoppingcartTotal {
623
+ amount: number;
624
+ meals?: number;
625
+ }
626
+
627
+ export interface ShoppingcartIs {
628
+ // Shoppingcart Type: delivery, pickup
629
+ type?: 'delivery' | 'pickup' | 'scan_and_go' | 'frictionless';
630
+ // If an order should be paid with meal exchange. If true, this will calculate meals total
631
+ mx_cart?: boolean;
632
+ // If a user's email or email domain is a match in a sites list of tax exempt emails or domains
633
+ email_tax_exempt?: boolean;
634
+ // Indicates to clients that a tax recalculation is required
635
+ tax_calculation_required?: boolean;
636
+ system365?: boolean;
205
637
  }
206
638
 
207
- export interface Order {
639
+ export interface CustomerOrderShoppingcartDTO {
640
+ // shoppingcart
641
+ id: string;
642
+ // location
643
+ location: string;
644
+ // menu
645
+ menu?: string;
646
+ // brand
647
+ brand?: string;
648
+ items?: ShoppingcartItem[];
649
+ sub_total?: ShoppingcartMonetaryValue;
650
+ promo?: ShoppingcartPromoDetails;
651
+ discount?: ShoppingcartPromoDetails;
652
+ payment_method?: ShoppingcartPaymentMethod;
653
+ taxes?: ShoppingcartTaxes;
654
+ total?: ShoppingcartTotal;
655
+ service_fee?: ShoppingcartMonetaryValue;
656
+ delivery_fee?: ShoppingcartMonetaryValue;
657
+ is?: ShoppingcartIs;
658
+ }
659
+
660
+ export interface CustomerOrder {
661
+ meta?: {
662
+ [index: string]: any;
663
+ } & OrderMeta;
208
664
  id?: string;
209
665
  reorder_eligibility?:
210
666
  | 'eligible'
@@ -221,20 +677,25 @@ export interface Order {
221
677
  | 'modifiers_unavailable'
222
678
  | 'modified_items'
223
679
  | 'cancelled_order';
224
- location_brand?: Brand;
680
+ location_brand?: CustomerOrderBrandDTO;
225
681
  location?: string;
226
682
  date?: OrderDate;
227
683
  details?: OrderDetails;
228
684
  pickup?: string;
229
685
  requested_date?: string;
230
- refunds?: RefundItem[];
686
+ refunds?: OrderRefundItem[];
231
687
  pickup_id?: string;
232
- is?: OrderIsStatus;
233
- shoppingcart?: ShoppingCart;
688
+ payment?: OrderPayment;
689
+ mealplan?: OrderMealplan;
690
+ meal_swipes?: OrderMealSwipes;
691
+ is?: OrderIs;
692
+ issue?: OrderIssue;
693
+ shoppingcart?: CustomerOrderShoppingcartDTO;
234
694
  }
235
695
 
236
696
  export interface GetCustomerOrdersResponseDTO {
237
- orders: Order[];
697
+ // customer orders
698
+ orders: CustomerOrder[];
238
699
  }
239
700
 
240
701
  export interface BadRequestErrorDTO {
@@ -243,26 +704,24 @@ export interface BadRequestErrorDTO {
243
704
  data: Record<string, any>;
244
705
  }
245
706
 
246
- export interface ReviewOrderItemRatings {
247
- // menu id
248
- menu: string;
249
- // item id
250
- item: string;
707
+ export interface PostReviewOrderItemRequest {
251
708
  // rating score
252
709
  score: number;
253
710
  // review comment
254
711
  comment: string;
255
712
  // review tags
256
713
  reason: string[];
714
+ menu: string;
715
+ item: string;
257
716
  }
258
717
 
259
- export interface PostReviewOrderItemRatingsRequestDTO {
718
+ export interface PostReviewOrderItemsRequestDTO {
260
719
  orderId: string;
261
- reviews: ReviewOrderItemRatings[];
720
+ reviews: PostReviewOrderItemRequest[];
262
721
  }
263
722
 
264
- export interface PostReviewOrderItemRatingsResponseDTO {
265
- reviews: OrderItemRating[];
723
+ export interface PostReviewOrderItemsResponseDTO {
724
+ reviews: OrderItemReview[];
266
725
  }
267
726
 
268
727
  // GET /consumer/v1/health-check
@@ -295,7 +754,12 @@ export interface GetPaymentListByBrandRequest
295
754
  extends BaseRequest,
296
755
  RequestQuery<GetPaymentListByBrandQuery> {}
297
756
 
298
- // GET /consumer/customer-orders - Get customer orders
757
+ // GET /consumer/customer-orders/{userId} - Get customer orders
758
+
759
+ export interface GetCustomerOrdersPath {
760
+ // TODO: add parameter to swagger.json
761
+ userId: string;
762
+ }
299
763
 
300
764
  export interface GetCustomerOrdersQuery {
301
765
  // Filter orders by their requested date. Only return orders that have a date greater than or equal to the date. Default is the current time in milliseconds.
@@ -310,14 +774,15 @@ export type GetCustomerOrdersResponse = GetCustomerOrdersResponseDTO;
310
774
 
311
775
  export interface GetCustomerOrdersRequest
312
776
  extends BaseRequest,
313
- RequestQuery<GetCustomerOrdersQuery> {}
777
+ RequestQuery<GetCustomerOrdersQuery>,
778
+ GetCustomerOrdersPath {}
314
779
 
315
- // POST /consumer/review/order/item-ratings - Submit review containing order item ratings
780
+ // POST /consumer/review/order-items - Submit reviews for order items
316
781
 
317
- export type PostReviewOrderItemRatingsBody = PostReviewOrderItemRatingsRequestDTO;
782
+ export type PostReviewOrderItemsBody = PostReviewOrderItemsRequestDTO;
318
783
 
319
- export type PostReviewOrderItemRatingsResponse = PostReviewOrderItemRatingsResponseDTO;
784
+ export type PostReviewOrderItemsResponse = PostReviewOrderItemsResponseDTO;
320
785
 
321
- export interface PostReviewOrderItemRatingsRequest extends BaseRequest {
322
- body: PostReviewOrderItemRatingsBody;
786
+ export interface PostReviewOrderItemsRequest extends BaseRequest {
787
+ body: PostReviewOrderItemsBody;
323
788
  }