@flowio/types 11.24.21 → 11.24.23
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 +259 -91
- package/dist/api.d.ts +95 -5
- package/package.json +2 -2
- package/src/api-internal.ts +343 -115
- package/src/api.ts +117 -3
package/src/api-internal.ts
CHANGED
|
@@ -1215,120 +1215,6 @@ declare namespace io.flow.reference.v0.models {
|
|
|
1215
1215
|
}
|
|
1216
1216
|
}
|
|
1217
1217
|
|
|
1218
|
-
declare namespace io.flow.tracking.v0.enums {
|
|
1219
|
-
type TrackingStatus =
|
|
1220
|
-
| 'label_created'
|
|
1221
|
-
| 'pending'
|
|
1222
|
-
| 'info_received'
|
|
1223
|
-
| 'picked_up'
|
|
1224
|
-
| 'in_transit'
|
|
1225
|
-
| 'out_for_delivery'
|
|
1226
|
-
| 'attempt_fail'
|
|
1227
|
-
| 'delivered'
|
|
1228
|
-
| 'exception'
|
|
1229
|
-
| 'returned'
|
|
1230
|
-
| 'expired';
|
|
1231
|
-
}
|
|
1232
|
-
|
|
1233
|
-
declare namespace io.flow.tracking.v0.models {
|
|
1234
|
-
interface Tracking {
|
|
1235
|
-
readonly id: string;
|
|
1236
|
-
readonly labels: io.flow.tracking.v0.models.TrackingLabel[];
|
|
1237
|
-
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
1238
|
-
readonly attributes: Record<string, string>;
|
|
1239
|
-
readonly url: string;
|
|
1240
|
-
readonly window?: io.flow.common.v0.models.DatetimeRange;
|
|
1241
|
-
readonly order_number?: string;
|
|
1242
|
-
}
|
|
1243
|
-
|
|
1244
|
-
interface TrackingEvent {
|
|
1245
|
-
readonly id: string;
|
|
1246
|
-
readonly address: io.flow.common.v0.models.Address;
|
|
1247
|
-
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
1248
|
-
readonly timestamp: string;
|
|
1249
|
-
readonly description?: string;
|
|
1250
|
-
}
|
|
1251
|
-
|
|
1252
|
-
interface TrackingEventForm {
|
|
1253
|
-
readonly tracking_label_id: string;
|
|
1254
|
-
readonly timestamp: string;
|
|
1255
|
-
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
1256
|
-
readonly description?: string;
|
|
1257
|
-
readonly address?: string;
|
|
1258
|
-
}
|
|
1259
|
-
|
|
1260
|
-
interface TrackingEventSummary {
|
|
1261
|
-
readonly id: string;
|
|
1262
|
-
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
1263
|
-
readonly timestamp: string;
|
|
1264
|
-
}
|
|
1265
|
-
|
|
1266
|
-
interface TrackingEventVersion {
|
|
1267
|
-
readonly id: string;
|
|
1268
|
-
readonly timestamp: string;
|
|
1269
|
-
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
1270
|
-
readonly tracking_event: io.flow.tracking.v0.models.TrackingEventSummary;
|
|
1271
|
-
}
|
|
1272
|
-
|
|
1273
|
-
interface TrackingForm {
|
|
1274
|
-
readonly status?: io.flow.tracking.v0.enums.TrackingStatus;
|
|
1275
|
-
readonly order_number?: string;
|
|
1276
|
-
readonly attributes?: Record<string, string>;
|
|
1277
|
-
readonly window?: io.flow.common.v0.models.DatetimeRange;
|
|
1278
|
-
}
|
|
1279
|
-
|
|
1280
|
-
interface TrackingLabel {
|
|
1281
|
-
readonly id: string;
|
|
1282
|
-
readonly carrier: string;
|
|
1283
|
-
readonly carrier_tracking_number: string;
|
|
1284
|
-
readonly events: io.flow.tracking.v0.models.TrackingEvent[];
|
|
1285
|
-
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
1286
|
-
readonly timestamp: string;
|
|
1287
|
-
readonly delivery_estimate?: string;
|
|
1288
|
-
readonly description?: string;
|
|
1289
|
-
}
|
|
1290
|
-
|
|
1291
|
-
interface TrackingLabelForm {
|
|
1292
|
-
readonly tracking_id: string;
|
|
1293
|
-
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
1294
|
-
readonly carrier: string;
|
|
1295
|
-
readonly carrier_tracking_number: string;
|
|
1296
|
-
readonly delivery_estimate?: string;
|
|
1297
|
-
readonly description?: string;
|
|
1298
|
-
readonly timestamp?: string;
|
|
1299
|
-
readonly cost?: io.flow.common.v0.models.Money;
|
|
1300
|
-
readonly ratecard_owner?: io.flow.fulfillment.v0.enums.RatecardOwner;
|
|
1301
|
-
}
|
|
1302
|
-
|
|
1303
|
-
interface TrackingLabelSummary {
|
|
1304
|
-
readonly id: string;
|
|
1305
|
-
readonly tracking: io.flow.tracking.v0.models.TrackingSummary;
|
|
1306
|
-
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
1307
|
-
readonly carrier: string;
|
|
1308
|
-
readonly tracking_number: string;
|
|
1309
|
-
}
|
|
1310
|
-
|
|
1311
|
-
interface TrackingLabelVersion {
|
|
1312
|
-
readonly id: string;
|
|
1313
|
-
readonly timestamp: string;
|
|
1314
|
-
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
1315
|
-
readonly tracking_label: io.flow.tracking.v0.models.TrackingLabelSummary;
|
|
1316
|
-
}
|
|
1317
|
-
|
|
1318
|
-
interface TrackingSummary {
|
|
1319
|
-
readonly id: string;
|
|
1320
|
-
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
1321
|
-
readonly order_number?: string;
|
|
1322
|
-
}
|
|
1323
|
-
|
|
1324
|
-
interface TrackingVersion {
|
|
1325
|
-
readonly id: string;
|
|
1326
|
-
readonly timestamp: string;
|
|
1327
|
-
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
1328
|
-
readonly tracking: io.flow.tracking.v0.models.TrackingSummary;
|
|
1329
|
-
}
|
|
1330
|
-
}
|
|
1331
|
-
|
|
1332
1218
|
declare namespace io.flow.RESERVED_WORD_export.v0.enums {
|
|
1333
1219
|
type ExportStatus = 'created' | 'processing' | 'completed' | 'failed';
|
|
1334
1220
|
type ItemIdentifier = 'item_number' | 'sku';
|
|
@@ -2035,6 +1921,11 @@ declare namespace io.flow.payment.v0.models {
|
|
|
2035
1921
|
readonly display_name?: string;
|
|
2036
1922
|
}
|
|
2037
1923
|
|
|
1924
|
+
interface AuthorizationCode {
|
|
1925
|
+
readonly result_code: string;
|
|
1926
|
+
readonly code: string;
|
|
1927
|
+
}
|
|
1928
|
+
|
|
2038
1929
|
interface AuthorizationCopyForm {
|
|
2039
1930
|
readonly discriminator: 'authorization_copy_form';
|
|
2040
1931
|
readonly source_authorization_key: string;
|
|
@@ -2073,6 +1964,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
2073
1964
|
readonly cvv?: io.flow.payment.v0.models.Cvv;
|
|
2074
1965
|
readonly three_d_secure?: io.flow.payment.v0.models.ThreeDSecure;
|
|
2075
1966
|
readonly description?: io.flow.payment.v0.models.AuthorizationResultDescription;
|
|
1967
|
+
readonly authorization_code?: io.flow.payment.v0.models.AuthorizationCode;
|
|
2076
1968
|
}
|
|
2077
1969
|
|
|
2078
1970
|
interface AuthorizationResultActionGet {
|
|
@@ -2348,6 +2240,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
2348
2240
|
readonly discriminator: 'direct_debit';
|
|
2349
2241
|
readonly routing_number: string;
|
|
2350
2242
|
readonly last4: string;
|
|
2243
|
+
readonly additional_data?: Record<string, string>;
|
|
2351
2244
|
}
|
|
2352
2245
|
|
|
2353
2246
|
interface Expiration {
|
|
@@ -2552,6 +2445,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
2552
2445
|
readonly payment_id: string;
|
|
2553
2446
|
readonly payment_method?: string;
|
|
2554
2447
|
readonly payment_state?: string;
|
|
2448
|
+
readonly payer_id?: string;
|
|
2555
2449
|
readonly payer_email?: string;
|
|
2556
2450
|
readonly payer_status?: string;
|
|
2557
2451
|
readonly approval_url?: string;
|
|
@@ -2743,6 +2637,9 @@ declare namespace io.flow.payment.v0.models {
|
|
|
2743
2637
|
interface ThreeDSecure {
|
|
2744
2638
|
readonly code: io.flow.payment.v0.enums.ThreeDSecureCode;
|
|
2745
2639
|
readonly description?: string;
|
|
2640
|
+
readonly eci?: string;
|
|
2641
|
+
readonly liability_sift?: boolean;
|
|
2642
|
+
readonly version?: string;
|
|
2746
2643
|
}
|
|
2747
2644
|
|
|
2748
2645
|
interface ThreedsChallengeActionDetails {
|
|
@@ -3890,6 +3787,17 @@ declare namespace io.flow.label.v0.enums {
|
|
|
3890
3787
|
}
|
|
3891
3788
|
|
|
3892
3789
|
declare namespace io.flow.label.v0.models {
|
|
3790
|
+
interface BridgeManifest {
|
|
3791
|
+
readonly id: string;
|
|
3792
|
+
readonly service: io.flow.fulfillment.v0.models.ServiceSummary;
|
|
3793
|
+
readonly pdf: string;
|
|
3794
|
+
readonly data: string;
|
|
3795
|
+
}
|
|
3796
|
+
|
|
3797
|
+
interface BridgeManifestForm {
|
|
3798
|
+
readonly order_numbers: string[];
|
|
3799
|
+
}
|
|
3800
|
+
|
|
3893
3801
|
interface CrossdockShipment {
|
|
3894
3802
|
readonly partner_id: string;
|
|
3895
3803
|
readonly center_id: string;
|
|
@@ -5566,7 +5474,9 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5566
5474
|
interface PaymentResponseAdditionalData {
|
|
5567
5475
|
readonly authCode?: string;
|
|
5568
5476
|
readonly avsResultRaw?: string;
|
|
5477
|
+
readonly avsResult?: string;
|
|
5569
5478
|
readonly cvcResultRaw?: string;
|
|
5479
|
+
readonly cvcResult?: string;
|
|
5570
5480
|
readonly liabilityShift?: string;
|
|
5571
5481
|
readonly threeDAuthenticated?: string;
|
|
5572
5482
|
readonly threeDAuthenticatedResponse?: string;
|
|
@@ -10322,6 +10232,312 @@ declare namespace io.flow.crypto.v0.models {
|
|
|
10322
10232
|
}
|
|
10323
10233
|
}
|
|
10324
10234
|
|
|
10235
|
+
declare namespace io.flow.tracking.v0.enums {
|
|
10236
|
+
type TrackingStatus =
|
|
10237
|
+
| 'label_created'
|
|
10238
|
+
| 'pending'
|
|
10239
|
+
| 'info_received'
|
|
10240
|
+
| 'picked_up'
|
|
10241
|
+
| 'in_transit'
|
|
10242
|
+
| 'out_for_delivery'
|
|
10243
|
+
| 'attempt_fail'
|
|
10244
|
+
| 'delivered'
|
|
10245
|
+
| 'exception'
|
|
10246
|
+
| 'returned'
|
|
10247
|
+
| 'expired';
|
|
10248
|
+
}
|
|
10249
|
+
|
|
10250
|
+
declare namespace io.flow.tracking.v0.models {
|
|
10251
|
+
interface Tracking {
|
|
10252
|
+
readonly id: string;
|
|
10253
|
+
readonly labels: io.flow.tracking.v0.models.TrackingLabel[];
|
|
10254
|
+
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
10255
|
+
readonly attributes: Record<string, string>;
|
|
10256
|
+
readonly url: string;
|
|
10257
|
+
readonly window?: io.flow.common.v0.models.DatetimeRange;
|
|
10258
|
+
readonly order_number?: string;
|
|
10259
|
+
}
|
|
10260
|
+
|
|
10261
|
+
interface TrackingEvent {
|
|
10262
|
+
readonly id: string;
|
|
10263
|
+
readonly address: io.flow.common.v0.models.Address;
|
|
10264
|
+
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
10265
|
+
readonly timestamp: string;
|
|
10266
|
+
readonly description?: string;
|
|
10267
|
+
}
|
|
10268
|
+
|
|
10269
|
+
interface TrackingEventForm {
|
|
10270
|
+
readonly tracking_label_id: string;
|
|
10271
|
+
readonly timestamp: string;
|
|
10272
|
+
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
10273
|
+
readonly description?: string;
|
|
10274
|
+
readonly address?: string;
|
|
10275
|
+
}
|
|
10276
|
+
|
|
10277
|
+
interface TrackingEventSummary {
|
|
10278
|
+
readonly id: string;
|
|
10279
|
+
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
10280
|
+
readonly timestamp: string;
|
|
10281
|
+
}
|
|
10282
|
+
|
|
10283
|
+
interface TrackingEventVersion {
|
|
10284
|
+
readonly id: string;
|
|
10285
|
+
readonly timestamp: string;
|
|
10286
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
10287
|
+
readonly tracking_event: io.flow.tracking.v0.models.TrackingEventSummary;
|
|
10288
|
+
}
|
|
10289
|
+
|
|
10290
|
+
interface TrackingForm {
|
|
10291
|
+
readonly status?: io.flow.tracking.v0.enums.TrackingStatus;
|
|
10292
|
+
readonly order_number?: string;
|
|
10293
|
+
readonly attributes?: Record<string, string>;
|
|
10294
|
+
readonly window?: io.flow.common.v0.models.DatetimeRange;
|
|
10295
|
+
}
|
|
10296
|
+
|
|
10297
|
+
interface TrackingLabel {
|
|
10298
|
+
readonly id: string;
|
|
10299
|
+
readonly carrier: string;
|
|
10300
|
+
readonly carrier_tracking_number: string;
|
|
10301
|
+
readonly events: io.flow.tracking.v0.models.TrackingEvent[];
|
|
10302
|
+
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
10303
|
+
readonly timestamp: string;
|
|
10304
|
+
readonly delivery_estimate?: string;
|
|
10305
|
+
readonly description?: string;
|
|
10306
|
+
}
|
|
10307
|
+
|
|
10308
|
+
interface TrackingLabelForm {
|
|
10309
|
+
readonly tracking_id: string;
|
|
10310
|
+
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
10311
|
+
readonly carrier: string;
|
|
10312
|
+
readonly carrier_tracking_number: string;
|
|
10313
|
+
readonly delivery_estimate?: string;
|
|
10314
|
+
readonly description?: string;
|
|
10315
|
+
readonly timestamp?: string;
|
|
10316
|
+
readonly cost?: io.flow.common.v0.models.Money;
|
|
10317
|
+
readonly ratecard_owner?: io.flow.fulfillment.v0.enums.RatecardOwner;
|
|
10318
|
+
}
|
|
10319
|
+
|
|
10320
|
+
interface TrackingLabelSummary {
|
|
10321
|
+
readonly id: string;
|
|
10322
|
+
readonly tracking: io.flow.tracking.v0.models.TrackingSummary;
|
|
10323
|
+
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
10324
|
+
readonly carrier: string;
|
|
10325
|
+
readonly tracking_number: string;
|
|
10326
|
+
}
|
|
10327
|
+
|
|
10328
|
+
interface TrackingLabelVersion {
|
|
10329
|
+
readonly id: string;
|
|
10330
|
+
readonly timestamp: string;
|
|
10331
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
10332
|
+
readonly tracking_label: io.flow.tracking.v0.models.TrackingLabelSummary;
|
|
10333
|
+
}
|
|
10334
|
+
|
|
10335
|
+
interface TrackingSummary {
|
|
10336
|
+
readonly id: string;
|
|
10337
|
+
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
10338
|
+
readonly order_number?: string;
|
|
10339
|
+
}
|
|
10340
|
+
|
|
10341
|
+
interface TrackingVersion {
|
|
10342
|
+
readonly id: string;
|
|
10343
|
+
readonly timestamp: string;
|
|
10344
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
10345
|
+
readonly tracking: io.flow.tracking.v0.models.TrackingSummary;
|
|
10346
|
+
}
|
|
10347
|
+
}
|
|
10348
|
+
|
|
10349
|
+
declare namespace io.flow.merchant.onboarding.v0.enums {
|
|
10350
|
+
type OnboardingApplicationStatus =
|
|
10351
|
+
| 'to_do'
|
|
10352
|
+
| 'in_progress'
|
|
10353
|
+
| 'on_hold'
|
|
10354
|
+
| 'rejected'
|
|
10355
|
+
| 'accepted';
|
|
10356
|
+
type OnboardingTradeSector =
|
|
10357
|
+
| 'accessories'
|
|
10358
|
+
| 'animals_and_pet_supplies'
|
|
10359
|
+
| 'apparel'
|
|
10360
|
+
| 'apparel_and_accessories'
|
|
10361
|
+
| 'arts_and_entertainment'
|
|
10362
|
+
| 'baby_and_toddler'
|
|
10363
|
+
| 'business_and_industrial'
|
|
10364
|
+
| 'cameras_and_optics'
|
|
10365
|
+
| 'electronics'
|
|
10366
|
+
| 'food_beverages_and_tobacco'
|
|
10367
|
+
| 'furniture'
|
|
10368
|
+
| 'gift_cards'
|
|
10369
|
+
| 'hardware'
|
|
10370
|
+
| 'health_and_beauty'
|
|
10371
|
+
| 'home_and_garden'
|
|
10372
|
+
| 'jewelry'
|
|
10373
|
+
| 'luggage_and_bags'
|
|
10374
|
+
| 'mature'
|
|
10375
|
+
| 'media'
|
|
10376
|
+
| 'office_supplies'
|
|
10377
|
+
| 'paper_and_art'
|
|
10378
|
+
| 'religious_and_ceremonial'
|
|
10379
|
+
| 'software'
|
|
10380
|
+
| 'sporting_goods'
|
|
10381
|
+
| 'sports_and_fitness'
|
|
10382
|
+
| 'toys_and_games'
|
|
10383
|
+
| 'toys_hobbies_gifts'
|
|
10384
|
+
| 'vehicles_and_parts'
|
|
10385
|
+
| 'other';
|
|
10386
|
+
type RegionType = 'state' | 'province' | 'jurisdiction';
|
|
10387
|
+
}
|
|
10388
|
+
|
|
10389
|
+
declare namespace io.flow.merchant.onboarding.v0.models {
|
|
10390
|
+
interface MerchantInfo {
|
|
10391
|
+
readonly legal_name?: string;
|
|
10392
|
+
readonly country: string;
|
|
10393
|
+
readonly region?: io.flow.merchant.onboarding.v0.enums.RegionType;
|
|
10394
|
+
readonly region_value?: string;
|
|
10395
|
+
}
|
|
10396
|
+
|
|
10397
|
+
interface MerchantOnboardingAddress {
|
|
10398
|
+
readonly full_name?: string;
|
|
10399
|
+
readonly streets?: string[];
|
|
10400
|
+
readonly city?: string;
|
|
10401
|
+
readonly province?: string;
|
|
10402
|
+
readonly postal?: string;
|
|
10403
|
+
readonly country?: string;
|
|
10404
|
+
}
|
|
10405
|
+
|
|
10406
|
+
interface MonthlyAverage {
|
|
10407
|
+
readonly volume?: io.flow.merchant.onboarding.v0.models.MonthlyAverageVolume;
|
|
10408
|
+
readonly number_transactions?: number;
|
|
10409
|
+
}
|
|
10410
|
+
|
|
10411
|
+
interface MonthlyAverageVolume {
|
|
10412
|
+
readonly amount?: number;
|
|
10413
|
+
readonly currency?: string;
|
|
10414
|
+
}
|
|
10415
|
+
|
|
10416
|
+
interface OnboardingMerchantPickupWindow {
|
|
10417
|
+
readonly from: io.flow.merchant.onboarding.v0.models.OnboardingMerchantTime;
|
|
10418
|
+
readonly to: io.flow.merchant.onboarding.v0.models.OnboardingMerchantTime;
|
|
10419
|
+
}
|
|
10420
|
+
|
|
10421
|
+
interface OnboardingMerchantScheduledPickup {
|
|
10422
|
+
readonly day_of_week: io.flow.common.v0.enums.DayOfWeek;
|
|
10423
|
+
readonly window: io.flow.merchant.onboarding.v0.models.OnboardingMerchantPickupWindow;
|
|
10424
|
+
readonly instructions?: string;
|
|
10425
|
+
}
|
|
10426
|
+
|
|
10427
|
+
interface OnboardingMerchantTime {
|
|
10428
|
+
readonly hour_of_day: string;
|
|
10429
|
+
readonly minute_of_hour: string;
|
|
10430
|
+
readonly timezone?: string;
|
|
10431
|
+
}
|
|
10432
|
+
|
|
10433
|
+
interface OnboardingOrganizationReference {
|
|
10434
|
+
readonly id: string;
|
|
10435
|
+
readonly status: io.flow.common.v0.enums.OrganizationStatus;
|
|
10436
|
+
}
|
|
10437
|
+
|
|
10438
|
+
interface OperationsContact {
|
|
10439
|
+
readonly full_name?: string;
|
|
10440
|
+
readonly company?: string;
|
|
10441
|
+
readonly email?: string;
|
|
10442
|
+
readonly phone?: string;
|
|
10443
|
+
}
|
|
10444
|
+
|
|
10445
|
+
interface ShopifyMerchantApplication {
|
|
10446
|
+
readonly discriminator: 'shopify_merchant_application';
|
|
10447
|
+
readonly id: string;
|
|
10448
|
+
readonly organization_id: string;
|
|
10449
|
+
readonly organization_reference: io.flow.merchant.onboarding.v0.models.OnboardingOrganizationReference;
|
|
10450
|
+
readonly status: io.flow.merchant.onboarding.v0.enums.OnboardingApplicationStatus;
|
|
10451
|
+
readonly company?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
|
|
10452
|
+
readonly indirect_tax_number?: string;
|
|
10453
|
+
readonly parent_company?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
|
|
10454
|
+
readonly beneficiary?: string;
|
|
10455
|
+
readonly ultimate_beneficiary_owner?: io.flow.merchant.onboarding.v0.models.UltimateBeneficiaryOwner;
|
|
10456
|
+
readonly business_url?: string;
|
|
10457
|
+
readonly business_description?: string;
|
|
10458
|
+
readonly business_address?: io.flow.common.v0.models.Address;
|
|
10459
|
+
readonly refund_percentage?: number;
|
|
10460
|
+
readonly chargeback_percentage?: number;
|
|
10461
|
+
readonly bank_account_number?: string;
|
|
10462
|
+
readonly aba_routing_transit_number?: string;
|
|
10463
|
+
readonly trade_sectors?: io.flow.merchant.onboarding.v0.enums.OnboardingTradeSector[];
|
|
10464
|
+
readonly other_trade_sector?: string;
|
|
10465
|
+
readonly third_party_logistics_partners?: io.flow.merchant.onboarding.v0.models.ThirdPartyLogisticsPartner[];
|
|
10466
|
+
readonly average_order_weight?: number;
|
|
10467
|
+
readonly package_dimensions?: io.flow.common.v0.models.Dimension[];
|
|
10468
|
+
readonly monthly_average?: io.flow.merchant.onboarding.v0.models.MonthlyAverage;
|
|
10469
|
+
readonly dangerous_goods?: boolean;
|
|
10470
|
+
readonly default_country_of_origin?: string;
|
|
10471
|
+
readonly ratecard?: io.flow.ratecard.v0.models.RatecardReference;
|
|
10472
|
+
readonly rate_card: string;
|
|
10473
|
+
readonly created_at: string;
|
|
10474
|
+
readonly activated_at?: string;
|
|
10475
|
+
}
|
|
10476
|
+
|
|
10477
|
+
interface ShopifyMerchantApplicationForm {
|
|
10478
|
+
readonly discriminator: 'shopify_merchant_application_form';
|
|
10479
|
+
readonly company?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
|
|
10480
|
+
readonly indirect_tax_number?: string;
|
|
10481
|
+
readonly parent_company?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
|
|
10482
|
+
readonly beneficiary?: string;
|
|
10483
|
+
readonly ultimate_beneficiary_owner?: io.flow.merchant.onboarding.v0.models.UltimateBeneficiaryOwner;
|
|
10484
|
+
readonly business_url?: string;
|
|
10485
|
+
readonly business_description?: string;
|
|
10486
|
+
readonly business_address?: io.flow.common.v0.models.Address;
|
|
10487
|
+
readonly refund_percentage?: number;
|
|
10488
|
+
readonly chargeback_percentage?: number;
|
|
10489
|
+
readonly bank_account_number?: string;
|
|
10490
|
+
readonly aba_routing_transit_number?: string;
|
|
10491
|
+
readonly trade_sectors?: io.flow.merchant.onboarding.v0.enums.OnboardingTradeSector[];
|
|
10492
|
+
readonly other_trade_sector?: string;
|
|
10493
|
+
readonly third_party_logistics_partners?: io.flow.merchant.onboarding.v0.models.ThirdPartyLogisticsPartner[];
|
|
10494
|
+
readonly average_order_weight?: number;
|
|
10495
|
+
readonly package_dimensions?: io.flow.common.v0.models.Dimension[];
|
|
10496
|
+
readonly monthly_average_volume_amount?: number;
|
|
10497
|
+
readonly monthly_average_volume_currency?: string;
|
|
10498
|
+
readonly monthly_average_number_transactions?: number;
|
|
10499
|
+
readonly dangerous_goods?: boolean;
|
|
10500
|
+
readonly default_country_of_origin?: string;
|
|
10501
|
+
readonly ratecard_id?: string;
|
|
10502
|
+
readonly rate_card: string;
|
|
10503
|
+
}
|
|
10504
|
+
|
|
10505
|
+
interface ShopifyMerchantApplicationPutForm {
|
|
10506
|
+
readonly discriminator: 'shopify_merchant_application_put_form';
|
|
10507
|
+
readonly status?: io.flow.merchant.onboarding.v0.enums.OnboardingApplicationStatus;
|
|
10508
|
+
}
|
|
10509
|
+
|
|
10510
|
+
interface ShopifyMerchantApplicationsSummary {
|
|
10511
|
+
readonly discriminator: 'shopify_merchant_applications_summary';
|
|
10512
|
+
readonly total: number;
|
|
10513
|
+
}
|
|
10514
|
+
|
|
10515
|
+
interface ThirdPartyLogisticsPartner {
|
|
10516
|
+
readonly warehouse_address: io.flow.merchant.onboarding.v0.models.MerchantOnboardingAddress;
|
|
10517
|
+
readonly warehouse_url?: string;
|
|
10518
|
+
readonly location?: io.flow.merchant.onboarding.v0.models.MerchantOnboardingAddress;
|
|
10519
|
+
readonly scheduled_pickups?: io.flow.merchant.onboarding.v0.models.OnboardingMerchantScheduledPickup[];
|
|
10520
|
+
readonly operations_contact: io.flow.merchant.onboarding.v0.models.OperationsContact;
|
|
10521
|
+
readonly center_id?: string;
|
|
10522
|
+
}
|
|
10523
|
+
|
|
10524
|
+
interface UltimateBeneficiaryOwner {
|
|
10525
|
+
readonly name: string;
|
|
10526
|
+
readonly dob: string;
|
|
10527
|
+
}
|
|
10528
|
+
}
|
|
10529
|
+
|
|
10530
|
+
declare namespace io.flow.merchant.onboarding.v0.unions {
|
|
10531
|
+
type MerchantApplication =
|
|
10532
|
+
io.flow.merchant.onboarding.v0.models.ShopifyMerchantApplication;
|
|
10533
|
+
type MerchantApplicationForm =
|
|
10534
|
+
io.flow.merchant.onboarding.v0.models.ShopifyMerchantApplicationForm;
|
|
10535
|
+
type MerchantApplicationPutForm =
|
|
10536
|
+
io.flow.merchant.onboarding.v0.models.ShopifyMerchantApplicationPutForm;
|
|
10537
|
+
type MerchantApplicationsSummary =
|
|
10538
|
+
io.flow.merchant.onboarding.v0.models.ShopifyMerchantApplicationsSummary;
|
|
10539
|
+
}
|
|
10540
|
+
|
|
10325
10541
|
declare namespace io.flow.catalog.v0.enums {
|
|
10326
10542
|
type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis';
|
|
10327
10543
|
type AttributeIntent =
|
|
@@ -13345,7 +13561,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13345
13561
|
type LabelBillingStrategy = 'quote' | 'carrier';
|
|
13346
13562
|
type LabelCancellationErrorCode = 'already_used' | 'carrier_unsupported';
|
|
13347
13563
|
type LabelCreationStatus = 'success' | 'error' | 'pending' | 'cancelled';
|
|
13348
|
-
type LabelTransactionType = 'billable_label' | 'fee';
|
|
13564
|
+
type LabelTransactionType = 'billable_label' | 'fee' | 'revenue_share';
|
|
13349
13565
|
type LiabilityType =
|
|
13350
13566
|
| 'full_value_tax'
|
|
13351
13567
|
| 'low_value_goods_tax'
|
|
@@ -13786,6 +14002,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13786
14002
|
interface AccountSettingLabelFees {
|
|
13787
14003
|
readonly flow?: io.flow.internal.v0.models.TieredFee;
|
|
13788
14004
|
readonly organization?: io.flow.internal.v0.models.TieredFee;
|
|
14005
|
+
readonly revenue_share?: number;
|
|
13789
14006
|
}
|
|
13790
14007
|
|
|
13791
14008
|
interface AccountSettings {
|
|
@@ -14620,6 +14837,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14620
14837
|
readonly adjustment: io.flow.common.v0.models.Price;
|
|
14621
14838
|
readonly capture: io.flow.common.v0.models.Price;
|
|
14622
14839
|
readonly refund: io.flow.common.v0.models.Price;
|
|
14840
|
+
readonly credit_payment: io.flow.common.v0.models.Price;
|
|
14841
|
+
readonly fully_subsidized_order: io.flow.common.v0.models.Price;
|
|
14623
14842
|
readonly virtual_card_capture: io.flow.common.v0.models.Price;
|
|
14624
14843
|
readonly virtual_card_refund: io.flow.common.v0.models.Price;
|
|
14625
14844
|
readonly tax_remittance: io.flow.common.v0.models.Price;
|
|
@@ -15035,10 +15254,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15035
15254
|
|
|
15036
15255
|
interface CenterDefaults {
|
|
15037
15256
|
readonly packaging: io.flow.fulfillment.v0.models.Packaging[];
|
|
15257
|
+
readonly shipping_address_contact: io.flow.common.v0.models.Contact;
|
|
15038
15258
|
}
|
|
15039
15259
|
|
|
15040
15260
|
interface CenterDefaultsForm {
|
|
15041
15261
|
readonly packaging: io.flow.fulfillment.v0.models.Packaging[];
|
|
15262
|
+
readonly shipping_address_contact: io.flow.common.v0.models.Contact;
|
|
15042
15263
|
}
|
|
15043
15264
|
|
|
15044
15265
|
interface CenterQueryBuilder {
|
|
@@ -21232,6 +21453,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21232
21453
|
readonly flow_authorization?: io.flow.payment.v0.unions.Authorization;
|
|
21233
21454
|
}
|
|
21234
21455
|
|
|
21456
|
+
interface MerchantApplicationSummary {
|
|
21457
|
+
readonly merchant_application: io.flow.merchant.onboarding.v0.unions.MerchantApplication;
|
|
21458
|
+
readonly organization_reference: io.flow.common.v0.models.Organization;
|
|
21459
|
+
}
|
|
21460
|
+
|
|
21235
21461
|
interface MerchantOfRecordEntitySettings {
|
|
21236
21462
|
readonly id: string;
|
|
21237
21463
|
readonly merchant_of_record_entity: io.flow.common.v0.models.MerchantOfRecordEntity;
|
|
@@ -27679,6 +27905,8 @@ export type MarketingGatewaySourceSummary =
|
|
|
27679
27905
|
export type MarketingGatewaySupportedChannelDetails =
|
|
27680
27906
|
io.flow.internal.v0.models.MarketingGatewaySupportedChannelDetails;
|
|
27681
27907
|
export type MarketsOrder = io.flow.internal.v0.models.MarketsOrder;
|
|
27908
|
+
export type MerchantApplicationSummary =
|
|
27909
|
+
io.flow.internal.v0.models.MerchantApplicationSummary;
|
|
27682
27910
|
export type MerchantOfRecordEntitySettings =
|
|
27683
27911
|
io.flow.internal.v0.models.MerchantOfRecordEntitySettings;
|
|
27684
27912
|
export type MerchantOfRecordEntitySettingsForm =
|