@flowio/types 11.24.22 → 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 +247 -90
- package/dist/api.d.ts +69 -2
- package/package.json +2 -2
- package/src/api-internal.ts +330 -114
- package/src/api.ts +83 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.24.
|
|
3
|
+
"version": "11.24.23",
|
|
4
4
|
"description": "TypeScript type definitions for custom types found in Flow API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"maintainers": [
|
|
26
26
|
"Christian Muñoz <christian.munoz@flow.io>"
|
|
27
27
|
],
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "f35925cb8986e0716d9dcdec6be43879dd1d3c0d"
|
|
29
29
|
}
|
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;
|
|
@@ -10331,6 +10232,312 @@ 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 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
|
+
|
|
10334
10541
|
declare namespace io.flow.catalog.v0.enums {
|
|
10335
10542
|
type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis';
|
|
10336
10543
|
type AttributeIntent =
|
|
@@ -14630,6 +14837,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14630
14837
|
readonly adjustment: io.flow.common.v0.models.Price;
|
|
14631
14838
|
readonly capture: io.flow.common.v0.models.Price;
|
|
14632
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;
|
|
14633
14842
|
readonly virtual_card_capture: io.flow.common.v0.models.Price;
|
|
14634
14843
|
readonly virtual_card_refund: io.flow.common.v0.models.Price;
|
|
14635
14844
|
readonly tax_remittance: io.flow.common.v0.models.Price;
|
|
@@ -21244,6 +21453,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21244
21453
|
readonly flow_authorization?: io.flow.payment.v0.unions.Authorization;
|
|
21245
21454
|
}
|
|
21246
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
|
+
|
|
21247
21461
|
interface MerchantOfRecordEntitySettings {
|
|
21248
21462
|
readonly id: string;
|
|
21249
21463
|
readonly merchant_of_record_entity: io.flow.common.v0.models.MerchantOfRecordEntity;
|
|
@@ -27691,6 +27905,8 @@ export type MarketingGatewaySourceSummary =
|
|
|
27691
27905
|
export type MarketingGatewaySupportedChannelDetails =
|
|
27692
27906
|
io.flow.internal.v0.models.MarketingGatewaySupportedChannelDetails;
|
|
27693
27907
|
export type MarketsOrder = io.flow.internal.v0.models.MarketsOrder;
|
|
27908
|
+
export type MerchantApplicationSummary =
|
|
27909
|
+
io.flow.internal.v0.models.MerchantApplicationSummary;
|
|
27694
27910
|
export type MerchantOfRecordEntitySettings =
|
|
27695
27911
|
io.flow.internal.v0.models.MerchantOfRecordEntitySettings;
|
|
27696
27912
|
export type MerchantOfRecordEntitySettingsForm =
|