@flowio/types 11.24.69 → 11.24.71
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 +228 -192
- package/dist/api.d.ts +156 -15
- package/package.json +2 -2
- package/src/api-internal.ts +294 -226
- package/src/api.ts +206 -15
package/src/api.ts
CHANGED
|
@@ -255,12 +255,17 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
255
255
|
| 'charge.failed'
|
|
256
256
|
| 'charge.pending'
|
|
257
257
|
| 'charge.refunded'
|
|
258
|
-
| 'charge.
|
|
258
|
+
| 'charge.expired'
|
|
259
259
|
| 'charge.succeeded'
|
|
260
260
|
| 'charge.updated'
|
|
261
|
+
| 'charge.refund.updated'
|
|
262
|
+
| 'payment_intent.created'
|
|
261
263
|
| 'payment_intent.amount_capturable_updated'
|
|
262
264
|
| 'payment_intent.payment_failed'
|
|
263
265
|
| 'payment_intent.succeeded'
|
|
266
|
+
| 'payment_intent.requires_action'
|
|
267
|
+
| 'payment_intent.canceled'
|
|
268
|
+
| 'payment_intent.processing'
|
|
264
269
|
| 'source.canceled'
|
|
265
270
|
| 'source.chargeable'
|
|
266
271
|
| 'source.failed';
|
|
@@ -380,6 +385,13 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
380
385
|
| 'sofort'
|
|
381
386
|
| 'three_d_secure';
|
|
382
387
|
type SourceUsageType = 'reusable' | 'single_use';
|
|
388
|
+
type StoredCredentialTransactionType =
|
|
389
|
+
| 'setup_on_session'
|
|
390
|
+
| 'setup_off_session_recurring'
|
|
391
|
+
| 'setup_off_session_unscheduled'
|
|
392
|
+
| 'stored_on_session'
|
|
393
|
+
| 'stored_on_session_recurring'
|
|
394
|
+
| 'stored_on_session_unscheduled';
|
|
383
395
|
type ThreeDSecureSupport =
|
|
384
396
|
| 'required'
|
|
385
397
|
| 'recommended'
|
|
@@ -491,6 +503,11 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
491
503
|
readonly cvc_check?: io.flow.stripe.v0.enums.CheckOutcome;
|
|
492
504
|
}
|
|
493
505
|
|
|
506
|
+
interface CardNetworks {
|
|
507
|
+
readonly available?: string[];
|
|
508
|
+
readonly preferred?: string;
|
|
509
|
+
}
|
|
510
|
+
|
|
494
511
|
interface CardRequest {
|
|
495
512
|
readonly object: string;
|
|
496
513
|
readonly exp_month: string;
|
|
@@ -511,6 +528,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
511
528
|
readonly id: string;
|
|
512
529
|
readonly amount: number;
|
|
513
530
|
readonly amount_refunded: number;
|
|
531
|
+
readonly authorization_code?: string;
|
|
514
532
|
readonly captured: boolean;
|
|
515
533
|
readonly created: number;
|
|
516
534
|
readonly currency: string;
|
|
@@ -561,6 +579,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
561
579
|
readonly id: string;
|
|
562
580
|
readonly amount: number;
|
|
563
581
|
readonly amount_refunded: number;
|
|
582
|
+
readonly authorization_code?: string;
|
|
564
583
|
readonly captured: boolean;
|
|
565
584
|
readonly created: number;
|
|
566
585
|
readonly currency: string;
|
|
@@ -658,6 +677,8 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
658
677
|
readonly order_number?: string;
|
|
659
678
|
readonly authorization_id?: string;
|
|
660
679
|
readonly organization_id?: string;
|
|
680
|
+
readonly payment_request_id?: string;
|
|
681
|
+
readonly payment_request_order_reference?: string;
|
|
661
682
|
}
|
|
662
683
|
|
|
663
684
|
interface NetworkTokenUsed {
|
|
@@ -778,6 +799,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
778
799
|
interface PaymentIntentConfirmationForm {
|
|
779
800
|
readonly off_session?: boolean;
|
|
780
801
|
readonly payment_method?: string;
|
|
802
|
+
readonly payment_method_data?: io.flow.stripe.v0.unions.PaymentMethodData;
|
|
781
803
|
readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptions;
|
|
782
804
|
readonly payment_method_types?: string[];
|
|
783
805
|
readonly receipt_email?: string;
|
|
@@ -798,6 +820,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
798
820
|
readonly metadata?: io.flow.stripe.v0.models.Metadata;
|
|
799
821
|
readonly on_behalf_of?: string;
|
|
800
822
|
readonly payment_method?: string;
|
|
823
|
+
readonly payment_method_data?: io.flow.stripe.v0.unions.PaymentMethodData;
|
|
801
824
|
readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptions;
|
|
802
825
|
readonly payment_method_types?: string[];
|
|
803
826
|
readonly receipt_email?: string;
|
|
@@ -830,7 +853,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
830
853
|
readonly id: string;
|
|
831
854
|
readonly object: string;
|
|
832
855
|
readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
833
|
-
readonly card?: io.flow.stripe.v0.models.
|
|
856
|
+
readonly card?: io.flow.stripe.v0.models.PaymentMethodCardDetails;
|
|
834
857
|
readonly card_present?: any /*object*/;
|
|
835
858
|
readonly created: number;
|
|
836
859
|
readonly customer?: string;
|
|
@@ -845,6 +868,33 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
845
868
|
readonly phone?: string;
|
|
846
869
|
}
|
|
847
870
|
|
|
871
|
+
interface PaymentMethodCardDetails {
|
|
872
|
+
readonly brand?: io.flow.stripe.v0.enums.CardBrand;
|
|
873
|
+
readonly checks?: io.flow.stripe.v0.models.CardChecks;
|
|
874
|
+
readonly country?: string;
|
|
875
|
+
readonly exp_month?: number;
|
|
876
|
+
readonly exp_year?: number;
|
|
877
|
+
readonly fingerprint?: string;
|
|
878
|
+
readonly funding?: io.flow.stripe.v0.enums.CardFundingType;
|
|
879
|
+
readonly last4?: string;
|
|
880
|
+
readonly networks?: io.flow.stripe.v0.models.CardNetworks;
|
|
881
|
+
readonly three_d_secure_usage?: io.flow.stripe.v0.models.ThreeDSecureUsage;
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
interface PaymentMethodCardForm {
|
|
885
|
+
readonly exp_month: string;
|
|
886
|
+
readonly exp_year: string;
|
|
887
|
+
readonly number: string;
|
|
888
|
+
readonly cvc?: string;
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
interface PaymentMethodDataCard {
|
|
892
|
+
readonly type: 'card';
|
|
893
|
+
readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
894
|
+
readonly metadata?: any /*object*/;
|
|
895
|
+
readonly card: io.flow.stripe.v0.models.PaymentMethodCardForm;
|
|
896
|
+
}
|
|
897
|
+
|
|
848
898
|
interface PaymentMethodDetailsCard {
|
|
849
899
|
readonly type: 'card';
|
|
850
900
|
readonly card: io.flow.stripe.v0.models.PaymentMethodDetailsCardInformation;
|
|
@@ -882,10 +932,11 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
882
932
|
readonly preferred_locale?: io.flow.stripe.v0.enums.PreferredLocaleKlarna;
|
|
883
933
|
}
|
|
884
934
|
|
|
885
|
-
interface
|
|
886
|
-
readonly type:
|
|
935
|
+
interface PaymentMethodFormCard {
|
|
936
|
+
readonly type: 'card';
|
|
887
937
|
readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
888
|
-
readonly
|
|
938
|
+
readonly metadata?: any /*object*/;
|
|
939
|
+
readonly card: io.flow.stripe.v0.models.PaymentMethodCardForm;
|
|
889
940
|
}
|
|
890
941
|
|
|
891
942
|
interface PaymentMethodOptions {
|
|
@@ -893,7 +944,9 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
893
944
|
}
|
|
894
945
|
|
|
895
946
|
interface PaymentMethodOptionsCard {
|
|
947
|
+
readonly network?: string;
|
|
896
948
|
readonly request_three_d_secure?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
|
|
949
|
+
readonly stored_credential_transaction_type?: io.flow.stripe.v0.enums.StoredCredentialTransactionType;
|
|
897
950
|
}
|
|
898
951
|
|
|
899
952
|
interface PaymentOutcome {
|
|
@@ -1145,6 +1198,10 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
1145
1198
|
readonly stripe_js: string;
|
|
1146
1199
|
}
|
|
1147
1200
|
|
|
1201
|
+
interface ThreeDSecureUsage {
|
|
1202
|
+
readonly supported?: boolean;
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1148
1205
|
interface Token {
|
|
1149
1206
|
readonly id: string;
|
|
1150
1207
|
readonly object: string;
|
|
@@ -1186,9 +1243,11 @@ declare namespace io.flow.stripe.v0.unions {
|
|
|
1186
1243
|
| io.flow.stripe.v0.models.Masterpass
|
|
1187
1244
|
| io.flow.stripe.v0.models.ApplePay
|
|
1188
1245
|
| io.flow.stripe.v0.models.VisaCheckout;
|
|
1246
|
+
type PaymentMethodData = io.flow.stripe.v0.models.PaymentMethodDataCard;
|
|
1189
1247
|
type PaymentMethodDetails =
|
|
1190
1248
|
| io.flow.stripe.v0.models.PaymentMethodDetailsCard
|
|
1191
1249
|
| io.flow.stripe.v0.models.PaymentMethodDetailsKlarna;
|
|
1250
|
+
type PaymentMethodForm = io.flow.stripe.v0.models.PaymentMethodFormCard;
|
|
1192
1251
|
}
|
|
1193
1252
|
|
|
1194
1253
|
declare namespace io.flow.units.v0.enums {
|
|
@@ -2228,8 +2287,8 @@ declare namespace io.flow.apple.pay.v0.enums {
|
|
|
2228
2287
|
| 'email'
|
|
2229
2288
|
| 'name'
|
|
2230
2289
|
| 'phone'
|
|
2231
|
-
| '
|
|
2232
|
-
| '
|
|
2290
|
+
| 'postal_address'
|
|
2291
|
+
| 'phonetic_name';
|
|
2233
2292
|
type ApplePayLineItemType = 'final' | 'pending';
|
|
2234
2293
|
type ApplePayMerchantCapability =
|
|
2235
2294
|
| 'supports3DS'
|
|
@@ -2239,8 +2298,8 @@ declare namespace io.flow.apple.pay.v0.enums {
|
|
|
2239
2298
|
type ApplePayShippingType =
|
|
2240
2299
|
| 'shipping'
|
|
2241
2300
|
| 'delivery'
|
|
2242
|
-
| '
|
|
2243
|
-
| '
|
|
2301
|
+
| 'store_pickup'
|
|
2302
|
+
| 'service_pickup';
|
|
2244
2303
|
type ApplePaySupportedNetworks =
|
|
2245
2304
|
| 'amex'
|
|
2246
2305
|
| 'chinaUnionPay'
|
|
@@ -2255,7 +2314,7 @@ declare namespace io.flow.apple.pay.v0.models {
|
|
|
2255
2314
|
interface ApplePayLineItem {
|
|
2256
2315
|
readonly label: string;
|
|
2257
2316
|
readonly type: io.flow.apple.pay.v0.enums.ApplePayLineItemType;
|
|
2258
|
-
readonly amount:
|
|
2317
|
+
readonly amount: number;
|
|
2259
2318
|
}
|
|
2260
2319
|
|
|
2261
2320
|
interface ApplePayPaymentContact {
|
|
@@ -2306,7 +2365,7 @@ declare namespace io.flow.apple.pay.v0.models {
|
|
|
2306
2365
|
interface ApplePayShippingMethod {
|
|
2307
2366
|
readonly label: string;
|
|
2308
2367
|
readonly detail: string;
|
|
2309
|
-
readonly amount:
|
|
2368
|
+
readonly amount: number;
|
|
2310
2369
|
readonly identifier: string;
|
|
2311
2370
|
}
|
|
2312
2371
|
}
|
|
@@ -2329,8 +2388,8 @@ declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.enums {
|
|
|
2329
2388
|
| 'oversize'
|
|
2330
2389
|
| 'duties_paid'
|
|
2331
2390
|
| 'emergency'
|
|
2332
|
-
| 'peak'
|
|
2333
|
-
|
|
2391
|
+
| 'peak'
|
|
2392
|
+
| 'address_correction';
|
|
2334
2393
|
}
|
|
2335
2394
|
|
|
2336
2395
|
declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.models {
|
|
@@ -2354,11 +2413,44 @@ declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.models {
|
|
|
2354
2413
|
readonly metadata: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelMetadata;
|
|
2355
2414
|
}
|
|
2356
2415
|
|
|
2416
|
+
interface LabelInvoiceResponseFile {
|
|
2417
|
+
readonly id: string;
|
|
2418
|
+
readonly url: string;
|
|
2419
|
+
readonly created_at: string;
|
|
2420
|
+
readonly result?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelInvoiceResponseFileResult;
|
|
2421
|
+
}
|
|
2422
|
+
|
|
2423
|
+
interface LabelInvoiceResponseFileForm {
|
|
2424
|
+
readonly url: string;
|
|
2425
|
+
}
|
|
2426
|
+
|
|
2427
|
+
interface LabelInvoiceResponseFileResult {
|
|
2428
|
+
readonly processed_at: string;
|
|
2429
|
+
readonly number_lines_successful: number;
|
|
2430
|
+
readonly number_lines_with_errors: number;
|
|
2431
|
+
readonly errors_url?: string;
|
|
2432
|
+
}
|
|
2433
|
+
|
|
2434
|
+
interface LabelInvoiceResponseForm {
|
|
2435
|
+
readonly id: string;
|
|
2436
|
+
readonly label_invoice_request_id: string;
|
|
2437
|
+
readonly units: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelResponseUnits;
|
|
2438
|
+
readonly base: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelBase;
|
|
2439
|
+
readonly surcharges: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeForm;
|
|
2440
|
+
readonly total: number;
|
|
2441
|
+
}
|
|
2442
|
+
|
|
2357
2443
|
interface LabelMetadata {
|
|
2358
2444
|
readonly ratecard: io.flow.billing.RESERVED_WORD_true.up.v0.models.MetadataRatecard;
|
|
2359
2445
|
readonly weights: io.flow.billing.RESERVED_WORD_true.up.v0.models.MetadataWeights;
|
|
2360
2446
|
}
|
|
2361
2447
|
|
|
2448
|
+
interface LabelResponseUnits {
|
|
2449
|
+
readonly currency: string;
|
|
2450
|
+
readonly weight: io.flow.units.v0.enums.UnitOfWeight;
|
|
2451
|
+
readonly length?: io.flow.units.v0.enums.UnitOfLength;
|
|
2452
|
+
}
|
|
2453
|
+
|
|
2362
2454
|
interface LabelSurcharge {
|
|
2363
2455
|
readonly amount: number;
|
|
2364
2456
|
readonly type: io.flow.billing.RESERVED_WORD_true.up.v0.enums.TrueUpSurchargeType;
|
|
@@ -2380,6 +2472,22 @@ declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.models {
|
|
|
2380
2472
|
readonly percentage: number;
|
|
2381
2473
|
}
|
|
2382
2474
|
|
|
2475
|
+
interface LabelSurchargeForm {
|
|
2476
|
+
readonly fuel?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeSingleForm;
|
|
2477
|
+
readonly remote_area?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeSingleForm;
|
|
2478
|
+
readonly oversize?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeSingleForm;
|
|
2479
|
+
readonly duties_paid?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeSingleForm;
|
|
2480
|
+
readonly emergency?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeSingleForm;
|
|
2481
|
+
readonly peak?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeSingleForm;
|
|
2482
|
+
readonly address_correction?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeSingleForm;
|
|
2483
|
+
}
|
|
2484
|
+
|
|
2485
|
+
interface LabelSurchargeSingleForm {
|
|
2486
|
+
readonly amount: number;
|
|
2487
|
+
readonly percentage?: number;
|
|
2488
|
+
readonly fee_per_weight_unit?: number;
|
|
2489
|
+
}
|
|
2490
|
+
|
|
2383
2491
|
interface LabelUnits {
|
|
2384
2492
|
readonly currency: string;
|
|
2385
2493
|
readonly weight: io.flow.units.v0.enums.UnitOfWeight;
|
|
@@ -2397,7 +2505,6 @@ declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.models {
|
|
|
2397
2505
|
}
|
|
2398
2506
|
|
|
2399
2507
|
interface MetadataWeights {
|
|
2400
|
-
readonly selected: io.flow.billing.RESERVED_WORD_true.up.v0.enums.WeightSelection;
|
|
2401
2508
|
readonly dead?: io.flow.billing.RESERVED_WORD_true.up.v0.models.WeightsDead;
|
|
2402
2509
|
readonly dimensional?: io.flow.billing.RESERVED_WORD_true.up.v0.models.WeightsDimensional;
|
|
2403
2510
|
}
|
|
@@ -3033,6 +3140,7 @@ declare namespace io.flow.v0.enums {
|
|
|
3033
3140
|
| 'card'
|
|
3034
3141
|
| 'online'
|
|
3035
3142
|
| 'credit'
|
|
3143
|
+
| 'external'
|
|
3036
3144
|
| 'subsidized'
|
|
3037
3145
|
| 'installment_plan'
|
|
3038
3146
|
| 'cash_on_delivery';
|
|
@@ -3404,6 +3512,7 @@ declare namespace io.flow.v0.enums {
|
|
|
3404
3512
|
| 'reversal'
|
|
3405
3513
|
| 'shipping_label'
|
|
3406
3514
|
| 'shipping_label_service'
|
|
3515
|
+
| 'trueup'
|
|
3407
3516
|
| 'shipping_label_revenue_share'
|
|
3408
3517
|
| 'platform_fee'
|
|
3409
3518
|
| 'tax'
|
|
@@ -3416,6 +3525,15 @@ declare namespace io.flow.v0.enums {
|
|
|
3416
3525
|
| 'order_service'
|
|
3417
3526
|
| 'virtual_card_capture'
|
|
3418
3527
|
| 'virtual_card_refund';
|
|
3528
|
+
type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl';
|
|
3529
|
+
type TrueupSurchargeType =
|
|
3530
|
+
| 'fuel'
|
|
3531
|
+
| 'remote_area'
|
|
3532
|
+
| 'oversize'
|
|
3533
|
+
| 'duties_paid'
|
|
3534
|
+
| 'emergency'
|
|
3535
|
+
| 'peak'
|
|
3536
|
+
| 'address_correction';
|
|
3419
3537
|
type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
|
|
3420
3538
|
type UnitOfMeasurement =
|
|
3421
3539
|
| 'millimeter'
|
|
@@ -9367,6 +9485,7 @@ declare namespace io.flow.v0.models {
|
|
|
9367
9485
|
readonly current_state: io.flow.v0.unions.OnboardingState;
|
|
9368
9486
|
readonly started_at?: string;
|
|
9369
9487
|
readonly time_blocked?: number;
|
|
9488
|
+
readonly time_in_setup?: number;
|
|
9370
9489
|
readonly blocked_since?: string;
|
|
9371
9490
|
readonly completed_at?: string;
|
|
9372
9491
|
readonly onboarding_started_at?: string;
|
|
@@ -10360,6 +10479,12 @@ declare namespace io.flow.v0.models {
|
|
|
10360
10479
|
readonly ends_at?: string;
|
|
10361
10480
|
}
|
|
10362
10481
|
|
|
10482
|
+
interface PendingTransaction {
|
|
10483
|
+
readonly id: string;
|
|
10484
|
+
readonly reason: io.flow.v0.enums.TransactionPayoutPendingReason;
|
|
10485
|
+
readonly reason_set_at: string;
|
|
10486
|
+
}
|
|
10487
|
+
|
|
10363
10488
|
interface PercentMargin {
|
|
10364
10489
|
readonly discriminator: 'percent_margin';
|
|
10365
10490
|
readonly percentage: number;
|
|
@@ -13182,11 +13307,41 @@ declare namespace io.flow.v0.models {
|
|
|
13182
13307
|
readonly network_details?: io.flow.v0.models.TransactionNetworkDetailsCard;
|
|
13183
13308
|
}
|
|
13184
13309
|
|
|
13310
|
+
interface TransactionMetadataChannel {
|
|
13311
|
+
readonly discriminator: 'channel';
|
|
13312
|
+
readonly method: string;
|
|
13313
|
+
readonly card?: io.flow.v0.models.TransactionMetadataChannelCardMetadata;
|
|
13314
|
+
}
|
|
13315
|
+
|
|
13316
|
+
interface TransactionMetadataChannelCardMetadata {
|
|
13317
|
+
readonly type: io.flow.v0.enums.CardType;
|
|
13318
|
+
readonly issuer: io.flow.v0.models.TransactionMetadataChannelCardMetadataIssuerSummary;
|
|
13319
|
+
}
|
|
13320
|
+
|
|
13321
|
+
interface TransactionMetadataChannelCardMetadataIssuerSummary {
|
|
13322
|
+
readonly iin: string;
|
|
13323
|
+
readonly country: string;
|
|
13324
|
+
}
|
|
13325
|
+
|
|
13185
13326
|
interface TransactionMetadataShippingLabel {
|
|
13186
13327
|
readonly discriminator: 'shipping_label';
|
|
13187
13328
|
readonly request_method?: io.flow.v0.enums.LabelRequestMethod;
|
|
13188
13329
|
}
|
|
13189
13330
|
|
|
13331
|
+
interface TransactionMetadataTrueup {
|
|
13332
|
+
readonly discriminator: 'trueup';
|
|
13333
|
+
readonly estimate: io.flow.v0.models.TransactionMetadataTrueupData;
|
|
13334
|
+
readonly actual: io.flow.v0.models.TransactionMetadataTrueupData;
|
|
13335
|
+
}
|
|
13336
|
+
|
|
13337
|
+
interface TransactionMetadataTrueupData {
|
|
13338
|
+
readonly source: io.flow.v0.enums.TrueupSource;
|
|
13339
|
+
readonly units: io.flow.v0.models.TrueupLabelUnits;
|
|
13340
|
+
readonly base: io.flow.v0.models.TrueupLabelBase;
|
|
13341
|
+
readonly surcharges: io.flow.v0.models.TrueupLabelSurcharge[];
|
|
13342
|
+
readonly total: number;
|
|
13343
|
+
}
|
|
13344
|
+
|
|
13190
13345
|
interface TransactionNetworkDetailsCard {
|
|
13191
13346
|
readonly network_transaction_id?: string;
|
|
13192
13347
|
readonly network?: io.flow.v0.enums.CardType;
|
|
@@ -13219,6 +13374,23 @@ declare namespace io.flow.v0.models {
|
|
|
13219
13374
|
readonly to: number;
|
|
13220
13375
|
}
|
|
13221
13376
|
|
|
13377
|
+
interface TrueupLabelBase {
|
|
13378
|
+
readonly amount: number;
|
|
13379
|
+
readonly weight: number;
|
|
13380
|
+
}
|
|
13381
|
+
|
|
13382
|
+
interface TrueupLabelSurcharge {
|
|
13383
|
+
readonly amount: number;
|
|
13384
|
+
readonly type: io.flow.v0.enums.TrueupSurchargeType;
|
|
13385
|
+
readonly percentage?: number;
|
|
13386
|
+
readonly per_weight_unit?: number;
|
|
13387
|
+
}
|
|
13388
|
+
|
|
13389
|
+
interface TrueupLabelUnits {
|
|
13390
|
+
readonly weight: io.flow.v0.enums.UnitOfWeight;
|
|
13391
|
+
readonly length?: io.flow.v0.enums.UnitOfLength;
|
|
13392
|
+
}
|
|
13393
|
+
|
|
13222
13394
|
interface UltimateBeneficiaryOwner {
|
|
13223
13395
|
readonly name: string;
|
|
13224
13396
|
readonly dob: string;
|
|
@@ -14036,7 +14208,10 @@ declare namespace io.flow.v0.unions {
|
|
|
14036
14208
|
| io.flow.v0.models.OrganizationTokenV2Reference
|
|
14037
14209
|
| io.flow.v0.models.PartnerTokenReference;
|
|
14038
14210
|
type TransactionDetails = io.flow.v0.models.TransactionDetailsCard;
|
|
14039
|
-
type TransactionMetadata =
|
|
14211
|
+
type TransactionMetadata =
|
|
14212
|
+
| io.flow.v0.models.TransactionMetadataShippingLabel
|
|
14213
|
+
| io.flow.v0.models.TransactionMetadataChannel
|
|
14214
|
+
| io.flow.v0.models.TransactionMetadataTrueup;
|
|
14040
14215
|
}
|
|
14041
14216
|
|
|
14042
14217
|
export type AbandonedOrderEmailSettings =
|
|
@@ -15589,6 +15764,7 @@ export type PeakSurchargeByWeightServiceFee =
|
|
|
15589
15764
|
export type PeakSurchargeRatecardFee =
|
|
15590
15765
|
io.flow.v0.models.PeakSurchargeRatecardFee;
|
|
15591
15766
|
export type PeakSurchargeServiceFee = io.flow.v0.models.PeakSurchargeServiceFee;
|
|
15767
|
+
export type PendingTransaction = io.flow.v0.models.PendingTransaction;
|
|
15592
15768
|
export type PercentMargin = io.flow.v0.models.PercentMargin;
|
|
15593
15769
|
export type PermissionAudit = io.flow.v0.models.PermissionAudit;
|
|
15594
15770
|
export type PermissionCheck = io.flow.v0.models.PermissionCheck;
|
|
@@ -16152,8 +16328,18 @@ export type Transaction = io.flow.v0.models.Transaction;
|
|
|
16152
16328
|
export type TransactionDetails = io.flow.v0.unions.TransactionDetails;
|
|
16153
16329
|
export type TransactionDetailsCard = io.flow.v0.models.TransactionDetailsCard;
|
|
16154
16330
|
export type TransactionMetadata = io.flow.v0.unions.TransactionMetadata;
|
|
16331
|
+
export type TransactionMetadataChannel =
|
|
16332
|
+
io.flow.v0.models.TransactionMetadataChannel;
|
|
16333
|
+
export type TransactionMetadataChannelCardMetadata =
|
|
16334
|
+
io.flow.v0.models.TransactionMetadataChannelCardMetadata;
|
|
16335
|
+
export type TransactionMetadataChannelCardMetadataIssuerSummary =
|
|
16336
|
+
io.flow.v0.models.TransactionMetadataChannelCardMetadataIssuerSummary;
|
|
16155
16337
|
export type TransactionMetadataShippingLabel =
|
|
16156
16338
|
io.flow.v0.models.TransactionMetadataShippingLabel;
|
|
16339
|
+
export type TransactionMetadataTrueup =
|
|
16340
|
+
io.flow.v0.models.TransactionMetadataTrueup;
|
|
16341
|
+
export type TransactionMetadataTrueupData =
|
|
16342
|
+
io.flow.v0.models.TransactionMetadataTrueupData;
|
|
16157
16343
|
export type TransactionNetworkDetailsCard =
|
|
16158
16344
|
io.flow.v0.models.TransactionNetworkDetailsCard;
|
|
16159
16345
|
export type TransactionPayoutPendingReason =
|
|
@@ -16163,6 +16349,11 @@ export type TransactionSource = io.flow.v0.enums.TransactionSource;
|
|
|
16163
16349
|
export type TransactionUpserted = io.flow.v0.models.TransactionUpserted;
|
|
16164
16350
|
export type TransitEstimate = io.flow.v0.models.TransitEstimate;
|
|
16165
16351
|
export type TransitWindow = io.flow.v0.models.TransitWindow;
|
|
16352
|
+
export type TrueupLabelBase = io.flow.v0.models.TrueupLabelBase;
|
|
16353
|
+
export type TrueupLabelSurcharge = io.flow.v0.models.TrueupLabelSurcharge;
|
|
16354
|
+
export type TrueupLabelUnits = io.flow.v0.models.TrueupLabelUnits;
|
|
16355
|
+
export type TrueupSource = io.flow.v0.enums.TrueupSource;
|
|
16356
|
+
export type TrueupSurchargeType = io.flow.v0.enums.TrueupSurchargeType;
|
|
16166
16357
|
export type UltimateBeneficiaryOwner =
|
|
16167
16358
|
io.flow.v0.models.UltimateBeneficiaryOwner;
|
|
16168
16359
|
export type UnharmonizedItemExportType =
|