@flowio/types 11.24.2 → 11.24.4

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.
@@ -7391,6 +7391,14 @@ declare namespace io.flow.ratecard.v0.models {
7391
7391
  readonly weight: number;
7392
7392
  readonly unit: io.flow.common.v0.enums.UnitOfMeasurement;
7393
7393
  }
7394
+ interface FuelSurchargeAmountByWeightServiceFee {
7395
+ readonly discriminator: 'fuel_surcharge_amount_by_weight_service_fee';
7396
+ readonly amount: io.flow.common.v0.models.Money;
7397
+ readonly weight: io.flow.ratecard.v0.models.FeeWeight;
7398
+ readonly regions?: string[];
7399
+ readonly starts_at?: string;
7400
+ readonly ends_at?: string;
7401
+ }
7394
7402
  interface FuelSurchargeRatecardFee {
7395
7403
  readonly discriminator: 'fuel_surcharge_ratecard_fee';
7396
7404
  readonly amount: io.flow.common.v0.models.Money;
@@ -7651,7 +7659,7 @@ declare namespace io.flow.ratecard.v0.models {
7651
7659
  declare namespace io.flow.ratecard.v0.unions {
7652
7660
  type RatecardEstimate = io.flow.ratecard.v0.models.RatecardEstimateV1 | io.flow.ratecard.v0.models.RatecardEstimateV2 | io.flow.ratecard.v0.models.RatecardEstimateV3 | io.flow.ratecard.v0.models.RatecardEstimateV4;
7653
7661
  type RatecardFee = io.flow.ratecard.v0.models.DdpRatecardFee | io.flow.ratecard.v0.models.FuelSurchargeRatecardFee | io.flow.ratecard.v0.models.OversizedShipmentRatecardFee | io.flow.ratecard.v0.models.ReturnPackageRatecardFee | io.flow.ratecard.v0.models.CrossdockRatecardFee | io.flow.ratecard.v0.models.RemoteAreaRatecardFee | io.flow.ratecard.v0.models.EmergencySituationSurchargeRatecardFee | io.flow.ratecard.v0.models.PeakSurchargeRatecardFee | io.flow.ratecard.v0.models.DutiesTaxesPaidSurchargeRatecardFee;
7654
- type ServiceFee = io.flow.ratecard.v0.models.FuelSurchargeServiceFee | io.flow.ratecard.v0.models.RemoteAreaServiceFee | io.flow.ratecard.v0.models.EmergencySituationSurchargeServiceFee | io.flow.ratecard.v0.models.PeakSurchargeServiceFee | io.flow.ratecard.v0.models.PeakSurchargeByWeightServiceFee | io.flow.ratecard.v0.models.DutiesTaxesPaidSurchargeServiceFee;
7662
+ type ServiceFee = io.flow.ratecard.v0.models.FuelSurchargeServiceFee | io.flow.ratecard.v0.models.FuelSurchargeAmountByWeightServiceFee | io.flow.ratecard.v0.models.RemoteAreaServiceFee | io.flow.ratecard.v0.models.EmergencySituationSurchargeServiceFee | io.flow.ratecard.v0.models.PeakSurchargeServiceFee | io.flow.ratecard.v0.models.PeakSurchargeByWeightServiceFee | io.flow.ratecard.v0.models.DutiesTaxesPaidSurchargeServiceFee;
7655
7663
  }
7656
7664
  declare namespace io.flow.token.v0.models {
7657
7665
  interface ChannelToken {
@@ -8309,12 +8317,6 @@ declare namespace io.flow.permission.v0.models {
8309
8317
  readonly behaviors: io.flow.permission.v0.enums.FlowBehavior[];
8310
8318
  readonly routes: io.flow.permission.v0.models.PermittedRoute[];
8311
8319
  }
8312
- interface PermissionError {
8313
- readonly code: io.flow.error.v0.enums.GenericErrorCode;
8314
- readonly messages: string[];
8315
- readonly granting_roles?: io.flow.permission.v0.enums.FlowRole[];
8316
- readonly admin_users?: io.flow.common.v0.models.User[];
8317
- }
8318
8320
  interface PermittedRoute {
8319
8321
  readonly method: io.flow.permission.v0.enums.PermittedHttpMethod;
8320
8322
  readonly path: string;
@@ -14433,7 +14435,13 @@ declare namespace io.flow.internal.v0.models {
14433
14435
  readonly inbound: string;
14434
14436
  readonly outbound: string;
14435
14437
  }
14436
- interface FuelSurchargeRatecardFeePercentPutForm {
14438
+ interface FuelSurchargeServiceFeeAmountByWeightPutForm {
14439
+ readonly discriminator: 'fuel_surcharge_service_fee_amount_by_weight_put_form';
14440
+ readonly amount: io.flow.common.v0.models.Money;
14441
+ readonly weight: io.flow.ratecard.v0.models.FeeWeight;
14442
+ }
14443
+ interface FuelSurchargeServiceFeePercentPutForm {
14444
+ readonly discriminator: 'fuel_surcharge_service_fee_percent_put_form';
14437
14445
  readonly percent: number;
14438
14446
  }
14439
14447
  interface FulfillmentActionForm {
@@ -15375,9 +15383,6 @@ declare namespace io.flow.internal.v0.models {
15375
15383
  readonly discriminator: 'internal_fiserv_authorization_details';
15376
15384
  readonly fiserv_authentication_data: io.flow.internal.v0.models.FiservAuthenticationDataReference;
15377
15385
  }
15378
- interface InternalFuelSurchargeRatecardFee {
15379
- readonly percent: number;
15380
- }
15381
15386
  interface InternalItemForm {
15382
15387
  readonly id: string;
15383
15388
  readonly item_form: io.flow.catalog.v0.models.ItemForm;
@@ -15735,10 +15740,13 @@ declare namespace io.flow.internal.v0.models {
15735
15740
  readonly messages: string[];
15736
15741
  }
15737
15742
  interface LabelCreationJob {
15743
+ readonly id: string;
15738
15744
  readonly reference_id: string;
15739
15745
  readonly status: io.flow.internal.v0.enums.LabelCreationStatus;
15740
15746
  readonly label_url?: string;
15741
15747
  readonly commercial_invoice_url?: string;
15748
+ readonly service_id?: string;
15749
+ readonly carrier_tracking_number?: string;
15742
15750
  readonly flow_tracking_number?: string;
15743
15751
  readonly errors: string[];
15744
15752
  }
@@ -17425,6 +17433,8 @@ declare namespace io.flow.internal.v0.models {
17425
17433
  interface RatecardInternalServiceFee {
17426
17434
  readonly id: string;
17427
17435
  readonly service_id: string;
17436
+ readonly created_at: string;
17437
+ readonly updated_at: string;
17428
17438
  readonly fees: io.flow.ratecard.v0.unions.ServiceFee[];
17429
17439
  }
17430
17440
  interface RatecardInternalSummary {
@@ -17926,6 +17936,9 @@ declare namespace io.flow.internal.v0.models {
17926
17936
  readonly api_password?: string;
17927
17937
  readonly access_token?: string;
17928
17938
  }
17939
+ interface ShopifyMarketsShopSummary {
17940
+ readonly organization: io.flow.common.v0.models.OrganizationSummary;
17941
+ }
17929
17942
  interface ShopifyMarketsSubsidiaryCompany {
17930
17943
  readonly legal_name?: string;
17931
17944
  readonly incorporation_country?: io.flow.internal.v0.models.ShopifyMarketsIncorporationCountry;
@@ -19074,6 +19087,7 @@ declare namespace io.flow.internal.v0.unions {
19074
19087
  type FeatureValue = io.flow.internal.v0.models.BooleanFeatureValue | io.flow.internal.v0.models.StringFeatureValue;
19075
19088
  type FraudProviderConfiguration = io.flow.internal.v0.models.FraudProviderConfigurationRiskified;
19076
19089
  type FraudProviderConfigurationForm = io.flow.internal.v0.models.FraudProviderConfigurationFormRiskified;
19090
+ type FuelSurchargeServiceFeePutForm = io.flow.internal.v0.models.FuelSurchargeServiceFeePercentPutForm | io.flow.internal.v0.models.FuelSurchargeServiceFeeAmountByWeightPutForm;
19077
19091
  type GlobalSearchResult = io.flow.internal.v0.models.SearchExperienceSummary | io.flow.internal.v0.models.SearchExperimentSummary | io.flow.internal.v0.models.SearchOrderSummary | io.flow.internal.v0.models.SearchItemSummary;
19078
19092
  type HeapEvent = io.flow.internal.v0.models.HeapAddressPredictionClick | io.flow.internal.v0.models.HeapAfterpayPopupOpened | io.flow.internal.v0.models.HeapAfterpayPopupClosed | io.flow.internal.v0.models.HeapAuthorizationDeclined | io.flow.internal.v0.models.HeapAuthorizationError | io.flow.internal.v0.models.HeapCardError | io.flow.internal.v0.models.HeapCheckoutEvent | io.flow.internal.v0.models.HeapCheckoutProgress | io.flow.internal.v0.models.HeapCheckoutStarted | io.flow.internal.v0.models.HeapContinueClick | io.flow.internal.v0.models.HeapDeliveryFormDataReceived | io.flow.internal.v0.models.HeapDeliveryFormDataTimeout | io.flow.internal.v0.models.HeapDeliveryOptionCount | io.flow.internal.v0.models.HeapDeliveryOptionSelected | io.flow.internal.v0.models.HeapExitCheckout | io.flow.internal.v0.models.HeapFieldBlur | io.flow.internal.v0.models.HeapFieldErrorTooltipShown | io.flow.internal.v0.models.HeapFieldFocus | io.flow.internal.v0.models.HeapFieldValidation | io.flow.internal.v0.models.HeapGiftCardApply | io.flow.internal.v0.models.HeapGiftCardOpen | io.flow.internal.v0.models.HeapGiftCardWithPin | io.flow.internal.v0.models.HeapOptinPromptDeselected | io.flow.internal.v0.models.HeapOptinPromptSelected | io.flow.internal.v0.models.HeapOrderSummaryClose | io.flow.internal.v0.models.HeapOrderSummaryOpen | io.flow.internal.v0.models.HeapPayClick | io.flow.internal.v0.models.HeapPaymentFormDataReceived | io.flow.internal.v0.models.HeapPaymentFormDataTimeout | io.flow.internal.v0.models.HeapPaymentMethodSelected | io.flow.internal.v0.models.HeapPerformance | io.flow.internal.v0.models.HeapPromoCodeApply | io.flow.internal.v0.models.HeapPromoCodeError | io.flow.internal.v0.models.HeapPromoCodeOpen | io.flow.internal.v0.models.HeapPurchase | io.flow.internal.v0.models.HeapRageClick | io.flow.internal.v0.models.HeapScriptError | io.flow.internal.v0.models.HeapSequencedError | io.flow.internal.v0.models.HeapSequencedTiming | io.flow.internal.v0.models.HeapSplitLoaded | io.flow.internal.v0.models.HeapSplitTimeout | io.flow.internal.v0.models.HeapStartCheckout | io.flow.internal.v0.models.HeapStreamError | io.flow.internal.v0.models.HeapSubmitError | io.flow.internal.v0.models.HeapWebsocketClose | io.flow.internal.v0.models.HeapWebsocketConnectionLost | io.flow.internal.v0.models.HeapWebsocketError | io.flow.internal.v0.models.HeapWebsocketGiveUp | io.flow.internal.v0.models.HeapWebsocketOpen | io.flow.internal.v0.models.HeapWebsocketRequest | io.flow.internal.v0.models.HeapWebsocketResponse | io.flow.internal.v0.models.HeapWebsocketRetry;
19079
19093
  type IndexTaskType = io.flow.internal.v0.models.CatalogItemIndexTask | io.flow.internal.v0.models.CatalogItemBatchIndexTask | io.flow.internal.v0.models.CatalogItemDeleteIndexTask | io.flow.internal.v0.models.ChangeSettingsIndexTask | io.flow.internal.v0.models.DeleteIndexTask;
@@ -20172,7 +20186,9 @@ export declare type FtpSetting = io.flow.internal.v0.models.FtpSetting;
20172
20186
  export declare type FtpSettingForm = io.flow.internal.v0.models.FtpSettingForm;
20173
20187
  export declare type FtpSettingVersion = io.flow.internal.v0.models.FtpSettingVersion;
20174
20188
  export declare type FtpSettingsPaths = io.flow.internal.v0.models.FtpSettingsPaths;
20175
- export declare type FuelSurchargeRatecardFeePercentPutForm = io.flow.internal.v0.models.FuelSurchargeRatecardFeePercentPutForm;
20189
+ export declare type FuelSurchargeServiceFeeAmountByWeightPutForm = io.flow.internal.v0.models.FuelSurchargeServiceFeeAmountByWeightPutForm;
20190
+ export declare type FuelSurchargeServiceFeePercentPutForm = io.flow.internal.v0.models.FuelSurchargeServiceFeePercentPutForm;
20191
+ export declare type FuelSurchargeServiceFeePutForm = io.flow.internal.v0.unions.FuelSurchargeServiceFeePutForm;
20176
20192
  export declare type FulfillmentActionForm = io.flow.internal.v0.models.FulfillmentActionForm;
20177
20193
  export declare type FulfillmentCancel = io.flow.internal.v0.models.FulfillmentCancel;
20178
20194
  export declare type FulfillmentInternalExperienceReference = io.flow.internal.v0.models.FulfillmentInternalExperienceReference;
@@ -20288,7 +20304,6 @@ export declare type InternalChannelRateDeleted = io.flow.internal.v0.models.Inte
20288
20304
  export declare type InternalChannelRateUpserted = io.flow.internal.v0.models.InternalChannelRateUpserted;
20289
20305
  export declare type InternalExclusionRuleForm = io.flow.internal.v0.models.InternalExclusionRuleForm;
20290
20306
  export declare type InternalFiservAuthorizationDetails = io.flow.internal.v0.models.InternalFiservAuthorizationDetails;
20291
- export declare type InternalFuelSurchargeRatecardFee = io.flow.internal.v0.models.InternalFuelSurchargeRatecardFee;
20292
20307
  export declare type InternalHarmonizationStatistic = io.flow.internal.v0.unions.InternalHarmonizationStatistic;
20293
20308
  export declare type InternalItemForm = io.flow.internal.v0.models.InternalItemForm;
20294
20309
  export declare type InternalOrder = io.flow.internal.v0.models.InternalOrder;
@@ -20770,6 +20785,7 @@ export declare type ShopifyMarketsPreparerDetails = io.flow.internal.v0.models.S
20770
20785
  export declare type ShopifyMarketsProductLogistics = io.flow.internal.v0.models.ShopifyMarketsProductLogistics;
20771
20786
  export declare type ShopifyMarketsShop = io.flow.internal.v0.models.ShopifyMarketsShop;
20772
20787
  export declare type ShopifyMarketsShopForm = io.flow.internal.v0.models.ShopifyMarketsShopForm;
20788
+ export declare type ShopifyMarketsShopSummary = io.flow.internal.v0.models.ShopifyMarketsShopSummary;
20773
20789
  export declare type ShopifyMarketsSubsidiaryCompany = io.flow.internal.v0.models.ShopifyMarketsSubsidiaryCompany;
20774
20790
  export declare type ShopifyMarketsTradeSector = io.flow.internal.v0.enums.ShopifyMarketsTradeSector;
20775
20791
  export declare type ShopifyMetadata = io.flow.internal.v0.models.ShopifyMetadata;
package/dist/api.d.ts CHANGED
@@ -2118,49 +2118,6 @@ declare namespace io.flow.error.v0.models {
2118
2118
  readonly messages: string[];
2119
2119
  }
2120
2120
  }
2121
- declare namespace io.flow.permission.v0.enums {
2122
- type AuthenticationTechnique = 'anonymous' | 'session' | 'token' | 'partner_token' | 'user';
2123
- type FlowBehavior = 'view_consumer_data';
2124
- type FlowRole = 'organization_admin' | 'organization_merchant' | 'organization_customer_service' | 'organization_fulfillment' | 'organization_marketing' | 'organization_finance' | 'flow_operations' | 'channel_admin' | 'channel_organization_admin';
2125
- type PermittedHttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
2126
- }
2127
- declare namespace io.flow.permission.v0.models {
2128
- interface BehaviorAudit {
2129
- readonly behavior: io.flow.permission.v0.enums.FlowBehavior;
2130
- readonly authentication_techniques: io.flow.permission.v0.enums.AuthenticationTechnique[];
2131
- readonly roles: io.flow.permission.v0.enums.FlowRole[];
2132
- }
2133
- interface PermissionAudit {
2134
- readonly routes: io.flow.permission.v0.models.RouteAudit[];
2135
- readonly behaviors: io.flow.permission.v0.models.BehaviorAudit[];
2136
- }
2137
- interface PermissionCheck {
2138
- readonly authentication_technique: io.flow.permission.v0.enums.AuthenticationTechnique;
2139
- readonly user?: io.flow.common.v0.unions.ExpandableUser;
2140
- readonly roles: io.flow.permission.v0.enums.FlowRole[];
2141
- readonly behaviors: io.flow.permission.v0.enums.FlowBehavior[];
2142
- readonly routes: io.flow.permission.v0.models.PermittedRoute[];
2143
- }
2144
- interface PermissionError {
2145
- readonly code: io.flow.error.v0.enums.GenericErrorCode;
2146
- readonly messages: string[];
2147
- readonly granting_roles?: io.flow.permission.v0.enums.FlowRole[];
2148
- readonly admin_users?: io.flow.common.v0.models.User[];
2149
- }
2150
- interface PermittedRoute {
2151
- readonly method: io.flow.permission.v0.enums.PermittedHttpMethod;
2152
- readonly path: string;
2153
- }
2154
- interface RouteAudit {
2155
- readonly method: io.flow.permission.v0.enums.PermittedHttpMethod;
2156
- readonly path: string;
2157
- readonly authentication_techniques: io.flow.permission.v0.enums.AuthenticationTechnique[];
2158
- readonly roles: io.flow.permission.v0.enums.FlowRole[];
2159
- }
2160
- interface SimplePermissionCheck {
2161
- readonly behaviors: io.flow.permission.v0.enums.FlowBehavior[];
2162
- }
2163
- }
2164
2121
  declare namespace io.flow.token.internal.v0.models {
2165
2122
  interface ChannelTokenForm {
2166
2123
  readonly channel_id: string;
@@ -2355,7 +2312,7 @@ declare namespace io.flow.v0.enums {
2355
2312
  type PaymentSourceConfirmationActionType = 'cvv' | 'billing_address' | 'number';
2356
2313
  type PaymentStatus = 'requires_payment_method' | 'requires_action' | 'processing' | 'cancelled' | 'expired' | 'authorized' | 'reversed' | 'captured' | 'refunded' | 'in_dispute' | 'charged_back';
2357
2314
  type PaymentType = 'card' | 'klarna' | 'googlepay' | 'paypal' | 'applepay' | 'ideal' | 'sofort' | 'afterpay' | 'bancontact';
2358
- type PayoutStatus = 'scheduled' | 'paid' | 'not_necessary';
2315
+ type PayoutStatusCode = 'scheduled' | 'sent' | 'cancelled' | 'not_necessary' | 'failed';
2359
2316
  type PermittedHttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
2360
2317
  type PhysicalDeliverySpecialSerivce = 'cold_storage' | 'hazardous' | 'perishable';
2361
2318
  type PostalType = 'eircode' | 'pin' | 'postal' | 'zip';
@@ -2411,7 +2368,7 @@ declare namespace io.flow.v0.enums {
2411
2368
  type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired';
2412
2369
  type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
2413
2370
  type TradeAgreementStatus = 'supported' | 'not_supported';
2414
- type TransactionSourceType = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'shipping_label';
2371
+ type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'shipping_label';
2415
2372
  type UnitOfMeasurement = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'cubic_inch' | 'cubic_meter' | 'gram' | 'kilogram' | 'meter' | 'ounce' | 'pound';
2416
2373
  type UnitOfTime = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute';
2417
2374
  type UpdatePolicy = 'auto' | 'queue' | 'discard';
@@ -3625,6 +3582,21 @@ declare namespace io.flow.v0.models {
3625
3582
  readonly timestamp: string;
3626
3583
  readonly channel: io.flow.channel.internal.v0.models.Channel;
3627
3584
  }
3585
+ interface ChannelViesRegistration {
3586
+ readonly id: string;
3587
+ readonly key: string;
3588
+ readonly number: string;
3589
+ readonly timestamp: string;
3590
+ readonly result: io.flow.v0.enums.TaxVerificationResult;
3591
+ readonly result_reason?: string;
3592
+ readonly name?: string;
3593
+ readonly address?: string;
3594
+ readonly company_name?: string;
3595
+ }
3596
+ interface ChannelViesRegistrationForm {
3597
+ readonly number: string;
3598
+ readonly company_name?: string;
3599
+ }
3628
3600
  interface CheckoutAttribute {
3629
3601
  readonly id: string;
3630
3602
  readonly experience: io.flow.v0.models.ExperienceReference;
@@ -5068,6 +5040,14 @@ declare namespace io.flow.v0.models {
5068
5040
  readonly username: string;
5069
5041
  readonly password?: string;
5070
5042
  }
5043
+ interface FuelSurchargeAmountByWeightServiceFee {
5044
+ readonly discriminator: 'fuel_surcharge_amount_by_weight_service_fee';
5045
+ readonly amount: io.flow.v0.models.Money;
5046
+ readonly weight: io.flow.v0.models.FeeWeight;
5047
+ readonly regions?: string[];
5048
+ readonly starts_at?: string;
5049
+ readonly ends_at?: string;
5050
+ }
5071
5051
  interface FuelSurchargeRatecardFee {
5072
5052
  readonly discriminator: 'fuel_surcharge_ratecard_fee';
5073
5053
  readonly amount: io.flow.v0.models.Money;
@@ -7696,8 +7676,13 @@ declare namespace io.flow.v0.models {
7696
7676
  readonly payment: io.flow.v0.unions.Payment;
7697
7677
  }
7698
7678
  interface Payout {
7699
- readonly amount: number;
7700
- readonly sent_on: string;
7679
+ readonly status: io.flow.v0.models.PayoutStatus;
7680
+ readonly amount?: number;
7681
+ readonly sent_on?: string;
7682
+ }
7683
+ interface PayoutStatus {
7684
+ readonly code: io.flow.v0.enums.PayoutStatusCode;
7685
+ readonly reason?: string;
7701
7686
  }
7702
7687
  interface PaypalAuthorizationDetails {
7703
7688
  readonly discriminator: 'paypal_authorization_details';
@@ -7751,12 +7736,6 @@ declare namespace io.flow.v0.models {
7751
7736
  readonly behaviors: io.flow.v0.enums.FlowBehavior[];
7752
7737
  readonly routes: io.flow.v0.models.PermittedRoute[];
7753
7738
  }
7754
- interface PermissionError {
7755
- readonly code: io.flow.v0.enums.GenericErrorCode;
7756
- readonly messages: string[];
7757
- readonly granting_roles?: io.flow.v0.enums.FlowRole[];
7758
- readonly admin_users?: io.flow.v0.models.User[];
7759
- }
7760
7739
  interface PermittedRoute {
7761
7740
  readonly method: io.flow.v0.enums.PermittedHttpMethod;
7762
7741
  readonly path: string;
@@ -9288,6 +9267,7 @@ declare namespace io.flow.v0.models {
9288
9267
  readonly id: string;
9289
9268
  }
9290
9269
  interface ShopifyMerchantApplication {
9270
+ readonly discriminator: 'shopify_merchant_application';
9291
9271
  readonly id: string;
9292
9272
  readonly company?: io.flow.v0.models.MerchantInfo;
9293
9273
  readonly indirect_tax_number?: string;
@@ -9300,7 +9280,7 @@ declare namespace io.flow.v0.models {
9300
9280
  readonly chargeback_percentage?: number;
9301
9281
  readonly bank_account_number?: string;
9302
9282
  readonly aba_routing_transit_number?: string;
9303
- readonly trade_sector?: io.flow.v0.enums.OnboardingTradeSector[];
9283
+ readonly trade_sectors?: io.flow.v0.enums.OnboardingTradeSector[];
9304
9284
  readonly other_trade_sector?: string;
9305
9285
  readonly third_party_logistics_partners?: io.flow.v0.models.ThirdPartyLogisticsPartner[];
9306
9286
  readonly average_order_weight?: number;
@@ -9312,6 +9292,7 @@ declare namespace io.flow.v0.models {
9312
9292
  readonly created_at: string;
9313
9293
  }
9314
9294
  interface ShopifyMerchantApplicationForm {
9295
+ readonly discriminator: 'shopify_merchant_application_form';
9315
9296
  readonly company?: io.flow.v0.models.MerchantInfo;
9316
9297
  readonly indirect_tax_number?: string;
9317
9298
  readonly parent_company?: io.flow.v0.models.MerchantInfo;
@@ -9323,7 +9304,7 @@ declare namespace io.flow.v0.models {
9323
9304
  readonly chargeback_percentage?: number;
9324
9305
  readonly bank_account_number?: string;
9325
9306
  readonly aba_routing_transit_number?: string;
9326
- readonly trade_sector?: io.flow.v0.enums.OnboardingTradeSector[];
9307
+ readonly trade_sectors?: io.flow.v0.enums.OnboardingTradeSector[];
9327
9308
  readonly other_trade_sector?: string;
9328
9309
  readonly third_party_logistics_partners?: io.flow.v0.models.ThirdPartyLogisticsPartner[];
9329
9310
  readonly average_order_weight?: number;
@@ -9442,13 +9423,9 @@ declare namespace io.flow.v0.models {
9442
9423
  interface Statement {
9443
9424
  readonly id: string;
9444
9425
  readonly account: io.flow.v0.models.AccountReference;
9445
- readonly payout: io.flow.v0.models.StatementPayout;
9426
+ readonly payouts: io.flow.v0.models.Payout[];
9446
9427
  readonly attachments: io.flow.v0.models.Attachment[];
9447
9428
  }
9448
- interface StatementPayout {
9449
- readonly status: io.flow.v0.enums.PayoutStatus;
9450
- readonly payout?: io.flow.v0.models.Payout;
9451
- }
9452
9429
  interface StreetAddress {
9453
9430
  readonly streets?: string[];
9454
9431
  readonly city?: string;
@@ -10019,21 +9996,18 @@ declare namespace io.flow.v0.models {
10019
9996
  }
10020
9997
  interface Transaction {
10021
9998
  readonly id: string;
9999
+ readonly shopify_transaction_id: string;
10022
10000
  readonly order: io.flow.v0.models.BillingChannelOrderReference;
10023
10001
  readonly statement?: io.flow.v0.models.BillingChannelStatementReference;
10024
- readonly payment_request: io.flow.v0.models.BillingChannelPaymentRequestReference;
10002
+ readonly payment_request?: io.flow.v0.models.BillingChannelPaymentRequestReference;
10025
10003
  readonly currency: string;
10026
- readonly source: io.flow.v0.models.TransactionSource;
10004
+ readonly source: io.flow.v0.enums.TransactionSource;
10027
10005
  readonly gross: number;
10028
10006
  readonly fees: io.flow.v0.models.Deduction[];
10029
10007
  readonly withholdings: io.flow.v0.models.Deduction[];
10030
10008
  readonly net: number;
10031
10009
  readonly created_at: string;
10032
10010
  }
10033
- interface TransactionSource {
10034
- readonly id: string;
10035
- readonly type: io.flow.v0.enums.TransactionSourceType;
10036
- }
10037
10011
  interface TransitEstimate {
10038
10012
  readonly origin: io.flow.v0.enums.DeliveryWindowLocation;
10039
10013
  readonly destination: io.flow.v0.enums.DeliveryWindowLocation;
@@ -10274,6 +10248,8 @@ declare namespace io.flow.v0.unions {
10274
10248
  type InputSpecificationLimitation = io.flow.v0.models.InputSpecificationLimitationMax;
10275
10249
  type InventoryStrategy = io.flow.v0.models.InventoryBackorder | io.flow.v0.models.InventoryStock | io.flow.v0.models.InventoryUnlimited | io.flow.v0.models.InventoryFollowEcommercePlatform;
10276
10250
  type LocalizedPrice = io.flow.v0.models.LocalizedItemPrice | io.flow.v0.models.LocalizedItemVat | io.flow.v0.models.LocalizedItemDuty | io.flow.v0.models.LocalizedTotal;
10251
+ type MerchantApplication = io.flow.v0.models.ShopifyMerchantApplication;
10252
+ type MerchantApplicationForm = io.flow.v0.models.ShopifyMerchantApplicationForm;
10277
10253
  type OnlineAuthorizationDetails = io.flow.v0.models.CryptopayAuthorizationDetails | io.flow.v0.models.PaypalAuthorizationDetails | io.flow.v0.models.RedirectAuthorizationDetails | io.flow.v0.models.InlineAuthorizationDetails;
10278
10254
  type OrderInformation = io.flow.v0.models.OrderInformationFlow | io.flow.v0.models.OrderInformationDetails;
10279
10255
  type OrderNumberGenerator = io.flow.v0.models.OrderNumberGeneratorUuid | io.flow.v0.models.OrderNumberGeneratorHexadecimal | io.flow.v0.models.OrderNumberGeneratorPrefixSuffix;
@@ -10311,7 +10287,7 @@ declare namespace io.flow.v0.unions {
10311
10287
  type ReservationError = io.flow.v0.models.NoInventoryReservationError | io.flow.v0.models.ExternalApiTimeoutReservationError | io.flow.v0.models.GenericReservationError;
10312
10288
  type ReturnSource = io.flow.v0.models.ReturnSourceFlow | io.flow.v0.models.ReturnSourceExternalVendor;
10313
10289
  type SdkAdyenV3AuthenticationToken = io.flow.v0.models.AdyenV3FingerprintToken | io.flow.v0.models.AdyenV3ChallengeToken;
10314
- type ServiceFee = io.flow.v0.models.FuelSurchargeServiceFee | io.flow.v0.models.RemoteAreaServiceFee | io.flow.v0.models.EmergencySituationSurchargeServiceFee | io.flow.v0.models.PeakSurchargeServiceFee | io.flow.v0.models.PeakSurchargeByWeightServiceFee | io.flow.v0.models.DutiesTaxesPaidSurchargeServiceFee;
10290
+ type ServiceFee = io.flow.v0.models.FuelSurchargeServiceFee | io.flow.v0.models.FuelSurchargeAmountByWeightServiceFee | io.flow.v0.models.RemoteAreaServiceFee | io.flow.v0.models.EmergencySituationSurchargeServiceFee | io.flow.v0.models.PeakSurchargeServiceFee | io.flow.v0.models.PeakSurchargeByWeightServiceFee | io.flow.v0.models.DutiesTaxesPaidSurchargeServiceFee;
10315
10291
  type Session = io.flow.v0.models.OrganizationSession;
10316
10292
  type SessionAuthorization = io.flow.v0.models.OrganizationSessionAuthorization;
10317
10293
  type ShippingLabelForm = io.flow.v0.models.DetailedShippingLabelForm | io.flow.v0.models.SummaryShippingLabelForm;
@@ -10552,6 +10528,8 @@ export declare type ChannelToken = io.flow.v0.models.ChannelToken;
10552
10528
  export declare type ChannelTokenForm = io.flow.v0.models.ChannelTokenForm;
10553
10529
  export declare type ChannelTokenReference = io.flow.v0.models.ChannelTokenReference;
10554
10530
  export declare type ChannelUpserted = io.flow.v0.models.ChannelUpserted;
10531
+ export declare type ChannelViesRegistration = io.flow.v0.models.ChannelViesRegistration;
10532
+ export declare type ChannelViesRegistrationForm = io.flow.v0.models.ChannelViesRegistrationForm;
10555
10533
  export declare type CheckoutAttribute = io.flow.v0.models.CheckoutAttribute;
10556
10534
  export declare type CheckoutAttributeForm = io.flow.v0.models.CheckoutAttributeForm;
10557
10535
  export declare type CheckoutItemContent = io.flow.v0.models.CheckoutItemContent;
@@ -10867,6 +10845,7 @@ export declare type FtpOrganizationSettings = io.flow.v0.models.FtpOrganizationS
10867
10845
  export declare type FtpOrganizationSettingsForm = io.flow.v0.models.FtpOrganizationSettingsForm;
10868
10846
  export declare type FtpServer = io.flow.v0.models.FtpServer;
10869
10847
  export declare type FtpUser = io.flow.v0.models.FtpUser;
10848
+ export declare type FuelSurchargeAmountByWeightServiceFee = io.flow.v0.models.FuelSurchargeAmountByWeightServiceFee;
10870
10849
  export declare type FuelSurchargeRatecardFee = io.flow.v0.models.FuelSurchargeRatecardFee;
10871
10850
  export declare type FuelSurchargeServiceFee = io.flow.v0.models.FuelSurchargeServiceFee;
10872
10851
  export declare type Fulfillment = io.flow.v0.models.Fulfillment;
@@ -11070,6 +11049,8 @@ export declare type MembershipForm = io.flow.v0.models.MembershipForm;
11070
11049
  export declare type MembershipPutForm = io.flow.v0.models.MembershipPutForm;
11071
11050
  export declare type MembershipUpsertedV2 = io.flow.v0.models.MembershipUpsertedV2;
11072
11051
  export declare type MembershipVersion = io.flow.v0.models.MembershipVersion;
11052
+ export declare type MerchantApplication = io.flow.v0.unions.MerchantApplication;
11053
+ export declare type MerchantApplicationForm = io.flow.v0.unions.MerchantApplicationForm;
11073
11054
  export declare type MerchantGiftCardBalance = io.flow.v0.models.MerchantGiftCardBalance;
11074
11055
  export declare type MerchantGiftCardBalanceForm = io.flow.v0.models.MerchantGiftCardBalanceForm;
11075
11056
  export declare type MerchantGiftCardError = io.flow.v0.models.MerchantGiftCardError;
@@ -11385,7 +11366,8 @@ export declare type PaymentType = io.flow.v0.enums.PaymentType;
11385
11366
  export declare type PaymentUpserted = io.flow.v0.models.PaymentUpserted;
11386
11367
  export declare type PaymentVersion = io.flow.v0.models.PaymentVersion;
11387
11368
  export declare type Payout = io.flow.v0.models.Payout;
11388
- export declare type PayoutStatus = io.flow.v0.enums.PayoutStatus;
11369
+ export declare type PayoutStatus = io.flow.v0.models.PayoutStatus;
11370
+ export declare type PayoutStatusCode = io.flow.v0.enums.PayoutStatusCode;
11389
11371
  export declare type PaypalAuthorizationDetails = io.flow.v0.models.PaypalAuthorizationDetails;
11390
11372
  export declare type PaypalAuthorizationForm = io.flow.v0.models.PaypalAuthorizationForm;
11391
11373
  export declare type PeakSurchargeByWeightServiceFee = io.flow.v0.models.PeakSurchargeByWeightServiceFee;
@@ -11394,7 +11376,6 @@ export declare type PeakSurchargeServiceFee = io.flow.v0.models.PeakSurchargeSer
11394
11376
  export declare type PercentMargin = io.flow.v0.models.PercentMargin;
11395
11377
  export declare type PermissionAudit = io.flow.v0.models.PermissionAudit;
11396
11378
  export declare type PermissionCheck = io.flow.v0.models.PermissionCheck;
11397
- export declare type PermissionError = io.flow.v0.models.PermissionError;
11398
11379
  export declare type PermittedHttpMethod = io.flow.v0.enums.PermittedHttpMethod;
11399
11380
  export declare type PermittedRoute = io.flow.v0.models.PermittedRoute;
11400
11381
  export declare type PfsInventoryCheckResponse = io.flow.v0.models.PfsInventoryCheckResponse;
@@ -11709,7 +11690,6 @@ export declare type SolidusProductExportType = io.flow.v0.models.SolidusProductE
11709
11690
  export declare type SolidusVariantExportType = io.flow.v0.models.SolidusVariantExportType;
11710
11691
  export declare type SortDirection = io.flow.v0.enums.SortDirection;
11711
11692
  export declare type Statement = io.flow.v0.models.Statement;
11712
- export declare type StatementPayout = io.flow.v0.models.StatementPayout;
11713
11693
  export declare type Strategy = io.flow.v0.enums.Strategy;
11714
11694
  export declare type StreetAddress = io.flow.v0.models.StreetAddress;
11715
11695
  export declare type StripeAuthenticationData = io.flow.v0.models.StripeAuthenticationData;
@@ -11831,8 +11811,7 @@ export declare type TradeAgreementDuty = io.flow.v0.models.TradeAgreementDuty;
11831
11811
  export declare type TradeAgreementName = io.flow.v0.enums.TradeAgreementName;
11832
11812
  export declare type TradeAgreementStatus = io.flow.v0.enums.TradeAgreementStatus;
11833
11813
  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;
11814
+ export declare type TransactionSource = io.flow.v0.enums.TransactionSource;
11836
11815
  export declare type TransitEstimate = io.flow.v0.models.TransitEstimate;
11837
11816
  export declare type TransitWindow = io.flow.v0.models.TransitWindow;
11838
11817
  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.2",
3
+ "version": "11.24.4",
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": "5a856f0214138246a416fca9a94b25067a1a1e7e"
28
+ "gitHead": "1aad29348ecfd1ba88217a667a4ba4b84b22506c"
29
29
  }
@@ -9746,6 +9746,15 @@ declare namespace io.flow.ratecard.v0.models {
9746
9746
  readonly unit: io.flow.common.v0.enums.UnitOfMeasurement;
9747
9747
  }
9748
9748
 
9749
+ interface FuelSurchargeAmountByWeightServiceFee {
9750
+ readonly discriminator: 'fuel_surcharge_amount_by_weight_service_fee';
9751
+ readonly amount: io.flow.common.v0.models.Money;
9752
+ readonly weight: io.flow.ratecard.v0.models.FeeWeight;
9753
+ readonly regions?: string[];
9754
+ readonly starts_at?: string;
9755
+ readonly ends_at?: string;
9756
+ }
9757
+
9749
9758
  interface FuelSurchargeRatecardFee {
9750
9759
  readonly discriminator: 'fuel_surcharge_ratecard_fee';
9751
9760
  readonly amount: io.flow.common.v0.models.Money;
@@ -10058,6 +10067,7 @@ declare namespace io.flow.ratecard.v0.unions {
10058
10067
  | io.flow.ratecard.v0.models.DutiesTaxesPaidSurchargeRatecardFee;
10059
10068
  type ServiceFee =
10060
10069
  | io.flow.ratecard.v0.models.FuelSurchargeServiceFee
10070
+ | io.flow.ratecard.v0.models.FuelSurchargeAmountByWeightServiceFee
10061
10071
  | io.flow.ratecard.v0.models.RemoteAreaServiceFee
10062
10072
  | io.flow.ratecard.v0.models.EmergencySituationSurchargeServiceFee
10063
10073
  | io.flow.ratecard.v0.models.PeakSurchargeServiceFee
@@ -10906,13 +10916,6 @@ declare namespace io.flow.permission.v0.models {
10906
10916
  readonly routes: io.flow.permission.v0.models.PermittedRoute[];
10907
10917
  }
10908
10918
 
10909
- interface PermissionError {
10910
- readonly code: io.flow.error.v0.enums.GenericErrorCode;
10911
- readonly messages: string[];
10912
- readonly granting_roles?: io.flow.permission.v0.enums.FlowRole[];
10913
- readonly admin_users?: io.flow.common.v0.models.User[];
10914
- }
10915
-
10916
10919
  interface PermittedRoute {
10917
10920
  readonly method: io.flow.permission.v0.enums.PermittedHttpMethod;
10918
10921
  readonly path: string;
@@ -18940,7 +18943,14 @@ declare namespace io.flow.internal.v0.models {
18940
18943
  readonly outbound: string;
18941
18944
  }
18942
18945
 
18943
- interface FuelSurchargeRatecardFeePercentPutForm {
18946
+ interface FuelSurchargeServiceFeeAmountByWeightPutForm {
18947
+ readonly discriminator: 'fuel_surcharge_service_fee_amount_by_weight_put_form';
18948
+ readonly amount: io.flow.common.v0.models.Money;
18949
+ readonly weight: io.flow.ratecard.v0.models.FeeWeight;
18950
+ }
18951
+
18952
+ interface FuelSurchargeServiceFeePercentPutForm {
18953
+ readonly discriminator: 'fuel_surcharge_service_fee_percent_put_form';
18944
18954
  readonly percent: number;
18945
18955
  }
18946
18956
 
@@ -19990,10 +20000,6 @@ declare namespace io.flow.internal.v0.models {
19990
20000
  readonly fiserv_authentication_data: io.flow.internal.v0.models.FiservAuthenticationDataReference;
19991
20001
  }
19992
20002
 
19993
- interface InternalFuelSurchargeRatecardFee {
19994
- readonly percent: number;
19995
- }
19996
-
19997
20003
  interface InternalItemForm {
19998
20004
  readonly id: string;
19999
20005
  readonly item_form: io.flow.catalog.v0.models.ItemForm;
@@ -20409,10 +20415,13 @@ declare namespace io.flow.internal.v0.models {
20409
20415
  }
20410
20416
 
20411
20417
  interface LabelCreationJob {
20418
+ readonly id: string;
20412
20419
  readonly reference_id: string;
20413
20420
  readonly status: io.flow.internal.v0.enums.LabelCreationStatus;
20414
20421
  readonly label_url?: string;
20415
20422
  readonly commercial_invoice_url?: string;
20423
+ readonly service_id?: string;
20424
+ readonly carrier_tracking_number?: string;
20416
20425
  readonly flow_tracking_number?: string;
20417
20426
  readonly errors: string[];
20418
20427
  }
@@ -22361,6 +22370,8 @@ declare namespace io.flow.internal.v0.models {
22361
22370
  interface RatecardInternalServiceFee {
22362
22371
  readonly id: string;
22363
22372
  readonly service_id: string;
22373
+ readonly created_at: string;
22374
+ readonly updated_at: string;
22364
22375
  readonly fees: io.flow.ratecard.v0.unions.ServiceFee[];
22365
22376
  }
22366
22377
 
@@ -22946,6 +22957,10 @@ declare namespace io.flow.internal.v0.models {
22946
22957
  readonly access_token?: string;
22947
22958
  }
22948
22959
 
22960
+ interface ShopifyMarketsShopSummary {
22961
+ readonly organization: io.flow.common.v0.models.OrganizationSummary;
22962
+ }
22963
+
22949
22964
  interface ShopifyMarketsSubsidiaryCompany {
22950
22965
  readonly legal_name?: string;
22951
22966
  readonly incorporation_country?: io.flow.internal.v0.models.ShopifyMarketsIncorporationCountry;
@@ -24851,6 +24866,9 @@ declare namespace io.flow.internal.v0.unions {
24851
24866
  io.flow.internal.v0.models.FraudProviderConfigurationRiskified;
24852
24867
  type FraudProviderConfigurationForm =
24853
24868
  io.flow.internal.v0.models.FraudProviderConfigurationFormRiskified;
24869
+ type FuelSurchargeServiceFeePutForm =
24870
+ | io.flow.internal.v0.models.FuelSurchargeServiceFeePercentPutForm
24871
+ | io.flow.internal.v0.models.FuelSurchargeServiceFeeAmountByWeightPutForm;
24854
24872
  type GlobalSearchResult =
24855
24873
  | io.flow.internal.v0.models.SearchExperienceSummary
24856
24874
  | io.flow.internal.v0.models.SearchExperimentSummary
@@ -26941,8 +26959,12 @@ export type FtpSetting = io.flow.internal.v0.models.FtpSetting;
26941
26959
  export type FtpSettingForm = io.flow.internal.v0.models.FtpSettingForm;
26942
26960
  export type FtpSettingVersion = io.flow.internal.v0.models.FtpSettingVersion;
26943
26961
  export type FtpSettingsPaths = io.flow.internal.v0.models.FtpSettingsPaths;
26944
- export type FuelSurchargeRatecardFeePercentPutForm =
26945
- io.flow.internal.v0.models.FuelSurchargeRatecardFeePercentPutForm;
26962
+ export type FuelSurchargeServiceFeeAmountByWeightPutForm =
26963
+ io.flow.internal.v0.models.FuelSurchargeServiceFeeAmountByWeightPutForm;
26964
+ export type FuelSurchargeServiceFeePercentPutForm =
26965
+ io.flow.internal.v0.models.FuelSurchargeServiceFeePercentPutForm;
26966
+ export type FuelSurchargeServiceFeePutForm =
26967
+ io.flow.internal.v0.unions.FuelSurchargeServiceFeePutForm;
26946
26968
  export type FulfillmentActionForm =
26947
26969
  io.flow.internal.v0.models.FulfillmentActionForm;
26948
26970
  export type FulfillmentCancel = io.flow.internal.v0.models.FulfillmentCancel;
@@ -27130,8 +27152,6 @@ export type InternalExclusionRuleForm =
27130
27152
  io.flow.internal.v0.models.InternalExclusionRuleForm;
27131
27153
  export type InternalFiservAuthorizationDetails =
27132
27154
  io.flow.internal.v0.models.InternalFiservAuthorizationDetails;
27133
- export type InternalFuelSurchargeRatecardFee =
27134
- io.flow.internal.v0.models.InternalFuelSurchargeRatecardFee;
27135
27155
  export type InternalHarmonizationStatistic =
27136
27156
  io.flow.internal.v0.unions.InternalHarmonizationStatistic;
27137
27157
  export type InternalItemForm = io.flow.internal.v0.models.InternalItemForm;
@@ -27925,6 +27945,8 @@ export type ShopifyMarketsProductLogistics =
27925
27945
  export type ShopifyMarketsShop = io.flow.internal.v0.models.ShopifyMarketsShop;
27926
27946
  export type ShopifyMarketsShopForm =
27927
27947
  io.flow.internal.v0.models.ShopifyMarketsShopForm;
27948
+ export type ShopifyMarketsShopSummary =
27949
+ io.flow.internal.v0.models.ShopifyMarketsShopSummary;
27928
27950
  export type ShopifyMarketsSubsidiaryCompany =
27929
27951
  io.flow.internal.v0.models.ShopifyMarketsSubsidiaryCompany;
27930
27952
  export type ShopifyMarketsTradeSector =
package/src/api.ts CHANGED
@@ -2708,71 +2708,6 @@ declare namespace io.flow.error.v0.models {
2708
2708
  }
2709
2709
  }
2710
2710
 
2711
- declare namespace io.flow.permission.v0.enums {
2712
- type AuthenticationTechnique =
2713
- | 'anonymous'
2714
- | 'session'
2715
- | 'token'
2716
- | 'partner_token'
2717
- | 'user';
2718
- type FlowBehavior = 'view_consumer_data';
2719
- type FlowRole =
2720
- | 'organization_admin'
2721
- | 'organization_merchant'
2722
- | 'organization_customer_service'
2723
- | 'organization_fulfillment'
2724
- | 'organization_marketing'
2725
- | 'organization_finance'
2726
- | 'flow_operations'
2727
- | 'channel_admin'
2728
- | 'channel_organization_admin';
2729
- type PermittedHttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
2730
- }
2731
-
2732
- declare namespace io.flow.permission.v0.models {
2733
- interface BehaviorAudit {
2734
- readonly behavior: io.flow.permission.v0.enums.FlowBehavior;
2735
- readonly authentication_techniques: io.flow.permission.v0.enums.AuthenticationTechnique[];
2736
- readonly roles: io.flow.permission.v0.enums.FlowRole[];
2737
- }
2738
-
2739
- interface PermissionAudit {
2740
- readonly routes: io.flow.permission.v0.models.RouteAudit[];
2741
- readonly behaviors: io.flow.permission.v0.models.BehaviorAudit[];
2742
- }
2743
-
2744
- interface PermissionCheck {
2745
- readonly authentication_technique: io.flow.permission.v0.enums.AuthenticationTechnique;
2746
- readonly user?: io.flow.common.v0.unions.ExpandableUser;
2747
- readonly roles: io.flow.permission.v0.enums.FlowRole[];
2748
- readonly behaviors: io.flow.permission.v0.enums.FlowBehavior[];
2749
- readonly routes: io.flow.permission.v0.models.PermittedRoute[];
2750
- }
2751
-
2752
- interface PermissionError {
2753
- readonly code: io.flow.error.v0.enums.GenericErrorCode;
2754
- readonly messages: string[];
2755
- readonly granting_roles?: io.flow.permission.v0.enums.FlowRole[];
2756
- readonly admin_users?: io.flow.common.v0.models.User[];
2757
- }
2758
-
2759
- interface PermittedRoute {
2760
- readonly method: io.flow.permission.v0.enums.PermittedHttpMethod;
2761
- readonly path: string;
2762
- }
2763
-
2764
- interface RouteAudit {
2765
- readonly method: io.flow.permission.v0.enums.PermittedHttpMethod;
2766
- readonly path: string;
2767
- readonly authentication_techniques: io.flow.permission.v0.enums.AuthenticationTechnique[];
2768
- readonly roles: io.flow.permission.v0.enums.FlowRole[];
2769
- }
2770
-
2771
- interface SimplePermissionCheck {
2772
- readonly behaviors: io.flow.permission.v0.enums.FlowBehavior[];
2773
- }
2774
- }
2775
-
2776
2711
  declare namespace io.flow.token.internal.v0.models {
2777
2712
  interface ChannelTokenForm {
2778
2713
  readonly channel_id: string;
@@ -3540,7 +3475,12 @@ declare namespace io.flow.v0.enums {
3540
3475
  | 'sofort'
3541
3476
  | 'afterpay'
3542
3477
  | 'bancontact';
3543
- type PayoutStatus = 'scheduled' | 'paid' | 'not_necessary';
3478
+ type PayoutStatusCode =
3479
+ | 'scheduled'
3480
+ | 'sent'
3481
+ | 'cancelled'
3482
+ | 'not_necessary'
3483
+ | 'failed';
3544
3484
  type PermittedHttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
3545
3485
  type PhysicalDeliverySpecialSerivce =
3546
3486
  | 'cold_storage'
@@ -3723,7 +3663,7 @@ declare namespace io.flow.v0.enums {
3723
3663
  | 'expired';
3724
3664
  type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
3725
3665
  type TradeAgreementStatus = 'supported' | 'not_supported';
3726
- type TransactionSourceType =
3666
+ type TransactionSource =
3727
3667
  | 'capture'
3728
3668
  | 'refund'
3729
3669
  | 'dispute'
@@ -5149,6 +5089,23 @@ declare namespace io.flow.v0.models {
5149
5089
  readonly channel: io.flow.channel.internal.v0.models.Channel;
5150
5090
  }
5151
5091
 
5092
+ interface ChannelViesRegistration {
5093
+ readonly id: string;
5094
+ readonly key: string;
5095
+ readonly number: string;
5096
+ readonly timestamp: string;
5097
+ readonly result: io.flow.v0.enums.TaxVerificationResult;
5098
+ readonly result_reason?: string;
5099
+ readonly name?: string;
5100
+ readonly address?: string;
5101
+ readonly company_name?: string;
5102
+ }
5103
+
5104
+ interface ChannelViesRegistrationForm {
5105
+ readonly number: string;
5106
+ readonly company_name?: string;
5107
+ }
5108
+
5152
5109
  interface CheckoutAttribute {
5153
5110
  readonly id: string;
5154
5111
  readonly experience: io.flow.v0.models.ExperienceReference;
@@ -6840,6 +6797,15 @@ declare namespace io.flow.v0.models {
6840
6797
  readonly password?: string;
6841
6798
  }
6842
6799
 
6800
+ interface FuelSurchargeAmountByWeightServiceFee {
6801
+ readonly discriminator: 'fuel_surcharge_amount_by_weight_service_fee';
6802
+ readonly amount: io.flow.v0.models.Money;
6803
+ readonly weight: io.flow.v0.models.FeeWeight;
6804
+ readonly regions?: string[];
6805
+ readonly starts_at?: string;
6806
+ readonly ends_at?: string;
6807
+ }
6808
+
6843
6809
  interface FuelSurchargeRatecardFee {
6844
6810
  readonly discriminator: 'fuel_surcharge_ratecard_fee';
6845
6811
  readonly amount: io.flow.v0.models.Money;
@@ -9908,8 +9874,14 @@ declare namespace io.flow.v0.models {
9908
9874
  }
9909
9875
 
9910
9876
  interface Payout {
9911
- readonly amount: number;
9912
- readonly sent_on: string;
9877
+ readonly status: io.flow.v0.models.PayoutStatus;
9878
+ readonly amount?: number;
9879
+ readonly sent_on?: string;
9880
+ }
9881
+
9882
+ interface PayoutStatus {
9883
+ readonly code: io.flow.v0.enums.PayoutStatusCode;
9884
+ readonly reason?: string;
9913
9885
  }
9914
9886
 
9915
9887
  interface PaypalAuthorizationDetails {
@@ -9972,13 +9944,6 @@ declare namespace io.flow.v0.models {
9972
9944
  readonly routes: io.flow.v0.models.PermittedRoute[];
9973
9945
  }
9974
9946
 
9975
- interface PermissionError {
9976
- readonly code: io.flow.v0.enums.GenericErrorCode;
9977
- readonly messages: string[];
9978
- readonly granting_roles?: io.flow.v0.enums.FlowRole[];
9979
- readonly admin_users?: io.flow.v0.models.User[];
9980
- }
9981
-
9982
9947
  interface PermittedRoute {
9983
9948
  readonly method: io.flow.v0.enums.PermittedHttpMethod;
9984
9949
  readonly path: string;
@@ -11756,6 +11721,7 @@ declare namespace io.flow.v0.models {
11756
11721
  }
11757
11722
 
11758
11723
  interface ShopifyMerchantApplication {
11724
+ readonly discriminator: 'shopify_merchant_application';
11759
11725
  readonly id: string;
11760
11726
  readonly company?: io.flow.v0.models.MerchantInfo;
11761
11727
  readonly indirect_tax_number?: string;
@@ -11768,7 +11734,7 @@ declare namespace io.flow.v0.models {
11768
11734
  readonly chargeback_percentage?: number;
11769
11735
  readonly bank_account_number?: string;
11770
11736
  readonly aba_routing_transit_number?: string;
11771
- readonly trade_sector?: io.flow.v0.enums.OnboardingTradeSector[];
11737
+ readonly trade_sectors?: io.flow.v0.enums.OnboardingTradeSector[];
11772
11738
  readonly other_trade_sector?: string;
11773
11739
  readonly third_party_logistics_partners?: io.flow.v0.models.ThirdPartyLogisticsPartner[];
11774
11740
  readonly average_order_weight?: number;
@@ -11781,6 +11747,7 @@ declare namespace io.flow.v0.models {
11781
11747
  }
11782
11748
 
11783
11749
  interface ShopifyMerchantApplicationForm {
11750
+ readonly discriminator: 'shopify_merchant_application_form';
11784
11751
  readonly company?: io.flow.v0.models.MerchantInfo;
11785
11752
  readonly indirect_tax_number?: string;
11786
11753
  readonly parent_company?: io.flow.v0.models.MerchantInfo;
@@ -11792,7 +11759,7 @@ declare namespace io.flow.v0.models {
11792
11759
  readonly chargeback_percentage?: number;
11793
11760
  readonly bank_account_number?: string;
11794
11761
  readonly aba_routing_transit_number?: string;
11795
- readonly trade_sector?: io.flow.v0.enums.OnboardingTradeSector[];
11762
+ readonly trade_sectors?: io.flow.v0.enums.OnboardingTradeSector[];
11796
11763
  readonly other_trade_sector?: string;
11797
11764
  readonly third_party_logistics_partners?: io.flow.v0.models.ThirdPartyLogisticsPartner[];
11798
11765
  readonly average_order_weight?: number;
@@ -11929,15 +11896,10 @@ declare namespace io.flow.v0.models {
11929
11896
  interface Statement {
11930
11897
  readonly id: string;
11931
11898
  readonly account: io.flow.v0.models.AccountReference;
11932
- readonly payout: io.flow.v0.models.StatementPayout;
11899
+ readonly payouts: io.flow.v0.models.Payout[];
11933
11900
  readonly attachments: io.flow.v0.models.Attachment[];
11934
11901
  }
11935
11902
 
11936
- interface StatementPayout {
11937
- readonly status: io.flow.v0.enums.PayoutStatus;
11938
- readonly payout?: io.flow.v0.models.Payout;
11939
- }
11940
-
11941
11903
  interface StreetAddress {
11942
11904
  readonly streets?: string[];
11943
11905
  readonly city?: string;
@@ -12598,11 +12560,12 @@ declare namespace io.flow.v0.models {
12598
12560
 
12599
12561
  interface Transaction {
12600
12562
  readonly id: string;
12563
+ readonly shopify_transaction_id: string;
12601
12564
  readonly order: io.flow.v0.models.BillingChannelOrderReference;
12602
12565
  readonly statement?: io.flow.v0.models.BillingChannelStatementReference;
12603
- readonly payment_request: io.flow.v0.models.BillingChannelPaymentRequestReference;
12566
+ readonly payment_request?: io.flow.v0.models.BillingChannelPaymentRequestReference;
12604
12567
  readonly currency: string;
12605
- readonly source: io.flow.v0.models.TransactionSource;
12568
+ readonly source: io.flow.v0.enums.TransactionSource;
12606
12569
  readonly gross: number;
12607
12570
  readonly fees: io.flow.v0.models.Deduction[];
12608
12571
  readonly withholdings: io.flow.v0.models.Deduction[];
@@ -12610,11 +12573,6 @@ declare namespace io.flow.v0.models {
12610
12573
  readonly created_at: string;
12611
12574
  }
12612
12575
 
12613
- interface TransactionSource {
12614
- readonly id: string;
12615
- readonly type: io.flow.v0.enums.TransactionSourceType;
12616
- }
12617
-
12618
12576
  interface TransitEstimate {
12619
12577
  readonly origin: io.flow.v0.enums.DeliveryWindowLocation;
12620
12578
  readonly destination: io.flow.v0.enums.DeliveryWindowLocation;
@@ -13181,6 +13139,9 @@ declare namespace io.flow.v0.unions {
13181
13139
  | io.flow.v0.models.LocalizedItemVat
13182
13140
  | io.flow.v0.models.LocalizedItemDuty
13183
13141
  | io.flow.v0.models.LocalizedTotal;
13142
+ type MerchantApplication = io.flow.v0.models.ShopifyMerchantApplication;
13143
+ type MerchantApplicationForm =
13144
+ io.flow.v0.models.ShopifyMerchantApplicationForm;
13184
13145
  type OnlineAuthorizationDetails =
13185
13146
  | io.flow.v0.models.CryptopayAuthorizationDetails
13186
13147
  | io.flow.v0.models.PaypalAuthorizationDetails
@@ -13312,6 +13273,7 @@ declare namespace io.flow.v0.unions {
13312
13273
  | io.flow.v0.models.AdyenV3ChallengeToken;
13313
13274
  type ServiceFee =
13314
13275
  | io.flow.v0.models.FuelSurchargeServiceFee
13276
+ | io.flow.v0.models.FuelSurchargeAmountByWeightServiceFee
13315
13277
  | io.flow.v0.models.RemoteAreaServiceFee
13316
13278
  | io.flow.v0.models.EmergencySituationSurchargeServiceFee
13317
13279
  | io.flow.v0.models.PeakSurchargeServiceFee
@@ -13650,6 +13612,9 @@ export type ChannelToken = io.flow.v0.models.ChannelToken;
13650
13612
  export type ChannelTokenForm = io.flow.v0.models.ChannelTokenForm;
13651
13613
  export type ChannelTokenReference = io.flow.v0.models.ChannelTokenReference;
13652
13614
  export type ChannelUpserted = io.flow.v0.models.ChannelUpserted;
13615
+ export type ChannelViesRegistration = io.flow.v0.models.ChannelViesRegistration;
13616
+ export type ChannelViesRegistrationForm =
13617
+ io.flow.v0.models.ChannelViesRegistrationForm;
13653
13618
  export type CheckoutAttribute = io.flow.v0.models.CheckoutAttribute;
13654
13619
  export type CheckoutAttributeForm = io.flow.v0.models.CheckoutAttributeForm;
13655
13620
  export type CheckoutItemContent = io.flow.v0.models.CheckoutItemContent;
@@ -14054,6 +14019,8 @@ export type FtpOrganizationSettingsForm =
14054
14019
  io.flow.v0.models.FtpOrganizationSettingsForm;
14055
14020
  export type FtpServer = io.flow.v0.models.FtpServer;
14056
14021
  export type FtpUser = io.flow.v0.models.FtpUser;
14022
+ export type FuelSurchargeAmountByWeightServiceFee =
14023
+ io.flow.v0.models.FuelSurchargeAmountByWeightServiceFee;
14057
14024
  export type FuelSurchargeRatecardFee =
14058
14025
  io.flow.v0.models.FuelSurchargeRatecardFee;
14059
14026
  export type FuelSurchargeServiceFee = io.flow.v0.models.FuelSurchargeServiceFee;
@@ -14293,6 +14260,8 @@ export type MembershipForm = io.flow.v0.models.MembershipForm;
14293
14260
  export type MembershipPutForm = io.flow.v0.models.MembershipPutForm;
14294
14261
  export type MembershipUpsertedV2 = io.flow.v0.models.MembershipUpsertedV2;
14295
14262
  export type MembershipVersion = io.flow.v0.models.MembershipVersion;
14263
+ export type MerchantApplication = io.flow.v0.unions.MerchantApplication;
14264
+ export type MerchantApplicationForm = io.flow.v0.unions.MerchantApplicationForm;
14296
14265
  export type MerchantGiftCardBalance = io.flow.v0.models.MerchantGiftCardBalance;
14297
14266
  export type MerchantGiftCardBalanceForm =
14298
14267
  io.flow.v0.models.MerchantGiftCardBalanceForm;
@@ -14720,7 +14689,8 @@ export type PaymentType = io.flow.v0.enums.PaymentType;
14720
14689
  export type PaymentUpserted = io.flow.v0.models.PaymentUpserted;
14721
14690
  export type PaymentVersion = io.flow.v0.models.PaymentVersion;
14722
14691
  export type Payout = io.flow.v0.models.Payout;
14723
- export type PayoutStatus = io.flow.v0.enums.PayoutStatus;
14692
+ export type PayoutStatus = io.flow.v0.models.PayoutStatus;
14693
+ export type PayoutStatusCode = io.flow.v0.enums.PayoutStatusCode;
14724
14694
  export type PaypalAuthorizationDetails =
14725
14695
  io.flow.v0.models.PaypalAuthorizationDetails;
14726
14696
  export type PaypalAuthorizationForm = io.flow.v0.models.PaypalAuthorizationForm;
@@ -14732,7 +14702,6 @@ export type PeakSurchargeServiceFee = io.flow.v0.models.PeakSurchargeServiceFee;
14732
14702
  export type PercentMargin = io.flow.v0.models.PercentMargin;
14733
14703
  export type PermissionAudit = io.flow.v0.models.PermissionAudit;
14734
14704
  export type PermissionCheck = io.flow.v0.models.PermissionCheck;
14735
- export type PermissionError = io.flow.v0.models.PermissionError;
14736
14705
  export type PermittedHttpMethod = io.flow.v0.enums.PermittedHttpMethod;
14737
14706
  export type PermittedRoute = io.flow.v0.models.PermittedRoute;
14738
14707
  export type PfsInventoryCheckResponse =
@@ -15119,7 +15088,6 @@ export type SolidusVariantExportType =
15119
15088
  io.flow.v0.models.SolidusVariantExportType;
15120
15089
  export type SortDirection = io.flow.v0.enums.SortDirection;
15121
15090
  export type Statement = io.flow.v0.models.Statement;
15122
- export type StatementPayout = io.flow.v0.models.StatementPayout;
15123
15091
  export type Strategy = io.flow.v0.enums.Strategy;
15124
15092
  export type StreetAddress = io.flow.v0.models.StreetAddress;
15125
15093
  export type StripeAuthenticationData =
@@ -15261,8 +15229,7 @@ export type TradeAgreementDuty = io.flow.v0.models.TradeAgreementDuty;
15261
15229
  export type TradeAgreementName = io.flow.v0.enums.TradeAgreementName;
15262
15230
  export type TradeAgreementStatus = io.flow.v0.enums.TradeAgreementStatus;
15263
15231
  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;
15232
+ export type TransactionSource = io.flow.v0.enums.TransactionSource;
15266
15233
  export type TransitEstimate = io.flow.v0.models.TransitEstimate;
15267
15234
  export type TransitWindow = io.flow.v0.models.TransitWindow;
15268
15235
  export type UnharmonizedItemExportType =