@flowio/types 11.19.21 → 11.19.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.
@@ -2128,6 +2128,16 @@ declare namespace io.flow.ratecard.v0.models {
2128
2128
  readonly ratecard_owner?: io.flow.fulfillment.v0.enums.RatecardOwner;
2129
2129
  }
2130
2130
 
2131
+ interface RatecardEstimateV3 {
2132
+ readonly discriminator: 'ratecard_estimate_v3';
2133
+ readonly hops: io.flow.ratecard.v0.models.Hop[];
2134
+ readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
2135
+ readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
2136
+ readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
2137
+ readonly line_items?: io.flow.common.v0.models.LineItemForm[];
2138
+ readonly ratecard: io.flow.ratecard.v0.models.RatecardSummary;
2139
+ }
2140
+
2131
2141
  interface RatecardForm {
2132
2142
  readonly direction: io.flow.label.v0.enums.Direction;
2133
2143
  readonly effective_at: string;
@@ -2265,7 +2275,8 @@ declare namespace io.flow.ratecard.v0.models {
2265
2275
  declare namespace io.flow.ratecard.v0.unions {
2266
2276
  type RatecardEstimate =
2267
2277
  | io.flow.ratecard.v0.models.RatecardEstimateV1
2268
- | io.flow.ratecard.v0.models.RatecardEstimateV2;
2278
+ | io.flow.ratecard.v0.models.RatecardEstimateV2
2279
+ | io.flow.ratecard.v0.models.RatecardEstimateV3;
2269
2280
  type RatecardEstimateForm =
2270
2281
  | io.flow.ratecard.v0.models.RatecardEstimateFormV1
2271
2282
  | io.flow.ratecard.v0.models.RatecardEstimateFormV2;
@@ -5296,6 +5307,12 @@ declare namespace io.flow.label.v0.models {
5296
5307
  readonly shipment_recipient?: io.flow.label.v0.enums.ShipmentRecipient;
5297
5308
  }
5298
5309
 
5310
+ interface FlowShippingLabelRatecardSummary {
5311
+ readonly discriminator: 'flow';
5312
+ readonly id: string;
5313
+ readonly cost: io.flow.common.v0.models.Money;
5314
+ }
5315
+
5299
5316
  interface LabelOrderSummary {
5300
5317
  readonly id: string;
5301
5318
  readonly number: string;
@@ -5314,12 +5331,19 @@ declare namespace io.flow.label.v0.models {
5314
5331
  readonly service?: string;
5315
5332
  }
5316
5333
 
5334
+ interface OrganizationShippingLabelRatecardSummary {
5335
+ readonly discriminator: 'organization';
5336
+ readonly id: string;
5337
+ readonly cost?: io.flow.common.v0.models.Money;
5338
+ }
5339
+
5317
5340
  interface ShippingLabel {
5318
5341
  readonly id: string;
5342
+ readonly ratecard?: io.flow.label.v0.unions.ShippingLabelRatecardSummary;
5319
5343
  readonly attributes: Record<string, string>;
5320
5344
  readonly carrier_tracking_number: string;
5321
5345
  readonly carrier_tracking_number_url: string;
5322
- readonly cost: io.flow.common.v0.models.Price;
5346
+ readonly cost?: io.flow.common.v0.models.Price;
5323
5347
  readonly destination: io.flow.fulfillment.v0.models.ShippingAddress;
5324
5348
  readonly flow_tracking_number: string;
5325
5349
  readonly flow_tracking_number_url: string;
@@ -5420,6 +5444,9 @@ declare namespace io.flow.label.v0.unions {
5420
5444
  type ShippingLabelForm =
5421
5445
  | io.flow.label.v0.models.DetailedShippingLabelForm
5422
5446
  | io.flow.label.v0.models.SummaryShippingLabelForm;
5447
+ type ShippingLabelRatecardSummary =
5448
+ | io.flow.label.v0.models.FlowShippingLabelRatecardSummary
5449
+ | io.flow.label.v0.models.OrganizationShippingLabelRatecardSummary;
5423
5450
  type ShippingNotificationForm =
5424
5451
  | io.flow.label.v0.models.DetailedShippingNotificationForm
5425
5452
  | io.flow.label.v0.models.SinglePackageShippingNotificationForm
@@ -9082,6 +9109,16 @@ declare namespace io.flow.payment.gateway.v0.models {
9082
9109
  readonly currency?: string;
9083
9110
  }
9084
9111
 
9112
+ interface PaymentCaptureOptionAutomaticImmediate {
9113
+ readonly type: 'automatic_immediate';
9114
+ readonly placeholder?: string;
9115
+ }
9116
+
9117
+ interface PaymentCaptureOptionManual {
9118
+ readonly type: 'manual';
9119
+ readonly placeholder?: string;
9120
+ }
9121
+
9085
9122
  interface PaymentCaptureStatus {
9086
9123
  readonly status: io.flow.payment.v0.enums.CaptureStatus;
9087
9124
  readonly reason?: io.flow.payment.v0.enums.CaptureDeclineCode;
@@ -9305,7 +9342,7 @@ declare namespace io.flow.payment.gateway.v0.models {
9305
9342
  readonly reference?: string;
9306
9343
  readonly payment_information: io.flow.payment.gateway.v0.models.PaymentInformation;
9307
9344
  readonly supported_actions: io.flow.payment.gateway.v0.enums.PaymentActionType[];
9308
- readonly capture_delay_hours?: number;
9345
+ readonly payment_capture_option?: io.flow.payment.gateway.v0.unions.PaymentCaptureOption;
9309
9346
  }
9310
9347
 
9311
9348
  interface PaymentRequestForm {
@@ -9319,7 +9356,7 @@ declare namespace io.flow.payment.gateway.v0.models {
9319
9356
  readonly reference?: string;
9320
9357
  readonly payment_method_data?: io.flow.payment.gateway.v0.unions.PaymentMethodData;
9321
9358
  readonly supported_actions?: io.flow.payment.gateway.v0.enums.PaymentActionType[];
9322
- readonly capture_delay_hours?: number;
9359
+ readonly payment_capture_option?: io.flow.payment.gateway.v0.unions.PaymentCaptureOption;
9323
9360
  }
9324
9361
 
9325
9362
  interface PaymentRequestReference {
@@ -9385,6 +9422,9 @@ declare namespace io.flow.payment.gateway.v0.unions {
9385
9422
  type OrderInformation =
9386
9423
  | io.flow.payment.gateway.v0.models.OrderInformationFlow
9387
9424
  | io.flow.payment.gateway.v0.models.OrderInformationDetails;
9425
+ type PaymentCaptureOption =
9426
+ | io.flow.payment.gateway.v0.models.PaymentCaptureOptionAutomaticImmediate
9427
+ | io.flow.payment.gateway.v0.models.PaymentCaptureOptionManual;
9388
9428
  type PaymentMethodCard =
9389
9429
  | io.flow.payment.gateway.v0.models.PaymentMethodCardPciDetails
9390
9430
  | io.flow.payment.gateway.v0.models.PaymentMethodCardToken;
@@ -9622,12 +9662,16 @@ declare namespace io.flow.crypto.v0.models {
9622
9662
  readonly publishable_key: string;
9623
9663
  }
9624
9664
 
9625
- interface ErrorResponse {
9665
+ interface Error {
9626
9666
  readonly type?: io.flow.crypto.v0.enums.ErrorType;
9627
9667
  readonly code?: string;
9628
9668
  readonly param?: string;
9629
9669
  }
9630
9670
 
9671
+ interface ErrorResponse {
9672
+ readonly error?: io.flow.crypto.v0.models.Error;
9673
+ }
9674
+
9631
9675
  interface Payment {
9632
9676
  readonly id: string;
9633
9677
  readonly amount: number;
@@ -10467,6 +10511,9 @@ declare namespace io.flow.harmonization.v0.models {
10467
10511
  readonly duty: io.flow.price.v0.models.Duty;
10468
10512
  readonly tax: io.flow.price.v0.models.Tax;
10469
10513
  readonly tax_applicability?: io.flow.harmonization.v0.enums.TaxApplicability;
10514
+ readonly origin?: string;
10515
+ readonly hs_code?: string;
10516
+ readonly customs_description?: string;
10470
10517
  }
10471
10518
 
10472
10519
  interface Hs10 {
@@ -12390,6 +12437,8 @@ declare namespace io.flow.internal.v0.enums {
12390
12437
  | 'billing_statement_deleted'
12391
12438
  | 'tax_remittance_transaction_upserted'
12392
12439
  | 'tax_remittance_transaction_deleted'
12440
+ | 'channel_transaction_upserted'
12441
+ | 'channel_transaction_deleted'
12393
12442
  | 'account_transactions_export_request'
12394
12443
  | 'account_orders_export_request'
12395
12444
  | 'main_transaction_upserted'
@@ -12534,6 +12583,12 @@ declare namespace io.flow.internal.v0.enums {
12534
12583
  | 'adyen_merchant_account_deleted'
12535
12584
  | 'chargeback_upserted'
12536
12585
  | 'chargeback_deleted'
12586
+ | 'payment_processor_account_upserted'
12587
+ | 'payment_processor_account_deleted'
12588
+ | 'payment_processor_merchant_upserted'
12589
+ | 'payment_processor_merchant_deleted'
12590
+ | 'virtual_card_provider_upserted'
12591
+ | 'virtual_card_provider_deleted'
12537
12592
  | 'paypal_payment_deleted'
12538
12593
  | 'paypal_payment_upserted'
12539
12594
  | 'paypal_execution_deleted'
@@ -12747,7 +12802,12 @@ declare namespace io.flow.internal.v0.enums {
12747
12802
  | 'delivery_option_id';
12748
12803
  type PriceSelector = 'minimum' | 'maximum';
12749
12804
  type PricingIndicatorStatus = 'complete' | 'in_progress';
12750
- type ProcessingTransactionType = 'adjustment' | 'capture' | 'refund';
12805
+ type ProcessingTransactionType =
12806
+ | 'adjustment'
12807
+ | 'capture'
12808
+ | 'refund'
12809
+ | 'fully_subsidized_order'
12810
+ | 'credit_payment';
12751
12811
  type Processor =
12752
12812
  | 'adyen'
12753
12813
  | 'afterpay'
@@ -12992,6 +13052,7 @@ declare namespace io.flow.internal.v0.models {
12992
13052
  readonly name: string;
12993
13053
  readonly ui_reference: string;
12994
13054
  readonly authentication: io.flow.internal.v0.models.AdyenAuthentication;
13055
+ readonly country: string;
12995
13056
  readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus;
12996
13057
  readonly created_at: string;
12997
13058
  readonly updated_at: string;
@@ -13002,6 +13063,7 @@ declare namespace io.flow.internal.v0.models {
13002
13063
  readonly owner: io.flow.internal.v0.enums.Owner;
13003
13064
  readonly name: string;
13004
13065
  readonly ui_reference: string;
13066
+ readonly country: string;
13005
13067
  readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus;
13006
13068
  }
13007
13069
 
@@ -13011,6 +13073,7 @@ declare namespace io.flow.internal.v0.models {
13011
13073
  readonly name: string;
13012
13074
  readonly ui_reference: string;
13013
13075
  readonly authentication: io.flow.internal.v0.models.AdyenAuthenticationForm;
13076
+ readonly country: string;
13014
13077
  readonly status?: io.flow.internal.v0.enums.ProcessorEntityStatus;
13015
13078
  }
13016
13079
 
@@ -13131,6 +13194,7 @@ declare namespace io.flow.internal.v0.models {
13131
13194
  readonly organization_id: string;
13132
13195
  readonly external_id: string;
13133
13196
  readonly processor_account_reference: io.flow.internal.v0.models.ProcessorAccountReference;
13197
+ readonly country: string;
13134
13198
  readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus;
13135
13199
  readonly created_at: string;
13136
13200
  readonly updated_at: string;
@@ -13160,6 +13224,7 @@ declare namespace io.flow.internal.v0.models {
13160
13224
  interface AdyenMerchantModificationForm {
13161
13225
  readonly discriminator: 'adyen_merchant_modification_form';
13162
13226
  readonly external_id: string;
13227
+ readonly country: string;
13163
13228
  readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus;
13164
13229
  }
13165
13230
 
@@ -13167,6 +13232,7 @@ declare namespace io.flow.internal.v0.models {
13167
13232
  readonly discriminator: 'adyen_merchant_put_form';
13168
13233
  readonly organization_id: string;
13169
13234
  readonly external_id: string;
13235
+ readonly country: string;
13170
13236
  readonly status?: io.flow.internal.v0.enums.ProcessorEntityStatus;
13171
13237
  }
13172
13238
 
@@ -13554,6 +13620,7 @@ declare namespace io.flow.internal.v0.models {
13554
13620
  }
13555
13621
 
13556
13622
  interface BillingOrganizationSettings {
13623
+ readonly id: string;
13557
13624
  readonly days_until_posted: number;
13558
13625
  readonly logistics: io.flow.internal.v0.enums.ResponsibleParty;
13559
13626
  readonly include_transaction_created_at: boolean;
@@ -13669,6 +13736,7 @@ declare namespace io.flow.internal.v0.models {
13669
13736
  readonly key: string;
13670
13737
  readonly owner: io.flow.internal.v0.enums.Owner;
13671
13738
  readonly authentication: io.flow.internal.v0.models.BitpayAuthentication;
13739
+ readonly country: string;
13672
13740
  readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus;
13673
13741
  readonly created_at: string;
13674
13742
  readonly updated_at: string;
@@ -13677,6 +13745,7 @@ declare namespace io.flow.internal.v0.models {
13677
13745
  interface BitpayAccountModificationForm {
13678
13746
  readonly discriminator: 'bitpay_account_modification_form';
13679
13747
  readonly owner: io.flow.internal.v0.enums.Owner;
13748
+ readonly country: string;
13680
13749
  readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus;
13681
13750
  }
13682
13751
 
@@ -13684,6 +13753,7 @@ declare namespace io.flow.internal.v0.models {
13684
13753
  readonly discriminator: 'bitpay_account_put_form';
13685
13754
  readonly owner?: io.flow.internal.v0.enums.Owner;
13686
13755
  readonly authentication: io.flow.internal.v0.models.BitpayAuthenticationForm;
13756
+ readonly country: string;
13687
13757
  readonly status?: io.flow.internal.v0.enums.ProcessorEntityStatus;
13688
13758
  }
13689
13759
 
@@ -13987,7 +14057,6 @@ declare namespace io.flow.internal.v0.models {
13987
14057
  interface ChannelCurrencySetting {
13988
14058
  readonly id: string;
13989
14059
  readonly channel_id: string;
13990
- readonly base: string;
13991
14060
  readonly target: string;
13992
14061
  readonly margin: number;
13993
14062
  readonly rate_lock: io.flow.common.v0.models.Duration;
@@ -14002,7 +14071,6 @@ declare namespace io.flow.internal.v0.models {
14002
14071
 
14003
14072
  interface ChannelCurrencySettingForm {
14004
14073
  readonly channel_id: string;
14005
- readonly base: string;
14006
14074
  readonly target: string;
14007
14075
  readonly margin: number;
14008
14076
  readonly rate_lock: io.flow.common.v0.models.Duration;
@@ -14024,6 +14092,37 @@ declare namespace io.flow.internal.v0.models {
14024
14092
  readonly amount: number;
14025
14093
  }
14026
14094
 
14095
+ interface ChannelTransaction {
14096
+ readonly id: string;
14097
+ readonly organization_id: string;
14098
+ readonly processing_transaction_id: string;
14099
+ readonly order_number: string;
14100
+ readonly channel_currency: string;
14101
+ readonly mor_convenience_fee: number;
14102
+ readonly flow_fx_fee_on_mor: number;
14103
+ readonly flow_processing_fee: number;
14104
+ readonly flow_fraud_fee: number;
14105
+ readonly service_fee: number;
14106
+ readonly logistics_fee: number;
14107
+ readonly total: number;
14108
+ }
14109
+
14110
+ interface ChannelTransactionDeleted {
14111
+ readonly discriminator: 'channel_transaction_deleted';
14112
+ readonly event_id: string;
14113
+ readonly timestamp: string;
14114
+ readonly organization: string;
14115
+ readonly channel_transaction: io.flow.internal.v0.models.ChannelTransaction;
14116
+ }
14117
+
14118
+ interface ChannelTransactionUpserted {
14119
+ readonly discriminator: 'channel_transaction_upserted';
14120
+ readonly event_id: string;
14121
+ readonly timestamp: string;
14122
+ readonly organization: string;
14123
+ readonly channel_transaction: io.flow.internal.v0.models.ChannelTransaction;
14124
+ }
14125
+
14027
14126
  interface Chargeback {
14028
14127
  readonly id: string;
14029
14128
  readonly key: string;
@@ -16309,6 +16408,7 @@ declare namespace io.flow.internal.v0.models {
16309
16408
  readonly key: string;
16310
16409
  readonly owner: io.flow.internal.v0.enums.Owner;
16311
16410
  readonly authentication: io.flow.internal.v0.models.CryptoAuthentication;
16411
+ readonly country: string;
16312
16412
  readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus;
16313
16413
  readonly created_at: string;
16314
16414
  readonly updated_at: string;
@@ -16317,6 +16417,7 @@ declare namespace io.flow.internal.v0.models {
16317
16417
  interface CryptoAccountModificationForm {
16318
16418
  readonly discriminator: 'crypto_account_modification_form';
16319
16419
  readonly owner: io.flow.internal.v0.enums.Owner;
16420
+ readonly country: string;
16320
16421
  readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus;
16321
16422
  }
16322
16423
 
@@ -16324,6 +16425,7 @@ declare namespace io.flow.internal.v0.models {
16324
16425
  readonly discriminator: 'crypto_account_put_form';
16325
16426
  readonly owner?: io.flow.internal.v0.enums.Owner;
16326
16427
  readonly authentication: io.flow.internal.v0.models.CryptoAuthenticationForm;
16428
+ readonly country: string;
16327
16429
  readonly status?: io.flow.internal.v0.enums.ProcessorEntityStatus;
16328
16430
  }
16329
16431
 
@@ -17257,9 +17359,7 @@ declare namespace io.flow.internal.v0.models {
17257
17359
  interface Fees {
17258
17360
  readonly processing: io.flow.internal.v0.models.Fee;
17259
17361
  readonly rate_lock: io.flow.internal.v0.models.Fee;
17260
- readonly fx_conversion?: io.flow.internal.v0.models.Fee;
17261
17362
  readonly mor: io.flow.internal.v0.models.Fee;
17262
- readonly fx: io.flow.internal.v0.models.Fee;
17263
17363
  }
17264
17364
 
17265
17365
  interface FiservAccount {
@@ -17270,6 +17370,7 @@ declare namespace io.flow.internal.v0.models {
17270
17370
  readonly owner: io.flow.internal.v0.enums.Owner;
17271
17371
  readonly region: string;
17272
17372
  readonly authentication: io.flow.internal.v0.models.FiservAuthentication;
17373
+ readonly country: string;
17273
17374
  readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus;
17274
17375
  readonly created_at: string;
17275
17376
  readonly updated_at: string;
@@ -17279,6 +17380,7 @@ declare namespace io.flow.internal.v0.models {
17279
17380
  readonly discriminator: 'fiserv_account_modification_form';
17280
17381
  readonly owner: io.flow.internal.v0.enums.Owner;
17281
17382
  readonly region: string;
17383
+ readonly country: string;
17282
17384
  readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus;
17283
17385
  }
17284
17386
 
@@ -17287,6 +17389,7 @@ declare namespace io.flow.internal.v0.models {
17287
17389
  readonly owner?: io.flow.internal.v0.enums.Owner;
17288
17390
  readonly region: string;
17289
17391
  readonly authentication: io.flow.internal.v0.models.FiservAuthenticationForm;
17392
+ readonly country: string;
17290
17393
  readonly status?: io.flow.internal.v0.enums.ProcessorEntityStatus;
17291
17394
  }
17292
17395
 
@@ -17576,11 +17679,23 @@ declare namespace io.flow.internal.v0.models {
17576
17679
  interface FxRevenueRecognition {
17577
17680
  readonly id: string;
17578
17681
  readonly organization: io.flow.internal.v0.models.FxRevenueRecognitionOrganization;
17682
+ readonly account: io.flow.internal.v0.models.FxRevenueRecognitionAccount;
17579
17683
  readonly fx: io.flow.internal.v0.models.FxFee;
17580
17684
  readonly spot_rate: io.flow.internal.v0.models.FxRevenueRecognitionRate;
17581
17685
  readonly created_at: string;
17582
- readonly order?: io.flow.internal.v0.models.FxRevenueRecognitionOrder;
17686
+ readonly order: io.flow.internal.v0.models.FxRevenueRecognitionOrder;
17687
+ readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
17583
17688
  readonly source: io.flow.internal.v0.models.FxRevenueRecognitionSource;
17689
+ readonly reporting_date?: string;
17690
+ }
17691
+
17692
+ interface FxRevenueRecognitionAccount {
17693
+ readonly value: io.flow.common.v0.models.Money;
17694
+ readonly spot_rate: io.flow.internal.v0.models.FxRevenueRecognitionAccountRate;
17695
+ }
17696
+
17697
+ interface FxRevenueRecognitionAccountRate {
17698
+ readonly value: number;
17584
17699
  }
17585
17700
 
17586
17701
  interface FxRevenueRecognitionDeleted {
@@ -17592,6 +17707,7 @@ declare namespace io.flow.internal.v0.models {
17592
17707
 
17593
17708
  interface FxRevenueRecognitionOrder {
17594
17709
  readonly number: string;
17710
+ readonly submitted_at: string;
17595
17711
  }
17596
17712
 
17597
17713
  interface FxRevenueRecognitionOrganization {
@@ -17606,6 +17722,7 @@ declare namespace io.flow.internal.v0.models {
17606
17722
 
17607
17723
  interface FxRevenueRecognitionSource {
17608
17724
  readonly id: string;
17725
+ readonly local: io.flow.common.v0.models.Money;
17609
17726
  readonly transaction_created_at: string;
17610
17727
  }
17611
17728
 
@@ -17686,6 +17803,12 @@ declare namespace io.flow.internal.v0.models {
17686
17803
  readonly filename?: string;
17687
17804
  }
17688
17805
 
17806
+ interface HarmonizationColumnSetting {
17807
+ readonly column: string;
17808
+ readonly position: number;
17809
+ readonly displayed: boolean;
17810
+ }
17811
+
17689
17812
  interface HarmonizationItemClassification {
17690
17813
  readonly id: string;
17691
17814
  readonly organization_id: string;
@@ -17733,6 +17856,11 @@ declare namespace io.flow.internal.v0.models {
17733
17856
  readonly filename?: string;
17734
17857
  }
17735
17858
 
17859
+ interface HarmonizationUnclassifiedStatistics {
17860
+ readonly organization: io.flow.common.v0.models.OrganizationSummary;
17861
+ readonly statistics: io.flow.internal.v0.models.UnclassifiedProductStatistic[];
17862
+ }
17863
+
17736
17864
  interface HarmonizeFullyRequestV2 {
17737
17865
  readonly discriminator: 'harmonize_fully_request_v2';
17738
17866
  readonly event_id: string;
@@ -19894,7 +20022,6 @@ declare namespace io.flow.internal.v0.models {
19894
20022
  interface OrganizationCurrencySetting {
19895
20023
  readonly id: string;
19896
20024
  readonly organization: string;
19897
- readonly base: string;
19898
20025
  readonly target: string;
19899
20026
  readonly margin: number;
19900
20027
  readonly rate_lock: io.flow.common.v0.models.Duration;
@@ -19909,7 +20036,6 @@ declare namespace io.flow.internal.v0.models {
19909
20036
 
19910
20037
  interface OrganizationCurrencySettingForm {
19911
20038
  readonly organization: string;
19912
- readonly base: string;
19913
20039
  readonly target: string;
19914
20040
  readonly margin: number;
19915
20041
  readonly rate_lock: io.flow.common.v0.models.Duration;
@@ -20060,6 +20186,38 @@ declare namespace io.flow.internal.v0.models {
20060
20186
  readonly merchant_category_code?: number;
20061
20187
  }
20062
20188
 
20189
+ interface PaymentProcessorAccountDeleted {
20190
+ readonly discriminator: 'payment_processor_account_deleted';
20191
+ readonly event_id: string;
20192
+ readonly timestamp: string;
20193
+ readonly id: string;
20194
+ readonly account: io.flow.internal.v0.unions.ProcessorAccount;
20195
+ }
20196
+
20197
+ interface PaymentProcessorAccountUpserted {
20198
+ readonly discriminator: 'payment_processor_account_upserted';
20199
+ readonly event_id: string;
20200
+ readonly timestamp: string;
20201
+ readonly id: string;
20202
+ readonly account: io.flow.internal.v0.unions.ProcessorAccount;
20203
+ }
20204
+
20205
+ interface PaymentProcessorMerchantDeleted {
20206
+ readonly discriminator: 'payment_processor_merchant_deleted';
20207
+ readonly event_id: string;
20208
+ readonly timestamp: string;
20209
+ readonly id: string;
20210
+ readonly merchant: io.flow.internal.v0.unions.ProcessorMerchant;
20211
+ }
20212
+
20213
+ interface PaymentProcessorMerchantUpserted {
20214
+ readonly discriminator: 'payment_processor_merchant_upserted';
20215
+ readonly event_id: string;
20216
+ readonly timestamp: string;
20217
+ readonly id: string;
20218
+ readonly merchant: io.flow.internal.v0.unions.ProcessorMerchant;
20219
+ }
20220
+
20063
20221
  interface PaymentSummaryV2 {
20064
20222
  readonly discriminator: 'payment_summary_v2';
20065
20223
  readonly id: string;
@@ -20449,6 +20607,7 @@ declare namespace io.flow.internal.v0.models {
20449
20607
  readonly organization_id: string;
20450
20608
  readonly key: string;
20451
20609
  readonly processor: io.flow.internal.v0.enums.Processor;
20610
+ readonly country: string;
20452
20611
  readonly owner: io.flow.internal.v0.enums.Owner;
20453
20612
  readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus;
20454
20613
  }
@@ -20462,6 +20621,7 @@ declare namespace io.flow.internal.v0.models {
20462
20621
  readonly organization_id: string;
20463
20622
  readonly key: string;
20464
20623
  readonly processor: io.flow.internal.v0.enums.Processor;
20624
+ readonly country: string;
20465
20625
  readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus;
20466
20626
  }
20467
20627
 
@@ -20502,6 +20662,10 @@ declare namespace io.flow.internal.v0.models {
20502
20662
  readonly next_product?: io.flow.internal.v0.models.ClassificationProductId;
20503
20663
  }
20504
20664
 
20665
+ interface ProductDetailSettingsForm {
20666
+ readonly keys: string[];
20667
+ }
20668
+
20505
20669
  interface ProductHarmonization {
20506
20670
  readonly product_labels: io.flow.internal.v0.models.ProductLabels;
20507
20671
  readonly customs_description: string;
@@ -20521,6 +20685,10 @@ declare namespace io.flow.internal.v0.models {
20521
20685
  readonly construction?: io.flow.internal.v0.models.AttributeLabel;
20522
20686
  }
20523
20687
 
20688
+ interface ProductListSettingsForm {
20689
+ readonly column_settings: io.flow.internal.v0.models.HarmonizationColumnSetting[];
20690
+ }
20691
+
20524
20692
  interface QuoteRequest {
20525
20693
  readonly id: string;
20526
20694
  readonly request_type: io.flow.internal.v0.enums.QuoteRequestType;
@@ -22068,6 +22236,11 @@ declare namespace io.flow.internal.v0.models {
22068
22236
  readonly description: string;
22069
22237
  }
22070
22238
 
22239
+ interface UnclassifiedProductStatistic {
22240
+ readonly status: io.flow.internal.v0.enums.UnclassifiedProductStatus;
22241
+ readonly number_of_items: number;
22242
+ }
22243
+
22071
22244
  interface UnclassifiedProductsPurgeRequest {
22072
22245
  readonly num_deleted_products: Record<string, number>;
22073
22246
  }
@@ -22144,6 +22317,14 @@ declare namespace io.flow.internal.v0.models {
22144
22317
  readonly token: string;
22145
22318
  }
22146
22319
 
22320
+ interface UserProductDetailSettings {
22321
+ readonly keys: string[];
22322
+ }
22323
+
22324
+ interface UserProductListSettings {
22325
+ readonly column_settings: io.flow.internal.v0.models.HarmonizationColumnSetting[];
22326
+ }
22327
+
22147
22328
  interface UserStatusForm {
22148
22329
  readonly status: io.flow.common.v0.enums.UserStatus;
22149
22330
  }
@@ -22214,6 +22395,31 @@ declare namespace io.flow.internal.v0.models {
22214
22395
  readonly address?: string;
22215
22396
  }
22216
22397
 
22398
+ interface VirtualCardProvider {
22399
+ readonly id: string;
22400
+ readonly organization_id: string;
22401
+ readonly provider: string;
22402
+ readonly attributes?: Record<string, string>;
22403
+ readonly created_at: string;
22404
+ readonly updated_at: string;
22405
+ }
22406
+
22407
+ interface VirtualCardProviderDeleted {
22408
+ readonly discriminator: 'virtual_card_provider_deleted';
22409
+ readonly event_id: string;
22410
+ readonly timestamp: string;
22411
+ readonly id: string;
22412
+ readonly provider: io.flow.internal.v0.models.VirtualCardProvider;
22413
+ }
22414
+
22415
+ interface VirtualCardProviderUpserted {
22416
+ readonly discriminator: 'virtual_card_provider_upserted';
22417
+ readonly event_id: string;
22418
+ readonly timestamp: string;
22419
+ readonly id: string;
22420
+ readonly provider: io.flow.internal.v0.models.VirtualCardProvider;
22421
+ }
22422
+
22217
22423
  interface VirtualCardTransaction {
22218
22424
  readonly discriminator: 'virtual_card_transaction';
22219
22425
  readonly id: string;
@@ -22622,6 +22828,8 @@ declare namespace io.flow.internal.v0.unions {
22622
22828
  | io.flow.internal.v0.models.BillingStatementDeleted
22623
22829
  | io.flow.internal.v0.models.TaxRemittanceTransactionUpserted
22624
22830
  | io.flow.internal.v0.models.TaxRemittanceTransactionDeleted
22831
+ | io.flow.internal.v0.models.ChannelTransactionUpserted
22832
+ | io.flow.internal.v0.models.ChannelTransactionDeleted
22625
22833
  | io.flow.internal.v0.models.AccountTransactionsExportRequest
22626
22834
  | io.flow.internal.v0.models.AccountOrdersExportRequest
22627
22835
  | io.flow.internal.v0.models.MainTransactionUpserted
@@ -22766,6 +22974,12 @@ declare namespace io.flow.internal.v0.unions {
22766
22974
  | io.flow.internal.v0.models.AdyenMerchantAccountDeleted
22767
22975
  | io.flow.internal.v0.models.ChargebackUpserted
22768
22976
  | io.flow.internal.v0.models.ChargebackDeleted
22977
+ | io.flow.internal.v0.models.PaymentProcessorAccountUpserted
22978
+ | io.flow.internal.v0.models.PaymentProcessorAccountDeleted
22979
+ | io.flow.internal.v0.models.PaymentProcessorMerchantUpserted
22980
+ | io.flow.internal.v0.models.PaymentProcessorMerchantDeleted
22981
+ | io.flow.internal.v0.models.VirtualCardProviderUpserted
22982
+ | io.flow.internal.v0.models.VirtualCardProviderDeleted
22769
22983
  | io.flow.internal.v0.models.PaypalPaymentDeleted
22770
22984
  | io.flow.internal.v0.models.PaypalPaymentUpserted
22771
22985
  | io.flow.internal.v0.models.PaypalExecutionDeleted
@@ -23220,6 +23434,9 @@ export type ChannelCurrencySettingForm = io.flow.internal.v0.models.ChannelCurre
23220
23434
  export type ChannelCurrencySettingUpserted = io.flow.internal.v0.models.ChannelCurrencySettingUpserted;
23221
23435
  export type ChannelServiceFee = io.flow.internal.v0.models.ChannelServiceFee;
23222
23436
  export type ChannelServiceFeeTier = io.flow.internal.v0.models.ChannelServiceFeeTier;
23437
+ export type ChannelTransaction = io.flow.internal.v0.models.ChannelTransaction;
23438
+ export type ChannelTransactionDeleted = io.flow.internal.v0.models.ChannelTransactionDeleted;
23439
+ export type ChannelTransactionUpserted = io.flow.internal.v0.models.ChannelTransactionUpserted;
23223
23440
  export type Chargeback = io.flow.internal.v0.models.Chargeback;
23224
23441
  export type ChargebackDeleted = io.flow.internal.v0.models.ChargebackDeleted;
23225
23442
  export type ChargebackPaymentStatus = io.flow.internal.v0.enums.ChargebackPaymentStatus;
@@ -23984,6 +24201,8 @@ export type FulfillmentInternalExperienceReference = io.flow.internal.v0.models.
23984
24201
  export type FulfillmentShipmentTracking = io.flow.internal.v0.models.FulfillmentShipmentTracking;
23985
24202
  export type FxFee = io.flow.internal.v0.models.FxFee;
23986
24203
  export type FxRevenueRecognition = io.flow.internal.v0.models.FxRevenueRecognition;
24204
+ export type FxRevenueRecognitionAccount = io.flow.internal.v0.models.FxRevenueRecognitionAccount;
24205
+ export type FxRevenueRecognitionAccountRate = io.flow.internal.v0.models.FxRevenueRecognitionAccountRate;
23987
24206
  export type FxRevenueRecognitionDeleted = io.flow.internal.v0.models.FxRevenueRecognitionDeleted;
23988
24207
  export type FxRevenueRecognitionOrder = io.flow.internal.v0.models.FxRevenueRecognitionOrder;
23989
24208
  export type FxRevenueRecognitionOrganization = io.flow.internal.v0.models.FxRevenueRecognitionOrganization;
@@ -24003,12 +24222,14 @@ export type GoogleShoppingAccountParameters = io.flow.internal.v0.models.GoogleS
24003
24222
  export type GoogleShoppingSetting = io.flow.internal.v0.models.GoogleShoppingSetting;
24004
24223
  export type GoogleTagManager = io.flow.internal.v0.models.GoogleTagManager;
24005
24224
  export type HarmonizationCodesImport = io.flow.internal.v0.models.HarmonizationCodesImport;
24225
+ export type HarmonizationColumnSetting = io.flow.internal.v0.models.HarmonizationColumnSetting;
24006
24226
  export type HarmonizationItemClassification = io.flow.internal.v0.models.HarmonizationItemClassification;
24007
24227
  export type HarmonizationItemClassificationDeleted = io.flow.internal.v0.models.HarmonizationItemClassificationDeleted;
24008
24228
  export type HarmonizationItemClassificationUpserted = io.flow.internal.v0.models.HarmonizationItemClassificationUpserted;
24009
24229
  export type HarmonizationItemSummary = io.flow.internal.v0.models.HarmonizationItemSummary;
24010
24230
  export type HarmonizationMlModelSummary = io.flow.internal.v0.models.HarmonizationMlModelSummary;
24011
24231
  export type HarmonizationPhraseSuggestionRequestImport = io.flow.internal.v0.models.HarmonizationPhraseSuggestionRequestImport;
24232
+ export type HarmonizationUnclassifiedStatistics = io.flow.internal.v0.models.HarmonizationUnclassifiedStatistics;
24012
24233
  export type HarmonizeFullyRequestV2 = io.flow.internal.v0.models.HarmonizeFullyRequestV2;
24013
24234
  export type HarmonizedItemsHs6Export = io.flow.internal.v0.models.HarmonizedItemsHs6Export;
24014
24235
  export type HeapAddressPredictionClick = io.flow.internal.v0.models.HeapAddressPredictionClick;
@@ -24333,6 +24554,10 @@ export type PassphraseForm = io.flow.internal.v0.models.PassphraseForm;
24333
24554
  export type PassphraseSummary = io.flow.internal.v0.models.PassphraseSummary;
24334
24555
  export type PaymentOrganizationSettings = io.flow.internal.v0.models.PaymentOrganizationSettings;
24335
24556
  export type PaymentOrganizationSettingsPutForm = io.flow.internal.v0.models.PaymentOrganizationSettingsPutForm;
24557
+ export type PaymentProcessorAccountDeleted = io.flow.internal.v0.models.PaymentProcessorAccountDeleted;
24558
+ export type PaymentProcessorAccountUpserted = io.flow.internal.v0.models.PaymentProcessorAccountUpserted;
24559
+ export type PaymentProcessorMerchantDeleted = io.flow.internal.v0.models.PaymentProcessorMerchantDeleted;
24560
+ export type PaymentProcessorMerchantUpserted = io.flow.internal.v0.models.PaymentProcessorMerchantUpserted;
24336
24561
  export type PaymentRedirect = io.flow.internal.v0.unions.PaymentRedirect;
24337
24562
  export type PaymentSummaryDetails = io.flow.internal.v0.unions.PaymentSummaryDetails;
24338
24563
  export type PaymentSummaryStatus = io.flow.internal.v0.enums.PaymentSummaryStatus;
@@ -24404,9 +24629,11 @@ export type ProductClassification = io.flow.internal.v0.models.ProductClassifica
24404
24629
  export type ProductClassificationForm = io.flow.internal.v0.models.ProductClassificationForm;
24405
24630
  export type ProductClassificationJudgementForm = io.flow.internal.v0.models.ProductClassificationJudgementForm;
24406
24631
  export type ProductClassificationResult = io.flow.internal.v0.models.ProductClassificationResult;
24632
+ export type ProductDetailSettingsForm = io.flow.internal.v0.models.ProductDetailSettingsForm;
24407
24633
  export type ProductHarmonization = io.flow.internal.v0.models.ProductHarmonization;
24408
24634
  export type ProductHarmonizationForm = io.flow.internal.v0.models.ProductHarmonizationForm;
24409
24635
  export type ProductLabels = io.flow.internal.v0.models.ProductLabels;
24636
+ export type ProductListSettingsForm = io.flow.internal.v0.models.ProductListSettingsForm;
24410
24637
  export type PromptAction = io.flow.internal.v0.enums.PromptAction;
24411
24638
  export type PromptCheckoutDisplayPosition = io.flow.internal.v0.enums.PromptCheckoutDisplayPosition;
24412
24639
  export type PromptOptions = io.flow.internal.v0.enums.PromptOptions;
@@ -24669,6 +24896,7 @@ export type TransferTransaction = io.flow.internal.v0.models.TransferTransaction
24669
24896
  export type TransferTransactionDeleted = io.flow.internal.v0.models.TransferTransactionDeleted;
24670
24897
  export type TransferTransactionUpserted = io.flow.internal.v0.models.TransferTransactionUpserted;
24671
24898
  export type Tribe = io.flow.internal.v0.models.Tribe;
24899
+ export type UnclassifiedProductStatistic = io.flow.internal.v0.models.UnclassifiedProductStatistic;
24672
24900
  export type UnclassifiedProductStatus = io.flow.internal.v0.enums.UnclassifiedProductStatus;
24673
24901
  export type UnclassifiedProductsPurgeRequest = io.flow.internal.v0.models.UnclassifiedProductsPurgeRequest;
24674
24902
  export type UnclassifiedProductsSummary = io.flow.internal.v0.models.UnclassifiedProductsSummary;
@@ -24681,6 +24909,8 @@ export type UpsRegistration = io.flow.internal.v0.models.UpsRegistration;
24681
24909
  export type UpsRegistrationForm = io.flow.internal.v0.models.UpsRegistrationForm;
24682
24910
  export type UserDeletedV2 = io.flow.internal.v0.models.UserDeletedV2;
24683
24911
  export type UserOneTimeToken = io.flow.internal.v0.models.UserOneTimeToken;
24912
+ export type UserProductDetailSettings = io.flow.internal.v0.models.UserProductDetailSettings;
24913
+ export type UserProductListSettings = io.flow.internal.v0.models.UserProductListSettings;
24684
24914
  export type UserStatusForm = io.flow.internal.v0.models.UserStatusForm;
24685
24915
  export type UserStatusRule = io.flow.internal.v0.models.UserStatusRule;
24686
24916
  export type UserStatusRuleForm = io.flow.internal.v0.models.UserStatusRuleForm;
@@ -24693,6 +24923,9 @@ export type ValidationRule = io.flow.internal.v0.unions.ValidationRule;
24693
24923
  export type Variant = io.flow.internal.v0.unions.Variant;
24694
24924
  export type VariantForm = io.flow.internal.v0.unions.VariantForm;
24695
24925
  export type ViesResult = io.flow.internal.v0.models.ViesResult;
24926
+ export type VirtualCardProvider = io.flow.internal.v0.models.VirtualCardProvider;
24927
+ export type VirtualCardProviderDeleted = io.flow.internal.v0.models.VirtualCardProviderDeleted;
24928
+ export type VirtualCardProviderUpserted = io.flow.internal.v0.models.VirtualCardProviderUpserted;
24696
24929
  export type VirtualCardTransaction = io.flow.internal.v0.models.VirtualCardTransaction;
24697
24930
  export type WasteElectricalAndElectronicEquipmentComplianceData = io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceData;
24698
24931
  export type WasteElectricalAndElectronicEquipmentComplianceForm = io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceForm;