@flowio/types 11.24.72 → 11.24.74

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/src/api.ts CHANGED
@@ -947,6 +947,7 @@ declare namespace io.flow.stripe.v0.models {
947
947
  readonly network?: string;
948
948
  readonly request_three_d_secure?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
949
949
  readonly stored_credential_transaction_type?: io.flow.stripe.v0.enums.StoredCredentialTransactionType;
950
+ readonly mcc?: string;
950
951
  }
951
952
 
952
953
  interface PaymentOutcome {
@@ -1250,12 +1251,6 @@ declare namespace io.flow.stripe.v0.unions {
1250
1251
  type PaymentMethodForm = io.flow.stripe.v0.models.PaymentMethodFormCard;
1251
1252
  }
1252
1253
 
1253
- declare namespace io.flow.units.v0.enums {
1254
- type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
1255
- type UnitOfVolume = 'cubic_inch' | 'cubic_meter';
1256
- type UnitOfWeight = 'gram' | 'kilogram' | 'ounce' | 'pound';
1257
- }
1258
-
1259
1254
  declare namespace io.flow.shopify.external.v0.enums {
1260
1255
  type CancelReason = 'customer' | 'fraud' | 'inventory' | 'declined' | 'other';
1261
1256
  type DiscountStatus = 'enabled' | 'disabled' | 'depleted';
@@ -2253,6 +2248,17 @@ declare namespace io.flow.shopify.external.v0.models {
2253
2248
  }
2254
2249
  }
2255
2250
 
2251
+ declare namespace io.flow.error.v0.enums {
2252
+ type GenericErrorCode = 'generic_error' | 'client_error' | 'server_error';
2253
+ }
2254
+
2255
+ declare namespace io.flow.error.v0.models {
2256
+ interface GenericError {
2257
+ readonly code: io.flow.error.v0.enums.GenericErrorCode;
2258
+ readonly messages: string[];
2259
+ }
2260
+ }
2261
+
2256
2262
  declare namespace io.flow.ben.test.internal.v0.models {
2257
2263
  interface GenerateLoadMultipleOrgs {
2258
2264
  readonly discriminator: 'generate_load_multiple_orgs';
@@ -2287,8 +2293,8 @@ declare namespace io.flow.apple.pay.v0.enums {
2287
2293
  | 'email'
2288
2294
  | 'name'
2289
2295
  | 'phone'
2290
- | 'postal_address'
2291
- | 'phonetic_name';
2296
+ | 'postalAddress'
2297
+ | 'phoneticName';
2292
2298
  type ApplePayLineItemType = 'final' | 'pending';
2293
2299
  type ApplePayMerchantCapability =
2294
2300
  | 'supports3DS'
@@ -2298,8 +2304,8 @@ declare namespace io.flow.apple.pay.v0.enums {
2298
2304
  type ApplePayShippingType =
2299
2305
  | 'shipping'
2300
2306
  | 'delivery'
2301
- | 'store_pickup'
2302
- | 'service_pickup';
2307
+ | 'storePickup'
2308
+ | 'servicePickup';
2303
2309
  type ApplePaySupportedNetworks =
2304
2310
  | 'amex'
2305
2311
  | 'chinaUnionPay'
@@ -2314,7 +2320,7 @@ declare namespace io.flow.apple.pay.v0.models {
2314
2320
  interface ApplePayLineItem {
2315
2321
  readonly label: string;
2316
2322
  readonly type: io.flow.apple.pay.v0.enums.ApplePayLineItemType;
2317
- readonly amount: number;
2323
+ readonly amount: string;
2318
2324
  }
2319
2325
 
2320
2326
  interface ApplePayPaymentContact {
@@ -2365,181 +2371,11 @@ declare namespace io.flow.apple.pay.v0.models {
2365
2371
  interface ApplePayShippingMethod {
2366
2372
  readonly label: string;
2367
2373
  readonly detail: string;
2368
- readonly amount: number;
2374
+ readonly amount: string;
2369
2375
  readonly identifier: string;
2370
2376
  }
2371
2377
  }
2372
2378
 
2373
- declare namespace io.flow.error.v0.enums {
2374
- type GenericErrorCode = 'generic_error' | 'client_error' | 'server_error';
2375
- }
2376
-
2377
- declare namespace io.flow.error.v0.models {
2378
- interface GenericError {
2379
- readonly code: io.flow.error.v0.enums.GenericErrorCode;
2380
- readonly messages: string[];
2381
- }
2382
- }
2383
-
2384
- declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.enums {
2385
- type TrueUpSurchargeType =
2386
- | 'fuel'
2387
- | 'remote_area'
2388
- | 'oversize'
2389
- | 'duties_paid'
2390
- | 'emergency'
2391
- | 'peak'
2392
- | 'address_correction';
2393
- }
2394
-
2395
- declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.models {
2396
- interface LabelBase {
2397
- readonly amount: number;
2398
- readonly weight: number;
2399
- }
2400
-
2401
- interface LabelDestination {
2402
- readonly country: string;
2403
- }
2404
-
2405
- interface LabelInvoiceRequest {
2406
- readonly id: string;
2407
- readonly label: io.flow.billing.RESERVED_WORD_true.up.v0.models.TrueUpLabelSummary;
2408
- readonly units: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelUnits;
2409
- readonly base: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelBase;
2410
- readonly surcharges: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurcharge[];
2411
- readonly total: number;
2412
- readonly destination: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelDestination;
2413
- readonly metadata: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelMetadata;
2414
- }
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
-
2443
- interface LabelMetadata {
2444
- readonly ratecard: io.flow.billing.RESERVED_WORD_true.up.v0.models.MetadataRatecard;
2445
- readonly weights: io.flow.billing.RESERVED_WORD_true.up.v0.models.MetadataWeights;
2446
- }
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
-
2454
- interface LabelSurcharge {
2455
- readonly amount: number;
2456
- readonly type: io.flow.billing.RESERVED_WORD_true.up.v0.enums.TrueUpSurchargeType;
2457
- readonly detail: io.flow.billing.RESERVED_WORD_true.up.v0.unions.LabelSurchargeDetail;
2458
- }
2459
-
2460
- interface LabelSurchargeDetailFlat {
2461
- readonly discriminator: 'flat';
2462
- readonly placeholder?: string;
2463
- }
2464
-
2465
- interface LabelSurchargeDetailPerWeightUnit {
2466
- readonly discriminator: 'per_weight_unit';
2467
- readonly fee: number;
2468
- }
2469
-
2470
- interface LabelSurchargeDetailPercentage {
2471
- readonly discriminator: 'percentage';
2472
- readonly percentage: number;
2473
- }
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
-
2491
- interface LabelUnits {
2492
- readonly currency: string;
2493
- readonly weight: io.flow.units.v0.enums.UnitOfWeight;
2494
- readonly length: io.flow.units.v0.enums.UnitOfLength;
2495
- }
2496
-
2497
- interface MetadataProposition {
2498
- readonly shipping_method: io.flow.billing.RESERVED_WORD_true.up.v0.models.ShippingMethodReference;
2499
- readonly name: string;
2500
- }
2501
-
2502
- interface MetadataRatecard {
2503
- readonly id: string;
2504
- readonly proposition: io.flow.billing.RESERVED_WORD_true.up.v0.models.MetadataProposition;
2505
- }
2506
-
2507
- interface MetadataWeights {
2508
- readonly dead?: io.flow.billing.RESERVED_WORD_true.up.v0.models.WeightsDead;
2509
- readonly dimensional?: io.flow.billing.RESERVED_WORD_true.up.v0.models.WeightsDimensional;
2510
- }
2511
-
2512
- interface ShippingMethodReference {
2513
- readonly id: string;
2514
- }
2515
-
2516
- interface TrueUpLabelSummary {
2517
- readonly id: string;
2518
- readonly carrier_service_id: string;
2519
- readonly carrier_tracking_number: string;
2520
- readonly flow_tracking_number: string;
2521
- readonly created_at: string;
2522
- }
2523
-
2524
- interface WeightsDead {
2525
- readonly weight: number;
2526
- }
2527
-
2528
- interface WeightsDimensional {
2529
- readonly weight: number;
2530
- readonly length: number;
2531
- readonly width: number;
2532
- readonly height: number;
2533
- }
2534
- }
2535
-
2536
- declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.unions {
2537
- type LabelSurchargeDetail =
2538
- | io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeDetailFlat
2539
- | io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeDetailPercentage
2540
- | io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeDetailPerWeightUnit;
2541
- }
2542
-
2543
2379
  declare namespace io.flow.v0.enums {
2544
2380
  type AbandonedOrderPromotionStatus = 'active' | 'inactive';
2545
2381
  type AbandonedOrderSettingStatus = 'active' | 'inactive';
@@ -2769,6 +2605,10 @@ declare namespace io.flow.v0.enums {
2769
2605
  | 'channel_payout_deleted'
2770
2606
  | 'organization_payout_upserted'
2771
2607
  | 'organization_payout_deleted'
2608
+ | 'channel_pending_payout_transaction_upserted'
2609
+ | 'channel_pending_payout_transaction_deleted'
2610
+ | 'organization_pending_payout_transaction_upserted'
2611
+ | 'organization_pending_payout_transaction_deleted'
2772
2612
  | 'attribute_upserted'
2773
2613
  | 'attribute_deleted'
2774
2614
  | 'attribute_upserted_v2'
@@ -3309,6 +3149,13 @@ declare namespace io.flow.v0.enums {
3309
3149
  | 'invalid_account_number'
3310
3150
  | 'account_closed'
3311
3151
  | 'could_not_process';
3152
+ type PendingPayoutTransactionReasonCode =
3153
+ | 'waiting_for_full_refund'
3154
+ | 'waiting_for_fulfillment'
3155
+ | 'waiting_for_in_transit'
3156
+ | 'waiting_for_next_payout_date'
3157
+ | 'waiting_for_tracking_info'
3158
+ | 'waiting_for_positive_account_balance';
3312
3159
  type PermittedHttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
3313
3160
  type PhysicalDeliverySpecialSerivce =
3314
3161
  | 'cold_storage'
@@ -3497,13 +3344,6 @@ declare namespace io.flow.v0.enums {
3497
3344
  | 'expired';
3498
3345
  type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
3499
3346
  type TradeAgreementStatus = 'supported' | 'not_supported';
3500
- type TransactionPayoutPendingReason =
3501
- | 'waiting_for_full_refund'
3502
- | 'waiting_for_fulfillment'
3503
- | 'waiting_for_in_transit'
3504
- | 'waiting_for_next_payout_date'
3505
- | 'external_fulfillment_missing_tracking_info'
3506
- | 'waiting_for_positive_account_balance';
3507
3347
  type TransactionSource =
3508
3348
  | 'capture'
3509
3349
  | 'refund'
@@ -5014,6 +4854,18 @@ declare namespace io.flow.v0.models {
5014
4854
  readonly id: string;
5015
4855
  }
5016
4856
 
4857
+ interface ChannelCurrencyPair {
4858
+ readonly id: string;
4859
+ readonly base: string;
4860
+ readonly target: string;
4861
+ readonly rate: io.flow.v0.models.ChannelCurrencyRate;
4862
+ }
4863
+
4864
+ interface ChannelCurrencyRate {
4865
+ readonly id: string;
4866
+ readonly value: number;
4867
+ }
4868
+
5017
4869
  interface ChannelCurrencyUpserted {
5018
4870
  readonly discriminator: 'channel_currency_upserted';
5019
4871
  readonly event_id: string;
@@ -5109,6 +4961,31 @@ declare namespace io.flow.v0.models {
5109
4961
  readonly payout: io.flow.v0.models.ChannelPayout;
5110
4962
  }
5111
4963
 
4964
+ interface ChannelPendingPayoutTransaction {
4965
+ readonly id: string;
4966
+ readonly reason: io.flow.v0.models.PendingPayoutTransactionReason;
4967
+ readonly timeout?: io.flow.v0.models.PendingPayoutTransactionTimeout;
4968
+ readonly created_at: string;
4969
+ readonly updated_at: string;
4970
+ readonly deleted_at?: string;
4971
+ }
4972
+
4973
+ interface ChannelPendingPayoutTransactionDeleted {
4974
+ readonly discriminator: 'channel_pending_payout_transaction_deleted';
4975
+ readonly event_id: string;
4976
+ readonly timestamp: string;
4977
+ readonly channel_id: string;
4978
+ readonly id: string;
4979
+ }
4980
+
4981
+ interface ChannelPendingPayoutTransactionUpserted {
4982
+ readonly discriminator: 'channel_pending_payout_transaction_upserted';
4983
+ readonly event_id: string;
4984
+ readonly timestamp: string;
4985
+ readonly channel_id: string;
4986
+ readonly channel_pending_payout_transaction: io.flow.v0.models.ChannelPendingPayoutTransaction;
4987
+ }
4988
+
5112
4989
  interface ChannelRate {
5113
4990
  readonly placeholder?: string;
5114
4991
  }
@@ -5200,12 +5077,6 @@ declare namespace io.flow.v0.models {
5200
5077
  readonly id: string;
5201
5078
  }
5202
5079
 
5203
- interface ChannelTransactionPayout {
5204
- readonly transaction: io.flow.v0.models.TransactionReference;
5205
- readonly waiting_for?: io.flow.v0.enums.TransactionPayoutPendingReason;
5206
- readonly payout?: io.flow.v0.models.PayoutReference;
5207
- }
5208
-
5209
5080
  interface ChannelTransactionUpserted {
5210
5081
  readonly discriminator: 'channel_transaction_upserted';
5211
5082
  readonly event_id: string;
@@ -5890,6 +5761,10 @@ declare namespace io.flow.v0.models {
5890
5761
  readonly reason: string;
5891
5762
  }
5892
5763
 
5764
+ interface DeadWeight {
5765
+ readonly weight: number;
5766
+ }
5767
+
5893
5768
  interface DefaultBankAccountForm {
5894
5769
  readonly bank_account_id: string;
5895
5770
  }
@@ -6134,6 +6009,13 @@ declare namespace io.flow.v0.models {
6134
6009
  readonly dimension_estimate: io.flow.v0.models.DimensionEstimate;
6135
6010
  }
6136
6011
 
6012
+ interface DimensionalWeight {
6013
+ readonly weight: number;
6014
+ readonly length?: number;
6015
+ readonly width?: number;
6016
+ readonly height?: number;
6017
+ }
6018
+
6137
6019
  interface Dimensions {
6138
6020
  readonly product?: io.flow.v0.models.Dimension;
6139
6021
  readonly packaging?: io.flow.v0.models.Dimension;
@@ -6981,9 +6863,21 @@ declare namespace io.flow.v0.models {
6981
6863
  readonly ends_at?: string;
6982
6864
  }
6983
6865
 
6866
+ interface FuelSurchargeByWeight {
6867
+ readonly discriminator: 'fuel_surcharge_by_weight';
6868
+ readonly amount: number;
6869
+ readonly weight_unit: io.flow.v0.enums.UnitOfMeasurement;
6870
+ }
6871
+
6872
+ interface FuelSurchargePercent {
6873
+ readonly discriminator: 'fuel_surcharge_percent';
6874
+ readonly percent: number;
6875
+ }
6876
+
6984
6877
  interface FuelSurchargeRatecardFee {
6985
6878
  readonly discriminator: 'fuel_surcharge_ratecard_fee';
6986
6879
  readonly amount: io.flow.v0.models.Money;
6880
+ readonly fuel_surcharge_rate?: io.flow.v0.unions.FuelSurchargeRate;
6987
6881
  }
6988
6882
 
6989
6883
  interface FuelSurchargeServiceFee {
@@ -7237,6 +7131,7 @@ declare namespace io.flow.v0.models {
7237
7131
  readonly currency: string;
7238
7132
  readonly amount: number;
7239
7133
  readonly fees: io.flow.v0.unions.RatecardFee[];
7134
+ readonly weight_break?: number;
7240
7135
  readonly total: number;
7241
7136
  readonly lane: io.flow.v0.models.LaneSummary;
7242
7137
  }
@@ -7890,6 +7785,11 @@ declare namespace io.flow.v0.models {
7890
7785
  readonly status: string;
7891
7786
  }
7892
7787
 
7788
+ interface LabelBase {
7789
+ readonly amount: number;
7790
+ readonly weight: number;
7791
+ }
7792
+
7893
7793
  interface LabelDeletedV2 {
7894
7794
  readonly discriminator: 'label_deleted_v2';
7895
7795
  readonly event_id: string;
@@ -7924,6 +7824,27 @@ declare namespace io.flow.v0.models {
7924
7824
  readonly id: string;
7925
7825
  }
7926
7826
 
7827
+ interface LabelSurcharge {
7828
+ readonly amount: number;
7829
+ readonly type: io.flow.v0.enums.TrueupSurchargeType;
7830
+ readonly detail: io.flow.v0.unions.LabelSurchargeDetail;
7831
+ }
7832
+
7833
+ interface LabelSurchargeDetailFlat {
7834
+ readonly discriminator: 'flat';
7835
+ readonly placeholder?: string;
7836
+ }
7837
+
7838
+ interface LabelSurchargeDetailPerWeightUnit {
7839
+ readonly discriminator: 'per_weight_unit';
7840
+ readonly fee: number;
7841
+ }
7842
+
7843
+ interface LabelSurchargeDetailPercentage {
7844
+ readonly discriminator: 'percentage';
7845
+ readonly percentage: number;
7846
+ }
7847
+
7927
7848
  interface LabelTrackingCarrierService {
7928
7849
  readonly carrier_id: string;
7929
7850
  readonly service_id?: string;
@@ -7945,6 +7866,12 @@ declare namespace io.flow.v0.models {
7945
7866
  readonly created_at?: string;
7946
7867
  }
7947
7868
 
7869
+ interface LabelUnits {
7870
+ readonly currency: string;
7871
+ readonly weight: io.flow.v0.enums.UnitOfWeight;
7872
+ readonly length: io.flow.v0.enums.UnitOfLength;
7873
+ }
7874
+
7948
7875
  interface LabelUpserted {
7949
7876
  readonly discriminator: 'label_upserted';
7950
7877
  readonly event_id: string;
@@ -9535,6 +9462,31 @@ declare namespace io.flow.v0.models {
9535
9462
  readonly payout: io.flow.v0.models.OrganizationPayout;
9536
9463
  }
9537
9464
 
9465
+ interface OrganizationPendingPayoutTransaction {
9466
+ readonly id: string;
9467
+ readonly reason: io.flow.v0.models.PendingPayoutTransactionReason;
9468
+ readonly timeout?: io.flow.v0.models.PendingPayoutTransactionTimeout;
9469
+ readonly created_at: string;
9470
+ readonly updated_at: string;
9471
+ readonly deleted_at?: string;
9472
+ }
9473
+
9474
+ interface OrganizationPendingPayoutTransactionDeleted {
9475
+ readonly discriminator: 'organization_pending_payout_transaction_deleted';
9476
+ readonly event_id: string;
9477
+ readonly timestamp: string;
9478
+ readonly organization: string;
9479
+ readonly id: string;
9480
+ }
9481
+
9482
+ interface OrganizationPendingPayoutTransactionUpserted {
9483
+ readonly discriminator: 'organization_pending_payout_transaction_upserted';
9484
+ readonly event_id: string;
9485
+ readonly timestamp: string;
9486
+ readonly organization: string;
9487
+ readonly organization_pending_payout_transaction: io.flow.v0.models.OrganizationPendingPayoutTransaction;
9488
+ }
9489
+
9538
9490
  interface OrganizationPutForm {
9539
9491
  readonly name?: string;
9540
9492
  readonly environment?: io.flow.v0.enums.Environment;
@@ -9643,12 +9595,6 @@ declare namespace io.flow.v0.models {
9643
9595
  readonly id: string;
9644
9596
  }
9645
9597
 
9646
- interface OrganizationTransactionPayout {
9647
- readonly transaction: io.flow.v0.models.TransactionReference;
9648
- readonly waiting_for?: io.flow.v0.enums.TransactionPayoutPendingReason;
9649
- readonly payout?: io.flow.v0.models.PayoutReference;
9650
- }
9651
-
9652
9598
  interface OrganizationTransactionUpserted {
9653
9599
  readonly discriminator: 'organization_transaction_upserted';
9654
9600
  readonly event_id: string;
@@ -10216,6 +10162,7 @@ declare namespace io.flow.v0.models {
10216
10162
  readonly processor: string;
10217
10163
  readonly operation_identifier?: io.flow.v0.models.PaymentProcessorIdentifier;
10218
10164
  readonly account?: io.flow.v0.models.PaymentProcessorAccount;
10165
+ readonly transaction_details?: io.flow.v0.unions.PaymentProcessorTransactionDetails;
10219
10166
  }
10220
10167
 
10221
10168
  interface PaymentProcessorAccount {
@@ -10240,6 +10187,17 @@ declare namespace io.flow.v0.models {
10240
10187
  readonly processor: string;
10241
10188
  }
10242
10189
 
10190
+ interface PaymentProcessorTransactionDetailsCard {
10191
+ readonly discriminator: 'card';
10192
+ readonly transaction_identifier?: string;
10193
+ readonly method_type?: string;
10194
+ readonly result_status?: string;
10195
+ readonly reason_code?: string;
10196
+ readonly avs_result_code?: string;
10197
+ readonly cvv_result_code?: string;
10198
+ readonly threeds_result_code?: string;
10199
+ }
10200
+
10243
10201
  interface PaymentReference {
10244
10202
  readonly id: string;
10245
10203
  }
@@ -10479,10 +10437,13 @@ declare namespace io.flow.v0.models {
10479
10437
  readonly ends_at?: string;
10480
10438
  }
10481
10439
 
10482
- interface PendingTransaction {
10483
- readonly id: string;
10484
- readonly reason: io.flow.v0.enums.TransactionPayoutPendingReason;
10485
- readonly reason_set_at: string;
10440
+ interface PendingPayoutTransactionReason {
10441
+ readonly code: io.flow.v0.enums.PendingPayoutTransactionReasonCode;
10442
+ readonly created_at: string;
10443
+ }
10444
+
10445
+ interface PendingPayoutTransactionTimeout {
10446
+ readonly created_at: string;
10486
10447
  }
10487
10448
 
10488
10449
  interface PercentMargin {
@@ -12066,9 +12027,9 @@ declare namespace io.flow.v0.models {
12066
12027
  }
12067
12028
 
12068
12029
  interface ShippingLabelHopCostItemizedEstimate {
12069
- readonly units: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelUnits;
12070
- readonly base: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelBase;
12071
- readonly surcharges: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurcharge[];
12030
+ readonly units: io.flow.v0.models.LabelUnits;
12031
+ readonly base: io.flow.v0.models.LabelBase;
12032
+ readonly surcharges: io.flow.v0.models.LabelSurcharge[];
12072
12033
  }
12073
12034
 
12074
12035
  interface ShippingLabelHopSummary {
@@ -12080,6 +12041,7 @@ declare namespace io.flow.v0.models {
12080
12041
  interface ShippingLabelLaneSummary {
12081
12042
  readonly id?: string;
12082
12043
  readonly ratecard: io.flow.v0.models.ShippingLabelRatecardSummary;
12044
+ readonly weight_break?: number;
12083
12045
  }
12084
12046
 
12085
12047
  interface ShippingLabelPackage {
@@ -13323,13 +13285,29 @@ declare namespace io.flow.v0.models {
13323
13285
  readonly country: string;
13324
13286
  }
13325
13287
 
13288
+ interface TransactionMetadataManual {
13289
+ readonly discriminator: 'manual';
13290
+ readonly original: io.flow.v0.models.TransactionMetadataOriginalTransaction;
13291
+ }
13292
+
13293
+ interface TransactionMetadataOriginalTransaction {
13294
+ readonly id: string;
13295
+ }
13296
+
13326
13297
  interface TransactionMetadataShippingLabel {
13327
13298
  readonly discriminator: 'shipping_label';
13328
13299
  readonly request_method?: io.flow.v0.enums.LabelRequestMethod;
13300
+ readonly carrier: io.flow.v0.models.TransactionMetadataShippingLabelCarrier;
13301
+ }
13302
+
13303
+ interface TransactionMetadataShippingLabelCarrier {
13304
+ readonly id: string;
13305
+ readonly tracking_number: string;
13329
13306
  }
13330
13307
 
13331
13308
  interface TransactionMetadataTrueup {
13332
13309
  readonly discriminator: 'trueup';
13310
+ readonly original: io.flow.v0.models.TransactionMetadataOriginalTransaction;
13333
13311
  readonly estimate: io.flow.v0.models.TransactionMetadataTrueupData;
13334
13312
  readonly actual: io.flow.v0.models.TransactionMetadataTrueupData;
13335
13313
  }
@@ -13340,6 +13318,8 @@ declare namespace io.flow.v0.models {
13340
13318
  readonly base: io.flow.v0.models.TrueupLabelBase;
13341
13319
  readonly surcharges: io.flow.v0.models.TrueupLabelSurcharge[];
13342
13320
  readonly total: number;
13321
+ readonly dead?: io.flow.v0.models.DeadWeight;
13322
+ readonly dimensional?: io.flow.v0.models.DimensionalWeight;
13343
13323
  }
13344
13324
 
13345
13325
  interface TransactionNetworkDetailsCard {
@@ -13740,6 +13720,10 @@ declare namespace io.flow.v0.unions {
13740
13720
  | io.flow.v0.models.ChannelPayoutDeleted
13741
13721
  | io.flow.v0.models.OrganizationPayoutUpserted
13742
13722
  | io.flow.v0.models.OrganizationPayoutDeleted
13723
+ | io.flow.v0.models.ChannelPendingPayoutTransactionUpserted
13724
+ | io.flow.v0.models.ChannelPendingPayoutTransactionDeleted
13725
+ | io.flow.v0.models.OrganizationPendingPayoutTransactionUpserted
13726
+ | io.flow.v0.models.OrganizationPendingPayoutTransactionDeleted
13743
13727
  | io.flow.v0.models.AttributeUpserted
13744
13728
  | io.flow.v0.models.AttributeDeleted
13745
13729
  | io.flow.v0.models.AttributeUpsertedV2
@@ -13975,6 +13959,9 @@ declare namespace io.flow.v0.unions {
13975
13959
  type FraudOrderReference =
13976
13960
  | io.flow.v0.models.FraudFlowOrderReference
13977
13961
  | io.flow.v0.models.FraudPaymentRequestReference;
13962
+ type FuelSurchargeRate =
13963
+ | io.flow.v0.models.FuelSurchargePercent
13964
+ | io.flow.v0.models.FuelSurchargeByWeight;
13978
13965
  type GatewayAuthenticationData = io.flow.v0.models.StripeAuthenticationData;
13979
13966
  type GatewayAuthenticationDataForm =
13980
13967
  io.flow.v0.models.StripeAuthenticationDataForm;
@@ -13989,6 +13976,10 @@ declare namespace io.flow.v0.unions {
13989
13976
  | io.flow.v0.models.InventoryFollowEcommercePlatform;
13990
13977
  type KnowYourBusiness = io.flow.v0.models.KnowYourBusinessUsa;
13991
13978
  type KnowYourBusinessForm = io.flow.v0.models.KnowYourBusinessUsaForm;
13979
+ type LabelSurchargeDetail =
13980
+ | io.flow.v0.models.LabelSurchargeDetailFlat
13981
+ | io.flow.v0.models.LabelSurchargeDetailPercentage
13982
+ | io.flow.v0.models.LabelSurchargeDetailPerWeightUnit;
13992
13983
  type LocalizedPrice =
13993
13984
  | io.flow.v0.models.LocalizedItemPrice
13994
13985
  | io.flow.v0.models.LocalizedItemVat
@@ -14101,6 +14092,8 @@ declare namespace io.flow.v0.unions {
14101
14092
  type PaymentOrderReference =
14102
14093
  | io.flow.v0.models.AuthorizationOrderReference
14103
14094
  | io.flow.v0.models.PaymentPaymentRequestReference;
14095
+ type PaymentProcessorTransactionDetails =
14096
+ io.flow.v0.models.PaymentProcessorTransactionDetailsCard;
14104
14097
  type PaymentSource = io.flow.v0.models.CardPaymentSource;
14105
14098
  type PaymentSourceForm = io.flow.v0.models.CardPaymentSourceForm;
14106
14099
  type PayoutStatus =
@@ -14211,7 +14204,8 @@ declare namespace io.flow.v0.unions {
14211
14204
  type TransactionMetadata =
14212
14205
  | io.flow.v0.models.TransactionMetadataShippingLabel
14213
14206
  | io.flow.v0.models.TransactionMetadataChannel
14214
- | io.flow.v0.models.TransactionMetadataTrueup;
14207
+ | io.flow.v0.models.TransactionMetadataTrueup
14208
+ | io.flow.v0.models.TransactionMetadataManual;
14215
14209
  }
14216
14210
 
14217
14211
  export type AbandonedOrderEmailSettings =
@@ -14521,6 +14515,8 @@ export type ChannelCurrency = io.flow.v0.models.ChannelCurrency;
14521
14515
  export type ChannelCurrencyCapability =
14522
14516
  io.flow.v0.enums.ChannelCurrencyCapability;
14523
14517
  export type ChannelCurrencyDeleted = io.flow.v0.models.ChannelCurrencyDeleted;
14518
+ export type ChannelCurrencyPair = io.flow.v0.models.ChannelCurrencyPair;
14519
+ export type ChannelCurrencyRate = io.flow.v0.models.ChannelCurrencyRate;
14524
14520
  export type ChannelCurrencyUpserted = io.flow.v0.models.ChannelCurrencyUpserted;
14525
14521
  export type ChannelDefaultBankAccount =
14526
14522
  io.flow.v0.models.ChannelDefaultBankAccount;
@@ -14540,6 +14536,12 @@ export type ChannelOrganizationUpserted =
14540
14536
  export type ChannelPayout = io.flow.v0.models.ChannelPayout;
14541
14537
  export type ChannelPayoutDeleted = io.flow.v0.models.ChannelPayoutDeleted;
14542
14538
  export type ChannelPayoutUpserted = io.flow.v0.models.ChannelPayoutUpserted;
14539
+ export type ChannelPendingPayoutTransaction =
14540
+ io.flow.v0.models.ChannelPendingPayoutTransaction;
14541
+ export type ChannelPendingPayoutTransactionDeleted =
14542
+ io.flow.v0.models.ChannelPendingPayoutTransactionDeleted;
14543
+ export type ChannelPendingPayoutTransactionUpserted =
14544
+ io.flow.v0.models.ChannelPendingPayoutTransactionUpserted;
14543
14545
  export type ChannelRate = io.flow.v0.models.ChannelRate;
14544
14546
  export type ChannelReference = io.flow.v0.models.ChannelReference;
14545
14547
  export type ChannelStatement = io.flow.v0.models.ChannelStatement;
@@ -14554,8 +14556,6 @@ export type ChannelTransactionDeleted =
14554
14556
  io.flow.v0.models.ChannelTransactionDeleted;
14555
14557
  export type ChannelTransactionDeletedV2 =
14556
14558
  io.flow.v0.models.ChannelTransactionDeletedV2;
14557
- export type ChannelTransactionPayout =
14558
- io.flow.v0.models.ChannelTransactionPayout;
14559
14559
  export type ChannelTransactionUpserted =
14560
14560
  io.flow.v0.models.ChannelTransactionUpserted;
14561
14561
  export type ChannelUpserted = io.flow.v0.models.ChannelUpserted;
@@ -14700,6 +14700,7 @@ export type DatetimeWithTimezone = io.flow.v0.models.DatetimeWithTimezone;
14700
14700
  export type DayOfWeek = io.flow.v0.enums.DayOfWeek;
14701
14701
  export type DdpRatecardFee = io.flow.v0.models.DdpRatecardFee;
14702
14702
  export type DeactivationPutForm = io.flow.v0.models.DeactivationPutForm;
14703
+ export type DeadWeight = io.flow.v0.models.DeadWeight;
14703
14704
  export type DefaultBankAccountForm = io.flow.v0.models.DefaultBankAccountForm;
14704
14705
  export type DeliveredDuty = io.flow.v0.enums.DeliveredDuty;
14705
14706
  export type DeliveredDutyDisplayType =
@@ -14752,6 +14753,7 @@ export type DimensionEstimate = io.flow.v0.models.DimensionEstimate;
14752
14753
  export type DimensionEstimateForm = io.flow.v0.models.DimensionEstimateForm;
14753
14754
  export type DimensionEstimateVersion =
14754
14755
  io.flow.v0.models.DimensionEstimateVersion;
14756
+ export type DimensionalWeight = io.flow.v0.models.DimensionalWeight;
14755
14757
  export type Dimensions = io.flow.v0.models.Dimensions;
14756
14758
  export type DirectAuthorizationForm = io.flow.v0.models.DirectAuthorizationForm;
14757
14759
  export type DirectDebit = io.flow.v0.models.DirectDebit;
@@ -14977,6 +14979,9 @@ export type FtpServer = io.flow.v0.models.FtpServer;
14977
14979
  export type FtpUser = io.flow.v0.models.FtpUser;
14978
14980
  export type FuelSurchargeAmountByWeightServiceFee =
14979
14981
  io.flow.v0.models.FuelSurchargeAmountByWeightServiceFee;
14982
+ export type FuelSurchargeByWeight = io.flow.v0.models.FuelSurchargeByWeight;
14983
+ export type FuelSurchargePercent = io.flow.v0.models.FuelSurchargePercent;
14984
+ export type FuelSurchargeRate = io.flow.v0.unions.FuelSurchargeRate;
14980
14985
  export type FuelSurchargeRatecardFee =
14981
14986
  io.flow.v0.models.FuelSurchargeRatecardFee;
14982
14987
  export type FuelSurchargeServiceFee = io.flow.v0.models.FuelSurchargeServiceFee;
@@ -15162,18 +15167,28 @@ export type KnowYourBusinessForm = io.flow.v0.unions.KnowYourBusinessForm;
15162
15167
  export type KnowYourBusinessUsa = io.flow.v0.models.KnowYourBusinessUsa;
15163
15168
  export type KnowYourBusinessUsaForm = io.flow.v0.models.KnowYourBusinessUsaForm;
15164
15169
  export type KubeHealthcheck = io.flow.v0.models.KubeHealthcheck;
15170
+ export type LabelBase = io.flow.v0.models.LabelBase;
15165
15171
  export type LabelDeletedV2 = io.flow.v0.models.LabelDeletedV2;
15166
15172
  export type LabelFormatDeleted = io.flow.v0.models.LabelFormatDeleted;
15167
15173
  export type LabelFormatUpserted = io.flow.v0.models.LabelFormatUpserted;
15168
15174
  export type LabelOrderSummary = io.flow.v0.models.LabelOrderSummary;
15169
15175
  export type LabelReference = io.flow.v0.models.LabelReference;
15170
15176
  export type LabelRequestMethod = io.flow.v0.enums.LabelRequestMethod;
15177
+ export type LabelSurcharge = io.flow.v0.models.LabelSurcharge;
15178
+ export type LabelSurchargeDetail = io.flow.v0.unions.LabelSurchargeDetail;
15179
+ export type LabelSurchargeDetailFlat =
15180
+ io.flow.v0.models.LabelSurchargeDetailFlat;
15181
+ export type LabelSurchargeDetailPerWeightUnit =
15182
+ io.flow.v0.models.LabelSurchargeDetailPerWeightUnit;
15183
+ export type LabelSurchargeDetailPercentage =
15184
+ io.flow.v0.models.LabelSurchargeDetailPercentage;
15171
15185
  export type LabelTrackingCarrierService =
15172
15186
  io.flow.v0.models.LabelTrackingCarrierService;
15173
15187
  export type LabelTrackingSummary = io.flow.v0.models.LabelTrackingSummary;
15174
15188
  export type LabelTrackingSummaryUpdate =
15175
15189
  io.flow.v0.models.LabelTrackingSummaryUpdate;
15176
15190
  export type LabelTriggerMethod = io.flow.v0.enums.LabelTriggerMethod;
15191
+ export type LabelUnits = io.flow.v0.models.LabelUnits;
15177
15192
  export type LabelUpserted = io.flow.v0.models.LabelUpserted;
15178
15193
  export type LabelUpsertedV2 = io.flow.v0.models.LabelUpsertedV2;
15179
15194
  export type LandedCostItem = io.flow.v0.models.LandedCostItem;
@@ -15514,6 +15529,12 @@ export type OrganizationPayoutDeleted =
15514
15529
  io.flow.v0.models.OrganizationPayoutDeleted;
15515
15530
  export type OrganizationPayoutUpserted =
15516
15531
  io.flow.v0.models.OrganizationPayoutUpserted;
15532
+ export type OrganizationPendingPayoutTransaction =
15533
+ io.flow.v0.models.OrganizationPendingPayoutTransaction;
15534
+ export type OrganizationPendingPayoutTransactionDeleted =
15535
+ io.flow.v0.models.OrganizationPendingPayoutTransactionDeleted;
15536
+ export type OrganizationPendingPayoutTransactionUpserted =
15537
+ io.flow.v0.models.OrganizationPendingPayoutTransactionUpserted;
15517
15538
  export type OrganizationPutForm = io.flow.v0.models.OrganizationPutForm;
15518
15539
  export type OrganizationRatesData = io.flow.v0.models.OrganizationRatesData;
15519
15540
  export type OrganizationRatesPublished =
@@ -15534,8 +15555,6 @@ export type OrganizationTokenV2Reference =
15534
15555
  io.flow.v0.models.OrganizationTokenV2Reference;
15535
15556
  export type OrganizationTransactionDeleted =
15536
15557
  io.flow.v0.models.OrganizationTransactionDeleted;
15537
- export type OrganizationTransactionPayout =
15538
- io.flow.v0.models.OrganizationTransactionPayout;
15539
15558
  export type OrganizationTransactionUpserted =
15540
15559
  io.flow.v0.models.OrganizationTransactionUpserted;
15541
15560
  export type OrganizationType = io.flow.v0.enums.OrganizationType;
@@ -15709,6 +15728,10 @@ export type PaymentProcessorIdentifier =
15709
15728
  io.flow.v0.models.PaymentProcessorIdentifier;
15710
15729
  export type PaymentProcessorReference =
15711
15730
  io.flow.v0.models.PaymentProcessorReference;
15731
+ export type PaymentProcessorTransactionDetails =
15732
+ io.flow.v0.unions.PaymentProcessorTransactionDetails;
15733
+ export type PaymentProcessorTransactionDetailsCard =
15734
+ io.flow.v0.models.PaymentProcessorTransactionDetailsCard;
15712
15735
  export type PaymentReference = io.flow.v0.models.PaymentReference;
15713
15736
  export type PaymentRefund = io.flow.v0.models.PaymentRefund;
15714
15737
  export type PaymentRefundForm = io.flow.v0.models.PaymentRefundForm;
@@ -15764,7 +15787,12 @@ export type PeakSurchargeByWeightServiceFee =
15764
15787
  export type PeakSurchargeRatecardFee =
15765
15788
  io.flow.v0.models.PeakSurchargeRatecardFee;
15766
15789
  export type PeakSurchargeServiceFee = io.flow.v0.models.PeakSurchargeServiceFee;
15767
- export type PendingTransaction = io.flow.v0.models.PendingTransaction;
15790
+ export type PendingPayoutTransactionReason =
15791
+ io.flow.v0.models.PendingPayoutTransactionReason;
15792
+ export type PendingPayoutTransactionReasonCode =
15793
+ io.flow.v0.enums.PendingPayoutTransactionReasonCode;
15794
+ export type PendingPayoutTransactionTimeout =
15795
+ io.flow.v0.models.PendingPayoutTransactionTimeout;
15768
15796
  export type PercentMargin = io.flow.v0.models.PercentMargin;
15769
15797
  export type PermissionAudit = io.flow.v0.models.PermissionAudit;
15770
15798
  export type PermissionCheck = io.flow.v0.models.PermissionCheck;
@@ -16334,16 +16362,20 @@ export type TransactionMetadataChannelCardMetadata =
16334
16362
  io.flow.v0.models.TransactionMetadataChannelCardMetadata;
16335
16363
  export type TransactionMetadataChannelCardMetadataIssuerSummary =
16336
16364
  io.flow.v0.models.TransactionMetadataChannelCardMetadataIssuerSummary;
16365
+ export type TransactionMetadataManual =
16366
+ io.flow.v0.models.TransactionMetadataManual;
16367
+ export type TransactionMetadataOriginalTransaction =
16368
+ io.flow.v0.models.TransactionMetadataOriginalTransaction;
16337
16369
  export type TransactionMetadataShippingLabel =
16338
16370
  io.flow.v0.models.TransactionMetadataShippingLabel;
16371
+ export type TransactionMetadataShippingLabelCarrier =
16372
+ io.flow.v0.models.TransactionMetadataShippingLabelCarrier;
16339
16373
  export type TransactionMetadataTrueup =
16340
16374
  io.flow.v0.models.TransactionMetadataTrueup;
16341
16375
  export type TransactionMetadataTrueupData =
16342
16376
  io.flow.v0.models.TransactionMetadataTrueupData;
16343
16377
  export type TransactionNetworkDetailsCard =
16344
16378
  io.flow.v0.models.TransactionNetworkDetailsCard;
16345
- export type TransactionPayoutPendingReason =
16346
- io.flow.v0.enums.TransactionPayoutPendingReason;
16347
16379
  export type TransactionReference = io.flow.v0.models.TransactionReference;
16348
16380
  export type TransactionSource = io.flow.v0.enums.TransactionSource;
16349
16381
  export type TransactionUpserted = io.flow.v0.models.TransactionUpserted;