@flowio/api-types 0.0.239 → 0.0.241

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.
@@ -1,297 +0,0 @@
1
- declare namespace io.flow.flexe.v0.enums {
2
- type FlexeAttachmentType = 'shipping_label' | 'packing_slip' | 'packing_slip_letter';
3
- type FlexeNotification = 'receipt' | 'shipment';
4
- type FlexeShipmentType = 'fulfillment_order' | 'retail_fulfillment_order' | 'carton_pick_delivery' | 'delivery' | 'container_delivery';
5
- type FlexeStatus = 'in_transit' | 'completed';
6
- }
7
-
8
- declare namespace io.flow.flexe.v0.models {
9
- interface BillOfLading {
10
- readonly 'type': string;
11
- readonly 'gs1us'?: io.flow.flexe.v0.models.Gs1Us;
12
- }
13
-
14
- interface BillTo {
15
- readonly 'name': string;
16
- readonly 'address_1': string;
17
- readonly 'locality': string;
18
- readonly 'region': string;
19
- readonly 'postal_code': string;
20
- readonly 'country': string;
21
- readonly 'address_2'?: string;
22
- readonly 'address_3'?: string;
23
- }
24
-
25
- interface CartonPickDeliveryDetails {
26
- readonly 'shipment_uuid'?: string;
27
- readonly 'carrier'?: string;
28
- readonly 'carrier_id'?: string;
29
- }
30
-
31
- interface ContainerDeliveryDetails {
32
- readonly 'purchase_order': string;
33
- readonly 'container_number'?: string;
34
- readonly 'seal_number'?: string;
35
- readonly 'vendor'?: string;
36
- readonly 'expected_inventory': io.flow.flexe.v0.models.InventoryDetails[];
37
- readonly 'received_inventory': io.flow.flexe.v0.models.InventoryDetails[];
38
- readonly 'damaged_inventory': io.flow.flexe.v0.models.InventoryDetails[];
39
- readonly 'quantities_by_inventory': Record<string, io.flow.flexe.v0.models.QuantityByInventory>;
40
- }
41
-
42
- interface DeliveryDetails {
43
- readonly 'shipment_uuid'?: string;
44
- readonly 'trailer_number'?: string;
45
- readonly 'pallets': io.flow.flexe.v0.models.Pallet[];
46
- readonly 'quantities_by_inventory': Record<string, io.flow.flexe.v0.models.QuantityByInventory>;
47
- }
48
-
49
- interface Error {
50
- readonly 'url': string;
51
- readonly 'client_request_id': string;
52
- readonly 'generated_at': string;
53
- readonly 'error': string;
54
- }
55
-
56
- interface FlexeAttachment {
57
- readonly 'type': io.flow.flexe.v0.enums.FlexeAttachmentType;
58
- readonly 'display_name': string;
59
- readonly 'url': string;
60
- }
61
-
62
- interface FlexeEcommerceFulfillment {
63
- readonly 'url': string;
64
- readonly 'client_request_id': string;
65
- readonly 'generated_at': string;
66
- readonly 'data': io.flow.flexe.v0.models.FlexeEcommerceFulfillmentData;
67
- readonly 'errors': io.flow.flexe.v0.models.FlexeEcommerceFulfillmentErrors[];
68
- }
69
-
70
- interface FlexeEcommerceFulfillmentData {
71
- readonly 'import_id': string;
72
- readonly 'succeeded_uuids': string[];
73
- readonly 'failed_uuids': string[];
74
- readonly 'errors': string[];
75
- }
76
-
77
- interface FlexeEcommerceFulfillmentErrors {
78
- readonly 'status': string;
79
- readonly 'title': string;
80
- readonly 'detail': string;
81
- readonly 'source'?: string;
82
- }
83
-
84
- interface FlexeEcommerceFulfillmentForm {
85
- readonly 'reservation_id': number;
86
- readonly 'client_request_id': string;
87
- readonly 'request': io.flow.flexe.v0.models.Orders;
88
- }
89
-
90
- interface FlexeInventoryData {
91
- readonly 'sku': string;
92
- readonly 'quantity': string;
93
- readonly 'unit': string;
94
- }
95
-
96
- interface FlexeRetailAttachment {
97
- readonly 'display_name': string;
98
- readonly 'url': string;
99
- }
100
-
101
- interface FlexeRetailFulfillment {
102
- readonly 'url': string;
103
- readonly 'client_request_id': string;
104
- readonly 'generated_at': string;
105
- readonly 'data': io.flow.flexe.v0.models.FlexeRetailFulfillmentData;
106
- readonly 'errors'?: io.flow.flexe.v0.models.FlexeRetailFulfillmentErrors[];
107
- }
108
-
109
- interface FlexeRetailFulfillmentData {
110
- readonly 'id': string;
111
- readonly 'purchase_order_uuid': string;
112
- readonly 'status': string;
113
- }
114
-
115
- interface FlexeRetailFulfillmentErrors {
116
- readonly 'type': string;
117
- readonly 'message': string;
118
- }
119
-
120
- interface FlexeRetailFulfillmentForm {
121
- readonly 'reservation_id': number;
122
- readonly 'client_request_id'?: string;
123
- readonly 'request': io.flow.flexe.v0.models.RetailOrder;
124
- }
125
-
126
- interface FulfillmentOrderDetails {
127
- readonly 'shipment_uuid': string;
128
- readonly 'carrier'?: string;
129
- readonly 'carrier_id'?: string;
130
- }
131
-
132
- interface Gs1Us {
133
- readonly 'number': string;
134
- readonly 'ship_to'?: io.flow.flexe.v0.models.Gs1UsShipTo;
135
- readonly 'bill_to'?: io.flow.flexe.v0.models.BillTo;
136
- }
137
-
138
- interface Gs1UsShipTo {
139
- readonly 'cid_number'?: string;
140
- readonly 'location_number'?: string;
141
- readonly 'free_on_board'?: boolean;
142
- }
143
-
144
- interface Inventory {
145
- readonly 'url': string;
146
- readonly 'client_request_id': string;
147
- readonly 'generated_at': string;
148
- readonly 'data': Record<string, io.flow.flexe.v0.models.InventoryDetails>;
149
- }
150
-
151
- interface InventoryCount {
152
- readonly 'amount': number;
153
- readonly 'unit': string;
154
- }
155
-
156
- interface InventoryData {
157
- readonly 'pallet': io.flow.flexe.v0.models.InventoryCount;
158
- readonly 'carton'?: io.flow.flexe.v0.models.InventoryCount;
159
- readonly 'each'?: io.flow.flexe.v0.models.InventoryCount;
160
- }
161
-
162
- interface InventoryDetails {
163
- readonly 'key': Record<string, io.flow.flexe.v0.models.Sku>;
164
- }
165
-
166
- interface LadingQuantity {
167
- readonly 'num_pallets': number;
168
- }
169
-
170
- interface Order {
171
- readonly 'shipment_uuid': string;
172
- readonly 'purchase_order': string;
173
- readonly 'carrier': string;
174
- readonly 'service_type': string;
175
- readonly 'carrier_assigned_id': string;
176
- readonly 'name': string;
177
- readonly 'address_1': string;
178
- readonly 'address_2'?: string;
179
- readonly 'address_3'?: string;
180
- readonly 'city': string;
181
- readonly 'state': string;
182
- readonly 'postal_code': string;
183
- readonly 'phone'?: string;
184
- readonly 'instructions'?: string;
185
- readonly 'inventory_data': io.flow.flexe.v0.models.FlexeInventoryData[];
186
- readonly 'attachments': io.flow.flexe.v0.models.FlexeAttachment[];
187
- }
188
-
189
- interface Orders {
190
- readonly 'orders': io.flow.flexe.v0.models.Order[];
191
- }
192
-
193
- interface Pallet {
194
- readonly 'pallet_id': string;
195
- readonly 'sku': string;
196
- readonly 'quantity': number;
197
- readonly 'packaging': string;
198
- }
199
-
200
- interface PurchaseOrder {
201
- readonly 'retail_fulfillment_order_id': string;
202
- readonly 'bill_of_lading_number': string;
203
- readonly 'purchase_order_uuid': string;
204
- readonly 'pickup_window_start': string;
205
- readonly 'pickup_window_end': string;
206
- readonly 'tags': string[];
207
- }
208
-
209
- interface QuantityByInventory {
210
- readonly 'received': io.flow.flexe.v0.models.InventoryData;
211
- readonly 'expected'?: io.flow.flexe.v0.models.InventoryData;
212
- readonly 'damaged'?: io.flow.flexe.v0.models.InventoryData;
213
- }
214
-
215
- interface ReceiptNotification {
216
- readonly 'shipment_id': string;
217
- readonly 'shipment_type': io.flow.flexe.v0.enums.FlexeShipmentType;
218
- readonly 'reservation_id': string;
219
- readonly 'status': io.flow.flexe.v0.enums.FlexeStatus;
220
- readonly 'delivery_details'?: io.flow.flexe.v0.models.DeliveryDetails;
221
- readonly 'container_delivery_details'?: io.flow.flexe.v0.models.ContainerDeliveryDetails;
222
- }
223
-
224
- interface RetailFulfillmentOrderDetails {
225
- readonly 'master_bill_of_lading_number': string;
226
- readonly 'scac': string;
227
- readonly 'pro_number': string;
228
- readonly 'purchase_orders': io.flow.flexe.v0.models.PurchaseOrder[];
229
- readonly 'lading_quantity': io.flow.flexe.v0.models.LadingQuantity;
230
- }
231
-
232
- interface RetailInventoryData {
233
- readonly 'sku': string;
234
- readonly 'quantity': number;
235
- readonly 'unit': string;
236
- readonly 'attachments'?: io.flow.flexe.v0.models.FlexeRetailAttachment[];
237
- }
238
-
239
- interface RetailOrder {
240
- readonly 'order': io.flow.flexe.v0.models.RetailOrderData;
241
- }
242
-
243
- interface RetailOrderData {
244
- readonly 'purchase_order_uuid': string;
245
- readonly 'bill_of_lading': io.flow.flexe.v0.models.BillOfLading;
246
- readonly 'inventory_data': io.flow.flexe.v0.models.RetailInventoryData[];
247
- readonly 'ship_within': io.flow.flexe.v0.models.ShipWithin;
248
- readonly 'ship_to': io.flow.flexe.v0.models.ShipTo;
249
- readonly 'build_by'?: string;
250
- readonly 'instrunctions'?: string;
251
- readonly 'routing_details_id'?: string;
252
- readonly 'destination_type'?: string;
253
- }
254
-
255
- interface ShipTo {
256
- readonly 'name': string;
257
- readonly 'address_1': string;
258
- readonly 'locality': string;
259
- readonly 'region': string;
260
- readonly 'postal_code': string;
261
- readonly 'country': string;
262
- readonly 'address_2'?: string;
263
- readonly 'address_3'?: string;
264
- }
265
-
266
- interface ShipWithin {
267
- readonly 'start': string;
268
- readonly 'end': string;
269
- }
270
-
271
- interface ShipmentDeliveryDetails {
272
- readonly 'shipment_uuid'?: string;
273
- }
274
-
275
- interface ShipmentNotification {
276
- readonly 'shipment_id': string;
277
- readonly 'shipment_type': io.flow.flexe.v0.enums.FlexeShipmentType;
278
- readonly 'reservation_id': string;
279
- readonly 'status': io.flow.flexe.v0.enums.FlexeStatus;
280
- readonly 'fulfillment_order_details'?: io.flow.flexe.v0.models.FulfillmentOrderDetails;
281
- readonly 'retail_fulfillment_order_details'?: io.flow.flexe.v0.models.RetailFulfillmentOrderDetails;
282
- readonly 'delivery_details'?: io.flow.flexe.v0.models.ShipmentDeliveryDetails;
283
- readonly 'carton_pick_delivery_details'?: io.flow.flexe.v0.models.CartonPickDeliveryDetails;
284
- }
285
-
286
- interface Sku {
287
- readonly 'sku': string;
288
- readonly 'description': string;
289
- readonly 'summary': Record<string, io.flow.flexe.v0.models.SkuSummary>;
290
- }
291
-
292
- interface SkuSummary {
293
- readonly 'key': string;
294
- readonly 'quantity': number;
295
- readonly 'unit': string;
296
- }
297
- }