@flowio/types 11.24.1 → 11.24.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.
@@ -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,28 @@ 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 reference_id: string;
15739
+ readonly status: io.flow.internal.v0.enums.LabelCreationStatus;
15740
+ readonly label_url?: string;
15741
+ readonly commercial_invoice_url?: string;
15742
+ readonly flow_tracking_number?: string;
15743
+ readonly errors: string[];
15744
+ }
15745
+ interface LabelCreationJobSummary {
15746
+ readonly reference_id: string;
15747
+ readonly status: io.flow.internal.v0.enums.LabelCreationStatus;
15748
+ }
15749
+ interface LabelCreationRequestForm {
15750
+ readonly shipping_label_form: io.flow.label.v0.unions.ShippingLabelForm;
15751
+ readonly organization_id: string;
15752
+ readonly shipment_cost?: io.flow.common.v0.models.Money;
15753
+ readonly reference_id?: string;
15754
+ }
15680
15755
  interface LabelGenerationSettings {
15681
15756
  readonly id: string;
15682
15757
  readonly item_identifier?: string;
@@ -16121,7 +16196,7 @@ declare namespace io.flow.internal.v0.models {
16121
16196
  readonly businesses: io.flow.internal.v0.models.MarketingGatewayFacebookBusinessSummary[];
16122
16197
  }
16123
16198
  interface MarketingGatewayFacebookConnectionAccessTokenSummary {
16124
- readonly catalog_id: number;
16199
+ readonly catalog_id?: number;
16125
16200
  readonly created_at?: number;
16126
16201
  readonly expires_at?: number;
16127
16202
  readonly user_id: string;
@@ -17347,6 +17422,11 @@ declare namespace io.flow.internal.v0.models {
17347
17422
  readonly organization: string;
17348
17423
  readonly estimate: io.flow.ratecard.v0.models.DimensionEstimate;
17349
17424
  }
17425
+ interface RatecardInternalServiceFee {
17426
+ readonly id: string;
17427
+ readonly service_id: string;
17428
+ readonly fees: io.flow.ratecard.v0.unions.ServiceFee[];
17429
+ }
17350
17430
  interface RatecardInternalSummary {
17351
17431
  readonly id: string;
17352
17432
  readonly organization: io.flow.common.v0.models.OrganizationReference;
@@ -17395,14 +17475,14 @@ declare namespace io.flow.internal.v0.models {
17395
17475
  readonly event_id: string;
17396
17476
  readonly timestamp: string;
17397
17477
  readonly organization: string;
17398
- readonly fee: io.flow.ratecard.v0.unions.ServiceFee;
17478
+ readonly fee: io.flow.internal.v0.models.RatecardInternalServiceFee;
17399
17479
  }
17400
17480
  interface RatecardServiceFeeUpserted {
17401
17481
  readonly discriminator: 'ratecard_service_fee_upserted';
17402
17482
  readonly event_id: string;
17403
17483
  readonly timestamp: string;
17404
17484
  readonly organization: string;
17405
- readonly fee: io.flow.ratecard.v0.unions.ServiceFee;
17485
+ readonly fee: io.flow.internal.v0.models.RatecardInternalServiceFee;
17406
17486
  }
17407
17487
  interface RatecardStandardConfiguration {
17408
17488
  readonly id: string;
@@ -20273,11 +20353,18 @@ export declare type LabProjectSettingsFormAcceptance = io.flow.internal.v0.model
20273
20353
  export declare type LabelAliases = io.flow.internal.v0.models.LabelAliases;
20274
20354
  export declare type LabelAssociation = io.flow.internal.v0.models.LabelAssociation;
20275
20355
  export declare type LabelBillingStrategy = io.flow.internal.v0.enums.LabelBillingStrategy;
20356
+ export declare type LabelCancellationError = io.flow.internal.v0.models.LabelCancellationError;
20357
+ export declare type LabelCancellationErrorCode = io.flow.internal.v0.enums.LabelCancellationErrorCode;
20358
+ export declare type LabelCreationJob = io.flow.internal.v0.models.LabelCreationJob;
20359
+ export declare type LabelCreationJobSummary = io.flow.internal.v0.models.LabelCreationJobSummary;
20360
+ export declare type LabelCreationRequestForm = io.flow.internal.v0.models.LabelCreationRequestForm;
20361
+ export declare type LabelCreationStatus = io.flow.internal.v0.enums.LabelCreationStatus;
20276
20362
  export declare type LabelGenerationSettings = io.flow.internal.v0.models.LabelGenerationSettings;
20277
20363
  export declare type LabelGenerationSettingsForm = io.flow.internal.v0.models.LabelGenerationSettingsForm;
20278
20364
  export declare type LabelSummary = io.flow.internal.v0.models.LabelSummary;
20279
20365
  export declare type LabelTaxonomy = io.flow.internal.v0.models.LabelTaxonomy;
20280
20366
  export declare type LabelTransaction = io.flow.internal.v0.models.LabelTransaction;
20367
+ export declare type LabelTransactionType = io.flow.internal.v0.enums.LabelTransactionType;
20281
20368
  export declare type LabeledContent = io.flow.internal.v0.models.LabeledContent;
20282
20369
  export declare type LabelsPrediction = io.flow.internal.v0.models.LabelsPrediction;
20283
20370
  export declare type LandedCostItem = io.flow.internal.v0.models.LandedCostItem;
@@ -20583,6 +20670,7 @@ export declare type RateUpsertedV2 = io.flow.internal.v0.models.RateUpsertedV2;
20583
20670
  export declare type RateWithFees = io.flow.internal.v0.models.RateWithFees;
20584
20671
  export declare type RatecardDimensionEstimateDeleted = io.flow.internal.v0.models.RatecardDimensionEstimateDeleted;
20585
20672
  export declare type RatecardDimensionEstimateUpserted = io.flow.internal.v0.models.RatecardDimensionEstimateUpserted;
20673
+ export declare type RatecardInternalServiceFee = io.flow.internal.v0.models.RatecardInternalServiceFee;
20586
20674
  export declare type RatecardInternalSummary = io.flow.internal.v0.models.RatecardInternalSummary;
20587
20675
  export declare type RatecardLaneAggregate = io.flow.internal.v0.models.RatecardLaneAggregate;
20588
20676
  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';
@@ -2408,6 +2411,7 @@ declare namespace io.flow.v0.enums {
2408
2411
  type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired';
2409
2412
  type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
2410
2413
  type TradeAgreementStatus = 'supported' | 'not_supported';
2414
+ type TransactionSourceType = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'shipping_label';
2411
2415
  type UnitOfMeasurement = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'cubic_inch' | 'cubic_meter' | 'gram' | 'kilogram' | 'meter' | 'ounce' | 'pound';
2412
2416
  type UnitOfTime = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute';
2413
2417
  type UpdatePolicy = 'auto' | 'queue' | 'discard';
@@ -2465,6 +2469,10 @@ declare namespace io.flow.v0.models {
2465
2469
  readonly transaction_posted_on_or_before?: string;
2466
2470
  readonly transaction_posted_before?: string;
2467
2471
  }
2472
+ interface AccountReference {
2473
+ readonly id: string;
2474
+ readonly currency: string;
2475
+ }
2468
2476
  interface AccountTransactionsExportType {
2469
2477
  readonly discriminator: 'account_transactions_export_type';
2470
2478
  readonly statement_id?: string;
@@ -2776,6 +2784,10 @@ declare namespace io.flow.v0.models {
2776
2784
  readonly discriminator: 'at_cost';
2777
2785
  readonly ignore?: string;
2778
2786
  }
2787
+ interface Attachment {
2788
+ readonly type: io.flow.v0.enums.AttachmentType;
2789
+ readonly url: string;
2790
+ }
2779
2791
  interface Attribute {
2780
2792
  readonly id: string;
2781
2793
  readonly key: string;
@@ -3071,6 +3083,15 @@ declare namespace io.flow.v0.models {
3071
3083
  readonly country?: string;
3072
3084
  readonly company?: string;
3073
3085
  }
3086
+ interface BillingChannelOrderReference {
3087
+ readonly number: string;
3088
+ }
3089
+ interface BillingChannelPaymentRequestReference {
3090
+ readonly id: string;
3091
+ }
3092
+ interface BillingChannelStatementReference {
3093
+ readonly id: string;
3094
+ }
3074
3095
  interface BrowseOptinResponses {
3075
3096
  readonly id: string;
3076
3097
  readonly session_id: string;
@@ -3540,54 +3561,6 @@ declare namespace io.flow.v0.models {
3540
3561
  readonly defaults: io.flow.v0.models.OrganizationDefaults;
3541
3562
  readonly attributes?: Record<string, string>;
3542
3563
  }
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
3564
  interface ChannelOrganizationAuthorization {
3592
3565
  readonly placeholder?: string;
3593
3566
  }
@@ -4187,6 +4160,11 @@ declare namespace io.flow.v0.models {
4187
4160
  readonly discriminator: 'ddp_ratecard_fee';
4188
4161
  readonly amount: number;
4189
4162
  }
4163
+ interface Deduction {
4164
+ readonly type: io.flow.v0.enums.DeductionType;
4165
+ readonly amount: number;
4166
+ readonly description: string;
4167
+ }
4190
4168
  interface DeliveredDutySetting {
4191
4169
  readonly default: io.flow.v0.enums.DeliveredDuty;
4192
4170
  readonly available: io.flow.v0.enums.DeliveredDuty[];
@@ -7717,6 +7695,10 @@ declare namespace io.flow.v0.models {
7717
7695
  readonly type: io.flow.v0.enums.ChangeType;
7718
7696
  readonly payment: io.flow.v0.unions.Payment;
7719
7697
  }
7698
+ interface Payout {
7699
+ readonly amount: number;
7700
+ readonly sent_on: string;
7701
+ }
7720
7702
  interface PaypalAuthorizationDetails {
7721
7703
  readonly discriminator: 'paypal_authorization_details';
7722
7704
  readonly payment_id: string;
@@ -8830,6 +8812,10 @@ declare namespace io.flow.v0.models {
8830
8812
  readonly hour_of_day: string;
8831
8813
  readonly minute_of_hour: string;
8832
8814
  }
8815
+ interface SelectIssuerOptionActionDetails {
8816
+ readonly discriminator: 'select_issuer_option_action_details';
8817
+ readonly issuer_options: io.flow.v0.models.IssuerReference[];
8818
+ }
8833
8819
  interface ServiceReference {
8834
8820
  readonly id: string;
8835
8821
  }
@@ -9301,6 +9287,54 @@ declare namespace io.flow.v0.models {
9301
9287
  interface ShopifyLocationReference {
9302
9288
  readonly id: string;
9303
9289
  }
9290
+ interface ShopifyMerchantApplication {
9291
+ readonly id: string;
9292
+ readonly company?: io.flow.v0.models.MerchantInfo;
9293
+ readonly indirect_tax_number?: string;
9294
+ readonly parent_company?: io.flow.v0.models.MerchantInfo;
9295
+ readonly beneficiary?: string;
9296
+ readonly business_url?: string;
9297
+ readonly business_description?: string;
9298
+ readonly business_address?: io.flow.v0.models.Address;
9299
+ readonly refund_percentage?: number;
9300
+ readonly chargeback_percentage?: number;
9301
+ readonly bank_account_number?: string;
9302
+ readonly aba_routing_transit_number?: string;
9303
+ readonly trade_sector?: io.flow.v0.enums.OnboardingTradeSector[];
9304
+ readonly other_trade_sector?: string;
9305
+ readonly third_party_logistics_partners?: io.flow.v0.models.ThirdPartyLogisticsPartner[];
9306
+ readonly average_order_weight?: number;
9307
+ readonly package_dimensions?: io.flow.v0.models.Dimension[];
9308
+ readonly monthly_average?: io.flow.v0.models.MonthlyAverage;
9309
+ readonly dangerous_goods?: io.flow.v0.enums.OnboardingDangerousGoods[];
9310
+ readonly default_country_of_origin?: string;
9311
+ readonly ratecard?: io.flow.v0.models.RatecardReference;
9312
+ readonly created_at: string;
9313
+ }
9314
+ interface ShopifyMerchantApplicationForm {
9315
+ readonly company?: io.flow.v0.models.MerchantInfo;
9316
+ readonly indirect_tax_number?: string;
9317
+ readonly parent_company?: io.flow.v0.models.MerchantInfo;
9318
+ readonly beneficiary?: string;
9319
+ readonly business_url?: string;
9320
+ readonly business_description?: string;
9321
+ readonly business_address?: io.flow.v0.models.Address;
9322
+ readonly refund_percentage?: number;
9323
+ readonly chargeback_percentage?: number;
9324
+ readonly bank_account_number?: string;
9325
+ readonly aba_routing_transit_number?: string;
9326
+ readonly trade_sector?: io.flow.v0.enums.OnboardingTradeSector[];
9327
+ readonly other_trade_sector?: string;
9328
+ readonly third_party_logistics_partners?: io.flow.v0.models.ThirdPartyLogisticsPartner[];
9329
+ readonly average_order_weight?: number;
9330
+ readonly package_dimensions?: io.flow.v0.models.Dimension[];
9331
+ readonly monthly_average_volume_amount?: number;
9332
+ readonly monthly_average_volume_currency?: string;
9333
+ readonly monthly_average_number_transactions?: number;
9334
+ readonly dangerous_goods?: io.flow.v0.enums.OnboardingDangerousGoods[];
9335
+ readonly default_country_of_origin?: string;
9336
+ readonly ratecard_id?: string;
9337
+ }
9304
9338
  interface ShopifyOrderAttributesForm {
9305
9339
  readonly attributes: Record<string, string>;
9306
9340
  }
@@ -9405,6 +9439,16 @@ declare namespace io.flow.v0.models {
9405
9439
  readonly numbers?: string[];
9406
9440
  readonly sort?: string;
9407
9441
  }
9442
+ interface Statement {
9443
+ readonly id: string;
9444
+ readonly account: io.flow.v0.models.AccountReference;
9445
+ readonly payout: io.flow.v0.models.StatementPayout;
9446
+ readonly attachments: io.flow.v0.models.Attachment[];
9447
+ }
9448
+ interface StatementPayout {
9449
+ readonly status: io.flow.v0.enums.PayoutStatus;
9450
+ readonly payout?: io.flow.v0.models.Payout;
9451
+ }
9408
9452
  interface StreetAddress {
9409
9453
  readonly streets?: string[];
9410
9454
  readonly city?: string;
@@ -9973,6 +10017,23 @@ declare namespace io.flow.v0.models {
9973
10017
  readonly trade_agreement: io.flow.v0.models.TradeAgreement;
9974
10018
  readonly duty: io.flow.v0.models.Duty;
9975
10019
  }
10020
+ interface Transaction {
10021
+ readonly id: string;
10022
+ readonly order: io.flow.v0.models.BillingChannelOrderReference;
10023
+ readonly statement?: io.flow.v0.models.BillingChannelStatementReference;
10024
+ readonly payment_request: io.flow.v0.models.BillingChannelPaymentRequestReference;
10025
+ readonly currency: string;
10026
+ readonly source: io.flow.v0.models.TransactionSource;
10027
+ readonly gross: number;
10028
+ readonly fees: io.flow.v0.models.Deduction[];
10029
+ readonly withholdings: io.flow.v0.models.Deduction[];
10030
+ readonly net: number;
10031
+ readonly created_at: string;
10032
+ }
10033
+ interface TransactionSource {
10034
+ readonly id: string;
10035
+ readonly type: io.flow.v0.enums.TransactionSourceType;
10036
+ }
9976
10037
  interface TransitEstimate {
9977
10038
  readonly origin: io.flow.v0.enums.DeliveryWindowLocation;
9978
10039
  readonly destination: io.flow.v0.enums.DeliveryWindowLocation;
@@ -10177,7 +10238,7 @@ declare namespace io.flow.v0.unions {
10177
10238
  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
10239
  type AuthorizationPayloadParameters = io.flow.v0.models.GooglePayAuthorizationPayload | io.flow.v0.models.ApplePayMerchantValidationPayload;
10179
10240
  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;
10241
+ 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
10242
  type AvailableFilter = io.flow.v0.models.AvailableFilterStructured | io.flow.v0.models.AvailableFilterUnstructured;
10182
10243
  type BrowserActionConfiguration = io.flow.v0.models.CardBrowserActionConfiguration;
10183
10244
  type CardAuthorizationActionResult = io.flow.v0.models.AuthorizationActionResultAdyenV3 | io.flow.v0.models.AuthorizationActionResultAdyenV4;
@@ -10275,6 +10336,7 @@ export declare type AbandonedOrderPromotionStatus = io.flow.v0.enums.AbandonedOr
10275
10336
  export declare type AbandonedOrderSettingStatus = io.flow.v0.enums.AbandonedOrderSettingStatus;
10276
10337
  export declare type AbandonedOrderSettings = io.flow.v0.models.AbandonedOrderSettings;
10277
10338
  export declare type AccountOrdersExportType = io.flow.v0.models.AccountOrdersExportType;
10339
+ export declare type AccountReference = io.flow.v0.models.AccountReference;
10278
10340
  export declare type AccountTransactionsExportType = io.flow.v0.models.AccountTransactionsExportType;
10279
10341
  export declare type AchAuthorizationForm = io.flow.v0.models.AchAuthorizationForm;
10280
10342
  export declare type Action = io.flow.v0.unions.Action;
@@ -10330,6 +10392,8 @@ export declare type AmountMarginForm = io.flow.v0.models.AmountMarginForm;
10330
10392
  export declare type AnalyticsExportType = io.flow.v0.models.AnalyticsExportType;
10331
10393
  export declare type ApplePayMerchantValidationPayload = io.flow.v0.models.ApplePayMerchantValidationPayload;
10332
10394
  export declare type AtCost = io.flow.v0.models.AtCost;
10395
+ export declare type Attachment = io.flow.v0.models.Attachment;
10396
+ export declare type AttachmentType = io.flow.v0.enums.AttachmentType;
10333
10397
  export declare type Attribute = io.flow.v0.models.Attribute;
10334
10398
  export declare type AttributeDataType = io.flow.v0.enums.AttributeDataType;
10335
10399
  export declare type AttributeDeleted = io.flow.v0.models.AttributeDeleted;
@@ -10391,6 +10455,9 @@ export declare type B2BInvoiceType = io.flow.v0.enums.B2BInvoiceType;
10391
10455
  export declare type B2BInvoiceUpserted = io.flow.v0.models.B2BInvoiceUpserted;
10392
10456
  export declare type BehaviorAudit = io.flow.v0.models.BehaviorAudit;
10393
10457
  export declare type BillingAddress = io.flow.v0.models.BillingAddress;
10458
+ export declare type BillingChannelOrderReference = io.flow.v0.models.BillingChannelOrderReference;
10459
+ export declare type BillingChannelPaymentRequestReference = io.flow.v0.models.BillingChannelPaymentRequestReference;
10460
+ export declare type BillingChannelStatementReference = io.flow.v0.models.BillingChannelStatementReference;
10394
10461
  export declare type BrowseOptinResponses = io.flow.v0.models.BrowseOptinResponses;
10395
10462
  export declare type BrowseOptinResponsesDeleted = io.flow.v0.models.BrowseOptinResponsesDeleted;
10396
10463
  export declare type BrowseOptinResponsesUpserted = io.flow.v0.models.BrowseOptinResponsesUpserted;
@@ -10473,8 +10540,6 @@ export declare type ChannelCurrencyDeleted = io.flow.v0.models.ChannelCurrencyDe
10473
10540
  export declare type ChannelCurrencyUpserted = io.flow.v0.models.ChannelCurrencyUpserted;
10474
10541
  export declare type ChannelDeleted = io.flow.v0.models.ChannelDeleted;
10475
10542
  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
10543
  export declare type ChannelOrganizationAuthorization = io.flow.v0.models.ChannelOrganizationAuthorization;
10479
10544
  export declare type ChannelOrganizationAuthorizationForm = io.flow.v0.models.ChannelOrganizationAuthorizationForm;
10480
10545
  export declare type ChannelOrganizationDeleted = io.flow.v0.models.ChannelOrganizationDeleted;
@@ -10593,6 +10658,8 @@ export declare type DatetimeRange = io.flow.v0.models.DatetimeRange;
10593
10658
  export declare type DatetimeWithTimezone = io.flow.v0.models.DatetimeWithTimezone;
10594
10659
  export declare type DayOfWeek = io.flow.v0.enums.DayOfWeek;
10595
10660
  export declare type DdpRatecardFee = io.flow.v0.models.DdpRatecardFee;
10661
+ export declare type Deduction = io.flow.v0.models.Deduction;
10662
+ export declare type DeductionType = io.flow.v0.enums.DeductionType;
10596
10663
  export declare type DeliveredDuty = io.flow.v0.enums.DeliveredDuty;
10597
10664
  export declare type DeliveredDutyDisplayType = io.flow.v0.enums.DeliveredDutyDisplayType;
10598
10665
  export declare type DeliveredDutySetting = io.flow.v0.models.DeliveredDutySetting;
@@ -11317,6 +11384,8 @@ export declare type PaymentTax = io.flow.v0.models.PaymentTax;
11317
11384
  export declare type PaymentType = io.flow.v0.enums.PaymentType;
11318
11385
  export declare type PaymentUpserted = io.flow.v0.models.PaymentUpserted;
11319
11386
  export declare type PaymentVersion = io.flow.v0.models.PaymentVersion;
11387
+ export declare type Payout = io.flow.v0.models.Payout;
11388
+ export declare type PayoutStatus = io.flow.v0.enums.PayoutStatus;
11320
11389
  export declare type PaypalAuthorizationDetails = io.flow.v0.models.PaypalAuthorizationDetails;
11321
11390
  export declare type PaypalAuthorizationForm = io.flow.v0.models.PaypalAuthorizationForm;
11322
11391
  export declare type PeakSurchargeByWeightServiceFee = io.flow.v0.models.PeakSurchargeByWeightServiceFee;
@@ -11527,6 +11596,7 @@ export declare type ScheduledExport = io.flow.v0.models.ScheduledExport;
11527
11596
  export declare type ScheduledExportForm = io.flow.v0.models.ScheduledExportForm;
11528
11597
  export declare type ScheduledPickup = io.flow.v0.models.ScheduledPickup;
11529
11598
  export declare type SdkAdyenV3AuthenticationToken = io.flow.v0.unions.SdkAdyenV3AuthenticationToken;
11599
+ export declare type SelectIssuerOptionActionDetails = io.flow.v0.models.SelectIssuerOptionActionDetails;
11530
11600
  export declare type ServiceFee = io.flow.v0.unions.ServiceFee;
11531
11601
  export declare type ServiceReference = io.flow.v0.models.ServiceReference;
11532
11602
  export declare type ServiceSummary = io.flow.v0.models.ServiceSummary;
@@ -11617,6 +11687,8 @@ export declare type ShopifyLocalizedVariantPrices = io.flow.v0.models.ShopifyLoc
11617
11687
  export declare type ShopifyLocationFlowCenterMapping = io.flow.v0.models.ShopifyLocationFlowCenterMapping;
11618
11688
  export declare type ShopifyLocationFlowCenterMappingForm = io.flow.v0.models.ShopifyLocationFlowCenterMappingForm;
11619
11689
  export declare type ShopifyLocationReference = io.flow.v0.models.ShopifyLocationReference;
11690
+ export declare type ShopifyMerchantApplication = io.flow.v0.models.ShopifyMerchantApplication;
11691
+ export declare type ShopifyMerchantApplicationForm = io.flow.v0.models.ShopifyMerchantApplicationForm;
11620
11692
  export declare type ShopifyOrderAttributesForm = io.flow.v0.models.ShopifyOrderAttributesForm;
11621
11693
  export declare type ShopifyOrderDeliveryMetafield = io.flow.v0.models.ShopifyOrderDeliveryMetafield;
11622
11694
  export declare type ShopifyOrderDeliveryMetafieldItem = io.flow.v0.models.ShopifyOrderDeliveryMetafieldItem;
@@ -11636,6 +11708,8 @@ export declare type SnapshotUpserted = io.flow.v0.models.SnapshotUpserted;
11636
11708
  export declare type SolidusProductExportType = io.flow.v0.models.SolidusProductExportType;
11637
11709
  export declare type SolidusVariantExportType = io.flow.v0.models.SolidusVariantExportType;
11638
11710
  export declare type SortDirection = io.flow.v0.enums.SortDirection;
11711
+ export declare type Statement = io.flow.v0.models.Statement;
11712
+ export declare type StatementPayout = io.flow.v0.models.StatementPayout;
11639
11713
  export declare type Strategy = io.flow.v0.enums.Strategy;
11640
11714
  export declare type StreetAddress = io.flow.v0.models.StreetAddress;
11641
11715
  export declare type StripeAuthenticationData = io.flow.v0.models.StripeAuthenticationData;
@@ -11756,6 +11830,9 @@ export declare type TradeAgreementCertifier = io.flow.v0.models.TradeAgreementCe
11756
11830
  export declare type TradeAgreementDuty = io.flow.v0.models.TradeAgreementDuty;
11757
11831
  export declare type TradeAgreementName = io.flow.v0.enums.TradeAgreementName;
11758
11832
  export declare type TradeAgreementStatus = io.flow.v0.enums.TradeAgreementStatus;
11833
+ export declare type Transaction = io.flow.v0.models.Transaction;
11834
+ export declare type TransactionSource = io.flow.v0.models.TransactionSource;
11835
+ export declare type TransactionSourceType = io.flow.v0.enums.TransactionSourceType;
11759
11836
  export declare type TransitEstimate = io.flow.v0.models.TransitEstimate;
11760
11837
  export declare type TransitWindow = io.flow.v0.models.TransitWindow;
11761
11838
  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.2",
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": "5a856f0214138246a416fca9a94b25067a1a1e7e"
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,32 @@ 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 reference_id: string;
20413
+ readonly status: io.flow.internal.v0.enums.LabelCreationStatus;
20414
+ readonly label_url?: string;
20415
+ readonly commercial_invoice_url?: string;
20416
+ readonly flow_tracking_number?: string;
20417
+ readonly errors: string[];
20418
+ }
20419
+
20420
+ interface LabelCreationJobSummary {
20421
+ readonly reference_id: string;
20422
+ readonly status: io.flow.internal.v0.enums.LabelCreationStatus;
20423
+ }
20424
+
20425
+ interface LabelCreationRequestForm {
20426
+ readonly shipping_label_form: io.flow.label.v0.unions.ShippingLabelForm;
20427
+ readonly organization_id: string;
20428
+ readonly shipment_cost?: io.flow.common.v0.models.Money;
20429
+ readonly reference_id?: string;
20430
+ }
20431
+
20343
20432
  interface LabelGenerationSettings {
20344
20433
  readonly id: string;
20345
20434
  readonly item_identifier?: string;
@@ -20859,7 +20948,7 @@ declare namespace io.flow.internal.v0.models {
20859
20948
  }
20860
20949
 
20861
20950
  interface MarketingGatewayFacebookConnectionAccessTokenSummary {
20862
- readonly catalog_id: number;
20951
+ readonly catalog_id?: number;
20863
20952
  readonly created_at?: number;
20864
20953
  readonly expires_at?: number;
20865
20954
  readonly user_id: string;
@@ -22269,6 +22358,12 @@ declare namespace io.flow.internal.v0.models {
22269
22358
  readonly estimate: io.flow.ratecard.v0.models.DimensionEstimate;
22270
22359
  }
22271
22360
 
22361
+ interface RatecardInternalServiceFee {
22362
+ readonly id: string;
22363
+ readonly service_id: string;
22364
+ readonly fees: io.flow.ratecard.v0.unions.ServiceFee[];
22365
+ }
22366
+
22272
22367
  interface RatecardInternalSummary {
22273
22368
  readonly id: string;
22274
22369
  readonly organization: io.flow.common.v0.models.OrganizationReference;
@@ -22322,7 +22417,7 @@ declare namespace io.flow.internal.v0.models {
22322
22417
  readonly event_id: string;
22323
22418
  readonly timestamp: string;
22324
22419
  readonly organization: string;
22325
- readonly fee: io.flow.ratecard.v0.unions.ServiceFee;
22420
+ readonly fee: io.flow.internal.v0.models.RatecardInternalServiceFee;
22326
22421
  }
22327
22422
 
22328
22423
  interface RatecardServiceFeeUpserted {
@@ -22330,7 +22425,7 @@ declare namespace io.flow.internal.v0.models {
22330
22425
  readonly event_id: string;
22331
22426
  readonly timestamp: string;
22332
22427
  readonly organization: string;
22333
- readonly fee: io.flow.ratecard.v0.unions.ServiceFee;
22428
+ readonly fee: io.flow.internal.v0.models.RatecardInternalServiceFee;
22334
22429
  }
22335
22430
 
22336
22431
  interface RatecardStandardConfiguration {
@@ -27139,6 +27234,16 @@ export type LabelAliases = io.flow.internal.v0.models.LabelAliases;
27139
27234
  export type LabelAssociation = io.flow.internal.v0.models.LabelAssociation;
27140
27235
  export type LabelBillingStrategy =
27141
27236
  io.flow.internal.v0.enums.LabelBillingStrategy;
27237
+ export type LabelCancellationError =
27238
+ io.flow.internal.v0.models.LabelCancellationError;
27239
+ export type LabelCancellationErrorCode =
27240
+ io.flow.internal.v0.enums.LabelCancellationErrorCode;
27241
+ export type LabelCreationJob = io.flow.internal.v0.models.LabelCreationJob;
27242
+ export type LabelCreationJobSummary =
27243
+ io.flow.internal.v0.models.LabelCreationJobSummary;
27244
+ export type LabelCreationRequestForm =
27245
+ io.flow.internal.v0.models.LabelCreationRequestForm;
27246
+ export type LabelCreationStatus = io.flow.internal.v0.enums.LabelCreationStatus;
27142
27247
  export type LabelGenerationSettings =
27143
27248
  io.flow.internal.v0.models.LabelGenerationSettings;
27144
27249
  export type LabelGenerationSettingsForm =
@@ -27146,6 +27251,8 @@ export type LabelGenerationSettingsForm =
27146
27251
  export type LabelSummary = io.flow.internal.v0.models.LabelSummary;
27147
27252
  export type LabelTaxonomy = io.flow.internal.v0.models.LabelTaxonomy;
27148
27253
  export type LabelTransaction = io.flow.internal.v0.models.LabelTransaction;
27254
+ export type LabelTransactionType =
27255
+ io.flow.internal.v0.enums.LabelTransactionType;
27149
27256
  export type LabeledContent = io.flow.internal.v0.models.LabeledContent;
27150
27257
  export type LabelsPrediction = io.flow.internal.v0.models.LabelsPrediction;
27151
27258
  export type LandedCostItem = io.flow.internal.v0.models.LandedCostItem;
@@ -27660,6 +27767,8 @@ export type RatecardDimensionEstimateDeleted =
27660
27767
  io.flow.internal.v0.models.RatecardDimensionEstimateDeleted;
27661
27768
  export type RatecardDimensionEstimateUpserted =
27662
27769
  io.flow.internal.v0.models.RatecardDimensionEstimateUpserted;
27770
+ export type RatecardInternalServiceFee =
27771
+ io.flow.internal.v0.models.RatecardInternalServiceFee;
27663
27772
  export type RatecardInternalSummary =
27664
27773
  io.flow.internal.v0.models.RatecardInternalSummary;
27665
27774
  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'
@@ -3720,6 +3723,12 @@ declare namespace io.flow.v0.enums {
3720
3723
  | 'expired';
3721
3724
  type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
3722
3725
  type TradeAgreementStatus = 'supported' | 'not_supported';
3726
+ type TransactionSourceType =
3727
+ | 'capture'
3728
+ | 'refund'
3729
+ | 'dispute'
3730
+ | 'adjustment'
3731
+ | 'shipping_label';
3723
3732
  type UnitOfMeasurement =
3724
3733
  | 'millimeter'
3725
3734
  | 'centimeter'
@@ -3805,6 +3814,11 @@ declare namespace io.flow.v0.models {
3805
3814
  readonly transaction_posted_before?: string;
3806
3815
  }
3807
3816
 
3817
+ interface AccountReference {
3818
+ readonly id: string;
3819
+ readonly currency: string;
3820
+ }
3821
+
3808
3822
  interface AccountTransactionsExportType {
3809
3823
  readonly discriminator: 'account_transactions_export_type';
3810
3824
  readonly statement_id?: string;
@@ -4164,6 +4178,11 @@ declare namespace io.flow.v0.models {
4164
4178
  readonly ignore?: string;
4165
4179
  }
4166
4180
 
4181
+ interface Attachment {
4182
+ readonly type: io.flow.v0.enums.AttachmentType;
4183
+ readonly url: string;
4184
+ }
4185
+
4167
4186
  interface Attribute {
4168
4187
  readonly id: string;
4169
4188
  readonly key: string;
@@ -4503,6 +4522,18 @@ declare namespace io.flow.v0.models {
4503
4522
  readonly company?: string;
4504
4523
  }
4505
4524
 
4525
+ interface BillingChannelOrderReference {
4526
+ readonly number: string;
4527
+ }
4528
+
4529
+ interface BillingChannelPaymentRequestReference {
4530
+ readonly id: string;
4531
+ }
4532
+
4533
+ interface BillingChannelStatementReference {
4534
+ readonly id: string;
4535
+ }
4536
+
4506
4537
  interface BrowseOptinResponses {
4507
4538
  readonly id: string;
4508
4539
  readonly session_id: string;
@@ -5042,56 +5073,6 @@ declare namespace io.flow.v0.models {
5042
5073
  readonly attributes?: Record<string, string>;
5043
5074
  }
5044
5075
 
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
5076
  interface ChannelOrganizationAuthorization {
5096
5077
  readonly placeholder?: string;
5097
5078
  }
@@ -5795,6 +5776,12 @@ declare namespace io.flow.v0.models {
5795
5776
  readonly amount: number;
5796
5777
  }
5797
5778
 
5779
+ interface Deduction {
5780
+ readonly type: io.flow.v0.enums.DeductionType;
5781
+ readonly amount: number;
5782
+ readonly description: string;
5783
+ }
5784
+
5798
5785
  interface DeliveredDutySetting {
5799
5786
  readonly default: io.flow.v0.enums.DeliveredDuty;
5800
5787
  readonly available: io.flow.v0.enums.DeliveredDuty[];
@@ -9920,6 +9907,11 @@ declare namespace io.flow.v0.models {
9920
9907
  readonly payment: io.flow.v0.unions.Payment;
9921
9908
  }
9922
9909
 
9910
+ interface Payout {
9911
+ readonly amount: number;
9912
+ readonly sent_on: string;
9913
+ }
9914
+
9923
9915
  interface PaypalAuthorizationDetails {
9924
9916
  readonly discriminator: 'paypal_authorization_details';
9925
9917
  readonly payment_id: string;
@@ -11209,6 +11201,11 @@ declare namespace io.flow.v0.models {
11209
11201
  readonly minute_of_hour: string;
11210
11202
  }
11211
11203
 
11204
+ interface SelectIssuerOptionActionDetails {
11205
+ readonly discriminator: 'select_issuer_option_action_details';
11206
+ readonly issuer_options: io.flow.v0.models.IssuerReference[];
11207
+ }
11208
+
11212
11209
  interface ServiceReference {
11213
11210
  readonly id: string;
11214
11211
  }
@@ -11758,6 +11755,56 @@ declare namespace io.flow.v0.models {
11758
11755
  readonly id: string;
11759
11756
  }
11760
11757
 
11758
+ interface ShopifyMerchantApplication {
11759
+ readonly id: string;
11760
+ readonly company?: io.flow.v0.models.MerchantInfo;
11761
+ readonly indirect_tax_number?: string;
11762
+ readonly parent_company?: io.flow.v0.models.MerchantInfo;
11763
+ readonly beneficiary?: string;
11764
+ readonly business_url?: string;
11765
+ readonly business_description?: string;
11766
+ readonly business_address?: io.flow.v0.models.Address;
11767
+ readonly refund_percentage?: number;
11768
+ readonly chargeback_percentage?: number;
11769
+ readonly bank_account_number?: string;
11770
+ readonly aba_routing_transit_number?: string;
11771
+ readonly trade_sector?: io.flow.v0.enums.OnboardingTradeSector[];
11772
+ readonly other_trade_sector?: string;
11773
+ readonly third_party_logistics_partners?: io.flow.v0.models.ThirdPartyLogisticsPartner[];
11774
+ readonly average_order_weight?: number;
11775
+ readonly package_dimensions?: io.flow.v0.models.Dimension[];
11776
+ readonly monthly_average?: io.flow.v0.models.MonthlyAverage;
11777
+ readonly dangerous_goods?: io.flow.v0.enums.OnboardingDangerousGoods[];
11778
+ readonly default_country_of_origin?: string;
11779
+ readonly ratecard?: io.flow.v0.models.RatecardReference;
11780
+ readonly created_at: string;
11781
+ }
11782
+
11783
+ interface ShopifyMerchantApplicationForm {
11784
+ readonly company?: io.flow.v0.models.MerchantInfo;
11785
+ readonly indirect_tax_number?: string;
11786
+ readonly parent_company?: io.flow.v0.models.MerchantInfo;
11787
+ readonly beneficiary?: string;
11788
+ readonly business_url?: string;
11789
+ readonly business_description?: string;
11790
+ readonly business_address?: io.flow.v0.models.Address;
11791
+ readonly refund_percentage?: number;
11792
+ readonly chargeback_percentage?: number;
11793
+ readonly bank_account_number?: string;
11794
+ readonly aba_routing_transit_number?: string;
11795
+ readonly trade_sector?: io.flow.v0.enums.OnboardingTradeSector[];
11796
+ readonly other_trade_sector?: string;
11797
+ readonly third_party_logistics_partners?: io.flow.v0.models.ThirdPartyLogisticsPartner[];
11798
+ readonly average_order_weight?: number;
11799
+ readonly package_dimensions?: io.flow.v0.models.Dimension[];
11800
+ readonly monthly_average_volume_amount?: number;
11801
+ readonly monthly_average_volume_currency?: string;
11802
+ readonly monthly_average_number_transactions?: number;
11803
+ readonly dangerous_goods?: io.flow.v0.enums.OnboardingDangerousGoods[];
11804
+ readonly default_country_of_origin?: string;
11805
+ readonly ratecard_id?: string;
11806
+ }
11807
+
11761
11808
  interface ShopifyOrderAttributesForm {
11762
11809
  readonly attributes: Record<string, string>;
11763
11810
  }
@@ -11879,6 +11926,18 @@ declare namespace io.flow.v0.models {
11879
11926
  readonly sort?: string;
11880
11927
  }
11881
11928
 
11929
+ interface Statement {
11930
+ readonly id: string;
11931
+ readonly account: io.flow.v0.models.AccountReference;
11932
+ readonly payout: io.flow.v0.models.StatementPayout;
11933
+ readonly attachments: io.flow.v0.models.Attachment[];
11934
+ }
11935
+
11936
+ interface StatementPayout {
11937
+ readonly status: io.flow.v0.enums.PayoutStatus;
11938
+ readonly payout?: io.flow.v0.models.Payout;
11939
+ }
11940
+
11882
11941
  interface StreetAddress {
11883
11942
  readonly streets?: string[];
11884
11943
  readonly city?: string;
@@ -12537,6 +12596,25 @@ declare namespace io.flow.v0.models {
12537
12596
  readonly duty: io.flow.v0.models.Duty;
12538
12597
  }
12539
12598
 
12599
+ interface Transaction {
12600
+ readonly id: string;
12601
+ readonly order: io.flow.v0.models.BillingChannelOrderReference;
12602
+ readonly statement?: io.flow.v0.models.BillingChannelStatementReference;
12603
+ readonly payment_request: io.flow.v0.models.BillingChannelPaymentRequestReference;
12604
+ readonly currency: string;
12605
+ readonly source: io.flow.v0.models.TransactionSource;
12606
+ readonly gross: number;
12607
+ readonly fees: io.flow.v0.models.Deduction[];
12608
+ readonly withholdings: io.flow.v0.models.Deduction[];
12609
+ readonly net: number;
12610
+ readonly created_at: string;
12611
+ }
12612
+
12613
+ interface TransactionSource {
12614
+ readonly id: string;
12615
+ readonly type: io.flow.v0.enums.TransactionSourceType;
12616
+ }
12617
+
12540
12618
  interface TransitEstimate {
12541
12619
  readonly origin: io.flow.v0.enums.DeliveryWindowLocation;
12542
12620
  readonly destination: io.flow.v0.enums.DeliveryWindowLocation;
@@ -12814,7 +12892,8 @@ declare namespace io.flow.v0.unions {
12814
12892
  | io.flow.v0.models.StripeAuthorizationResultActionDetails
12815
12893
  | io.flow.v0.models.ThreedsIdentifyActionDetails
12816
12894
  | io.flow.v0.models.ThreedsChallengeActionDetails
12817
- | io.flow.v0.models.KlarnaSdkAuthorizationResultActionDetails;
12895
+ | io.flow.v0.models.KlarnaSdkAuthorizationResultActionDetails
12896
+ | io.flow.v0.models.SelectIssuerOptionActionDetails;
12818
12897
  type AvailableFilter =
12819
12898
  | io.flow.v0.models.AvailableFilterStructured
12820
12899
  | io.flow.v0.models.AvailableFilterUnstructured;
@@ -13295,6 +13374,7 @@ export type AbandonedOrderSettingStatus =
13295
13374
  io.flow.v0.enums.AbandonedOrderSettingStatus;
13296
13375
  export type AbandonedOrderSettings = io.flow.v0.models.AbandonedOrderSettings;
13297
13376
  export type AccountOrdersExportType = io.flow.v0.models.AccountOrdersExportType;
13377
+ export type AccountReference = io.flow.v0.models.AccountReference;
13298
13378
  export type AccountTransactionsExportType =
13299
13379
  io.flow.v0.models.AccountTransactionsExportType;
13300
13380
  export type AchAuthorizationForm = io.flow.v0.models.AchAuthorizationForm;
@@ -13367,6 +13447,8 @@ export type AnalyticsExportType = io.flow.v0.models.AnalyticsExportType;
13367
13447
  export type ApplePayMerchantValidationPayload =
13368
13448
  io.flow.v0.models.ApplePayMerchantValidationPayload;
13369
13449
  export type AtCost = io.flow.v0.models.AtCost;
13450
+ export type Attachment = io.flow.v0.models.Attachment;
13451
+ export type AttachmentType = io.flow.v0.enums.AttachmentType;
13370
13452
  export type Attribute = io.flow.v0.models.Attribute;
13371
13453
  export type AttributeDataType = io.flow.v0.enums.AttributeDataType;
13372
13454
  export type AttributeDeleted = io.flow.v0.models.AttributeDeleted;
@@ -13448,6 +13530,12 @@ export type B2BInvoiceType = io.flow.v0.enums.B2BInvoiceType;
13448
13530
  export type B2BInvoiceUpserted = io.flow.v0.models.B2BInvoiceUpserted;
13449
13531
  export type BehaviorAudit = io.flow.v0.models.BehaviorAudit;
13450
13532
  export type BillingAddress = io.flow.v0.models.BillingAddress;
13533
+ export type BillingChannelOrderReference =
13534
+ io.flow.v0.models.BillingChannelOrderReference;
13535
+ export type BillingChannelPaymentRequestReference =
13536
+ io.flow.v0.models.BillingChannelPaymentRequestReference;
13537
+ export type BillingChannelStatementReference =
13538
+ io.flow.v0.models.BillingChannelStatementReference;
13451
13539
  export type BrowseOptinResponses = io.flow.v0.models.BrowseOptinResponses;
13452
13540
  export type BrowseOptinResponsesDeleted =
13453
13541
  io.flow.v0.models.BrowseOptinResponsesDeleted;
@@ -13545,10 +13633,6 @@ export type ChannelCurrencyDeleted = io.flow.v0.models.ChannelCurrencyDeleted;
13545
13633
  export type ChannelCurrencyUpserted = io.flow.v0.models.ChannelCurrencyUpserted;
13546
13634
  export type ChannelDeleted = io.flow.v0.models.ChannelDeleted;
13547
13635
  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
13636
  export type ChannelOrganizationAuthorization =
13553
13637
  io.flow.v0.models.ChannelOrganizationAuthorization;
13554
13638
  export type ChannelOrganizationAuthorizationForm =
@@ -13697,6 +13781,8 @@ export type DatetimeRange = io.flow.v0.models.DatetimeRange;
13697
13781
  export type DatetimeWithTimezone = io.flow.v0.models.DatetimeWithTimezone;
13698
13782
  export type DayOfWeek = io.flow.v0.enums.DayOfWeek;
13699
13783
  export type DdpRatecardFee = io.flow.v0.models.DdpRatecardFee;
13784
+ export type Deduction = io.flow.v0.models.Deduction;
13785
+ export type DeductionType = io.flow.v0.enums.DeductionType;
13700
13786
  export type DeliveredDuty = io.flow.v0.enums.DeliveredDuty;
13701
13787
  export type DeliveredDutyDisplayType =
13702
13788
  io.flow.v0.enums.DeliveredDutyDisplayType;
@@ -14633,6 +14719,8 @@ export type PaymentTax = io.flow.v0.models.PaymentTax;
14633
14719
  export type PaymentType = io.flow.v0.enums.PaymentType;
14634
14720
  export type PaymentUpserted = io.flow.v0.models.PaymentUpserted;
14635
14721
  export type PaymentVersion = io.flow.v0.models.PaymentVersion;
14722
+ export type Payout = io.flow.v0.models.Payout;
14723
+ export type PayoutStatus = io.flow.v0.enums.PayoutStatus;
14636
14724
  export type PaypalAuthorizationDetails =
14637
14725
  io.flow.v0.models.PaypalAuthorizationDetails;
14638
14726
  export type PaypalAuthorizationForm = io.flow.v0.models.PaypalAuthorizationForm;
@@ -14864,6 +14952,8 @@ export type ScheduledExportForm = io.flow.v0.models.ScheduledExportForm;
14864
14952
  export type ScheduledPickup = io.flow.v0.models.ScheduledPickup;
14865
14953
  export type SdkAdyenV3AuthenticationToken =
14866
14954
  io.flow.v0.unions.SdkAdyenV3AuthenticationToken;
14955
+ export type SelectIssuerOptionActionDetails =
14956
+ io.flow.v0.models.SelectIssuerOptionActionDetails;
14867
14957
  export type ServiceFee = io.flow.v0.unions.ServiceFee;
14868
14958
  export type ServiceReference = io.flow.v0.models.ServiceReference;
14869
14959
  export type ServiceSummary = io.flow.v0.models.ServiceSummary;
@@ -14995,6 +15085,10 @@ export type ShopifyLocationFlowCenterMappingForm =
14995
15085
  io.flow.v0.models.ShopifyLocationFlowCenterMappingForm;
14996
15086
  export type ShopifyLocationReference =
14997
15087
  io.flow.v0.models.ShopifyLocationReference;
15088
+ export type ShopifyMerchantApplication =
15089
+ io.flow.v0.models.ShopifyMerchantApplication;
15090
+ export type ShopifyMerchantApplicationForm =
15091
+ io.flow.v0.models.ShopifyMerchantApplicationForm;
14998
15092
  export type ShopifyOrderAttributesForm =
14999
15093
  io.flow.v0.models.ShopifyOrderAttributesForm;
15000
15094
  export type ShopifyOrderDeliveryMetafield =
@@ -15024,6 +15118,8 @@ export type SolidusProductExportType =
15024
15118
  export type SolidusVariantExportType =
15025
15119
  io.flow.v0.models.SolidusVariantExportType;
15026
15120
  export type SortDirection = io.flow.v0.enums.SortDirection;
15121
+ export type Statement = io.flow.v0.models.Statement;
15122
+ export type StatementPayout = io.flow.v0.models.StatementPayout;
15027
15123
  export type Strategy = io.flow.v0.enums.Strategy;
15028
15124
  export type StreetAddress = io.flow.v0.models.StreetAddress;
15029
15125
  export type StripeAuthenticationData =
@@ -15164,6 +15260,9 @@ export type TradeAgreementCertifier = io.flow.v0.models.TradeAgreementCertifier;
15164
15260
  export type TradeAgreementDuty = io.flow.v0.models.TradeAgreementDuty;
15165
15261
  export type TradeAgreementName = io.flow.v0.enums.TradeAgreementName;
15166
15262
  export type TradeAgreementStatus = io.flow.v0.enums.TradeAgreementStatus;
15263
+ export type Transaction = io.flow.v0.models.Transaction;
15264
+ export type TransactionSource = io.flow.v0.models.TransactionSource;
15265
+ export type TransactionSourceType = io.flow.v0.enums.TransactionSourceType;
15167
15266
  export type TransitEstimate = io.flow.v0.models.TransitEstimate;
15168
15267
  export type TransitWindow = io.flow.v0.models.TransitWindow;
15169
15268
  export type UnharmonizedItemExportType =