@compassdigital/sdk.typescript 4.741.0 → 4.743.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.
@@ -4524,6 +4524,29 @@ export interface GetConsumerLocationResponse {
4524
4524
  address?: ConsumerAddress;
4525
4525
  }
4526
4526
 
4527
+ export interface GetDeliveryOrderResponseDto {
4528
+ // CDL order id
4529
+ orderId: string;
4530
+ // Human-readable order number
4531
+ orderNumber: string;
4532
+ // Guest-facing delivery status
4533
+ status: string;
4534
+ // ETA timestamp for the current status, when applicable
4535
+ etaAt?: string | null;
4536
+ // Station pick-up location
4537
+ pickUp?: Record<string, any> | null;
4538
+ // Guest's drop-off location
4539
+ dropOff?: Record<string, any> | null;
4540
+ // When the robot reached drop-off
4541
+ dropOffArrivedAt?: string | null;
4542
+ // dropOffArrivedAt plus delivery discard wait time
4543
+ leaveTimeAt?: string | null;
4544
+ // Assigned robot; null once the delivery is terminal
4545
+ robot?: Record<string, any> | null;
4546
+ // Last time this record changed
4547
+ updatedAt: string;
4548
+ }
4549
+
4527
4550
  export interface OrderOpenCloseLidResponseDto {
4528
4551
  // Order identifier
4529
4552
  id: string;
@@ -5466,6 +5489,15 @@ export interface GetConsumerLocationQuery {
5466
5489
 
5467
5490
  export type GetConsumerLocationResponse$0 = GetConsumerLocationResponse;
5468
5491
 
5492
+ // GET /consumer/delivery/{orderId} - Get guest-facing delivery status and ETAs for an order
5493
+
5494
+ export interface GetConsumerDeliveryPath {
5495
+ // a valid CDL order id
5496
+ orderId: string;
5497
+ }
5498
+
5499
+ export type GetConsumerDeliveryResponse = GetDeliveryOrderResponseDto;
5500
+
5469
5501
  // POST /consumer/delivery/order/{id}/open - Open the lid of a delivery order
5470
5502
 
5471
5503
  export interface PostConsumerDeliveryOrderOpenLidPath {