@flowio/types 11.24.1 → 11.24.3

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.
@@ -2068,6 +2068,10 @@ declare namespace io.flow.payment.v0.models {
2068
2068
  readonly type: io.flow.common.v0.enums.ChangeType;
2069
2069
  readonly reversal: io.flow.payment.v0.models.Reversal;
2070
2070
  }
2071
+ interface SelectIssuerOptionActionDetails {
2072
+ readonly discriminator: 'select_issuer_option_action_details';
2073
+ readonly issuer_options: io.flow.payment.v0.models.IssuerReference[];
2074
+ }
2071
2075
  interface StripeAuthenticationData {
2072
2076
  readonly discriminator: 'stripe_authentication_data';
2073
2077
  readonly secret_key_reference: string;
@@ -2171,7 +2175,7 @@ declare namespace io.flow.payment.v0.unions {
2171
2175
  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;
2172
2176
  type AuthorizationPayloadParameters = io.flow.payment.v0.models.GooglePayAuthorizationPayload | io.flow.payment.v0.models.ApplePayMerchantValidationPayload;
2173
2177
  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;
2174
- 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;
2178
+ 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 | io.flow.payment.v0.models.SelectIssuerOptionActionDetails;
2175
2179
  type BrowserActionConfiguration = io.flow.payment.v0.models.CardBrowserActionConfiguration;
2176
2180
  type ConfirmationDetails = io.flow.payment.v0.models.DirectDebit;
2177
2181
  type ExpandableCard = io.flow.payment.v0.models.Card | io.flow.payment.v0.models.CardReference | io.flow.payment.v0.models.CardSummary;
@@ -3803,9 +3807,9 @@ declare namespace io.flow.adyen.v0.enums {
3803
3807
  type Contract = 'RECURRING';
3804
3808
  type DeviceChannel = 'app' | 'browser';
3805
3809
  type EventCode = 'AUTHORISATION' | 'CANCELLATION' | 'REFUND' | 'CANCEL_OR_REFUND' | 'CAPTURE' | 'CAPTURE_FAILED' | 'REFUND_FAILED' | 'REFUNDED_REVERSED' | 'PAIDOUT_REVERSED' | 'REQUEST_FOR_INFORMATION' | 'CHARGEBACK' | 'CHARGEBACK_REVERSED' | 'NOTIFICATION_OF_CHARGEBACK' | 'NOTIFICATION_OF_FRAUD' | 'MANUAL_REVIEW_ACCEPT' | 'MANUAL_REVIEW_REJECT' | 'RECURRING_CONTRACT' | 'PAYOUT_EXPIRE' | 'PAYOUT_DECLINE' | 'PAYOUT_THIRDPARTY' | 'REFUND_WITH_DATA' | 'AUTHORISE_REFERRAL' | 'EXPIRE' | 'FRAUD_ONLY' | 'FUND_TRANSFER' | 'HANDLED_EXTERNALLY' | 'OFFER_CLOSED' | 'ORDER_OPENED' | 'ORDER_CLOSED' | 'PENDING' | 'PROCESS_RETRY' | 'REPORT_AVAILABLE' | 'SECOND_CHARGEBACK' | 'PREARBITRATION_WON' | 'PREARBITRATION_LOST';
3806
- type Method = 'GET' | 'POST';
3810
+ type HttpRedirectMethod = 'GET' | 'POST';
3807
3811
  type Operation = 'cancel' | 'capture' | 'refund';
3808
- type PaymentMethod = 'ach' | 'alipay' | 'alipay_wap' | 'amex' | 'bankTransfer_IBAN' | 'bcmc' | 'cartebancaire' | 'cup' | 'diners' | 'directEbanking' | 'discover' | 'dotpay' | 'dragonpay_ebanking' | 'dragonpay_gcash' | 'dragonpay_otc_banking' | 'ebanking_FI' | 'giropay' | 'ideal' | 'interac' | 'jcb' | 'kcp_banktransfer' | 'kcp_creditcard' | 'kcp_payco' | 'maestro' | 'mc' | 'molpay_points' | 'multibanco' | 'qiwiwallet' | 'sepadirectdebit' | 'trustly' | 'trustpay' | 'unionpay' | 'visa' | 'wechatpay' | 'unknowncard';
3812
+ type PaymentMethod = 'ach' | 'alipay' | 'alipay_wap' | 'amex' | 'bankTransfer_IBAN' | 'bcmc' | 'bcmc_mobile' | 'cartebancaire' | 'cup' | 'diners' | 'directEbanking' | 'discover' | 'dotpay' | 'dragonpay_ebanking' | 'dragonpay_gcash' | 'dragonpay_otc_banking' | 'ebanking_FI' | 'giropay' | 'ideal' | 'interac' | 'jcb' | 'kcp_banktransfer' | 'kcp_creditcard' | 'kcp_payco' | 'maestro' | 'mc' | 'molpay_points' | 'multibanco' | 'qiwiwallet' | 'sepadirectdebit' | 'trustly' | 'trustpay' | 'unionpay' | 'visa' | 'wechatpay' | 'unknowncard';
3809
3813
  type RecurringProcessingModel = 'Subscription' | 'CardOnFile' | 'UnscheduledCardOnFile';
3810
3814
  type ResultCode = 'Authorised' | 'Cancelled' | 'Error' | 'Refused' | 'Received' | 'RedirectShopper' | 'Pending' | 'ChallengeShopper' | 'IdentifyShopper';
3811
3815
  type ShopperInteraction = 'Ecommerce' | 'ContAuth' | 'POS' | 'Moto';
@@ -3824,6 +3828,10 @@ declare namespace io.flow.adyen.v0.models {
3824
3828
  readonly value: number;
3825
3829
  readonly currency: string;
3826
3830
  }
3831
+ interface Applepay {
3832
+ readonly type: 'applepay';
3833
+ readonly applePayToken: string;
3834
+ }
3827
3835
  interface Authentication {
3828
3836
  readonly 'threeds2.fingerprintToken'?: string;
3829
3837
  readonly 'threeds2.challengeToken'?: string;
@@ -3850,6 +3858,8 @@ declare namespace io.flow.adyen.v0.models {
3850
3858
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
3851
3859
  readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData;
3852
3860
  readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
3861
+ readonly mcc?: string;
3862
+ readonly metadata?: any;
3853
3863
  }
3854
3864
  interface AuthorizeRequest3D {
3855
3865
  readonly merchantAccount: string;
@@ -3983,6 +3993,12 @@ declare namespace io.flow.adyen.v0.models {
3983
3993
  readonly details: any;
3984
3994
  readonly paymentData?: string;
3985
3995
  }
3996
+ interface PaymentDetailsV663Ds2Challenge {
3997
+ readonly 'threeds2.challengeResult': string;
3998
+ }
3999
+ interface PaymentDetailsV663Ds2Fingerprint {
4000
+ readonly 'threeds2.fingerprint': string;
4001
+ }
3986
4002
  interface PaymentRequest {
3987
4003
  readonly reference: string;
3988
4004
  readonly merchantAccount: string;
@@ -4004,7 +4020,11 @@ declare namespace io.flow.adyen.v0.models {
4004
4020
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
4005
4021
  readonly origin?: string;
4006
4022
  readonly channel?: io.flow.adyen.v0.enums.Channel;
4007
- readonly returnURL?: string;
4023
+ readonly returnUrl?: string;
4024
+ readonly mcc?: string;
4025
+ readonly metadata?: any;
4026
+ readonly redirectToIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
4027
+ readonly redirectFromIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
4008
4028
  }
4009
4029
  interface PaymentResponse {
4010
4030
  readonly resultCode: io.flow.adyen.v0.enums.ResultCode;
@@ -4025,13 +4045,35 @@ declare namespace io.flow.adyen.v0.models {
4025
4045
  readonly threeDAuthenticatedResponse?: string;
4026
4046
  readonly threeDOffered?: string;
4027
4047
  readonly threeDOfferedResponse?: string;
4048
+ readonly threeDSVersion?: string;
4049
+ readonly eci?: string;
4050
+ readonly scaExemptionRequested?: string;
4051
+ readonly paymentMethod?: string;
4052
+ readonly paymentMethodVariant?: string;
4053
+ readonly tokenTxVariant?: string;
4054
+ readonly acquirerCode?: string;
4055
+ readonly acquirerAccountCode?: string;
4056
+ readonly cardPaymentMethod?: string;
4057
+ readonly coBrandedWith?: string;
4058
+ readonly cardIssuingCountry?: string;
4059
+ readonly cardIssuingCurrency?: string;
4060
+ readonly cardIssuingBank?: string;
4061
+ readonly cardBin?: string;
4062
+ readonly issuerBin?: string;
4063
+ readonly cardSummary?: string;
4064
+ readonly untokenisedCardSummary?: string;
4065
+ readonly ownerName?: string;
4066
+ readonly bankName?: string;
4067
+ readonly issuerCountry?: string;
4068
+ readonly iban?: string;
4069
+ readonly bic?: string;
4028
4070
  }
4029
4071
  interface Recurring {
4030
4072
  readonly contract: io.flow.adyen.v0.enums.Contract;
4031
4073
  }
4032
4074
  interface Redirect {
4033
4075
  readonly data?: io.flow.adyen.v0.models.RedirectData;
4034
- readonly method?: io.flow.adyen.v0.enums.Method;
4076
+ readonly method?: io.flow.adyen.v0.enums.HttpRedirectMethod;
4035
4077
  readonly url?: string;
4036
4078
  }
4037
4079
  interface RedirectData {
@@ -4052,6 +4094,13 @@ declare namespace io.flow.adyen.v0.models {
4052
4094
  readonly number: string;
4053
4095
  readonly cvc?: string;
4054
4096
  }
4097
+ interface SdkV3OnCompleteData {
4098
+ readonly details: any;
4099
+ readonly payment_data?: string;
4100
+ }
4101
+ interface SdkV3OnCompleteResult {
4102
+ readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
4103
+ }
4055
4104
  interface ThreeDSecureData {
4056
4105
  readonly authenticationResponse?: string;
4057
4106
  readonly cavv?: string;
@@ -4077,7 +4126,7 @@ declare namespace io.flow.adyen.v0.models {
4077
4126
  }
4078
4127
  declare namespace io.flow.adyen.v0.unions {
4079
4128
  type BrowserInfo = io.flow.adyen.v0.models.BrowserInfo3Ds1 | io.flow.adyen.v0.models.BrowserInfo3Ds2;
4080
- type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
4129
+ type PaymentMethodData = io.flow.adyen.v0.models.Scheme | io.flow.adyen.v0.models.Applepay;
4081
4130
  }
4082
4131
  declare namespace io.flow.order.management.v0.enums {
4083
4132
  type CancelReason = 'out_of_stock' | 'consumer_requested' | 'flow_cancel';
@@ -9818,6 +9867,9 @@ declare namespace io.flow.internal.v0.enums {
9818
9867
  type ItemQuantityAction = 'fulfillment_ship' | 'fulfillment_cancel' | 'fulfillment_generate_label';
9819
9868
  type ItemType = 'standard' | 'multi_product';
9820
9869
  type LabelBillingStrategy = 'quote' | 'carrier';
9870
+ type LabelCancellationErrorCode = 'already_used' | 'carrier_unsupported';
9871
+ type LabelCreationStatus = 'success' | 'error' | 'pending' | 'cancelled';
9872
+ type LabelTransactionType = 'billable_label' | 'fee';
9821
9873
  type LiabilityType = 'full_value_tax' | 'low_value_goods_tax' | 'high_value_goods_tax' | 'duties';
9822
9874
  type ManualReviewRuleStatus = 'active' | 'archived';
9823
9875
  type ManualTransactionCategory = 'cancelled_order_refund' | 'client_accepted_chargeback' | 'fee_reimbursement' | 'partial_refund' | 'platform_fee' | 'shipping_true_up' | 'tax_credit';
@@ -10028,6 +10080,7 @@ declare namespace io.flow.internal.v0.models {
10028
10080
  readonly transfer_fee?: io.flow.common.v0.models.Money;
10029
10081
  readonly order_service_fee?: io.flow.internal.v0.models.TieredFee;
10030
10082
  readonly label_fee?: io.flow.internal.v0.models.TieredFee;
10083
+ readonly charge_label_cost_directly: boolean;
10031
10084
  }
10032
10085
  interface AccountSettingsDeleted {
10033
10086
  readonly discriminator: 'account_settings_deleted';
@@ -15677,6 +15730,31 @@ declare namespace io.flow.internal.v0.models {
15677
15730
  readonly materials: Record<string, string[]>;
15678
15731
  readonly constructions: Record<string, string[]>;
15679
15732
  }
15733
+ interface LabelCancellationError {
15734
+ readonly code: io.flow.internal.v0.enums.LabelCancellationErrorCode;
15735
+ readonly messages: string[];
15736
+ }
15737
+ interface LabelCreationJob {
15738
+ readonly id: string;
15739
+ readonly reference_id: string;
15740
+ readonly status: io.flow.internal.v0.enums.LabelCreationStatus;
15741
+ readonly label_url?: string;
15742
+ readonly commercial_invoice_url?: string;
15743
+ readonly service_id?: string;
15744
+ readonly carrier_tracking_number?: string;
15745
+ readonly flow_tracking_number?: string;
15746
+ readonly errors: string[];
15747
+ }
15748
+ interface LabelCreationJobSummary {
15749
+ readonly reference_id: string;
15750
+ readonly status: io.flow.internal.v0.enums.LabelCreationStatus;
15751
+ }
15752
+ interface LabelCreationRequestForm {
15753
+ readonly shipping_label_form: io.flow.label.v0.unions.ShippingLabelForm;
15754
+ readonly organization_id: string;
15755
+ readonly shipment_cost?: io.flow.common.v0.models.Money;
15756
+ readonly reference_id?: string;
15757
+ }
15680
15758
  interface LabelGenerationSettings {
15681
15759
  readonly id: string;
15682
15760
  readonly item_identifier?: string;
@@ -16121,7 +16199,7 @@ declare namespace io.flow.internal.v0.models {
16121
16199
  readonly businesses: io.flow.internal.v0.models.MarketingGatewayFacebookBusinessSummary[];
16122
16200
  }
16123
16201
  interface MarketingGatewayFacebookConnectionAccessTokenSummary {
16124
- readonly catalog_id: number;
16202
+ readonly catalog_id?: number;
16125
16203
  readonly created_at?: number;
16126
16204
  readonly expires_at?: number;
16127
16205
  readonly user_id: string;
@@ -17347,6 +17425,13 @@ declare namespace io.flow.internal.v0.models {
17347
17425
  readonly organization: string;
17348
17426
  readonly estimate: io.flow.ratecard.v0.models.DimensionEstimate;
17349
17427
  }
17428
+ interface RatecardInternalServiceFee {
17429
+ readonly id: string;
17430
+ readonly service_id: string;
17431
+ readonly created_at: string;
17432
+ readonly updated_at: string;
17433
+ readonly fees: io.flow.ratecard.v0.unions.ServiceFee[];
17434
+ }
17350
17435
  interface RatecardInternalSummary {
17351
17436
  readonly id: string;
17352
17437
  readonly organization: io.flow.common.v0.models.OrganizationReference;
@@ -17395,14 +17480,14 @@ declare namespace io.flow.internal.v0.models {
17395
17480
  readonly event_id: string;
17396
17481
  readonly timestamp: string;
17397
17482
  readonly organization: string;
17398
- readonly fee: io.flow.ratecard.v0.unions.ServiceFee;
17483
+ readonly fee: io.flow.internal.v0.models.RatecardInternalServiceFee;
17399
17484
  }
17400
17485
  interface RatecardServiceFeeUpserted {
17401
17486
  readonly discriminator: 'ratecard_service_fee_upserted';
17402
17487
  readonly event_id: string;
17403
17488
  readonly timestamp: string;
17404
17489
  readonly organization: string;
17405
- readonly fee: io.flow.ratecard.v0.unions.ServiceFee;
17490
+ readonly fee: io.flow.internal.v0.models.RatecardInternalServiceFee;
17406
17491
  }
17407
17492
  interface RatecardStandardConfiguration {
17408
17493
  readonly id: string;
@@ -20273,11 +20358,18 @@ export declare type LabProjectSettingsFormAcceptance = io.flow.internal.v0.model
20273
20358
  export declare type LabelAliases = io.flow.internal.v0.models.LabelAliases;
20274
20359
  export declare type LabelAssociation = io.flow.internal.v0.models.LabelAssociation;
20275
20360
  export declare type LabelBillingStrategy = io.flow.internal.v0.enums.LabelBillingStrategy;
20361
+ export declare type LabelCancellationError = io.flow.internal.v0.models.LabelCancellationError;
20362
+ export declare type LabelCancellationErrorCode = io.flow.internal.v0.enums.LabelCancellationErrorCode;
20363
+ export declare type LabelCreationJob = io.flow.internal.v0.models.LabelCreationJob;
20364
+ export declare type LabelCreationJobSummary = io.flow.internal.v0.models.LabelCreationJobSummary;
20365
+ export declare type LabelCreationRequestForm = io.flow.internal.v0.models.LabelCreationRequestForm;
20366
+ export declare type LabelCreationStatus = io.flow.internal.v0.enums.LabelCreationStatus;
20276
20367
  export declare type LabelGenerationSettings = io.flow.internal.v0.models.LabelGenerationSettings;
20277
20368
  export declare type LabelGenerationSettingsForm = io.flow.internal.v0.models.LabelGenerationSettingsForm;
20278
20369
  export declare type LabelSummary = io.flow.internal.v0.models.LabelSummary;
20279
20370
  export declare type LabelTaxonomy = io.flow.internal.v0.models.LabelTaxonomy;
20280
20371
  export declare type LabelTransaction = io.flow.internal.v0.models.LabelTransaction;
20372
+ export declare type LabelTransactionType = io.flow.internal.v0.enums.LabelTransactionType;
20281
20373
  export declare type LabeledContent = io.flow.internal.v0.models.LabeledContent;
20282
20374
  export declare type LabelsPrediction = io.flow.internal.v0.models.LabelsPrediction;
20283
20375
  export declare type LandedCostItem = io.flow.internal.v0.models.LandedCostItem;
@@ -20583,6 +20675,7 @@ export declare type RateUpsertedV2 = io.flow.internal.v0.models.RateUpsertedV2;
20583
20675
  export declare type RateWithFees = io.flow.internal.v0.models.RateWithFees;
20584
20676
  export declare type RatecardDimensionEstimateDeleted = io.flow.internal.v0.models.RatecardDimensionEstimateDeleted;
20585
20677
  export declare type RatecardDimensionEstimateUpserted = io.flow.internal.v0.models.RatecardDimensionEstimateUpserted;
20678
+ export declare type RatecardInternalServiceFee = io.flow.internal.v0.models.RatecardInternalServiceFee;
20586
20679
  export declare type RatecardInternalSummary = io.flow.internal.v0.models.RatecardInternalSummary;
20587
20680
  export declare type RatecardLaneAggregate = io.flow.internal.v0.models.RatecardLaneAggregate;
20588
20681
  export declare type RatecardLaneAggregateDeleted = io.flow.internal.v0.models.RatecardLaneAggregateDeleted;
package/dist/api.d.ts CHANGED
@@ -2235,6 +2235,7 @@ declare namespace io.flow.v0.enums {
2235
2235
  type AddressFieldName = 'first_name' | 'last_name' | 'street_1' | 'street_2' | 'city' | 'province' | 'postal' | 'country' | 'phone' | 'company' | 'vat_registration_number';
2236
2236
  type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis';
2237
2237
  type Aggregate = 'maximum' | 'minimum';
2238
+ type AttachmentType = 'csv';
2238
2239
  type AttributeDataType = 'boolean' | 'integer' | 'decimal' | 'string' | 'json_array';
2239
2240
  type AttributeIntent = 'brand' | 'color' | 'countries_of_origin' | 'product_id' | 'fulfillment_method' | 'hazardous' | 'price' | 'size' | 'sku' | 'taxability' | 'consumer_url' | 'gtin' | 'mpn' | 'facet' | 'eccn' | 'returnable' | 'searchable' | 'barcode' | 'min_days_to_ship' | 'max_days_to_ship' | 'commercial_invoice_item_number' | 'include_in_product_feeds';
2240
2241
  type AuthenticationTechnique = 'anonymous' | 'session' | 'token' | 'partner_token' | 'user';
@@ -2265,6 +2266,7 @@ declare namespace io.flow.v0.enums {
2265
2266
  type CustomerAddressType = 'billing' | 'invoice' | 'shipping';
2266
2267
  type CvvCode = 'match' | 'suspicious' | 'unsupported' | 'no_match';
2267
2268
  type DayOfWeek = 'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday';
2269
+ type DeductionType = 'mor' | 'fx' | 'tax' | 'duty';
2268
2270
  type DeliveredDuty = 'paid' | 'unpaid';
2269
2271
  type DeliveredDutyDisplayType = 'all' | 'single';
2270
2272
  type DeliveryOptionCostDetailComponentKey = 'ratecard_base_cost' | 'ratecard_ddp_fee' | 'ratecard_fuel_surcharge' | 'ratecard_oversized_shipment_fee' | 'ratecard_rural_shipment_fee' | 'ratecard_emergency_situation_surcharge_fee' | 'ratecard_peak_surcharge_fee' | 'ratecard_duties_taxes_paid_surcharge_fee' | 'center_commercial_invoice_fee' | 'center_inbound_carton_fee' | 'center_outbound_carton_fee';
@@ -2353,6 +2355,7 @@ declare namespace io.flow.v0.enums {
2353
2355
  type PaymentSourceConfirmationActionType = 'cvv' | 'billing_address' | 'number';
2354
2356
  type PaymentStatus = 'requires_payment_method' | 'requires_action' | 'processing' | 'cancelled' | 'expired' | 'authorized' | 'reversed' | 'captured' | 'refunded' | 'in_dispute' | 'charged_back';
2355
2357
  type PaymentType = 'card' | 'klarna' | 'googlepay' | 'paypal' | 'applepay' | 'ideal' | 'sofort' | 'afterpay' | 'bancontact';
2358
+ type PayoutStatus = 'scheduled' | 'paid' | 'not_necessary';
2356
2359
  type PermittedHttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
2357
2360
  type PhysicalDeliverySpecialSerivce = 'cold_storage' | 'hazardous' | 'perishable';
2358
2361
  type PostalType = 'eircode' | 'pin' | 'postal' | 'zip';
@@ -2465,6 +2468,10 @@ declare namespace io.flow.v0.models {
2465
2468
  readonly transaction_posted_on_or_before?: string;
2466
2469
  readonly transaction_posted_before?: string;
2467
2470
  }
2471
+ interface AccountReference {
2472
+ readonly id: string;
2473
+ readonly currency: string;
2474
+ }
2468
2475
  interface AccountTransactionsExportType {
2469
2476
  readonly discriminator: 'account_transactions_export_type';
2470
2477
  readonly statement_id?: string;
@@ -2776,6 +2783,10 @@ declare namespace io.flow.v0.models {
2776
2783
  readonly discriminator: 'at_cost';
2777
2784
  readonly ignore?: string;
2778
2785
  }
2786
+ interface Attachment {
2787
+ readonly type: io.flow.v0.enums.AttachmentType;
2788
+ readonly url: string;
2789
+ }
2779
2790
  interface Attribute {
2780
2791
  readonly id: string;
2781
2792
  readonly key: string;
@@ -3071,6 +3082,15 @@ declare namespace io.flow.v0.models {
3071
3082
  readonly country?: string;
3072
3083
  readonly company?: string;
3073
3084
  }
3085
+ interface BillingChannelOrderReference {
3086
+ readonly number: string;
3087
+ }
3088
+ interface BillingChannelPaymentRequestReference {
3089
+ readonly id: string;
3090
+ }
3091
+ interface BillingChannelStatementReference {
3092
+ readonly id: string;
3093
+ }
3074
3094
  interface BrowseOptinResponses {
3075
3095
  readonly id: string;
3076
3096
  readonly session_id: string;
@@ -3540,54 +3560,6 @@ declare namespace io.flow.v0.models {
3540
3560
  readonly defaults: io.flow.v0.models.OrganizationDefaults;
3541
3561
  readonly attributes?: Record<string, string>;
3542
3562
  }
3543
- interface ChannelOrganizationApplication {
3544
- readonly id: string;
3545
- readonly company?: io.flow.v0.models.MerchantInfo;
3546
- readonly indirect_tax_number?: string;
3547
- readonly parent_company?: io.flow.v0.models.MerchantInfo;
3548
- readonly beneficiary?: string;
3549
- readonly business_url?: string;
3550
- readonly business_description?: string;
3551
- readonly business_address?: io.flow.v0.models.Address;
3552
- readonly refund_percentage?: number;
3553
- readonly chargeback_percentage?: number;
3554
- readonly bank_account_number?: string;
3555
- readonly aba_routing_transit_number?: string;
3556
- readonly trade_sector?: io.flow.v0.enums.OnboardingTradeSector[];
3557
- readonly other_trade_sector?: string;
3558
- readonly third_party_logistics_partners?: io.flow.v0.models.ThirdPartyLogisticsPartner[];
3559
- readonly average_order_weight?: number;
3560
- readonly package_dimensions?: io.flow.v0.models.Dimension[];
3561
- readonly monthly_average?: io.flow.v0.models.MonthlyAverage;
3562
- readonly dangerous_goods?: io.flow.v0.enums.OnboardingDangerousGoods[];
3563
- readonly default_country_of_origin?: string;
3564
- readonly ratecard?: io.flow.v0.models.RatecardReference;
3565
- readonly created_at: string;
3566
- }
3567
- interface ChannelOrganizationApplicationForm {
3568
- readonly company?: io.flow.v0.models.MerchantInfo;
3569
- readonly indirect_tax_number?: string;
3570
- readonly parent_company?: io.flow.v0.models.MerchantInfo;
3571
- readonly beneficiary?: string;
3572
- readonly business_url?: string;
3573
- readonly business_description?: string;
3574
- readonly business_address?: io.flow.v0.models.Address;
3575
- readonly refund_percentage?: number;
3576
- readonly chargeback_percentage?: number;
3577
- readonly bank_account_number?: string;
3578
- readonly aba_routing_transit_number?: string;
3579
- readonly trade_sector?: io.flow.v0.enums.OnboardingTradeSector[];
3580
- readonly other_trade_sector?: string;
3581
- readonly third_party_logistics_partners?: io.flow.v0.models.ThirdPartyLogisticsPartner[];
3582
- readonly average_order_weight?: number;
3583
- readonly package_dimensions?: io.flow.v0.models.Dimension[];
3584
- readonly monthly_average_volume_amount?: number;
3585
- readonly monthly_average_volume_currency?: string;
3586
- readonly monthly_average_number_transactions?: number;
3587
- readonly dangerous_goods?: io.flow.v0.enums.OnboardingDangerousGoods[];
3588
- readonly default_country_of_origin?: string;
3589
- readonly ratecard_id?: string;
3590
- }
3591
3563
  interface ChannelOrganizationAuthorization {
3592
3564
  readonly placeholder?: string;
3593
3565
  }
@@ -4187,6 +4159,11 @@ declare namespace io.flow.v0.models {
4187
4159
  readonly discriminator: 'ddp_ratecard_fee';
4188
4160
  readonly amount: number;
4189
4161
  }
4162
+ interface Deduction {
4163
+ readonly type: io.flow.v0.enums.DeductionType;
4164
+ readonly amount: number;
4165
+ readonly description: string;
4166
+ }
4190
4167
  interface DeliveredDutySetting {
4191
4168
  readonly default: io.flow.v0.enums.DeliveredDuty;
4192
4169
  readonly available: io.flow.v0.enums.DeliveredDuty[];
@@ -7717,6 +7694,10 @@ declare namespace io.flow.v0.models {
7717
7694
  readonly type: io.flow.v0.enums.ChangeType;
7718
7695
  readonly payment: io.flow.v0.unions.Payment;
7719
7696
  }
7697
+ interface Payout {
7698
+ readonly amount: number;
7699
+ readonly sent_on: string;
7700
+ }
7720
7701
  interface PaypalAuthorizationDetails {
7721
7702
  readonly discriminator: 'paypal_authorization_details';
7722
7703
  readonly payment_id: string;
@@ -8830,6 +8811,10 @@ declare namespace io.flow.v0.models {
8830
8811
  readonly hour_of_day: string;
8831
8812
  readonly minute_of_hour: string;
8832
8813
  }
8814
+ interface SelectIssuerOptionActionDetails {
8815
+ readonly discriminator: 'select_issuer_option_action_details';
8816
+ readonly issuer_options: io.flow.v0.models.IssuerReference[];
8817
+ }
8833
8818
  interface ServiceReference {
8834
8819
  readonly id: string;
8835
8820
  }
@@ -9301,6 +9286,54 @@ declare namespace io.flow.v0.models {
9301
9286
  interface ShopifyLocationReference {
9302
9287
  readonly id: string;
9303
9288
  }
9289
+ interface ShopifyMerchantApplication {
9290
+ readonly id: string;
9291
+ readonly company?: io.flow.v0.models.MerchantInfo;
9292
+ readonly indirect_tax_number?: string;
9293
+ readonly parent_company?: io.flow.v0.models.MerchantInfo;
9294
+ readonly beneficiary?: string;
9295
+ readonly business_url?: string;
9296
+ readonly business_description?: string;
9297
+ readonly business_address?: io.flow.v0.models.Address;
9298
+ readonly refund_percentage?: number;
9299
+ readonly chargeback_percentage?: number;
9300
+ readonly bank_account_number?: string;
9301
+ readonly aba_routing_transit_number?: string;
9302
+ readonly trade_sectors?: io.flow.v0.enums.OnboardingTradeSector[];
9303
+ readonly other_trade_sector?: string;
9304
+ readonly third_party_logistics_partners?: io.flow.v0.models.ThirdPartyLogisticsPartner[];
9305
+ readonly average_order_weight?: number;
9306
+ readonly package_dimensions?: io.flow.v0.models.Dimension[];
9307
+ readonly monthly_average?: io.flow.v0.models.MonthlyAverage;
9308
+ readonly dangerous_goods?: io.flow.v0.enums.OnboardingDangerousGoods[];
9309
+ readonly default_country_of_origin?: string;
9310
+ readonly ratecard?: io.flow.v0.models.RatecardReference;
9311
+ readonly created_at: string;
9312
+ }
9313
+ interface ShopifyMerchantApplicationForm {
9314
+ readonly company?: io.flow.v0.models.MerchantInfo;
9315
+ readonly indirect_tax_number?: string;
9316
+ readonly parent_company?: io.flow.v0.models.MerchantInfo;
9317
+ readonly beneficiary?: string;
9318
+ readonly business_url?: string;
9319
+ readonly business_description?: string;
9320
+ readonly business_address?: io.flow.v0.models.Address;
9321
+ readonly refund_percentage?: number;
9322
+ readonly chargeback_percentage?: number;
9323
+ readonly bank_account_number?: string;
9324
+ readonly aba_routing_transit_number?: string;
9325
+ readonly trade_sectors?: io.flow.v0.enums.OnboardingTradeSector[];
9326
+ readonly other_trade_sector?: string;
9327
+ readonly third_party_logistics_partners?: io.flow.v0.models.ThirdPartyLogisticsPartner[];
9328
+ readonly average_order_weight?: number;
9329
+ readonly package_dimensions?: io.flow.v0.models.Dimension[];
9330
+ readonly monthly_average_volume_amount?: number;
9331
+ readonly monthly_average_volume_currency?: string;
9332
+ readonly monthly_average_number_transactions?: number;
9333
+ readonly dangerous_goods?: io.flow.v0.enums.OnboardingDangerousGoods[];
9334
+ readonly default_country_of_origin?: string;
9335
+ readonly ratecard_id?: string;
9336
+ }
9304
9337
  interface ShopifyOrderAttributesForm {
9305
9338
  readonly attributes: Record<string, string>;
9306
9339
  }
@@ -9405,6 +9438,16 @@ declare namespace io.flow.v0.models {
9405
9438
  readonly numbers?: string[];
9406
9439
  readonly sort?: string;
9407
9440
  }
9441
+ interface Statement {
9442
+ readonly id: string;
9443
+ readonly account: io.flow.v0.models.AccountReference;
9444
+ readonly payout: io.flow.v0.models.StatementPayout;
9445
+ readonly attachments: io.flow.v0.models.Attachment[];
9446
+ }
9447
+ interface StatementPayout {
9448
+ readonly status: io.flow.v0.enums.PayoutStatus;
9449
+ readonly payout?: io.flow.v0.models.Payout;
9450
+ }
9408
9451
  interface StreetAddress {
9409
9452
  readonly streets?: string[];
9410
9453
  readonly city?: string;
@@ -9973,6 +10016,39 @@ declare namespace io.flow.v0.models {
9973
10016
  readonly trade_agreement: io.flow.v0.models.TradeAgreement;
9974
10017
  readonly duty: io.flow.v0.models.Duty;
9975
10018
  }
10019
+ interface Transaction {
10020
+ readonly id: string;
10021
+ readonly order: io.flow.v0.models.BillingChannelOrderReference;
10022
+ readonly statement?: io.flow.v0.models.BillingChannelStatementReference;
10023
+ readonly payment_request?: io.flow.v0.models.BillingChannelPaymentRequestReference;
10024
+ readonly currency: string;
10025
+ readonly source: io.flow.v0.unions.TransactionSource;
10026
+ readonly gross: number;
10027
+ readonly fees: io.flow.v0.models.Deduction[];
10028
+ readonly withholdings: io.flow.v0.models.Deduction[];
10029
+ readonly net: number;
10030
+ readonly created_at: string;
10031
+ }
10032
+ interface TransactionSourceAdjustment {
10033
+ readonly discriminator: 'transaction_source_adjustment';
10034
+ readonly id: string;
10035
+ }
10036
+ interface TransactionSourceCapture {
10037
+ readonly discriminator: 'transaction_source_capture';
10038
+ readonly id: string;
10039
+ }
10040
+ interface TransactionSourceDispute {
10041
+ readonly discriminator: 'transaction_source_dispute';
10042
+ readonly id: string;
10043
+ }
10044
+ interface TransactionSourceRefund {
10045
+ readonly discriminator: 'transaction_source_refund';
10046
+ readonly id: string;
10047
+ }
10048
+ interface TransactionSourceShippingLabel {
10049
+ readonly discriminator: 'transaction_source_shipping_label';
10050
+ readonly id: string;
10051
+ }
9976
10052
  interface TransitEstimate {
9977
10053
  readonly origin: io.flow.v0.enums.DeliveryWindowLocation;
9978
10054
  readonly destination: io.flow.v0.enums.DeliveryWindowLocation;
@@ -10177,7 +10253,7 @@ declare namespace io.flow.v0.unions {
10177
10253
  type AuthorizationForm = io.flow.v0.models.AuthorizationCopyForm | io.flow.v0.models.DirectAuthorizationForm | io.flow.v0.models.MerchantOfRecordAuthorizationForm | io.flow.v0.models.PaypalAuthorizationForm | io.flow.v0.models.RedirectAuthorizationForm | io.flow.v0.models.InlineAuthorizationForm | io.flow.v0.models.AchAuthorizationForm | io.flow.v0.models.CardPaymentSourceAuthorizationForm | io.flow.v0.models.OnlinePaymentAuthorizationForm;
10178
10254
  type AuthorizationPayloadParameters = io.flow.v0.models.GooglePayAuthorizationPayload | io.flow.v0.models.ApplePayMerchantValidationPayload;
10179
10255
  type AuthorizationResultAction = io.flow.v0.models.AuthorizationResultActionGet | io.flow.v0.models.AuthorizationResultActionPost | io.flow.v0.models.AuthorizationResultActionWait | io.flow.v0.models.AuthorizationResultActionNative;
10180
- type AuthorizationResultActionDetails = io.flow.v0.models.AdyenNativeActionDetails | io.flow.v0.models.StripeAuthorizationResultActionDetails | io.flow.v0.models.ThreedsIdentifyActionDetails | io.flow.v0.models.ThreedsChallengeActionDetails | io.flow.v0.models.KlarnaSdkAuthorizationResultActionDetails;
10256
+ type AuthorizationResultActionDetails = io.flow.v0.models.AdyenNativeActionDetails | io.flow.v0.models.StripeAuthorizationResultActionDetails | io.flow.v0.models.ThreedsIdentifyActionDetails | io.flow.v0.models.ThreedsChallengeActionDetails | io.flow.v0.models.KlarnaSdkAuthorizationResultActionDetails | io.flow.v0.models.SelectIssuerOptionActionDetails;
10181
10257
  type AvailableFilter = io.flow.v0.models.AvailableFilterStructured | io.flow.v0.models.AvailableFilterUnstructured;
10182
10258
  type BrowserActionConfiguration = io.flow.v0.models.CardBrowserActionConfiguration;
10183
10259
  type CardAuthorizationActionResult = io.flow.v0.models.AuthorizationActionResultAdyenV3 | io.flow.v0.models.AuthorizationActionResultAdyenV4;
@@ -10265,6 +10341,7 @@ declare namespace io.flow.v0.unions {
10265
10341
  type TierRuleOutcomeForm = io.flow.v0.models.AmountMarginForm | io.flow.v0.models.FlatRateForm | io.flow.v0.models.AtCost | io.flow.v0.models.PercentMargin;
10266
10342
  type Token = io.flow.v0.models.ChannelToken | io.flow.v0.models.OrganizationToken | io.flow.v0.models.OrganizationTokenV2 | io.flow.v0.models.PartnerToken;
10267
10343
  type TokenReference = io.flow.v0.models.ChannelTokenReference | io.flow.v0.models.OrganizationTokenReference | io.flow.v0.models.OrganizationTokenV2Reference | io.flow.v0.models.PartnerTokenReference;
10344
+ type TransactionSource = io.flow.v0.models.TransactionSourceCapture | io.flow.v0.models.TransactionSourceRefund | io.flow.v0.models.TransactionSourceDispute | io.flow.v0.models.TransactionSourceAdjustment | io.flow.v0.models.TransactionSourceShippingLabel;
10268
10345
  }
10269
10346
  export declare type AbandonedOrderEmailSettings = io.flow.v0.models.AbandonedOrderEmailSettings;
10270
10347
  export declare type AbandonedOrderPromotion = io.flow.v0.models.AbandonedOrderPromotion;
@@ -10275,6 +10352,7 @@ export declare type AbandonedOrderPromotionStatus = io.flow.v0.enums.AbandonedOr
10275
10352
  export declare type AbandonedOrderSettingStatus = io.flow.v0.enums.AbandonedOrderSettingStatus;
10276
10353
  export declare type AbandonedOrderSettings = io.flow.v0.models.AbandonedOrderSettings;
10277
10354
  export declare type AccountOrdersExportType = io.flow.v0.models.AccountOrdersExportType;
10355
+ export declare type AccountReference = io.flow.v0.models.AccountReference;
10278
10356
  export declare type AccountTransactionsExportType = io.flow.v0.models.AccountTransactionsExportType;
10279
10357
  export declare type AchAuthorizationForm = io.flow.v0.models.AchAuthorizationForm;
10280
10358
  export declare type Action = io.flow.v0.unions.Action;
@@ -10330,6 +10408,8 @@ export declare type AmountMarginForm = io.flow.v0.models.AmountMarginForm;
10330
10408
  export declare type AnalyticsExportType = io.flow.v0.models.AnalyticsExportType;
10331
10409
  export declare type ApplePayMerchantValidationPayload = io.flow.v0.models.ApplePayMerchantValidationPayload;
10332
10410
  export declare type AtCost = io.flow.v0.models.AtCost;
10411
+ export declare type Attachment = io.flow.v0.models.Attachment;
10412
+ export declare type AttachmentType = io.flow.v0.enums.AttachmentType;
10333
10413
  export declare type Attribute = io.flow.v0.models.Attribute;
10334
10414
  export declare type AttributeDataType = io.flow.v0.enums.AttributeDataType;
10335
10415
  export declare type AttributeDeleted = io.flow.v0.models.AttributeDeleted;
@@ -10391,6 +10471,9 @@ export declare type B2BInvoiceType = io.flow.v0.enums.B2BInvoiceType;
10391
10471
  export declare type B2BInvoiceUpserted = io.flow.v0.models.B2BInvoiceUpserted;
10392
10472
  export declare type BehaviorAudit = io.flow.v0.models.BehaviorAudit;
10393
10473
  export declare type BillingAddress = io.flow.v0.models.BillingAddress;
10474
+ export declare type BillingChannelOrderReference = io.flow.v0.models.BillingChannelOrderReference;
10475
+ export declare type BillingChannelPaymentRequestReference = io.flow.v0.models.BillingChannelPaymentRequestReference;
10476
+ export declare type BillingChannelStatementReference = io.flow.v0.models.BillingChannelStatementReference;
10394
10477
  export declare type BrowseOptinResponses = io.flow.v0.models.BrowseOptinResponses;
10395
10478
  export declare type BrowseOptinResponsesDeleted = io.flow.v0.models.BrowseOptinResponsesDeleted;
10396
10479
  export declare type BrowseOptinResponsesUpserted = io.flow.v0.models.BrowseOptinResponsesUpserted;
@@ -10473,8 +10556,6 @@ export declare type ChannelCurrencyDeleted = io.flow.v0.models.ChannelCurrencyDe
10473
10556
  export declare type ChannelCurrencyUpserted = io.flow.v0.models.ChannelCurrencyUpserted;
10474
10557
  export declare type ChannelDeleted = io.flow.v0.models.ChannelDeleted;
10475
10558
  export declare type ChannelOrganization = io.flow.v0.models.ChannelOrganization;
10476
- export declare type ChannelOrganizationApplication = io.flow.v0.models.ChannelOrganizationApplication;
10477
- export declare type ChannelOrganizationApplicationForm = io.flow.v0.models.ChannelOrganizationApplicationForm;
10478
10559
  export declare type ChannelOrganizationAuthorization = io.flow.v0.models.ChannelOrganizationAuthorization;
10479
10560
  export declare type ChannelOrganizationAuthorizationForm = io.flow.v0.models.ChannelOrganizationAuthorizationForm;
10480
10561
  export declare type ChannelOrganizationDeleted = io.flow.v0.models.ChannelOrganizationDeleted;
@@ -10593,6 +10674,8 @@ export declare type DatetimeRange = io.flow.v0.models.DatetimeRange;
10593
10674
  export declare type DatetimeWithTimezone = io.flow.v0.models.DatetimeWithTimezone;
10594
10675
  export declare type DayOfWeek = io.flow.v0.enums.DayOfWeek;
10595
10676
  export declare type DdpRatecardFee = io.flow.v0.models.DdpRatecardFee;
10677
+ export declare type Deduction = io.flow.v0.models.Deduction;
10678
+ export declare type DeductionType = io.flow.v0.enums.DeductionType;
10596
10679
  export declare type DeliveredDuty = io.flow.v0.enums.DeliveredDuty;
10597
10680
  export declare type DeliveredDutyDisplayType = io.flow.v0.enums.DeliveredDutyDisplayType;
10598
10681
  export declare type DeliveredDutySetting = io.flow.v0.models.DeliveredDutySetting;
@@ -11317,6 +11400,8 @@ export declare type PaymentTax = io.flow.v0.models.PaymentTax;
11317
11400
  export declare type PaymentType = io.flow.v0.enums.PaymentType;
11318
11401
  export declare type PaymentUpserted = io.flow.v0.models.PaymentUpserted;
11319
11402
  export declare type PaymentVersion = io.flow.v0.models.PaymentVersion;
11403
+ export declare type Payout = io.flow.v0.models.Payout;
11404
+ export declare type PayoutStatus = io.flow.v0.enums.PayoutStatus;
11320
11405
  export declare type PaypalAuthorizationDetails = io.flow.v0.models.PaypalAuthorizationDetails;
11321
11406
  export declare type PaypalAuthorizationForm = io.flow.v0.models.PaypalAuthorizationForm;
11322
11407
  export declare type PeakSurchargeByWeightServiceFee = io.flow.v0.models.PeakSurchargeByWeightServiceFee;
@@ -11527,6 +11612,7 @@ export declare type ScheduledExport = io.flow.v0.models.ScheduledExport;
11527
11612
  export declare type ScheduledExportForm = io.flow.v0.models.ScheduledExportForm;
11528
11613
  export declare type ScheduledPickup = io.flow.v0.models.ScheduledPickup;
11529
11614
  export declare type SdkAdyenV3AuthenticationToken = io.flow.v0.unions.SdkAdyenV3AuthenticationToken;
11615
+ export declare type SelectIssuerOptionActionDetails = io.flow.v0.models.SelectIssuerOptionActionDetails;
11530
11616
  export declare type ServiceFee = io.flow.v0.unions.ServiceFee;
11531
11617
  export declare type ServiceReference = io.flow.v0.models.ServiceReference;
11532
11618
  export declare type ServiceSummary = io.flow.v0.models.ServiceSummary;
@@ -11617,6 +11703,8 @@ export declare type ShopifyLocalizedVariantPrices = io.flow.v0.models.ShopifyLoc
11617
11703
  export declare type ShopifyLocationFlowCenterMapping = io.flow.v0.models.ShopifyLocationFlowCenterMapping;
11618
11704
  export declare type ShopifyLocationFlowCenterMappingForm = io.flow.v0.models.ShopifyLocationFlowCenterMappingForm;
11619
11705
  export declare type ShopifyLocationReference = io.flow.v0.models.ShopifyLocationReference;
11706
+ export declare type ShopifyMerchantApplication = io.flow.v0.models.ShopifyMerchantApplication;
11707
+ export declare type ShopifyMerchantApplicationForm = io.flow.v0.models.ShopifyMerchantApplicationForm;
11620
11708
  export declare type ShopifyOrderAttributesForm = io.flow.v0.models.ShopifyOrderAttributesForm;
11621
11709
  export declare type ShopifyOrderDeliveryMetafield = io.flow.v0.models.ShopifyOrderDeliveryMetafield;
11622
11710
  export declare type ShopifyOrderDeliveryMetafieldItem = io.flow.v0.models.ShopifyOrderDeliveryMetafieldItem;
@@ -11636,6 +11724,8 @@ export declare type SnapshotUpserted = io.flow.v0.models.SnapshotUpserted;
11636
11724
  export declare type SolidusProductExportType = io.flow.v0.models.SolidusProductExportType;
11637
11725
  export declare type SolidusVariantExportType = io.flow.v0.models.SolidusVariantExportType;
11638
11726
  export declare type SortDirection = io.flow.v0.enums.SortDirection;
11727
+ export declare type Statement = io.flow.v0.models.Statement;
11728
+ export declare type StatementPayout = io.flow.v0.models.StatementPayout;
11639
11729
  export declare type Strategy = io.flow.v0.enums.Strategy;
11640
11730
  export declare type StreetAddress = io.flow.v0.models.StreetAddress;
11641
11731
  export declare type StripeAuthenticationData = io.flow.v0.models.StripeAuthenticationData;
@@ -11756,6 +11846,13 @@ export declare type TradeAgreementCertifier = io.flow.v0.models.TradeAgreementCe
11756
11846
  export declare type TradeAgreementDuty = io.flow.v0.models.TradeAgreementDuty;
11757
11847
  export declare type TradeAgreementName = io.flow.v0.enums.TradeAgreementName;
11758
11848
  export declare type TradeAgreementStatus = io.flow.v0.enums.TradeAgreementStatus;
11849
+ export declare type Transaction = io.flow.v0.models.Transaction;
11850
+ export declare type TransactionSource = io.flow.v0.unions.TransactionSource;
11851
+ export declare type TransactionSourceAdjustment = io.flow.v0.models.TransactionSourceAdjustment;
11852
+ export declare type TransactionSourceCapture = io.flow.v0.models.TransactionSourceCapture;
11853
+ export declare type TransactionSourceDispute = io.flow.v0.models.TransactionSourceDispute;
11854
+ export declare type TransactionSourceRefund = io.flow.v0.models.TransactionSourceRefund;
11855
+ export declare type TransactionSourceShippingLabel = io.flow.v0.models.TransactionSourceShippingLabel;
11759
11856
  export declare type TransitEstimate = io.flow.v0.models.TransitEstimate;
11760
11857
  export declare type TransitWindow = io.flow.v0.models.TransitWindow;
11761
11858
  export declare type UnharmonizedItemExportType = io.flow.v0.models.UnharmonizedItemExportType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.24.1",
3
+ "version": "11.24.3",
4
4
  "description": "TypeScript type definitions for custom types found in Flow API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -25,5 +25,5 @@
25
25
  "maintainers": [
26
26
  "Christian Muñoz <christian.munoz@flow.io>"
27
27
  ],
28
- "gitHead": "2e52c92b8e623a2cbbdd2d02c8d16d50a74a604a"
28
+ "gitHead": "f902f05cda2ea4fb6a86396488a060cf91595a89"
29
29
  }
@@ -2637,6 +2637,11 @@ declare namespace io.flow.payment.v0.models {
2637
2637
  readonly reversal: io.flow.payment.v0.models.Reversal;
2638
2638
  }
2639
2639
 
2640
+ interface SelectIssuerOptionActionDetails {
2641
+ readonly discriminator: 'select_issuer_option_action_details';
2642
+ readonly issuer_options: io.flow.payment.v0.models.IssuerReference[];
2643
+ }
2644
+
2640
2645
  interface StripeAuthenticationData {
2641
2646
  readonly discriminator: 'stripe_authentication_data';
2642
2647
  readonly secret_key_reference: string;
@@ -2780,7 +2785,8 @@ declare namespace io.flow.payment.v0.unions {
2780
2785
  | io.flow.payment.v0.models.StripeAuthorizationResultActionDetails
2781
2786
  | io.flow.payment.v0.models.ThreedsIdentifyActionDetails
2782
2787
  | io.flow.payment.v0.models.ThreedsChallengeActionDetails
2783
- | io.flow.payment.v0.models.KlarnaSdkAuthorizationResultActionDetails;
2788
+ | io.flow.payment.v0.models.KlarnaSdkAuthorizationResultActionDetails
2789
+ | io.flow.payment.v0.models.SelectIssuerOptionActionDetails;
2784
2790
  type BrowserActionConfiguration =
2785
2791
  io.flow.payment.v0.models.CardBrowserActionConfiguration;
2786
2792
  type ConfirmationDetails = io.flow.payment.v0.models.DirectDebit;
@@ -5148,7 +5154,7 @@ declare namespace io.flow.adyen.v0.enums {
5148
5154
  | 'SECOND_CHARGEBACK'
5149
5155
  | 'PREARBITRATION_WON'
5150
5156
  | 'PREARBITRATION_LOST';
5151
- type Method = 'GET' | 'POST';
5157
+ type HttpRedirectMethod = 'GET' | 'POST';
5152
5158
  type Operation = 'cancel' | 'capture' | 'refund';
5153
5159
  type PaymentMethod =
5154
5160
  | 'ach'
@@ -5157,6 +5163,7 @@ declare namespace io.flow.adyen.v0.enums {
5157
5163
  | 'amex'
5158
5164
  | 'bankTransfer_IBAN'
5159
5165
  | 'bcmc'
5166
+ | 'bcmc_mobile'
5160
5167
  | 'cartebancaire'
5161
5168
  | 'cup'
5162
5169
  | 'diners'
@@ -5219,6 +5226,11 @@ declare namespace io.flow.adyen.v0.models {
5219
5226
  readonly currency: string;
5220
5227
  }
5221
5228
 
5229
+ interface Applepay {
5230
+ readonly type: 'applepay';
5231
+ readonly applePayToken: string;
5232
+ }
5233
+
5222
5234
  interface Authentication {
5223
5235
  readonly 'threeds2.fingerprintToken'?: string;
5224
5236
  readonly 'threeds2.challengeToken'?: string;
@@ -5246,6 +5258,8 @@ declare namespace io.flow.adyen.v0.models {
5246
5258
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
5247
5259
  readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData;
5248
5260
  readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
5261
+ readonly mcc?: string;
5262
+ readonly metadata?: any /*object*/;
5249
5263
  }
5250
5264
 
5251
5265
  interface AuthorizeRequest3D {
@@ -5402,6 +5416,14 @@ declare namespace io.flow.adyen.v0.models {
5402
5416
  readonly paymentData?: string;
5403
5417
  }
5404
5418
 
5419
+ interface PaymentDetailsV663Ds2Challenge {
5420
+ readonly 'threeds2.challengeResult': string;
5421
+ }
5422
+
5423
+ interface PaymentDetailsV663Ds2Fingerprint {
5424
+ readonly 'threeds2.fingerprint': string;
5425
+ }
5426
+
5405
5427
  interface PaymentRequest {
5406
5428
  readonly reference: string;
5407
5429
  readonly merchantAccount: string;
@@ -5423,7 +5445,11 @@ declare namespace io.flow.adyen.v0.models {
5423
5445
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
5424
5446
  readonly origin?: string;
5425
5447
  readonly channel?: io.flow.adyen.v0.enums.Channel;
5426
- readonly returnURL?: string;
5448
+ readonly returnUrl?: string;
5449
+ readonly mcc?: string;
5450
+ readonly metadata?: any /*object*/;
5451
+ readonly redirectToIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
5452
+ readonly redirectFromIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
5427
5453
  }
5428
5454
 
5429
5455
  interface PaymentResponse {
@@ -5446,6 +5472,28 @@ declare namespace io.flow.adyen.v0.models {
5446
5472
  readonly threeDAuthenticatedResponse?: string;
5447
5473
  readonly threeDOffered?: string;
5448
5474
  readonly threeDOfferedResponse?: string;
5475
+ readonly threeDSVersion?: string;
5476
+ readonly eci?: string;
5477
+ readonly scaExemptionRequested?: string;
5478
+ readonly paymentMethod?: string;
5479
+ readonly paymentMethodVariant?: string;
5480
+ readonly tokenTxVariant?: string;
5481
+ readonly acquirerCode?: string;
5482
+ readonly acquirerAccountCode?: string;
5483
+ readonly cardPaymentMethod?: string;
5484
+ readonly coBrandedWith?: string;
5485
+ readonly cardIssuingCountry?: string;
5486
+ readonly cardIssuingCurrency?: string;
5487
+ readonly cardIssuingBank?: string;
5488
+ readonly cardBin?: string;
5489
+ readonly issuerBin?: string;
5490
+ readonly cardSummary?: string;
5491
+ readonly untokenisedCardSummary?: string;
5492
+ readonly ownerName?: string;
5493
+ readonly bankName?: string;
5494
+ readonly issuerCountry?: string;
5495
+ readonly iban?: string;
5496
+ readonly bic?: string;
5449
5497
  }
5450
5498
 
5451
5499
  interface Recurring {
@@ -5454,7 +5502,7 @@ declare namespace io.flow.adyen.v0.models {
5454
5502
 
5455
5503
  interface Redirect {
5456
5504
  readonly data?: io.flow.adyen.v0.models.RedirectData;
5457
- readonly method?: io.flow.adyen.v0.enums.Method;
5505
+ readonly method?: io.flow.adyen.v0.enums.HttpRedirectMethod;
5458
5506
  readonly url?: string;
5459
5507
  }
5460
5508
 
@@ -5479,6 +5527,15 @@ declare namespace io.flow.adyen.v0.models {
5479
5527
  readonly cvc?: string;
5480
5528
  }
5481
5529
 
5530
+ interface SdkV3OnCompleteData {
5531
+ readonly details: any /*object*/;
5532
+ readonly payment_data?: string;
5533
+ }
5534
+
5535
+ interface SdkV3OnCompleteResult {
5536
+ readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
5537
+ }
5538
+
5482
5539
  interface ThreeDSecureData {
5483
5540
  readonly authenticationResponse?: string;
5484
5541
  readonly cavv?: string;
@@ -5510,7 +5567,9 @@ declare namespace io.flow.adyen.v0.unions {
5510
5567
  type BrowserInfo =
5511
5568
  | io.flow.adyen.v0.models.BrowserInfo3Ds1
5512
5569
  | io.flow.adyen.v0.models.BrowserInfo3Ds2;
5513
- type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
5570
+ type PaymentMethodData =
5571
+ | io.flow.adyen.v0.models.Scheme
5572
+ | io.flow.adyen.v0.models.Applepay;
5514
5573
  }
5515
5574
 
5516
5575
  declare namespace io.flow.order.management.v0.enums {
@@ -13305,6 +13364,9 @@ declare namespace io.flow.internal.v0.enums {
13305
13364
  | 'fulfillment_generate_label';
13306
13365
  type ItemType = 'standard' | 'multi_product';
13307
13366
  type LabelBillingStrategy = 'quote' | 'carrier';
13367
+ type LabelCancellationErrorCode = 'already_used' | 'carrier_unsupported';
13368
+ type LabelCreationStatus = 'success' | 'error' | 'pending' | 'cancelled';
13369
+ type LabelTransactionType = 'billable_label' | 'fee';
13308
13370
  type LiabilityType =
13309
13371
  | 'full_value_tax'
13310
13372
  | 'low_value_goods_tax'
@@ -13712,6 +13774,7 @@ declare namespace io.flow.internal.v0.models {
13712
13774
  readonly transfer_fee?: io.flow.common.v0.models.Money;
13713
13775
  readonly order_service_fee?: io.flow.internal.v0.models.TieredFee;
13714
13776
  readonly label_fee?: io.flow.internal.v0.models.TieredFee;
13777
+ readonly charge_label_cost_directly: boolean;
13715
13778
  }
13716
13779
 
13717
13780
  interface AccountSettingsDeleted {
@@ -20340,6 +20403,35 @@ declare namespace io.flow.internal.v0.models {
20340
20403
  readonly constructions: Record<string, string[]>;
20341
20404
  }
20342
20405
 
20406
+ interface LabelCancellationError {
20407
+ readonly code: io.flow.internal.v0.enums.LabelCancellationErrorCode;
20408
+ readonly messages: string[];
20409
+ }
20410
+
20411
+ interface LabelCreationJob {
20412
+ readonly id: string;
20413
+ readonly reference_id: string;
20414
+ readonly status: io.flow.internal.v0.enums.LabelCreationStatus;
20415
+ readonly label_url?: string;
20416
+ readonly commercial_invoice_url?: string;
20417
+ readonly service_id?: string;
20418
+ readonly carrier_tracking_number?: string;
20419
+ readonly flow_tracking_number?: string;
20420
+ readonly errors: string[];
20421
+ }
20422
+
20423
+ interface LabelCreationJobSummary {
20424
+ readonly reference_id: string;
20425
+ readonly status: io.flow.internal.v0.enums.LabelCreationStatus;
20426
+ }
20427
+
20428
+ interface LabelCreationRequestForm {
20429
+ readonly shipping_label_form: io.flow.label.v0.unions.ShippingLabelForm;
20430
+ readonly organization_id: string;
20431
+ readonly shipment_cost?: io.flow.common.v0.models.Money;
20432
+ readonly reference_id?: string;
20433
+ }
20434
+
20343
20435
  interface LabelGenerationSettings {
20344
20436
  readonly id: string;
20345
20437
  readonly item_identifier?: string;
@@ -20859,7 +20951,7 @@ declare namespace io.flow.internal.v0.models {
20859
20951
  }
20860
20952
 
20861
20953
  interface MarketingGatewayFacebookConnectionAccessTokenSummary {
20862
- readonly catalog_id: number;
20954
+ readonly catalog_id?: number;
20863
20955
  readonly created_at?: number;
20864
20956
  readonly expires_at?: number;
20865
20957
  readonly user_id: string;
@@ -22269,6 +22361,14 @@ declare namespace io.flow.internal.v0.models {
22269
22361
  readonly estimate: io.flow.ratecard.v0.models.DimensionEstimate;
22270
22362
  }
22271
22363
 
22364
+ interface RatecardInternalServiceFee {
22365
+ readonly id: string;
22366
+ readonly service_id: string;
22367
+ readonly created_at: string;
22368
+ readonly updated_at: string;
22369
+ readonly fees: io.flow.ratecard.v0.unions.ServiceFee[];
22370
+ }
22371
+
22272
22372
  interface RatecardInternalSummary {
22273
22373
  readonly id: string;
22274
22374
  readonly organization: io.flow.common.v0.models.OrganizationReference;
@@ -22322,7 +22422,7 @@ declare namespace io.flow.internal.v0.models {
22322
22422
  readonly event_id: string;
22323
22423
  readonly timestamp: string;
22324
22424
  readonly organization: string;
22325
- readonly fee: io.flow.ratecard.v0.unions.ServiceFee;
22425
+ readonly fee: io.flow.internal.v0.models.RatecardInternalServiceFee;
22326
22426
  }
22327
22427
 
22328
22428
  interface RatecardServiceFeeUpserted {
@@ -22330,7 +22430,7 @@ declare namespace io.flow.internal.v0.models {
22330
22430
  readonly event_id: string;
22331
22431
  readonly timestamp: string;
22332
22432
  readonly organization: string;
22333
- readonly fee: io.flow.ratecard.v0.unions.ServiceFee;
22433
+ readonly fee: io.flow.internal.v0.models.RatecardInternalServiceFee;
22334
22434
  }
22335
22435
 
22336
22436
  interface RatecardStandardConfiguration {
@@ -27139,6 +27239,16 @@ export type LabelAliases = io.flow.internal.v0.models.LabelAliases;
27139
27239
  export type LabelAssociation = io.flow.internal.v0.models.LabelAssociation;
27140
27240
  export type LabelBillingStrategy =
27141
27241
  io.flow.internal.v0.enums.LabelBillingStrategy;
27242
+ export type LabelCancellationError =
27243
+ io.flow.internal.v0.models.LabelCancellationError;
27244
+ export type LabelCancellationErrorCode =
27245
+ io.flow.internal.v0.enums.LabelCancellationErrorCode;
27246
+ export type LabelCreationJob = io.flow.internal.v0.models.LabelCreationJob;
27247
+ export type LabelCreationJobSummary =
27248
+ io.flow.internal.v0.models.LabelCreationJobSummary;
27249
+ export type LabelCreationRequestForm =
27250
+ io.flow.internal.v0.models.LabelCreationRequestForm;
27251
+ export type LabelCreationStatus = io.flow.internal.v0.enums.LabelCreationStatus;
27142
27252
  export type LabelGenerationSettings =
27143
27253
  io.flow.internal.v0.models.LabelGenerationSettings;
27144
27254
  export type LabelGenerationSettingsForm =
@@ -27146,6 +27256,8 @@ export type LabelGenerationSettingsForm =
27146
27256
  export type LabelSummary = io.flow.internal.v0.models.LabelSummary;
27147
27257
  export type LabelTaxonomy = io.flow.internal.v0.models.LabelTaxonomy;
27148
27258
  export type LabelTransaction = io.flow.internal.v0.models.LabelTransaction;
27259
+ export type LabelTransactionType =
27260
+ io.flow.internal.v0.enums.LabelTransactionType;
27149
27261
  export type LabeledContent = io.flow.internal.v0.models.LabeledContent;
27150
27262
  export type LabelsPrediction = io.flow.internal.v0.models.LabelsPrediction;
27151
27263
  export type LandedCostItem = io.flow.internal.v0.models.LandedCostItem;
@@ -27660,6 +27772,8 @@ export type RatecardDimensionEstimateDeleted =
27660
27772
  io.flow.internal.v0.models.RatecardDimensionEstimateDeleted;
27661
27773
  export type RatecardDimensionEstimateUpserted =
27662
27774
  io.flow.internal.v0.models.RatecardDimensionEstimateUpserted;
27775
+ export type RatecardInternalServiceFee =
27776
+ io.flow.internal.v0.models.RatecardInternalServiceFee;
27663
27777
  export type RatecardInternalSummary =
27664
27778
  io.flow.internal.v0.models.RatecardInternalSummary;
27665
27779
  export type RatecardLaneAggregate =
package/src/api.ts CHANGED
@@ -2885,6 +2885,7 @@ declare namespace io.flow.v0.enums {
2885
2885
  | 'vat_registration_number';
2886
2886
  type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis';
2887
2887
  type Aggregate = 'maximum' | 'minimum';
2888
+ type AttachmentType = 'csv';
2888
2889
  type AttributeDataType =
2889
2890
  | 'boolean'
2890
2891
  | 'integer'
@@ -3021,6 +3022,7 @@ declare namespace io.flow.v0.enums {
3021
3022
  | 'thursday'
3022
3023
  | 'friday'
3023
3024
  | 'saturday';
3025
+ type DeductionType = 'mor' | 'fx' | 'tax' | 'duty';
3024
3026
  type DeliveredDuty = 'paid' | 'unpaid';
3025
3027
  type DeliveredDutyDisplayType = 'all' | 'single';
3026
3028
  type DeliveryOptionCostDetailComponentKey =
@@ -3538,6 +3540,7 @@ declare namespace io.flow.v0.enums {
3538
3540
  | 'sofort'
3539
3541
  | 'afterpay'
3540
3542
  | 'bancontact';
3543
+ type PayoutStatus = 'scheduled' | 'paid' | 'not_necessary';
3541
3544
  type PermittedHttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
3542
3545
  type PhysicalDeliverySpecialSerivce =
3543
3546
  | 'cold_storage'
@@ -3805,6 +3808,11 @@ declare namespace io.flow.v0.models {
3805
3808
  readonly transaction_posted_before?: string;
3806
3809
  }
3807
3810
 
3811
+ interface AccountReference {
3812
+ readonly id: string;
3813
+ readonly currency: string;
3814
+ }
3815
+
3808
3816
  interface AccountTransactionsExportType {
3809
3817
  readonly discriminator: 'account_transactions_export_type';
3810
3818
  readonly statement_id?: string;
@@ -4164,6 +4172,11 @@ declare namespace io.flow.v0.models {
4164
4172
  readonly ignore?: string;
4165
4173
  }
4166
4174
 
4175
+ interface Attachment {
4176
+ readonly type: io.flow.v0.enums.AttachmentType;
4177
+ readonly url: string;
4178
+ }
4179
+
4167
4180
  interface Attribute {
4168
4181
  readonly id: string;
4169
4182
  readonly key: string;
@@ -4503,6 +4516,18 @@ declare namespace io.flow.v0.models {
4503
4516
  readonly company?: string;
4504
4517
  }
4505
4518
 
4519
+ interface BillingChannelOrderReference {
4520
+ readonly number: string;
4521
+ }
4522
+
4523
+ interface BillingChannelPaymentRequestReference {
4524
+ readonly id: string;
4525
+ }
4526
+
4527
+ interface BillingChannelStatementReference {
4528
+ readonly id: string;
4529
+ }
4530
+
4506
4531
  interface BrowseOptinResponses {
4507
4532
  readonly id: string;
4508
4533
  readonly session_id: string;
@@ -5042,56 +5067,6 @@ declare namespace io.flow.v0.models {
5042
5067
  readonly attributes?: Record<string, string>;
5043
5068
  }
5044
5069
 
5045
- interface ChannelOrganizationApplication {
5046
- readonly id: string;
5047
- readonly company?: io.flow.v0.models.MerchantInfo;
5048
- readonly indirect_tax_number?: string;
5049
- readonly parent_company?: io.flow.v0.models.MerchantInfo;
5050
- readonly beneficiary?: string;
5051
- readonly business_url?: string;
5052
- readonly business_description?: string;
5053
- readonly business_address?: io.flow.v0.models.Address;
5054
- readonly refund_percentage?: number;
5055
- readonly chargeback_percentage?: number;
5056
- readonly bank_account_number?: string;
5057
- readonly aba_routing_transit_number?: string;
5058
- readonly trade_sector?: io.flow.v0.enums.OnboardingTradeSector[];
5059
- readonly other_trade_sector?: string;
5060
- readonly third_party_logistics_partners?: io.flow.v0.models.ThirdPartyLogisticsPartner[];
5061
- readonly average_order_weight?: number;
5062
- readonly package_dimensions?: io.flow.v0.models.Dimension[];
5063
- readonly monthly_average?: io.flow.v0.models.MonthlyAverage;
5064
- readonly dangerous_goods?: io.flow.v0.enums.OnboardingDangerousGoods[];
5065
- readonly default_country_of_origin?: string;
5066
- readonly ratecard?: io.flow.v0.models.RatecardReference;
5067
- readonly created_at: string;
5068
- }
5069
-
5070
- interface ChannelOrganizationApplicationForm {
5071
- readonly company?: io.flow.v0.models.MerchantInfo;
5072
- readonly indirect_tax_number?: string;
5073
- readonly parent_company?: io.flow.v0.models.MerchantInfo;
5074
- readonly beneficiary?: string;
5075
- readonly business_url?: string;
5076
- readonly business_description?: string;
5077
- readonly business_address?: io.flow.v0.models.Address;
5078
- readonly refund_percentage?: number;
5079
- readonly chargeback_percentage?: number;
5080
- readonly bank_account_number?: string;
5081
- readonly aba_routing_transit_number?: string;
5082
- readonly trade_sector?: io.flow.v0.enums.OnboardingTradeSector[];
5083
- readonly other_trade_sector?: string;
5084
- readonly third_party_logistics_partners?: io.flow.v0.models.ThirdPartyLogisticsPartner[];
5085
- readonly average_order_weight?: number;
5086
- readonly package_dimensions?: io.flow.v0.models.Dimension[];
5087
- readonly monthly_average_volume_amount?: number;
5088
- readonly monthly_average_volume_currency?: string;
5089
- readonly monthly_average_number_transactions?: number;
5090
- readonly dangerous_goods?: io.flow.v0.enums.OnboardingDangerousGoods[];
5091
- readonly default_country_of_origin?: string;
5092
- readonly ratecard_id?: string;
5093
- }
5094
-
5095
5070
  interface ChannelOrganizationAuthorization {
5096
5071
  readonly placeholder?: string;
5097
5072
  }
@@ -5795,6 +5770,12 @@ declare namespace io.flow.v0.models {
5795
5770
  readonly amount: number;
5796
5771
  }
5797
5772
 
5773
+ interface Deduction {
5774
+ readonly type: io.flow.v0.enums.DeductionType;
5775
+ readonly amount: number;
5776
+ readonly description: string;
5777
+ }
5778
+
5798
5779
  interface DeliveredDutySetting {
5799
5780
  readonly default: io.flow.v0.enums.DeliveredDuty;
5800
5781
  readonly available: io.flow.v0.enums.DeliveredDuty[];
@@ -9920,6 +9901,11 @@ declare namespace io.flow.v0.models {
9920
9901
  readonly payment: io.flow.v0.unions.Payment;
9921
9902
  }
9922
9903
 
9904
+ interface Payout {
9905
+ readonly amount: number;
9906
+ readonly sent_on: string;
9907
+ }
9908
+
9923
9909
  interface PaypalAuthorizationDetails {
9924
9910
  readonly discriminator: 'paypal_authorization_details';
9925
9911
  readonly payment_id: string;
@@ -11209,6 +11195,11 @@ declare namespace io.flow.v0.models {
11209
11195
  readonly minute_of_hour: string;
11210
11196
  }
11211
11197
 
11198
+ interface SelectIssuerOptionActionDetails {
11199
+ readonly discriminator: 'select_issuer_option_action_details';
11200
+ readonly issuer_options: io.flow.v0.models.IssuerReference[];
11201
+ }
11202
+
11212
11203
  interface ServiceReference {
11213
11204
  readonly id: string;
11214
11205
  }
@@ -11758,6 +11749,56 @@ declare namespace io.flow.v0.models {
11758
11749
  readonly id: string;
11759
11750
  }
11760
11751
 
11752
+ interface ShopifyMerchantApplication {
11753
+ readonly id: string;
11754
+ readonly company?: io.flow.v0.models.MerchantInfo;
11755
+ readonly indirect_tax_number?: string;
11756
+ readonly parent_company?: io.flow.v0.models.MerchantInfo;
11757
+ readonly beneficiary?: string;
11758
+ readonly business_url?: string;
11759
+ readonly business_description?: string;
11760
+ readonly business_address?: io.flow.v0.models.Address;
11761
+ readonly refund_percentage?: number;
11762
+ readonly chargeback_percentage?: number;
11763
+ readonly bank_account_number?: string;
11764
+ readonly aba_routing_transit_number?: string;
11765
+ readonly trade_sectors?: io.flow.v0.enums.OnboardingTradeSector[];
11766
+ readonly other_trade_sector?: string;
11767
+ readonly third_party_logistics_partners?: io.flow.v0.models.ThirdPartyLogisticsPartner[];
11768
+ readonly average_order_weight?: number;
11769
+ readonly package_dimensions?: io.flow.v0.models.Dimension[];
11770
+ readonly monthly_average?: io.flow.v0.models.MonthlyAverage;
11771
+ readonly dangerous_goods?: io.flow.v0.enums.OnboardingDangerousGoods[];
11772
+ readonly default_country_of_origin?: string;
11773
+ readonly ratecard?: io.flow.v0.models.RatecardReference;
11774
+ readonly created_at: string;
11775
+ }
11776
+
11777
+ interface ShopifyMerchantApplicationForm {
11778
+ readonly company?: io.flow.v0.models.MerchantInfo;
11779
+ readonly indirect_tax_number?: string;
11780
+ readonly parent_company?: io.flow.v0.models.MerchantInfo;
11781
+ readonly beneficiary?: string;
11782
+ readonly business_url?: string;
11783
+ readonly business_description?: string;
11784
+ readonly business_address?: io.flow.v0.models.Address;
11785
+ readonly refund_percentage?: number;
11786
+ readonly chargeback_percentage?: number;
11787
+ readonly bank_account_number?: string;
11788
+ readonly aba_routing_transit_number?: string;
11789
+ readonly trade_sectors?: io.flow.v0.enums.OnboardingTradeSector[];
11790
+ readonly other_trade_sector?: string;
11791
+ readonly third_party_logistics_partners?: io.flow.v0.models.ThirdPartyLogisticsPartner[];
11792
+ readonly average_order_weight?: number;
11793
+ readonly package_dimensions?: io.flow.v0.models.Dimension[];
11794
+ readonly monthly_average_volume_amount?: number;
11795
+ readonly monthly_average_volume_currency?: string;
11796
+ readonly monthly_average_number_transactions?: number;
11797
+ readonly dangerous_goods?: io.flow.v0.enums.OnboardingDangerousGoods[];
11798
+ readonly default_country_of_origin?: string;
11799
+ readonly ratecard_id?: string;
11800
+ }
11801
+
11761
11802
  interface ShopifyOrderAttributesForm {
11762
11803
  readonly attributes: Record<string, string>;
11763
11804
  }
@@ -11879,6 +11920,18 @@ declare namespace io.flow.v0.models {
11879
11920
  readonly sort?: string;
11880
11921
  }
11881
11922
 
11923
+ interface Statement {
11924
+ readonly id: string;
11925
+ readonly account: io.flow.v0.models.AccountReference;
11926
+ readonly payout: io.flow.v0.models.StatementPayout;
11927
+ readonly attachments: io.flow.v0.models.Attachment[];
11928
+ }
11929
+
11930
+ interface StatementPayout {
11931
+ readonly status: io.flow.v0.enums.PayoutStatus;
11932
+ readonly payout?: io.flow.v0.models.Payout;
11933
+ }
11934
+
11882
11935
  interface StreetAddress {
11883
11936
  readonly streets?: string[];
11884
11937
  readonly city?: string;
@@ -12537,6 +12590,45 @@ declare namespace io.flow.v0.models {
12537
12590
  readonly duty: io.flow.v0.models.Duty;
12538
12591
  }
12539
12592
 
12593
+ interface Transaction {
12594
+ readonly id: string;
12595
+ readonly order: io.flow.v0.models.BillingChannelOrderReference;
12596
+ readonly statement?: io.flow.v0.models.BillingChannelStatementReference;
12597
+ readonly payment_request?: io.flow.v0.models.BillingChannelPaymentRequestReference;
12598
+ readonly currency: string;
12599
+ readonly source: io.flow.v0.unions.TransactionSource;
12600
+ readonly gross: number;
12601
+ readonly fees: io.flow.v0.models.Deduction[];
12602
+ readonly withholdings: io.flow.v0.models.Deduction[];
12603
+ readonly net: number;
12604
+ readonly created_at: string;
12605
+ }
12606
+
12607
+ interface TransactionSourceAdjustment {
12608
+ readonly discriminator: 'transaction_source_adjustment';
12609
+ readonly id: string;
12610
+ }
12611
+
12612
+ interface TransactionSourceCapture {
12613
+ readonly discriminator: 'transaction_source_capture';
12614
+ readonly id: string;
12615
+ }
12616
+
12617
+ interface TransactionSourceDispute {
12618
+ readonly discriminator: 'transaction_source_dispute';
12619
+ readonly id: string;
12620
+ }
12621
+
12622
+ interface TransactionSourceRefund {
12623
+ readonly discriminator: 'transaction_source_refund';
12624
+ readonly id: string;
12625
+ }
12626
+
12627
+ interface TransactionSourceShippingLabel {
12628
+ readonly discriminator: 'transaction_source_shipping_label';
12629
+ readonly id: string;
12630
+ }
12631
+
12540
12632
  interface TransitEstimate {
12541
12633
  readonly origin: io.flow.v0.enums.DeliveryWindowLocation;
12542
12634
  readonly destination: io.flow.v0.enums.DeliveryWindowLocation;
@@ -12814,7 +12906,8 @@ declare namespace io.flow.v0.unions {
12814
12906
  | io.flow.v0.models.StripeAuthorizationResultActionDetails
12815
12907
  | io.flow.v0.models.ThreedsIdentifyActionDetails
12816
12908
  | io.flow.v0.models.ThreedsChallengeActionDetails
12817
- | io.flow.v0.models.KlarnaSdkAuthorizationResultActionDetails;
12909
+ | io.flow.v0.models.KlarnaSdkAuthorizationResultActionDetails
12910
+ | io.flow.v0.models.SelectIssuerOptionActionDetails;
12818
12911
  type AvailableFilter =
12819
12912
  | io.flow.v0.models.AvailableFilterStructured
12820
12913
  | io.flow.v0.models.AvailableFilterUnstructured;
@@ -13278,6 +13371,12 @@ declare namespace io.flow.v0.unions {
13278
13371
  | io.flow.v0.models.OrganizationTokenReference
13279
13372
  | io.flow.v0.models.OrganizationTokenV2Reference
13280
13373
  | io.flow.v0.models.PartnerTokenReference;
13374
+ type TransactionSource =
13375
+ | io.flow.v0.models.TransactionSourceCapture
13376
+ | io.flow.v0.models.TransactionSourceRefund
13377
+ | io.flow.v0.models.TransactionSourceDispute
13378
+ | io.flow.v0.models.TransactionSourceAdjustment
13379
+ | io.flow.v0.models.TransactionSourceShippingLabel;
13281
13380
  }
13282
13381
 
13283
13382
  export type AbandonedOrderEmailSettings =
@@ -13295,6 +13394,7 @@ export type AbandonedOrderSettingStatus =
13295
13394
  io.flow.v0.enums.AbandonedOrderSettingStatus;
13296
13395
  export type AbandonedOrderSettings = io.flow.v0.models.AbandonedOrderSettings;
13297
13396
  export type AccountOrdersExportType = io.flow.v0.models.AccountOrdersExportType;
13397
+ export type AccountReference = io.flow.v0.models.AccountReference;
13298
13398
  export type AccountTransactionsExportType =
13299
13399
  io.flow.v0.models.AccountTransactionsExportType;
13300
13400
  export type AchAuthorizationForm = io.flow.v0.models.AchAuthorizationForm;
@@ -13367,6 +13467,8 @@ export type AnalyticsExportType = io.flow.v0.models.AnalyticsExportType;
13367
13467
  export type ApplePayMerchantValidationPayload =
13368
13468
  io.flow.v0.models.ApplePayMerchantValidationPayload;
13369
13469
  export type AtCost = io.flow.v0.models.AtCost;
13470
+ export type Attachment = io.flow.v0.models.Attachment;
13471
+ export type AttachmentType = io.flow.v0.enums.AttachmentType;
13370
13472
  export type Attribute = io.flow.v0.models.Attribute;
13371
13473
  export type AttributeDataType = io.flow.v0.enums.AttributeDataType;
13372
13474
  export type AttributeDeleted = io.flow.v0.models.AttributeDeleted;
@@ -13448,6 +13550,12 @@ export type B2BInvoiceType = io.flow.v0.enums.B2BInvoiceType;
13448
13550
  export type B2BInvoiceUpserted = io.flow.v0.models.B2BInvoiceUpserted;
13449
13551
  export type BehaviorAudit = io.flow.v0.models.BehaviorAudit;
13450
13552
  export type BillingAddress = io.flow.v0.models.BillingAddress;
13553
+ export type BillingChannelOrderReference =
13554
+ io.flow.v0.models.BillingChannelOrderReference;
13555
+ export type BillingChannelPaymentRequestReference =
13556
+ io.flow.v0.models.BillingChannelPaymentRequestReference;
13557
+ export type BillingChannelStatementReference =
13558
+ io.flow.v0.models.BillingChannelStatementReference;
13451
13559
  export type BrowseOptinResponses = io.flow.v0.models.BrowseOptinResponses;
13452
13560
  export type BrowseOptinResponsesDeleted =
13453
13561
  io.flow.v0.models.BrowseOptinResponsesDeleted;
@@ -13545,10 +13653,6 @@ export type ChannelCurrencyDeleted = io.flow.v0.models.ChannelCurrencyDeleted;
13545
13653
  export type ChannelCurrencyUpserted = io.flow.v0.models.ChannelCurrencyUpserted;
13546
13654
  export type ChannelDeleted = io.flow.v0.models.ChannelDeleted;
13547
13655
  export type ChannelOrganization = io.flow.v0.models.ChannelOrganization;
13548
- export type ChannelOrganizationApplication =
13549
- io.flow.v0.models.ChannelOrganizationApplication;
13550
- export type ChannelOrganizationApplicationForm =
13551
- io.flow.v0.models.ChannelOrganizationApplicationForm;
13552
13656
  export type ChannelOrganizationAuthorization =
13553
13657
  io.flow.v0.models.ChannelOrganizationAuthorization;
13554
13658
  export type ChannelOrganizationAuthorizationForm =
@@ -13697,6 +13801,8 @@ export type DatetimeRange = io.flow.v0.models.DatetimeRange;
13697
13801
  export type DatetimeWithTimezone = io.flow.v0.models.DatetimeWithTimezone;
13698
13802
  export type DayOfWeek = io.flow.v0.enums.DayOfWeek;
13699
13803
  export type DdpRatecardFee = io.flow.v0.models.DdpRatecardFee;
13804
+ export type Deduction = io.flow.v0.models.Deduction;
13805
+ export type DeductionType = io.flow.v0.enums.DeductionType;
13700
13806
  export type DeliveredDuty = io.flow.v0.enums.DeliveredDuty;
13701
13807
  export type DeliveredDutyDisplayType =
13702
13808
  io.flow.v0.enums.DeliveredDutyDisplayType;
@@ -14633,6 +14739,8 @@ export type PaymentTax = io.flow.v0.models.PaymentTax;
14633
14739
  export type PaymentType = io.flow.v0.enums.PaymentType;
14634
14740
  export type PaymentUpserted = io.flow.v0.models.PaymentUpserted;
14635
14741
  export type PaymentVersion = io.flow.v0.models.PaymentVersion;
14742
+ export type Payout = io.flow.v0.models.Payout;
14743
+ export type PayoutStatus = io.flow.v0.enums.PayoutStatus;
14636
14744
  export type PaypalAuthorizationDetails =
14637
14745
  io.flow.v0.models.PaypalAuthorizationDetails;
14638
14746
  export type PaypalAuthorizationForm = io.flow.v0.models.PaypalAuthorizationForm;
@@ -14864,6 +14972,8 @@ export type ScheduledExportForm = io.flow.v0.models.ScheduledExportForm;
14864
14972
  export type ScheduledPickup = io.flow.v0.models.ScheduledPickup;
14865
14973
  export type SdkAdyenV3AuthenticationToken =
14866
14974
  io.flow.v0.unions.SdkAdyenV3AuthenticationToken;
14975
+ export type SelectIssuerOptionActionDetails =
14976
+ io.flow.v0.models.SelectIssuerOptionActionDetails;
14867
14977
  export type ServiceFee = io.flow.v0.unions.ServiceFee;
14868
14978
  export type ServiceReference = io.flow.v0.models.ServiceReference;
14869
14979
  export type ServiceSummary = io.flow.v0.models.ServiceSummary;
@@ -14995,6 +15105,10 @@ export type ShopifyLocationFlowCenterMappingForm =
14995
15105
  io.flow.v0.models.ShopifyLocationFlowCenterMappingForm;
14996
15106
  export type ShopifyLocationReference =
14997
15107
  io.flow.v0.models.ShopifyLocationReference;
15108
+ export type ShopifyMerchantApplication =
15109
+ io.flow.v0.models.ShopifyMerchantApplication;
15110
+ export type ShopifyMerchantApplicationForm =
15111
+ io.flow.v0.models.ShopifyMerchantApplicationForm;
14998
15112
  export type ShopifyOrderAttributesForm =
14999
15113
  io.flow.v0.models.ShopifyOrderAttributesForm;
15000
15114
  export type ShopifyOrderDeliveryMetafield =
@@ -15024,6 +15138,8 @@ export type SolidusProductExportType =
15024
15138
  export type SolidusVariantExportType =
15025
15139
  io.flow.v0.models.SolidusVariantExportType;
15026
15140
  export type SortDirection = io.flow.v0.enums.SortDirection;
15141
+ export type Statement = io.flow.v0.models.Statement;
15142
+ export type StatementPayout = io.flow.v0.models.StatementPayout;
15027
15143
  export type Strategy = io.flow.v0.enums.Strategy;
15028
15144
  export type StreetAddress = io.flow.v0.models.StreetAddress;
15029
15145
  export type StripeAuthenticationData =
@@ -15164,6 +15280,17 @@ export type TradeAgreementCertifier = io.flow.v0.models.TradeAgreementCertifier;
15164
15280
  export type TradeAgreementDuty = io.flow.v0.models.TradeAgreementDuty;
15165
15281
  export type TradeAgreementName = io.flow.v0.enums.TradeAgreementName;
15166
15282
  export type TradeAgreementStatus = io.flow.v0.enums.TradeAgreementStatus;
15283
+ export type Transaction = io.flow.v0.models.Transaction;
15284
+ export type TransactionSource = io.flow.v0.unions.TransactionSource;
15285
+ export type TransactionSourceAdjustment =
15286
+ io.flow.v0.models.TransactionSourceAdjustment;
15287
+ export type TransactionSourceCapture =
15288
+ io.flow.v0.models.TransactionSourceCapture;
15289
+ export type TransactionSourceDispute =
15290
+ io.flow.v0.models.TransactionSourceDispute;
15291
+ export type TransactionSourceRefund = io.flow.v0.models.TransactionSourceRefund;
15292
+ export type TransactionSourceShippingLabel =
15293
+ io.flow.v0.models.TransactionSourceShippingLabel;
15167
15294
  export type TransitEstimate = io.flow.v0.models.TransitEstimate;
15168
15295
  export type TransitWindow = io.flow.v0.models.TransitWindow;
15169
15296
  export type UnharmonizedItemExportType =