From 8b061067d43eea2bbf515f410298f9240c598cce Mon Sep 17 00:00:00 2001 From: "@yuri_assuncx" Date: Fri, 25 Oct 2024 20:32:59 -0300 Subject: [PATCH] feat(vtex): Package type added --- vtex/utils/types.ts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/vtex/utils/types.ts b/vtex/utils/types.ts index 5721144a3..31181dd98 100644 --- a/vtex/utils/types.ts +++ b/vtex/utils/types.ts @@ -1360,6 +1360,24 @@ export interface Order { workflowInRetry: boolean; } +export interface Package { + cfop: string | null; + invoiceNumber: string; + invoiceValue: number; + invoiceUrl: string | null; + issuanceDate: string; + trackingNumber: string | null; + invoiceKey: string; + trackingUrl: string | null; + embeddedInvoice: string; + courierStatus: { + status: string | null; + finished: boolean; + deliveredDate: string; + }; + type: "Input" | "Output" +} + export interface OrderItem { orderId: string; sequence: string; @@ -1377,6 +1395,9 @@ export interface OrderItem { authorizedDate: string; callCenterOperatorData: string; cancelReason: string; + packageAttachment: { + packages: Package[]; + } | null; cancellationData: { RequestedByUser: boolean; RequestedBySystem: boolean;