Skip to content

Commit

Permalink
feat(vtex): Package type added
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriassuncx committed Oct 25, 2024
1 parent e295484 commit 8b06106
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions vtex/utils/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -1377,6 +1395,9 @@ export interface OrderItem {
authorizedDate: string;
callCenterOperatorData: string;
cancelReason: string;
packageAttachment: {
packages: Package[];
} | null;
cancellationData: {
RequestedByUser: boolean;
RequestedBySystem: boolean;
Expand Down

0 comments on commit 8b06106

Please sign in to comment.