@whiplashmerch/whiplash-api-client 3.2.35 → 3.2.37
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.
- package/dist/client.esm.js +12 -1
- package/dist/client.esm.js.map +1 -1
- package/dist/utils/orders.d.ts +12 -0
- package/package.json +1 -1
package/dist/utils/orders.d.ts
CHANGED
|
@@ -36,6 +36,17 @@ export interface ApiV21OrderIdCommercialInvoiceResult {
|
|
|
36
36
|
printable_urls: string[];
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
|
+
export interface ApiV21OrderIdShippingDocumentDetail {
|
|
40
|
+
resolved_url: string;
|
|
41
|
+
provider_document_type: string | null;
|
|
42
|
+
electronically_submitted: boolean;
|
|
43
|
+
}
|
|
44
|
+
export interface ApiV21OrderIdShippingDocumentsResult {
|
|
45
|
+
result: {
|
|
46
|
+
auto_print_required: boolean;
|
|
47
|
+
documents: ApiV21OrderIdShippingDocumentDetail[];
|
|
48
|
+
};
|
|
49
|
+
}
|
|
39
50
|
export interface ApiV21OrderIdPublicPackingslipResult {
|
|
40
51
|
result: string | null;
|
|
41
52
|
}
|
|
@@ -58,6 +69,7 @@ export declare const putApiV21OrdersIdPackItem: (client: HttpClient, orderId: nu
|
|
|
58
69
|
export declare const putApiV21OrdersIdBatch: (client: HttpClient, orderId: number, args: ApiV21OrdersIdBatchArgs) => Promise<void>;
|
|
59
70
|
export declare const getApiV21OrdersIdPackingRulesWithSuggestedItems: (client: HttpClient, orderId: number) => Promise<ApiV21OrderIdSuggestedRulesResult>;
|
|
60
71
|
export declare const getApiV21OrdersIdCommercialInvoice: (client: HttpClient, orderId: number) => Promise<ApiV21OrderIdCommercialInvoiceResult>;
|
|
72
|
+
export declare const getApiV21OrdersIdPrintShippingDocuments: (client: HttpClient, orderId: number) => Promise<ApiV21OrderIdShippingDocumentsResult>;
|
|
61
73
|
export declare const getApiV21OrdersIdHasGlobalEInvoice: (client: HttpClient, orderId: number) => Promise<ApiV21OrderIdHasGlobalEResult>;
|
|
62
74
|
export declare const getApiV21OrdersIdSkipPackingslip: (client: HttpClient, orderId: number) => Promise<ApiV21OrderIdSkipsPackingslipResult>;
|
|
63
75
|
export declare const getApiV21OrdersIdPublicPackingslipUrl: (client: HttpClient, orderId: number) => Promise<ApiV21OrderIdPublicPackingslipResult>;
|