@flowio/types 11.24.3 → 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;
@@ -17931,6 +17936,9 @@ declare namespace io.flow.internal.v0.models {
17931
17936
  readonly api_password?: string;
17932
17937
  readonly access_token?: string;
17933
17938
  }
17939
+ interface ShopifyMarketsShopSummary {
17940
+ readonly organization: io.flow.common.v0.models.OrganizationSummary;
17941
+ }
17934
17942
  interface ShopifyMarketsSubsidiaryCompany {
17935
17943
  readonly legal_name?: string;
17936
17944
  readonly incorporation_country?: io.flow.internal.v0.models.ShopifyMarketsIncorporationCountry;
@@ -19079,6 +19087,7 @@ declare namespace io.flow.internal.v0.unions {
19079
19087
  type FeatureValue = io.flow.internal.v0.models.BooleanFeatureValue | io.flow.internal.v0.models.StringFeatureValue;
19080
19088
  type FraudProviderConfiguration = io.flow.internal.v0.models.FraudProviderConfigurationRiskified;
19081
19089
  type FraudProviderConfigurationForm = io.flow.internal.v0.models.FraudProviderConfigurationFormRiskified;
19090
+ type FuelSurchargeServiceFeePutForm = io.flow.internal.v0.models.FuelSurchargeServiceFeePercentPutForm | io.flow.internal.v0.models.FuelSurchargeServiceFeeAmountByWeightPutForm;
19082
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;
19083
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;
19084
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;
@@ -20177,7 +20186,9 @@ export declare type FtpSetting = io.flow.internal.v0.models.FtpSetting;
20177
20186
  export declare type FtpSettingForm = io.flow.internal.v0.models.FtpSettingForm;
20178
20187
  export declare type FtpSettingVersion = io.flow.internal.v0.models.FtpSettingVersion;
20179
20188
  export declare type FtpSettingsPaths = io.flow.internal.v0.models.FtpSettingsPaths;
20180
- 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;
20181
20192
  export declare type FulfillmentActionForm = io.flow.internal.v0.models.FulfillmentActionForm;
20182
20193
  export declare type FulfillmentCancel = io.flow.internal.v0.models.FulfillmentCancel;
20183
20194
  export declare type FulfillmentInternalExperienceReference = io.flow.internal.v0.models.FulfillmentInternalExperienceReference;
@@ -20293,7 +20304,6 @@ export declare type InternalChannelRateDeleted = io.flow.internal.v0.models.Inte
20293
20304
  export declare type InternalChannelRateUpserted = io.flow.internal.v0.models.InternalChannelRateUpserted;
20294
20305
  export declare type InternalExclusionRuleForm = io.flow.internal.v0.models.InternalExclusionRuleForm;
20295
20306
  export declare type InternalFiservAuthorizationDetails = io.flow.internal.v0.models.InternalFiservAuthorizationDetails;
20296
- export declare type InternalFuelSurchargeRatecardFee = io.flow.internal.v0.models.InternalFuelSurchargeRatecardFee;
20297
20307
  export declare type InternalHarmonizationStatistic = io.flow.internal.v0.unions.InternalHarmonizationStatistic;
20298
20308
  export declare type InternalItemForm = io.flow.internal.v0.models.InternalItemForm;
20299
20309
  export declare type InternalOrder = io.flow.internal.v0.models.InternalOrder;
@@ -20775,6 +20785,7 @@ export declare type ShopifyMarketsPreparerDetails = io.flow.internal.v0.models.S
20775
20785
  export declare type ShopifyMarketsProductLogistics = io.flow.internal.v0.models.ShopifyMarketsProductLogistics;
20776
20786
  export declare type ShopifyMarketsShop = io.flow.internal.v0.models.ShopifyMarketsShop;
20777
20787
  export declare type ShopifyMarketsShopForm = io.flow.internal.v0.models.ShopifyMarketsShopForm;
20788
+ export declare type ShopifyMarketsShopSummary = io.flow.internal.v0.models.ShopifyMarketsShopSummary;
20778
20789
  export declare type ShopifyMarketsSubsidiaryCompany = io.flow.internal.v0.models.ShopifyMarketsSubsidiaryCompany;
20779
20790
  export declare type ShopifyMarketsTradeSector = io.flow.internal.v0.enums.ShopifyMarketsTradeSector;
20780
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,6 +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';
2371
+ type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'shipping_label';
2414
2372
  type UnitOfMeasurement = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'cubic_inch' | 'cubic_meter' | 'gram' | 'kilogram' | 'meter' | 'ounce' | 'pound';
2415
2373
  type UnitOfTime = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute';
2416
2374
  type UpdatePolicy = 'auto' | 'queue' | 'discard';
@@ -3624,6 +3582,21 @@ declare namespace io.flow.v0.models {
3624
3582
  readonly timestamp: string;
3625
3583
  readonly channel: io.flow.channel.internal.v0.models.Channel;
3626
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
+ }
3627
3600
  interface CheckoutAttribute {
3628
3601
  readonly id: string;
3629
3602
  readonly experience: io.flow.v0.models.ExperienceReference;
@@ -5067,6 +5040,14 @@ declare namespace io.flow.v0.models {
5067
5040
  readonly username: string;
5068
5041
  readonly password?: string;
5069
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
+ }
5070
5051
  interface FuelSurchargeRatecardFee {
5071
5052
  readonly discriminator: 'fuel_surcharge_ratecard_fee';
5072
5053
  readonly amount: io.flow.v0.models.Money;
@@ -7695,8 +7676,13 @@ declare namespace io.flow.v0.models {
7695
7676
  readonly payment: io.flow.v0.unions.Payment;
7696
7677
  }
7697
7678
  interface Payout {
7698
- readonly amount: number;
7699
- 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;
7700
7686
  }
7701
7687
  interface PaypalAuthorizationDetails {
7702
7688
  readonly discriminator: 'paypal_authorization_details';
@@ -7750,12 +7736,6 @@ declare namespace io.flow.v0.models {
7750
7736
  readonly behaviors: io.flow.v0.enums.FlowBehavior[];
7751
7737
  readonly routes: io.flow.v0.models.PermittedRoute[];
7752
7738
  }
7753
- interface PermissionError {
7754
- readonly code: io.flow.v0.enums.GenericErrorCode;
7755
- readonly messages: string[];
7756
- readonly granting_roles?: io.flow.v0.enums.FlowRole[];
7757
- readonly admin_users?: io.flow.v0.models.User[];
7758
- }
7759
7739
  interface PermittedRoute {
7760
7740
  readonly method: io.flow.v0.enums.PermittedHttpMethod;
7761
7741
  readonly path: string;
@@ -9287,6 +9267,7 @@ declare namespace io.flow.v0.models {
9287
9267
  readonly id: string;
9288
9268
  }
9289
9269
  interface ShopifyMerchantApplication {
9270
+ readonly discriminator: 'shopify_merchant_application';
9290
9271
  readonly id: string;
9291
9272
  readonly company?: io.flow.v0.models.MerchantInfo;
9292
9273
  readonly indirect_tax_number?: string;
@@ -9311,6 +9292,7 @@ declare namespace io.flow.v0.models {
9311
9292
  readonly created_at: string;
9312
9293
  }
9313
9294
  interface ShopifyMerchantApplicationForm {
9295
+ readonly discriminator: 'shopify_merchant_application_form';
9314
9296
  readonly company?: io.flow.v0.models.MerchantInfo;
9315
9297
  readonly indirect_tax_number?: string;
9316
9298
  readonly parent_company?: io.flow.v0.models.MerchantInfo;
@@ -9441,13 +9423,9 @@ declare namespace io.flow.v0.models {
9441
9423
  interface Statement {
9442
9424
  readonly id: string;
9443
9425
  readonly account: io.flow.v0.models.AccountReference;
9444
- readonly payout: io.flow.v0.models.StatementPayout;
9426
+ readonly payouts: io.flow.v0.models.Payout[];
9445
9427
  readonly attachments: io.flow.v0.models.Attachment[];
9446
9428
  }
9447
- interface StatementPayout {
9448
- readonly status: io.flow.v0.enums.PayoutStatus;
9449
- readonly payout?: io.flow.v0.models.Payout;
9450
- }
9451
9429
  interface StreetAddress {
9452
9430
  readonly streets?: string[];
9453
9431
  readonly city?: string;
@@ -10018,37 +9996,18 @@ declare namespace io.flow.v0.models {
10018
9996
  }
10019
9997
  interface Transaction {
10020
9998
  readonly id: string;
9999
+ readonly shopify_transaction_id: string;
10021
10000
  readonly order: io.flow.v0.models.BillingChannelOrderReference;
10022
10001
  readonly statement?: io.flow.v0.models.BillingChannelStatementReference;
10023
10002
  readonly payment_request?: io.flow.v0.models.BillingChannelPaymentRequestReference;
10024
10003
  readonly currency: string;
10025
- readonly source: io.flow.v0.unions.TransactionSource;
10004
+ readonly source: io.flow.v0.enums.TransactionSource;
10026
10005
  readonly gross: number;
10027
10006
  readonly fees: io.flow.v0.models.Deduction[];
10028
10007
  readonly withholdings: io.flow.v0.models.Deduction[];
10029
10008
  readonly net: number;
10030
10009
  readonly created_at: string;
10031
10010
  }
10032
- interface TransactionSourceAdjustment {
10033
- readonly discriminator: 'transaction_source_adjustment';
10034
- readonly id: string;
10035
- }
10036
- interface TransactionSourceCapture {
10037
- readonly discriminator: 'transaction_source_capture';
10038
- readonly id: string;
10039
- }
10040
- interface TransactionSourceDispute {
10041
- readonly discriminator: 'transaction_source_dispute';
10042
- readonly id: string;
10043
- }
10044
- interface TransactionSourceRefund {
10045
- readonly discriminator: 'transaction_source_refund';
10046
- readonly id: string;
10047
- }
10048
- interface TransactionSourceShippingLabel {
10049
- readonly discriminator: 'transaction_source_shipping_label';
10050
- readonly id: string;
10051
- }
10052
10011
  interface TransitEstimate {
10053
10012
  readonly origin: io.flow.v0.enums.DeliveryWindowLocation;
10054
10013
  readonly destination: io.flow.v0.enums.DeliveryWindowLocation;
@@ -10289,6 +10248,8 @@ declare namespace io.flow.v0.unions {
10289
10248
  type InputSpecificationLimitation = io.flow.v0.models.InputSpecificationLimitationMax;
10290
10249
  type InventoryStrategy = io.flow.v0.models.InventoryBackorder | io.flow.v0.models.InventoryStock | io.flow.v0.models.InventoryUnlimited | io.flow.v0.models.InventoryFollowEcommercePlatform;
10291
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;
10292
10253
  type OnlineAuthorizationDetails = io.flow.v0.models.CryptopayAuthorizationDetails | io.flow.v0.models.PaypalAuthorizationDetails | io.flow.v0.models.RedirectAuthorizationDetails | io.flow.v0.models.InlineAuthorizationDetails;
10293
10254
  type OrderInformation = io.flow.v0.models.OrderInformationFlow | io.flow.v0.models.OrderInformationDetails;
10294
10255
  type OrderNumberGenerator = io.flow.v0.models.OrderNumberGeneratorUuid | io.flow.v0.models.OrderNumberGeneratorHexadecimal | io.flow.v0.models.OrderNumberGeneratorPrefixSuffix;
@@ -10326,7 +10287,7 @@ declare namespace io.flow.v0.unions {
10326
10287
  type ReservationError = io.flow.v0.models.NoInventoryReservationError | io.flow.v0.models.ExternalApiTimeoutReservationError | io.flow.v0.models.GenericReservationError;
10327
10288
  type ReturnSource = io.flow.v0.models.ReturnSourceFlow | io.flow.v0.models.ReturnSourceExternalVendor;
10328
10289
  type SdkAdyenV3AuthenticationToken = io.flow.v0.models.AdyenV3FingerprintToken | io.flow.v0.models.AdyenV3ChallengeToken;
10329
- 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;
10330
10291
  type Session = io.flow.v0.models.OrganizationSession;
10331
10292
  type SessionAuthorization = io.flow.v0.models.OrganizationSessionAuthorization;
10332
10293
  type ShippingLabelForm = io.flow.v0.models.DetailedShippingLabelForm | io.flow.v0.models.SummaryShippingLabelForm;
@@ -10341,7 +10302,6 @@ declare namespace io.flow.v0.unions {
10341
10302
  type TierRuleOutcomeForm = io.flow.v0.models.AmountMarginForm | io.flow.v0.models.FlatRateForm | io.flow.v0.models.AtCost | io.flow.v0.models.PercentMargin;
10342
10303
  type Token = io.flow.v0.models.ChannelToken | io.flow.v0.models.OrganizationToken | io.flow.v0.models.OrganizationTokenV2 | io.flow.v0.models.PartnerToken;
10343
10304
  type TokenReference = io.flow.v0.models.ChannelTokenReference | io.flow.v0.models.OrganizationTokenReference | io.flow.v0.models.OrganizationTokenV2Reference | io.flow.v0.models.PartnerTokenReference;
10344
- type TransactionSource = io.flow.v0.models.TransactionSourceCapture | io.flow.v0.models.TransactionSourceRefund | io.flow.v0.models.TransactionSourceDispute | io.flow.v0.models.TransactionSourceAdjustment | io.flow.v0.models.TransactionSourceShippingLabel;
10345
10305
  }
10346
10306
  export declare type AbandonedOrderEmailSettings = io.flow.v0.models.AbandonedOrderEmailSettings;
10347
10307
  export declare type AbandonedOrderPromotion = io.flow.v0.models.AbandonedOrderPromotion;
@@ -10568,6 +10528,8 @@ export declare type ChannelToken = io.flow.v0.models.ChannelToken;
10568
10528
  export declare type ChannelTokenForm = io.flow.v0.models.ChannelTokenForm;
10569
10529
  export declare type ChannelTokenReference = io.flow.v0.models.ChannelTokenReference;
10570
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;
10571
10533
  export declare type CheckoutAttribute = io.flow.v0.models.CheckoutAttribute;
10572
10534
  export declare type CheckoutAttributeForm = io.flow.v0.models.CheckoutAttributeForm;
10573
10535
  export declare type CheckoutItemContent = io.flow.v0.models.CheckoutItemContent;
@@ -10883,6 +10845,7 @@ export declare type FtpOrganizationSettings = io.flow.v0.models.FtpOrganizationS
10883
10845
  export declare type FtpOrganizationSettingsForm = io.flow.v0.models.FtpOrganizationSettingsForm;
10884
10846
  export declare type FtpServer = io.flow.v0.models.FtpServer;
10885
10847
  export declare type FtpUser = io.flow.v0.models.FtpUser;
10848
+ export declare type FuelSurchargeAmountByWeightServiceFee = io.flow.v0.models.FuelSurchargeAmountByWeightServiceFee;
10886
10849
  export declare type FuelSurchargeRatecardFee = io.flow.v0.models.FuelSurchargeRatecardFee;
10887
10850
  export declare type FuelSurchargeServiceFee = io.flow.v0.models.FuelSurchargeServiceFee;
10888
10851
  export declare type Fulfillment = io.flow.v0.models.Fulfillment;
@@ -11086,6 +11049,8 @@ export declare type MembershipForm = io.flow.v0.models.MembershipForm;
11086
11049
  export declare type MembershipPutForm = io.flow.v0.models.MembershipPutForm;
11087
11050
  export declare type MembershipUpsertedV2 = io.flow.v0.models.MembershipUpsertedV2;
11088
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;
11089
11054
  export declare type MerchantGiftCardBalance = io.flow.v0.models.MerchantGiftCardBalance;
11090
11055
  export declare type MerchantGiftCardBalanceForm = io.flow.v0.models.MerchantGiftCardBalanceForm;
11091
11056
  export declare type MerchantGiftCardError = io.flow.v0.models.MerchantGiftCardError;
@@ -11401,7 +11366,8 @@ export declare type PaymentType = io.flow.v0.enums.PaymentType;
11401
11366
  export declare type PaymentUpserted = io.flow.v0.models.PaymentUpserted;
11402
11367
  export declare type PaymentVersion = io.flow.v0.models.PaymentVersion;
11403
11368
  export declare type Payout = io.flow.v0.models.Payout;
11404
- 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;
11405
11371
  export declare type PaypalAuthorizationDetails = io.flow.v0.models.PaypalAuthorizationDetails;
11406
11372
  export declare type PaypalAuthorizationForm = io.flow.v0.models.PaypalAuthorizationForm;
11407
11373
  export declare type PeakSurchargeByWeightServiceFee = io.flow.v0.models.PeakSurchargeByWeightServiceFee;
@@ -11410,7 +11376,6 @@ export declare type PeakSurchargeServiceFee = io.flow.v0.models.PeakSurchargeSer
11410
11376
  export declare type PercentMargin = io.flow.v0.models.PercentMargin;
11411
11377
  export declare type PermissionAudit = io.flow.v0.models.PermissionAudit;
11412
11378
  export declare type PermissionCheck = io.flow.v0.models.PermissionCheck;
11413
- export declare type PermissionError = io.flow.v0.models.PermissionError;
11414
11379
  export declare type PermittedHttpMethod = io.flow.v0.enums.PermittedHttpMethod;
11415
11380
  export declare type PermittedRoute = io.flow.v0.models.PermittedRoute;
11416
11381
  export declare type PfsInventoryCheckResponse = io.flow.v0.models.PfsInventoryCheckResponse;
@@ -11725,7 +11690,6 @@ export declare type SolidusProductExportType = io.flow.v0.models.SolidusProductE
11725
11690
  export declare type SolidusVariantExportType = io.flow.v0.models.SolidusVariantExportType;
11726
11691
  export declare type SortDirection = io.flow.v0.enums.SortDirection;
11727
11692
  export declare type Statement = io.flow.v0.models.Statement;
11728
- export declare type StatementPayout = io.flow.v0.models.StatementPayout;
11729
11693
  export declare type Strategy = io.flow.v0.enums.Strategy;
11730
11694
  export declare type StreetAddress = io.flow.v0.models.StreetAddress;
11731
11695
  export declare type StripeAuthenticationData = io.flow.v0.models.StripeAuthenticationData;
@@ -11847,12 +11811,7 @@ export declare type TradeAgreementDuty = io.flow.v0.models.TradeAgreementDuty;
11847
11811
  export declare type TradeAgreementName = io.flow.v0.enums.TradeAgreementName;
11848
11812
  export declare type TradeAgreementStatus = io.flow.v0.enums.TradeAgreementStatus;
11849
11813
  export declare type Transaction = io.flow.v0.models.Transaction;
11850
- export declare type TransactionSource = io.flow.v0.unions.TransactionSource;
11851
- export declare type TransactionSourceAdjustment = io.flow.v0.models.TransactionSourceAdjustment;
11852
- export declare type TransactionSourceCapture = io.flow.v0.models.TransactionSourceCapture;
11853
- export declare type TransactionSourceDispute = io.flow.v0.models.TransactionSourceDispute;
11854
- export declare type TransactionSourceRefund = io.flow.v0.models.TransactionSourceRefund;
11855
- export declare type TransactionSourceShippingLabel = io.flow.v0.models.TransactionSourceShippingLabel;
11814
+ export declare type TransactionSource = io.flow.v0.enums.TransactionSource;
11856
11815
  export declare type TransitEstimate = io.flow.v0.models.TransitEstimate;
11857
11816
  export declare type TransitWindow = io.flow.v0.models.TransitWindow;
11858
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.3",
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": "f902f05cda2ea4fb6a86396488a060cf91595a89"
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;
@@ -22951,6 +22957,10 @@ declare namespace io.flow.internal.v0.models {
22951
22957
  readonly access_token?: string;
22952
22958
  }
22953
22959
 
22960
+ interface ShopifyMarketsShopSummary {
22961
+ readonly organization: io.flow.common.v0.models.OrganizationSummary;
22962
+ }
22963
+
22954
22964
  interface ShopifyMarketsSubsidiaryCompany {
22955
22965
  readonly legal_name?: string;
22956
22966
  readonly incorporation_country?: io.flow.internal.v0.models.ShopifyMarketsIncorporationCountry;
@@ -24856,6 +24866,9 @@ declare namespace io.flow.internal.v0.unions {
24856
24866
  io.flow.internal.v0.models.FraudProviderConfigurationRiskified;
24857
24867
  type FraudProviderConfigurationForm =
24858
24868
  io.flow.internal.v0.models.FraudProviderConfigurationFormRiskified;
24869
+ type FuelSurchargeServiceFeePutForm =
24870
+ | io.flow.internal.v0.models.FuelSurchargeServiceFeePercentPutForm
24871
+ | io.flow.internal.v0.models.FuelSurchargeServiceFeeAmountByWeightPutForm;
24859
24872
  type GlobalSearchResult =
24860
24873
  | io.flow.internal.v0.models.SearchExperienceSummary
24861
24874
  | io.flow.internal.v0.models.SearchExperimentSummary
@@ -26946,8 +26959,12 @@ export type FtpSetting = io.flow.internal.v0.models.FtpSetting;
26946
26959
  export type FtpSettingForm = io.flow.internal.v0.models.FtpSettingForm;
26947
26960
  export type FtpSettingVersion = io.flow.internal.v0.models.FtpSettingVersion;
26948
26961
  export type FtpSettingsPaths = io.flow.internal.v0.models.FtpSettingsPaths;
26949
- export type FuelSurchargeRatecardFeePercentPutForm =
26950
- 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;
26951
26968
  export type FulfillmentActionForm =
26952
26969
  io.flow.internal.v0.models.FulfillmentActionForm;
26953
26970
  export type FulfillmentCancel = io.flow.internal.v0.models.FulfillmentCancel;
@@ -27135,8 +27152,6 @@ export type InternalExclusionRuleForm =
27135
27152
  io.flow.internal.v0.models.InternalExclusionRuleForm;
27136
27153
  export type InternalFiservAuthorizationDetails =
27137
27154
  io.flow.internal.v0.models.InternalFiservAuthorizationDetails;
27138
- export type InternalFuelSurchargeRatecardFee =
27139
- io.flow.internal.v0.models.InternalFuelSurchargeRatecardFee;
27140
27155
  export type InternalHarmonizationStatistic =
27141
27156
  io.flow.internal.v0.unions.InternalHarmonizationStatistic;
27142
27157
  export type InternalItemForm = io.flow.internal.v0.models.InternalItemForm;
@@ -27930,6 +27945,8 @@ export type ShopifyMarketsProductLogistics =
27930
27945
  export type ShopifyMarketsShop = io.flow.internal.v0.models.ShopifyMarketsShop;
27931
27946
  export type ShopifyMarketsShopForm =
27932
27947
  io.flow.internal.v0.models.ShopifyMarketsShopForm;
27948
+ export type ShopifyMarketsShopSummary =
27949
+ io.flow.internal.v0.models.ShopifyMarketsShopSummary;
27933
27950
  export type ShopifyMarketsSubsidiaryCompany =
27934
27951
  io.flow.internal.v0.models.ShopifyMarketsSubsidiaryCompany;
27935
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,6 +3663,12 @@ 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';
3666
+ type TransactionSource =
3667
+ | 'capture'
3668
+ | 'refund'
3669
+ | 'dispute'
3670
+ | 'adjustment'
3671
+ | 'shipping_label';
3726
3672
  type UnitOfMeasurement =
3727
3673
  | 'millimeter'
3728
3674
  | 'centimeter'
@@ -5143,6 +5089,23 @@ declare namespace io.flow.v0.models {
5143
5089
  readonly channel: io.flow.channel.internal.v0.models.Channel;
5144
5090
  }
5145
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
+
5146
5109
  interface CheckoutAttribute {
5147
5110
  readonly id: string;
5148
5111
  readonly experience: io.flow.v0.models.ExperienceReference;
@@ -6834,6 +6797,15 @@ declare namespace io.flow.v0.models {
6834
6797
  readonly password?: string;
6835
6798
  }
6836
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
+
6837
6809
  interface FuelSurchargeRatecardFee {
6838
6810
  readonly discriminator: 'fuel_surcharge_ratecard_fee';
6839
6811
  readonly amount: io.flow.v0.models.Money;
@@ -9902,8 +9874,14 @@ declare namespace io.flow.v0.models {
9902
9874
  }
9903
9875
 
9904
9876
  interface Payout {
9905
- readonly amount: number;
9906
- 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;
9907
9885
  }
9908
9886
 
9909
9887
  interface PaypalAuthorizationDetails {
@@ -9966,13 +9944,6 @@ declare namespace io.flow.v0.models {
9966
9944
  readonly routes: io.flow.v0.models.PermittedRoute[];
9967
9945
  }
9968
9946
 
9969
- interface PermissionError {
9970
- readonly code: io.flow.v0.enums.GenericErrorCode;
9971
- readonly messages: string[];
9972
- readonly granting_roles?: io.flow.v0.enums.FlowRole[];
9973
- readonly admin_users?: io.flow.v0.models.User[];
9974
- }
9975
-
9976
9947
  interface PermittedRoute {
9977
9948
  readonly method: io.flow.v0.enums.PermittedHttpMethod;
9978
9949
  readonly path: string;
@@ -11750,6 +11721,7 @@ declare namespace io.flow.v0.models {
11750
11721
  }
11751
11722
 
11752
11723
  interface ShopifyMerchantApplication {
11724
+ readonly discriminator: 'shopify_merchant_application';
11753
11725
  readonly id: string;
11754
11726
  readonly company?: io.flow.v0.models.MerchantInfo;
11755
11727
  readonly indirect_tax_number?: string;
@@ -11775,6 +11747,7 @@ declare namespace io.flow.v0.models {
11775
11747
  }
11776
11748
 
11777
11749
  interface ShopifyMerchantApplicationForm {
11750
+ readonly discriminator: 'shopify_merchant_application_form';
11778
11751
  readonly company?: io.flow.v0.models.MerchantInfo;
11779
11752
  readonly indirect_tax_number?: string;
11780
11753
  readonly parent_company?: io.flow.v0.models.MerchantInfo;
@@ -11923,15 +11896,10 @@ declare namespace io.flow.v0.models {
11923
11896
  interface Statement {
11924
11897
  readonly id: string;
11925
11898
  readonly account: io.flow.v0.models.AccountReference;
11926
- readonly payout: io.flow.v0.models.StatementPayout;
11899
+ readonly payouts: io.flow.v0.models.Payout[];
11927
11900
  readonly attachments: io.flow.v0.models.Attachment[];
11928
11901
  }
11929
11902
 
11930
- interface StatementPayout {
11931
- readonly status: io.flow.v0.enums.PayoutStatus;
11932
- readonly payout?: io.flow.v0.models.Payout;
11933
- }
11934
-
11935
11903
  interface StreetAddress {
11936
11904
  readonly streets?: string[];
11937
11905
  readonly city?: string;
@@ -12592,11 +12560,12 @@ declare namespace io.flow.v0.models {
12592
12560
 
12593
12561
  interface Transaction {
12594
12562
  readonly id: string;
12563
+ readonly shopify_transaction_id: string;
12595
12564
  readonly order: io.flow.v0.models.BillingChannelOrderReference;
12596
12565
  readonly statement?: io.flow.v0.models.BillingChannelStatementReference;
12597
12566
  readonly payment_request?: io.flow.v0.models.BillingChannelPaymentRequestReference;
12598
12567
  readonly currency: string;
12599
- readonly source: io.flow.v0.unions.TransactionSource;
12568
+ readonly source: io.flow.v0.enums.TransactionSource;
12600
12569
  readonly gross: number;
12601
12570
  readonly fees: io.flow.v0.models.Deduction[];
12602
12571
  readonly withholdings: io.flow.v0.models.Deduction[];
@@ -12604,31 +12573,6 @@ declare namespace io.flow.v0.models {
12604
12573
  readonly created_at: string;
12605
12574
  }
12606
12575
 
12607
- interface TransactionSourceAdjustment {
12608
- readonly discriminator: 'transaction_source_adjustment';
12609
- readonly id: string;
12610
- }
12611
-
12612
- interface TransactionSourceCapture {
12613
- readonly discriminator: 'transaction_source_capture';
12614
- readonly id: string;
12615
- }
12616
-
12617
- interface TransactionSourceDispute {
12618
- readonly discriminator: 'transaction_source_dispute';
12619
- readonly id: string;
12620
- }
12621
-
12622
- interface TransactionSourceRefund {
12623
- readonly discriminator: 'transaction_source_refund';
12624
- readonly id: string;
12625
- }
12626
-
12627
- interface TransactionSourceShippingLabel {
12628
- readonly discriminator: 'transaction_source_shipping_label';
12629
- readonly id: string;
12630
- }
12631
-
12632
12576
  interface TransitEstimate {
12633
12577
  readonly origin: io.flow.v0.enums.DeliveryWindowLocation;
12634
12578
  readonly destination: io.flow.v0.enums.DeliveryWindowLocation;
@@ -13195,6 +13139,9 @@ declare namespace io.flow.v0.unions {
13195
13139
  | io.flow.v0.models.LocalizedItemVat
13196
13140
  | io.flow.v0.models.LocalizedItemDuty
13197
13141
  | io.flow.v0.models.LocalizedTotal;
13142
+ type MerchantApplication = io.flow.v0.models.ShopifyMerchantApplication;
13143
+ type MerchantApplicationForm =
13144
+ io.flow.v0.models.ShopifyMerchantApplicationForm;
13198
13145
  type OnlineAuthorizationDetails =
13199
13146
  | io.flow.v0.models.CryptopayAuthorizationDetails
13200
13147
  | io.flow.v0.models.PaypalAuthorizationDetails
@@ -13326,6 +13273,7 @@ declare namespace io.flow.v0.unions {
13326
13273
  | io.flow.v0.models.AdyenV3ChallengeToken;
13327
13274
  type ServiceFee =
13328
13275
  | io.flow.v0.models.FuelSurchargeServiceFee
13276
+ | io.flow.v0.models.FuelSurchargeAmountByWeightServiceFee
13329
13277
  | io.flow.v0.models.RemoteAreaServiceFee
13330
13278
  | io.flow.v0.models.EmergencySituationSurchargeServiceFee
13331
13279
  | io.flow.v0.models.PeakSurchargeServiceFee
@@ -13371,12 +13319,6 @@ declare namespace io.flow.v0.unions {
13371
13319
  | io.flow.v0.models.OrganizationTokenReference
13372
13320
  | io.flow.v0.models.OrganizationTokenV2Reference
13373
13321
  | io.flow.v0.models.PartnerTokenReference;
13374
- type TransactionSource =
13375
- | io.flow.v0.models.TransactionSourceCapture
13376
- | io.flow.v0.models.TransactionSourceRefund
13377
- | io.flow.v0.models.TransactionSourceDispute
13378
- | io.flow.v0.models.TransactionSourceAdjustment
13379
- | io.flow.v0.models.TransactionSourceShippingLabel;
13380
13322
  }
13381
13323
 
13382
13324
  export type AbandonedOrderEmailSettings =
@@ -13670,6 +13612,9 @@ export type ChannelToken = io.flow.v0.models.ChannelToken;
13670
13612
  export type ChannelTokenForm = io.flow.v0.models.ChannelTokenForm;
13671
13613
  export type ChannelTokenReference = io.flow.v0.models.ChannelTokenReference;
13672
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;
13673
13618
  export type CheckoutAttribute = io.flow.v0.models.CheckoutAttribute;
13674
13619
  export type CheckoutAttributeForm = io.flow.v0.models.CheckoutAttributeForm;
13675
13620
  export type CheckoutItemContent = io.flow.v0.models.CheckoutItemContent;
@@ -14074,6 +14019,8 @@ export type FtpOrganizationSettingsForm =
14074
14019
  io.flow.v0.models.FtpOrganizationSettingsForm;
14075
14020
  export type FtpServer = io.flow.v0.models.FtpServer;
14076
14021
  export type FtpUser = io.flow.v0.models.FtpUser;
14022
+ export type FuelSurchargeAmountByWeightServiceFee =
14023
+ io.flow.v0.models.FuelSurchargeAmountByWeightServiceFee;
14077
14024
  export type FuelSurchargeRatecardFee =
14078
14025
  io.flow.v0.models.FuelSurchargeRatecardFee;
14079
14026
  export type FuelSurchargeServiceFee = io.flow.v0.models.FuelSurchargeServiceFee;
@@ -14313,6 +14260,8 @@ export type MembershipForm = io.flow.v0.models.MembershipForm;
14313
14260
  export type MembershipPutForm = io.flow.v0.models.MembershipPutForm;
14314
14261
  export type MembershipUpsertedV2 = io.flow.v0.models.MembershipUpsertedV2;
14315
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;
14316
14265
  export type MerchantGiftCardBalance = io.flow.v0.models.MerchantGiftCardBalance;
14317
14266
  export type MerchantGiftCardBalanceForm =
14318
14267
  io.flow.v0.models.MerchantGiftCardBalanceForm;
@@ -14740,7 +14689,8 @@ export type PaymentType = io.flow.v0.enums.PaymentType;
14740
14689
  export type PaymentUpserted = io.flow.v0.models.PaymentUpserted;
14741
14690
  export type PaymentVersion = io.flow.v0.models.PaymentVersion;
14742
14691
  export type Payout = io.flow.v0.models.Payout;
14743
- 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;
14744
14694
  export type PaypalAuthorizationDetails =
14745
14695
  io.flow.v0.models.PaypalAuthorizationDetails;
14746
14696
  export type PaypalAuthorizationForm = io.flow.v0.models.PaypalAuthorizationForm;
@@ -14752,7 +14702,6 @@ export type PeakSurchargeServiceFee = io.flow.v0.models.PeakSurchargeServiceFee;
14752
14702
  export type PercentMargin = io.flow.v0.models.PercentMargin;
14753
14703
  export type PermissionAudit = io.flow.v0.models.PermissionAudit;
14754
14704
  export type PermissionCheck = io.flow.v0.models.PermissionCheck;
14755
- export type PermissionError = io.flow.v0.models.PermissionError;
14756
14705
  export type PermittedHttpMethod = io.flow.v0.enums.PermittedHttpMethod;
14757
14706
  export type PermittedRoute = io.flow.v0.models.PermittedRoute;
14758
14707
  export type PfsInventoryCheckResponse =
@@ -15139,7 +15088,6 @@ export type SolidusVariantExportType =
15139
15088
  io.flow.v0.models.SolidusVariantExportType;
15140
15089
  export type SortDirection = io.flow.v0.enums.SortDirection;
15141
15090
  export type Statement = io.flow.v0.models.Statement;
15142
- export type StatementPayout = io.flow.v0.models.StatementPayout;
15143
15091
  export type Strategy = io.flow.v0.enums.Strategy;
15144
15092
  export type StreetAddress = io.flow.v0.models.StreetAddress;
15145
15093
  export type StripeAuthenticationData =
@@ -15281,16 +15229,7 @@ export type TradeAgreementDuty = io.flow.v0.models.TradeAgreementDuty;
15281
15229
  export type TradeAgreementName = io.flow.v0.enums.TradeAgreementName;
15282
15230
  export type TradeAgreementStatus = io.flow.v0.enums.TradeAgreementStatus;
15283
15231
  export type Transaction = io.flow.v0.models.Transaction;
15284
- export type TransactionSource = io.flow.v0.unions.TransactionSource;
15285
- export type TransactionSourceAdjustment =
15286
- io.flow.v0.models.TransactionSourceAdjustment;
15287
- export type TransactionSourceCapture =
15288
- io.flow.v0.models.TransactionSourceCapture;
15289
- export type TransactionSourceDispute =
15290
- io.flow.v0.models.TransactionSourceDispute;
15291
- export type TransactionSourceRefund = io.flow.v0.models.TransactionSourceRefund;
15292
- export type TransactionSourceShippingLabel =
15293
- io.flow.v0.models.TransactionSourceShippingLabel;
15232
+ export type TransactionSource = io.flow.v0.enums.TransactionSource;
15294
15233
  export type TransitEstimate = io.flow.v0.models.TransitEstimate;
15295
15234
  export type TransitWindow = io.flow.v0.models.TransitWindow;
15296
15235
  export type UnharmonizedItemExportType =