@flowio/types 11.24.22 → 11.24.24
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 +257 -93
- package/dist/api.d.ts +79 -4
- package/package.json +2 -2
- package/src/api-internal.ts +343 -117
- package/src/api.ts +94 -2
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';
|
|
@@ -2354,6 +2240,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
2354
2240
|
readonly discriminator: 'direct_debit';
|
|
2355
2241
|
readonly routing_number: string;
|
|
2356
2242
|
readonly last4: string;
|
|
2243
|
+
readonly additional_data?: Record<string, string>;
|
|
2357
2244
|
}
|
|
2358
2245
|
|
|
2359
2246
|
interface Expiration {
|
|
@@ -2750,6 +2637,9 @@ declare namespace io.flow.payment.v0.models {
|
|
|
2750
2637
|
interface ThreeDSecure {
|
|
2751
2638
|
readonly code: io.flow.payment.v0.enums.ThreeDSecureCode;
|
|
2752
2639
|
readonly description?: string;
|
|
2640
|
+
readonly eci?: string;
|
|
2641
|
+
readonly liability_sift?: boolean;
|
|
2642
|
+
readonly version?: string;
|
|
2753
2643
|
}
|
|
2754
2644
|
|
|
2755
2645
|
interface ThreedsChallengeActionDetails {
|
|
@@ -3897,6 +3787,17 @@ declare namespace io.flow.label.v0.enums {
|
|
|
3897
3787
|
}
|
|
3898
3788
|
|
|
3899
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
|
+
|
|
3900
3801
|
interface CrossdockShipment {
|
|
3901
3802
|
readonly partner_id: string;
|
|
3902
3803
|
readonly center_id: string;
|
|
@@ -3988,7 +3889,7 @@ declare namespace io.flow.label.v0.models {
|
|
|
3988
3889
|
}
|
|
3989
3890
|
|
|
3990
3891
|
interface ShippingLabelLaneSummary {
|
|
3991
|
-
readonly id
|
|
3892
|
+
readonly id?: string;
|
|
3992
3893
|
readonly ratecard: io.flow.label.v0.models.ShippingLabelRatecardSummary;
|
|
3993
3894
|
}
|
|
3994
3895
|
|
|
@@ -3999,7 +3900,7 @@ declare namespace io.flow.label.v0.models {
|
|
|
3999
3900
|
}
|
|
4000
3901
|
|
|
4001
3902
|
interface ShippingLabelRatecardSummary {
|
|
4002
|
-
readonly id
|
|
3903
|
+
readonly id?: string;
|
|
4003
3904
|
readonly ratecard_owner: io.flow.fulfillment.v0.enums.RatecardOwner;
|
|
4004
3905
|
}
|
|
4005
3906
|
|
|
@@ -10331,6 +10232,320 @@ declare namespace io.flow.crypto.v0.models {
|
|
|
10331
10232
|
}
|
|
10332
10233
|
}
|
|
10333
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 IndirectTax {
|
|
10391
|
+
readonly number?: string;
|
|
10392
|
+
readonly id?: string;
|
|
10393
|
+
}
|
|
10394
|
+
|
|
10395
|
+
interface MerchantInfo {
|
|
10396
|
+
readonly legal_name?: string;
|
|
10397
|
+
readonly country: string;
|
|
10398
|
+
readonly region?: io.flow.merchant.onboarding.v0.enums.RegionType;
|
|
10399
|
+
readonly region_value?: string;
|
|
10400
|
+
}
|
|
10401
|
+
|
|
10402
|
+
interface MerchantOnboardingAddress {
|
|
10403
|
+
readonly full_name?: string;
|
|
10404
|
+
readonly streets?: string[];
|
|
10405
|
+
readonly city?: string;
|
|
10406
|
+
readonly province?: string;
|
|
10407
|
+
readonly postal?: string;
|
|
10408
|
+
readonly country?: string;
|
|
10409
|
+
}
|
|
10410
|
+
|
|
10411
|
+
interface MonthlyAverage {
|
|
10412
|
+
readonly volume?: io.flow.merchant.onboarding.v0.models.MonthlyAverageVolume;
|
|
10413
|
+
readonly number_transactions?: number;
|
|
10414
|
+
}
|
|
10415
|
+
|
|
10416
|
+
interface MonthlyAverageVolume {
|
|
10417
|
+
readonly amount?: number;
|
|
10418
|
+
readonly currency?: string;
|
|
10419
|
+
}
|
|
10420
|
+
|
|
10421
|
+
interface OnboardingMerchantPickupWindow {
|
|
10422
|
+
readonly from: io.flow.merchant.onboarding.v0.models.OnboardingMerchantTime;
|
|
10423
|
+
readonly to: io.flow.merchant.onboarding.v0.models.OnboardingMerchantTime;
|
|
10424
|
+
}
|
|
10425
|
+
|
|
10426
|
+
interface OnboardingMerchantScheduledPickup {
|
|
10427
|
+
readonly day_of_week: io.flow.common.v0.enums.DayOfWeek;
|
|
10428
|
+
readonly window: io.flow.merchant.onboarding.v0.models.OnboardingMerchantPickupWindow;
|
|
10429
|
+
readonly instructions?: string;
|
|
10430
|
+
}
|
|
10431
|
+
|
|
10432
|
+
interface OnboardingMerchantTime {
|
|
10433
|
+
readonly hour_of_day: string;
|
|
10434
|
+
readonly minute_of_hour: string;
|
|
10435
|
+
readonly timezone?: string;
|
|
10436
|
+
}
|
|
10437
|
+
|
|
10438
|
+
interface OnboardingOrganizationReference {
|
|
10439
|
+
readonly id: string;
|
|
10440
|
+
readonly status: io.flow.common.v0.enums.OrganizationStatus;
|
|
10441
|
+
}
|
|
10442
|
+
|
|
10443
|
+
interface OperationsContact {
|
|
10444
|
+
readonly full_name?: string;
|
|
10445
|
+
readonly company?: string;
|
|
10446
|
+
readonly email?: string;
|
|
10447
|
+
readonly phone?: string;
|
|
10448
|
+
}
|
|
10449
|
+
|
|
10450
|
+
interface ShopifyMerchantApplication {
|
|
10451
|
+
readonly discriminator: 'shopify_merchant_application';
|
|
10452
|
+
readonly id: string;
|
|
10453
|
+
readonly organization_id: string;
|
|
10454
|
+
readonly organization_reference: io.flow.merchant.onboarding.v0.models.OnboardingOrganizationReference;
|
|
10455
|
+
readonly status: io.flow.merchant.onboarding.v0.enums.OnboardingApplicationStatus;
|
|
10456
|
+
readonly company?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
|
|
10457
|
+
readonly indirect_tax_number?: string;
|
|
10458
|
+
readonly indirect_tax?: io.flow.merchant.onboarding.v0.models.IndirectTax;
|
|
10459
|
+
readonly parent_company?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
|
|
10460
|
+
readonly beneficiary?: string;
|
|
10461
|
+
readonly ultimate_beneficiary_owner?: io.flow.merchant.onboarding.v0.models.UltimateBeneficiaryOwner;
|
|
10462
|
+
readonly business_url?: string;
|
|
10463
|
+
readonly business_description?: string;
|
|
10464
|
+
readonly business_address?: io.flow.common.v0.models.Address;
|
|
10465
|
+
readonly refund_percentage?: number;
|
|
10466
|
+
readonly chargeback_percentage?: number;
|
|
10467
|
+
readonly bank_account_number?: string;
|
|
10468
|
+
readonly aba_routing_transit_number?: string;
|
|
10469
|
+
readonly trade_sectors?: io.flow.merchant.onboarding.v0.enums.OnboardingTradeSector[];
|
|
10470
|
+
readonly other_trade_sector?: string;
|
|
10471
|
+
readonly third_party_logistics_partners?: io.flow.merchant.onboarding.v0.models.ThirdPartyLogisticsPartner[];
|
|
10472
|
+
readonly average_order_weight?: number;
|
|
10473
|
+
readonly package_dimensions?: io.flow.common.v0.models.Dimension[];
|
|
10474
|
+
readonly monthly_average?: io.flow.merchant.onboarding.v0.models.MonthlyAverage;
|
|
10475
|
+
readonly dangerous_goods?: boolean;
|
|
10476
|
+
readonly default_country_of_origin?: string;
|
|
10477
|
+
readonly ratecard?: io.flow.ratecard.v0.models.RatecardReference;
|
|
10478
|
+
readonly rate_card: string;
|
|
10479
|
+
readonly created_at: string;
|
|
10480
|
+
readonly activated_at?: string;
|
|
10481
|
+
readonly status_updated_at?: string;
|
|
10482
|
+
}
|
|
10483
|
+
|
|
10484
|
+
interface ShopifyMerchantApplicationForm {
|
|
10485
|
+
readonly discriminator: 'shopify_merchant_application_form';
|
|
10486
|
+
readonly company?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
|
|
10487
|
+
readonly indirect_tax_number?: string;
|
|
10488
|
+
readonly indirect_tax?: io.flow.merchant.onboarding.v0.models.IndirectTax;
|
|
10489
|
+
readonly parent_company?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
|
|
10490
|
+
readonly beneficiary?: string;
|
|
10491
|
+
readonly ultimate_beneficiary_owner?: io.flow.merchant.onboarding.v0.models.UltimateBeneficiaryOwner;
|
|
10492
|
+
readonly business_url?: string;
|
|
10493
|
+
readonly business_description?: string;
|
|
10494
|
+
readonly business_address?: io.flow.common.v0.models.Address;
|
|
10495
|
+
readonly refund_percentage?: number;
|
|
10496
|
+
readonly chargeback_percentage?: number;
|
|
10497
|
+
readonly bank_account_number?: string;
|
|
10498
|
+
readonly aba_routing_transit_number?: string;
|
|
10499
|
+
readonly trade_sectors?: io.flow.merchant.onboarding.v0.enums.OnboardingTradeSector[];
|
|
10500
|
+
readonly other_trade_sector?: string;
|
|
10501
|
+
readonly third_party_logistics_partners?: io.flow.merchant.onboarding.v0.models.ThirdPartyLogisticsPartner[];
|
|
10502
|
+
readonly average_order_weight?: number;
|
|
10503
|
+
readonly package_dimensions?: io.flow.common.v0.models.Dimension[];
|
|
10504
|
+
readonly monthly_average_volume_amount?: number;
|
|
10505
|
+
readonly monthly_average_volume_currency?: string;
|
|
10506
|
+
readonly monthly_average_number_transactions?: number;
|
|
10507
|
+
readonly dangerous_goods?: boolean;
|
|
10508
|
+
readonly default_country_of_origin?: string;
|
|
10509
|
+
readonly ratecard_id?: string;
|
|
10510
|
+
readonly rate_card: string;
|
|
10511
|
+
}
|
|
10512
|
+
|
|
10513
|
+
interface ShopifyMerchantApplicationPutForm {
|
|
10514
|
+
readonly discriminator: 'shopify_merchant_application_put_form';
|
|
10515
|
+
readonly status?: io.flow.merchant.onboarding.v0.enums.OnboardingApplicationStatus;
|
|
10516
|
+
}
|
|
10517
|
+
|
|
10518
|
+
interface ShopifyMerchantApplicationsSummary {
|
|
10519
|
+
readonly discriminator: 'shopify_merchant_applications_summary';
|
|
10520
|
+
readonly total: number;
|
|
10521
|
+
}
|
|
10522
|
+
|
|
10523
|
+
interface ThirdPartyLogisticsPartner {
|
|
10524
|
+
readonly warehouse_address: io.flow.merchant.onboarding.v0.models.MerchantOnboardingAddress;
|
|
10525
|
+
readonly warehouse_url?: string;
|
|
10526
|
+
readonly location?: io.flow.merchant.onboarding.v0.models.MerchantOnboardingAddress;
|
|
10527
|
+
readonly scheduled_pickups?: io.flow.merchant.onboarding.v0.models.OnboardingMerchantScheduledPickup[];
|
|
10528
|
+
readonly operations_contact: io.flow.merchant.onboarding.v0.models.OperationsContact;
|
|
10529
|
+
readonly center_id?: string;
|
|
10530
|
+
}
|
|
10531
|
+
|
|
10532
|
+
interface UltimateBeneficiaryOwner {
|
|
10533
|
+
readonly name: string;
|
|
10534
|
+
readonly dob: string;
|
|
10535
|
+
}
|
|
10536
|
+
}
|
|
10537
|
+
|
|
10538
|
+
declare namespace io.flow.merchant.onboarding.v0.unions {
|
|
10539
|
+
type MerchantApplication =
|
|
10540
|
+
io.flow.merchant.onboarding.v0.models.ShopifyMerchantApplication;
|
|
10541
|
+
type MerchantApplicationForm =
|
|
10542
|
+
io.flow.merchant.onboarding.v0.models.ShopifyMerchantApplicationForm;
|
|
10543
|
+
type MerchantApplicationPutForm =
|
|
10544
|
+
io.flow.merchant.onboarding.v0.models.ShopifyMerchantApplicationPutForm;
|
|
10545
|
+
type MerchantApplicationsSummary =
|
|
10546
|
+
io.flow.merchant.onboarding.v0.models.ShopifyMerchantApplicationsSummary;
|
|
10547
|
+
}
|
|
10548
|
+
|
|
10334
10549
|
declare namespace io.flow.catalog.v0.enums {
|
|
10335
10550
|
type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis';
|
|
10336
10551
|
type AttributeIntent =
|
|
@@ -13472,7 +13687,9 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13472
13687
|
| 'logistics'
|
|
13473
13688
|
| 'payments'
|
|
13474
13689
|
| 'shopify_markets'
|
|
13475
|
-
| 'integration_partner'
|
|
13690
|
+
| 'integration_partner'
|
|
13691
|
+
| 'dtce'
|
|
13692
|
+
| 'miscellaneous';
|
|
13476
13693
|
type OrderAction =
|
|
13477
13694
|
| 'consumer_submit'
|
|
13478
13695
|
| 'fraud_review_accept'
|
|
@@ -14630,6 +14847,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14630
14847
|
readonly adjustment: io.flow.common.v0.models.Price;
|
|
14631
14848
|
readonly capture: io.flow.common.v0.models.Price;
|
|
14632
14849
|
readonly refund: io.flow.common.v0.models.Price;
|
|
14850
|
+
readonly credit_payment: io.flow.common.v0.models.Price;
|
|
14851
|
+
readonly fully_subsidized_order: io.flow.common.v0.models.Price;
|
|
14633
14852
|
readonly virtual_card_capture: io.flow.common.v0.models.Price;
|
|
14634
14853
|
readonly virtual_card_refund: io.flow.common.v0.models.Price;
|
|
14635
14854
|
readonly tax_remittance: io.flow.common.v0.models.Price;
|
|
@@ -21244,6 +21463,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21244
21463
|
readonly flow_authorization?: io.flow.payment.v0.unions.Authorization;
|
|
21245
21464
|
}
|
|
21246
21465
|
|
|
21466
|
+
interface MerchantApplicationSummary {
|
|
21467
|
+
readonly merchant_application: io.flow.merchant.onboarding.v0.unions.MerchantApplication;
|
|
21468
|
+
readonly organization_reference: io.flow.common.v0.models.Organization;
|
|
21469
|
+
}
|
|
21470
|
+
|
|
21247
21471
|
interface MerchantOfRecordEntitySettings {
|
|
21248
21472
|
readonly id: string;
|
|
21249
21473
|
readonly merchant_of_record_entity: io.flow.common.v0.models.MerchantOfRecordEntity;
|
|
@@ -27691,6 +27915,8 @@ export type MarketingGatewaySourceSummary =
|
|
|
27691
27915
|
export type MarketingGatewaySupportedChannelDetails =
|
|
27692
27916
|
io.flow.internal.v0.models.MarketingGatewaySupportedChannelDetails;
|
|
27693
27917
|
export type MarketsOrder = io.flow.internal.v0.models.MarketsOrder;
|
|
27918
|
+
export type MerchantApplicationSummary =
|
|
27919
|
+
io.flow.internal.v0.models.MerchantApplicationSummary;
|
|
27694
27920
|
export type MerchantOfRecordEntitySettings =
|
|
27695
27921
|
io.flow.internal.v0.models.MerchantOfRecordEntitySettings;
|
|
27696
27922
|
export type MerchantOfRecordEntitySettingsForm =
|