@flowio/types 11.10.1 → 11.12.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/api-internal.d.ts +728 -4
- package/dist/api.d.ts +6 -1
- package/package.json +2 -2
- package/src/api-internal.ts +893 -4
- package/src/api.ts +12 -0
package/src/api-internal.ts
CHANGED
|
@@ -92,6 +92,142 @@ declare namespace io.flow.tracking.internal.v0.unions {
|
|
|
92
92
|
| io.flow.tracking.internal.v0.models.Fedex;
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
+
declare namespace io.flow.ups.license.v0.models {
|
|
96
|
+
interface AccessLicenceAgreementRequest {
|
|
97
|
+
readonly Request: io.flow.ups.license.v0.models.UpsLicenseRequest;
|
|
98
|
+
readonly DeveloperLicenseNumber: string;
|
|
99
|
+
readonly AccessLicenseProfile: io.flow.ups.license.v0.models.AccessLicenseProfile;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
interface AccessLicenceAgreementRequestWrapper {
|
|
103
|
+
readonly UPSSecurity: io.flow.ups.license.v0.models.UpsSecurity;
|
|
104
|
+
readonly AccessLicenseAgreementRequest: io.flow.ups.license.v0.models.AccessLicenceAgreementRequest;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
interface AccessLicenceAgreementResponse {
|
|
108
|
+
readonly Response: io.flow.ups.license.v0.models.UpsLicenseResponse;
|
|
109
|
+
readonly AccessLicenseText: string;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
interface AccessLicenceAgreementResponseWrapper {
|
|
113
|
+
readonly AccessLicenseAgreementResponse?: io.flow.ups.license.v0.models.AccessLicenceAgreementResponse;
|
|
114
|
+
readonly Fault?: io.flow.ups.license.v0.models.Fault;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
interface AccessLicenceRequest {
|
|
118
|
+
readonly Request: io.flow.ups.license.v0.models.UpsLicenseRequest;
|
|
119
|
+
readonly CompanyName: string;
|
|
120
|
+
readonly Address: io.flow.ups.license.v0.models.RequestAddress;
|
|
121
|
+
readonly PrimaryContact: io.flow.ups.license.v0.models.RequestContact;
|
|
122
|
+
readonly SecondaryContact?: io.flow.ups.license.v0.models.RequestContact;
|
|
123
|
+
readonly CompanyURL: string;
|
|
124
|
+
readonly ShipperNumber?: string;
|
|
125
|
+
readonly DeveloperLicenseNumber: string;
|
|
126
|
+
readonly AccessLicenseProfile: io.flow.ups.license.v0.models.AccessLicenseProfile;
|
|
127
|
+
readonly ClientSoftwareProfile: io.flow.ups.license.v0.models.ClientSoftwareProfile;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
interface AccessLicenceResponse {
|
|
131
|
+
readonly Response?: io.flow.ups.license.v0.models.UpsLicenseResponse;
|
|
132
|
+
readonly AccessLicenseNumber?: string;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
interface AccessLicenseProfile {
|
|
136
|
+
readonly CountryCode: string;
|
|
137
|
+
readonly LanguageCode: string;
|
|
138
|
+
readonly AccessLicenseText?: string;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
interface AccessLicenseRequestWrapper {
|
|
142
|
+
readonly UPSSecurity: io.flow.ups.license.v0.models.UpsSecurity;
|
|
143
|
+
readonly AccessLicenseRequest: io.flow.ups.license.v0.models.AccessLicenceRequest;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
interface AccessLicenseResponseWrapper {
|
|
147
|
+
readonly AccessLicenseResponse?: io.flow.ups.license.v0.models.AccessLicenceResponse;
|
|
148
|
+
readonly Fault?: io.flow.ups.license.v0.models.Fault;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
interface ClientSoftwareProfile {
|
|
152
|
+
readonly SoftwareInstaller: string;
|
|
153
|
+
readonly SoftwareProductName: string;
|
|
154
|
+
readonly SoftwareProvider: string;
|
|
155
|
+
readonly SoftwareVersionNumber: string;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
interface Fault {
|
|
159
|
+
readonly faultcode: string;
|
|
160
|
+
readonly faultstring: string;
|
|
161
|
+
readonly detail: io.flow.ups.license.v0.models.UpsLicenseDetail;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
interface PrimaryErrorCode {
|
|
165
|
+
readonly Code: string;
|
|
166
|
+
readonly Description: string;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
interface RequestAddress {
|
|
170
|
+
readonly AddressLine1: string;
|
|
171
|
+
readonly AddressLine2?: string;
|
|
172
|
+
readonly AddressLine3?: string;
|
|
173
|
+
readonly City: string;
|
|
174
|
+
readonly StateProvinceCode: string;
|
|
175
|
+
readonly PostalCode: string;
|
|
176
|
+
readonly CountryCode: string;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
interface RequestContact {
|
|
180
|
+
readonly Name: string;
|
|
181
|
+
readonly Title: string;
|
|
182
|
+
readonly EMailAddress: string;
|
|
183
|
+
readonly PhoneNumber: string;
|
|
184
|
+
readonly FaxNumber?: string;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
interface TransactionReference {
|
|
188
|
+
readonly CustomerContext: string;
|
|
189
|
+
readonly TransactionIdentifier?: string;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
interface UpsLicenseDetail {
|
|
193
|
+
readonly Errors: io.flow.ups.license.v0.models.UpsLicenseErrors;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
interface UpsLicenseErrorDetail {
|
|
197
|
+
readonly Severity: string;
|
|
198
|
+
readonly PrimaryErrorCode: io.flow.ups.license.v0.models.PrimaryErrorCode;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
interface UpsLicenseErrors {
|
|
202
|
+
readonly ErrorDetail: io.flow.ups.license.v0.models.UpsLicenseErrorDetail;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
interface UpsLicenseRequest {
|
|
206
|
+
readonly RequestOption: string;
|
|
207
|
+
readonly TransactionReference: io.flow.ups.license.v0.models.TransactionReference;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
interface UpsLicenseResponse {
|
|
211
|
+
readonly ResponseStatus: io.flow.ups.license.v0.models.UpsLicenseResponseStatus;
|
|
212
|
+
readonly TransactionReference: io.flow.ups.license.v0.models.TransactionReference;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
interface UpsLicenseResponseStatus {
|
|
216
|
+
readonly Code: string;
|
|
217
|
+
readonly Description: string;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
interface UpsSecurity {
|
|
221
|
+
readonly UsernameToken: io.flow.ups.license.v0.models.UsernameToken;
|
|
222
|
+
readonly ServiceAccessToken: string;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
interface UsernameToken {
|
|
226
|
+
readonly Username: string;
|
|
227
|
+
readonly Password: string;
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
|
|
95
231
|
declare namespace io.flow.item.dimension.estimate.v0.models {
|
|
96
232
|
interface ItemDimensionEstimate {
|
|
97
233
|
readonly id: string;
|
|
@@ -1177,6 +1313,528 @@ declare namespace io.flow.experience.v0.unions {
|
|
|
1177
1313
|
| io.flow.experience.v0.models.Discount;
|
|
1178
1314
|
}
|
|
1179
1315
|
|
|
1316
|
+
declare namespace io.flow.shopify.xborder.v0.enums {
|
|
1317
|
+
type ShopifyOrderCancelReason =
|
|
1318
|
+
| 'customer'
|
|
1319
|
+
| 'fraud'
|
|
1320
|
+
| 'inventory'
|
|
1321
|
+
| 'declined'
|
|
1322
|
+
| 'other';
|
|
1323
|
+
type ShopifyOrderDiscountAllocationMethod = 'across' | 'each' | 'one';
|
|
1324
|
+
type ShopifyOrderDiscountApplicationTargetSelection =
|
|
1325
|
+
| 'all'
|
|
1326
|
+
| 'entitled'
|
|
1327
|
+
| 'explicit';
|
|
1328
|
+
type ShopifyOrderDiscountApplicationTargetType =
|
|
1329
|
+
| 'line_item'
|
|
1330
|
+
| 'shipping_line';
|
|
1331
|
+
type ShopifyOrderDiscountApplicationType =
|
|
1332
|
+
| 'automatic'
|
|
1333
|
+
| 'discount_code'
|
|
1334
|
+
| 'manual'
|
|
1335
|
+
| 'script';
|
|
1336
|
+
type ShopifyOrderDiscountApplicationValueType = 'fixed_amount' | 'percentage';
|
|
1337
|
+
type ShopifyOrderDiscountType = 'fixed_amount' | 'percentage' | 'shipping';
|
|
1338
|
+
type ShopifyOrderFinancialStatusType =
|
|
1339
|
+
| 'pending'
|
|
1340
|
+
| 'authorized'
|
|
1341
|
+
| 'partially_paid'
|
|
1342
|
+
| 'paid'
|
|
1343
|
+
| 'partially_refunded'
|
|
1344
|
+
| 'refunded'
|
|
1345
|
+
| 'voided';
|
|
1346
|
+
type ShopifyOrderFulfillmentShipmentStatus =
|
|
1347
|
+
| 'label_printed'
|
|
1348
|
+
| 'label_purchased'
|
|
1349
|
+
| 'attempted_delivery'
|
|
1350
|
+
| 'ready_for_pickup'
|
|
1351
|
+
| 'confirmed'
|
|
1352
|
+
| 'in_transit'
|
|
1353
|
+
| 'out_for_delivery'
|
|
1354
|
+
| 'delivered'
|
|
1355
|
+
| 'failure';
|
|
1356
|
+
type ShopifyOrderFulfillmentStatus =
|
|
1357
|
+
| 'pending'
|
|
1358
|
+
| 'open'
|
|
1359
|
+
| 'success'
|
|
1360
|
+
| 'cancelled'
|
|
1361
|
+
| 'error'
|
|
1362
|
+
| 'failure';
|
|
1363
|
+
type ShopifyOrderFulfillmentStatusType = 'fulfilled' | 'null' | 'partial';
|
|
1364
|
+
type ShopifyOrderInventoryBehaviour =
|
|
1365
|
+
| 'bypass'
|
|
1366
|
+
| 'decrement_ignoring_policy'
|
|
1367
|
+
| 'decrement_obeying_policy';
|
|
1368
|
+
type ShopifyOrderKindType =
|
|
1369
|
+
| 'authorization'
|
|
1370
|
+
| 'capture'
|
|
1371
|
+
| 'sale'
|
|
1372
|
+
| 'void'
|
|
1373
|
+
| 'refund';
|
|
1374
|
+
type ShopifyOrderProcessingMethodType =
|
|
1375
|
+
| 'checkout'
|
|
1376
|
+
| 'direct'
|
|
1377
|
+
| 'manual'
|
|
1378
|
+
| 'offsite'
|
|
1379
|
+
| 'express';
|
|
1380
|
+
type ShopifyOrderRestockType = 'no_restock' | 'cancel' | 'return';
|
|
1381
|
+
type ShopifyOrderStatusType = 'open' | 'closed' | 'cancelled' | 'any';
|
|
1382
|
+
type ShopifyOrderTransactionErrorCode =
|
|
1383
|
+
| 'incorrect_number'
|
|
1384
|
+
| 'invalid_number'
|
|
1385
|
+
| 'invalid_expiry_date'
|
|
1386
|
+
| 'invalid_cvc'
|
|
1387
|
+
| 'expired_card'
|
|
1388
|
+
| 'incorrect_cvc'
|
|
1389
|
+
| 'incorrect_zip'
|
|
1390
|
+
| 'incorrect_address'
|
|
1391
|
+
| 'card_declined'
|
|
1392
|
+
| 'processing_error'
|
|
1393
|
+
| 'call_issuer'
|
|
1394
|
+
| 'pick_up_card';
|
|
1395
|
+
type ShopifyOrderTransactionStatus =
|
|
1396
|
+
| 'pending'
|
|
1397
|
+
| 'failure'
|
|
1398
|
+
| 'success'
|
|
1399
|
+
| 'error';
|
|
1400
|
+
type ShopifyOrderValueType = 'string' | 'integer';
|
|
1401
|
+
type ShopifyWebhookFormat = 'json' | 'xml';
|
|
1402
|
+
type ShopifyWebhookTopic =
|
|
1403
|
+
| 'orders/cancelled'
|
|
1404
|
+
| 'orders/create'
|
|
1405
|
+
| 'orders/fulfilled'
|
|
1406
|
+
| 'orders/paid'
|
|
1407
|
+
| 'orders/partially_fulfilled'
|
|
1408
|
+
| 'orders/updated'
|
|
1409
|
+
| 'orders/delete'
|
|
1410
|
+
| 'orders/edited'
|
|
1411
|
+
| 'refunds/create'
|
|
1412
|
+
| 'fulfillment_events/create'
|
|
1413
|
+
| 'fulfillment_events/delete'
|
|
1414
|
+
| 'themes/update';
|
|
1415
|
+
}
|
|
1416
|
+
|
|
1417
|
+
declare namespace io.flow.shopify.xborder.v0.models {
|
|
1418
|
+
interface ShopifyOrder {
|
|
1419
|
+
readonly id: number;
|
|
1420
|
+
readonly order_number: number;
|
|
1421
|
+
readonly billing_address?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
|
|
1422
|
+
readonly browser_ip?: string;
|
|
1423
|
+
readonly buyer_accepts_marketing: boolean;
|
|
1424
|
+
readonly cancel_reason?: io.flow.shopify.xborder.v0.enums.ShopifyOrderCancelReason;
|
|
1425
|
+
readonly cancelled_at?: string;
|
|
1426
|
+
readonly cart_token?: string;
|
|
1427
|
+
readonly client_details: io.flow.shopify.xborder.v0.models.ShopifyOrderClientDetail;
|
|
1428
|
+
readonly closed_at?: string;
|
|
1429
|
+
readonly created_at: string;
|
|
1430
|
+
readonly currency: string;
|
|
1431
|
+
readonly total_discounts_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1432
|
+
readonly current_total_discounts_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1433
|
+
readonly total_duties_set?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1434
|
+
readonly current_total_duties_set?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1435
|
+
readonly original_total_duties_set?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1436
|
+
readonly total_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1437
|
+
readonly current_total_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1438
|
+
readonly subtotal_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1439
|
+
readonly current_subtotal_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1440
|
+
readonly total_tax_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1441
|
+
readonly current_total_tax_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1442
|
+
readonly total_line_items_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1443
|
+
readonly customer: io.flow.shopify.xborder.v0.models.ShopifyOrderCustomer;
|
|
1444
|
+
readonly customer_locale?: string;
|
|
1445
|
+
readonly discount_applications: io.flow.shopify.xborder.v0.models.ShopifyOrderDiscountApplication[];
|
|
1446
|
+
readonly discount_codes: io.flow.shopify.xborder.v0.models.ShopifyOrderDiscountCode[];
|
|
1447
|
+
readonly email?: string;
|
|
1448
|
+
readonly financial_status: io.flow.shopify.xborder.v0.enums.ShopifyOrderFinancialStatusType;
|
|
1449
|
+
readonly fulfillments: io.flow.shopify.xborder.v0.models.ShopifyOrderFulfillment[];
|
|
1450
|
+
readonly fulfillment_status?: io.flow.shopify.xborder.v0.enums.ShopifyOrderFulfillmentStatusType;
|
|
1451
|
+
readonly landing_site?: string;
|
|
1452
|
+
readonly line_items: io.flow.shopify.xborder.v0.models.ShopifyOrderLineItem[];
|
|
1453
|
+
readonly location_id?: number;
|
|
1454
|
+
readonly name: string;
|
|
1455
|
+
readonly note?: string;
|
|
1456
|
+
readonly note_attributes: io.flow.shopify.xborder.v0.models.ShopifyOrderAttribute[];
|
|
1457
|
+
readonly number?: number;
|
|
1458
|
+
readonly payment_gateway_names: string[];
|
|
1459
|
+
readonly processed_at?: string;
|
|
1460
|
+
readonly processing_method?: io.flow.shopify.xborder.v0.enums.ShopifyOrderProcessingMethodType;
|
|
1461
|
+
readonly referring_site?: string;
|
|
1462
|
+
readonly refunds: io.flow.shopify.xborder.v0.models.ShopifyOrderRefund[];
|
|
1463
|
+
readonly shipping_address?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
|
|
1464
|
+
readonly shipping_lines: io.flow.shopify.xborder.v0.models.ShopifyOrderShippingLine[];
|
|
1465
|
+
readonly source_name?: string;
|
|
1466
|
+
readonly tags?: string;
|
|
1467
|
+
readonly tax_lines: io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
|
|
1468
|
+
readonly taxes_included: boolean;
|
|
1469
|
+
readonly token?: string;
|
|
1470
|
+
readonly total_weight?: number;
|
|
1471
|
+
readonly updated_at?: string;
|
|
1472
|
+
readonly user_id?: number;
|
|
1473
|
+
readonly order_status_url?: string;
|
|
1474
|
+
readonly inventory_behaviour?: io.flow.shopify.xborder.v0.enums.ShopifyOrderInventoryBehaviour;
|
|
1475
|
+
readonly gateway?: string;
|
|
1476
|
+
readonly transactions?: io.flow.shopify.xborder.v0.models.ShopifyOrderTransaction[];
|
|
1477
|
+
readonly send_receipt?: boolean;
|
|
1478
|
+
readonly metafields?: io.flow.shopify.xborder.v0.models.ShopifyOrderMetafield[];
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1481
|
+
interface ShopifyOrderAddress {
|
|
1482
|
+
readonly id?: number;
|
|
1483
|
+
readonly address1?: string;
|
|
1484
|
+
readonly address2?: string;
|
|
1485
|
+
readonly city?: string;
|
|
1486
|
+
readonly company?: string;
|
|
1487
|
+
readonly country?: string;
|
|
1488
|
+
readonly country_code?: string;
|
|
1489
|
+
readonly default?: boolean;
|
|
1490
|
+
readonly first_name?: string;
|
|
1491
|
+
readonly last_name?: string;
|
|
1492
|
+
readonly latitude?: number;
|
|
1493
|
+
readonly longitude?: number;
|
|
1494
|
+
readonly name?: string;
|
|
1495
|
+
readonly phone?: string;
|
|
1496
|
+
readonly province?: string;
|
|
1497
|
+
readonly province_code?: string;
|
|
1498
|
+
readonly zip?: string;
|
|
1499
|
+
}
|
|
1500
|
+
|
|
1501
|
+
interface ShopifyOrderAttribute {
|
|
1502
|
+
readonly name: string;
|
|
1503
|
+
readonly value: string;
|
|
1504
|
+
}
|
|
1505
|
+
|
|
1506
|
+
interface ShopifyOrderClientDetail {
|
|
1507
|
+
readonly accept_language?: string;
|
|
1508
|
+
readonly browser_height?: number;
|
|
1509
|
+
readonly browser_ip?: string;
|
|
1510
|
+
readonly browser_width?: number;
|
|
1511
|
+
readonly session_hash?: string;
|
|
1512
|
+
readonly user_agent?: string;
|
|
1513
|
+
}
|
|
1514
|
+
|
|
1515
|
+
interface ShopifyOrderCustomer {
|
|
1516
|
+
readonly id?: number;
|
|
1517
|
+
readonly email?: string;
|
|
1518
|
+
readonly accepts_marketing?: boolean;
|
|
1519
|
+
readonly created_at?: string;
|
|
1520
|
+
readonly updated_at?: string;
|
|
1521
|
+
readonly first_name?: string;
|
|
1522
|
+
readonly last_name?: string;
|
|
1523
|
+
readonly orders_count?: number;
|
|
1524
|
+
readonly state?: string;
|
|
1525
|
+
readonly total_spent?: string;
|
|
1526
|
+
readonly last_order_id?: number;
|
|
1527
|
+
readonly note?: string;
|
|
1528
|
+
readonly verified_email?: boolean;
|
|
1529
|
+
readonly multipass_identifier?: string;
|
|
1530
|
+
readonly tax_exempt?: boolean;
|
|
1531
|
+
readonly tax_exemptions?: any /*json*/[];
|
|
1532
|
+
readonly phone?: string;
|
|
1533
|
+
readonly tags?: string;
|
|
1534
|
+
readonly last_order_name?: string;
|
|
1535
|
+
readonly currency?: string;
|
|
1536
|
+
readonly addresses?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
|
|
1537
|
+
readonly default_address?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
|
|
1538
|
+
}
|
|
1539
|
+
|
|
1540
|
+
interface ShopifyOrderDiscountAllocation {
|
|
1541
|
+
readonly amount: string;
|
|
1542
|
+
readonly discount_application_index: number;
|
|
1543
|
+
readonly amount_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1544
|
+
}
|
|
1545
|
+
|
|
1546
|
+
interface ShopifyOrderDiscountApplication {
|
|
1547
|
+
readonly type: io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountApplicationType;
|
|
1548
|
+
readonly allocation_method: io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountAllocationMethod;
|
|
1549
|
+
readonly code?: string;
|
|
1550
|
+
readonly description?: string;
|
|
1551
|
+
readonly target_selection: io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountApplicationTargetSelection;
|
|
1552
|
+
readonly target_type: io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountApplicationTargetType;
|
|
1553
|
+
readonly title?: string;
|
|
1554
|
+
readonly value: string;
|
|
1555
|
+
readonly value_type: io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountApplicationValueType;
|
|
1556
|
+
}
|
|
1557
|
+
|
|
1558
|
+
interface ShopifyOrderDiscountCode {
|
|
1559
|
+
readonly amount: string;
|
|
1560
|
+
readonly code: string;
|
|
1561
|
+
readonly type: io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountType;
|
|
1562
|
+
}
|
|
1563
|
+
|
|
1564
|
+
interface ShopifyOrderDuty {
|
|
1565
|
+
readonly id: string;
|
|
1566
|
+
readonly harmonized_system_code: string;
|
|
1567
|
+
readonly country_code_of_origin: string;
|
|
1568
|
+
readonly presentment_money: io.flow.shopify.xborder.v0.models.ShopifyOrderMoney;
|
|
1569
|
+
readonly shop_money: io.flow.shopify.xborder.v0.models.ShopifyOrderMoney;
|
|
1570
|
+
readonly tax_lines: io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
|
|
1571
|
+
}
|
|
1572
|
+
|
|
1573
|
+
interface ShopifyOrderFulfillment {
|
|
1574
|
+
readonly created_at?: string;
|
|
1575
|
+
readonly id?: number;
|
|
1576
|
+
readonly line_items: io.flow.shopify.xborder.v0.models.ShopifyOrderLineItem[];
|
|
1577
|
+
readonly location_id: number;
|
|
1578
|
+
readonly name: string;
|
|
1579
|
+
readonly notify_customer?: boolean;
|
|
1580
|
+
readonly order_id?: number;
|
|
1581
|
+
readonly receipt?: any /*object*/;
|
|
1582
|
+
readonly service: string;
|
|
1583
|
+
readonly shipment_status?: io.flow.shopify.xborder.v0.enums.ShopifyOrderFulfillmentShipmentStatus;
|
|
1584
|
+
readonly status?: io.flow.shopify.xborder.v0.enums.ShopifyOrderFulfillmentStatus;
|
|
1585
|
+
readonly tracking_company?: string;
|
|
1586
|
+
readonly tracking_number?: string;
|
|
1587
|
+
readonly tracking_numbers?: string[];
|
|
1588
|
+
readonly tracking_urls?: string[];
|
|
1589
|
+
readonly updated_at?: string;
|
|
1590
|
+
readonly variant_inventory_management?: string;
|
|
1591
|
+
}
|
|
1592
|
+
|
|
1593
|
+
interface ShopifyOrderLineItem {
|
|
1594
|
+
readonly fulfillable_quantity?: number;
|
|
1595
|
+
readonly fulfillment_service: string;
|
|
1596
|
+
readonly fulfillment_status?: io.flow.shopify.xborder.v0.enums.ShopifyOrderFulfillmentStatusType;
|
|
1597
|
+
readonly grams?: number;
|
|
1598
|
+
readonly id: number;
|
|
1599
|
+
readonly price?: string;
|
|
1600
|
+
readonly price_set?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1601
|
+
readonly product_id?: number;
|
|
1602
|
+
readonly quantity: number;
|
|
1603
|
+
readonly requires_shipping: boolean;
|
|
1604
|
+
readonly sku?: string;
|
|
1605
|
+
readonly title?: string;
|
|
1606
|
+
readonly variant_id?: number;
|
|
1607
|
+
readonly variant_title?: string;
|
|
1608
|
+
readonly vendor?: string;
|
|
1609
|
+
readonly name?: string;
|
|
1610
|
+
readonly gift_card: boolean;
|
|
1611
|
+
readonly properties: io.flow.shopify.xborder.v0.models.ShopifyOrderProperty[];
|
|
1612
|
+
readonly taxable: boolean;
|
|
1613
|
+
readonly tax_lines: io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
|
|
1614
|
+
readonly tip_payment_gateway?: string;
|
|
1615
|
+
readonly tip_payment_method?: string;
|
|
1616
|
+
readonly total_discount?: string;
|
|
1617
|
+
readonly total_discount_set?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1618
|
+
readonly discount_allocations?: io.flow.shopify.xborder.v0.models.ShopifyOrderDiscountAllocation[];
|
|
1619
|
+
readonly origin_location?: io.flow.shopify.xborder.v0.models.ShopifyOrderOriginLocation;
|
|
1620
|
+
readonly variant_inventory_management?: string;
|
|
1621
|
+
readonly product_exists?: boolean;
|
|
1622
|
+
readonly duties: io.flow.shopify.xborder.v0.models.ShopifyOrderDuty[];
|
|
1623
|
+
}
|
|
1624
|
+
|
|
1625
|
+
interface ShopifyOrderMetafield {
|
|
1626
|
+
readonly id: number;
|
|
1627
|
+
readonly key: string;
|
|
1628
|
+
readonly namespace: string;
|
|
1629
|
+
readonly value: string;
|
|
1630
|
+
readonly value_type: io.flow.shopify.xborder.v0.enums.ShopifyOrderValueType;
|
|
1631
|
+
readonly description?: string;
|
|
1632
|
+
readonly owner_id: number;
|
|
1633
|
+
readonly owner_resource: string;
|
|
1634
|
+
}
|
|
1635
|
+
|
|
1636
|
+
interface ShopifyOrderMetafieldForm {
|
|
1637
|
+
readonly key: string;
|
|
1638
|
+
readonly namespace: string;
|
|
1639
|
+
readonly value: string;
|
|
1640
|
+
readonly value_type: io.flow.shopify.xborder.v0.enums.ShopifyOrderValueType;
|
|
1641
|
+
readonly description?: string;
|
|
1642
|
+
}
|
|
1643
|
+
|
|
1644
|
+
interface ShopifyOrderMoney {
|
|
1645
|
+
readonly amount: number;
|
|
1646
|
+
readonly currency_code: string;
|
|
1647
|
+
}
|
|
1648
|
+
|
|
1649
|
+
interface ShopifyOrderMoneySet {
|
|
1650
|
+
readonly shop_money: io.flow.shopify.xborder.v0.models.ShopifyOrderMoney;
|
|
1651
|
+
readonly presentment_money: io.flow.shopify.xborder.v0.models.ShopifyOrderMoney;
|
|
1652
|
+
}
|
|
1653
|
+
|
|
1654
|
+
interface ShopifyOrderOriginLocation {
|
|
1655
|
+
readonly id: number;
|
|
1656
|
+
readonly country_code: string;
|
|
1657
|
+
readonly province_code: string;
|
|
1658
|
+
readonly name: string;
|
|
1659
|
+
readonly address1: string;
|
|
1660
|
+
readonly address2: string;
|
|
1661
|
+
readonly city: string;
|
|
1662
|
+
readonly zip: string;
|
|
1663
|
+
}
|
|
1664
|
+
|
|
1665
|
+
interface ShopifyOrderPaymentDetail {
|
|
1666
|
+
readonly avs_result_code?: string;
|
|
1667
|
+
readonly credit_card_bin?: string;
|
|
1668
|
+
readonly credit_card_company: string;
|
|
1669
|
+
readonly credit_card_number: string;
|
|
1670
|
+
readonly cvv_result_code?: string;
|
|
1671
|
+
}
|
|
1672
|
+
|
|
1673
|
+
interface ShopifyOrderProperty {
|
|
1674
|
+
readonly name: string;
|
|
1675
|
+
readonly value: any /*json*/;
|
|
1676
|
+
}
|
|
1677
|
+
|
|
1678
|
+
interface ShopifyOrderRefund {
|
|
1679
|
+
readonly id: number;
|
|
1680
|
+
readonly order_id: number;
|
|
1681
|
+
readonly created_at: string;
|
|
1682
|
+
readonly processed_at: string;
|
|
1683
|
+
readonly note?: string;
|
|
1684
|
+
readonly refund_line_items?: io.flow.shopify.xborder.v0.models.ShopifyOrderRefundLineItem[];
|
|
1685
|
+
readonly restock?: boolean;
|
|
1686
|
+
readonly transactions?: io.flow.shopify.xborder.v0.models.ShopifyOrderTransaction[];
|
|
1687
|
+
readonly user_id?: number;
|
|
1688
|
+
}
|
|
1689
|
+
|
|
1690
|
+
interface ShopifyOrderRefundLineItem {
|
|
1691
|
+
readonly id: number;
|
|
1692
|
+
readonly line_item: io.flow.shopify.xborder.v0.models.ShopifyOrderLineItem;
|
|
1693
|
+
readonly line_item_id: number;
|
|
1694
|
+
readonly quantity: number;
|
|
1695
|
+
readonly restock_type: io.flow.shopify.xborder.v0.enums.ShopifyOrderRestockType;
|
|
1696
|
+
readonly location_id?: number;
|
|
1697
|
+
readonly subtotal?: number;
|
|
1698
|
+
readonly total_tax?: number;
|
|
1699
|
+
}
|
|
1700
|
+
|
|
1701
|
+
interface ShopifyOrderShippingLine {
|
|
1702
|
+
readonly code?: string;
|
|
1703
|
+
readonly price: string;
|
|
1704
|
+
readonly source: string;
|
|
1705
|
+
readonly title: string;
|
|
1706
|
+
readonly tax_lines: io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
|
|
1707
|
+
readonly carrier_identifier?: string;
|
|
1708
|
+
readonly requested_fulfillment_service_id?: string;
|
|
1709
|
+
readonly price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1710
|
+
readonly discounted_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1711
|
+
}
|
|
1712
|
+
|
|
1713
|
+
interface ShopifyOrderTaxLine {
|
|
1714
|
+
readonly price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1715
|
+
readonly rate: number;
|
|
1716
|
+
readonly title: string;
|
|
1717
|
+
}
|
|
1718
|
+
|
|
1719
|
+
interface ShopifyOrderTransaction {
|
|
1720
|
+
readonly id: number;
|
|
1721
|
+
readonly order_id: number;
|
|
1722
|
+
readonly amount: number;
|
|
1723
|
+
readonly kind: io.flow.shopify.xborder.v0.enums.ShopifyOrderKindType;
|
|
1724
|
+
readonly gateway: string;
|
|
1725
|
+
readonly currency: string;
|
|
1726
|
+
readonly status: io.flow.shopify.xborder.v0.enums.ShopifyOrderTransactionStatus;
|
|
1727
|
+
readonly payment_details?: io.flow.shopify.xborder.v0.models.ShopifyOrderPaymentDetail;
|
|
1728
|
+
readonly receipt: any /*object*/;
|
|
1729
|
+
readonly authorization?: string;
|
|
1730
|
+
readonly created_at: string;
|
|
1731
|
+
readonly device_id?: number;
|
|
1732
|
+
readonly gift_card_id?: number;
|
|
1733
|
+
readonly source_name: string;
|
|
1734
|
+
readonly error_code?: io.flow.shopify.xborder.v0.enums.ShopifyOrderTransactionErrorCode;
|
|
1735
|
+
readonly test: boolean;
|
|
1736
|
+
readonly parent_id?: number;
|
|
1737
|
+
readonly user_id?: number;
|
|
1738
|
+
}
|
|
1739
|
+
|
|
1740
|
+
interface ShopifyOrderWrapper {
|
|
1741
|
+
readonly order: any /*json*/;
|
|
1742
|
+
}
|
|
1743
|
+
|
|
1744
|
+
interface ShopifyOrdersWrapper {
|
|
1745
|
+
readonly orders: io.flow.shopify.xborder.v0.models.ShopifyOrder[];
|
|
1746
|
+
}
|
|
1747
|
+
|
|
1748
|
+
interface ShopifyWebhookOrder {
|
|
1749
|
+
readonly id: number;
|
|
1750
|
+
readonly order_number: number;
|
|
1751
|
+
readonly billing_address?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
|
|
1752
|
+
readonly browser_ip?: string;
|
|
1753
|
+
readonly buyer_accepts_marketing: boolean;
|
|
1754
|
+
readonly cancel_reason?: io.flow.shopify.xborder.v0.enums.ShopifyOrderCancelReason;
|
|
1755
|
+
readonly cancelled_at?: string;
|
|
1756
|
+
readonly cart_token?: string;
|
|
1757
|
+
readonly client_details?: io.flow.shopify.xborder.v0.models.ShopifyOrderClientDetail;
|
|
1758
|
+
readonly closed_at?: string;
|
|
1759
|
+
readonly created_at: string;
|
|
1760
|
+
readonly currency: string;
|
|
1761
|
+
readonly total_discounts_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1762
|
+
readonly total_duties_set?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1763
|
+
readonly original_total_duties_set?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1764
|
+
readonly total_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1765
|
+
readonly subtotal_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1766
|
+
readonly total_tax_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1767
|
+
readonly total_line_items_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
|
|
1768
|
+
readonly customer: io.flow.shopify.xborder.v0.models.ShopifyOrderCustomer;
|
|
1769
|
+
readonly customer_locale?: string;
|
|
1770
|
+
readonly discount_applications: io.flow.shopify.xborder.v0.models.ShopifyOrderDiscountApplication[];
|
|
1771
|
+
readonly discount_codes: io.flow.shopify.xborder.v0.models.ShopifyOrderDiscountCode[];
|
|
1772
|
+
readonly email?: string;
|
|
1773
|
+
readonly financial_status: io.flow.shopify.xborder.v0.enums.ShopifyOrderFinancialStatusType;
|
|
1774
|
+
readonly fulfillments: io.flow.shopify.xborder.v0.models.ShopifyOrderFulfillment[];
|
|
1775
|
+
readonly fulfillment_status?: io.flow.shopify.xborder.v0.enums.ShopifyOrderFulfillmentStatusType;
|
|
1776
|
+
readonly landing_site?: string;
|
|
1777
|
+
readonly line_items: io.flow.shopify.xborder.v0.models.ShopifyOrderLineItem[];
|
|
1778
|
+
readonly location_id?: number;
|
|
1779
|
+
readonly name: string;
|
|
1780
|
+
readonly note?: string;
|
|
1781
|
+
readonly note_attributes: io.flow.shopify.xborder.v0.models.ShopifyOrderAttribute[];
|
|
1782
|
+
readonly number?: number;
|
|
1783
|
+
readonly payment_gateway_names: string[];
|
|
1784
|
+
readonly processed_at?: string;
|
|
1785
|
+
readonly processing_method?: io.flow.shopify.xborder.v0.enums.ShopifyOrderProcessingMethodType;
|
|
1786
|
+
readonly referring_site?: string;
|
|
1787
|
+
readonly refunds: io.flow.shopify.xborder.v0.models.ShopifyOrderRefund[];
|
|
1788
|
+
readonly shipping_address?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
|
|
1789
|
+
readonly shipping_lines?: io.flow.shopify.xborder.v0.models.ShopifyOrderShippingLine[];
|
|
1790
|
+
readonly source_name?: string;
|
|
1791
|
+
readonly tags?: string;
|
|
1792
|
+
readonly tax_lines: io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
|
|
1793
|
+
readonly taxes_included: boolean;
|
|
1794
|
+
readonly token?: string;
|
|
1795
|
+
readonly total_weight?: number;
|
|
1796
|
+
readonly updated_at?: string;
|
|
1797
|
+
readonly user_id?: number;
|
|
1798
|
+
readonly order_status_url?: string;
|
|
1799
|
+
readonly inventory_behaviour?: io.flow.shopify.xborder.v0.enums.ShopifyOrderInventoryBehaviour;
|
|
1800
|
+
readonly gateway?: string;
|
|
1801
|
+
readonly transactions?: io.flow.shopify.xborder.v0.models.ShopifyOrderTransaction[];
|
|
1802
|
+
readonly send_receipt?: boolean;
|
|
1803
|
+
readonly metafields?: io.flow.shopify.xborder.v0.models.ShopifyOrderMetafield[];
|
|
1804
|
+
}
|
|
1805
|
+
|
|
1806
|
+
interface ShopifyWebhookRequest {
|
|
1807
|
+
readonly topic: io.flow.shopify.xborder.v0.enums.ShopifyWebhookTopic;
|
|
1808
|
+
readonly address: string;
|
|
1809
|
+
readonly format: io.flow.shopify.xborder.v0.enums.ShopifyWebhookFormat;
|
|
1810
|
+
}
|
|
1811
|
+
|
|
1812
|
+
interface ShopifyWebhookRequestWrapper {
|
|
1813
|
+
readonly webhook: io.flow.shopify.xborder.v0.models.ShopifyWebhookRequest;
|
|
1814
|
+
}
|
|
1815
|
+
|
|
1816
|
+
interface ShopifyWebhookResponse {
|
|
1817
|
+
readonly id: number;
|
|
1818
|
+
readonly address: string;
|
|
1819
|
+
readonly topic: io.flow.shopify.xborder.v0.enums.ShopifyWebhookTopic;
|
|
1820
|
+
readonly created_at: string;
|
|
1821
|
+
readonly updated_at: string;
|
|
1822
|
+
readonly format: io.flow.shopify.xborder.v0.enums.ShopifyWebhookFormat;
|
|
1823
|
+
readonly fields: any /*json*/[];
|
|
1824
|
+
readonly metafield_namespaces: any /*json*/[];
|
|
1825
|
+
readonly api_version: string;
|
|
1826
|
+
readonly private_metafield_namespaces: any /*json*/[];
|
|
1827
|
+
}
|
|
1828
|
+
|
|
1829
|
+
interface ShopifyWebhookResponseWrapper {
|
|
1830
|
+
readonly webhook: io.flow.shopify.xborder.v0.models.ShopifyWebhookResponse;
|
|
1831
|
+
}
|
|
1832
|
+
|
|
1833
|
+
interface ShopifyWebhooksResponseWrapper {
|
|
1834
|
+
readonly webhooks: io.flow.shopify.xborder.v0.models.ShopifyWebhookResponse[];
|
|
1835
|
+
}
|
|
1836
|
+
}
|
|
1837
|
+
|
|
1180
1838
|
declare namespace io.flow.reference.v0.enums {
|
|
1181
1839
|
type PaymentMethodCapability = 'credit' | 'debit';
|
|
1182
1840
|
type PaymentMethodType = 'card' | 'online' | 'offline';
|
|
@@ -10063,6 +10721,14 @@ declare namespace io.flow.label.internal.v0.models {
|
|
|
10063
10721
|
readonly default_contents: string;
|
|
10064
10722
|
}
|
|
10065
10723
|
|
|
10724
|
+
interface InvoiceInfoForm {
|
|
10725
|
+
readonly invoice_number: string;
|
|
10726
|
+
readonly invoice_date: string;
|
|
10727
|
+
readonly currency_code: string;
|
|
10728
|
+
readonly invoice_amount: string;
|
|
10729
|
+
readonly control_id?: string;
|
|
10730
|
+
}
|
|
10731
|
+
|
|
10066
10732
|
interface LabelGenerationSettings {
|
|
10067
10733
|
readonly id: string;
|
|
10068
10734
|
readonly item_identifier?: string;
|
|
@@ -10075,6 +10741,46 @@ declare namespace io.flow.label.internal.v0.models {
|
|
|
10075
10741
|
readonly auto_generate_query?: string;
|
|
10076
10742
|
readonly commercial_invoice_only_query?: string;
|
|
10077
10743
|
}
|
|
10744
|
+
|
|
10745
|
+
interface ShipperAccountInfoForm {
|
|
10746
|
+
readonly account_name?: string;
|
|
10747
|
+
readonly account_number: string;
|
|
10748
|
+
readonly postal: string;
|
|
10749
|
+
readonly country: string;
|
|
10750
|
+
readonly invoice_info?: io.flow.label.internal.v0.models.InvoiceInfoForm;
|
|
10751
|
+
}
|
|
10752
|
+
|
|
10753
|
+
interface UpsLicense {
|
|
10754
|
+
readonly access_license_number: string;
|
|
10755
|
+
readonly address: io.flow.common.v0.models.BillingAddress;
|
|
10756
|
+
readonly contact: io.flow.common.v0.models.Contact;
|
|
10757
|
+
readonly secondary_contact?: io.flow.common.v0.models.Contact;
|
|
10758
|
+
readonly company_url: string;
|
|
10759
|
+
}
|
|
10760
|
+
|
|
10761
|
+
interface UpsLicenseForm {
|
|
10762
|
+
readonly address: io.flow.common.v0.models.BillingAddress;
|
|
10763
|
+
readonly contact: io.flow.common.v0.models.Contact;
|
|
10764
|
+
readonly secondary_contact?: io.flow.common.v0.models.Contact;
|
|
10765
|
+
readonly developer_license_number: string;
|
|
10766
|
+
readonly company_url: string;
|
|
10767
|
+
}
|
|
10768
|
+
|
|
10769
|
+
interface UpsRegistration {
|
|
10770
|
+
readonly username: string;
|
|
10771
|
+
readonly address: io.flow.common.v0.models.BillingAddress;
|
|
10772
|
+
readonly contact: io.flow.common.v0.models.Contact;
|
|
10773
|
+
readonly suggest_username_indicator?: string;
|
|
10774
|
+
}
|
|
10775
|
+
|
|
10776
|
+
interface UpsRegistrationForm {
|
|
10777
|
+
readonly username: string;
|
|
10778
|
+
readonly password: string;
|
|
10779
|
+
readonly access_license_number: string;
|
|
10780
|
+
readonly address: io.flow.common.v0.models.BillingAddress;
|
|
10781
|
+
readonly contact: io.flow.common.v0.models.Contact;
|
|
10782
|
+
readonly shipper_account?: io.flow.label.internal.v0.models.ShipperAccountInfoForm;
|
|
10783
|
+
}
|
|
10078
10784
|
}
|
|
10079
10785
|
|
|
10080
10786
|
declare namespace io.flow.catalog.v0.enums {
|
|
@@ -10752,6 +11458,7 @@ declare namespace io.flow.item.v0.models {
|
|
|
10752
11458
|
readonly item: io.flow.common.v0.models.CatalogItemReference;
|
|
10753
11459
|
readonly pricing: io.flow.item.v0.models.LocalItemPricing;
|
|
10754
11460
|
readonly status: io.flow.catalog.v0.enums.SubcatalogItemStatus;
|
|
11461
|
+
readonly attributes?: Record<string, string>;
|
|
10755
11462
|
}
|
|
10756
11463
|
|
|
10757
11464
|
interface LocalItemAttributePricing {
|
|
@@ -13680,7 +14387,6 @@ declare namespace io.flow.checkout.protocol.v0.models {
|
|
|
13680
14387
|
|
|
13681
14388
|
interface CheckoutSequencedInitiatePaymentResponseSuccess {
|
|
13682
14389
|
readonly discriminator: 'checkout_sequenced_initiate_payment_response_success';
|
|
13683
|
-
readonly authorization_key?: string;
|
|
13684
14390
|
readonly action_requirement: io.flow.checkout.backend.v0.unions.CheckoutPaymentActionRequirement;
|
|
13685
14391
|
}
|
|
13686
14392
|
|
|
@@ -17105,6 +17811,123 @@ declare namespace io.flow.experiment.internal.v0.unions {
|
|
|
17105
17811
|
| io.flow.experiment.internal.v0.models.FeatureVariantForm;
|
|
17106
17812
|
}
|
|
17107
17813
|
|
|
17814
|
+
declare namespace io.flow.ups.registration.v0.models {
|
|
17815
|
+
interface Fault {
|
|
17816
|
+
readonly faultcode: string;
|
|
17817
|
+
readonly faultstring: string;
|
|
17818
|
+
readonly detail: io.flow.ups.registration.v0.models.UpsRegistrationDetail;
|
|
17819
|
+
}
|
|
17820
|
+
|
|
17821
|
+
interface PrimaryErrorCode {
|
|
17822
|
+
readonly Code: string;
|
|
17823
|
+
readonly Description: string;
|
|
17824
|
+
}
|
|
17825
|
+
|
|
17826
|
+
interface RegisterResponse {
|
|
17827
|
+
readonly Response: io.flow.ups.registration.v0.models.UpsRegistrationResponse;
|
|
17828
|
+
readonly SuggestedUsername: string;
|
|
17829
|
+
}
|
|
17830
|
+
|
|
17831
|
+
interface Request {
|
|
17832
|
+
readonly RequestOption: string;
|
|
17833
|
+
readonly TransactionReference: io.flow.ups.registration.v0.models.TransactionReference;
|
|
17834
|
+
}
|
|
17835
|
+
|
|
17836
|
+
interface RequestAddress {
|
|
17837
|
+
readonly AddressLine: string[];
|
|
17838
|
+
readonly City: string;
|
|
17839
|
+
readonly StateProvinceCode?: string;
|
|
17840
|
+
readonly PostalCode?: string;
|
|
17841
|
+
readonly CountryCode: string;
|
|
17842
|
+
}
|
|
17843
|
+
|
|
17844
|
+
interface RequestInvoiceInfo {
|
|
17845
|
+
readonly InvoiceNumber: string;
|
|
17846
|
+
readonly InvoiceDate: string;
|
|
17847
|
+
readonly CurrencyCode: string;
|
|
17848
|
+
readonly InvoiceAmount: string;
|
|
17849
|
+
readonly ControlID?: string;
|
|
17850
|
+
}
|
|
17851
|
+
|
|
17852
|
+
interface RequestShipperAccount {
|
|
17853
|
+
readonly AccountName?: string;
|
|
17854
|
+
readonly AccountNumber: string;
|
|
17855
|
+
readonly PostalCode: string;
|
|
17856
|
+
readonly CountryCode: string;
|
|
17857
|
+
readonly InvoiceInfo?: io.flow.ups.registration.v0.models.RequestInvoiceInfo;
|
|
17858
|
+
}
|
|
17859
|
+
|
|
17860
|
+
interface ResponseStatus {
|
|
17861
|
+
readonly Code: string;
|
|
17862
|
+
readonly Description: string;
|
|
17863
|
+
}
|
|
17864
|
+
|
|
17865
|
+
interface ServiceAccessToken {
|
|
17866
|
+
readonly AccessLicenseNumber: string;
|
|
17867
|
+
}
|
|
17868
|
+
|
|
17869
|
+
interface TransactionReference {
|
|
17870
|
+
readonly CustomerContext: string;
|
|
17871
|
+
readonly TransactionIdentifier?: string;
|
|
17872
|
+
}
|
|
17873
|
+
|
|
17874
|
+
interface UpsRegistrationDetail {
|
|
17875
|
+
readonly Errors: io.flow.ups.registration.v0.models.UpsRegistrationErrors;
|
|
17876
|
+
}
|
|
17877
|
+
|
|
17878
|
+
interface UpsRegistrationErrorDetail {
|
|
17879
|
+
readonly Severity: string;
|
|
17880
|
+
readonly PrimaryErrorCode: io.flow.ups.registration.v0.models.PrimaryErrorCode;
|
|
17881
|
+
}
|
|
17882
|
+
|
|
17883
|
+
interface UpsRegistrationErrors {
|
|
17884
|
+
readonly ErrorDetail: io.flow.ups.registration.v0.models.UpsRegistrationErrorDetail;
|
|
17885
|
+
}
|
|
17886
|
+
|
|
17887
|
+
interface UpsRegistrationRequest {
|
|
17888
|
+
readonly Request: io.flow.ups.registration.v0.models.Request;
|
|
17889
|
+
readonly Username: string;
|
|
17890
|
+
readonly Password: string;
|
|
17891
|
+
readonly CompanyName: string;
|
|
17892
|
+
readonly CustomerName: string;
|
|
17893
|
+
readonly EndUserIPAddress: string;
|
|
17894
|
+
readonly Title?: string;
|
|
17895
|
+
readonly Address: io.flow.ups.registration.v0.models.RequestAddress;
|
|
17896
|
+
readonly PhoneNumber: string;
|
|
17897
|
+
readonly PhoneExtension?: string;
|
|
17898
|
+
readonly EmailAddress: string;
|
|
17899
|
+
readonly NotificationCode: string;
|
|
17900
|
+
readonly DeviceIdentity?: string;
|
|
17901
|
+
readonly SuggestUsernameIndicator: string;
|
|
17902
|
+
readonly ShipperAccount?: io.flow.ups.registration.v0.models.RequestShipperAccount;
|
|
17903
|
+
}
|
|
17904
|
+
|
|
17905
|
+
interface UpsRegistrationRequestWrapper {
|
|
17906
|
+
readonly UPSSecurity: io.flow.ups.registration.v0.models.UpsSecurity;
|
|
17907
|
+
readonly RegisterRequest: io.flow.ups.registration.v0.models.UpsRegistrationRequest;
|
|
17908
|
+
}
|
|
17909
|
+
|
|
17910
|
+
interface UpsRegistrationResponse {
|
|
17911
|
+
readonly ResponseStatus: io.flow.ups.registration.v0.models.ResponseStatus;
|
|
17912
|
+
readonly TransactionReference: io.flow.ups.registration.v0.models.TransactionReference;
|
|
17913
|
+
}
|
|
17914
|
+
|
|
17915
|
+
interface UpsRegistrationResponseWrapper {
|
|
17916
|
+
readonly RegisterResponse?: io.flow.ups.registration.v0.models.RegisterResponse;
|
|
17917
|
+
readonly Fault?: io.flow.ups.registration.v0.models.Fault;
|
|
17918
|
+
}
|
|
17919
|
+
|
|
17920
|
+
interface UpsSecurity {
|
|
17921
|
+
readonly UsernameToken: io.flow.ups.registration.v0.models.UsernameToken;
|
|
17922
|
+
readonly ServiceAccessToken: io.flow.ups.registration.v0.models.ServiceAccessToken;
|
|
17923
|
+
}
|
|
17924
|
+
|
|
17925
|
+
interface UsernameToken {
|
|
17926
|
+
readonly Username: string;
|
|
17927
|
+
readonly Password: string;
|
|
17928
|
+
}
|
|
17929
|
+
}
|
|
17930
|
+
|
|
17108
17931
|
declare namespace io.flow.internal.v0.enums {
|
|
17109
17932
|
type AddressConfigurationSettingProvinceCode = 'iso_3166_2' | 'name';
|
|
17110
17933
|
type BillingAllocationKey =
|
|
@@ -20243,7 +21066,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20243
21066
|
|
|
20244
21067
|
interface CheckoutSequencedInitiatePaymentResponseSuccess {
|
|
20245
21068
|
readonly discriminator: 'checkout_sequenced_initiate_payment_response_success';
|
|
20246
|
-
readonly authorization_key?: string;
|
|
20247
21069
|
readonly action_requirement: io.flow.checkout.backend.v0.unions.CheckoutPaymentActionRequirement;
|
|
20248
21070
|
}
|
|
20249
21071
|
|
|
@@ -22957,6 +23779,14 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22957
23779
|
readonly total: io.flow.common.v0.models.Price;
|
|
22958
23780
|
}
|
|
22959
23781
|
|
|
23782
|
+
interface InvoiceInfoForm {
|
|
23783
|
+
readonly invoice_number: string;
|
|
23784
|
+
readonly invoice_date: string;
|
|
23785
|
+
readonly currency_code: string;
|
|
23786
|
+
readonly invoice_amount: string;
|
|
23787
|
+
readonly control_id?: string;
|
|
23788
|
+
}
|
|
23789
|
+
|
|
22960
23790
|
interface InvoiceLine {
|
|
22961
23791
|
readonly id: string;
|
|
22962
23792
|
readonly description: string;
|
|
@@ -23552,7 +24382,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
23552
24382
|
readonly event_id: string;
|
|
23553
24383
|
readonly timestamp: string;
|
|
23554
24384
|
readonly organization: string;
|
|
23555
|
-
readonly
|
|
24385
|
+
readonly id: string;
|
|
23556
24386
|
}
|
|
23557
24387
|
|
|
23558
24388
|
interface LocalizedPriceBookItemUpserted {
|
|
@@ -25256,6 +26086,14 @@ declare namespace io.flow.internal.v0.models {
|
|
|
25256
26086
|
readonly total: io.flow.common.v0.models.PriceWithBase;
|
|
25257
26087
|
}
|
|
25258
26088
|
|
|
26089
|
+
interface ShipperAccountInfoForm {
|
|
26090
|
+
readonly account_name?: string;
|
|
26091
|
+
readonly account_number: string;
|
|
26092
|
+
readonly postal: string;
|
|
26093
|
+
readonly country: string;
|
|
26094
|
+
readonly invoice_info?: io.flow.internal.v0.models.InvoiceInfoForm;
|
|
26095
|
+
}
|
|
26096
|
+
|
|
25259
26097
|
interface Shop {
|
|
25260
26098
|
readonly id: string;
|
|
25261
26099
|
readonly organization?: io.flow.common.v0.models.OrganizationReference;
|
|
@@ -25275,6 +26113,13 @@ declare namespace io.flow.internal.v0.models {
|
|
|
25275
26113
|
readonly shop: io.flow.internal.v0.models.Shop;
|
|
25276
26114
|
}
|
|
25277
26115
|
|
|
26116
|
+
interface ShopifyXborderShop {
|
|
26117
|
+
readonly id: string;
|
|
26118
|
+
readonly organization_id: string;
|
|
26119
|
+
readonly shop: string;
|
|
26120
|
+
readonly created_at: string;
|
|
26121
|
+
}
|
|
26122
|
+
|
|
25278
26123
|
interface ShopifyCheckInventoryError {
|
|
25279
26124
|
readonly code: io.flow.internal.v0.enums.ShopifyCheckInventoryErrorCode;
|
|
25280
26125
|
readonly messages: string[];
|
|
@@ -26229,6 +27074,38 @@ declare namespace io.flow.internal.v0.models {
|
|
|
26229
27074
|
readonly direct_feed_location_code?: string;
|
|
26230
27075
|
}
|
|
26231
27076
|
|
|
27077
|
+
interface UpsLicense {
|
|
27078
|
+
readonly access_license_number: string;
|
|
27079
|
+
readonly address: io.flow.common.v0.models.BillingAddress;
|
|
27080
|
+
readonly contact: io.flow.common.v0.models.Contact;
|
|
27081
|
+
readonly secondary_contact?: io.flow.common.v0.models.Contact;
|
|
27082
|
+
readonly company_url: string;
|
|
27083
|
+
}
|
|
27084
|
+
|
|
27085
|
+
interface UpsLicenseForm {
|
|
27086
|
+
readonly address: io.flow.common.v0.models.BillingAddress;
|
|
27087
|
+
readonly contact: io.flow.common.v0.models.Contact;
|
|
27088
|
+
readonly secondary_contact?: io.flow.common.v0.models.Contact;
|
|
27089
|
+
readonly developer_license_number: string;
|
|
27090
|
+
readonly company_url: string;
|
|
27091
|
+
}
|
|
27092
|
+
|
|
27093
|
+
interface UpsRegistration {
|
|
27094
|
+
readonly username: string;
|
|
27095
|
+
readonly address: io.flow.common.v0.models.BillingAddress;
|
|
27096
|
+
readonly contact: io.flow.common.v0.models.Contact;
|
|
27097
|
+
readonly suggest_username_indicator?: string;
|
|
27098
|
+
}
|
|
27099
|
+
|
|
27100
|
+
interface UpsRegistrationForm {
|
|
27101
|
+
readonly username: string;
|
|
27102
|
+
readonly password: string;
|
|
27103
|
+
readonly access_license_number: string;
|
|
27104
|
+
readonly address: io.flow.common.v0.models.BillingAddress;
|
|
27105
|
+
readonly contact: io.flow.common.v0.models.Contact;
|
|
27106
|
+
readonly shipper_account?: io.flow.internal.v0.models.ShipperAccountInfoForm;
|
|
27107
|
+
}
|
|
27108
|
+
|
|
26232
27109
|
interface UserDeletedV2 {
|
|
26233
27110
|
readonly discriminator: 'user_deleted_v2';
|
|
26234
27111
|
readonly event_id: string;
|
|
@@ -26326,13 +27203,17 @@ declare namespace io.flow.internal.v0.models {
|
|
|
26326
27203
|
readonly number: string;
|
|
26327
27204
|
}
|
|
26328
27205
|
|
|
27206
|
+
interface Webhook {
|
|
27207
|
+
readonly placeholder?: any /*json*/;
|
|
27208
|
+
}
|
|
27209
|
+
|
|
26329
27210
|
interface WholeOrderActionForm {
|
|
26330
27211
|
readonly discriminator: 'whole_order_action_form';
|
|
26331
27212
|
readonly action: io.flow.internal.v0.enums.OrderAction;
|
|
26332
27213
|
}
|
|
26333
27214
|
|
|
26334
27215
|
interface XborderOrder {
|
|
26335
|
-
readonly shopify_order: io.flow.shopify.
|
|
27216
|
+
readonly shopify_order: io.flow.shopify.xborder.v0.models.ShopifyOrder;
|
|
26336
27217
|
readonly flow_authorization: io.flow.payment.v0.unions.Authorization;
|
|
26337
27218
|
}
|
|
26338
27219
|
}
|
|
@@ -27953,6 +28834,7 @@ export type InventoryOrganizationSettings = io.flow.internal.v0.models.Inventory
|
|
|
27953
28834
|
export type InventoryOrganizationSettingsForm = io.flow.internal.v0.models.InventoryOrganizationSettingsForm;
|
|
27954
28835
|
export type InventoryReservation = io.flow.internal.v0.enums.InventoryReservation;
|
|
27955
28836
|
export type Invoice = io.flow.internal.v0.models.Invoice;
|
|
28837
|
+
export type InvoiceInfoForm = io.flow.internal.v0.models.InvoiceInfoForm;
|
|
27956
28838
|
export type InvoiceLine = io.flow.internal.v0.models.InvoiceLine;
|
|
27957
28839
|
export type InvoiceTransaction = io.flow.internal.v0.models.InvoiceTransaction;
|
|
27958
28840
|
export type Issuer = io.flow.internal.v0.models.Issuer;
|
|
@@ -28330,9 +29212,11 @@ export type SessionRollout = io.flow.internal.v0.models.SessionRollout;
|
|
|
28330
29212
|
export type SessionRolloutForm = io.flow.internal.v0.models.SessionRolloutForm;
|
|
28331
29213
|
export type SfExpress = io.flow.internal.v0.models.SfExpress;
|
|
28332
29214
|
export type ShippedItemValue = io.flow.internal.v0.models.ShippedItemValue;
|
|
29215
|
+
export type ShipperAccountInfoForm = io.flow.internal.v0.models.ShipperAccountInfoForm;
|
|
28333
29216
|
export type Shop = io.flow.internal.v0.models.Shop;
|
|
28334
29217
|
export type ShopForm = io.flow.internal.v0.models.ShopForm;
|
|
28335
29218
|
export type ShopVersion = io.flow.internal.v0.models.ShopVersion;
|
|
29219
|
+
export type ShopifyXborderShop = io.flow.internal.v0.models.ShopifyXborderShop;
|
|
28336
29220
|
export type ShopifyCheckInventoryError = io.flow.internal.v0.models.ShopifyCheckInventoryError;
|
|
28337
29221
|
export type ShopifyCheckInventoryErrorCode = io.flow.internal.v0.enums.ShopifyCheckInventoryErrorCode;
|
|
28338
29222
|
export type ShopifyCodeForm = io.flow.internal.v0.models.ShopifyCodeForm;
|
|
@@ -28495,6 +29379,10 @@ export type UnclassifiedProductsSummary = io.flow.internal.v0.models.Unclassifie
|
|
|
28495
29379
|
export type UnharmonizedItemsExport = io.flow.internal.v0.models.UnharmonizedItemsExport;
|
|
28496
29380
|
export type UnphrasedProductsExport = io.flow.internal.v0.models.UnphrasedProductsExport;
|
|
28497
29381
|
export type Ups = io.flow.internal.v0.models.Ups;
|
|
29382
|
+
export type UpsLicense = io.flow.internal.v0.models.UpsLicense;
|
|
29383
|
+
export type UpsLicenseForm = io.flow.internal.v0.models.UpsLicenseForm;
|
|
29384
|
+
export type UpsRegistration = io.flow.internal.v0.models.UpsRegistration;
|
|
29385
|
+
export type UpsRegistrationForm = io.flow.internal.v0.models.UpsRegistrationForm;
|
|
28498
29386
|
export type UserDeletedV2 = io.flow.internal.v0.models.UserDeletedV2;
|
|
28499
29387
|
export type UserOneTimeToken = io.flow.internal.v0.models.UserOneTimeToken;
|
|
28500
29388
|
export type UserStatusForm = io.flow.internal.v0.models.UserStatusForm;
|
|
@@ -28510,5 +29398,6 @@ export type ViesResult = io.flow.internal.v0.models.ViesResult;
|
|
|
28510
29398
|
export type VirtualCardTransaction = io.flow.internal.v0.models.VirtualCardTransaction;
|
|
28511
29399
|
export type WasteElectricalAndElectronicEquipmentComplianceData = io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceData;
|
|
28512
29400
|
export type WasteElectricalAndElectronicEquipmentComplianceForm = io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceForm;
|
|
29401
|
+
export type Webhook = io.flow.internal.v0.models.Webhook;
|
|
28513
29402
|
export type WholeOrderActionForm = io.flow.internal.v0.models.WholeOrderActionForm;
|
|
28514
29403
|
export type XborderOrder = io.flow.internal.v0.models.XborderOrder;
|