@whiplashmerch/whiplash-api-client 2.0.35 → 3.0.0
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 +3953 -16323
- package/dist/client.esm.js.map +1 -1
- package/dist/generated/AccountTransactions.d.ts +2 -2
- package/dist/generated/Accounts.d.ts +9 -9
- package/dist/generated/BillOfLadings.d.ts +4 -4
- package/dist/generated/Broadcasts.d.ts +2 -2
- package/dist/generated/BundleItems.d.ts +2 -2
- package/dist/generated/CarrierAccounts.d.ts +12 -12
- package/dist/generated/Carriers.d.ts +37 -1
- package/dist/generated/Chromalists.d.ts +2 -2
- package/dist/generated/ConsumerReturns.d.ts +10 -10
- package/dist/generated/Currencies.d.ts +2 -2
- package/dist/generated/Customers.d.ts +15 -15
- package/dist/generated/Documents.d.ts +3 -3
- package/dist/generated/FilterSets.d.ts +10 -10
- package/dist/generated/ImporterOfRecords.d.ts +5 -5
- package/dist/generated/Incidents.d.ts +2 -2
- package/dist/generated/InvoiceItems.d.ts +4 -4
- package/dist/generated/Invoices.d.ts +4 -4
- package/dist/generated/Items.d.ts +31 -31
- package/dist/generated/Loads.d.ts +4 -4
- package/dist/generated/LocationAdjustments.d.ts +5 -5
- package/dist/generated/LocationAudits.d.ts +3 -3
- package/dist/generated/LocationTransfers.d.ts +3 -3
- package/dist/generated/Locations.d.ts +11 -11
- package/dist/generated/Lots.d.ts +10 -10
- package/dist/generated/Manifests.d.ts +7 -7
- package/dist/generated/MetaKeys.d.ts +4 -4
- package/dist/generated/Nav.d.ts +2 -2
- package/dist/generated/NavItems.d.ts +2 -2
- package/dist/generated/NotificationEvents.d.ts +3 -3
- package/dist/generated/NotificationSubscriptions.d.ts +8 -8
- package/dist/generated/OrderBatchItems.d.ts +3 -3
- package/dist/generated/OrderBatchRequests.d.ts +2 -2
- package/dist/generated/OrderBatches.d.ts +17 -17
- package/dist/generated/OrderDocuments.d.ts +2 -2
- package/dist/generated/OrderItems.d.ts +13 -13
- package/dist/generated/OrderTotes.d.ts +4 -4
- package/dist/generated/Orders.d.ts +29 -29
- package/dist/generated/Originators.d.ts +8 -8
- package/dist/generated/Packages.d.ts +12 -12
- package/dist/generated/Pallets.d.ts +5 -5
- package/dist/generated/Partners.d.ts +2 -2
- package/dist/generated/ProjectTasks.d.ts +2 -2
- package/dist/generated/Projects.d.ts +4 -4
- package/dist/generated/Public.d.ts +2 -2
- package/dist/generated/Rates.d.ts +10 -10
- package/dist/generated/ReasonCodes.d.ts +3 -3
- package/dist/generated/RelocateInventoryTransfers.d.ts +2 -2
- package/dist/generated/ReturnAddresses.d.ts +7 -7
- package/dist/generated/Rules.d.ts +8 -8
- package/dist/generated/ScancodeAliases.d.ts +2 -2
- package/dist/generated/Scancodes.d.ts +2 -2
- package/dist/generated/Schemas.d.ts +20 -0
- package/dist/generated/SerialNumbers.d.ts +2 -2
- package/dist/generated/ShipnoticeItems.d.ts +18 -18
- package/dist/generated/Shipnotices.d.ts +22 -22
- package/dist/generated/ShippingAliases.d.ts +8 -8
- package/dist/generated/ShippingBlacklistedMethods.d.ts +2 -2
- package/dist/generated/ShippingMethodMarkups.d.ts +7 -7
- package/dist/generated/ShippingMethods.d.ts +4 -4
- package/dist/generated/Shops.d.ts +9 -9
- package/dist/generated/Stats.d.ts +3 -3
- package/dist/generated/SurchargeMarkups.d.ts +4 -4
- package/dist/generated/TemplateTypes.d.ts +2 -2
- package/dist/generated/Templates.d.ts +14 -14
- package/dist/generated/Transactions.d.ts +7 -7
- package/dist/generated/TransportationMarkups.d.ts +4 -4
- package/dist/generated/Users.d.ts +6 -6
- package/dist/generated/WarehouseFeatures.d.ts +2 -2
- package/dist/generated/Warehouses.d.ts +7 -7
- package/dist/generated/Wholesales.d.ts +2 -2
- package/dist/generated/data-contracts.d.ts +3341 -1071
- package/dist/generated/index.d.ts +1 -0
- package/dist/mock-data/index.d.ts +13 -5
- package/dist/mock-data/v2/consumer-return/all.d.ts +1 -1087
- package/dist/mock-data/v2/consumer-return/in-transit.d.ts +192 -355
- package/dist/mock-data/v2/customer/normal.d.ts +1 -0
- package/dist/mock-data/v2/item/bundle.d.ts +61 -0
- package/dist/mock-data/v2/item/merch.d.ts +121 -0
- package/dist/mock-data/v2/item/packaging.d.ts +61 -0
- package/dist/mock-data/v2/item/single.d.ts +9 -5
- package/dist/mock-data/v2/location/multiple.d.ts +78 -0
- package/dist/mock-data/v2/location/single.d.ts +78 -0
- package/dist/mock-data/v2/order/all.d.ts +1 -1665
- package/dist/mock-data/v2/order/processing.d.ts +67 -20
- package/dist/mock-data/v2/shipnotice/all.d.ts +1 -621
- package/dist/mock-data/v2/shipnotice/in-transit.d.ts +94 -51
- package/dist/mock-data/v2/shipnotice/processing.d.ts +90 -47
- package/dist/mock-data/v2_1/consumer-return/all.d.ts +1 -1087
- package/dist/mock-data/v2_1/consumer-return/in-transit.d.ts +10 -500
- package/dist/mock-data/v2_1/importer-of-record/created.d.ts +1 -0
- package/dist/mock-data/v2_1/item/bundle.d.ts +60 -0
- package/dist/mock-data/v2_1/item/merch.d.ts +119 -0
- package/dist/mock-data/v2_1/item/packaging.d.ts +60 -0
- package/dist/mock-data/v2_1/item/single.d.ts +9 -6
- package/dist/mock-data/v2_1/location/multiple.d.ts +15 -0
- package/dist/mock-data/v2_1/location/single.d.ts +15 -0
- package/dist/mock-data/v2_1/order/all.d.ts +1 -384
- package/dist/mock-data/v2_1/order/processing.d.ts +49 -86
- package/dist/mock-data/v2_1/order-batch/in-load.d.ts +0 -56
- package/dist/mock-data/v2_1/order-batch/wholesale-available.d.ts +0 -56
- package/dist/mock-data/v2_1/return-address/created.d.ts +1 -0
- package/dist/mock-data/v2_1/shipnotice/all.d.ts +1 -367
- package/dist/mock-data/v2_1/shipnotice/in-transit.d.ts +20 -198
- package/dist/mock-data/v2_1/shipnotice/processing.d.ts +18 -196
- package/generated/BundleItems.ts +8 -7
- package/generated/CarrierAliases.ts +3 -3
- package/generated/ConsumerReturns.ts +22 -20
- package/generated/Customers.ts +12 -11
- package/generated/Documents.ts +11 -11
- package/generated/Items.ts +56 -48
- package/generated/NotificationEvents.ts +6 -5
- package/generated/NotificationSubscriptions.ts +16 -15
- package/generated/OrderDocuments.ts +3 -3
- package/generated/OrderItems.ts +25 -24
- package/generated/OrderTotes.ts +6 -5
- package/generated/Orders.ts +47 -42
- package/generated/Originators.ts +4 -3
- package/generated/Projects.ts +4 -3
- package/generated/ShipnoticeItems.ts +17 -16
- package/generated/Shipnotices.ts +32 -30
- package/generated/Simulate.ts +13 -13
- package/generated/Templates.ts +11 -13
- package/generated/WholesaleItems.ts +9 -9
- package/generated/data-contracts.ts +558 -48
- package/package.json +1 -1
|
@@ -7,21 +7,20 @@ export declare const ApiV21ShipnoticeInTransitExample: {
|
|
|
7
7
|
status: number;
|
|
8
8
|
status_name: string;
|
|
9
9
|
received_by: null;
|
|
10
|
-
notes_by_whiplash:
|
|
11
|
-
notes_by_customer:
|
|
10
|
+
notes_by_whiplash: string;
|
|
11
|
+
notes_by_customer: string;
|
|
12
12
|
total_boxes: null;
|
|
13
13
|
created_at: string;
|
|
14
14
|
updated_at: string;
|
|
15
|
-
arrived_at:
|
|
15
|
+
arrived_at: null;
|
|
16
16
|
skip_images: null;
|
|
17
17
|
easypostable_id: null;
|
|
18
18
|
easypostable_type: string;
|
|
19
19
|
shipping_label_url: null;
|
|
20
20
|
ship_actual_cost: null;
|
|
21
21
|
shipping_method_text: null;
|
|
22
|
-
carrier: null;
|
|
23
22
|
shipping_method_id: null;
|
|
24
|
-
tracking:
|
|
23
|
+
tracking: string;
|
|
25
24
|
order_id: null;
|
|
26
25
|
type: string;
|
|
27
26
|
postage_billed: null;
|
|
@@ -29,133 +28,27 @@ export declare const ApiV21ShipnoticeInTransitExample: {
|
|
|
29
28
|
ship_3rdparty_cost: null;
|
|
30
29
|
requires_label: boolean;
|
|
31
30
|
completed_at: null;
|
|
31
|
+
complete_by: string;
|
|
32
32
|
ship_actual_currency: null;
|
|
33
|
-
delivered_at:
|
|
34
|
-
due_at:
|
|
33
|
+
delivered_at: null;
|
|
34
|
+
due_at: null;
|
|
35
35
|
meta_data: null;
|
|
36
36
|
reference: null;
|
|
37
37
|
shipnotice_item_count: number;
|
|
38
|
+
shipnotice_item_sku_count: number;
|
|
38
39
|
shipnotice_item_quantity: number;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
active: boolean;
|
|
44
|
-
auto_merge_gestation: null;
|
|
45
|
-
default_warehouse_id: number;
|
|
46
|
-
eori_number: null;
|
|
47
|
-
estimated_monthly_volume: null;
|
|
48
|
-
fedex_account: null;
|
|
49
|
-
from_email: null;
|
|
50
|
-
instructions: null;
|
|
51
|
-
item_scanning_preference: boolean;
|
|
52
|
-
label_format: null;
|
|
53
|
-
notes: null;
|
|
54
|
-
notify_originator: boolean;
|
|
55
|
-
notify_originator_inventory: number;
|
|
56
|
-
originator_permissions: boolean;
|
|
57
|
-
packing_slip_msg: null;
|
|
58
|
-
packingslip_template: null;
|
|
59
|
-
request_serial_numbers: boolean;
|
|
60
|
-
ship_method_preference: number;
|
|
61
|
-
shipping_name: string;
|
|
62
|
-
ups_account: null;
|
|
63
|
-
vat_number: null;
|
|
64
|
-
ein: null;
|
|
65
|
-
warehouse_fallback: number;
|
|
66
|
-
payment_hold: boolean;
|
|
67
|
-
account_level: number;
|
|
68
|
-
account_level_name: null;
|
|
69
|
-
whitelisted_warehouses: {
|
|
70
|
-
id: number;
|
|
71
|
-
name: string;
|
|
72
|
-
timezone: string;
|
|
73
|
-
shipping_address_1: string;
|
|
74
|
-
shipping_address_2: string;
|
|
75
|
-
shipping_city: string;
|
|
76
|
-
shipping_state: string;
|
|
77
|
-
shipping_zip: string;
|
|
78
|
-
shipping_country: string;
|
|
79
|
-
shipping_country_iso2: string;
|
|
80
|
-
latitude: number;
|
|
81
|
-
longitude: number;
|
|
82
|
-
}[];
|
|
83
|
-
activated_at: string;
|
|
84
|
-
deactivated_at: null;
|
|
85
|
-
auto_merge_skus: boolean;
|
|
86
|
-
billing_email: string;
|
|
87
|
-
billing_contact_name: string;
|
|
88
|
-
billing_company: null;
|
|
89
|
-
billing_phone1: null;
|
|
90
|
-
billing_phone2: null;
|
|
91
|
-
billing_address1: string;
|
|
92
|
-
billing_address2: null;
|
|
93
|
-
billing_address3: null;
|
|
94
|
-
billing_city: string;
|
|
95
|
-
billing_state: string;
|
|
96
|
-
billing_zip: string;
|
|
97
|
-
billing_country: string;
|
|
98
|
-
billing_residential: null;
|
|
99
|
-
items_returnable: boolean;
|
|
100
|
-
allow_international_returns: boolean;
|
|
101
|
-
items_exchangeable: boolean;
|
|
102
|
-
return_time_limit: number;
|
|
103
|
-
return_label_expires_in: number;
|
|
104
|
-
return_price_restricted: boolean;
|
|
105
|
-
return_sku_match: null;
|
|
106
|
-
rma_display_logo: boolean;
|
|
107
|
-
rma_footer_content: null;
|
|
108
|
-
return_name: null;
|
|
109
|
-
return_company: null;
|
|
110
|
-
return_email: null;
|
|
111
|
-
return_phone: null;
|
|
112
|
-
return_address_1: null;
|
|
113
|
-
return_address_2: null;
|
|
114
|
-
return_city: null;
|
|
115
|
-
return_state: null;
|
|
116
|
-
return_zip: null;
|
|
117
|
-
return_country: null;
|
|
118
|
-
supports_return_labels: boolean;
|
|
119
|
-
logo_content_type: null;
|
|
120
|
-
logo_file_name: null;
|
|
121
|
-
logo_file_size: null;
|
|
122
|
-
logo_updated_at: null;
|
|
123
|
-
full_logo_url: string;
|
|
124
|
-
email_confirmation_from: string;
|
|
125
|
-
email_confirmation_name: string;
|
|
126
|
-
email_confirmation_msg: null;
|
|
127
|
-
email_confirmation_preference: number;
|
|
128
|
-
email_confirmation_template: null;
|
|
129
|
-
low_inventory_threshold: null;
|
|
130
|
-
lot_control: boolean;
|
|
131
|
-
expiration_period: null;
|
|
132
|
-
ship_strategy: number;
|
|
133
|
-
items_unavailable_on_sellout: number;
|
|
134
|
-
replenishment_min: null;
|
|
135
|
-
replenishment_target: null;
|
|
136
|
-
};
|
|
137
|
-
warehouse: {
|
|
138
|
-
id: number;
|
|
139
|
-
name: string;
|
|
140
|
-
timezone: string;
|
|
141
|
-
shipping_address_1: string;
|
|
142
|
-
shipping_address_2: string;
|
|
143
|
-
shipping_city: string;
|
|
144
|
-
shipping_state: string;
|
|
145
|
-
shipping_zip: string;
|
|
146
|
-
shipping_country: string;
|
|
147
|
-
shipping_country_iso2: string;
|
|
148
|
-
latitude: number;
|
|
149
|
-
longitude: number;
|
|
150
|
-
};
|
|
40
|
+
quantities_verified: null;
|
|
41
|
+
bol_proxy: null;
|
|
42
|
+
mid_code: null;
|
|
43
|
+
zone_status: null;
|
|
151
44
|
originator: {
|
|
152
45
|
id: number;
|
|
153
|
-
originated_id:
|
|
46
|
+
originated_id: null;
|
|
154
47
|
originated_type: string;
|
|
155
48
|
shop_id: null;
|
|
156
49
|
provider: string;
|
|
157
|
-
original_id:
|
|
158
|
-
group_id:
|
|
50
|
+
original_id: string;
|
|
51
|
+
group_id: string;
|
|
159
52
|
misc: null;
|
|
160
53
|
active: boolean;
|
|
161
54
|
integration_id: null;
|
|
@@ -164,81 +57,10 @@ export declare const ApiV21ShipnoticeInTransitExample: {
|
|
|
164
57
|
distinct_originator_key: null;
|
|
165
58
|
created_at: string;
|
|
166
59
|
updated_at: string;
|
|
167
|
-
application_id:
|
|
60
|
+
application_id: number;
|
|
168
61
|
};
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
item_id: number;
|
|
174
|
-
quantity: number;
|
|
175
|
-
quantity_good: number;
|
|
176
|
-
quantity_damaged: number;
|
|
177
|
-
description: null;
|
|
178
|
-
extended_description: null;
|
|
179
|
-
include_in_published: boolean;
|
|
180
|
-
return_action: null;
|
|
181
|
-
created_at: string;
|
|
182
|
-
updated_at: string;
|
|
183
|
-
item: {
|
|
184
|
-
id: number;
|
|
185
|
-
sku: string;
|
|
186
|
-
title: string;
|
|
187
|
-
description: string;
|
|
188
|
-
full_description: string;
|
|
189
|
-
original_location: null;
|
|
190
|
-
created_at: string;
|
|
191
|
-
updated_at: string;
|
|
192
|
-
customer_id: number;
|
|
193
|
-
quantity: number;
|
|
194
|
-
weight: string;
|
|
195
|
-
available: boolean;
|
|
196
|
-
image_originator_url: null;
|
|
197
|
-
vendor: null;
|
|
198
|
-
scancode: string;
|
|
199
|
-
price: string;
|
|
200
|
-
media_mail: boolean;
|
|
201
|
-
packaging: boolean;
|
|
202
|
-
length: string;
|
|
203
|
-
width: string;
|
|
204
|
-
height: string;
|
|
205
|
-
active: boolean;
|
|
206
|
-
wholesale_cost: null;
|
|
207
|
-
is_bundle: boolean;
|
|
208
|
-
packaging_type: null;
|
|
209
|
-
promo: boolean;
|
|
210
|
-
street_date: null;
|
|
211
|
-
category: null;
|
|
212
|
-
include_inbound_in_published: boolean;
|
|
213
|
-
returnable: null;
|
|
214
|
-
return_sku_match: null;
|
|
215
|
-
return_price_restricted: null;
|
|
216
|
-
request_serial_number: null;
|
|
217
|
-
currency: string;
|
|
218
|
-
tariff_number: null;
|
|
219
|
-
label_format: null;
|
|
220
|
-
notify_originator_inventory: number;
|
|
221
|
-
name: string;
|
|
222
|
-
image_url: null;
|
|
223
|
-
hazmat: boolean;
|
|
224
|
-
hazmat_type: null;
|
|
225
|
-
misc: null;
|
|
226
|
-
ean: null;
|
|
227
|
-
lot_control: boolean;
|
|
228
|
-
expiration_period: null;
|
|
229
|
-
ship_strategy: number;
|
|
230
|
-
velocity: number;
|
|
231
|
-
case_quantity: null;
|
|
232
|
-
carton_quantity: null;
|
|
233
|
-
origin_country: null;
|
|
234
|
-
alcohol: boolean;
|
|
235
|
-
replenishment_min: null;
|
|
236
|
-
replenishment_target: null;
|
|
237
|
-
low_inventory_threshold: null;
|
|
238
|
-
published_quantity: number;
|
|
239
|
-
};
|
|
240
|
-
lot: null;
|
|
241
|
-
warehouse_id: number;
|
|
242
|
-
unallocated: number;
|
|
243
|
-
}[];
|
|
62
|
+
customer_name: string;
|
|
63
|
+
warehouse_name: string;
|
|
64
|
+
inspection_required: boolean;
|
|
65
|
+
processing_started_at: null;
|
|
244
66
|
};
|
|
@@ -7,8 +7,8 @@ export declare const ApiV21ShipnoticeProcessingExample: {
|
|
|
7
7
|
status: number;
|
|
8
8
|
status_name: string;
|
|
9
9
|
received_by: null;
|
|
10
|
-
notes_by_whiplash:
|
|
11
|
-
notes_by_customer:
|
|
10
|
+
notes_by_whiplash: string;
|
|
11
|
+
notes_by_customer: string;
|
|
12
12
|
total_boxes: null;
|
|
13
13
|
created_at: string;
|
|
14
14
|
updated_at: string;
|
|
@@ -19,9 +19,8 @@ export declare const ApiV21ShipnoticeProcessingExample: {
|
|
|
19
19
|
shipping_label_url: null;
|
|
20
20
|
ship_actual_cost: null;
|
|
21
21
|
shipping_method_text: null;
|
|
22
|
-
carrier: null;
|
|
23
22
|
shipping_method_id: null;
|
|
24
|
-
tracking:
|
|
23
|
+
tracking: string;
|
|
25
24
|
order_id: null;
|
|
26
25
|
type: string;
|
|
27
26
|
postage_billed: null;
|
|
@@ -29,133 +28,27 @@ export declare const ApiV21ShipnoticeProcessingExample: {
|
|
|
29
28
|
ship_3rdparty_cost: null;
|
|
30
29
|
requires_label: boolean;
|
|
31
30
|
completed_at: null;
|
|
31
|
+
complete_by: string;
|
|
32
32
|
ship_actual_currency: null;
|
|
33
33
|
delivered_at: string;
|
|
34
|
-
due_at:
|
|
34
|
+
due_at: null;
|
|
35
35
|
meta_data: null;
|
|
36
36
|
reference: null;
|
|
37
37
|
shipnotice_item_count: number;
|
|
38
|
+
shipnotice_item_sku_count: number;
|
|
38
39
|
shipnotice_item_quantity: number;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
active: boolean;
|
|
44
|
-
auto_merge_gestation: null;
|
|
45
|
-
default_warehouse_id: number;
|
|
46
|
-
eori_number: null;
|
|
47
|
-
estimated_monthly_volume: null;
|
|
48
|
-
fedex_account: null;
|
|
49
|
-
from_email: null;
|
|
50
|
-
instructions: null;
|
|
51
|
-
item_scanning_preference: boolean;
|
|
52
|
-
label_format: null;
|
|
53
|
-
notes: null;
|
|
54
|
-
notify_originator: boolean;
|
|
55
|
-
notify_originator_inventory: number;
|
|
56
|
-
originator_permissions: boolean;
|
|
57
|
-
packing_slip_msg: null;
|
|
58
|
-
packingslip_template: null;
|
|
59
|
-
request_serial_numbers: boolean;
|
|
60
|
-
ship_method_preference: number;
|
|
61
|
-
shipping_name: string;
|
|
62
|
-
ups_account: null;
|
|
63
|
-
vat_number: null;
|
|
64
|
-
ein: null;
|
|
65
|
-
warehouse_fallback: number;
|
|
66
|
-
payment_hold: boolean;
|
|
67
|
-
account_level: number;
|
|
68
|
-
account_level_name: null;
|
|
69
|
-
whitelisted_warehouses: {
|
|
70
|
-
id: number;
|
|
71
|
-
name: string;
|
|
72
|
-
timezone: string;
|
|
73
|
-
shipping_address_1: string;
|
|
74
|
-
shipping_address_2: string;
|
|
75
|
-
shipping_city: string;
|
|
76
|
-
shipping_state: string;
|
|
77
|
-
shipping_zip: string;
|
|
78
|
-
shipping_country: string;
|
|
79
|
-
shipping_country_iso2: string;
|
|
80
|
-
latitude: number;
|
|
81
|
-
longitude: number;
|
|
82
|
-
}[];
|
|
83
|
-
activated_at: string;
|
|
84
|
-
deactivated_at: null;
|
|
85
|
-
auto_merge_skus: boolean;
|
|
86
|
-
billing_email: string;
|
|
87
|
-
billing_contact_name: string;
|
|
88
|
-
billing_company: null;
|
|
89
|
-
billing_phone1: null;
|
|
90
|
-
billing_phone2: null;
|
|
91
|
-
billing_address1: string;
|
|
92
|
-
billing_address2: null;
|
|
93
|
-
billing_address3: null;
|
|
94
|
-
billing_city: string;
|
|
95
|
-
billing_state: string;
|
|
96
|
-
billing_zip: string;
|
|
97
|
-
billing_country: string;
|
|
98
|
-
billing_residential: null;
|
|
99
|
-
items_returnable: boolean;
|
|
100
|
-
allow_international_returns: boolean;
|
|
101
|
-
items_exchangeable: boolean;
|
|
102
|
-
return_time_limit: number;
|
|
103
|
-
return_label_expires_in: number;
|
|
104
|
-
return_price_restricted: boolean;
|
|
105
|
-
return_sku_match: null;
|
|
106
|
-
rma_display_logo: boolean;
|
|
107
|
-
rma_footer_content: null;
|
|
108
|
-
return_name: null;
|
|
109
|
-
return_company: null;
|
|
110
|
-
return_email: null;
|
|
111
|
-
return_phone: null;
|
|
112
|
-
return_address_1: null;
|
|
113
|
-
return_address_2: null;
|
|
114
|
-
return_city: null;
|
|
115
|
-
return_state: null;
|
|
116
|
-
return_zip: null;
|
|
117
|
-
return_country: null;
|
|
118
|
-
supports_return_labels: boolean;
|
|
119
|
-
logo_content_type: null;
|
|
120
|
-
logo_file_name: null;
|
|
121
|
-
logo_file_size: null;
|
|
122
|
-
logo_updated_at: null;
|
|
123
|
-
full_logo_url: string;
|
|
124
|
-
email_confirmation_from: string;
|
|
125
|
-
email_confirmation_name: string;
|
|
126
|
-
email_confirmation_msg: null;
|
|
127
|
-
email_confirmation_preference: number;
|
|
128
|
-
email_confirmation_template: null;
|
|
129
|
-
low_inventory_threshold: null;
|
|
130
|
-
lot_control: boolean;
|
|
131
|
-
expiration_period: null;
|
|
132
|
-
ship_strategy: number;
|
|
133
|
-
items_unavailable_on_sellout: number;
|
|
134
|
-
replenishment_min: null;
|
|
135
|
-
replenishment_target: null;
|
|
136
|
-
};
|
|
137
|
-
warehouse: {
|
|
138
|
-
id: number;
|
|
139
|
-
name: string;
|
|
140
|
-
timezone: string;
|
|
141
|
-
shipping_address_1: string;
|
|
142
|
-
shipping_address_2: string;
|
|
143
|
-
shipping_city: string;
|
|
144
|
-
shipping_state: string;
|
|
145
|
-
shipping_zip: string;
|
|
146
|
-
shipping_country: string;
|
|
147
|
-
shipping_country_iso2: string;
|
|
148
|
-
latitude: number;
|
|
149
|
-
longitude: number;
|
|
150
|
-
};
|
|
40
|
+
quantities_verified: null;
|
|
41
|
+
bol_proxy: null;
|
|
42
|
+
mid_code: null;
|
|
43
|
+
zone_status: null;
|
|
151
44
|
originator: {
|
|
152
45
|
id: number;
|
|
153
|
-
originated_id:
|
|
46
|
+
originated_id: null;
|
|
154
47
|
originated_type: string;
|
|
155
48
|
shop_id: null;
|
|
156
49
|
provider: string;
|
|
157
|
-
original_id:
|
|
158
|
-
group_id:
|
|
50
|
+
original_id: string;
|
|
51
|
+
group_id: string;
|
|
159
52
|
misc: null;
|
|
160
53
|
active: boolean;
|
|
161
54
|
integration_id: null;
|
|
@@ -164,81 +57,10 @@ export declare const ApiV21ShipnoticeProcessingExample: {
|
|
|
164
57
|
distinct_originator_key: null;
|
|
165
58
|
created_at: string;
|
|
166
59
|
updated_at: string;
|
|
167
|
-
application_id:
|
|
60
|
+
application_id: number;
|
|
168
61
|
};
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
item_id: number;
|
|
174
|
-
quantity: number;
|
|
175
|
-
quantity_good: number;
|
|
176
|
-
quantity_damaged: number;
|
|
177
|
-
description: null;
|
|
178
|
-
extended_description: null;
|
|
179
|
-
include_in_published: boolean;
|
|
180
|
-
return_action: null;
|
|
181
|
-
created_at: string;
|
|
182
|
-
updated_at: string;
|
|
183
|
-
item: {
|
|
184
|
-
id: number;
|
|
185
|
-
sku: string;
|
|
186
|
-
title: string;
|
|
187
|
-
description: string;
|
|
188
|
-
full_description: string;
|
|
189
|
-
original_location: null;
|
|
190
|
-
created_at: string;
|
|
191
|
-
updated_at: string;
|
|
192
|
-
customer_id: number;
|
|
193
|
-
quantity: number;
|
|
194
|
-
weight: string;
|
|
195
|
-
available: boolean;
|
|
196
|
-
image_originator_url: null;
|
|
197
|
-
vendor: null;
|
|
198
|
-
scancode: string;
|
|
199
|
-
price: string;
|
|
200
|
-
media_mail: boolean;
|
|
201
|
-
packaging: boolean;
|
|
202
|
-
length: string;
|
|
203
|
-
width: string;
|
|
204
|
-
height: string;
|
|
205
|
-
active: boolean;
|
|
206
|
-
wholesale_cost: null;
|
|
207
|
-
is_bundle: boolean;
|
|
208
|
-
packaging_type: null;
|
|
209
|
-
promo: boolean;
|
|
210
|
-
street_date: null;
|
|
211
|
-
category: null;
|
|
212
|
-
include_inbound_in_published: boolean;
|
|
213
|
-
returnable: null;
|
|
214
|
-
return_sku_match: null;
|
|
215
|
-
return_price_restricted: null;
|
|
216
|
-
request_serial_number: null;
|
|
217
|
-
currency: string;
|
|
218
|
-
tariff_number: null;
|
|
219
|
-
label_format: null;
|
|
220
|
-
notify_originator_inventory: number;
|
|
221
|
-
name: string;
|
|
222
|
-
image_url: null;
|
|
223
|
-
hazmat: boolean;
|
|
224
|
-
hazmat_type: null;
|
|
225
|
-
misc: null;
|
|
226
|
-
ean: null;
|
|
227
|
-
lot_control: boolean;
|
|
228
|
-
expiration_period: null;
|
|
229
|
-
ship_strategy: number;
|
|
230
|
-
velocity: number;
|
|
231
|
-
case_quantity: null;
|
|
232
|
-
carton_quantity: null;
|
|
233
|
-
origin_country: null;
|
|
234
|
-
alcohol: boolean;
|
|
235
|
-
replenishment_min: null;
|
|
236
|
-
replenishment_target: null;
|
|
237
|
-
low_inventory_threshold: null;
|
|
238
|
-
published_quantity: number;
|
|
239
|
-
};
|
|
240
|
-
lot: null;
|
|
241
|
-
warehouse_id: number;
|
|
242
|
-
unallocated: number;
|
|
243
|
-
}[];
|
|
62
|
+
customer_name: string;
|
|
63
|
+
warehouse_name: string;
|
|
64
|
+
inspection_required: boolean;
|
|
65
|
+
processing_started_at: null;
|
|
244
66
|
};
|
package/generated/BundleItems.ts
CHANGED
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ApiSharedEntitiesApiError,
|
|
14
|
+
ApiV21EntitiesBundleItem,
|
|
14
15
|
ApiV2EntitiesBundleItem,
|
|
15
16
|
PutApiV21BundleItemsIdRequest,
|
|
16
17
|
PutApiV2BundleItemsIdRequest,
|
|
@@ -26,7 +27,7 @@ import { ContentType, HttpClient, RequestParams } from "./http-client";
|
|
|
26
27
|
* @request GET:/api/v2/bundle_items/{id}
|
|
27
28
|
*/
|
|
28
29
|
export const getApiV2BundleItemsId = (client: HttpClient, id: number, params: RequestParams = {}) => {
|
|
29
|
-
return client.request<ApiV2EntitiesBundleItem,
|
|
30
|
+
return client.request<ApiV2EntitiesBundleItem, ApiSharedEntitiesApiError>({
|
|
30
31
|
path: `/api/v2/bundle_items/${id}`,
|
|
31
32
|
method: "GET",
|
|
32
33
|
format: "json",
|
|
@@ -47,7 +48,7 @@ export const putApiV2BundleItemsId = (
|
|
|
47
48
|
data: PutApiV2BundleItemsIdRequest,
|
|
48
49
|
params: RequestParams = {},
|
|
49
50
|
) => {
|
|
50
|
-
return client.request<ApiV2EntitiesBundleItem,
|
|
51
|
+
return client.request<ApiV2EntitiesBundleItem, ApiSharedEntitiesApiError>({
|
|
51
52
|
path: `/api/v2/bundle_items/${id}`,
|
|
52
53
|
method: "PUT",
|
|
53
54
|
body: data,
|
|
@@ -65,7 +66,7 @@ export const putApiV2BundleItemsId = (
|
|
|
65
66
|
* @request DELETE:/api/v2/bundle_items/{id}
|
|
66
67
|
*/
|
|
67
68
|
export const deleteApiV2BundleItemsId = (client: HttpClient, id: number, params: RequestParams = {}) => {
|
|
68
|
-
return client.request<void,
|
|
69
|
+
return client.request<void, ApiSharedEntitiesApiError>({
|
|
69
70
|
path: `/api/v2/bundle_items/${id}`,
|
|
70
71
|
method: "DELETE",
|
|
71
72
|
...params,
|
|
@@ -80,7 +81,7 @@ export const deleteApiV2BundleItemsId = (client: HttpClient, id: number, params:
|
|
|
80
81
|
* @request GET:/api/v2.1/bundle_items/{id}
|
|
81
82
|
*/
|
|
82
83
|
export const getApiV21BundleItemsId = (client: HttpClient, id: number, params: RequestParams = {}) => {
|
|
83
|
-
return client.request<
|
|
84
|
+
return client.request<ApiV21EntitiesBundleItem, ApiSharedEntitiesApiError>({
|
|
84
85
|
path: `/api/v2.1/bundle_items/${id}`,
|
|
85
86
|
method: "GET",
|
|
86
87
|
format: "json",
|
|
@@ -101,7 +102,7 @@ export const putApiV21BundleItemsId = (
|
|
|
101
102
|
data: PutApiV21BundleItemsIdRequest,
|
|
102
103
|
params: RequestParams = {},
|
|
103
104
|
) => {
|
|
104
|
-
return client.request<void,
|
|
105
|
+
return client.request<void, ApiSharedEntitiesApiError>({
|
|
105
106
|
path: `/api/v2.1/bundle_items/${id}`,
|
|
106
107
|
method: "PUT",
|
|
107
108
|
body: data,
|
|
@@ -118,7 +119,7 @@ export const putApiV21BundleItemsId = (
|
|
|
118
119
|
* @request DELETE:/api/v2.1/bundle_items/{id}
|
|
119
120
|
*/
|
|
120
121
|
export const deleteApiV21BundleItemsId = (client: HttpClient, id: number, params: RequestParams = {}) => {
|
|
121
|
-
return client.request<void,
|
|
122
|
+
return client.request<void, ApiSharedEntitiesApiError>({
|
|
122
123
|
path: `/api/v2.1/bundle_items/${id}`,
|
|
123
124
|
method: "DELETE",
|
|
124
125
|
...params,
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
import {
|
|
13
|
+
ApiSharedEntitiesApiError,
|
|
13
14
|
ApiV21EntitiesCarrierAlias,
|
|
14
|
-
ApiV2EntitiesApiError,
|
|
15
15
|
ApiV2EntitiesCarrierAlias,
|
|
16
16
|
GetApiV21CarrierAliasesParams,
|
|
17
17
|
GetApiV2CarrierAliasesParams,
|
|
@@ -31,7 +31,7 @@ export const getApiV2CarrierAliases = (
|
|
|
31
31
|
query: GetApiV2CarrierAliasesParams,
|
|
32
32
|
params: RequestParams = {},
|
|
33
33
|
) => {
|
|
34
|
-
return client.request<ApiV2EntitiesCarrierAlias[],
|
|
34
|
+
return client.request<ApiV2EntitiesCarrierAlias[], ApiSharedEntitiesApiError>({
|
|
35
35
|
path: `/api/v2/carrier_aliases`,
|
|
36
36
|
method: "GET",
|
|
37
37
|
query: query,
|
|
@@ -52,7 +52,7 @@ export const getApiV21CarrierAliases = (
|
|
|
52
52
|
query: GetApiV21CarrierAliasesParams,
|
|
53
53
|
params: RequestParams = {},
|
|
54
54
|
) => {
|
|
55
|
-
return client.request<ApiV21EntitiesCarrierAlias[],
|
|
55
|
+
return client.request<ApiV21EntitiesCarrierAlias[], ApiSharedEntitiesApiError>({
|
|
56
56
|
path: `/api/v2.1/carrier_aliases`,
|
|
57
57
|
method: "GET",
|
|
58
58
|
query: query,
|