@flowio/api-internal-prop-types 9.22.0 → 9.22.2

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.
@@ -2158,28 +2158,6 @@ declare namespace io.flow.tracking.v0.models {
2158
2158
  }
2159
2159
  }
2160
2160
 
2161
- declare namespace io.flow.invoice.v0.enums {
2162
- type PaymentTerm = 'net7' | 'net15' | 'net30';
2163
- }
2164
-
2165
- declare namespace io.flow.invoice.v0.models {
2166
- interface Invoice {
2167
- readonly 'id': string;
2168
- readonly 'number': string;
2169
- readonly 'date': string;
2170
- readonly 'terms': io.flow.invoice.v0.enums.PaymentTerm;
2171
- readonly 'due_date': string;
2172
- readonly 'lines': io.flow.invoice.v0.models.InvoiceLine[];
2173
- readonly 'total': io.flow.common.v0.models.Price;
2174
- }
2175
-
2176
- interface InvoiceLine {
2177
- readonly 'id': string;
2178
- readonly 'description': string;
2179
- readonly 'value': io.flow.common.v0.models.Price;
2180
- }
2181
- }
2182
-
2183
2161
  declare namespace io.flow.token.internal.v0.models {
2184
2162
  interface ChannelTokenForm {
2185
2163
  readonly 'channel_id': string;
@@ -3159,6 +3137,19 @@ declare namespace io.flow.payment.v0.models {
3159
3137
  readonly 'country'?: string;
3160
3138
  }
3161
3139
 
3140
+ interface KlarnaPaymentMethodCategory {
3141
+ readonly 'id': string;
3142
+ readonly 'name'?: string;
3143
+ readonly 'standard_asset_url'?: string;
3144
+ readonly 'descriptive_asset_url'?: string;
3145
+ }
3146
+
3147
+ interface KlarnaSdkAuthorizationResultActionDetails {
3148
+ readonly 'discriminator': 'klarna_sdk_authorization_result_action_details';
3149
+ readonly 'client_token': string;
3150
+ readonly 'payment_method_categories': io.flow.payment.v0.models.KlarnaPaymentMethodCategory[];
3151
+ }
3152
+
3162
3153
  interface MerchantOfRecordAuthorizationForm {
3163
3154
  readonly 'discriminator': 'merchant_of_record_authorization_form';
3164
3155
  readonly 'token': string;
@@ -3575,7 +3566,7 @@ declare namespace io.flow.payment.v0.unions {
3575
3566
  type AuthorizationForm = (io.flow.payment.v0.models.AuthorizationCopyForm | io.flow.payment.v0.models.DirectAuthorizationForm | io.flow.payment.v0.models.MerchantOfRecordAuthorizationForm | io.flow.payment.v0.models.PaypalAuthorizationForm | io.flow.payment.v0.models.RedirectAuthorizationForm | io.flow.payment.v0.models.InlineAuthorizationForm | io.flow.payment.v0.models.AchAuthorizationForm | io.flow.payment.v0.models.CardPaymentSourceAuthorizationForm | io.flow.payment.v0.models.OnlinePaymentAuthorizationForm);
3576
3567
  type AuthorizationPayloadParameters = (io.flow.payment.v0.models.GooglePayAuthorizationPayload | io.flow.payment.v0.models.ApplePayMerchantValidationPayload);
3577
3568
  type AuthorizationResultAction = (io.flow.payment.v0.models.AuthorizationResultActionGet | io.flow.payment.v0.models.AuthorizationResultActionPost | io.flow.payment.v0.models.AuthorizationResultActionWait | io.flow.payment.v0.models.AuthorizationResultActionNative);
3578
- type AuthorizationResultActionDetails = (io.flow.payment.v0.models.AdyenNativeActionDetails | io.flow.payment.v0.models.StripeAuthorizationResultActionDetails | io.flow.payment.v0.models.ThreedsIdentifyActionDetails | io.flow.payment.v0.models.ThreedsChallengeActionDetails);
3569
+ type AuthorizationResultActionDetails = (io.flow.payment.v0.models.AdyenNativeActionDetails | io.flow.payment.v0.models.StripeAuthorizationResultActionDetails | io.flow.payment.v0.models.ThreedsIdentifyActionDetails | io.flow.payment.v0.models.ThreedsChallengeActionDetails | io.flow.payment.v0.models.KlarnaSdkAuthorizationResultActionDetails);
3579
3570
  type BrowserActionConfiguration = (io.flow.payment.v0.models.CardBrowserActionConfiguration);
3580
3571
  type ConfirmationDetails = (io.flow.payment.v0.models.DirectDebit);
3581
3572
  type ExpandableCard = (io.flow.payment.v0.models.Card | io.flow.payment.v0.models.CardReference | io.flow.payment.v0.models.CardSummary);
@@ -3637,6 +3628,8 @@ declare namespace io.flow.stripe.v0.enums {
3637
3628
  type DeclineCode = 'approve_with_id' | 'call_issuer' | 'card_not_supported' | 'card_velocity_exceeded' | 'currency_not_supported' | 'do_not_honor' | 'do_not_try_again' | 'duplicate_transaction' | 'expired_card' | 'fraudulent' | 'generic_decline' | 'incorrect_number' | 'incorrect_cvc' | 'incorrect_pin' | 'incorrect_zip' | 'insufficient_funds' | 'invalid_account' | 'invalid_amount' | 'invalid_cvc' | 'invalid_expiry_year' | 'invalid_number' | 'invalid_pin' | 'issuer_not_available' | 'lost_card' | 'new_account_information_available' | 'no_action_taken' | 'not_permitted' | 'pickup_card' | 'pin_try_exceeded' | 'processing_error' | 'reenter_transaction' | 'restricted_card' | 'revocation_of_all_authorizations' | 'revocation_of_authorization' | 'security_violation' | 'service_not_allowed' | 'stolen_card' | 'stop_payment_order' | 'testmode_decline' | 'transaction_not_allowed' | 'try_again_later' | 'withdrawal_count_limit_exceeded';
3638
3629
  type ErrorType = 'api_connection_error' | 'api_error' | 'authentication_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error' | 'rate_limit_error' | 'validation_error';
3639
3630
  type EventType = 'charge.captured' | 'charge.failed' | 'charge.pending' | 'charge.refunded' | 'charge.refund.updated' | 'charge.succeeded' | 'charge.updated' | 'payment_intent.amount_capturable_updated' | 'payment_intent.payment_failed' | 'payment_intent.succeeded' | 'source.canceled' | 'source.chargeable' | 'source.failed';
3631
+ type KlarnaPaymentMethodCategoryType = 'direct_bank_transfer' | 'direct_debit' | 'pay_later' | 'pay_now' | 'pay_over_time';
3632
+ type KlarnaProduct = 'payment';
3640
3633
  type NetworkStatus = 'approved_by_network' | 'declined_by_network' | 'not_sent_to_network' | 'reversed_after_approval';
3641
3634
  type NextActionType = 'redirect_to_url' | 'use_stripe_sdk';
3642
3635
  type OrderItemType = 'sku' | 'tax' | 'shipping' | 'discount';
@@ -3894,7 +3887,7 @@ declare namespace io.flow.stripe.v0.models {
3894
3887
  }
3895
3888
 
3896
3889
  interface OrderItem {
3897
- readonly 'object': string;
3890
+ readonly 'object'?: string;
3898
3891
  readonly 'amount': number;
3899
3892
  readonly 'currency': string;
3900
3893
  readonly 'description'?: string;
@@ -4136,7 +4129,7 @@ declare namespace io.flow.stripe.v0.models {
4136
4129
 
4137
4130
  interface Shipping {
4138
4131
  readonly 'address': io.flow.stripe.v0.models.Address;
4139
- readonly 'name': string;
4132
+ readonly 'name'?: string;
4140
4133
  readonly 'phone'?: string;
4141
4134
  }
4142
4135
 
@@ -4159,6 +4152,7 @@ declare namespace io.flow.stripe.v0.models {
4159
4152
  readonly 'status': io.flow.stripe.v0.enums.SourceStatus;
4160
4153
  readonly 'type': io.flow.stripe.v0.enums.SourceType;
4161
4154
  readonly 'usage': io.flow.stripe.v0.enums.SourceUsageType;
4155
+ readonly 'source_order'?: io.flow.stripe.v0.models.SourceOrder;
4162
4156
  }
4163
4157
 
4164
4158
  interface SourceCard {
@@ -4189,12 +4183,50 @@ declare namespace io.flow.stripe.v0.models {
4189
4183
  readonly 'first_name'?: string;
4190
4184
  readonly 'last_name'?: string;
4191
4185
  readonly 'client_token': string;
4186
+ readonly 'payment_method_categories'?: string;
4187
+ readonly 'purchase_country'?: string;
4188
+ readonly 'shipping_first_name'?: string;
4189
+ readonly 'shipping_last_name'?: string;
4190
+ readonly 'locale'?: string;
4191
+ readonly 'pay_later_name'?: string;
4192
+ readonly 'pay_later_asset_urls_standard'?: string;
4193
+ readonly 'pay_later_asset_urls_descriptive'?: string;
4194
+ readonly 'pay_now_name'?: string;
4195
+ readonly 'pay_now_asset_urls_standard'?: string;
4196
+ readonly 'pay_now_asset_urls_descriptive'?: string;
4197
+ readonly 'pay_over_time_name'?: string;
4198
+ readonly 'pay_over_time_asset_urls_standard'?: string;
4199
+ readonly 'pay_over_time_asset_urls_descriptive'?: string;
4200
+ readonly 'direct_bank_transfer_name'?: string;
4201
+ readonly 'direct_bank_transfer_asset_urls_standard'?: string;
4202
+ readonly 'direct_bank_transfer_asset_urls_descriptive'?: string;
4203
+ readonly 'direct_debit_name'?: string;
4204
+ readonly 'direct_debit_asset_urls_standard'?: string;
4205
+ readonly 'direct_debit_asset_urls_descriptive'?: string;
4192
4206
  }
4193
4207
 
4194
4208
  interface SourceKlarnaRequest {
4195
4209
  readonly 'first_name': string;
4196
4210
  readonly 'last_name': string;
4211
+ readonly 'purchase_country'?: string;
4212
+ readonly 'product'?: io.flow.stripe.v0.enums.KlarnaProduct;
4197
4213
  readonly 'attachment'?: string;
4214
+ readonly 'shipping_first_name'?: string;
4215
+ readonly 'shipping_last_name'?: string;
4216
+ readonly 'locale'?: string;
4217
+ }
4218
+
4219
+ interface SourceOrder {
4220
+ readonly 'amount'?: number;
4221
+ readonly 'currency'?: string;
4222
+ readonly 'email'?: string;
4223
+ readonly 'items'?: io.flow.stripe.v0.models.OrderItem[];
4224
+ readonly 'shipping'?: io.flow.stripe.v0.models.Shipping;
4225
+ }
4226
+
4227
+ interface SourceOrderRequest {
4228
+ readonly 'items'?: io.flow.stripe.v0.models.OrderItemRequest[];
4229
+ readonly 'shipping'?: io.flow.stripe.v0.models.Shipping;
4198
4230
  }
4199
4231
 
4200
4232
  interface SourceRequest {
@@ -4212,6 +4244,7 @@ declare namespace io.flow.stripe.v0.models {
4212
4244
  readonly 'three_d_secure'?: io.flow.stripe.v0.models.ThreeDSecure;
4213
4245
  readonly 'token'?: string;
4214
4246
  readonly 'usage': io.flow.stripe.v0.enums.SourceUsageType;
4247
+ readonly 'source_order'?: io.flow.stripe.v0.models.SourceOrderRequest;
4215
4248
  }
4216
4249
 
4217
4250
  interface Stripe3Ds2Fingerprint {
@@ -5238,7 +5271,7 @@ declare namespace io.flow.brickftp.v0.models {
5238
5271
  readonly 'id': number;
5239
5272
  readonly 'path': string;
5240
5273
  readonly 'behavior': io.flow.brickftp.v0.enums.BehaviorType;
5241
- readonly 'value': string[];
5274
+ readonly 'value': any/*object*/;
5242
5275
  }
5243
5276
 
5244
5277
  interface BehaviorForm {
@@ -5389,6 +5422,11 @@ declare namespace io.flow.adyen.v0.models {
5389
5422
  readonly 'currency': string;
5390
5423
  }
5391
5424
 
5425
+ interface Applepay {
5426
+ readonly 'type': 'applepay';
5427
+ readonly 'applePayToken': string;
5428
+ }
5429
+
5392
5430
  interface Authentication {
5393
5431
  readonly 'threeds2.fingerprintToken'?: string;
5394
5432
  readonly 'threeds2.challengeToken'?: string;
@@ -5416,6 +5454,8 @@ declare namespace io.flow.adyen.v0.models {
5416
5454
  readonly 'browserInfo'?: io.flow.adyen.v0.unions.BrowserInfo;
5417
5455
  readonly 'threeDS2RequestData'?: io.flow.adyen.v0.models.Threeds2RequestData;
5418
5456
  readonly 'recurringProcessingModel'?: io.flow.adyen.v0.enums.RecurringProcessingModel;
5457
+ readonly 'mcc'?: string;
5458
+ readonly 'metadata'?: any/*object*/;
5419
5459
  }
5420
5460
 
5421
5461
  interface AuthorizeRequest3D {
@@ -5572,6 +5612,14 @@ declare namespace io.flow.adyen.v0.models {
5572
5612
  readonly 'paymentData'?: string;
5573
5613
  }
5574
5614
 
5615
+ interface PaymentDetailsV663Ds2Challenge {
5616
+ readonly 'threeds2.challengeResult': string;
5617
+ }
5618
+
5619
+ interface PaymentDetailsV663Ds2Fingerprint {
5620
+ readonly 'threeds2.fingerprint': string;
5621
+ }
5622
+
5575
5623
  interface PaymentRequest {
5576
5624
  readonly 'reference': string;
5577
5625
  readonly 'merchantAccount': string;
@@ -5593,7 +5641,9 @@ declare namespace io.flow.adyen.v0.models {
5593
5641
  readonly 'browserInfo'?: io.flow.adyen.v0.unions.BrowserInfo;
5594
5642
  readonly 'origin'?: string;
5595
5643
  readonly 'channel'?: io.flow.adyen.v0.enums.Channel;
5596
- readonly 'returnURL'?: string;
5644
+ readonly 'returnUrl'?: string;
5645
+ readonly 'mcc'?: string;
5646
+ readonly 'metadata'?: any/*object*/;
5597
5647
  }
5598
5648
 
5599
5649
  interface PaymentResponse {
@@ -5649,6 +5699,15 @@ declare namespace io.flow.adyen.v0.models {
5649
5699
  readonly 'cvc'?: string;
5650
5700
  }
5651
5701
 
5702
+ interface SdkV3OnCompleteData {
5703
+ readonly 'details': any/*object*/;
5704
+ readonly 'payment_data'?: string;
5705
+ }
5706
+
5707
+ interface SdkV3OnCompleteResult {
5708
+ readonly 'data': io.flow.adyen.v0.models.SdkV3OnCompleteData;
5709
+ }
5710
+
5652
5711
  interface ThreeDSecureData {
5653
5712
  readonly 'authenticationResponse'?: string;
5654
5713
  readonly 'cavv'?: string;
@@ -5678,7 +5737,7 @@ declare namespace io.flow.adyen.v0.models {
5678
5737
 
5679
5738
  declare namespace io.flow.adyen.v0.unions {
5680
5739
  type BrowserInfo = (io.flow.adyen.v0.models.BrowserInfo3Ds1 | io.flow.adyen.v0.models.BrowserInfo3Ds2);
5681
- type PaymentMethodData = (io.flow.adyen.v0.models.Scheme);
5740
+ type PaymentMethodData = (io.flow.adyen.v0.models.Scheme | io.flow.adyen.v0.models.Applepay);
5682
5741
  }
5683
5742
 
5684
5743
  declare namespace io.flow.order.management.v0.enums {
@@ -7495,7 +7554,7 @@ declare namespace io.flow.payment.gateway.v0.models {
7495
7554
  readonly 'type': 'use_sdk_klarna_v1';
7496
7555
  readonly 'expires_at'?: string;
7497
7556
  readonly 'client_token': string;
7498
- readonly 'payment_method_categories': string[];
7557
+ readonly 'payment_method_categories': io.flow.payment.gateway.v0.models.KlarnaPaymentCategory[];
7499
7558
  }
7500
7559
 
7501
7560
  interface ActionUseSdkPaypal {
@@ -7554,6 +7613,13 @@ declare namespace io.flow.payment.gateway.v0.models {
7554
7613
  readonly 'time_zone_offset': number;
7555
7614
  }
7556
7615
 
7616
+ interface KlarnaPaymentCategory {
7617
+ readonly 'id': string;
7618
+ readonly 'name': string;
7619
+ readonly 'standard_asset_url'?: string;
7620
+ readonly 'descriptive_asset_url'?: string;
7621
+ }
7622
+
7557
7623
  interface OrderDetails {
7558
7624
  readonly 'line_items': io.flow.payment.gateway.v0.models.PaymentOrderDetailsLineItem[];
7559
7625
  readonly 'shipping'?: io.flow.payment.gateway.v0.models.Shipping;
@@ -7729,6 +7795,21 @@ declare namespace io.flow.payment.gateway.v0.models {
7729
7795
  readonly 'payment_data': any/*object*/;
7730
7796
  }
7731
7797
 
7798
+ interface PaymentMethodDataAuthorizeKlarna {
7799
+ readonly 'type': 'authorize_klarna';
7800
+ readonly 'result': io.flow.payment.gateway.v0.unions.PaymentMethodDataAuthorizeKlarnaResult;
7801
+ }
7802
+
7803
+ interface PaymentMethodDataAuthorizeKlarnaResultFailure {
7804
+ readonly 'type': 'failure';
7805
+ readonly 'placeholder'?: string;
7806
+ }
7807
+
7808
+ interface PaymentMethodDataAuthorizeKlarnaResultSuccess {
7809
+ readonly 'type': 'success';
7810
+ readonly 'authorization_token': string;
7811
+ }
7812
+
7732
7813
  interface PaymentMethodDataAuthorizePaypal {
7733
7814
  readonly 'type': 'authorize_paypal';
7734
7815
  readonly 'payment_id': string;
@@ -7938,7 +8019,8 @@ declare namespace io.flow.payment.gateway.v0.unions {
7938
8019
  type OrderInformation = (io.flow.payment.gateway.v0.models.OrderInformationFlow | io.flow.payment.gateway.v0.models.OrderInformationDetails);
7939
8020
  type PaymentCaptureOption = (io.flow.payment.gateway.v0.models.PaymentCaptureOptionAutomaticImmediate | io.flow.payment.gateway.v0.models.PaymentCaptureOptionManual);
7940
8021
  type PaymentMethodCard = (io.flow.payment.gateway.v0.models.PaymentMethodCardPciDetails | io.flow.payment.gateway.v0.models.PaymentMethodCardToken);
7941
- type PaymentMethodData = (io.flow.payment.gateway.v0.models.PaymentMethodDataInitKlarna | io.flow.payment.gateway.v0.models.PaymentMethodDataInitAfterpay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitPaypal | io.flow.payment.gateway.v0.models.PaymentMethodDataInitIdeal | io.flow.payment.gateway.v0.models.PaymentMethodDataValidateApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeCard | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizePaypal | io.flow.payment.gateway.v0.models.PaymentMethodDataCompleteAuthorizationCard);
8022
+ type PaymentMethodData = (io.flow.payment.gateway.v0.models.PaymentMethodDataInitKlarna | io.flow.payment.gateway.v0.models.PaymentMethodDataInitAfterpay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitPaypal | io.flow.payment.gateway.v0.models.PaymentMethodDataInitIdeal | io.flow.payment.gateway.v0.models.PaymentMethodDataValidateApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeCard | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizePaypal | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarna | io.flow.payment.gateway.v0.models.PaymentMethodDataCompleteAuthorizationCard);
8023
+ type PaymentMethodDataAuthorizeKlarnaResult = (io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarnaResultSuccess | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarnaResultFailure);
7942
8024
  type PaymentMethodSummary = (io.flow.payment.gateway.v0.models.PaymentMethodSummaryCard | io.flow.payment.gateway.v0.models.PaymentMethodSummaryKlarna | io.flow.payment.gateway.v0.models.PaymentMethodSummaryAfterpay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryApplepay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryPaypal | io.flow.payment.gateway.v0.models.PaymentMethodSummaryIdeal);
7943
8025
  type SdkAdyenV3AuthenticationToken = (io.flow.payment.gateway.v0.models.AdyenV3FingerprintToken | io.flow.payment.gateway.v0.models.AdyenV3ChallengeToken);
7944
8026
  }
@@ -8723,10 +8805,14 @@ declare namespace io.flow.crypto.v0.models {
8723
8805
  readonly 'publishable_key': string;
8724
8806
  }
8725
8807
 
8808
+ interface Error {
8809
+ readonly 'type'?: io.flow.crypto.v0.enums.ErrorType;
8810
+ readonly 'code'?: string;
8811
+ readonly 'param'?: string;
8812
+ }
8813
+
8726
8814
  interface ErrorResponse {
8727
- readonly 'type': io.flow.crypto.v0.enums.ErrorType;
8728
- readonly 'code': string;
8729
- readonly 'param': string;
8815
+ readonly 'error'?: io.flow.crypto.v0.models.Error;
8730
8816
  }
8731
8817
 
8732
8818
  interface Payment {
@@ -8746,7 +8832,6 @@ declare namespace io.flow.crypto.v0.models {
8746
8832
  readonly 'recipient': string;
8747
8833
  readonly 'refunded': boolean;
8748
8834
  readonly 'status': io.flow.crypto.v0.enums.PaymentStatus;
8749
- readonly 'time_window': number;
8750
8835
  }
8751
8836
 
8752
8837
  interface PaymentRequest {
@@ -9416,708 +9501,161 @@ declare namespace io.flow.item.v0.models {
9416
9501
  }
9417
9502
  }
9418
9503
 
9419
- declare namespace io.flow.billing.internal.v0.enums {
9420
- type BillingAllocationKey = 'freight_cost' | 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'fuel_surcharge' | 'remote_area_surcharge';
9421
- type BillingStatementBatchFileKey = 'archive' | 'summary';
9422
- type BillingStatementReviewStatus = 'approved' | 'pending';
9423
- type ManualTransactionCategory = 'cancelled_order_refund' | 'client_accepted_chargeback' | 'fee_reimbursement' | 'partial_refund' | 'platform_fee' | 'shipping_true_up' | 'tax_credit';
9424
- type PreferredBillingSchedule = 'monthly' | 'bi-monthly';
9425
- type ProcessingTransactionType = 'adjustment' | 'capture' | 'refund' | 'fully_subsidized_order' | 'credit_payment';
9426
- type ResponsibleParty = 'flow' | 'organization';
9427
- type TransferMethod = 'ach';
9504
+ declare namespace io.flow.harmonization.v0.enums {
9505
+ type TaxApplicability = 'none' | 'all';
9506
+ type TaxVerificationResult = 'valid' | 'invalid' | 'unable_to_validate';
9428
9507
  }
9429
9508
 
9430
- declare namespace io.flow.billing.internal.v0.models {
9431
- interface AccountForm {
9432
- readonly 'timezone': string;
9433
- readonly 'payment_schedule': io.flow.common.v0.unions.RepeatSchedule;
9434
- readonly 'payment_conditions'?: string;
9435
- readonly 'deposit_rule'?: io.flow.billing.v0.models.AccountDepositRuleForm;
9436
- readonly 'center_key'?: string;
9437
- }
9438
-
9439
- interface BankPayment {
9509
+ declare namespace io.flow.harmonization.v0.models {
9510
+ interface DetailedTaxRegistration {
9440
9511
  readonly 'id': string;
9441
9512
  readonly 'key': string;
9442
- readonly 'account': io.flow.billing.v0.models.AccountReference;
9443
- readonly 'reference'?: string;
9444
- readonly 'sent_on': string;
9445
- readonly 'expected_delivery_by': string;
9446
- readonly 'total': io.flow.common.v0.models.Price;
9513
+ readonly 'consumer_company_name'?: string;
9514
+ readonly 'number': string;
9515
+ readonly 'country': string;
9516
+ readonly 'success': boolean;
9517
+ readonly 'timestamp': string;
9518
+ readonly 'vies_result': io.flow.harmonization.v0.enums.TaxVerificationResult;
9519
+ readonly 'vies_result_reason'?: string;
9520
+ readonly 'vies_company_name'?: string;
9521
+ readonly 'vies_company_address'?: string;
9522
+ readonly 'company_name_match_result': io.flow.harmonization.v0.enums.TaxVerificationResult;
9523
+ readonly 'company_name_match_result_reason'?: string;
9447
9524
  }
9448
9525
 
9449
- interface BankPaymentForm {
9450
- readonly 'account_id': string;
9451
- readonly 'reference'?: string;
9452
- readonly 'sent_on': string;
9453
- readonly 'expected_delivery_by': string;
9454
- readonly 'amount': number;
9455
- readonly 'currency': string;
9456
- readonly 'transfer_transaction_ids': string[];
9526
+ interface HarmonizedCategoryReference {
9527
+ readonly 'id': string;
9457
9528
  }
9458
9529
 
9459
- interface BillingAuthorizationReference {
9530
+ interface HarmonizedItem {
9460
9531
  readonly 'id': string;
9532
+ readonly 'number': string;
9533
+ readonly 'name': string;
9534
+ readonly 'categories': string[];
9535
+ readonly 'attributes': Record<string, string>;
9536
+ readonly 'description'?: string;
9461
9537
  }
9462
9538
 
9463
- interface BillingInvoiceSummary {
9464
- readonly 'id': string;
9465
- readonly 'url': string;
9539
+ interface HarmonizedItemForm {
9540
+ readonly 'name': string;
9541
+ readonly 'number': string;
9542
+ readonly 'currency': string;
9543
+ readonly 'price': number;
9544
+ readonly 'categories'?: string[];
9545
+ readonly 'description'?: string;
9546
+ readonly 'attributes'?: Record<string, string>;
9466
9547
  }
9467
9548
 
9468
- interface BillingOrderDestination {
9469
- readonly 'city'?: string;
9470
- readonly 'province'?: string;
9471
- readonly 'postal'?: string;
9472
- readonly 'country': string;
9549
+ interface HarmonizedItemPutForm {
9550
+ readonly 'name': string;
9551
+ readonly 'currency': string;
9552
+ readonly 'price': number;
9553
+ readonly 'categories'?: string[];
9554
+ readonly 'description'?: string;
9555
+ readonly 'attributes'?: Record<string, string>;
9473
9556
  }
9474
9557
 
9475
- interface BillingOrderSummary {
9558
+ interface HarmonizedItemReference {
9559
+ readonly 'id': string;
9476
9560
  readonly 'number': string;
9477
- readonly 'submitted_at': string;
9478
- readonly 'primary_identifier'?: string;
9479
- readonly 'destination'?: io.flow.billing.internal.v0.models.BillingOrderDestination;
9561
+ readonly 'description'?: string;
9480
9562
  }
9481
9563
 
9482
- interface BillingOrganizationProcessingRateForm {
9483
- readonly 'query': string;
9484
- readonly 'capture': number;
9485
- readonly 'refund': number;
9486
- readonly 'fraud': number;
9564
+ interface HarmonizedLandedCost {
9565
+ readonly 'address': io.flow.common.v0.models.Address;
9566
+ readonly 'items': io.flow.harmonization.v0.models.HarmonizedLandedCostItem[];
9567
+ readonly 'tax_registration'?: io.flow.harmonization.v0.models.TaxRegistration;
9487
9568
  }
9488
9569
 
9489
- interface BillingOrganizationProcessingRates {
9490
- readonly 'id': string;
9491
- readonly 'query': string;
9492
- readonly 'capture': number;
9493
- readonly 'refund': number;
9494
- readonly 'fraud': number;
9495
- readonly 'position': number;
9570
+ interface HarmonizedLandedCostForm {
9571
+ readonly 'address': io.flow.common.v0.models.Address;
9572
+ readonly 'item_numbers': string[];
9573
+ readonly 'source_address'?: io.flow.common.v0.models.Address;
9574
+ readonly 'order_number'?: string;
9575
+ readonly 'line_items'?: io.flow.common.v0.models.LineItem[];
9576
+ readonly 'tax_registration_id'?: string;
9577
+ readonly 'billing_address'?: io.flow.common.v0.models.BillingAddress;
9496
9578
  }
9497
9579
 
9498
- interface BillingOrganizationProcessingRatesForm {
9499
- readonly 'processing_rates': io.flow.billing.internal.v0.models.BillingOrganizationProcessingRateForm[];
9580
+ interface HarmonizedLandedCostItem {
9581
+ readonly 'item': io.flow.harmonization.v0.models.HarmonizedItemReference;
9582
+ readonly 'duty': io.flow.price.v0.models.Duty;
9583
+ readonly 'tax': io.flow.price.v0.models.Tax;
9584
+ readonly 'tax_applicability'?: io.flow.harmonization.v0.enums.TaxApplicability;
9585
+ readonly 'origin'?: string;
9586
+ readonly 'hs_code'?: string;
9587
+ readonly 'tariff_code'?: string;
9588
+ readonly 'customs_description'?: string;
9589
+ readonly 'source_address'?: io.flow.common.v0.models.Address;
9500
9590
  }
9501
9591
 
9502
- interface BillingOrganizationSettings {
9592
+ interface Hs10 {
9503
9593
  readonly 'id': string;
9504
- readonly 'days_until_posted': number;
9505
- readonly 'logistics': io.flow.billing.internal.v0.enums.ResponsibleParty;
9506
- readonly 'include_transaction_created_at': boolean;
9507
- readonly 'include_order_exchange_rate': boolean;
9508
- readonly 'send_statements_to_flow_ftp_server': boolean;
9509
- readonly 'invoicing_terms'?: io.flow.invoice.v0.enums.PaymentTerm;
9510
- readonly 'transfer_method'?: io.flow.billing.internal.v0.enums.TransferMethod;
9511
- readonly 'b2b_tax_remittance_days'?: number;
9594
+ readonly 'item': io.flow.harmonization.v0.models.HarmonizedItemReference;
9595
+ readonly 'origin': string;
9596
+ readonly 'destination': string;
9597
+ readonly 'code': string;
9512
9598
  }
9513
9599
 
9514
- interface BillingStatementBatch {
9600
+ interface Hs10Version {
9515
9601
  readonly 'id': string;
9516
- readonly 'period': io.flow.common.v0.models.DatetimeRange;
9602
+ readonly 'timestamp': string;
9603
+ readonly 'type': io.flow.common.v0.enums.ChangeType;
9604
+ readonly 'hs10': io.flow.harmonization.v0.models.Hs10;
9517
9605
  }
9518
9606
 
9519
- interface BillingStatementPendingReview {
9520
- readonly 'organization': string;
9521
- readonly 'statement': io.flow.billing.v0.models.BillingStatement;
9607
+ interface Hs6 {
9608
+ readonly 'id': string;
9609
+ readonly 'item': io.flow.harmonization.v0.models.HarmonizedItemReference;
9610
+ readonly 'code': string;
9522
9611
  }
9523
9612
 
9524
- interface BillingStatementReview {
9613
+ interface LaneLandedCost {
9614
+ readonly 'origin': string;
9615
+ readonly 'destination': string;
9616
+ readonly 'tariff_code': string;
9617
+ readonly 'effective_duty': io.flow.price.v0.models.Duty;
9618
+ readonly 'tax': io.flow.price.v0.models.Tax;
9619
+ }
9620
+
9621
+ interface TaxRegistration {
9525
9622
  readonly 'id': string;
9526
- readonly 'billing_statement': io.flow.billing.v0.models.BillingStatementReference;
9527
- readonly 'reviewed_by': io.flow.common.v0.models.UserReference;
9528
- readonly 'reviewed_at': string;
9623
+ readonly 'key': string;
9624
+ readonly 'number': string;
9625
+ readonly 'timestamp': string;
9626
+ readonly 'result': io.flow.harmonization.v0.enums.TaxVerificationResult;
9627
+ readonly 'result_reason'?: string;
9628
+ readonly 'name'?: string;
9629
+ readonly 'address'?: string;
9630
+ readonly 'company_name'?: string;
9529
9631
  }
9530
9632
 
9531
- interface BillingStatementReviewForm {
9532
- readonly 'reviewed_by_id': string;
9533
- readonly 'reviewed_at': string;
9633
+ interface TaxRegistrationForm {
9634
+ readonly 'number': string;
9635
+ readonly 'company_name'?: string;
9534
9636
  }
9637
+ }
9638
+
9639
+ declare namespace io.flow.shopify.v0.enums {
9640
+ type ShopifyGrant = 'customer' | 'discount' | 'gift_card' | 'metafield' | 'order';
9641
+ type ShopifyLocalizationMethod = 'api' | 'ssr';
9642
+ type ShopifySyncCheck = 'localized_variants' | 'flow_variant_metafields';
9643
+ }
9535
9644
 
9536
- interface ChannelServiceFee {
9537
- readonly 'tiers': io.flow.billing.internal.v0.models.ChannelServiceFeeTier[];
9645
+ declare namespace io.flow.shopify.v0.models {
9646
+ interface FlowCenterReference {
9647
+ readonly 'key': string;
9538
9648
  }
9539
9649
 
9540
- interface ChannelServiceFeeTier {
9541
- readonly 'minimum_orders': number;
9542
- readonly 'amount': number;
9650
+ interface GeoForm {
9651
+ readonly 'country': string;
9652
+ readonly 'currency': string;
9653
+ readonly 'language': string;
9654
+ readonly 'locale': string;
9655
+ readonly 'experience': string;
9543
9656
  }
9544
9657
 
9545
- interface ChannelTransaction {
9546
- readonly 'id': string;
9547
- readonly 'organization_id': string;
9548
- readonly 'processing_transaction_id': string;
9549
- readonly 'order_number': string;
9550
- readonly 'channel_currency': string;
9551
- readonly 'mor_convenience_fee': number;
9552
- readonly 'flow_fx_fee_on_mor': number;
9553
- readonly 'flow_processing_fee': number;
9554
- readonly 'flow_fraud_fee': number;
9555
- readonly 'service_fee': number;
9556
- readonly 'logistics_fee': number;
9557
- readonly 'total': number;
9558
- }
9559
-
9560
- interface Components {
9561
- readonly 'vat': io.flow.common.v0.models.Price;
9562
- readonly 'duty': io.flow.common.v0.models.Price;
9563
- readonly 'freight': io.flow.common.v0.models.Price;
9564
- readonly 'insurance': io.flow.common.v0.models.Price;
9565
- }
9566
-
9567
- interface DisputeTransaction {
9568
- readonly 'discriminator': 'dispute_transaction';
9569
- readonly 'id': string;
9570
- readonly 'type': io.flow.billing.v0.enums.BillingTransactionType;
9571
- readonly 'authorization': io.flow.payment.v0.models.AuthorizationReference;
9572
- readonly 'posted_at': string;
9573
- readonly 'value': io.flow.common.v0.models.Price;
9574
- readonly 'description': string;
9575
- readonly 'statement'?: io.flow.billing.v0.models.BillingStatementReference;
9576
- readonly 'created_at': string;
9577
- }
9578
-
9579
- interface Fee {
9580
- readonly 'value': io.flow.common.v0.models.Price;
9581
- readonly 'description'?: string;
9582
- }
9583
-
9584
- interface Fees {
9585
- readonly 'processing': io.flow.billing.internal.v0.models.Fee;
9586
- readonly 'rate_lock': io.flow.billing.internal.v0.models.Fee;
9587
- readonly 'mor': io.flow.billing.internal.v0.models.Fee;
9588
- }
9589
-
9590
- interface FxFee {
9591
- readonly 'base': io.flow.common.v0.models.Money;
9592
- readonly 'local': io.flow.common.v0.models.Money;
9593
- }
9594
-
9595
- interface FxRevenueRecognition {
9596
- readonly 'id': string;
9597
- readonly 'organization': io.flow.billing.internal.v0.models.FxRevenueRecognitionOrganization;
9598
- readonly 'account': io.flow.billing.internal.v0.models.FxRevenueRecognitionAccount;
9599
- readonly 'fx': io.flow.billing.internal.v0.models.FxFee;
9600
- readonly 'spot_rate': io.flow.billing.internal.v0.models.FxRevenueRecognitionRate;
9601
- readonly 'created_at': string;
9602
- readonly 'order': io.flow.billing.internal.v0.models.FxRevenueRecognitionOrder;
9603
- readonly 'merchant_of_record': io.flow.common.v0.enums.MerchantOfRecord;
9604
- readonly 'source': io.flow.billing.internal.v0.models.FxRevenueRecognitionSource;
9605
- readonly 'reporting_date'?: string;
9606
- }
9607
-
9608
- interface FxRevenueRecognitionAccount {
9609
- readonly 'value': io.flow.common.v0.models.Money;
9610
- readonly 'spot_rate': io.flow.billing.internal.v0.models.FxRevenueRecognitionAccountRate;
9611
- }
9612
-
9613
- interface FxRevenueRecognitionAccountRate {
9614
- readonly 'value': number;
9615
- }
9616
-
9617
- interface FxRevenueRecognitionOrder {
9618
- readonly 'number': string;
9619
- readonly 'submitted_at': string;
9620
- }
9621
-
9622
- interface FxRevenueRecognitionOrganization {
9623
- readonly 'id': string;
9624
- }
9625
-
9626
- interface FxRevenueRecognitionRate {
9627
- readonly 'value': number;
9628
- readonly 'margin': number;
9629
- readonly 'timestamp': string;
9630
- }
9631
-
9632
- interface FxRevenueRecognitionSource {
9633
- readonly 'id': string;
9634
- readonly 'local': io.flow.common.v0.models.Money;
9635
- readonly 'transaction_created_at': string;
9636
- }
9637
-
9638
- interface InvoiceTransaction {
9639
- readonly 'discriminator': 'invoice_transaction';
9640
- readonly 'id': string;
9641
- readonly 'type': io.flow.billing.v0.enums.BillingTransactionType;
9642
- readonly 'posted_at': string;
9643
- readonly 'value': io.flow.common.v0.models.Price;
9644
- readonly 'description': string;
9645
- readonly 'statement'?: io.flow.billing.v0.models.BillingStatementReference;
9646
- readonly 'created_at': string;
9647
- readonly 'invoice': io.flow.invoice.v0.models.Invoice;
9648
- }
9649
-
9650
- interface MainTransaction {
9651
- readonly 'id': string;
9652
- readonly 'account': io.flow.billing.v0.models.AccountReference;
9653
- readonly 'type': io.flow.billing.v0.enums.BillingTransactionType;
9654
- readonly 'value': io.flow.common.v0.models.Price;
9655
- readonly 'posted_at': string;
9656
- readonly 'statement'?: io.flow.billing.v0.models.BillingStatementReference;
9657
- readonly 'created_at': string;
9658
- readonly 'original_at'?: string;
9659
- readonly 'disposition'?: io.flow.billing.internal.v0.enums.BillingStatementReviewStatus;
9660
- }
9661
-
9662
- interface ManualTransaction {
9663
- readonly 'discriminator': 'manual_transaction';
9664
- readonly 'id': string;
9665
- readonly 'type': io.flow.billing.v0.enums.BillingTransactionType;
9666
- readonly 'posted_at': string;
9667
- readonly 'value': io.flow.common.v0.models.Price;
9668
- readonly 'description': string;
9669
- readonly 'category'?: io.flow.billing.internal.v0.enums.ManualTransactionCategory;
9670
- readonly 'statement'?: io.flow.billing.v0.models.BillingStatementReference;
9671
- readonly 'created_at': string;
9672
- }
9673
-
9674
- interface ManualTransactionForm {
9675
- readonly 'amount': number;
9676
- readonly 'description': string;
9677
- readonly 'category'?: io.flow.billing.internal.v0.enums.ManualTransactionCategory;
9678
- readonly 'posted_at'?: string;
9679
- }
9680
-
9681
- interface PendingBankPayment {
9682
- readonly 'organization': string;
9683
- readonly 'account': io.flow.billing.v0.models.AccountReference;
9684
- readonly 'recommended_reference': string;
9685
- readonly 'total': io.flow.common.v0.models.Price;
9686
- readonly 'details': io.flow.billing.internal.v0.models.PendingBankPaymentDetail[];
9687
- }
9688
-
9689
- interface PendingBankPaymentDetail {
9690
- readonly 'transaction': io.flow.billing.internal.v0.models.TransactionReference;
9691
- readonly 'statement': io.flow.billing.v0.models.BillingStatementReference;
9692
- }
9693
-
9694
- interface PlatformFeeChange {
9695
- readonly 'organization_id': string;
9696
- readonly 'key': string;
9697
- readonly 'platform_fee': io.flow.billing.internal.v0.unions.PlatformFee;
9698
- readonly 'starts_at': string;
9699
- }
9700
-
9701
- interface PlatformFeeChangeForm {
9702
- readonly 'platform_fee': io.flow.billing.internal.v0.unions.PlatformFee;
9703
- readonly 'starts_at': string;
9704
- }
9705
-
9706
- interface PlatformFeeDisabled {
9707
- readonly 'discriminator': 'platform_fee_disabled';
9708
- readonly 'attributes'?: Record<string, string>;
9709
- }
9710
-
9711
- interface PlatformFeeFlat {
9712
- readonly 'discriminator': 'platform_fee_flat';
9713
- readonly 'amount': number;
9714
- readonly 'currency': string;
9715
- readonly 'frequency': io.flow.billing.v0.enums.SubscriptionFrequency;
9716
- }
9717
-
9718
- interface PlatformFeePause {
9719
- readonly 'discriminator': 'platform_fee_pause';
9720
- readonly 'attributes'?: Record<string, string>;
9721
- }
9722
-
9723
- interface PlatformFeePercentage {
9724
- readonly 'discriminator': 'platform_fee_percentage';
9725
- readonly 'tiers': io.flow.billing.internal.v0.models.PlatformFeePercentageTier[];
9726
- }
9727
-
9728
- interface PlatformFeePercentageTier {
9729
- readonly 'minimum_amount_base': number;
9730
- readonly 'rate': number;
9731
- }
9732
-
9733
- interface ProcessingTransaction {
9734
- readonly 'discriminator': 'processing_transaction';
9735
- readonly 'id': string;
9736
- readonly 'type': io.flow.billing.v0.enums.BillingTransactionType;
9737
- readonly 'merchant_of_record': io.flow.common.v0.enums.MerchantOfRecord;
9738
- readonly 'posted_at': string;
9739
- readonly 'value': io.flow.common.v0.models.Price;
9740
- readonly 'description': string;
9741
- readonly 'statement'?: io.flow.billing.v0.models.BillingStatementReference;
9742
- readonly 'created_at': string;
9743
- readonly 'original_at'?: string;
9744
- readonly 'reference': string;
9745
- readonly 'primary_identifier'?: string;
9746
- readonly 'payment_method': string;
9747
- readonly 'original': io.flow.common.v0.models.PriceWithBase;
9748
- readonly 'original_base_at_spot_rate'?: io.flow.common.v0.models.Price;
9749
- readonly 'fees': io.flow.billing.internal.v0.models.Fees;
9750
- readonly 'components'?: io.flow.billing.internal.v0.models.Components;
9751
- readonly 'withholdings': io.flow.billing.internal.v0.models.Components;
9752
- readonly 'parent_transaction_id'?: string;
9753
- readonly 'order'?: io.flow.billing.internal.v0.models.BillingOrderSummary;
9754
- readonly 'spot_rate': number;
9755
- readonly 'flow_rate': number;
9756
- readonly 'organization_rate': number;
9757
- readonly 'flow_margin': number;
9758
- readonly 'organization_margin': number;
9759
- readonly 'revenue_share'?: io.flow.common.v0.models.Price;
9760
- readonly 'disposition'?: io.flow.billing.internal.v0.enums.BillingStatementReviewStatus;
9761
- }
9762
-
9763
- interface SubscriptionTransaction {
9764
- readonly 'discriminator': 'subscription_transaction';
9765
- readonly 'id': string;
9766
- readonly 'type': io.flow.billing.v0.enums.BillingTransactionType;
9767
- readonly 'posted_at': string;
9768
- readonly 'value': io.flow.common.v0.models.Price;
9769
- readonly 'description': string;
9770
- readonly 'statement'?: io.flow.billing.v0.models.BillingStatementReference;
9771
- readonly 'created_at': string;
9772
- readonly 'period': io.flow.common.v0.models.DatetimeRange;
9773
- }
9774
-
9775
- interface TaxRemittanceTransaction {
9776
- readonly 'discriminator': 'tax_remittance_transaction';
9777
- readonly 'id': string;
9778
- readonly 'type': io.flow.billing.v0.enums.BillingTransactionType;
9779
- readonly 'posted_at': string;
9780
- readonly 'value': io.flow.common.v0.models.Price;
9781
- readonly 'description': string;
9782
- readonly 'statement'?: io.flow.billing.v0.models.BillingStatementReference;
9783
- readonly 'created_at': string;
9784
- readonly 'order': io.flow.billing.internal.v0.models.BillingOrderSummary;
9785
- readonly 'invoice': io.flow.billing.internal.v0.models.BillingInvoiceSummary;
9786
- }
9787
-
9788
- interface TransactionReference {
9789
- readonly 'id': string;
9790
- }
9791
-
9792
- interface TransferTransaction {
9793
- readonly 'discriminator': 'transfer_transaction';
9794
- readonly 'id': string;
9795
- readonly 'type': io.flow.billing.v0.enums.BillingTransactionType;
9796
- readonly 'posted_at': string;
9797
- readonly 'value': io.flow.common.v0.models.Price;
9798
- readonly 'description': string;
9799
- readonly 'statement'?: io.flow.billing.v0.models.BillingStatementReference;
9800
- readonly 'created_at': string;
9801
- readonly 'method': io.flow.billing.internal.v0.enums.TransferMethod;
9802
- }
9803
-
9804
- interface VirtualCardTransaction {
9805
- readonly 'discriminator': 'virtual_card_transaction';
9806
- readonly 'id': string;
9807
- readonly 'type': io.flow.billing.v0.enums.BillingTransactionType;
9808
- readonly 'posted_at': string;
9809
- readonly 'value': io.flow.common.v0.models.Price;
9810
- readonly 'description': string;
9811
- readonly 'statement'?: io.flow.billing.v0.models.BillingStatementReference;
9812
- readonly 'created_at': string;
9813
- readonly 'virtual_card': io.flow.payment.v0.models.VirtualCardReference;
9814
- readonly 'authorization': io.flow.payment.v0.models.AuthorizationReference;
9815
- readonly 'original': io.flow.common.v0.models.PriceWithBase;
9816
- readonly 'processing_fee': io.flow.billing.internal.v0.models.Fee;
9817
- }
9818
- }
9819
-
9820
- declare namespace io.flow.billing.internal.v0.unions {
9821
- type PlatformFee = (io.flow.billing.internal.v0.models.PlatformFeePause | io.flow.billing.internal.v0.models.PlatformFeeFlat | io.flow.billing.internal.v0.models.PlatformFeePercentage | io.flow.billing.internal.v0.models.PlatformFeeDisabled);
9822
- type Transaction = (io.flow.billing.internal.v0.models.InvoiceTransaction | io.flow.billing.internal.v0.models.ManualTransaction | io.flow.billing.internal.v0.models.ProcessingTransaction | io.flow.billing.internal.v0.models.SubscriptionTransaction | io.flow.billing.internal.v0.models.TaxRemittanceTransaction | io.flow.billing.internal.v0.models.TransferTransaction | io.flow.billing.internal.v0.models.VirtualCardTransaction | io.flow.billing.internal.v0.models.DisputeTransaction);
9823
- }
9824
-
9825
- declare namespace io.flow.billing.v0.enums {
9826
- type BillingStatementAttachmentKey = 'invoice' | 'statement' | 'consumer_invoice' | 'credit_memo' | 'transactions' | 'channel_transactions' | 'virtual_card' | 'tax_remittance' | 'manual' | 'orders' | 'all';
9827
- type BillingTransactionStatus = 'pending' | 'posted';
9828
- type BillingTransactionType = 'manual' | 'subscription' | 'invoice' | 'transfer' | 'adjustment' | 'capture' | 'refund' | 'virtual_card_capture' | 'virtual_card_refund' | 'tax_remittance' | 'fully_subsidized_order' | 'credit_payment' | 'dispute';
9829
- type SubscriptionFrequency = 'yearly' | 'monthly';
9830
- }
9831
-
9832
- declare namespace io.flow.billing.v0.models {
9833
- interface Account {
9834
- readonly 'id': string;
9835
- readonly 'currency': string;
9836
- readonly 'updated_at': string;
9837
- readonly 'timezone': io.flow.reference.v0.models.Timezone;
9838
- readonly 'payment_schedule': io.flow.common.v0.unions.RepeatSchedule;
9839
- readonly 'payment_conditions'?: string;
9840
- readonly 'deposit_rule'?: io.flow.billing.v0.models.AccountDepositRule;
9841
- readonly 'center_key'?: string;
9842
- readonly 'statistics': io.flow.billing.v0.models.AccountStatistics;
9843
- readonly 'next_statement': io.flow.billing.v0.models.NextBillingStatement;
9844
- readonly 'created_at': string;
9845
- }
9846
-
9847
- interface AccountContact {
9848
- readonly 'id': string;
9849
- readonly 'email': string;
9850
- readonly 'first_name'?: string;
9851
- readonly 'last_name'?: string;
9852
- readonly 'phone'?: string;
9853
- }
9854
-
9855
- interface AccountContactForm {
9856
- readonly 'email': string;
9857
- readonly 'first_name'?: string;
9858
- readonly 'last_name'?: string;
9859
- readonly 'phone'?: string;
9860
- }
9861
-
9862
- interface AccountDepositRule {
9863
- readonly 'target': number;
9864
- readonly 'rate': number;
9865
- }
9866
-
9867
- interface AccountDepositRuleForm {
9868
- readonly 'target': number;
9869
- readonly 'rate': number;
9870
- }
9871
-
9872
- interface AccountReference {
9873
- readonly 'id': string;
9874
- readonly 'currency': string;
9875
- }
9876
-
9877
- interface AccountStatistics {
9878
- readonly 'transfers': io.flow.common.v0.models.Price;
9879
- readonly 'balance': io.flow.common.v0.models.Price;
9880
- readonly 'pending': io.flow.common.v0.models.Price;
9881
- }
9882
-
9883
- interface BillingStatement {
9884
- readonly 'id': string;
9885
- readonly 'account': io.flow.billing.v0.models.AccountReference;
9886
- readonly 'period': io.flow.common.v0.models.DatetimeRange;
9887
- readonly 'totals': io.flow.billing.v0.models.BillingStatementTotals;
9888
- readonly 'attachments': io.flow.billing.v0.models.BillingStatementAttachment[];
9889
- }
9890
-
9891
- interface BillingStatementAttachment {
9892
- readonly 'key': io.flow.billing.v0.enums.BillingStatementAttachmentKey;
9893
- readonly 'name': string;
9894
- readonly 'url': string;
9895
- }
9896
-
9897
- interface BillingStatementReference {
9898
- readonly 'id': string;
9899
- }
9900
-
9901
- interface BillingStatementTotals {
9902
- readonly 'starting_balance': io.flow.common.v0.models.Price;
9903
- readonly 'subscription': io.flow.common.v0.models.Price;
9904
- readonly 'transfer': io.flow.common.v0.models.Price;
9905
- readonly 'invoice': io.flow.common.v0.models.Price;
9906
- readonly 'manual': io.flow.common.v0.models.Price;
9907
- readonly 'adjustment': io.flow.common.v0.models.Price;
9908
- readonly 'capture': io.flow.common.v0.models.Price;
9909
- readonly 'refund': io.flow.common.v0.models.Price;
9910
- readonly 'virtual_card_capture': io.flow.common.v0.models.Price;
9911
- readonly 'virtual_card_refund': io.flow.common.v0.models.Price;
9912
- readonly 'tax_remittance': io.flow.common.v0.models.Price;
9913
- readonly 'dispute': io.flow.common.v0.models.Price;
9914
- readonly 'ending_balance': io.flow.common.v0.models.Price;
9915
- }
9916
-
9917
- interface BillingTransaction {
9918
- readonly 'id': string;
9919
- readonly 'type': io.flow.billing.v0.enums.BillingTransactionType;
9920
- readonly 'status': io.flow.billing.v0.enums.BillingTransactionStatus;
9921
- readonly 'posted_at'?: string;
9922
- readonly 'value': io.flow.common.v0.models.Price;
9923
- readonly 'description': string;
9924
- readonly 'created_at': string;
9925
- readonly 'statement'?: io.flow.billing.v0.models.BillingStatementReference;
9926
- }
9927
-
9928
- interface ChannelAccount {
9929
- readonly 'id': string;
9930
- readonly 'channel': io.flow.common.v0.models.ChannelReference;
9931
- readonly 'account': io.flow.billing.v0.models.SimpleAccountReference;
9932
- }
9933
-
9934
- interface EmailForm {
9935
- readonly 'to': string[];
9936
- readonly 'cc'?: string[];
9937
- readonly 'bcc'?: string[];
9938
- }
9939
-
9940
- interface NextBillingStatement {
9941
- readonly 'date': string;
9942
- readonly 'amount': io.flow.common.v0.models.Price;
9943
- readonly 'conditions'?: string;
9944
- }
9945
-
9946
- interface OrganizationAccount {
9947
- readonly 'id': string;
9948
- readonly 'organization': io.flow.common.v0.models.OrganizationReference;
9949
- readonly 'account': io.flow.billing.v0.models.SimpleAccountReference;
9950
- }
9951
-
9952
- interface SimpleAccountReference {
9953
- readonly 'id': string;
9954
- }
9955
-
9956
- interface Subscription {
9957
- readonly 'id': string;
9958
- readonly 'organization': string;
9959
- readonly 'value': io.flow.common.v0.models.Price;
9960
- readonly 'frequency': io.flow.billing.v0.enums.SubscriptionFrequency;
9961
- readonly 'starts_at': string;
9962
- readonly 'created_at': string;
9963
- }
9964
- }
9965
-
9966
- declare namespace io.flow.harmonization.v0.enums {
9967
- type TaxApplicability = 'none' | 'all';
9968
- type TaxVerificationResult = 'valid' | 'invalid' | 'unable_to_validate';
9969
- }
9970
-
9971
- declare namespace io.flow.harmonization.v0.models {
9972
- interface DetailedTaxRegistration {
9973
- readonly 'id': string;
9974
- readonly 'key': string;
9975
- readonly 'consumer_company_name'?: string;
9976
- readonly 'number': string;
9977
- readonly 'country': string;
9978
- readonly 'success': boolean;
9979
- readonly 'timestamp': string;
9980
- readonly 'vies_result': io.flow.harmonization.v0.enums.TaxVerificationResult;
9981
- readonly 'vies_result_reason'?: string;
9982
- readonly 'vies_company_name'?: string;
9983
- readonly 'vies_company_address'?: string;
9984
- readonly 'company_name_match_result': io.flow.harmonization.v0.enums.TaxVerificationResult;
9985
- readonly 'company_name_match_result_reason'?: string;
9986
- }
9987
-
9988
- interface HarmonizedCategoryReference {
9989
- readonly 'id': string;
9990
- }
9991
-
9992
- interface HarmonizedItem {
9993
- readonly 'id': string;
9994
- readonly 'number': string;
9995
- readonly 'name': string;
9996
- readonly 'categories': string[];
9997
- readonly 'attributes': Record<string, string>;
9998
- readonly 'description'?: string;
9999
- }
10000
-
10001
- interface HarmonizedItemForm {
10002
- readonly 'name': string;
10003
- readonly 'number': string;
10004
- readonly 'currency': string;
10005
- readonly 'price': number;
10006
- readonly 'categories'?: string[];
10007
- readonly 'description'?: string;
10008
- readonly 'attributes'?: Record<string, string>;
10009
- }
10010
-
10011
- interface HarmonizedItemPutForm {
10012
- readonly 'name': string;
10013
- readonly 'currency': string;
10014
- readonly 'price': number;
10015
- readonly 'categories'?: string[];
10016
- readonly 'description'?: string;
10017
- readonly 'attributes'?: Record<string, string>;
10018
- }
10019
-
10020
- interface HarmonizedItemReference {
10021
- readonly 'id': string;
10022
- readonly 'number': string;
10023
- readonly 'description'?: string;
10024
- }
10025
-
10026
- interface HarmonizedLandedCost {
10027
- readonly 'address': io.flow.common.v0.models.Address;
10028
- readonly 'items': io.flow.harmonization.v0.models.HarmonizedLandedCostItem[];
10029
- readonly 'tax_registration'?: io.flow.harmonization.v0.models.TaxRegistration;
10030
- }
10031
-
10032
- interface HarmonizedLandedCostForm {
10033
- readonly 'address': io.flow.common.v0.models.Address;
10034
- readonly 'item_numbers': string[];
10035
- readonly 'source_address'?: io.flow.common.v0.models.Address;
10036
- readonly 'order_number'?: string;
10037
- readonly 'line_items'?: io.flow.common.v0.models.LineItem[];
10038
- readonly 'tax_registration_id'?: string;
10039
- readonly 'billing_address'?: io.flow.common.v0.models.BillingAddress;
10040
- }
10041
-
10042
- interface HarmonizedLandedCostItem {
10043
- readonly 'item': io.flow.harmonization.v0.models.HarmonizedItemReference;
10044
- readonly 'duty': io.flow.price.v0.models.Duty;
10045
- readonly 'tax': io.flow.price.v0.models.Tax;
10046
- readonly 'tax_applicability'?: io.flow.harmonization.v0.enums.TaxApplicability;
10047
- readonly 'origin'?: string;
10048
- readonly 'hs_code'?: string;
10049
- readonly 'tariff_code'?: string;
10050
- readonly 'customs_description'?: string;
10051
- readonly 'source_address'?: io.flow.common.v0.models.Address;
10052
- }
10053
-
10054
- interface Hs10 {
10055
- readonly 'id': string;
10056
- readonly 'item': io.flow.harmonization.v0.models.HarmonizedItemReference;
10057
- readonly 'origin': string;
10058
- readonly 'destination': string;
10059
- readonly 'code': string;
10060
- }
10061
-
10062
- interface Hs10Version {
10063
- readonly 'id': string;
10064
- readonly 'timestamp': string;
10065
- readonly 'type': io.flow.common.v0.enums.ChangeType;
10066
- readonly 'hs10': io.flow.harmonization.v0.models.Hs10;
10067
- }
10068
-
10069
- interface Hs6 {
10070
- readonly 'id': string;
10071
- readonly 'item': io.flow.harmonization.v0.models.HarmonizedItemReference;
10072
- readonly 'code': string;
10073
- }
10074
-
10075
- interface LaneLandedCost {
10076
- readonly 'origin': string;
10077
- readonly 'destination': string;
10078
- readonly 'tariff_code': string;
10079
- readonly 'effective_duty': io.flow.price.v0.models.Duty;
10080
- readonly 'tax': io.flow.price.v0.models.Tax;
10081
- }
10082
-
10083
- interface TaxRegistration {
10084
- readonly 'id': string;
10085
- readonly 'key': string;
10086
- readonly 'number': string;
10087
- readonly 'timestamp': string;
10088
- readonly 'result': io.flow.harmonization.v0.enums.TaxVerificationResult;
10089
- readonly 'result_reason'?: string;
10090
- readonly 'name'?: string;
10091
- readonly 'address'?: string;
10092
- readonly 'company_name'?: string;
10093
- }
10094
-
10095
- interface TaxRegistrationForm {
10096
- readonly 'number': string;
10097
- readonly 'company_name'?: string;
10098
- }
10099
- }
10100
-
10101
- declare namespace io.flow.shopify.v0.enums {
10102
- type ShopifyGrant = 'customer' | 'discount' | 'gift_card' | 'metafield' | 'order';
10103
- type ShopifyLocalizationMethod = 'api' | 'ssr';
10104
- type ShopifySyncCheck = 'localized_variants' | 'flow_variant_metafields';
10105
- }
10106
-
10107
- declare namespace io.flow.shopify.v0.models {
10108
- interface FlowCenterReference {
10109
- readonly 'key': string;
10110
- }
10111
-
10112
- interface GeoForm {
10113
- readonly 'country': string;
10114
- readonly 'currency': string;
10115
- readonly 'language': string;
10116
- readonly 'locale': string;
10117
- readonly 'experience': string;
10118
- }
10119
-
10120
- interface ShopifyCart {
9658
+ interface ShopifyCart {
10121
9659
  readonly 'id': string;
10122
9660
  readonly 'items': io.flow.shopify.v0.models.ShopifyCartItem[];
10123
9661
  readonly 'item_count': number;
@@ -11509,6 +11047,7 @@ declare namespace io.flow.internal.v0.enums {
11509
11047
  type BlazeCheckoutEvent = 'begin_checkout' | 'select_promotion' | 'add_shipping_info' | 'add_payment_info' | 'purchase';
11510
11048
  type BlazeCheckoutStep = 'customer_info' | 'delivery' | 'payment';
11511
11049
  type BrowserBundleErrorCode = 'generic_error' | 'country_invalid';
11050
+ type CalculatorEngine = 'flow_rate_and_rule' | 'dtce';
11512
11051
  type CarrierLabelGenerationMethod = 'direct' | 'easypost';
11513
11052
  type CatalogImportType = 'catalog_items' | 'item_form_overlays' | 'item_prices' | 'price_book_items_import' | 'price_book_items_query_import';
11514
11053
  type ChannelCurrencyCapability = 'payment_authorizations' | 'settlement_currency';
@@ -11615,7 +11154,7 @@ declare namespace io.flow.internal.v0.enums {
11615
11154
  type DutySelectionRule = 'lookup_by_tariff_code' | 'lookup_by_hs6_code' | 'fallback_for_jurisdiction' | 'domestic_sale' | 'intra_community_sale' | 'reimport' | 'override' | 'preferential_rate';
11616
11155
  type DutySimpleExpressionType = 'free' | 'percent' | 'per_uom' | 'flat';
11617
11156
  type EmptyAttribute = 'irrelevant';
11618
- type EventType = 'adyen_authorization_deleted' | 'adyen_authorization_upserted' | 'adyen_cancel_deleted' | 'adyen_cancel_upserted' | 'adyen_capture_deleted' | 'adyen_capture_upserted' | 'adyen_refund_deleted' | 'adyen_refund_upserted' | 'billable_label_upserted' | 'billable_label_deleted' | 'account_upserted' | 'account_upserted_v2' | 'account_deleted_v2' | 'account_contact_upserted' | 'account_contact_deleted' | 'billing_statement_upserted' | 'billing_statement_deleted' | 'tax_remittance_transaction_upserted' | 'tax_remittance_transaction_deleted' | 'channel_transaction_upserted' | 'channel_transaction_deleted' | 'channel_account_upserted' | 'channel_account_deleted' | 'organization_account_upserted' | 'organization_account_deleted' | 'account_transactions_export_request' | 'account_orders_export_request' | 'main_transaction_upserted' | 'main_transaction_deleted' | 'main_transaction_upserted_v2' | 'main_transaction_deleted_v2' | 'transfer_transaction_upserted' | 'transfer_transaction_deleted' | 'transfer_transaction_upserted_v2' | 'transfer_transaction_deleted_v2' | 'processing_transaction_upserted' | 'processing_transaction_deleted' | 'bank_payment_upserted' | 'bank_payment_deleted' | 'bank_payment_upserted_v2' | 'bank_payment_deleted_v2' | 'carrier_account_upserted' | 'catalog_import_request' | 'exclusion_rule_upserted' | 'exclusion_rule_deleted' | 'exclusion_rule_export_request' | 'catalog_item_region_availabilities_published' | 'return_policy_upserted' | 'return_policy_deleted' | 'return_policy_item_result_upserted' | 'return_policy_item_result_deleted' | 'channel_order_acceptance_upserted' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'localized_content_upserted' | 'localization_upserted' | 'rate_deleted' | 'rate_upserted' | 'spot_rate_deleted' | 'spot_rate_upserted' | 'rate_deleted_v2' | 'rate_upserted_v2' | 'organization_currency_setting_upserted' | 'organization_currency_setting_deleted' | 'channel_currency_setting_upserted' | 'channel_currency_setting_deleted' | 'customer_purge_upserted' | 'customs_description_import' | 'customs_description_tariffs_import' | 'item_dimension_estimate_upserted_v2' | 'item_dimension_estimate_deleted_v2' | 'dispute_upserted' | 'dispute_deleted' | 'duty_rates_published' | 'duty_rate_request' | 'duty_rate_bulk_request' | 'duty_raw_upserted' | 'duty_raw_bulk_upserted' | 'duty_rate_upserted' | 'duty_rate_response' | 'duty_rate_bulk_response' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'order_attribute_deleted' | 'order_attribute_upserted' | 'experience_export_request' | 'experience_import_request' | 'submitted_order_upserted' | 'levy_rate_summary_upserted' | 'experiment_upserted' | 'experiment_deleted' | 'experiment_results_upserted' | 'experiment_results_deleted' | 'daily_experiment_results_upserted' | 'daily_experiment_results_deleted' | 'experiment_milestone_upserted' | 'experiment_milestone_deleted' | 'export_completed' | 'export_failed' | 'feature_upserted' | 'feature_deleted' | 'organization_boolean_value_upserted' | 'organization_boolean_value_deleted' | 'billing_organization_processing_rates_upserted' | 'billing_organization_processing_rates_deleted' | 'billing_organization_settings_upserted' | 'billing_organization_settings_deleted' | 'platform_fee_change_upserted' | 'platform_fee_change_deleted' | 'fx_revenue_recognition_upserted' | 'fx_revenue_recognition_deleted' | 'fraud_review_upserted' | 'fraud_review_deleted' | 'fraud_pending_review_upserted' | 'fraud_pending_review_deleted' | 'fraud_review_decision_upserted' | 'fraud_review_decision_deleted' | 'ftp_file_upserted' | 'ftp_file_deleted' | 'ftp_file_to_process_uploaded' | 'pregenerated_request_event' | 'all_items_export' | 'harmonized_items_hs6_export' | 'unharmonized_items_export' | 'dutied_items_export' | 'tariff_codes_export' | 'harmonization_phrase_suggestion_request_import' | 'harmonization_codes_import' | 'item_classification_created' | 'harmonize_fully_request_v2' | 'hybris_catalog_items_import_request' | 'import_completed' | 'import_failed' | 'time_to_classify_upserted' | 'time_to_classify_deleted' | 'time_to_classify_aggregated_upserted' | 'time_to_classify_aggregated_deleted' | 'rate_source_summary_upserted' | 'rate_source_summary_deleted' | 'rate_freshness_summary_upserted' | 'rate_freshness_summary_deleted' | 'item_harmonization_upserted' | 'item_harmonization_deleted' | 'harmonization_item_classification_upserted' | 'harmonization_item_classification_deleted' | 'issuer_upserted' | 'issuer_deleted' | 'item_form_import_request' | 'localized_item_upserted_v2' | 'localized_item_deleted' | 'localized_item_deleted_v2' | 'localized_item_snapshot' | 'localized_price_book_item_upserted' | 'localized_price_book_item_deleted' | 'feed_upserted' | 'feed_deleted' | 'feeds_export' | 'localized_item_prices_export_request' | 'optin_prompt_upserted' | 'optin_prompt_deleted' | 'order_fulfillment_deleted' | 'order_fulfillment_upserted' | 'order_placed' | 'ready_to_fulfill' | 'fulfillment_cancel' | 'order_shipped' | 'items_shipped' | 'internal_authorization_upserted' | 'internal_authorization_deleted' | 'afterpay_authorization_upserted' | 'afterpay_authorization_deleted' | 'afterpay_capture_upserted' | 'afterpay_capture_deleted' | 'afterpay_refund_upserted' | 'afterpay_refund_deleted' | 'adyen_merchant_account_upserted' | 'adyen_merchant_account_deleted' | 'chargeback_upserted' | 'chargeback_deleted' | 'payment_processor_account_upserted' | 'payment_processor_account_deleted' | 'payment_processor_merchant_upserted' | 'payment_processor_merchant_deleted' | 'virtual_card_provider_upserted' | 'virtual_card_provider_deleted' | 'paypal_payment_deleted' | 'paypal_payment_upserted' | 'paypal_execution_deleted' | 'paypal_execution_upserted' | 'paypal_refund_deleted' | 'paypal_refund_upserted' | 'pricing_indicator' | 'order_rates_published_v3' | 'ratecard_dimension_estimate_upserted' | 'ratecard_dimension_estimate_deleted' | 'ratecard_lanes_import_request' | 'ratecard_standard_configuration_upserted' | 'ratecard_standard_configuration_deleted' | 'ratecard_lane_aggregate_upserted' | 'ratecard_lane_aggregate_deleted' | 'shopify_shop_upserted' | 'shopify_shop_deleted' | 'shopify_experience_short_id_upserted' | 'shopify_experience_short_id_deleted' | 'stripe_authorization_deleted' | 'stripe_authorization_upserted' | 'stripe_reversal_deleted' | 'stripe_reversal_upserted' | 'stripe_capture_deleted' | 'stripe_capture_upserted' | 'stripe_refund_deleted' | 'stripe_refund_upserted' | 'svb_virtual_card_clearing_upserted' | 'svb_virtual_card_clearing_deleted' | 'liability_remittance_plan_upserted' | 'liability_remittance_plan_deleted' | 'tracking_label_event_upserted_v2' | 'tracking_label_event_deleted_v2' | 'tracking_label_upserted' | 'tracking_label_deleted' | 'tracking_upserted' | 'tracking_deleted' | 'tracking_request_upserted' | 'tracking_response_upserted' | 'user_upserted_v2' | 'user_deleted_v2';
11157
+ type EventType = 'adyen_authorization_deleted' | 'adyen_authorization_upserted' | 'adyen_cancel_deleted' | 'adyen_cancel_upserted' | 'adyen_capture_deleted' | 'adyen_capture_upserted' | 'adyen_refund_deleted' | 'adyen_refund_upserted' | 'billable_label_upserted' | 'billable_label_deleted' | 'account_upserted' | 'account_upserted_v2' | 'account_deleted_v2' | 'account_contact_upserted' | 'account_contact_deleted' | 'billing_statement_upserted' | 'billing_statement_deleted' | 'tax_remittance_transaction_upserted' | 'tax_remittance_transaction_deleted' | 'channel_account_upserted' | 'channel_account_deleted' | 'organization_account_upserted' | 'organization_account_deleted' | 'account_transactions_export_request' | 'account_orders_export_request' | 'main_transaction_upserted' | 'main_transaction_deleted' | 'main_transaction_upserted_v2' | 'main_transaction_deleted_v2' | 'transfer_transaction_upserted' | 'transfer_transaction_deleted' | 'transfer_transaction_upserted_v2' | 'transfer_transaction_deleted_v2' | 'processing_transaction_upserted' | 'processing_transaction_deleted' | 'bank_payment_upserted' | 'bank_payment_deleted' | 'bank_payment_upserted_v2' | 'bank_payment_deleted_v2' | 'carrier_account_upserted' | 'catalog_import_request' | 'exclusion_rule_upserted' | 'exclusion_rule_deleted' | 'exclusion_rule_export_request' | 'catalog_item_region_availabilities_published' | 'return_policy_upserted' | 'return_policy_deleted' | 'return_policy_item_result_upserted' | 'return_policy_item_result_deleted' | 'channel_order_acceptance_upserted' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'localized_content_upserted' | 'localization_upserted' | 'rate_deleted' | 'rate_upserted' | 'spot_rate_deleted' | 'spot_rate_upserted' | 'rate_deleted_v2' | 'rate_upserted_v2' | 'organization_currency_setting_upserted' | 'organization_currency_setting_deleted' | 'channel_currency_setting_upserted' | 'channel_currency_setting_deleted' | 'customer_purge_upserted' | 'customs_description_import' | 'customs_description_tariffs_import' | 'item_dimension_estimate_upserted_v2' | 'item_dimension_estimate_deleted_v2' | 'dispute_upserted' | 'dispute_deleted' | 'duty_rates_published' | 'duty_rate_request' | 'duty_rate_bulk_request' | 'duty_raw_upserted' | 'duty_raw_bulk_upserted' | 'duty_rate_upserted' | 'duty_rate_response' | 'duty_rate_bulk_response' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'order_attribute_deleted' | 'order_attribute_upserted' | 'experience_export_request' | 'experience_import_request' | 'submitted_order_upserted' | 'levy_rate_summary_upserted' | 'experiment_upserted' | 'experiment_deleted' | 'experiment_results_upserted' | 'experiment_results_deleted' | 'daily_experiment_results_upserted' | 'daily_experiment_results_deleted' | 'experiment_milestone_upserted' | 'experiment_milestone_deleted' | 'export_completed' | 'export_failed' | 'feature_upserted' | 'feature_deleted' | 'organization_boolean_value_upserted' | 'organization_boolean_value_deleted' | 'account_settings_upserted' | 'account_settings_deleted' | 'account_processing_rates_upserted' | 'account_processing_rates_deleted' | 'billing_organization_processing_rates_upserted' | 'billing_organization_processing_rates_deleted' | 'billing_organization_settings_upserted' | 'billing_organization_settings_deleted' | 'platform_fee_change_upserted' | 'platform_fee_change_deleted' | 'fx_revenue_recognition_upserted' | 'fx_revenue_recognition_deleted' | 'fraud_review_upserted' | 'fraud_review_deleted' | 'fraud_pending_review_upserted' | 'fraud_pending_review_deleted' | 'fraud_review_decision_upserted' | 'fraud_review_decision_deleted' | 'ftp_file_upserted' | 'ftp_file_deleted' | 'ftp_file_to_process_uploaded' | 'pregenerated_request_event' | 'all_items_export' | 'harmonized_items_hs6_export' | 'unharmonized_items_export' | 'dutied_items_export' | 'tariff_codes_export' | 'harmonization_phrase_suggestion_request_import' | 'harmonization_codes_import' | 'item_classification_created' | 'harmonize_fully_request_v2' | 'hybris_catalog_items_import_request' | 'import_completed' | 'import_failed' | 'time_to_classify_upserted' | 'time_to_classify_deleted' | 'time_to_classify_aggregated_upserted' | 'time_to_classify_aggregated_deleted' | 'rate_source_summary_upserted' | 'rate_source_summary_deleted' | 'rate_freshness_summary_upserted' | 'rate_freshness_summary_deleted' | 'item_harmonization_upserted' | 'item_harmonization_deleted' | 'harmonization_item_classification_upserted' | 'harmonization_item_classification_deleted' | 'issuer_upserted' | 'issuer_deleted' | 'item_form_import_request' | 'localized_item_upserted_v2' | 'localized_item_deleted' | 'localized_item_deleted_v2' | 'localized_item_snapshot' | 'localized_price_book_item_upserted' | 'localized_price_book_item_deleted' | 'feed_upserted' | 'feed_deleted' | 'feeds_export' | 'localized_item_prices_export_request' | 'optin_prompt_upserted' | 'optin_prompt_deleted' | 'order_fulfillment_deleted' | 'order_fulfillment_upserted' | 'order_placed' | 'ready_to_fulfill' | 'fulfillment_cancel' | 'order_shipped' | 'items_shipped' | 'internal_authorization_upserted' | 'internal_authorization_deleted' | 'afterpay_authorization_upserted' | 'afterpay_authorization_deleted' | 'afterpay_capture_upserted' | 'afterpay_capture_deleted' | 'afterpay_refund_upserted' | 'afterpay_refund_deleted' | 'adyen_merchant_account_upserted' | 'adyen_merchant_account_deleted' | 'chargeback_upserted' | 'chargeback_deleted' | 'payment_processor_account_upserted' | 'payment_processor_account_deleted' | 'payment_processor_merchant_upserted' | 'payment_processor_merchant_deleted' | 'virtual_card_provider_upserted' | 'virtual_card_provider_deleted' | 'paypal_payment_deleted' | 'paypal_payment_upserted' | 'paypal_execution_deleted' | 'paypal_execution_upserted' | 'paypal_refund_deleted' | 'paypal_refund_upserted' | 'pricing_indicator' | 'order_rates_published_v3' | 'ratecard_dimension_estimate_upserted' | 'ratecard_dimension_estimate_deleted' | 'ratecard_lanes_import_request' | 'ratecard_standard_configuration_upserted' | 'ratecard_standard_configuration_deleted' | 'ratecard_lane_aggregate_upserted' | 'ratecard_lane_aggregate_deleted' | 'shopify_shop_upserted' | 'shopify_shop_deleted' | 'shopify_experience_short_id_upserted' | 'shopify_experience_short_id_deleted' | 'stripe_authorization_deleted' | 'stripe_authorization_upserted' | 'stripe_reversal_deleted' | 'stripe_reversal_upserted' | 'stripe_capture_deleted' | 'stripe_capture_upserted' | 'stripe_refund_deleted' | 'stripe_refund_upserted' | 'svb_virtual_card_clearing_upserted' | 'svb_virtual_card_clearing_deleted' | 'liability_remittance_plan_upserted' | 'liability_remittance_plan_deleted' | 'tracking_label_event_upserted_v2' | 'tracking_label_event_deleted_v2' | 'tracking_label_upserted' | 'tracking_label_deleted' | 'tracking_upserted' | 'tracking_deleted' | 'tracking_request_upserted' | 'tracking_response_upserted' | 'user_upserted_v2' | 'user_deleted_v2';
11619
11158
  type ExperienceImportType = 'experience_with_settings';
11620
11159
  type ExperienceOrderAction = 'submit' | 'refund_gift_cards';
11621
11160
  type ExperienceOrderActionTrigger = 'zero_balance' | 'unsubmitted_order';
@@ -11812,11 +11351,73 @@ declare namespace io.flow.internal.v0.models {
11812
11351
  readonly 'transaction_created_before'?: string;
11813
11352
  }
11814
11353
 
11354
+ interface AccountProcessingRateForm {
11355
+ readonly 'query': string;
11356
+ readonly 'capture': number;
11357
+ readonly 'refund': number;
11358
+ readonly 'fraud': number;
11359
+ }
11360
+
11361
+ interface AccountProcessingRates {
11362
+ readonly 'id': string;
11363
+ readonly 'query': string;
11364
+ readonly 'capture': number;
11365
+ readonly 'refund': number;
11366
+ readonly 'fraud': number;
11367
+ readonly 'position': number;
11368
+ }
11369
+
11370
+ interface AccountProcessingRatesDeleted {
11371
+ readonly 'discriminator': 'account_processing_rates_deleted';
11372
+ readonly 'event_id': string;
11373
+ readonly 'timestamp': string;
11374
+ readonly 'id': string;
11375
+ }
11376
+
11377
+ interface AccountProcessingRatesForm {
11378
+ readonly 'processing_rates': io.flow.internal.v0.models.AccountProcessingRateForm[];
11379
+ }
11380
+
11381
+ interface AccountProcessingRatesUpserted {
11382
+ readonly 'discriminator': 'account_processing_rates_upserted';
11383
+ readonly 'event_id': string;
11384
+ readonly 'timestamp': string;
11385
+ readonly 'rates': io.flow.internal.v0.models.AccountProcessingRates;
11386
+ }
11387
+
11815
11388
  interface AccountReference {
11816
11389
  readonly 'id': string;
11817
11390
  readonly 'currency': string;
11818
11391
  }
11819
11392
 
11393
+ interface AccountSettings {
11394
+ readonly 'id': string;
11395
+ readonly 'days_until_posted': number;
11396
+ readonly 'logistics': io.flow.internal.v0.enums.ResponsibleParty;
11397
+ readonly 'include_transaction_created_at': boolean;
11398
+ readonly 'include_order_exchange_rate': boolean;
11399
+ readonly 'send_statements_to_flow_ftp_server': boolean;
11400
+ readonly 'invoicing_terms'?: io.flow.internal.v0.enums.PaymentTerm;
11401
+ readonly 'transfer_method'?: io.flow.internal.v0.enums.TransferMethod;
11402
+ readonly 'b2b_tax_remittance_days'?: number;
11403
+ readonly 'merchant_of_record_fee'?: number;
11404
+ readonly 'order_service_fee'?: io.flow.internal.v0.models.OrderServiceFee;
11405
+ }
11406
+
11407
+ interface AccountSettingsDeleted {
11408
+ readonly 'discriminator': 'account_settings_deleted';
11409
+ readonly 'event_id': string;
11410
+ readonly 'timestamp': string;
11411
+ readonly 'id': string;
11412
+ }
11413
+
11414
+ interface AccountSettingsUpserted {
11415
+ readonly 'discriminator': 'account_settings_upserted';
11416
+ readonly 'event_id': string;
11417
+ readonly 'timestamp': string;
11418
+ readonly 'settings': io.flow.internal.v0.models.AccountSettings;
11419
+ }
11420
+
11820
11421
  interface AccountStatistics {
11821
11422
  readonly 'transfers': io.flow.common.v0.models.Price;
11822
11423
  readonly 'balance': io.flow.common.v0.models.Price;
@@ -12436,13 +12037,6 @@ declare namespace io.flow.internal.v0.models {
12436
12037
  readonly 'destination'?: io.flow.internal.v0.models.BillingOrderDestination;
12437
12038
  }
12438
12039
 
12439
- interface BillingOrganizationProcessingRateForm {
12440
- readonly 'query': string;
12441
- readonly 'capture': number;
12442
- readonly 'refund': number;
12443
- readonly 'fraud': number;
12444
- }
12445
-
12446
12040
  interface BillingOrganizationProcessingRates {
12447
12041
  readonly 'id': string;
12448
12042
  readonly 'query': string;
@@ -12460,10 +12054,6 @@ declare namespace io.flow.internal.v0.models {
12460
12054
  readonly 'id': string;
12461
12055
  }
12462
12056
 
12463
- interface BillingOrganizationProcessingRatesForm {
12464
- readonly 'processing_rates': io.flow.internal.v0.models.BillingOrganizationProcessingRateForm[];
12465
- }
12466
-
12467
12057
  interface BillingOrganizationProcessingRatesUpserted {
12468
12058
  readonly 'discriminator': 'billing_organization_processing_rates_upserted';
12469
12059
  readonly 'event_id': string;
@@ -13080,22 +12670,6 @@ declare namespace io.flow.internal.v0.models {
13080
12670
  readonly 'description'?: string;
13081
12671
  }
13082
12672
 
13083
- interface ChannelTransactionDeleted {
13084
- readonly 'discriminator': 'channel_transaction_deleted';
13085
- readonly 'event_id': string;
13086
- readonly 'timestamp': string;
13087
- readonly 'organization': string;
13088
- readonly 'channel_transaction': io.flow.billing.internal.v0.models.ChannelTransaction;
13089
- }
13090
-
13091
- interface ChannelTransactionUpserted {
13092
- readonly 'discriminator': 'channel_transaction_upserted';
13093
- readonly 'event_id': string;
13094
- readonly 'timestamp': string;
13095
- readonly 'organization': string;
13096
- readonly 'channel_transaction': io.flow.billing.internal.v0.models.ChannelTransaction;
13097
- }
13098
-
13099
12673
  interface Chargeback {
13100
12674
  readonly 'id': string;
13101
12675
  readonly 'key': string;
@@ -21848,7 +21422,7 @@ declare namespace io.flow.internal.v0.unions {
21848
21422
  type DiscountRequestOfferForm = (io.flow.internal.v0.models.DiscountRequestOfferFixedAmountForm);
21849
21423
  type DisputeDetails = (io.flow.internal.v0.models.DisputeDetailsAdyen | io.flow.internal.v0.models.DisputeDetailsPaypal);
21850
21424
  type DutyExpression = (io.flow.internal.v0.models.DutyCompoundExpression | io.flow.internal.v0.models.DutySimpleExpression);
21851
- type Event = (io.flow.internal.v0.models.AdyenAuthorizationDeleted | io.flow.internal.v0.models.AdyenAuthorizationUpserted | io.flow.internal.v0.models.AdyenCancelDeleted | io.flow.internal.v0.models.AdyenCancelUpserted | io.flow.internal.v0.models.AdyenCaptureDeleted | io.flow.internal.v0.models.AdyenCaptureUpserted | io.flow.internal.v0.models.AdyenRefundDeleted | io.flow.internal.v0.models.AdyenRefundUpserted | io.flow.internal.v0.models.BillableLabelUpserted | io.flow.internal.v0.models.BillableLabelDeleted | io.flow.internal.v0.models.AccountUpserted | io.flow.internal.v0.models.AccountUpsertedV2 | io.flow.internal.v0.models.AccountDeletedV2 | io.flow.internal.v0.models.AccountContactUpserted | io.flow.internal.v0.models.AccountContactDeleted | io.flow.internal.v0.models.BillingStatementUpserted | io.flow.internal.v0.models.BillingStatementDeleted | io.flow.internal.v0.models.TaxRemittanceTransactionUpserted | io.flow.internal.v0.models.TaxRemittanceTransactionDeleted | io.flow.internal.v0.models.ChannelTransactionUpserted | io.flow.internal.v0.models.ChannelTransactionDeleted | io.flow.internal.v0.models.ChannelAccountUpserted | io.flow.internal.v0.models.ChannelAccountDeleted | io.flow.internal.v0.models.OrganizationAccountUpserted | io.flow.internal.v0.models.OrganizationAccountDeleted | io.flow.internal.v0.models.AccountTransactionsExportRequest | io.flow.internal.v0.models.AccountOrdersExportRequest | io.flow.internal.v0.models.MainTransactionUpserted | io.flow.internal.v0.models.MainTransactionDeleted | io.flow.internal.v0.models.MainTransactionUpsertedV2 | io.flow.internal.v0.models.MainTransactionDeletedV2 | io.flow.internal.v0.models.TransferTransactionUpserted | io.flow.internal.v0.models.TransferTransactionDeleted | io.flow.internal.v0.models.TransferTransactionUpsertedV2 | io.flow.internal.v0.models.TransferTransactionDeletedV2 | io.flow.internal.v0.models.ProcessingTransactionUpserted | io.flow.internal.v0.models.ProcessingTransactionDeleted | io.flow.internal.v0.models.BankPaymentUpserted | io.flow.internal.v0.models.BankPaymentDeleted | io.flow.internal.v0.models.BankPaymentUpsertedV2 | io.flow.internal.v0.models.BankPaymentDeletedV2 | io.flow.internal.v0.models.CarrierAccountUpserted | io.flow.internal.v0.models.CatalogImportRequest | io.flow.internal.v0.models.ExclusionRuleUpserted | io.flow.internal.v0.models.ExclusionRuleDeleted | io.flow.internal.v0.models.ExclusionRuleExportRequest | io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished | io.flow.internal.v0.models.ReturnPolicyUpserted | io.flow.internal.v0.models.ReturnPolicyDeleted | io.flow.internal.v0.models.ReturnPolicyItemResultUpserted | io.flow.internal.v0.models.ReturnPolicyItemResultDeleted | io.flow.internal.v0.models.ChannelOrderAcceptanceUpserted | io.flow.internal.v0.models.CheckoutConfigurationUpserted | io.flow.internal.v0.models.CheckoutConfigurationDeleted | io.flow.internal.v0.models.LocalizedContentUpserted | io.flow.internal.v0.models.LocalizationUpserted | io.flow.internal.v0.models.RateDeleted | io.flow.internal.v0.models.RateUpserted | io.flow.internal.v0.models.SpotRateDeleted | io.flow.internal.v0.models.SpotRateUpserted | io.flow.internal.v0.models.RateDeletedV2 | io.flow.internal.v0.models.RateUpsertedV2 | io.flow.internal.v0.models.OrganizationCurrencySettingUpserted | io.flow.internal.v0.models.OrganizationCurrencySettingDeleted | io.flow.internal.v0.models.ChannelCurrencySettingUpserted | io.flow.internal.v0.models.ChannelCurrencySettingDeleted | io.flow.internal.v0.models.CustomerPurgeUpserted | io.flow.internal.v0.models.CustomsDescriptionImport | io.flow.internal.v0.models.CustomsDescriptionTariffsImport | io.flow.internal.v0.models.ItemDimensionEstimateUpsertedV2 | io.flow.internal.v0.models.ItemDimensionEstimateDeletedV2 | io.flow.internal.v0.models.DisputeUpserted | io.flow.internal.v0.models.DisputeDeleted | io.flow.internal.v0.models.DutyRatesPublished | io.flow.internal.v0.models.DutyRateRequest | io.flow.internal.v0.models.DutyRateBulkRequest | io.flow.internal.v0.models.DutyRawUpserted | io.flow.internal.v0.models.DutyRawBulkUpserted | io.flow.internal.v0.models.DutyRateUpserted | io.flow.internal.v0.models.DutyRateResponse | io.flow.internal.v0.models.DutyRateBulkResponse | io.flow.internal.v0.models.ItemSalesMarginDeleted | io.flow.internal.v0.models.ItemSalesMarginUpserted | io.flow.internal.v0.models.OrderAttributeDeleted | io.flow.internal.v0.models.OrderAttributeUpserted | io.flow.internal.v0.models.ExperienceExportRequest | io.flow.internal.v0.models.ExperienceImportRequest | io.flow.internal.v0.models.SubmittedOrderUpserted | io.flow.internal.v0.models.LevyRateSummaryUpserted | io.flow.internal.v0.models.ExperimentUpserted | io.flow.internal.v0.models.ExperimentDeleted | io.flow.internal.v0.models.ExperimentResultsUpserted | io.flow.internal.v0.models.ExperimentResultsDeleted | io.flow.internal.v0.models.DailyExperimentResultsUpserted | io.flow.internal.v0.models.DailyExperimentResultsDeleted | io.flow.internal.v0.models.ExperimentMilestoneUpserted | io.flow.internal.v0.models.ExperimentMilestoneDeleted | io.flow.internal.v0.models.ExportCompleted | io.flow.internal.v0.models.ExportFailed | io.flow.internal.v0.models.FeatureUpserted | io.flow.internal.v0.models.FeatureDeleted | io.flow.internal.v0.models.OrganizationBooleanValueUpserted | io.flow.internal.v0.models.OrganizationBooleanValueDeleted | io.flow.internal.v0.models.BillingOrganizationProcessingRatesUpserted | io.flow.internal.v0.models.BillingOrganizationProcessingRatesDeleted | io.flow.internal.v0.models.BillingOrganizationSettingsUpserted | io.flow.internal.v0.models.BillingOrganizationSettingsDeleted | io.flow.internal.v0.models.PlatformFeeChangeUpserted | io.flow.internal.v0.models.PlatformFeeChangeDeleted | io.flow.internal.v0.models.FxRevenueRecognitionUpserted | io.flow.internal.v0.models.FxRevenueRecognitionDeleted | io.flow.internal.v0.models.FraudReviewUpserted | io.flow.internal.v0.models.FraudReviewDeleted | io.flow.internal.v0.models.FraudPendingReviewUpserted | io.flow.internal.v0.models.FraudPendingReviewDeleted | io.flow.internal.v0.models.FraudReviewDecisionUpserted | io.flow.internal.v0.models.FraudReviewDecisionDeleted | io.flow.internal.v0.models.FtpFileUpserted | io.flow.internal.v0.models.FtpFileDeleted | io.flow.internal.v0.models.FtpFileToProcessUploaded | io.flow.internal.v0.models.PregeneratedRequestEvent | io.flow.internal.v0.models.AllItemsExport | io.flow.internal.v0.models.HarmonizedItemsHs6Export | io.flow.internal.v0.models.UnharmonizedItemsExport | io.flow.internal.v0.models.DutiedItemsExport | io.flow.internal.v0.models.TariffCodesExport | io.flow.internal.v0.models.HarmonizationPhraseSuggestionRequestImport | io.flow.internal.v0.models.HarmonizationCodesImport | io.flow.internal.v0.models.ItemClassificationCreated | io.flow.internal.v0.models.HarmonizeFullyRequestV2 | io.flow.internal.v0.models.HybrisCatalogItemsImportRequest | io.flow.internal.v0.models.ImportCompleted | io.flow.internal.v0.models.ImportFailed | io.flow.internal.v0.models.TimeToClassifyUpserted | io.flow.internal.v0.models.TimeToClassifyDeleted | io.flow.internal.v0.models.TimeToClassifyAggregatedUpserted | io.flow.internal.v0.models.TimeToClassifyAggregatedDeleted | io.flow.internal.v0.models.RateSourceSummaryUpserted | io.flow.internal.v0.models.RateSourceSummaryDeleted | io.flow.internal.v0.models.RateFreshnessSummaryUpserted | io.flow.internal.v0.models.RateFreshnessSummaryDeleted | io.flow.internal.v0.models.ItemHarmonizationUpserted | io.flow.internal.v0.models.ItemHarmonizationDeleted | io.flow.internal.v0.models.HarmonizationItemClassificationUpserted | io.flow.internal.v0.models.HarmonizationItemClassificationDeleted | io.flow.internal.v0.models.IssuerUpserted | io.flow.internal.v0.models.IssuerDeleted | io.flow.internal.v0.models.ItemFormImportRequest | io.flow.internal.v0.models.LocalizedItemUpsertedV2 | io.flow.internal.v0.models.LocalizedItemDeleted | io.flow.internal.v0.models.LocalizedItemDeletedV2 | io.flow.internal.v0.models.LocalizedItemSnapshot | io.flow.internal.v0.models.LocalizedPriceBookItemUpserted | io.flow.internal.v0.models.LocalizedPriceBookItemDeleted | io.flow.internal.v0.models.FeedUpserted | io.flow.internal.v0.models.FeedDeleted | io.flow.internal.v0.models.FeedsExport | io.flow.internal.v0.models.LocalizedItemPricesExportRequest | io.flow.internal.v0.models.OptinPromptUpserted | io.flow.internal.v0.models.OptinPromptDeleted | io.flow.internal.v0.models.OrderFulfillmentDeleted | io.flow.internal.v0.models.OrderFulfillmentUpserted | io.flow.internal.v0.models.OrderPlaced | io.flow.internal.v0.models.ReadyToFulfill | io.flow.internal.v0.models.FulfillmentCancel | io.flow.internal.v0.models.OrderShipped | io.flow.internal.v0.models.ItemsShipped | io.flow.internal.v0.models.InternalAuthorizationUpserted | io.flow.internal.v0.models.InternalAuthorizationDeleted | io.flow.internal.v0.models.AfterpayAuthorizationUpserted | io.flow.internal.v0.models.AfterpayAuthorizationDeleted | io.flow.internal.v0.models.AfterpayCaptureUpserted | io.flow.internal.v0.models.AfterpayCaptureDeleted | io.flow.internal.v0.models.AfterpayRefundUpserted | io.flow.internal.v0.models.AfterpayRefundDeleted | io.flow.internal.v0.models.AdyenMerchantAccountUpserted | io.flow.internal.v0.models.AdyenMerchantAccountDeleted | io.flow.internal.v0.models.ChargebackUpserted | io.flow.internal.v0.models.ChargebackDeleted | io.flow.internal.v0.models.PaymentProcessorAccountUpserted | io.flow.internal.v0.models.PaymentProcessorAccountDeleted | io.flow.internal.v0.models.PaymentProcessorMerchantUpserted | io.flow.internal.v0.models.PaymentProcessorMerchantDeleted | io.flow.internal.v0.models.VirtualCardProviderUpserted | io.flow.internal.v0.models.VirtualCardProviderDeleted | io.flow.internal.v0.models.PaypalPaymentDeleted | io.flow.internal.v0.models.PaypalPaymentUpserted | io.flow.internal.v0.models.PaypalExecutionDeleted | io.flow.internal.v0.models.PaypalExecutionUpserted | io.flow.internal.v0.models.PaypalRefundDeleted | io.flow.internal.v0.models.PaypalRefundUpserted | io.flow.internal.v0.models.PricingIndicator | io.flow.internal.v0.models.OrderRatesPublishedV3 | io.flow.internal.v0.models.RatecardDimensionEstimateUpserted | io.flow.internal.v0.models.RatecardDimensionEstimateDeleted | io.flow.internal.v0.models.RatecardLanesImportRequest | io.flow.internal.v0.models.RatecardStandardConfigurationUpserted | io.flow.internal.v0.models.RatecardStandardConfigurationDeleted | io.flow.internal.v0.models.RatecardLaneAggregateUpserted | io.flow.internal.v0.models.RatecardLaneAggregateDeleted | io.flow.internal.v0.models.ShopifyShopUpserted | io.flow.internal.v0.models.ShopifyShopDeleted | io.flow.internal.v0.models.ShopifyExperienceShortIdUpserted | io.flow.internal.v0.models.ShopifyExperienceShortIdDeleted | io.flow.internal.v0.models.StripeAuthorizationDeleted | io.flow.internal.v0.models.StripeAuthorizationUpserted | io.flow.internal.v0.models.StripeReversalDeleted | io.flow.internal.v0.models.StripeReversalUpserted | io.flow.internal.v0.models.StripeCaptureDeleted | io.flow.internal.v0.models.StripeCaptureUpserted | io.flow.internal.v0.models.StripeRefundDeleted | io.flow.internal.v0.models.StripeRefundUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingDeleted | io.flow.internal.v0.models.LiabilityRemittancePlanUpserted | io.flow.internal.v0.models.LiabilityRemittancePlanDeleted | io.flow.internal.v0.models.TrackingLabelEventUpsertedV2 | io.flow.internal.v0.models.TrackingLabelEventDeletedV2 | io.flow.internal.v0.models.TrackingLabelUpserted | io.flow.internal.v0.models.TrackingLabelDeleted | io.flow.internal.v0.models.TrackingUpserted | io.flow.internal.v0.models.TrackingDeleted | io.flow.internal.v0.models.TrackingRequestUpserted | io.flow.internal.v0.models.TrackingResponseUpserted | io.flow.internal.v0.models.UserUpsertedV2 | io.flow.internal.v0.models.UserDeletedV2);
21425
+ type Event = (io.flow.internal.v0.models.AdyenAuthorizationDeleted | io.flow.internal.v0.models.AdyenAuthorizationUpserted | io.flow.internal.v0.models.AdyenCancelDeleted | io.flow.internal.v0.models.AdyenCancelUpserted | io.flow.internal.v0.models.AdyenCaptureDeleted | io.flow.internal.v0.models.AdyenCaptureUpserted | io.flow.internal.v0.models.AdyenRefundDeleted | io.flow.internal.v0.models.AdyenRefundUpserted | io.flow.internal.v0.models.BillableLabelUpserted | io.flow.internal.v0.models.BillableLabelDeleted | io.flow.internal.v0.models.AccountUpserted | io.flow.internal.v0.models.AccountUpsertedV2 | io.flow.internal.v0.models.AccountDeletedV2 | io.flow.internal.v0.models.AccountContactUpserted | io.flow.internal.v0.models.AccountContactDeleted | io.flow.internal.v0.models.BillingStatementUpserted | io.flow.internal.v0.models.BillingStatementDeleted | io.flow.internal.v0.models.TaxRemittanceTransactionUpserted | io.flow.internal.v0.models.TaxRemittanceTransactionDeleted | io.flow.internal.v0.models.ChannelAccountUpserted | io.flow.internal.v0.models.ChannelAccountDeleted | io.flow.internal.v0.models.OrganizationAccountUpserted | io.flow.internal.v0.models.OrganizationAccountDeleted | io.flow.internal.v0.models.AccountTransactionsExportRequest | io.flow.internal.v0.models.AccountOrdersExportRequest | io.flow.internal.v0.models.MainTransactionUpserted | io.flow.internal.v0.models.MainTransactionDeleted | io.flow.internal.v0.models.MainTransactionUpsertedV2 | io.flow.internal.v0.models.MainTransactionDeletedV2 | io.flow.internal.v0.models.TransferTransactionUpserted | io.flow.internal.v0.models.TransferTransactionDeleted | io.flow.internal.v0.models.TransferTransactionUpsertedV2 | io.flow.internal.v0.models.TransferTransactionDeletedV2 | io.flow.internal.v0.models.ProcessingTransactionUpserted | io.flow.internal.v0.models.ProcessingTransactionDeleted | io.flow.internal.v0.models.BankPaymentUpserted | io.flow.internal.v0.models.BankPaymentDeleted | io.flow.internal.v0.models.BankPaymentUpsertedV2 | io.flow.internal.v0.models.BankPaymentDeletedV2 | io.flow.internal.v0.models.CarrierAccountUpserted | io.flow.internal.v0.models.CatalogImportRequest | io.flow.internal.v0.models.ExclusionRuleUpserted | io.flow.internal.v0.models.ExclusionRuleDeleted | io.flow.internal.v0.models.ExclusionRuleExportRequest | io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished | io.flow.internal.v0.models.ReturnPolicyUpserted | io.flow.internal.v0.models.ReturnPolicyDeleted | io.flow.internal.v0.models.ReturnPolicyItemResultUpserted | io.flow.internal.v0.models.ReturnPolicyItemResultDeleted | io.flow.internal.v0.models.ChannelOrderAcceptanceUpserted | io.flow.internal.v0.models.CheckoutConfigurationUpserted | io.flow.internal.v0.models.CheckoutConfigurationDeleted | io.flow.internal.v0.models.LocalizedContentUpserted | io.flow.internal.v0.models.LocalizationUpserted | io.flow.internal.v0.models.RateDeleted | io.flow.internal.v0.models.RateUpserted | io.flow.internal.v0.models.SpotRateDeleted | io.flow.internal.v0.models.SpotRateUpserted | io.flow.internal.v0.models.RateDeletedV2 | io.flow.internal.v0.models.RateUpsertedV2 | io.flow.internal.v0.models.OrganizationCurrencySettingUpserted | io.flow.internal.v0.models.OrganizationCurrencySettingDeleted | io.flow.internal.v0.models.ChannelCurrencySettingUpserted | io.flow.internal.v0.models.ChannelCurrencySettingDeleted | io.flow.internal.v0.models.CustomerPurgeUpserted | io.flow.internal.v0.models.CustomsDescriptionImport | io.flow.internal.v0.models.CustomsDescriptionTariffsImport | io.flow.internal.v0.models.ItemDimensionEstimateUpsertedV2 | io.flow.internal.v0.models.ItemDimensionEstimateDeletedV2 | io.flow.internal.v0.models.DisputeUpserted | io.flow.internal.v0.models.DisputeDeleted | io.flow.internal.v0.models.DutyRatesPublished | io.flow.internal.v0.models.DutyRateRequest | io.flow.internal.v0.models.DutyRateBulkRequest | io.flow.internal.v0.models.DutyRawUpserted | io.flow.internal.v0.models.DutyRawBulkUpserted | io.flow.internal.v0.models.DutyRateUpserted | io.flow.internal.v0.models.DutyRateResponse | io.flow.internal.v0.models.DutyRateBulkResponse | io.flow.internal.v0.models.ItemSalesMarginDeleted | io.flow.internal.v0.models.ItemSalesMarginUpserted | io.flow.internal.v0.models.OrderAttributeDeleted | io.flow.internal.v0.models.OrderAttributeUpserted | io.flow.internal.v0.models.ExperienceExportRequest | io.flow.internal.v0.models.ExperienceImportRequest | io.flow.internal.v0.models.SubmittedOrderUpserted | io.flow.internal.v0.models.LevyRateSummaryUpserted | io.flow.internal.v0.models.ExperimentUpserted | io.flow.internal.v0.models.ExperimentDeleted | io.flow.internal.v0.models.ExperimentResultsUpserted | io.flow.internal.v0.models.ExperimentResultsDeleted | io.flow.internal.v0.models.DailyExperimentResultsUpserted | io.flow.internal.v0.models.DailyExperimentResultsDeleted | io.flow.internal.v0.models.ExperimentMilestoneUpserted | io.flow.internal.v0.models.ExperimentMilestoneDeleted | io.flow.internal.v0.models.ExportCompleted | io.flow.internal.v0.models.ExportFailed | io.flow.internal.v0.models.FeatureUpserted | io.flow.internal.v0.models.FeatureDeleted | io.flow.internal.v0.models.OrganizationBooleanValueUpserted | io.flow.internal.v0.models.OrganizationBooleanValueDeleted | io.flow.internal.v0.models.AccountSettingsUpserted | io.flow.internal.v0.models.AccountSettingsDeleted | io.flow.internal.v0.models.AccountProcessingRatesUpserted | io.flow.internal.v0.models.AccountProcessingRatesDeleted | io.flow.internal.v0.models.BillingOrganizationProcessingRatesUpserted | io.flow.internal.v0.models.BillingOrganizationProcessingRatesDeleted | io.flow.internal.v0.models.BillingOrganizationSettingsUpserted | io.flow.internal.v0.models.BillingOrganizationSettingsDeleted | io.flow.internal.v0.models.PlatformFeeChangeUpserted | io.flow.internal.v0.models.PlatformFeeChangeDeleted | io.flow.internal.v0.models.FxRevenueRecognitionUpserted | io.flow.internal.v0.models.FxRevenueRecognitionDeleted | io.flow.internal.v0.models.FraudReviewUpserted | io.flow.internal.v0.models.FraudReviewDeleted | io.flow.internal.v0.models.FraudPendingReviewUpserted | io.flow.internal.v0.models.FraudPendingReviewDeleted | io.flow.internal.v0.models.FraudReviewDecisionUpserted | io.flow.internal.v0.models.FraudReviewDecisionDeleted | io.flow.internal.v0.models.FtpFileUpserted | io.flow.internal.v0.models.FtpFileDeleted | io.flow.internal.v0.models.FtpFileToProcessUploaded | io.flow.internal.v0.models.PregeneratedRequestEvent | io.flow.internal.v0.models.AllItemsExport | io.flow.internal.v0.models.HarmonizedItemsHs6Export | io.flow.internal.v0.models.UnharmonizedItemsExport | io.flow.internal.v0.models.DutiedItemsExport | io.flow.internal.v0.models.TariffCodesExport | io.flow.internal.v0.models.HarmonizationPhraseSuggestionRequestImport | io.flow.internal.v0.models.HarmonizationCodesImport | io.flow.internal.v0.models.ItemClassificationCreated | io.flow.internal.v0.models.HarmonizeFullyRequestV2 | io.flow.internal.v0.models.HybrisCatalogItemsImportRequest | io.flow.internal.v0.models.ImportCompleted | io.flow.internal.v0.models.ImportFailed | io.flow.internal.v0.models.TimeToClassifyUpserted | io.flow.internal.v0.models.TimeToClassifyDeleted | io.flow.internal.v0.models.TimeToClassifyAggregatedUpserted | io.flow.internal.v0.models.TimeToClassifyAggregatedDeleted | io.flow.internal.v0.models.RateSourceSummaryUpserted | io.flow.internal.v0.models.RateSourceSummaryDeleted | io.flow.internal.v0.models.RateFreshnessSummaryUpserted | io.flow.internal.v0.models.RateFreshnessSummaryDeleted | io.flow.internal.v0.models.ItemHarmonizationUpserted | io.flow.internal.v0.models.ItemHarmonizationDeleted | io.flow.internal.v0.models.HarmonizationItemClassificationUpserted | io.flow.internal.v0.models.HarmonizationItemClassificationDeleted | io.flow.internal.v0.models.IssuerUpserted | io.flow.internal.v0.models.IssuerDeleted | io.flow.internal.v0.models.ItemFormImportRequest | io.flow.internal.v0.models.LocalizedItemUpsertedV2 | io.flow.internal.v0.models.LocalizedItemDeleted | io.flow.internal.v0.models.LocalizedItemDeletedV2 | io.flow.internal.v0.models.LocalizedItemSnapshot | io.flow.internal.v0.models.LocalizedPriceBookItemUpserted | io.flow.internal.v0.models.LocalizedPriceBookItemDeleted | io.flow.internal.v0.models.FeedUpserted | io.flow.internal.v0.models.FeedDeleted | io.flow.internal.v0.models.FeedsExport | io.flow.internal.v0.models.LocalizedItemPricesExportRequest | io.flow.internal.v0.models.OptinPromptUpserted | io.flow.internal.v0.models.OptinPromptDeleted | io.flow.internal.v0.models.OrderFulfillmentDeleted | io.flow.internal.v0.models.OrderFulfillmentUpserted | io.flow.internal.v0.models.OrderPlaced | io.flow.internal.v0.models.ReadyToFulfill | io.flow.internal.v0.models.FulfillmentCancel | io.flow.internal.v0.models.OrderShipped | io.flow.internal.v0.models.ItemsShipped | io.flow.internal.v0.models.InternalAuthorizationUpserted | io.flow.internal.v0.models.InternalAuthorizationDeleted | io.flow.internal.v0.models.AfterpayAuthorizationUpserted | io.flow.internal.v0.models.AfterpayAuthorizationDeleted | io.flow.internal.v0.models.AfterpayCaptureUpserted | io.flow.internal.v0.models.AfterpayCaptureDeleted | io.flow.internal.v0.models.AfterpayRefundUpserted | io.flow.internal.v0.models.AfterpayRefundDeleted | io.flow.internal.v0.models.AdyenMerchantAccountUpserted | io.flow.internal.v0.models.AdyenMerchantAccountDeleted | io.flow.internal.v0.models.ChargebackUpserted | io.flow.internal.v0.models.ChargebackDeleted | io.flow.internal.v0.models.PaymentProcessorAccountUpserted | io.flow.internal.v0.models.PaymentProcessorAccountDeleted | io.flow.internal.v0.models.PaymentProcessorMerchantUpserted | io.flow.internal.v0.models.PaymentProcessorMerchantDeleted | io.flow.internal.v0.models.VirtualCardProviderUpserted | io.flow.internal.v0.models.VirtualCardProviderDeleted | io.flow.internal.v0.models.PaypalPaymentDeleted | io.flow.internal.v0.models.PaypalPaymentUpserted | io.flow.internal.v0.models.PaypalExecutionDeleted | io.flow.internal.v0.models.PaypalExecutionUpserted | io.flow.internal.v0.models.PaypalRefundDeleted | io.flow.internal.v0.models.PaypalRefundUpserted | io.flow.internal.v0.models.PricingIndicator | io.flow.internal.v0.models.OrderRatesPublishedV3 | io.flow.internal.v0.models.RatecardDimensionEstimateUpserted | io.flow.internal.v0.models.RatecardDimensionEstimateDeleted | io.flow.internal.v0.models.RatecardLanesImportRequest | io.flow.internal.v0.models.RatecardStandardConfigurationUpserted | io.flow.internal.v0.models.RatecardStandardConfigurationDeleted | io.flow.internal.v0.models.RatecardLaneAggregateUpserted | io.flow.internal.v0.models.RatecardLaneAggregateDeleted | io.flow.internal.v0.models.ShopifyShopUpserted | io.flow.internal.v0.models.ShopifyShopDeleted | io.flow.internal.v0.models.ShopifyExperienceShortIdUpserted | io.flow.internal.v0.models.ShopifyExperienceShortIdDeleted | io.flow.internal.v0.models.StripeAuthorizationDeleted | io.flow.internal.v0.models.StripeAuthorizationUpserted | io.flow.internal.v0.models.StripeReversalDeleted | io.flow.internal.v0.models.StripeReversalUpserted | io.flow.internal.v0.models.StripeCaptureDeleted | io.flow.internal.v0.models.StripeCaptureUpserted | io.flow.internal.v0.models.StripeRefundDeleted | io.flow.internal.v0.models.StripeRefundUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingDeleted | io.flow.internal.v0.models.LiabilityRemittancePlanUpserted | io.flow.internal.v0.models.LiabilityRemittancePlanDeleted | io.flow.internal.v0.models.TrackingLabelEventUpsertedV2 | io.flow.internal.v0.models.TrackingLabelEventDeletedV2 | io.flow.internal.v0.models.TrackingLabelUpserted | io.flow.internal.v0.models.TrackingLabelDeleted | io.flow.internal.v0.models.TrackingUpserted | io.flow.internal.v0.models.TrackingDeleted | io.flow.internal.v0.models.TrackingRequestUpserted | io.flow.internal.v0.models.TrackingResponseUpserted | io.flow.internal.v0.models.UserUpsertedV2 | io.flow.internal.v0.models.UserDeletedV2);
21852
21426
  type Experiment = (io.flow.internal.v0.models.ExperienceExperiment | io.flow.internal.v0.models.FeatureExperiment);
21853
21427
  type ExportSchedule = (io.flow.internal.v0.models.ExportScheduleDaily | io.flow.internal.v0.models.ExportScheduleRepeated);
21854
21428
  type FeatureDefaultValue = (io.flow.internal.v0.models.BooleanFeatureDefaultValue | io.flow.internal.v0.models.StringFeatureDefaultValue);
@@ -21912,6 +21486,7 @@ export const billingTransactionType: PropTypes.Requireable<io.flow.internal.v0.e
21912
21486
  export const blazeCheckoutEvent: PropTypes.Requireable<io.flow.internal.v0.enums.BlazeCheckoutEvent>;
21913
21487
  export const blazeCheckoutStep: PropTypes.Requireable<io.flow.internal.v0.enums.BlazeCheckoutStep>;
21914
21488
  export const browserBundleErrorCode: PropTypes.Requireable<io.flow.internal.v0.enums.BrowserBundleErrorCode>;
21489
+ export const calculatorEngine: PropTypes.Requireable<io.flow.internal.v0.enums.CalculatorEngine>;
21915
21490
  export const carrierLabelGenerationMethod: PropTypes.Requireable<io.flow.internal.v0.enums.CarrierLabelGenerationMethod>;
21916
21491
  export const catalogImportType: PropTypes.Requireable<io.flow.internal.v0.enums.CatalogImportType>;
21917
21492
  export const channelCurrencyCapability: PropTypes.Requireable<io.flow.internal.v0.enums.ChannelCurrencyCapability>;
@@ -22126,7 +21701,15 @@ export const accountDepositRule: PropTypes.Requireable<io.flow.internal.v0.model
22126
21701
  export const accountDepositRuleForm: PropTypes.Requireable<io.flow.internal.v0.models.AccountDepositRuleForm>;
22127
21702
  export const accountForm: PropTypes.Requireable<io.flow.internal.v0.models.AccountForm>;
22128
21703
  export const accountOrdersExportRequest: PropTypes.Requireable<io.flow.internal.v0.models.AccountOrdersExportRequest>;
21704
+ export const accountProcessingRateForm: PropTypes.Requireable<io.flow.internal.v0.models.AccountProcessingRateForm>;
21705
+ export const accountProcessingRates: PropTypes.Requireable<io.flow.internal.v0.models.AccountProcessingRates>;
21706
+ export const accountProcessingRatesDeleted: PropTypes.Requireable<io.flow.internal.v0.models.AccountProcessingRatesDeleted>;
21707
+ export const accountProcessingRatesForm: PropTypes.Requireable<io.flow.internal.v0.models.AccountProcessingRatesForm>;
21708
+ export const accountProcessingRatesUpserted: PropTypes.Requireable<io.flow.internal.v0.models.AccountProcessingRatesUpserted>;
22129
21709
  export const accountReference: PropTypes.Requireable<io.flow.internal.v0.models.AccountReference>;
21710
+ export const accountSettings: PropTypes.Requireable<io.flow.internal.v0.models.AccountSettings>;
21711
+ export const accountSettingsDeleted: PropTypes.Requireable<io.flow.internal.v0.models.AccountSettingsDeleted>;
21712
+ export const accountSettingsUpserted: PropTypes.Requireable<io.flow.internal.v0.models.AccountSettingsUpserted>;
22130
21713
  export const accountStatistics: PropTypes.Requireable<io.flow.internal.v0.models.AccountStatistics>;
22131
21714
  export const accountTransactionsExportRequest: PropTypes.Requireable<io.flow.internal.v0.models.AccountTransactionsExportRequest>;
22132
21715
  export const accountUpserted: PropTypes.Requireable<io.flow.internal.v0.models.AccountUpserted>;
@@ -22209,10 +21792,8 @@ export const billingAuthorizationReference: PropTypes.Requireable<io.flow.intern
22209
21792
  export const billingInvoiceSummary: PropTypes.Requireable<io.flow.internal.v0.models.BillingInvoiceSummary>;
22210
21793
  export const billingOrderDestination: PropTypes.Requireable<io.flow.internal.v0.models.BillingOrderDestination>;
22211
21794
  export const billingOrderSummary: PropTypes.Requireable<io.flow.internal.v0.models.BillingOrderSummary>;
22212
- export const billingOrganizationProcessingRateForm: PropTypes.Requireable<io.flow.internal.v0.models.BillingOrganizationProcessingRateForm>;
22213
21795
  export const billingOrganizationProcessingRates: PropTypes.Requireable<io.flow.internal.v0.models.BillingOrganizationProcessingRates>;
22214
21796
  export const billingOrganizationProcessingRatesDeleted: PropTypes.Requireable<io.flow.internal.v0.models.BillingOrganizationProcessingRatesDeleted>;
22215
- export const billingOrganizationProcessingRatesForm: PropTypes.Requireable<io.flow.internal.v0.models.BillingOrganizationProcessingRatesForm>;
22216
21797
  export const billingOrganizationProcessingRatesUpserted: PropTypes.Requireable<io.flow.internal.v0.models.BillingOrganizationProcessingRatesUpserted>;
22217
21798
  export const billingOrganizationSettings: PropTypes.Requireable<io.flow.internal.v0.models.BillingOrganizationSettings>;
22218
21799
  export const billingOrganizationSettingsDeleted: PropTypes.Requireable<io.flow.internal.v0.models.BillingOrganizationSettingsDeleted>;
@@ -22307,8 +21888,6 @@ export const channelOrderAcceptanceUpserted: PropTypes.Requireable<io.flow.inter
22307
21888
  export const channelOrganizationShopify: PropTypes.Requireable<io.flow.internal.v0.models.ChannelOrganizationShopify>;
22308
21889
  export const channelOrganizationShopifyForm: PropTypes.Requireable<io.flow.internal.v0.models.ChannelOrganizationShopifyForm>;
22309
21890
  export const channelTokenForm: PropTypes.Requireable<io.flow.internal.v0.models.ChannelTokenForm>;
22310
- export const channelTransactionDeleted: PropTypes.Requireable<io.flow.internal.v0.models.ChannelTransactionDeleted>;
22311
- export const channelTransactionUpserted: PropTypes.Requireable<io.flow.internal.v0.models.ChannelTransactionUpserted>;
22312
21891
  export const chargeback: PropTypes.Requireable<io.flow.internal.v0.models.Chargeback>;
22313
21892
  export const chargebackDeleted: PropTypes.Requireable<io.flow.internal.v0.models.ChargebackDeleted>;
22314
21893
  export const chargebackUpserted: PropTypes.Requireable<io.flow.internal.v0.models.ChargebackUpserted>;