@whiplashmerch/whiplash-api-client 3.2.41 → 3.2.43
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 +1702 -1
- package/dist/client.esm.js.map +1 -1
- package/dist/generated/data-contracts.d.ts +28 -0
- package/dist/mock-data/index.d.ts +18 -0
- package/dist/mock-data/v2/load/for-pallet.d.ts +22 -0
- package/dist/mock-data/v2/order-batch/for-pallet.d.ts +116 -0
- package/dist/mock-data/v2/package/on-pallet.d.ts +5 -0
- package/dist/mock-data/v2/pallet/assigned.d.ts +13 -0
- package/dist/mock-data/v2/pallet/listing.d.ts +13 -0
- package/dist/mock-data/v2/pallet/single.d.ts +13 -0
- package/dist/mock-data/v2/pallet-info/listing.d.ts +8 -0
- package/dist/mock-data/v2/pallet-location/created.d.ts +8 -0
- package/dist/mock-data/v2/pallet-location/listing.d.ts +8 -0
- package/dist/mock-data/v2/pallet-location/single.d.ts +8 -0
- package/dist/mock-data/v2_1/load/for-pallet.d.ts +22 -0
- package/dist/mock-data/v2_1/order-batch/for-pallet.d.ts +41 -0
- package/dist/mock-data/v2_1/package/on-pallet.d.ts +5 -0
- package/dist/mock-data/v2_1/pallet/listing.d.ts +13 -0
- package/dist/mock-data/v2_1/pallet/single.d.ts +13 -0
- package/dist/mock-data/v2_1/pallet-info/listing.d.ts +8 -0
- package/dist/mock-data/v2_1/pallet-location/listing.d.ts +8 -0
- package/dist/mock-data/v2_1/pallet-location/single.d.ts +8 -0
- package/generated/data-contracts.ts +28 -0
- package/package.json +1 -1
|
@@ -11408,6 +11408,20 @@ export interface GetApiV21DocumentsParams {
|
|
|
11408
11408
|
sort?: string;
|
|
11409
11409
|
/** A comma separated list of tags to search on (ex: "account transaction,AccountExporters::Invoice"). */
|
|
11410
11410
|
tagged_with?: string;
|
|
11411
|
+
/**
|
|
11412
|
+
* Page of results to fetch
|
|
11413
|
+
* @format int32
|
|
11414
|
+
*/
|
|
11415
|
+
page?: number;
|
|
11416
|
+
/**
|
|
11417
|
+
* Number of results to return per page
|
|
11418
|
+
* @format int32
|
|
11419
|
+
*/
|
|
11420
|
+
per_page?: number;
|
|
11421
|
+
/** Include total count of results */
|
|
11422
|
+
page_total?: boolean;
|
|
11423
|
+
/** Include prev/next links in response headers */
|
|
11424
|
+
page_links?: boolean;
|
|
11411
11425
|
}
|
|
11412
11426
|
export interface GetApiV21FilterSetsCountParams {
|
|
11413
11427
|
/** JSON search string like {"attribute_eq": "Term"} */
|
|
@@ -14308,6 +14322,20 @@ export interface GetApiV2DocumentsParams {
|
|
|
14308
14322
|
sort?: string;
|
|
14309
14323
|
/** A comma separated list of tags to search on (ex: "account transaction,AccountExporters::Invoice"). */
|
|
14310
14324
|
tagged_with?: string;
|
|
14325
|
+
/**
|
|
14326
|
+
* Page of results to fetch
|
|
14327
|
+
* @format int32
|
|
14328
|
+
*/
|
|
14329
|
+
page?: number;
|
|
14330
|
+
/**
|
|
14331
|
+
* Number of results to return per page
|
|
14332
|
+
* @format int32
|
|
14333
|
+
*/
|
|
14334
|
+
per_page?: number;
|
|
14335
|
+
/** Include total count of results */
|
|
14336
|
+
page_total?: boolean;
|
|
14337
|
+
/** Include prev/next links in response headers */
|
|
14338
|
+
page_links?: boolean;
|
|
14311
14339
|
}
|
|
14312
14340
|
export interface GetApiV2FilterSetsCountParams {
|
|
14313
14341
|
/** JSON search string like {"attribute_eq": "Term"} */
|
|
@@ -15,6 +15,7 @@ export * from './v2/load/closed';
|
|
|
15
15
|
export * from './v2/load/closed-listing';
|
|
16
16
|
export * from './v2/load/trait-closeable-all-met';
|
|
17
17
|
export * from './v2/load/trait-closeable-partial';
|
|
18
|
+
export * from './v2/load/for-pallet';
|
|
18
19
|
export * from './v2/load/created';
|
|
19
20
|
export * from './v2/order-batch/in-load';
|
|
20
21
|
export * from './v2/order-batch/in-load-with-grouping';
|
|
@@ -23,10 +24,19 @@ export * from './v2/location/multiple';
|
|
|
23
24
|
export * from './v2/location/single';
|
|
24
25
|
export * from './v2/nav/normal';
|
|
25
26
|
export * from './v2/order-batch/wholesale-available';
|
|
27
|
+
export * from './v2/order-batch/for-pallet';
|
|
26
28
|
export * from './v2/order/all';
|
|
27
29
|
export * from './v2/order/processing';
|
|
28
30
|
export * from './v2/shipnotice/processing';
|
|
29
31
|
export * from './v2/shipnotice/in-transit';
|
|
32
|
+
export * from './v2/package/on-pallet';
|
|
33
|
+
export * from './v2/pallet-location/listing';
|
|
34
|
+
export * from './v2/pallet-location/created';
|
|
35
|
+
export * from './v2/pallet-location/single';
|
|
36
|
+
export * from './v2/pallet-info/listing';
|
|
37
|
+
export * from './v2/pallet/listing';
|
|
38
|
+
export * from './v2/pallet/single';
|
|
39
|
+
export * from './v2/pallet/assigned';
|
|
30
40
|
export * from './v2/shipnotice/all';
|
|
31
41
|
export * from './v2/user/normal';
|
|
32
42
|
export * from './v2/warehouse/normal';
|
|
@@ -62,6 +72,7 @@ export * from './v2_1/load/closed';
|
|
|
62
72
|
export * from './v2_1/load/closed-listing';
|
|
63
73
|
export * from './v2_1/load/trait-closeable-all-met';
|
|
64
74
|
export * from './v2_1/load/trait-closeable-partial';
|
|
75
|
+
export * from './v2_1/load/for-pallet';
|
|
65
76
|
export * from './v2_1/load/created';
|
|
66
77
|
export * from './v2_1/order-batch/in-load';
|
|
67
78
|
export * from './v2_1/order-batch/in-load-with-grouping';
|
|
@@ -76,6 +87,7 @@ export * from './v2_1/meta-key/created';
|
|
|
76
87
|
export * from './v2_1/nav/normal';
|
|
77
88
|
export * from './v2_1/notification-subscription/created';
|
|
78
89
|
export * from './v2_1/order-batch/wholesale-available';
|
|
90
|
+
export * from './v2_1/order-batch/for-pallet';
|
|
79
91
|
export * from './v2_1/order-document/created';
|
|
80
92
|
export * from './v2_1/order-item/created';
|
|
81
93
|
export * from './v2_1/order/all';
|
|
@@ -87,8 +99,14 @@ export * from './v2_1/shipnotice/processing';
|
|
|
87
99
|
export * from './v2_1/originator/created';
|
|
88
100
|
export * from './v2_1/package-label-reference/created';
|
|
89
101
|
export * from './v2_1/package/created';
|
|
102
|
+
export * from './v2_1/package/on-pallet';
|
|
103
|
+
export * from './v2_1/pallet-location/listing';
|
|
90
104
|
export * from './v2_1/pallet-location/created';
|
|
105
|
+
export * from './v2_1/pallet-location/single';
|
|
106
|
+
export * from './v2_1/pallet-info/listing';
|
|
107
|
+
export * from './v2_1/pallet/listing';
|
|
91
108
|
export * from './v2_1/pallet/created';
|
|
109
|
+
export * from './v2_1/pallet/single';
|
|
92
110
|
export * from './v2_1/partner/created';
|
|
93
111
|
export * from './v2_1/prepack/created';
|
|
94
112
|
export * from './v2_1/project-task/created';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare const ApiV2LoadForPalletExample: {
|
|
2
|
+
id: number;
|
|
3
|
+
status: string;
|
|
4
|
+
closed_at_datetime: null;
|
|
5
|
+
wholesale_purchase_order_number: string;
|
|
6
|
+
wholesale_distribution_center: string;
|
|
7
|
+
wholesale_vendor: string;
|
|
8
|
+
wholesale_start_date: string;
|
|
9
|
+
packages_count: null;
|
|
10
|
+
packages_total_weight: null;
|
|
11
|
+
packages_total_dimensional_weight: null;
|
|
12
|
+
order_batches_count: number;
|
|
13
|
+
warehouse_id: number;
|
|
14
|
+
created_at: string;
|
|
15
|
+
updated_at: string;
|
|
16
|
+
cascade_routing: boolean;
|
|
17
|
+
appointment_datetime: null;
|
|
18
|
+
bill_of_lading_id: null;
|
|
19
|
+
customer_id: number;
|
|
20
|
+
notes: null;
|
|
21
|
+
reference: string;
|
|
22
|
+
};
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
export declare const ApiV2OrderBatchForPalletExample: {
|
|
2
|
+
id: number;
|
|
3
|
+
created_at: string;
|
|
4
|
+
updated_at: string;
|
|
5
|
+
status: number;
|
|
6
|
+
status_name: string;
|
|
7
|
+
warehouse_id: number;
|
|
8
|
+
assigned_to: null;
|
|
9
|
+
packingslips_pdf_url: string;
|
|
10
|
+
cf_packingslips_pdf_url: string;
|
|
11
|
+
packingslips_printed_at: null;
|
|
12
|
+
picklist_pdf_url: null;
|
|
13
|
+
started_at: null;
|
|
14
|
+
stopped_at: null;
|
|
15
|
+
expedited_shipping: null;
|
|
16
|
+
identical_orders: null;
|
|
17
|
+
pick_strategy: string;
|
|
18
|
+
single_item: null;
|
|
19
|
+
order_batch_item_count: number;
|
|
20
|
+
order_batch_item_quantity: number;
|
|
21
|
+
location_roles: string[];
|
|
22
|
+
actual_location_roles: never[];
|
|
23
|
+
short_form: null;
|
|
24
|
+
grouping_fields: {
|
|
25
|
+
wholesale_po_number: string;
|
|
26
|
+
};
|
|
27
|
+
bol_id: null;
|
|
28
|
+
call_in_date: null;
|
|
29
|
+
requested_ship_date: null;
|
|
30
|
+
bill_of_lading_id: null;
|
|
31
|
+
load_id: number;
|
|
32
|
+
customer_id: number;
|
|
33
|
+
packages_count: number;
|
|
34
|
+
packages_total_weight: null;
|
|
35
|
+
packages_total_dimensional_weight: null;
|
|
36
|
+
items_count: number;
|
|
37
|
+
items_total_quantity: number;
|
|
38
|
+
order_batch_request_id: null;
|
|
39
|
+
international: null;
|
|
40
|
+
expedited_orders: null;
|
|
41
|
+
prepack: null;
|
|
42
|
+
user: null;
|
|
43
|
+
warehouse: {
|
|
44
|
+
id: number;
|
|
45
|
+
name: string;
|
|
46
|
+
timezone: string;
|
|
47
|
+
timezone_raw: string;
|
|
48
|
+
partner_id: number;
|
|
49
|
+
shipping_address_1: string;
|
|
50
|
+
shipping_address_2: string;
|
|
51
|
+
shipping_city: string;
|
|
52
|
+
shipping_state: string;
|
|
53
|
+
shipping_zip: string;
|
|
54
|
+
shipping_country: string;
|
|
55
|
+
shipping_country_iso2: string;
|
|
56
|
+
latitude: number;
|
|
57
|
+
longitude: number;
|
|
58
|
+
slug: string;
|
|
59
|
+
default_pick_strategy: string;
|
|
60
|
+
bin_total_count_max: null;
|
|
61
|
+
bin_cubic_volume_max: null;
|
|
62
|
+
number_of_groups: null;
|
|
63
|
+
fedex_pickup_time: null;
|
|
64
|
+
active: boolean;
|
|
65
|
+
square_footage: number;
|
|
66
|
+
created_at: string;
|
|
67
|
+
updated_at: string;
|
|
68
|
+
ups_shipper_number: string;
|
|
69
|
+
email: string;
|
|
70
|
+
ups_carrier_facility: string;
|
|
71
|
+
currency: string;
|
|
72
|
+
vat: null;
|
|
73
|
+
domestic_return_labels: boolean;
|
|
74
|
+
international_return_labels: boolean;
|
|
75
|
+
accepting_new_customers: boolean;
|
|
76
|
+
receiving_hours: string;
|
|
77
|
+
pickup_hours: null;
|
|
78
|
+
contact_name: string;
|
|
79
|
+
contact_phone: null;
|
|
80
|
+
delivery_appointment_required: boolean;
|
|
81
|
+
label_format: string;
|
|
82
|
+
shipping_label_format: string;
|
|
83
|
+
loading_dock_quantity: number;
|
|
84
|
+
receiving_special_instructions: string;
|
|
85
|
+
single_item_batch_size: null;
|
|
86
|
+
packaging_customer_id: null;
|
|
87
|
+
notes: null;
|
|
88
|
+
warehouse_features: {
|
|
89
|
+
id: number;
|
|
90
|
+
feature: string;
|
|
91
|
+
feature_code: string;
|
|
92
|
+
created_at: string;
|
|
93
|
+
updated_at: string;
|
|
94
|
+
warehouses: {
|
|
95
|
+
id: number;
|
|
96
|
+
name: string;
|
|
97
|
+
timezone: string;
|
|
98
|
+
timezone_raw: string;
|
|
99
|
+
partner_id: number;
|
|
100
|
+
shipping_address_1: string;
|
|
101
|
+
shipping_address_2: string;
|
|
102
|
+
shipping_city: string;
|
|
103
|
+
shipping_state: string;
|
|
104
|
+
shipping_zip: string;
|
|
105
|
+
shipping_country: string;
|
|
106
|
+
shipping_country_iso2: string;
|
|
107
|
+
latitude: number;
|
|
108
|
+
longitude: number;
|
|
109
|
+
slug: string;
|
|
110
|
+
}[];
|
|
111
|
+
}[];
|
|
112
|
+
};
|
|
113
|
+
groups: {
|
|
114
|
+
109432564: number;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const ApiV2PalletAssignedExample: {
|
|
2
|
+
id: number;
|
|
3
|
+
warehouse_id: number;
|
|
4
|
+
pallet_location_id: number;
|
|
5
|
+
number: string;
|
|
6
|
+
total_package_count: number;
|
|
7
|
+
total_item_count: number;
|
|
8
|
+
total_dimensional_weight: null;
|
|
9
|
+
total_weight: string;
|
|
10
|
+
lpn_label_printed_at: null;
|
|
11
|
+
created_at: string;
|
|
12
|
+
updated_at: string;
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const ApiV2PalletListingExample: {
|
|
2
|
+
id: number;
|
|
3
|
+
warehouse_id: number;
|
|
4
|
+
pallet_location_id: number;
|
|
5
|
+
number: string;
|
|
6
|
+
total_package_count: number;
|
|
7
|
+
total_item_count: number;
|
|
8
|
+
total_dimensional_weight: null;
|
|
9
|
+
total_weight: string;
|
|
10
|
+
lpn_label_printed_at: null;
|
|
11
|
+
created_at: string;
|
|
12
|
+
updated_at: string;
|
|
13
|
+
}[];
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const ApiV2PalletSingleExample: {
|
|
2
|
+
id: number;
|
|
3
|
+
warehouse_id: number;
|
|
4
|
+
pallet_location_id: null;
|
|
5
|
+
number: string;
|
|
6
|
+
total_package_count: number;
|
|
7
|
+
total_item_count: number;
|
|
8
|
+
total_dimensional_weight: null;
|
|
9
|
+
total_weight: string;
|
|
10
|
+
lpn_label_printed_at: null;
|
|
11
|
+
created_at: string;
|
|
12
|
+
updated_at: string;
|
|
13
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare const ApiV21LoadForPalletExample: {
|
|
2
|
+
id: number;
|
|
3
|
+
status: string;
|
|
4
|
+
closed_at_datetime: null;
|
|
5
|
+
wholesale_purchase_order_number: string;
|
|
6
|
+
wholesale_distribution_center: string;
|
|
7
|
+
wholesale_vendor: string;
|
|
8
|
+
wholesale_start_date: string;
|
|
9
|
+
packages_count: null;
|
|
10
|
+
packages_total_weight: null;
|
|
11
|
+
packages_total_dimensional_weight: null;
|
|
12
|
+
order_batches_count: number;
|
|
13
|
+
warehouse_id: number;
|
|
14
|
+
created_at: string;
|
|
15
|
+
updated_at: string;
|
|
16
|
+
cascade_routing: boolean;
|
|
17
|
+
appointment_datetime: null;
|
|
18
|
+
bill_of_lading_id: null;
|
|
19
|
+
customer_id: number;
|
|
20
|
+
notes: null;
|
|
21
|
+
reference: string;
|
|
22
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export declare const ApiV21OrderBatchForPalletExample: {
|
|
2
|
+
id: number;
|
|
3
|
+
created_at: string;
|
|
4
|
+
updated_at: string;
|
|
5
|
+
status: number;
|
|
6
|
+
status_name: string;
|
|
7
|
+
warehouse_id: number;
|
|
8
|
+
assigned_to: null;
|
|
9
|
+
packingslips_pdf_url: string;
|
|
10
|
+
cf_packingslips_pdf_url: string;
|
|
11
|
+
packingslips_printed_at: null;
|
|
12
|
+
picklist_pdf_url: null;
|
|
13
|
+
started_at: null;
|
|
14
|
+
stopped_at: null;
|
|
15
|
+
expedited_shipping: null;
|
|
16
|
+
identical_orders: null;
|
|
17
|
+
pick_strategy: string;
|
|
18
|
+
single_item: null;
|
|
19
|
+
order_batch_item_count: number;
|
|
20
|
+
order_batch_item_quantity: number;
|
|
21
|
+
location_roles: string[];
|
|
22
|
+
short_form: null;
|
|
23
|
+
grouping_fields: {
|
|
24
|
+
wholesale_po_number: string;
|
|
25
|
+
};
|
|
26
|
+
bol_id: null;
|
|
27
|
+
call_in_date: null;
|
|
28
|
+
requested_ship_date: null;
|
|
29
|
+
bill_of_lading_id: null;
|
|
30
|
+
load_id: number;
|
|
31
|
+
customer_id: number;
|
|
32
|
+
packages_count: number;
|
|
33
|
+
packages_total_weight: null;
|
|
34
|
+
packages_total_dimensional_weight: null;
|
|
35
|
+
items_count: number;
|
|
36
|
+
items_total_quantity: number;
|
|
37
|
+
order_batch_request_id: null;
|
|
38
|
+
international: null;
|
|
39
|
+
expedited_orders: null;
|
|
40
|
+
prepack: null;
|
|
41
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const ApiV21PalletListingExample: {
|
|
2
|
+
id: number;
|
|
3
|
+
warehouse_id: number;
|
|
4
|
+
pallet_location_id: number;
|
|
5
|
+
number: string;
|
|
6
|
+
total_package_count: number;
|
|
7
|
+
total_item_count: number;
|
|
8
|
+
total_dimensional_weight: null;
|
|
9
|
+
total_weight: string;
|
|
10
|
+
lpn_label_printed_at: null;
|
|
11
|
+
created_at: string;
|
|
12
|
+
updated_at: string;
|
|
13
|
+
}[];
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const ApiV21PalletSingleExample: {
|
|
2
|
+
id: number;
|
|
3
|
+
warehouse_id: number;
|
|
4
|
+
pallet_location_id: null;
|
|
5
|
+
number: string;
|
|
6
|
+
total_package_count: number;
|
|
7
|
+
total_item_count: number;
|
|
8
|
+
total_dimensional_weight: null;
|
|
9
|
+
total_weight: string;
|
|
10
|
+
lpn_label_printed_at: null;
|
|
11
|
+
created_at: string;
|
|
12
|
+
updated_at: string;
|
|
13
|
+
};
|
|
@@ -5404,6 +5404,20 @@ export interface GetApiV21DocumentsParams {
|
|
|
5404
5404
|
sort?: string;
|
|
5405
5405
|
/** A comma separated list of tags to search on (ex: "account transaction,AccountExporters::Invoice"). */
|
|
5406
5406
|
tagged_with?: string;
|
|
5407
|
+
/**
|
|
5408
|
+
* Page of results to fetch
|
|
5409
|
+
* @format int32
|
|
5410
|
+
*/
|
|
5411
|
+
page?: number;
|
|
5412
|
+
/**
|
|
5413
|
+
* Number of results to return per page
|
|
5414
|
+
* @format int32
|
|
5415
|
+
*/
|
|
5416
|
+
per_page?: number;
|
|
5417
|
+
/** Include total count of results */
|
|
5418
|
+
page_total?: boolean;
|
|
5419
|
+
/** Include prev/next links in response headers */
|
|
5420
|
+
page_links?: boolean;
|
|
5407
5421
|
}
|
|
5408
5422
|
|
|
5409
5423
|
export interface GetApiV21ItemsCountParams {
|
|
@@ -6126,6 +6140,20 @@ export interface GetApiV2DocumentsParams {
|
|
|
6126
6140
|
sort?: string;
|
|
6127
6141
|
/** A comma separated list of tags to search on (ex: "account transaction,AccountExporters::Invoice"). */
|
|
6128
6142
|
tagged_with?: string;
|
|
6143
|
+
/**
|
|
6144
|
+
* Page of results to fetch
|
|
6145
|
+
* @format int32
|
|
6146
|
+
*/
|
|
6147
|
+
page?: number;
|
|
6148
|
+
/**
|
|
6149
|
+
* Number of results to return per page
|
|
6150
|
+
* @format int32
|
|
6151
|
+
*/
|
|
6152
|
+
per_page?: number;
|
|
6153
|
+
/** Include total count of results */
|
|
6154
|
+
page_total?: boolean;
|
|
6155
|
+
/** Include prev/next links in response headers */
|
|
6156
|
+
page_links?: boolean;
|
|
6129
6157
|
}
|
|
6130
6158
|
|
|
6131
6159
|
export interface GetApiV2ItemsCountParams {
|