@whiplashmerch/whiplash-api-client 3.2.36 → 3.2.38

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.
@@ -8172,6 +8172,10 @@ export interface ApiV21EntitiesOrder {
8172
8172
  shipping_method_id?: number | null;
8173
8173
  /** Shipping method service name */
8174
8174
  shipping_method_name?: string;
8175
+ /** does the order shipping method require routing? */
8176
+ shipping_method_needs_routing?: boolean;
8177
+ /** the raw shipping method service (needs_routing, Ground, etc) */
8178
+ shipping_method_service?: string;
8175
8179
  /** the order shipping name */
8176
8180
  shipping_name?: string | null;
8177
8181
  /** the order shipping phone number */
@@ -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>;
@@ -4279,6 +4279,10 @@ export interface ApiV21EntitiesOrder {
4279
4279
  shipping_method_id?: number | null;
4280
4280
  /** Shipping method service name */
4281
4281
  shipping_method_name?: string;
4282
+ /** does the order shipping method require routing? */
4283
+ shipping_method_needs_routing?: boolean;
4284
+ /** the raw shipping method service (needs_routing, Ground, etc) */
4285
+ shipping_method_service?: string;
4282
4286
  /** the order shipping name */
4283
4287
  shipping_name?: string | null;
4284
4288
  /** the order shipping phone number */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whiplashmerch/whiplash-api-client",
3
- "version": "3.2.36",
3
+ "version": "3.2.38",
4
4
  "description": "",
5
5
  "devDependencies": {},
6
6
  "scripts": {