@whiplashmerch/whiplash-api-client 2.0.12 → 2.0.13
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 +280 -1
- package/dist/client.esm.js.map +1 -1
- package/dist/generated/Pallets.d.ts +146 -0
- package/dist/generated/data-contracts.d.ts +185 -130
- package/dist/generated/index.d.ts +1 -0
- package/dist/mock-data/index.d.ts +1 -0
- package/generated/data-contracts.ts +10 -130
- package/package.json +1 -1
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { ApiV21EntitiesPostResponse, ApiV2EntitiesCount, ApiV2EntitiesPackage, ApiV2EntitiesPallet, GetApiV21PalletsCountParams, GetApiV21PalletsIdPackagesParams, GetApiV21PalletsParams, GetApiV2PalletsCountParams, GetApiV2PalletsIdPackagesParams, GetApiV2PalletsParams, PutApiV21PalletsIdCallActionRequest, PutApiV21PalletsIdRequest, PutApiV2PalletsIdCallActionRequest, PutApiV2PalletsIdRequest } from "./data-contracts";
|
|
2
|
+
import { HttpClient, RequestParams } from "./http-client";
|
|
3
|
+
/**
|
|
4
|
+
* @description Get all pallets
|
|
5
|
+
*
|
|
6
|
+
* @tags pallets
|
|
7
|
+
* @name GetApiV2Pallets
|
|
8
|
+
* @summary List all pallets
|
|
9
|
+
* @request GET:/api/v2/pallets
|
|
10
|
+
*/
|
|
11
|
+
export declare const getApiV2Pallets: (client: HttpClient, query: GetApiV2PalletsParams, params?: RequestParams) => Promise<ApiV2EntitiesPallet[]>;
|
|
12
|
+
/**
|
|
13
|
+
* @description Create a pallet
|
|
14
|
+
*
|
|
15
|
+
* @tags pallets
|
|
16
|
+
* @name PostApiV2Pallets
|
|
17
|
+
* @summary Create a pallet
|
|
18
|
+
* @request POST:/api/v2/pallets
|
|
19
|
+
*/
|
|
20
|
+
export declare const postApiV2Pallets: (client: HttpClient, params?: RequestParams) => Promise<ApiV2EntitiesPallet>;
|
|
21
|
+
/**
|
|
22
|
+
* @description Returns count of pallets
|
|
23
|
+
*
|
|
24
|
+
* @tags pallets
|
|
25
|
+
* @name GetApiV2PalletsCount
|
|
26
|
+
* @summary Count pallets
|
|
27
|
+
* @request GET:/api/v2/pallets/count
|
|
28
|
+
*/
|
|
29
|
+
export declare const getApiV2PalletsCount: (client: HttpClient, query: GetApiV2PalletsCountParams, params?: RequestParams) => Promise<ApiV2EntitiesCount>;
|
|
30
|
+
/**
|
|
31
|
+
* @description Get a pallet
|
|
32
|
+
*
|
|
33
|
+
* @tags pallets
|
|
34
|
+
* @name GetApiV2PalletsId
|
|
35
|
+
* @summary Get a pallet by ID
|
|
36
|
+
* @request GET:/api/v2/pallets/{id}
|
|
37
|
+
*/
|
|
38
|
+
export declare const getApiV2PalletsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<ApiV2EntitiesPallet>;
|
|
39
|
+
/**
|
|
40
|
+
* @description Update a pallet
|
|
41
|
+
*
|
|
42
|
+
* @tags pallets
|
|
43
|
+
* @name PutApiV2PalletsId
|
|
44
|
+
* @summary Update a pallet
|
|
45
|
+
* @request PUT:/api/v2/pallets/{id}
|
|
46
|
+
*/
|
|
47
|
+
export declare const putApiV2PalletsId: (client: HttpClient, id: number, data: PutApiV2PalletsIdRequest, params?: RequestParams) => Promise<ApiV2EntitiesPallet>;
|
|
48
|
+
/**
|
|
49
|
+
* @description Destroy a pallet
|
|
50
|
+
*
|
|
51
|
+
* @tags pallets
|
|
52
|
+
* @name DeleteApiV2PalletsId
|
|
53
|
+
* @summary Destroy a pallet
|
|
54
|
+
* @request DELETE:/api/v2/pallets/{id}
|
|
55
|
+
*/
|
|
56
|
+
export declare const deleteApiV2PalletsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
|
|
57
|
+
/**
|
|
58
|
+
* @description Perform an action on a pallet
|
|
59
|
+
*
|
|
60
|
+
* @tags pallets
|
|
61
|
+
* @name PutApiV2PalletsIdCallAction
|
|
62
|
+
* @summary Perform an action on a pallet
|
|
63
|
+
* @request PUT:/api/v2/pallets/{id}/call/{action}
|
|
64
|
+
*/
|
|
65
|
+
export declare const putApiV2PalletsIdCallAction: (client: HttpClient, action: string, id: number, data: PutApiV2PalletsIdCallActionRequest, params?: RequestParams) => Promise<ApiV2EntitiesPallet>;
|
|
66
|
+
/**
|
|
67
|
+
* @description Get all packages for a Pallet
|
|
68
|
+
*
|
|
69
|
+
* @tags pallets
|
|
70
|
+
* @name GetApiV2PalletsIdPackages
|
|
71
|
+
* @summary List all packages for a pallet
|
|
72
|
+
* @request GET:/api/v2/pallets/{id}/packages
|
|
73
|
+
*/
|
|
74
|
+
export declare const getApiV2PalletsIdPackages: (client: HttpClient, { id, ...query }: GetApiV2PalletsIdPackagesParams, params?: RequestParams) => Promise<ApiV2EntitiesPackage[]>;
|
|
75
|
+
/**
|
|
76
|
+
* @description Get all pallets
|
|
77
|
+
*
|
|
78
|
+
* @tags pallets
|
|
79
|
+
* @name GetApiV21Pallets
|
|
80
|
+
* @summary List all pallets
|
|
81
|
+
* @request GET:/api/v2.1/pallets
|
|
82
|
+
*/
|
|
83
|
+
export declare const getApiV21Pallets: (client: HttpClient, query: GetApiV21PalletsParams, params?: RequestParams) => Promise<ApiV2EntitiesPallet[]>;
|
|
84
|
+
/**
|
|
85
|
+
* @description Create a pallet
|
|
86
|
+
*
|
|
87
|
+
* @tags pallets
|
|
88
|
+
* @name PostApiV21Pallets
|
|
89
|
+
* @summary Create a pallet
|
|
90
|
+
* @request POST:/api/v2.1/pallets
|
|
91
|
+
*/
|
|
92
|
+
export declare const postApiV21Pallets: (client: HttpClient, params?: RequestParams) => Promise<ApiV21EntitiesPostResponse>;
|
|
93
|
+
/**
|
|
94
|
+
* @description Returns count of pallets
|
|
95
|
+
*
|
|
96
|
+
* @tags pallets
|
|
97
|
+
* @name GetApiV21PalletsCount
|
|
98
|
+
* @summary Count pallets
|
|
99
|
+
* @request GET:/api/v2.1/pallets/count
|
|
100
|
+
*/
|
|
101
|
+
export declare const getApiV21PalletsCount: (client: HttpClient, query: GetApiV21PalletsCountParams, params?: RequestParams) => Promise<ApiV2EntitiesCount>;
|
|
102
|
+
/**
|
|
103
|
+
* @description Get a pallet
|
|
104
|
+
*
|
|
105
|
+
* @tags pallets
|
|
106
|
+
* @name GetApiV21PalletsId
|
|
107
|
+
* @summary Get a pallet by ID
|
|
108
|
+
* @request GET:/api/v2.1/pallets/{id}
|
|
109
|
+
*/
|
|
110
|
+
export declare const getApiV21PalletsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<ApiV2EntitiesPallet>;
|
|
111
|
+
/**
|
|
112
|
+
* @description Update a pallet
|
|
113
|
+
*
|
|
114
|
+
* @tags pallets
|
|
115
|
+
* @name PutApiV21PalletsId
|
|
116
|
+
* @summary Update a pallet
|
|
117
|
+
* @request PUT:/api/v2.1/pallets/{id}
|
|
118
|
+
*/
|
|
119
|
+
export declare const putApiV21PalletsId: (client: HttpClient, id: number, data: PutApiV21PalletsIdRequest, params?: RequestParams) => Promise<void>;
|
|
120
|
+
/**
|
|
121
|
+
* @description Destroy a pallet
|
|
122
|
+
*
|
|
123
|
+
* @tags pallets
|
|
124
|
+
* @name DeleteApiV21PalletsId
|
|
125
|
+
* @summary Destroy a pallet
|
|
126
|
+
* @request DELETE:/api/v2.1/pallets/{id}
|
|
127
|
+
*/
|
|
128
|
+
export declare const deleteApiV21PalletsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
|
|
129
|
+
/**
|
|
130
|
+
* @description Perform an action on a pallet
|
|
131
|
+
*
|
|
132
|
+
* @tags pallets
|
|
133
|
+
* @name PutApiV21PalletsIdCallAction
|
|
134
|
+
* @summary Perform an action on a pallet
|
|
135
|
+
* @request PUT:/api/v2.1/pallets/{id}/call/{action}
|
|
136
|
+
*/
|
|
137
|
+
export declare const putApiV21PalletsIdCallAction: (client: HttpClient, action: string, id: number, data: PutApiV21PalletsIdCallActionRequest, params?: RequestParams) => Promise<void>;
|
|
138
|
+
/**
|
|
139
|
+
* @description Get all packages for a Pallet
|
|
140
|
+
*
|
|
141
|
+
* @tags pallets
|
|
142
|
+
* @name GetApiV21PalletsIdPackages
|
|
143
|
+
* @summary List all packages for a pallet
|
|
144
|
+
* @request GET:/api/v2.1/pallets/{id}/packages
|
|
145
|
+
*/
|
|
146
|
+
export declare const getApiV21PalletsIdPackages: (client: HttpClient, { id, ...query }: GetApiV21PalletsIdPackagesParams, params?: RequestParams) => Promise<ApiV2EntitiesPackage[]>;
|
|
@@ -3790,8 +3790,18 @@ export interface ApiV2EntitiesPackage {
|
|
|
3790
3790
|
*/
|
|
3791
3791
|
order_id?: number | null;
|
|
3792
3792
|
order_item_ids?: number[];
|
|
3793
|
+
/**
|
|
3794
|
+
* the pallet id this package is on (staff only)
|
|
3795
|
+
* @format int32
|
|
3796
|
+
*/
|
|
3797
|
+
pallet_id?: number | null;
|
|
3793
3798
|
/** the package scan form url (staff only) */
|
|
3794
3799
|
scan_form_url?: string | null;
|
|
3800
|
+
/**
|
|
3801
|
+
* when the package was scanned to a pallet (staff only)
|
|
3802
|
+
* @format date-time
|
|
3803
|
+
*/
|
|
3804
|
+
scanned_to_pallet_at?: string | null;
|
|
3795
3805
|
/**
|
|
3796
3806
|
* the package shipping cost
|
|
3797
3807
|
* @format float
|
|
@@ -3838,6 +3848,59 @@ export interface ApiV2EntitiesPackingslipsArray {
|
|
|
3838
3848
|
packingslips_array?: object;
|
|
3839
3849
|
}
|
|
3840
3850
|
/** V2 */
|
|
3851
|
+
export interface ApiV2EntitiesPallet {
|
|
3852
|
+
/**
|
|
3853
|
+
* the pallet creation date and time
|
|
3854
|
+
* @format date-time
|
|
3855
|
+
*/
|
|
3856
|
+
created_at?: string;
|
|
3857
|
+
/**
|
|
3858
|
+
* the package id
|
|
3859
|
+
* @format int32
|
|
3860
|
+
*/
|
|
3861
|
+
id?: number;
|
|
3862
|
+
/**
|
|
3863
|
+
* the date and time when the LPN label was printed
|
|
3864
|
+
* @format date-time
|
|
3865
|
+
*/
|
|
3866
|
+
lpn_label_printed_at?: string | null;
|
|
3867
|
+
/**
|
|
3868
|
+
* the pallet number (LPN)
|
|
3869
|
+
* @format int32
|
|
3870
|
+
*/
|
|
3871
|
+
number?: number | null;
|
|
3872
|
+
/**
|
|
3873
|
+
* the order batch id associated with the pallet
|
|
3874
|
+
* @format int32
|
|
3875
|
+
*/
|
|
3876
|
+
order_batch_id?: number | null;
|
|
3877
|
+
/**
|
|
3878
|
+
* the total dimensional weight of the pallet
|
|
3879
|
+
* @format float
|
|
3880
|
+
*/
|
|
3881
|
+
total_dimensional_weight?: number | null;
|
|
3882
|
+
/**
|
|
3883
|
+
* the total number of items in the pallet
|
|
3884
|
+
* @format int32
|
|
3885
|
+
*/
|
|
3886
|
+
total_item_count?: number | null;
|
|
3887
|
+
/**
|
|
3888
|
+
* the total number of packages in the pallet
|
|
3889
|
+
* @format int32
|
|
3890
|
+
*/
|
|
3891
|
+
total_package_count?: number | null;
|
|
3892
|
+
/**
|
|
3893
|
+
* the pallet last update date and time
|
|
3894
|
+
* @format date-time
|
|
3895
|
+
*/
|
|
3896
|
+
updated_at?: string;
|
|
3897
|
+
/**
|
|
3898
|
+
* the pallet warehouse id
|
|
3899
|
+
* @format int32
|
|
3900
|
+
*/
|
|
3901
|
+
warehouse_id?: number | null;
|
|
3902
|
+
}
|
|
3903
|
+
/** V2 */
|
|
3841
3904
|
export interface ApiV2EntitiesPartner {
|
|
3842
3905
|
/** Partner billing address line 1. */
|
|
3843
3906
|
billing_address1?: string | null;
|
|
@@ -4607,11 +4670,6 @@ export interface ApiV2EntitiesShipnotice {
|
|
|
4607
4670
|
* @format date-time
|
|
4608
4671
|
*/
|
|
4609
4672
|
arrived_at?: string;
|
|
4610
|
-
/**
|
|
4611
|
-
* BOL proxy for this shipnotice.
|
|
4612
|
-
* Note: this field has a limit of 30 chars.
|
|
4613
|
-
*/
|
|
4614
|
-
bol_proxy?: string | null;
|
|
4615
4673
|
/** shipping carrier */
|
|
4616
4674
|
carrier?: string;
|
|
4617
4675
|
/**
|
|
@@ -4665,11 +4723,6 @@ export interface ApiV2EntitiesShipnotice {
|
|
|
4665
4723
|
inspection_required?: boolean;
|
|
4666
4724
|
/** meta data for this shipnotice as stringified JSON */
|
|
4667
4725
|
meta_data?: string | null;
|
|
4668
|
-
/**
|
|
4669
|
-
* MID code for this shipnotice.
|
|
4670
|
-
* Note: this field has a limit of 15 chars.
|
|
4671
|
-
*/
|
|
4672
|
-
mid_code?: string | null;
|
|
4673
4726
|
/** notes by customer */
|
|
4674
4727
|
notes_by_customer?: string | null;
|
|
4675
4728
|
/** notes by whiplash */
|
|
@@ -4760,11 +4813,6 @@ export interface ApiV2EntitiesShipnotice {
|
|
|
4760
4813
|
* @format int32
|
|
4761
4814
|
*/
|
|
4762
4815
|
warehouse_id?: number;
|
|
4763
|
-
/**
|
|
4764
|
-
* zone status of this shipnotice.
|
|
4765
|
-
* Note: this field has a limit of 3 chars.
|
|
4766
|
-
*/
|
|
4767
|
-
zone_status?: string | null;
|
|
4768
4816
|
}
|
|
4769
4817
|
/** V2 */
|
|
4770
4818
|
export interface ApiV2EntitiesShipnoticeItem {
|
|
@@ -4846,11 +4894,6 @@ export interface ApiV2EntitiesShipnoticeItem {
|
|
|
4846
4894
|
* @format int32
|
|
4847
4895
|
*/
|
|
4848
4896
|
unallocated?: number;
|
|
4849
|
-
/**
|
|
4850
|
-
* unit price for this shipnotice item
|
|
4851
|
-
* @format float
|
|
4852
|
-
*/
|
|
4853
|
-
unit_price?: number | null;
|
|
4854
4897
|
/**
|
|
4855
4898
|
* the shipnotice item last update date and time
|
|
4856
4899
|
* @format date-time
|
|
@@ -8244,11 +8287,6 @@ export interface ApiV21EntitiesShipnotice {
|
|
|
8244
8287
|
* @format date-time
|
|
8245
8288
|
*/
|
|
8246
8289
|
arrived_at?: string;
|
|
8247
|
-
/**
|
|
8248
|
-
* BOL proxy for this shipnotice.
|
|
8249
|
-
* Note: this field has a limit of 30 chars.
|
|
8250
|
-
*/
|
|
8251
|
-
bol_proxy?: string | null;
|
|
8252
8290
|
/**
|
|
8253
8291
|
* the shipnotice must be completed by date and time
|
|
8254
8292
|
* @format date-time
|
|
@@ -8301,11 +8339,6 @@ export interface ApiV21EntitiesShipnotice {
|
|
|
8301
8339
|
inspection_required?: boolean;
|
|
8302
8340
|
/** meta data for this shipnotice as stringified JSON */
|
|
8303
8341
|
meta_data?: string | null;
|
|
8304
|
-
/**
|
|
8305
|
-
* MID code for this shipnotice.
|
|
8306
|
-
* Note: this field has a limit of 15 chars.
|
|
8307
|
-
*/
|
|
8308
|
-
mid_code?: string | null;
|
|
8309
8342
|
/** notes by customer */
|
|
8310
8343
|
notes_by_customer?: string | null;
|
|
8311
8344
|
/** notes by whiplash */
|
|
@@ -8394,11 +8427,6 @@ export interface ApiV21EntitiesShipnotice {
|
|
|
8394
8427
|
warehouse_id?: number;
|
|
8395
8428
|
/** The name of the associated warehouse */
|
|
8396
8429
|
warehouse_name?: string;
|
|
8397
|
-
/**
|
|
8398
|
-
* zone status of this shipnotice.
|
|
8399
|
-
* Note: this field has a limit of 3 chars.
|
|
8400
|
-
*/
|
|
8401
|
-
zone_status?: string | null;
|
|
8402
8430
|
}
|
|
8403
8431
|
/** V2_1 */
|
|
8404
8432
|
export interface ApiV21EntitiesShipnoticeItem {
|
|
@@ -8463,11 +8491,6 @@ export interface ApiV21EntitiesShipnoticeItem {
|
|
|
8463
8491
|
* @format int32
|
|
8464
8492
|
*/
|
|
8465
8493
|
shipnotice_id?: number | null;
|
|
8466
|
-
/**
|
|
8467
|
-
* unit price for this shipnotice item
|
|
8468
|
-
* @format float
|
|
8469
|
-
*/
|
|
8470
|
-
unit_price?: number | null;
|
|
8471
8494
|
/**
|
|
8472
8495
|
* the shipnotice item last update date and time
|
|
8473
8496
|
* @format date-time
|
|
@@ -10773,6 +10796,55 @@ export interface GetApiV21PackagesParams {
|
|
|
10773
10796
|
/** Include prev/next links in response headers */
|
|
10774
10797
|
page_links?: boolean;
|
|
10775
10798
|
}
|
|
10799
|
+
export interface GetApiV21PalletsCountParams {
|
|
10800
|
+
/** JSON search string like {"attribute_eq": "Term"} */
|
|
10801
|
+
search?: string;
|
|
10802
|
+
}
|
|
10803
|
+
export interface GetApiV21PalletsIdPackagesParams {
|
|
10804
|
+
/** JSON search string like {"attribute_eq": "Term"} */
|
|
10805
|
+
search?: string;
|
|
10806
|
+
/** Comma-separated list of fields to include in the response */
|
|
10807
|
+
fields?: string;
|
|
10808
|
+
/** A list of sort options (ex: name asc,created_at desc) */
|
|
10809
|
+
sort?: string;
|
|
10810
|
+
/**
|
|
10811
|
+
* Page of results to fetch
|
|
10812
|
+
* @format int32
|
|
10813
|
+
*/
|
|
10814
|
+
page?: number;
|
|
10815
|
+
/**
|
|
10816
|
+
* Number of results to return per page
|
|
10817
|
+
* @format int32
|
|
10818
|
+
*/
|
|
10819
|
+
per_page?: number;
|
|
10820
|
+
/** Include total count of results */
|
|
10821
|
+
page_total?: boolean;
|
|
10822
|
+
/** Include prev/next links in response headers */
|
|
10823
|
+
page_links?: boolean;
|
|
10824
|
+
id: number;
|
|
10825
|
+
}
|
|
10826
|
+
export interface GetApiV21PalletsParams {
|
|
10827
|
+
/** JSON search string like {"attribute_eq": "Term"} */
|
|
10828
|
+
search?: string;
|
|
10829
|
+
/** Comma-separated list of fields to include in the response */
|
|
10830
|
+
fields?: string;
|
|
10831
|
+
/** A list of sort options (ex: name asc,created_at desc) */
|
|
10832
|
+
sort?: string;
|
|
10833
|
+
/**
|
|
10834
|
+
* Page of results to fetch
|
|
10835
|
+
* @format int32
|
|
10836
|
+
*/
|
|
10837
|
+
page?: number;
|
|
10838
|
+
/**
|
|
10839
|
+
* Number of results to return per page
|
|
10840
|
+
* @format int32
|
|
10841
|
+
*/
|
|
10842
|
+
per_page?: number;
|
|
10843
|
+
/** Include total count of results */
|
|
10844
|
+
page_total?: boolean;
|
|
10845
|
+
/** Include prev/next links in response headers */
|
|
10846
|
+
page_links?: boolean;
|
|
10847
|
+
}
|
|
10776
10848
|
export interface GetApiV21PartnersCountParams {
|
|
10777
10849
|
/** JSON search string like {"attribute_eq": "Term"} */
|
|
10778
10850
|
search?: string;
|
|
@@ -13415,6 +13487,55 @@ export interface GetApiV2PackagesParams {
|
|
|
13415
13487
|
/** Include prev/next links in response headers */
|
|
13416
13488
|
page_links?: boolean;
|
|
13417
13489
|
}
|
|
13490
|
+
export interface GetApiV2PalletsCountParams {
|
|
13491
|
+
/** JSON search string like {"attribute_eq": "Term"} */
|
|
13492
|
+
search?: string;
|
|
13493
|
+
}
|
|
13494
|
+
export interface GetApiV2PalletsIdPackagesParams {
|
|
13495
|
+
/** JSON search string like {"attribute_eq": "Term"} */
|
|
13496
|
+
search?: string;
|
|
13497
|
+
/** Comma-separated list of fields to include in the response */
|
|
13498
|
+
fields?: string;
|
|
13499
|
+
/** A list of sort options (ex: name asc,created_at desc) */
|
|
13500
|
+
sort?: string;
|
|
13501
|
+
/**
|
|
13502
|
+
* Page of results to fetch
|
|
13503
|
+
* @format int32
|
|
13504
|
+
*/
|
|
13505
|
+
page?: number;
|
|
13506
|
+
/**
|
|
13507
|
+
* Number of results to return per page
|
|
13508
|
+
* @format int32
|
|
13509
|
+
*/
|
|
13510
|
+
per_page?: number;
|
|
13511
|
+
/** Include total count of results */
|
|
13512
|
+
page_total?: boolean;
|
|
13513
|
+
/** Include prev/next links in response headers */
|
|
13514
|
+
page_links?: boolean;
|
|
13515
|
+
id: number;
|
|
13516
|
+
}
|
|
13517
|
+
export interface GetApiV2PalletsParams {
|
|
13518
|
+
/** JSON search string like {"attribute_eq": "Term"} */
|
|
13519
|
+
search?: string;
|
|
13520
|
+
/** Comma-separated list of fields to include in the response */
|
|
13521
|
+
fields?: string;
|
|
13522
|
+
/** A list of sort options (ex: name asc,created_at desc) */
|
|
13523
|
+
sort?: string;
|
|
13524
|
+
/**
|
|
13525
|
+
* Page of results to fetch
|
|
13526
|
+
* @format int32
|
|
13527
|
+
*/
|
|
13528
|
+
page?: number;
|
|
13529
|
+
/**
|
|
13530
|
+
* Number of results to return per page
|
|
13531
|
+
* @format int32
|
|
13532
|
+
*/
|
|
13533
|
+
per_page?: number;
|
|
13534
|
+
/** Include total count of results */
|
|
13535
|
+
page_total?: boolean;
|
|
13536
|
+
/** Include prev/next links in response headers */
|
|
13537
|
+
page_links?: boolean;
|
|
13538
|
+
}
|
|
13418
13539
|
export interface GetApiV2PartnersCountParams {
|
|
13419
13540
|
/** JSON search string like {"attribute_eq": "Term"} */
|
|
13420
13541
|
search?: string;
|
|
@@ -17224,21 +17345,6 @@ export interface PostApiV21ShipnoticesBulkRequest {
|
|
|
17224
17345
|
reference?: string;
|
|
17225
17346
|
/** JSON object of required and optional receiving quantities verified by staff */
|
|
17226
17347
|
quantities_verified?: object;
|
|
17227
|
-
/**
|
|
17228
|
-
* BOL proxy for this shipnotice.
|
|
17229
|
-
* Note: this field has a limit of 30 chars.
|
|
17230
|
-
*/
|
|
17231
|
-
bol_proxy?: string;
|
|
17232
|
-
/**
|
|
17233
|
-
* MID code for this shipnotice.
|
|
17234
|
-
* Note: this field has a limit of 15 chars.
|
|
17235
|
-
*/
|
|
17236
|
-
mid_code?: string;
|
|
17237
|
-
/**
|
|
17238
|
-
* zone status of this shipnotice.
|
|
17239
|
-
* Note: this field has a limit of 3 chars.
|
|
17240
|
-
*/
|
|
17241
|
-
zone_status?: string;
|
|
17242
17348
|
/** is inspection required? (default: false) */
|
|
17243
17349
|
inspection_required?: boolean;
|
|
17244
17350
|
/**
|
|
@@ -17404,11 +17510,6 @@ export interface PostApiV21ShipnoticesRequest {
|
|
|
17404
17510
|
* @format date-time
|
|
17405
17511
|
*/
|
|
17406
17512
|
arrived_at?: string;
|
|
17407
|
-
/**
|
|
17408
|
-
* BOL proxy for this shipnotice.
|
|
17409
|
-
* Note: this field has a limit of 30 chars.
|
|
17410
|
-
*/
|
|
17411
|
-
bol_proxy?: string;
|
|
17412
17513
|
carrier?: string;
|
|
17413
17514
|
/**
|
|
17414
17515
|
* the shipnotice completion date and time
|
|
@@ -17447,11 +17548,6 @@ export interface PostApiV21ShipnoticesRequest {
|
|
|
17447
17548
|
/** Included meta fields for associations */
|
|
17448
17549
|
association_fields?: object;
|
|
17449
17550
|
};
|
|
17450
|
-
/**
|
|
17451
|
-
* MID code for this shipnotice.
|
|
17452
|
-
* Note: this field has a limit of 15 chars.
|
|
17453
|
-
*/
|
|
17454
|
-
mid_code?: string;
|
|
17455
17551
|
/** notes by customer */
|
|
17456
17552
|
notes_by_customer?: string;
|
|
17457
17553
|
/** notes by whiplash */
|
|
@@ -17556,11 +17652,6 @@ export interface PostApiV21ShipnoticesRequest {
|
|
|
17556
17652
|
* @format int32
|
|
17557
17653
|
*/
|
|
17558
17654
|
warehouse_id?: number;
|
|
17559
|
-
/**
|
|
17560
|
-
* zone status of this shipnotice.
|
|
17561
|
-
* Note: this field has a limit of 3 chars.
|
|
17562
|
-
*/
|
|
17563
|
-
zone_status?: string;
|
|
17564
17655
|
}
|
|
17565
17656
|
export interface PostApiV21ShippingAliasesRequest {
|
|
17566
17657
|
/**
|
|
@@ -20858,21 +20949,6 @@ export interface PostApiV2ShipnoticesBulkRequest {
|
|
|
20858
20949
|
reference?: string;
|
|
20859
20950
|
/** JSON object of required and optional receiving quantities verified by staff */
|
|
20860
20951
|
quantities_verified?: object;
|
|
20861
|
-
/**
|
|
20862
|
-
* BOL proxy for this shipnotice.
|
|
20863
|
-
* Note: this field has a limit of 30 chars.
|
|
20864
|
-
*/
|
|
20865
|
-
bol_proxy?: string;
|
|
20866
|
-
/**
|
|
20867
|
-
* MID code for this shipnotice.
|
|
20868
|
-
* Note: this field has a limit of 15 chars.
|
|
20869
|
-
*/
|
|
20870
|
-
mid_code?: string;
|
|
20871
|
-
/**
|
|
20872
|
-
* zone status of this shipnotice.
|
|
20873
|
-
* Note: this field has a limit of 3 chars.
|
|
20874
|
-
*/
|
|
20875
|
-
zone_status?: string;
|
|
20876
20952
|
/** is inspection required? (default: false) */
|
|
20877
20953
|
inspection_required?: boolean;
|
|
20878
20954
|
/**
|
|
@@ -21038,11 +21114,6 @@ export interface PostApiV2ShipnoticesRequest {
|
|
|
21038
21114
|
* @format date-time
|
|
21039
21115
|
*/
|
|
21040
21116
|
arrived_at?: string;
|
|
21041
|
-
/**
|
|
21042
|
-
* BOL proxy for this shipnotice.
|
|
21043
|
-
* Note: this field has a limit of 30 chars.
|
|
21044
|
-
*/
|
|
21045
|
-
bol_proxy?: string;
|
|
21046
21117
|
carrier?: string;
|
|
21047
21118
|
/**
|
|
21048
21119
|
* the shipnotice completion date and time
|
|
@@ -21081,11 +21152,6 @@ export interface PostApiV2ShipnoticesRequest {
|
|
|
21081
21152
|
/** Included meta fields for associations */
|
|
21082
21153
|
association_fields?: object;
|
|
21083
21154
|
};
|
|
21084
|
-
/**
|
|
21085
|
-
* MID code for this shipnotice.
|
|
21086
|
-
* Note: this field has a limit of 15 chars.
|
|
21087
|
-
*/
|
|
21088
|
-
mid_code?: string;
|
|
21089
21155
|
/** notes by customer */
|
|
21090
21156
|
notes_by_customer?: string;
|
|
21091
21157
|
/** notes by whiplash */
|
|
@@ -21190,11 +21256,6 @@ export interface PostApiV2ShipnoticesRequest {
|
|
|
21190
21256
|
* @format int32
|
|
21191
21257
|
*/
|
|
21192
21258
|
warehouse_id?: number;
|
|
21193
|
-
/**
|
|
21194
|
-
* zone status of this shipnotice.
|
|
21195
|
-
* Note: this field has a limit of 3 chars.
|
|
21196
|
-
*/
|
|
21197
|
-
zone_status?: string;
|
|
21198
21259
|
}
|
|
21199
21260
|
export interface PostApiV2ShippingAliasesRequest {
|
|
21200
21261
|
/**
|
|
@@ -23556,6 +23617,18 @@ export interface PutApiV21PackagesIdRequest {
|
|
|
23556
23617
|
/** the package tracking number */
|
|
23557
23618
|
tracking?: string;
|
|
23558
23619
|
}
|
|
23620
|
+
export interface PutApiV21PalletsIdCallActionRequest {
|
|
23621
|
+
action?: string;
|
|
23622
|
+
/** Method params */
|
|
23623
|
+
args?: object;
|
|
23624
|
+
}
|
|
23625
|
+
export interface PutApiV21PalletsIdRequest {
|
|
23626
|
+
/**
|
|
23627
|
+
* the date and time when the LPN label was printed
|
|
23628
|
+
* @format date-time
|
|
23629
|
+
*/
|
|
23630
|
+
lpn_label_printed_at?: string;
|
|
23631
|
+
}
|
|
23559
23632
|
export interface PutApiV21PartnersIdRequest {
|
|
23560
23633
|
/** Partner billing address line 1. */
|
|
23561
23634
|
billing_address1?: string;
|
|
@@ -23970,11 +24043,6 @@ export interface PutApiV21ShipnoticesIdRequest {
|
|
|
23970
24043
|
* @format date-time
|
|
23971
24044
|
*/
|
|
23972
24045
|
arrived_at?: string;
|
|
23973
|
-
/**
|
|
23974
|
-
* BOL proxy for this shipnotice.
|
|
23975
|
-
* Note: this field has a limit of 30 chars.
|
|
23976
|
-
*/
|
|
23977
|
-
bol_proxy?: string;
|
|
23978
24046
|
carrier?: string;
|
|
23979
24047
|
/**
|
|
23980
24048
|
* the shipnotice completion date and time
|
|
@@ -24004,11 +24072,6 @@ export interface PutApiV21ShipnoticesIdRequest {
|
|
|
24004
24072
|
handling_billed?: boolean;
|
|
24005
24073
|
/** meta data for this shipnotice as stringified JSON */
|
|
24006
24074
|
meta_data?: string;
|
|
24007
|
-
/**
|
|
24008
|
-
* MID code for this shipnotice.
|
|
24009
|
-
* Note: this field has a limit of 15 chars.
|
|
24010
|
-
*/
|
|
24011
|
-
mid_code?: string;
|
|
24012
24075
|
/** notes by customer */
|
|
24013
24076
|
notes_by_customer?: string;
|
|
24014
24077
|
/** notes by whiplash */
|
|
@@ -24063,11 +24126,6 @@ export interface PutApiV21ShipnoticesIdRequest {
|
|
|
24063
24126
|
tracking?: string;
|
|
24064
24127
|
/** shipnotice type (Shipnotice, ConsumerReturn) */
|
|
24065
24128
|
type?: string;
|
|
24066
|
-
/**
|
|
24067
|
-
* zone status of this shipnotice.
|
|
24068
|
-
* Note: this field has a limit of 3 chars.
|
|
24069
|
-
*/
|
|
24070
|
-
zone_status?: string;
|
|
24071
24129
|
}
|
|
24072
24130
|
export interface PutApiV21ShippingAliasesIdRequest {
|
|
24073
24131
|
/**
|
|
@@ -26533,6 +26591,18 @@ export interface PutApiV2PackagesIdRequest {
|
|
|
26533
26591
|
/** the package tracking number */
|
|
26534
26592
|
tracking?: string;
|
|
26535
26593
|
}
|
|
26594
|
+
export interface PutApiV2PalletsIdCallActionRequest {
|
|
26595
|
+
action?: string;
|
|
26596
|
+
/** Method params */
|
|
26597
|
+
args?: object;
|
|
26598
|
+
}
|
|
26599
|
+
export interface PutApiV2PalletsIdRequest {
|
|
26600
|
+
/**
|
|
26601
|
+
* the date and time when the LPN label was printed
|
|
26602
|
+
* @format date-time
|
|
26603
|
+
*/
|
|
26604
|
+
lpn_label_printed_at?: string;
|
|
26605
|
+
}
|
|
26536
26606
|
export interface PutApiV2PartnersIdRequest {
|
|
26537
26607
|
/** Partner billing address line 1. */
|
|
26538
26608
|
billing_address1?: string;
|
|
@@ -26947,11 +27017,6 @@ export interface PutApiV2ShipnoticesIdRequest {
|
|
|
26947
27017
|
* @format date-time
|
|
26948
27018
|
*/
|
|
26949
27019
|
arrived_at?: string;
|
|
26950
|
-
/**
|
|
26951
|
-
* BOL proxy for this shipnotice.
|
|
26952
|
-
* Note: this field has a limit of 30 chars.
|
|
26953
|
-
*/
|
|
26954
|
-
bol_proxy?: string;
|
|
26955
27020
|
carrier?: string;
|
|
26956
27021
|
/**
|
|
26957
27022
|
* the shipnotice completion date and time
|
|
@@ -26981,11 +27046,6 @@ export interface PutApiV2ShipnoticesIdRequest {
|
|
|
26981
27046
|
handling_billed?: boolean;
|
|
26982
27047
|
/** meta data for this shipnotice as stringified JSON */
|
|
26983
27048
|
meta_data?: string;
|
|
26984
|
-
/**
|
|
26985
|
-
* MID code for this shipnotice.
|
|
26986
|
-
* Note: this field has a limit of 15 chars.
|
|
26987
|
-
*/
|
|
26988
|
-
mid_code?: string;
|
|
26989
27049
|
/** notes by customer */
|
|
26990
27050
|
notes_by_customer?: string;
|
|
26991
27051
|
/** notes by whiplash */
|
|
@@ -27040,11 +27100,6 @@ export interface PutApiV2ShipnoticesIdRequest {
|
|
|
27040
27100
|
tracking?: string;
|
|
27041
27101
|
/** shipnotice type (Shipnotice, ConsumerReturn) */
|
|
27042
27102
|
type?: string;
|
|
27043
|
-
/**
|
|
27044
|
-
* zone status of this shipnotice.
|
|
27045
|
-
* Note: this field has a limit of 3 chars.
|
|
27046
|
-
*/
|
|
27047
|
-
zone_status?: string;
|
|
27048
27103
|
}
|
|
27049
27104
|
export interface PutApiV2ShippingAliasesIdRequest {
|
|
27050
27105
|
/**
|
|
@@ -49,6 +49,7 @@ export * from './v2_1/order/processing';
|
|
|
49
49
|
export * from './v2_1/shipnotice/processing';
|
|
50
50
|
export * from './v2_1/originator/created';
|
|
51
51
|
export * from './v2_1/package/created';
|
|
52
|
+
export * from './v2_1/pallet/created';
|
|
52
53
|
export * from './v2_1/partner/created';
|
|
53
54
|
export * from './v2_1/prepack/created';
|
|
54
55
|
export * from './v2_1/project-task/created';
|