@whiplashmerch/whiplash-api-client 2.0.10 → 2.0.12
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 +2808 -3113
- package/dist/client.esm.js.map +1 -1
- package/dist/generated/Accounts.d.ts +9 -0
- package/dist/generated/Addresses.d.ts +19 -1
- package/dist/generated/BillOfLadings.d.ts +2 -2
- package/dist/generated/Broadcasts.d.ts +2 -2
- package/dist/generated/Cache.d.ts +6 -6
- package/dist/generated/CarrierAccounts.d.ts +13 -4
- package/dist/generated/Chaos.d.ts +55 -1
- package/dist/generated/ConsumerReturns.d.ts +2 -2
- package/dist/generated/Customers.d.ts +13 -4
- package/dist/generated/Documents.d.ts +2 -2
- package/dist/generated/FilterSets.d.ts +2 -2
- package/dist/generated/Incidents.d.ts +2 -2
- package/dist/generated/Invoices.d.ts +2 -2
- package/dist/generated/Items.d.ts +13 -4
- package/dist/generated/Loads.d.ts +4 -4
- package/dist/generated/Locales.d.ts +2 -2
- package/dist/generated/LocationAdjustments.d.ts +64 -1
- package/dist/generated/Locations.d.ts +11 -2
- package/dist/generated/Lots.d.ts +9 -0
- package/dist/generated/Manifests.d.ts +6 -6
- package/dist/generated/OrderBatches.d.ts +13 -4
- package/dist/generated/OrderItems.d.ts +11 -2
- package/dist/generated/Orders.d.ts +15 -6
- package/dist/generated/Originators.d.ts +9 -0
- package/dist/generated/Packages.d.ts +15 -6
- package/dist/generated/Prepacks.d.ts +10 -1
- package/dist/generated/Public.d.ts +4 -4
- package/dist/generated/Rates.d.ts +9 -0
- package/dist/generated/ReasonCodes.d.ts +19 -1
- package/dist/generated/Rules.d.ts +9 -0
- package/dist/generated/Scancodes.d.ts +19 -1
- package/dist/generated/SerialNumbers.d.ts +2 -2
- package/dist/generated/ShipnoticeItems.d.ts +41 -5
- package/dist/generated/Shipnotices.d.ts +13 -4
- package/dist/generated/ShippingAliases.d.ts +9 -0
- package/dist/generated/ShippingMethodMarkups.d.ts +9 -0
- package/dist/generated/Shops.d.ts +9 -0
- package/dist/generated/Stats.d.ts +6 -6
- package/dist/generated/SurchargeMarkups.d.ts +55 -1
- package/dist/generated/Templates.d.ts +9 -0
- package/dist/generated/Transactions.d.ts +9 -0
- package/dist/generated/TransportationMarkups.d.ts +55 -1
- package/dist/generated/Users.d.ts +13 -4
- package/dist/generated/Warehouses.d.ts +14 -5
- package/dist/generated/data-contracts.d.ts +19749 -19000
- package/dist/generated/index.d.ts +0 -1
- package/dist/mock-data/index.d.ts +11 -3
- package/dist/mock-data/v2/customer/normal.d.ts +198 -0
- package/dist/mock-data/v2/nav/normal.d.ts +68 -0
- package/dist/mock-data/v2/user/normal.d.ts +20 -0
- package/dist/mock-data/v2/warehouse/normal.d.ts +47 -0
- package/dist/mock-data/v2_1/nav/normal.d.ts +68 -0
- package/dist/mock-data/v2_1/order/all.d.ts +2 -1020
- package/dist/mock-data/v2_1/prepack/created.d.ts +1 -0
- package/dist/mock-data/v2_1/shipnotice/all.d.ts +2 -256
- package/dist/mock-data/v2_1/surcharge-markup/created.d.ts +1 -0
- package/dist/mock-data/v2_1/tag/created.d.ts +1 -0
- package/dist/mock-data/v2_1/transportation-markup/created.d.ts +1 -0
- package/generated/Customers.ts +2 -2
- package/generated/Documents.ts +2 -2
- package/generated/Items.ts +2 -2
- package/generated/OrderItems.ts +2 -2
- package/generated/Orders.ts +2 -2
- package/generated/ShipnoticeItems.ts +2 -2
- package/generated/Shipnotices.ts +2 -2
- package/generated/data-contracts.ts +9318 -9087
- package/package.json +1 -1
- package/dist/generated/Pallets.d.ts +0 -146
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ApiV21PrepackCreatedExample = "{\"id\":123}";
|
|
@@ -1,257 +1,4 @@
|
|
|
1
1
|
export declare const ApiV21ShipnoticeAllExample: ({
|
|
2
|
-
id: number;
|
|
3
|
-
customer_id: number;
|
|
4
|
-
warehouse_id: number;
|
|
5
|
-
sender: string;
|
|
6
|
-
eta: string;
|
|
7
|
-
status: number;
|
|
8
|
-
status_name: string;
|
|
9
|
-
received_by: null;
|
|
10
|
-
notes_by_whiplash: null;
|
|
11
|
-
notes_by_customer: null;
|
|
12
|
-
total_boxes: null;
|
|
13
|
-
created_at: string;
|
|
14
|
-
updated_at: string;
|
|
15
|
-
arrived_at: string;
|
|
16
|
-
skip_images: null;
|
|
17
|
-
easypostable_id: null;
|
|
18
|
-
easypostable_type: string;
|
|
19
|
-
shipping_label_url: null;
|
|
20
|
-
ship_actual_cost: null;
|
|
21
|
-
shipping_method_text: null;
|
|
22
|
-
carrier: null;
|
|
23
|
-
shipping_method_id: null;
|
|
24
|
-
tracking: null;
|
|
25
|
-
order_id: null;
|
|
26
|
-
type: string;
|
|
27
|
-
postage_billed: null;
|
|
28
|
-
handling_billed: null;
|
|
29
|
-
ship_3rdparty_cost: null;
|
|
30
|
-
requires_label: boolean;
|
|
31
|
-
completed_at: string;
|
|
32
|
-
ship_actual_currency: null;
|
|
33
|
-
delivered_at: string;
|
|
34
|
-
due_at: string;
|
|
35
|
-
meta_data: null;
|
|
36
|
-
reference: null;
|
|
37
|
-
customer: {
|
|
38
|
-
id: number;
|
|
39
|
-
name: string;
|
|
40
|
-
created_at: string;
|
|
41
|
-
active: boolean;
|
|
42
|
-
auto_merge_gestation: null;
|
|
43
|
-
default_warehouse_id: number;
|
|
44
|
-
eori_number: null;
|
|
45
|
-
estimated_monthly_volume: null;
|
|
46
|
-
fedex_account: null;
|
|
47
|
-
from_email: null;
|
|
48
|
-
instructions: null;
|
|
49
|
-
item_scanning_preference: boolean;
|
|
50
|
-
label_format: null;
|
|
51
|
-
notes: null;
|
|
52
|
-
notify_originator: boolean;
|
|
53
|
-
notify_originator_inventory: number;
|
|
54
|
-
originator_permissions: boolean;
|
|
55
|
-
packing_slip_msg: null;
|
|
56
|
-
packingslip_template: string;
|
|
57
|
-
request_serial_numbers: boolean;
|
|
58
|
-
ship_method_preference: number;
|
|
59
|
-
shipping_name: string;
|
|
60
|
-
ups_account: null;
|
|
61
|
-
vat_number: null;
|
|
62
|
-
ein: null;
|
|
63
|
-
warehouse_fallback: number;
|
|
64
|
-
payment_hold: boolean;
|
|
65
|
-
whitelisted_warehouses: {
|
|
66
|
-
id: number;
|
|
67
|
-
name: string;
|
|
68
|
-
timezone: string;
|
|
69
|
-
shipping_address_1: string;
|
|
70
|
-
shipping_address_2: string;
|
|
71
|
-
shipping_city: string;
|
|
72
|
-
shipping_state: string;
|
|
73
|
-
shipping_zip: string;
|
|
74
|
-
shipping_country: string;
|
|
75
|
-
shipping_country_iso2: string;
|
|
76
|
-
latitude: number;
|
|
77
|
-
longitude: number;
|
|
78
|
-
}[];
|
|
79
|
-
activated_at: string;
|
|
80
|
-
deactivated_at: null;
|
|
81
|
-
auto_merge_skus: boolean;
|
|
82
|
-
authentication_token: string;
|
|
83
|
-
billing_email: string;
|
|
84
|
-
billing_contact_name: string;
|
|
85
|
-
billing_company: null;
|
|
86
|
-
billing_phone1: null;
|
|
87
|
-
billing_phone2: null;
|
|
88
|
-
billing_address1: string;
|
|
89
|
-
billing_address2: null;
|
|
90
|
-
billing_address3: null;
|
|
91
|
-
billing_city: string;
|
|
92
|
-
billing_state: string;
|
|
93
|
-
billing_zip: string;
|
|
94
|
-
billing_country: string;
|
|
95
|
-
billing_residential: null;
|
|
96
|
-
items_returnable: boolean;
|
|
97
|
-
items_exchangeable: boolean;
|
|
98
|
-
return_time_limit: number;
|
|
99
|
-
return_label_expires_in: number;
|
|
100
|
-
return_price_restricted: boolean;
|
|
101
|
-
return_sku_match: null;
|
|
102
|
-
rma_display_logo: boolean;
|
|
103
|
-
rma_footer_content: null;
|
|
104
|
-
return_name: null;
|
|
105
|
-
return_company: null;
|
|
106
|
-
return_email: null;
|
|
107
|
-
return_phone: null;
|
|
108
|
-
return_address_1: null;
|
|
109
|
-
return_address_2: null;
|
|
110
|
-
return_city: null;
|
|
111
|
-
return_state: null;
|
|
112
|
-
return_zip: null;
|
|
113
|
-
return_country: null;
|
|
114
|
-
supports_return_labels: boolean;
|
|
115
|
-
logo_content_type: null;
|
|
116
|
-
logo_file_name: null;
|
|
117
|
-
logo_file_size: null;
|
|
118
|
-
logo_updated_at: null;
|
|
119
|
-
full_logo_url: string;
|
|
120
|
-
email_confirmation_from: string;
|
|
121
|
-
email_confirmation_name: string;
|
|
122
|
-
email_confirmation_msg: string;
|
|
123
|
-
email_confirmation_preference: number;
|
|
124
|
-
email_confirmation_template: string;
|
|
125
|
-
low_inventory_threshold: null;
|
|
126
|
-
lot_control: boolean;
|
|
127
|
-
expiration_period: null;
|
|
128
|
-
ship_strategy: number;
|
|
129
|
-
items_unavailable_on_sellout: boolean;
|
|
130
|
-
replenishment_min: null;
|
|
131
|
-
replenishment_target: null;
|
|
132
|
-
account_level?: undefined;
|
|
133
|
-
account_level_name?: undefined;
|
|
134
|
-
allow_international_returns?: undefined;
|
|
135
|
-
};
|
|
136
|
-
warehouse: {
|
|
137
|
-
id: number;
|
|
138
|
-
name: string;
|
|
139
|
-
timezone: string;
|
|
140
|
-
shipping_address_1: string;
|
|
141
|
-
shipping_address_2: string;
|
|
142
|
-
shipping_city: string;
|
|
143
|
-
shipping_state: string;
|
|
144
|
-
shipping_zip: string;
|
|
145
|
-
shipping_country: string;
|
|
146
|
-
shipping_country_iso2: string;
|
|
147
|
-
latitude: number;
|
|
148
|
-
longitude: number;
|
|
149
|
-
};
|
|
150
|
-
originator: {
|
|
151
|
-
id: number;
|
|
152
|
-
originated_id: number;
|
|
153
|
-
originated_type: string;
|
|
154
|
-
shop_id: null;
|
|
155
|
-
provider: string;
|
|
156
|
-
original_id: null;
|
|
157
|
-
group_id: null;
|
|
158
|
-
misc: null;
|
|
159
|
-
active: boolean;
|
|
160
|
-
integration_id: null;
|
|
161
|
-
last_notified_at: null;
|
|
162
|
-
last_notification_status: null;
|
|
163
|
-
distinct_originator_key: null;
|
|
164
|
-
created_at: string;
|
|
165
|
-
updated_at: string;
|
|
166
|
-
application_id: null;
|
|
167
|
-
};
|
|
168
|
-
shipping_method: null;
|
|
169
|
-
shipnotice_items: {
|
|
170
|
-
id: number;
|
|
171
|
-
shipnotice_id: number;
|
|
172
|
-
item_id: number;
|
|
173
|
-
quantity: number;
|
|
174
|
-
quantity_good: number;
|
|
175
|
-
quantity_damaged: number;
|
|
176
|
-
description: null;
|
|
177
|
-
extended_description: null;
|
|
178
|
-
include_in_published: boolean;
|
|
179
|
-
return_action: null;
|
|
180
|
-
created_at: string;
|
|
181
|
-
updated_at: string;
|
|
182
|
-
item: {
|
|
183
|
-
id: number;
|
|
184
|
-
sku: string;
|
|
185
|
-
title: string;
|
|
186
|
-
description: string;
|
|
187
|
-
original_location: null;
|
|
188
|
-
created_at: string;
|
|
189
|
-
updated_at: string;
|
|
190
|
-
customer_id: number;
|
|
191
|
-
quantity: number;
|
|
192
|
-
weight: string;
|
|
193
|
-
available: boolean;
|
|
194
|
-
image_originator_url: null;
|
|
195
|
-
vendor: null;
|
|
196
|
-
scancode: string;
|
|
197
|
-
price: string;
|
|
198
|
-
media_mail: boolean;
|
|
199
|
-
packaging: boolean;
|
|
200
|
-
length: string;
|
|
201
|
-
width: string;
|
|
202
|
-
height: string;
|
|
203
|
-
active: boolean;
|
|
204
|
-
wholesale_cost: null;
|
|
205
|
-
is_bundle: boolean;
|
|
206
|
-
packaging_type: null;
|
|
207
|
-
promo: boolean;
|
|
208
|
-
street_date: null;
|
|
209
|
-
category: null;
|
|
210
|
-
include_inbound_in_published: boolean;
|
|
211
|
-
returnable: null;
|
|
212
|
-
return_sku_match: null;
|
|
213
|
-
return_price_restricted: null;
|
|
214
|
-
request_serial_number: null;
|
|
215
|
-
currency: string;
|
|
216
|
-
tariff_number: null;
|
|
217
|
-
label_format: null;
|
|
218
|
-
notify_originator_inventory: null;
|
|
219
|
-
name: string;
|
|
220
|
-
image_url: null;
|
|
221
|
-
hazmat: boolean;
|
|
222
|
-
misc: null;
|
|
223
|
-
ean: null;
|
|
224
|
-
lot_control: boolean;
|
|
225
|
-
expiration_period: null;
|
|
226
|
-
ship_strategy: number;
|
|
227
|
-
velocity: number;
|
|
228
|
-
case_quantity: null;
|
|
229
|
-
carton_quantity: null;
|
|
230
|
-
origin_country: null;
|
|
231
|
-
replenishment_min: null;
|
|
232
|
-
replenishment_target: null;
|
|
233
|
-
low_inventory_threshold: null;
|
|
234
|
-
published_quantity: number;
|
|
235
|
-
};
|
|
236
|
-
lot: null;
|
|
237
|
-
warehouse_id: number;
|
|
238
|
-
unallocated: number;
|
|
239
|
-
}[];
|
|
240
|
-
shipnotice_item_count?: undefined;
|
|
241
|
-
shipnotice_item_quantity?: undefined;
|
|
242
|
-
shipnotice_id?: undefined;
|
|
243
|
-
item_id?: undefined;
|
|
244
|
-
quantity?: undefined;
|
|
245
|
-
quantity_good?: undefined;
|
|
246
|
-
quantity_damaged?: undefined;
|
|
247
|
-
description?: undefined;
|
|
248
|
-
extended_description?: undefined;
|
|
249
|
-
include_in_published?: undefined;
|
|
250
|
-
return_action?: undefined;
|
|
251
|
-
item?: undefined;
|
|
252
|
-
lot?: undefined;
|
|
253
|
-
unallocated?: undefined;
|
|
254
|
-
} | {
|
|
255
2
|
id: number;
|
|
256
3
|
customer_id: number;
|
|
257
4
|
warehouse_id: number;
|
|
@@ -386,7 +133,6 @@ export declare const ApiV21ShipnoticeAllExample: ({
|
|
|
386
133
|
items_unavailable_on_sellout: number;
|
|
387
134
|
replenishment_min: null;
|
|
388
135
|
replenishment_target: null;
|
|
389
|
-
authentication_token?: undefined;
|
|
390
136
|
};
|
|
391
137
|
warehouse: {
|
|
392
138
|
id: number;
|
|
@@ -611,11 +357,11 @@ export declare const ApiV21ShipnoticeAllExample: ({
|
|
|
611
357
|
due_at?: undefined;
|
|
612
358
|
meta_data?: undefined;
|
|
613
359
|
reference?: undefined;
|
|
360
|
+
shipnotice_item_count?: undefined;
|
|
361
|
+
shipnotice_item_quantity?: undefined;
|
|
614
362
|
customer?: undefined;
|
|
615
363
|
warehouse?: undefined;
|
|
616
364
|
originator?: undefined;
|
|
617
365
|
shipping_method?: undefined;
|
|
618
366
|
shipnotice_items?: undefined;
|
|
619
|
-
shipnotice_item_count?: undefined;
|
|
620
|
-
shipnotice_item_quantity?: undefined;
|
|
621
367
|
})[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ApiV21SurchargeMarkupCreatedExample = "{\"id\":123}";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ApiV21TagCreatedExample = "{\"id\":123}";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ApiV21TransportationMarkupCreatedExample = "{\"id\":123}";
|
package/generated/Customers.ts
CHANGED
|
@@ -49,7 +49,7 @@ export const getApiV2Customers = (client: HttpClient, query: GetApiV2CustomersPa
|
|
|
49
49
|
* @request GET:/api/v2/customers/actions
|
|
50
50
|
*/
|
|
51
51
|
export const getApiV2CustomersActions = (client: HttpClient, params: RequestParams = {}) => {
|
|
52
|
-
return client.request<
|
|
52
|
+
return client.request<any, ApiV2EntitiesApiError>({
|
|
53
53
|
path: `/api/v2/customers/actions`,
|
|
54
54
|
method: "GET",
|
|
55
55
|
...params,
|
|
@@ -141,7 +141,7 @@ export const getApiV21Customers = (client: HttpClient, query: GetApiV21Customers
|
|
|
141
141
|
* @request GET:/api/v2.1/customers/actions
|
|
142
142
|
*/
|
|
143
143
|
export const getApiV21CustomersActions = (client: HttpClient, params: RequestParams = {}) => {
|
|
144
|
-
return client.request<
|
|
144
|
+
return client.request<any, ApiV2EntitiesApiError>({
|
|
145
145
|
path: `/api/v2.1/customers/actions`,
|
|
146
146
|
method: "GET",
|
|
147
147
|
...params,
|
package/generated/Documents.ts
CHANGED
|
@@ -65,7 +65,7 @@ export const postApiV2Documents = (client: HttpClient, data: PostApiV2DocumentsR
|
|
|
65
65
|
* @request GET:/api/v2/documents/actions
|
|
66
66
|
*/
|
|
67
67
|
export const getApiV2DocumentsActions = (client: HttpClient, params: RequestParams = {}) => {
|
|
68
|
-
return client.request<
|
|
68
|
+
return client.request<any, ApiV2EntitiesApiError>({
|
|
69
69
|
path: `/api/v2/documents/actions`,
|
|
70
70
|
method: "GET",
|
|
71
71
|
...params,
|
|
@@ -150,7 +150,7 @@ export const postApiV21Documents = (
|
|
|
150
150
|
* @request GET:/api/v2.1/documents/actions
|
|
151
151
|
*/
|
|
152
152
|
export const getApiV21DocumentsActions = (client: HttpClient, params: RequestParams = {}) => {
|
|
153
|
-
return client.request<
|
|
153
|
+
return client.request<any, ApiV2EntitiesApiError>({
|
|
154
154
|
path: `/api/v2.1/documents/actions`,
|
|
155
155
|
method: "GET",
|
|
156
156
|
...params,
|
package/generated/Items.ts
CHANGED
|
@@ -102,7 +102,7 @@ export const postApiV2Items = (client: HttpClient, data: PostApiV2ItemsRequest,
|
|
|
102
102
|
* @request GET:/api/v2/items/actions
|
|
103
103
|
*/
|
|
104
104
|
export const getApiV2ItemsActions = (client: HttpClient, params: RequestParams = {}) => {
|
|
105
|
-
return client.request<
|
|
105
|
+
return client.request<any, ApiV2EntitiesApiError>({
|
|
106
106
|
path: `/api/v2/items/actions`,
|
|
107
107
|
method: "GET",
|
|
108
108
|
...params,
|
|
@@ -524,7 +524,7 @@ export const postApiV21Items = (client: HttpClient, data: PostApiV21ItemsRequest
|
|
|
524
524
|
* @request GET:/api/v2.1/items/actions
|
|
525
525
|
*/
|
|
526
526
|
export const getApiV21ItemsActions = (client: HttpClient, params: RequestParams = {}) => {
|
|
527
|
-
return client.request<
|
|
527
|
+
return client.request<any, ApiV2EntitiesApiError>({
|
|
528
528
|
path: `/api/v2.1/items/actions`,
|
|
529
529
|
method: "GET",
|
|
530
530
|
...params,
|
package/generated/OrderItems.ts
CHANGED
|
@@ -41,7 +41,7 @@ import { ContentType, HttpClient, RequestParams } from "./http-client";
|
|
|
41
41
|
* @request GET:/api/v2/order_items/actions
|
|
42
42
|
*/
|
|
43
43
|
export const getApiV2OrderItemsActions = (client: HttpClient, params: RequestParams = {}) => {
|
|
44
|
-
return client.request<
|
|
44
|
+
return client.request<any, ApiV2EntitiesApiError>({
|
|
45
45
|
path: `/api/v2/order_items/actions`,
|
|
46
46
|
method: "GET",
|
|
47
47
|
...params,
|
|
@@ -253,7 +253,7 @@ export const putApiV2OrderItemsIdWholesaleItem = (
|
|
|
253
253
|
* @request GET:/api/v2.1/order_items/actions
|
|
254
254
|
*/
|
|
255
255
|
export const getApiV21OrderItemsActions = (client: HttpClient, params: RequestParams = {}) => {
|
|
256
|
-
return client.request<
|
|
256
|
+
return client.request<any, ApiV2EntitiesApiError>({
|
|
257
257
|
path: `/api/v2.1/order_items/actions`,
|
|
258
258
|
method: "GET",
|
|
259
259
|
...params,
|
package/generated/Orders.ts
CHANGED
|
@@ -103,7 +103,7 @@ export const postApiV2Orders = (client: HttpClient, data: PostApiV2OrdersRequest
|
|
|
103
103
|
* @request GET:/api/v2/orders/actions
|
|
104
104
|
*/
|
|
105
105
|
export const getApiV2OrdersActions = (client: HttpClient, params: RequestParams = {}) => {
|
|
106
|
-
return client.request<
|
|
106
|
+
return client.request<any, ApiV2EntitiesApiError>({
|
|
107
107
|
path: `/api/v2/orders/actions`,
|
|
108
108
|
method: "GET",
|
|
109
109
|
...params,
|
|
@@ -501,7 +501,7 @@ export const postApiV21Orders = (client: HttpClient, data: PostApiV21OrdersReque
|
|
|
501
501
|
* @request GET:/api/v2.1/orders/actions
|
|
502
502
|
*/
|
|
503
503
|
export const getApiV21OrdersActions = (client: HttpClient, params: RequestParams = {}) => {
|
|
504
|
-
return client.request<
|
|
504
|
+
return client.request<any, ApiV2EntitiesApiError>({
|
|
505
505
|
path: `/api/v2.1/orders/actions`,
|
|
506
506
|
method: "GET",
|
|
507
507
|
...params,
|
|
@@ -35,7 +35,7 @@ import { ContentType, HttpClient, RequestParams } from "./http-client";
|
|
|
35
35
|
* @request GET:/api/v2/shipnotice_items/actions
|
|
36
36
|
*/
|
|
37
37
|
export const getApiV2ShipnoticeItemsActions = (client: HttpClient, params: RequestParams = {}) => {
|
|
38
|
-
return client.request<
|
|
38
|
+
return client.request<any, ApiV2EntitiesApiError>({
|
|
39
39
|
path: `/api/v2/shipnotice_items/actions`,
|
|
40
40
|
method: "GET",
|
|
41
41
|
...params,
|
|
@@ -168,7 +168,7 @@ export const putApiV2ShipnoticeItemsIdMetaFields = (
|
|
|
168
168
|
* @request GET:/api/v2.1/shipnotice_items/actions
|
|
169
169
|
*/
|
|
170
170
|
export const getApiV21ShipnoticeItemsActions = (client: HttpClient, params: RequestParams = {}) => {
|
|
171
|
-
return client.request<
|
|
171
|
+
return client.request<any, ApiV2EntitiesApiError>({
|
|
172
172
|
path: `/api/v2.1/shipnotice_items/actions`,
|
|
173
173
|
method: "GET",
|
|
174
174
|
...params,
|
package/generated/Shipnotices.ts
CHANGED
|
@@ -94,7 +94,7 @@ export const postApiV2Shipnotices = (
|
|
|
94
94
|
* @request GET:/api/v2/shipnotices/actions
|
|
95
95
|
*/
|
|
96
96
|
export const getApiV2ShipnoticesActions = (client: HttpClient, params: RequestParams = {}) => {
|
|
97
|
-
return client.request<
|
|
97
|
+
return client.request<any, ApiV2EntitiesApiError>({
|
|
98
98
|
path: `/api/v2/shipnotices/actions`,
|
|
99
99
|
method: "GET",
|
|
100
100
|
...params,
|
|
@@ -373,7 +373,7 @@ export const postApiV21Shipnotices = (
|
|
|
373
373
|
* @request GET:/api/v2.1/shipnotices/actions
|
|
374
374
|
*/
|
|
375
375
|
export const getApiV21ShipnoticesActions = (client: HttpClient, params: RequestParams = {}) => {
|
|
376
|
-
return client.request<
|
|
376
|
+
return client.request<any, ApiV2EntitiesApiError>({
|
|
377
377
|
path: `/api/v2.1/shipnotices/actions`,
|
|
378
378
|
method: "GET",
|
|
379
379
|
...params,
|