@flowio/types 11.24.0 → 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;
@@ -9863,6 +9867,9 @@ declare namespace io.flow.internal.v0.enums {
9863
9867
  type ItemQuantityAction = 'fulfillment_ship' | 'fulfillment_cancel' | 'fulfillment_generate_label';
9864
9868
  type ItemType = 'standard' | 'multi_product';
9865
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';
9866
9873
  type LiabilityType = 'full_value_tax' | 'low_value_goods_tax' | 'high_value_goods_tax' | 'duties';
9867
9874
  type ManualReviewRuleStatus = 'active' | 'archived';
9868
9875
  type ManualTransactionCategory = 'cancelled_order_refund' | 'client_accepted_chargeback' | 'fee_reimbursement' | 'partial_refund' | 'platform_fee' | 'shipping_true_up' | 'tax_credit';
@@ -10073,6 +10080,7 @@ declare namespace io.flow.internal.v0.models {
10073
10080
  readonly transfer_fee?: io.flow.common.v0.models.Money;
10074
10081
  readonly order_service_fee?: io.flow.internal.v0.models.TieredFee;
10075
10082
  readonly label_fee?: io.flow.internal.v0.models.TieredFee;
10083
+ readonly charge_label_cost_directly: boolean;
10076
10084
  }
10077
10085
  interface AccountSettingsDeleted {
10078
10086
  readonly discriminator: 'account_settings_deleted';
@@ -10511,6 +10519,18 @@ declare namespace io.flow.internal.v0.models {
10511
10519
  readonly payment_request_reference: io.flow.payment.gateway.v0.models.PaymentRequestReference;
10512
10520
  readonly billing: io.flow.payment.request.bundle.v0.models.PaymentRequestBilling;
10513
10521
  }
10522
+ interface AuthorizationBundleDeleted {
10523
+ readonly event_id: string;
10524
+ readonly timestamp: string;
10525
+ readonly organization: string;
10526
+ readonly id: string;
10527
+ }
10528
+ interface AuthorizationBundleUpserted {
10529
+ readonly event_id: string;
10530
+ readonly timestamp: string;
10531
+ readonly organization: string;
10532
+ readonly authorization_bundle: io.flow.internal.v0.models.AuthorizationBundle;
10533
+ }
10514
10534
  interface AuthorizationMetadata {
10515
10535
  readonly limit?: number;
10516
10536
  }
@@ -15710,6 +15730,28 @@ declare namespace io.flow.internal.v0.models {
15710
15730
  readonly materials: Record<string, string[]>;
15711
15731
  readonly constructions: Record<string, string[]>;
15712
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
+ }
15713
15755
  interface LabelGenerationSettings {
15714
15756
  readonly id: string;
15715
15757
  readonly item_identifier?: string;
@@ -16154,7 +16196,7 @@ declare namespace io.flow.internal.v0.models {
16154
16196
  readonly businesses: io.flow.internal.v0.models.MarketingGatewayFacebookBusinessSummary[];
16155
16197
  }
16156
16198
  interface MarketingGatewayFacebookConnectionAccessTokenSummary {
16157
- readonly catalog_id: number;
16199
+ readonly catalog_id?: number;
16158
16200
  readonly created_at?: number;
16159
16201
  readonly expires_at?: number;
16160
16202
  readonly user_id: string;
@@ -16311,7 +16353,7 @@ declare namespace io.flow.internal.v0.models {
16311
16353
  }
16312
16354
  interface MarketsOrder {
16313
16355
  readonly shopify_order: io.flow.shopify.markets.v0.models.ShopifyOrder;
16314
- readonly flow_authorization: io.flow.payment.v0.unions.Authorization;
16356
+ readonly flow_authorization?: io.flow.payment.v0.unions.Authorization;
16315
16357
  }
16316
16358
  interface MerchantOfRecordEntitySettings {
16317
16359
  readonly id: string;
@@ -17380,6 +17422,11 @@ declare namespace io.flow.internal.v0.models {
17380
17422
  readonly organization: string;
17381
17423
  readonly estimate: io.flow.ratecard.v0.models.DimensionEstimate;
17382
17424
  }
17425
+ interface RatecardInternalServiceFee {
17426
+ readonly id: string;
17427
+ readonly service_id: string;
17428
+ readonly fees: io.flow.ratecard.v0.unions.ServiceFee[];
17429
+ }
17383
17430
  interface RatecardInternalSummary {
17384
17431
  readonly id: string;
17385
17432
  readonly organization: io.flow.common.v0.models.OrganizationReference;
@@ -17428,14 +17475,14 @@ declare namespace io.flow.internal.v0.models {
17428
17475
  readonly event_id: string;
17429
17476
  readonly timestamp: string;
17430
17477
  readonly organization: string;
17431
- readonly fee: io.flow.ratecard.v0.unions.ServiceFee;
17478
+ readonly fee: io.flow.internal.v0.models.RatecardInternalServiceFee;
17432
17479
  }
17433
17480
  interface RatecardServiceFeeUpserted {
17434
17481
  readonly discriminator: 'ratecard_service_fee_upserted';
17435
17482
  readonly event_id: string;
17436
17483
  readonly timestamp: string;
17437
17484
  readonly organization: string;
17438
- readonly fee: io.flow.ratecard.v0.unions.ServiceFee;
17485
+ readonly fee: io.flow.internal.v0.models.RatecardInternalServiceFee;
17439
17486
  }
17440
17487
  interface RatecardStandardConfiguration {
17441
17488
  readonly id: string;
@@ -18498,6 +18545,13 @@ declare namespace io.flow.internal.v0.models {
18498
18545
  readonly id: string;
18499
18546
  readonly children?: io.flow.internal.v0.models.TaxonomyNode[];
18500
18547
  }
18548
+ interface Test {
18549
+ readonly id: string;
18550
+ readonly name: string;
18551
+ }
18552
+ interface TestForm {
18553
+ readonly name: string;
18554
+ }
18501
18555
  interface ThirdPartyLogisticsPartner {
18502
18556
  readonly warehouse_address: io.flow.common.v0.models.BillingAddress;
18503
18557
  readonly warehouse_url?: string;
@@ -19151,6 +19205,8 @@ export declare type ApplePayAuthorizationPayload = io.flow.internal.v0.models.Ap
19151
19205
  export declare type AttributeLabel = io.flow.internal.v0.models.AttributeLabel;
19152
19206
  export declare type AuthenticationForm = io.flow.internal.v0.models.AuthenticationForm;
19153
19207
  export declare type AuthorizationBundle = io.flow.internal.v0.models.AuthorizationBundle;
19208
+ export declare type AuthorizationBundleDeleted = io.flow.internal.v0.models.AuthorizationBundleDeleted;
19209
+ export declare type AuthorizationBundleUpserted = io.flow.internal.v0.models.AuthorizationBundleUpserted;
19154
19210
  export declare type AuthorizationMetadata = io.flow.internal.v0.models.AuthorizationMetadata;
19155
19211
  export declare type AuthorizationParameters = io.flow.internal.v0.models.AuthorizationParameters;
19156
19212
  export declare type AuthorizationParametersForm = io.flow.internal.v0.models.AuthorizationParametersForm;
@@ -20297,11 +20353,18 @@ export declare type LabProjectSettingsFormAcceptance = io.flow.internal.v0.model
20297
20353
  export declare type LabelAliases = io.flow.internal.v0.models.LabelAliases;
20298
20354
  export declare type LabelAssociation = io.flow.internal.v0.models.LabelAssociation;
20299
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;
20300
20362
  export declare type LabelGenerationSettings = io.flow.internal.v0.models.LabelGenerationSettings;
20301
20363
  export declare type LabelGenerationSettingsForm = io.flow.internal.v0.models.LabelGenerationSettingsForm;
20302
20364
  export declare type LabelSummary = io.flow.internal.v0.models.LabelSummary;
20303
20365
  export declare type LabelTaxonomy = io.flow.internal.v0.models.LabelTaxonomy;
20304
20366
  export declare type LabelTransaction = io.flow.internal.v0.models.LabelTransaction;
20367
+ export declare type LabelTransactionType = io.flow.internal.v0.enums.LabelTransactionType;
20305
20368
  export declare type LabeledContent = io.flow.internal.v0.models.LabeledContent;
20306
20369
  export declare type LabelsPrediction = io.flow.internal.v0.models.LabelsPrediction;
20307
20370
  export declare type LandedCostItem = io.flow.internal.v0.models.LandedCostItem;
@@ -20607,6 +20670,7 @@ export declare type RateUpsertedV2 = io.flow.internal.v0.models.RateUpsertedV2;
20607
20670
  export declare type RateWithFees = io.flow.internal.v0.models.RateWithFees;
20608
20671
  export declare type RatecardDimensionEstimateDeleted = io.flow.internal.v0.models.RatecardDimensionEstimateDeleted;
20609
20672
  export declare type RatecardDimensionEstimateUpserted = io.flow.internal.v0.models.RatecardDimensionEstimateUpserted;
20673
+ export declare type RatecardInternalServiceFee = io.flow.internal.v0.models.RatecardInternalServiceFee;
20610
20674
  export declare type RatecardInternalSummary = io.flow.internal.v0.models.RatecardInternalSummary;
20611
20675
  export declare type RatecardLaneAggregate = io.flow.internal.v0.models.RatecardLaneAggregate;
20612
20676
  export declare type RatecardLaneAggregateDeleted = io.flow.internal.v0.models.RatecardLaneAggregateDeleted;
@@ -20831,6 +20895,8 @@ export declare type TaxRemittanceTransactionDeleted = io.flow.internal.v0.models
20831
20895
  export declare type TaxRemittanceTransactionUpserted = io.flow.internal.v0.models.TaxRemittanceTransactionUpserted;
20832
20896
  export declare type TaxonomyCategory = io.flow.internal.v0.models.TaxonomyCategory;
20833
20897
  export declare type TaxonomyNode = io.flow.internal.v0.models.TaxonomyNode;
20898
+ export declare type Test = io.flow.internal.v0.models.Test;
20899
+ export declare type TestForm = io.flow.internal.v0.models.TestForm;
20834
20900
  export declare type ThirdPartyLogisticsPartner = io.flow.internal.v0.models.ThirdPartyLogisticsPartner;
20835
20901
  export declare type ThirdPartyLogisticsPickUpTimeWindow = io.flow.internal.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
20836
20902
  export declare type TieredFee = io.flow.internal.v0.models.TieredFee;
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[];
@@ -5391,12 +5369,14 @@ declare namespace io.flow.v0.models {
5391
5369
  readonly discriminator: 'import_completed_v2';
5392
5370
  readonly event_id: string;
5393
5371
  readonly timestamp: string;
5372
+ readonly organization: string;
5394
5373
  readonly import: io.flow.v0.models.Import;
5395
5374
  }
5396
5375
  interface ImportFailedV2 {
5397
5376
  readonly discriminator: 'import_failed_v2';
5398
5377
  readonly event_id: string;
5399
5378
  readonly timestamp: string;
5379
+ readonly organization: string;
5400
5380
  readonly import: io.flow.v0.models.Import;
5401
5381
  }
5402
5382
  interface ImportForm {
@@ -7715,6 +7695,10 @@ declare namespace io.flow.v0.models {
7715
7695
  readonly type: io.flow.v0.enums.ChangeType;
7716
7696
  readonly payment: io.flow.v0.unions.Payment;
7717
7697
  }
7698
+ interface Payout {
7699
+ readonly amount: number;
7700
+ readonly sent_on: string;
7701
+ }
7718
7702
  interface PaypalAuthorizationDetails {
7719
7703
  readonly discriminator: 'paypal_authorization_details';
7720
7704
  readonly payment_id: string;
@@ -8828,6 +8812,10 @@ declare namespace io.flow.v0.models {
8828
8812
  readonly hour_of_day: string;
8829
8813
  readonly minute_of_hour: string;
8830
8814
  }
8815
+ interface SelectIssuerOptionActionDetails {
8816
+ readonly discriminator: 'select_issuer_option_action_details';
8817
+ readonly issuer_options: io.flow.v0.models.IssuerReference[];
8818
+ }
8831
8819
  interface ServiceReference {
8832
8820
  readonly id: string;
8833
8821
  }
@@ -9299,6 +9287,54 @@ declare namespace io.flow.v0.models {
9299
9287
  interface ShopifyLocationReference {
9300
9288
  readonly id: string;
9301
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
+ }
9302
9338
  interface ShopifyOrderAttributesForm {
9303
9339
  readonly attributes: Record<string, string>;
9304
9340
  }
@@ -9403,6 +9439,16 @@ declare namespace io.flow.v0.models {
9403
9439
  readonly numbers?: string[];
9404
9440
  readonly sort?: string;
9405
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
+ }
9406
9452
  interface StreetAddress {
9407
9453
  readonly streets?: string[];
9408
9454
  readonly city?: string;
@@ -9697,13 +9743,6 @@ declare namespace io.flow.v0.models {
9697
9743
  readonly types: io.flow.v0.enums.TaxReportType[];
9698
9744
  readonly email_recipients?: string[];
9699
9745
  }
9700
- interface Test {
9701
- readonly id: string;
9702
- readonly name: string;
9703
- }
9704
- interface TestForm {
9705
- readonly name: string;
9706
- }
9707
9746
  interface ThirdPartyLogisticsPartner {
9708
9747
  readonly warehouse_address: io.flow.v0.models.BillingAddress;
9709
9748
  readonly warehouse_url?: string;
@@ -9978,6 +10017,23 @@ declare namespace io.flow.v0.models {
9978
10017
  readonly trade_agreement: io.flow.v0.models.TradeAgreement;
9979
10018
  readonly duty: io.flow.v0.models.Duty;
9980
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
+ }
9981
10037
  interface TransitEstimate {
9982
10038
  readonly origin: io.flow.v0.enums.DeliveryWindowLocation;
9983
10039
  readonly destination: io.flow.v0.enums.DeliveryWindowLocation;
@@ -10182,7 +10238,7 @@ declare namespace io.flow.v0.unions {
10182
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;
10183
10239
  type AuthorizationPayloadParameters = io.flow.v0.models.GooglePayAuthorizationPayload | io.flow.v0.models.ApplePayMerchantValidationPayload;
10184
10240
  type AuthorizationResultAction = io.flow.v0.models.AuthorizationResultActionGet | io.flow.v0.models.AuthorizationResultActionPost | io.flow.v0.models.AuthorizationResultActionWait | io.flow.v0.models.AuthorizationResultActionNative;
10185
- 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;
10186
10242
  type AvailableFilter = io.flow.v0.models.AvailableFilterStructured | io.flow.v0.models.AvailableFilterUnstructured;
10187
10243
  type BrowserActionConfiguration = io.flow.v0.models.CardBrowserActionConfiguration;
10188
10244
  type CardAuthorizationActionResult = io.flow.v0.models.AuthorizationActionResultAdyenV3 | io.flow.v0.models.AuthorizationActionResultAdyenV4;
@@ -10280,6 +10336,7 @@ export declare type AbandonedOrderPromotionStatus = io.flow.v0.enums.AbandonedOr
10280
10336
  export declare type AbandonedOrderSettingStatus = io.flow.v0.enums.AbandonedOrderSettingStatus;
10281
10337
  export declare type AbandonedOrderSettings = io.flow.v0.models.AbandonedOrderSettings;
10282
10338
  export declare type AccountOrdersExportType = io.flow.v0.models.AccountOrdersExportType;
10339
+ export declare type AccountReference = io.flow.v0.models.AccountReference;
10283
10340
  export declare type AccountTransactionsExportType = io.flow.v0.models.AccountTransactionsExportType;
10284
10341
  export declare type AchAuthorizationForm = io.flow.v0.models.AchAuthorizationForm;
10285
10342
  export declare type Action = io.flow.v0.unions.Action;
@@ -10335,6 +10392,8 @@ export declare type AmountMarginForm = io.flow.v0.models.AmountMarginForm;
10335
10392
  export declare type AnalyticsExportType = io.flow.v0.models.AnalyticsExportType;
10336
10393
  export declare type ApplePayMerchantValidationPayload = io.flow.v0.models.ApplePayMerchantValidationPayload;
10337
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;
10338
10397
  export declare type Attribute = io.flow.v0.models.Attribute;
10339
10398
  export declare type AttributeDataType = io.flow.v0.enums.AttributeDataType;
10340
10399
  export declare type AttributeDeleted = io.flow.v0.models.AttributeDeleted;
@@ -10396,6 +10455,9 @@ export declare type B2BInvoiceType = io.flow.v0.enums.B2BInvoiceType;
10396
10455
  export declare type B2BInvoiceUpserted = io.flow.v0.models.B2BInvoiceUpserted;
10397
10456
  export declare type BehaviorAudit = io.flow.v0.models.BehaviorAudit;
10398
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;
10399
10461
  export declare type BrowseOptinResponses = io.flow.v0.models.BrowseOptinResponses;
10400
10462
  export declare type BrowseOptinResponsesDeleted = io.flow.v0.models.BrowseOptinResponsesDeleted;
10401
10463
  export declare type BrowseOptinResponsesUpserted = io.flow.v0.models.BrowseOptinResponsesUpserted;
@@ -10478,8 +10540,6 @@ export declare type ChannelCurrencyDeleted = io.flow.v0.models.ChannelCurrencyDe
10478
10540
  export declare type ChannelCurrencyUpserted = io.flow.v0.models.ChannelCurrencyUpserted;
10479
10541
  export declare type ChannelDeleted = io.flow.v0.models.ChannelDeleted;
10480
10542
  export declare type ChannelOrganization = io.flow.v0.models.ChannelOrganization;
10481
- export declare type ChannelOrganizationApplication = io.flow.v0.models.ChannelOrganizationApplication;
10482
- export declare type ChannelOrganizationApplicationForm = io.flow.v0.models.ChannelOrganizationApplicationForm;
10483
10543
  export declare type ChannelOrganizationAuthorization = io.flow.v0.models.ChannelOrganizationAuthorization;
10484
10544
  export declare type ChannelOrganizationAuthorizationForm = io.flow.v0.models.ChannelOrganizationAuthorizationForm;
10485
10545
  export declare type ChannelOrganizationDeleted = io.flow.v0.models.ChannelOrganizationDeleted;
@@ -10598,6 +10658,8 @@ export declare type DatetimeRange = io.flow.v0.models.DatetimeRange;
10598
10658
  export declare type DatetimeWithTimezone = io.flow.v0.models.DatetimeWithTimezone;
10599
10659
  export declare type DayOfWeek = io.flow.v0.enums.DayOfWeek;
10600
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;
10601
10663
  export declare type DeliveredDuty = io.flow.v0.enums.DeliveredDuty;
10602
10664
  export declare type DeliveredDutyDisplayType = io.flow.v0.enums.DeliveredDutyDisplayType;
10603
10665
  export declare type DeliveredDutySetting = io.flow.v0.models.DeliveredDutySetting;
@@ -11322,6 +11384,8 @@ export declare type PaymentTax = io.flow.v0.models.PaymentTax;
11322
11384
  export declare type PaymentType = io.flow.v0.enums.PaymentType;
11323
11385
  export declare type PaymentUpserted = io.flow.v0.models.PaymentUpserted;
11324
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;
11325
11389
  export declare type PaypalAuthorizationDetails = io.flow.v0.models.PaypalAuthorizationDetails;
11326
11390
  export declare type PaypalAuthorizationForm = io.flow.v0.models.PaypalAuthorizationForm;
11327
11391
  export declare type PeakSurchargeByWeightServiceFee = io.flow.v0.models.PeakSurchargeByWeightServiceFee;
@@ -11532,6 +11596,7 @@ export declare type ScheduledExport = io.flow.v0.models.ScheduledExport;
11532
11596
  export declare type ScheduledExportForm = io.flow.v0.models.ScheduledExportForm;
11533
11597
  export declare type ScheduledPickup = io.flow.v0.models.ScheduledPickup;
11534
11598
  export declare type SdkAdyenV3AuthenticationToken = io.flow.v0.unions.SdkAdyenV3AuthenticationToken;
11599
+ export declare type SelectIssuerOptionActionDetails = io.flow.v0.models.SelectIssuerOptionActionDetails;
11535
11600
  export declare type ServiceFee = io.flow.v0.unions.ServiceFee;
11536
11601
  export declare type ServiceReference = io.flow.v0.models.ServiceReference;
11537
11602
  export declare type ServiceSummary = io.flow.v0.models.ServiceSummary;
@@ -11622,6 +11687,8 @@ export declare type ShopifyLocalizedVariantPrices = io.flow.v0.models.ShopifyLoc
11622
11687
  export declare type ShopifyLocationFlowCenterMapping = io.flow.v0.models.ShopifyLocationFlowCenterMapping;
11623
11688
  export declare type ShopifyLocationFlowCenterMappingForm = io.flow.v0.models.ShopifyLocationFlowCenterMappingForm;
11624
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;
11625
11692
  export declare type ShopifyOrderAttributesForm = io.flow.v0.models.ShopifyOrderAttributesForm;
11626
11693
  export declare type ShopifyOrderDeliveryMetafield = io.flow.v0.models.ShopifyOrderDeliveryMetafield;
11627
11694
  export declare type ShopifyOrderDeliveryMetafieldItem = io.flow.v0.models.ShopifyOrderDeliveryMetafieldItem;
@@ -11641,6 +11708,8 @@ export declare type SnapshotUpserted = io.flow.v0.models.SnapshotUpserted;
11641
11708
  export declare type SolidusProductExportType = io.flow.v0.models.SolidusProductExportType;
11642
11709
  export declare type SolidusVariantExportType = io.flow.v0.models.SolidusVariantExportType;
11643
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;
11644
11713
  export declare type Strategy = io.flow.v0.enums.Strategy;
11645
11714
  export declare type StreetAddress = io.flow.v0.models.StreetAddress;
11646
11715
  export declare type StripeAuthenticationData = io.flow.v0.models.StripeAuthenticationData;
@@ -11703,8 +11772,6 @@ export declare type TaxSetting = io.flow.v0.unions.TaxSetting;
11703
11772
  export declare type TaxVerificationResult = io.flow.v0.enums.TaxVerificationResult;
11704
11773
  export declare type TaxabilityType = io.flow.v0.enums.TaxabilityType;
11705
11774
  export declare type TaxabilityValue = io.flow.v0.enums.TaxabilityValue;
11706
- export declare type Test = io.flow.v0.models.Test;
11707
- export declare type TestForm = io.flow.v0.models.TestForm;
11708
11775
  export declare type ThirdPartyLogisticsPartner = io.flow.v0.models.ThirdPartyLogisticsPartner;
11709
11776
  export declare type ThirdPartyLogisticsPickUpTimeWindow = io.flow.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
11710
11777
  export declare type ThreeDSecure = io.flow.v0.models.ThreeDSecure;
@@ -11763,6 +11830,9 @@ export declare type TradeAgreementCertifier = io.flow.v0.models.TradeAgreementCe
11763
11830
  export declare type TradeAgreementDuty = io.flow.v0.models.TradeAgreementDuty;
11764
11831
  export declare type TradeAgreementName = io.flow.v0.enums.TradeAgreementName;
11765
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;
11766
11836
  export declare type TransitEstimate = io.flow.v0.models.TransitEstimate;
11767
11837
  export declare type TransitWindow = io.flow.v0.models.TransitWindow;
11768
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.0",
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": "89ec1ac9dd90acbae21d9b16b218e15c27a0bde2"
28
+ "gitHead": "5a856f0214138246a416fca9a94b25067a1a1e7e"
29
29
  }