@flowio/types 11.5.0 → 11.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1241,6 +1241,7 @@ declare namespace io.flow.checkout.protocol.v0.enums {
1241
1241
  type CheckoutInfoContentKeyField = 'locale';
1242
1242
  type CheckoutInfoDeliveriesFormDataKeyField = 'country' | 'lines';
1243
1243
  type CheckoutInfoOrderSummaryKeyField = 'shipping_country' | 'shipping_province' | 'shipping_postal' | 'delivery_option_id';
1244
+ type CheckoutInfoPaymentAuthorizationParametersKeyField = 'value' | 'currency';
1244
1245
  type CheckoutInfoPaymentDetailsKeyField = 'value' | 'currency' | 'payment_method_id';
1245
1246
  type CheckoutSetAddressCityErrorCode = 'address_city_invalid' | 'address_city_required';
1246
1247
  type CheckoutSetAddressCountryErrorCode = 'address_country_invalid' | 'address_country_required' | 'country_not_supported';
@@ -1445,6 +1446,15 @@ declare namespace io.flow.checkout.protocol.v0.models {
1445
1446
  readonly field: io.flow.checkout.protocol.v0.enums.CheckoutInfoOrderSummaryKeyField;
1446
1447
  readonly value: string;
1447
1448
  }
1449
+ interface CheckoutInfoPaymentAuthorizationParameters {
1450
+ readonly discriminator: 'checkout_info_payment_authorization_parameters';
1451
+ readonly key: io.flow.checkout.protocol.v0.models.CheckoutInfoPaymentAuthorizationParametersKey[];
1452
+ readonly data: io.flow.payment.internal.v0.models.AuthorizationParameters[];
1453
+ }
1454
+ interface CheckoutInfoPaymentAuthorizationParametersKey {
1455
+ readonly field: io.flow.checkout.protocol.v0.enums.CheckoutInfoPaymentAuthorizationParametersKeyField;
1456
+ readonly value: string;
1457
+ }
1448
1458
  interface CheckoutInfoPaymentDetails {
1449
1459
  readonly discriminator: 'checkout_info_payment_details';
1450
1460
  readonly key: io.flow.checkout.protocol.v0.models.CheckoutInfoPaymentDetailsKey[];
@@ -1878,7 +1888,7 @@ declare namespace io.flow.checkout.protocol.v0.unions {
1878
1888
  type CheckoutCreateBySessionResponse = io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionResponseError | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionResponseSuccess;
1879
1889
  type CheckoutFeaturesResponse = io.flow.checkout.protocol.v0.models.CheckoutFeaturesResponseError | io.flow.checkout.protocol.v0.models.CheckoutFeaturesResponseSuccess;
1880
1890
  type CheckoutGetResponse = io.flow.checkout.protocol.v0.models.CheckoutGetResponseError | io.flow.checkout.protocol.v0.models.CheckoutGetResponseSuccess;
1881
- type CheckoutInfo = io.flow.checkout.protocol.v0.models.CheckoutInfoAddressConfigurationFormData | io.flow.checkout.protocol.v0.models.CheckoutInfoAddressPredictions | io.flow.checkout.protocol.v0.models.CheckoutInfoAnalyticsOrder | io.flow.checkout.protocol.v0.models.CheckoutInfoAnalyticsSession | io.flow.checkout.protocol.v0.models.CheckoutInfoContent | io.flow.checkout.protocol.v0.models.CheckoutInfoCountriesFormData | io.flow.checkout.protocol.v0.models.CheckoutInfoDeliveriesFormData | io.flow.checkout.protocol.v0.models.CheckoutInfoHostedConfirmationPage | io.flow.checkout.protocol.v0.models.CheckoutInfoMustUseOrder | io.flow.checkout.protocol.v0.models.CheckoutInfoOptins | io.flow.checkout.protocol.v0.models.CheckoutInfoOrderSummary | io.flow.checkout.protocol.v0.models.CheckoutInfoPaymentDetails | io.flow.checkout.protocol.v0.models.CheckoutInfoPaymentsFormData | io.flow.checkout.protocol.v0.models.CheckoutInfoPublicKey;
1891
+ type CheckoutInfo = io.flow.checkout.protocol.v0.models.CheckoutInfoAddressConfigurationFormData | io.flow.checkout.protocol.v0.models.CheckoutInfoAddressPredictions | io.flow.checkout.protocol.v0.models.CheckoutInfoAnalyticsOrder | io.flow.checkout.protocol.v0.models.CheckoutInfoAnalyticsSession | io.flow.checkout.protocol.v0.models.CheckoutInfoContent | io.flow.checkout.protocol.v0.models.CheckoutInfoCountriesFormData | io.flow.checkout.protocol.v0.models.CheckoutInfoDeliveriesFormData | io.flow.checkout.protocol.v0.models.CheckoutInfoHostedConfirmationPage | io.flow.checkout.protocol.v0.models.CheckoutInfoMustUseOrder | io.flow.checkout.protocol.v0.models.CheckoutInfoOptins | io.flow.checkout.protocol.v0.models.CheckoutInfoOrderSummary | io.flow.checkout.protocol.v0.models.CheckoutInfoPaymentAuthorizationParameters | io.flow.checkout.protocol.v0.models.CheckoutInfoPaymentDetails | io.flow.checkout.protocol.v0.models.CheckoutInfoPaymentsFormData | io.flow.checkout.protocol.v0.models.CheckoutInfoPublicKey;
1882
1892
  type CheckoutInput = io.flow.checkout.protocol.v0.models.CheckoutInputAddAttributes | io.flow.checkout.protocol.v0.models.CheckoutInputDeleteAddressStreet | io.flow.checkout.protocol.v0.models.CheckoutInputSetAddressCity | io.flow.checkout.protocol.v0.models.CheckoutInputSetAddressCountry | io.flow.checkout.protocol.v0.models.CheckoutInputSetAddressName | io.flow.checkout.protocol.v0.models.CheckoutInputSetAddressPostal | io.flow.checkout.protocol.v0.models.CheckoutInputSetAddressProvince | io.flow.checkout.protocol.v0.models.CheckoutInputSetAddressStreet | io.flow.checkout.protocol.v0.models.CheckoutInputSetAttributes | io.flow.checkout.protocol.v0.models.CheckoutInputSetContactEmail | io.flow.checkout.protocol.v0.models.CheckoutInputSetContactPhone | io.flow.checkout.protocol.v0.models.CheckoutInputSetCurrency | io.flow.checkout.protocol.v0.models.CheckoutInputSetDeliveryOption | io.flow.checkout.protocol.v0.models.CheckoutInputSetLanguage | io.flow.checkout.protocol.v0.models.CheckoutInputSetLocale | io.flow.checkout.protocol.v0.models.CheckoutInputSetOptinPrompt;
1883
1893
  type CheckoutRequestForm = io.flow.checkout.protocol.v0.models.CheckoutCreateAuthorizationDetailsRequestForm | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionRequestForm | io.flow.checkout.protocol.v0.models.CheckoutFeaturesRequestForm | io.flow.checkout.protocol.v0.models.CheckoutGetRequestForm;
1884
1894
  type CheckoutResponse = io.flow.checkout.protocol.v0.models.CheckoutCreateAuthorizationDetailsResponseError | io.flow.checkout.protocol.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionResponseError | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionResponseSuccess | io.flow.checkout.protocol.v0.models.CheckoutFeaturesResponseError | io.flow.checkout.protocol.v0.models.CheckoutFeaturesResponseSuccess | io.flow.checkout.protocol.v0.models.CheckoutGetResponseError | io.flow.checkout.protocol.v0.models.CheckoutGetResponseSuccess;
@@ -3125,6 +3135,8 @@ declare namespace io.flow.label.v0.models {
3125
3135
  readonly order_identifier?: string;
3126
3136
  readonly fulfillment_key?: string;
3127
3137
  readonly shipment_recipient: io.flow.label.v0.enums.ShipmentRecipient;
3138
+ readonly created_at?: string;
3139
+ readonly updated_at?: string;
3128
3140
  }
3129
3141
  interface ShippingLabelDocument {
3130
3142
  readonly zpl?: string;
@@ -9101,6 +9113,34 @@ declare namespace io.flow.billing.internal.v0.models {
9101
9113
  readonly transaction: io.flow.billing.internal.v0.models.TransactionReference;
9102
9114
  readonly statement: io.flow.billing.v0.models.BillingStatementReference;
9103
9115
  }
9116
+ interface PlatformFeeChange {
9117
+ readonly organization_id: string;
9118
+ readonly key: string;
9119
+ readonly platform_fee: io.flow.billing.internal.v0.unions.PlatformFee;
9120
+ readonly starts_at: string;
9121
+ }
9122
+ interface PlatformFeeDisabled {
9123
+ readonly discriminator: 'platform_fee_disabled';
9124
+ readonly attributes?: Record<string, string>;
9125
+ }
9126
+ interface PlatformFeeFlat {
9127
+ readonly discriminator: 'platform_fee_flat';
9128
+ readonly amount: number;
9129
+ readonly currency: string;
9130
+ readonly frequency: string;
9131
+ }
9132
+ interface PlatformFeePause {
9133
+ readonly discriminator: 'platform_fee_pause';
9134
+ readonly attributes?: Record<string, string>;
9135
+ }
9136
+ interface PlatformFeePercentage {
9137
+ readonly discriminator: 'platform_fee_percentage';
9138
+ readonly tiers: io.flow.billing.internal.v0.models.PlatformFeePercentageTier[];
9139
+ }
9140
+ interface PlatformFeePercentageTier {
9141
+ readonly minimum_amount_base: number;
9142
+ readonly rate: number;
9143
+ }
9104
9144
  interface ProcessingTransaction {
9105
9145
  readonly discriminator: 'processing_transaction';
9106
9146
  readonly id: string;
@@ -9182,6 +9222,7 @@ declare namespace io.flow.billing.internal.v0.models {
9182
9222
  }
9183
9223
  }
9184
9224
  declare namespace io.flow.billing.internal.v0.unions {
9225
+ type PlatformFee = io.flow.billing.internal.v0.models.PlatformFeePause | io.flow.billing.internal.v0.models.PlatformFeeFlat | io.flow.billing.internal.v0.models.PlatformFeePercentage | io.flow.billing.internal.v0.models.PlatformFeeDisabled;
9185
9226
  type Transaction = io.flow.billing.internal.v0.models.InvoiceTransaction | io.flow.billing.internal.v0.models.ManualTransaction | io.flow.billing.internal.v0.models.ProcessingTransaction | io.flow.billing.internal.v0.models.SubscriptionTransaction | io.flow.billing.internal.v0.models.TaxRemittanceTransaction | io.flow.billing.internal.v0.models.TransferTransaction | io.flow.billing.internal.v0.models.VirtualCardTransaction;
9186
9227
  }
9187
9228
  declare namespace io.flow.harmonization.internal.v0.enums {
@@ -12617,11 +12658,16 @@ declare namespace io.flow.checkout.configuration.v0.models {
12617
12658
  readonly name?: string;
12618
12659
  readonly tracker_id: string;
12619
12660
  readonly plugins: io.flow.checkout.configuration.v0.enums.GoogleAnalyticsPlugin[];
12661
+ readonly linker?: io.flow.checkout.configuration.v0.models.GoogleLinker;
12620
12662
  }
12621
12663
  interface GoogleGlobalSiteTag {
12622
12664
  readonly discriminator: 'google_global_site_tag';
12623
12665
  readonly name?: string;
12624
12666
  readonly tracker_id: string;
12667
+ readonly linker?: io.flow.checkout.configuration.v0.models.GoogleLinker;
12668
+ }
12669
+ interface GoogleLinker {
12670
+ readonly domains: string[];
12625
12671
  }
12626
12672
  interface GoogleTagManager {
12627
12673
  readonly discriminator: 'google_tag_manager';
@@ -12877,6 +12923,7 @@ declare namespace io.flow.internal.v0.enums {
12877
12923
  type CheckoutInfoContentKeyField = 'locale';
12878
12924
  type CheckoutInfoDeliveriesFormDataKeyField = 'country' | 'lines';
12879
12925
  type CheckoutInfoOrderSummaryKeyField = 'shipping_country' | 'shipping_province' | 'shipping_postal' | 'delivery_option_id';
12926
+ type CheckoutInfoPaymentAuthorizationParametersKeyField = 'value' | 'currency';
12880
12927
  type CheckoutInfoPaymentDetailsKeyField = 'value' | 'currency' | 'payment_method_id';
12881
12928
  type CheckoutPaymentGroupType = 'credit' | 'debit' | 'all_cards';
12882
12929
  type CheckoutPromptBehavior = 'always' | 'incomplete';
@@ -14406,6 +14453,15 @@ declare namespace io.flow.internal.v0.models {
14406
14453
  readonly field: io.flow.internal.v0.enums.CheckoutInfoOrderSummaryKeyField;
14407
14454
  readonly value: string;
14408
14455
  }
14456
+ interface CheckoutInfoPaymentAuthorizationParameters {
14457
+ readonly discriminator: 'checkout_info_payment_authorization_parameters';
14458
+ readonly key: io.flow.internal.v0.models.CheckoutInfoPaymentAuthorizationParametersKey[];
14459
+ readonly data: io.flow.payment.internal.v0.models.AuthorizationParameters[];
14460
+ }
14461
+ interface CheckoutInfoPaymentAuthorizationParametersKey {
14462
+ readonly field: io.flow.internal.v0.enums.CheckoutInfoPaymentAuthorizationParametersKeyField;
14463
+ readonly value: string;
14464
+ }
14409
14465
  interface CheckoutInfoPaymentDetails {
14410
14466
  readonly discriminator: 'checkout_info_payment_details';
14411
14467
  readonly key: io.flow.internal.v0.models.CheckoutInfoPaymentDetailsKey[];
@@ -16347,11 +16403,16 @@ declare namespace io.flow.internal.v0.models {
16347
16403
  readonly name?: string;
16348
16404
  readonly tracker_id: string;
16349
16405
  readonly plugins: io.flow.internal.v0.enums.GoogleAnalyticsPlugin[];
16406
+ readonly linker?: io.flow.internal.v0.models.GoogleLinker;
16350
16407
  }
16351
16408
  interface GoogleGlobalSiteTag {
16352
16409
  readonly discriminator: 'google_global_site_tag';
16353
16410
  readonly name?: string;
16354
16411
  readonly tracker_id: string;
16412
+ readonly linker?: io.flow.internal.v0.models.GoogleLinker;
16413
+ }
16414
+ interface GoogleLinker {
16415
+ readonly domains: string[];
16355
16416
  }
16356
16417
  interface GoogleShoppingAccountParameters {
16357
16418
  readonly website_url: string;
@@ -17839,6 +17900,29 @@ declare namespace io.flow.internal.v0.models {
17839
17900
  readonly organization: string;
17840
17901
  readonly master_transaction: io.flow.billing.internal.v0.models.MasterTransaction;
17841
17902
  }
17903
+ interface MerchantOfRecordEntitySettings {
17904
+ readonly id: string;
17905
+ readonly merchant_of_record_entity: io.flow.common.v0.models.MerchantOfRecordEntity;
17906
+ readonly starts_at: string;
17907
+ readonly ends_at?: string;
17908
+ readonly center?: string;
17909
+ readonly currency?: string;
17910
+ }
17911
+ interface MerchantOfRecordEntitySettingsForm {
17912
+ readonly name: string;
17913
+ readonly vat: io.flow.common.v0.models.MerchantOfRecordEntityRegistration;
17914
+ readonly streets: string[];
17915
+ readonly city: string;
17916
+ readonly province?: string;
17917
+ readonly postal?: string;
17918
+ readonly country: string;
17919
+ readonly phone?: string;
17920
+ readonly email?: string;
17921
+ readonly starts_at: string;
17922
+ readonly ends_at?: string;
17923
+ readonly center?: string;
17924
+ readonly currency?: string;
17925
+ }
17842
17926
  interface NextBillingStatement {
17843
17927
  readonly date: string;
17844
17928
  readonly amount: io.flow.common.v0.models.Price;
@@ -18399,6 +18483,34 @@ declare namespace io.flow.internal.v0.models {
18399
18483
  interface PingRequestForm {
18400
18484
  readonly placeholder?: string;
18401
18485
  }
18486
+ interface PlatformFeeChange {
18487
+ readonly organization_id: string;
18488
+ readonly key: string;
18489
+ readonly platform_fee: io.flow.internal.v0.unions.PlatformFee;
18490
+ readonly starts_at: string;
18491
+ }
18492
+ interface PlatformFeeDisabled {
18493
+ readonly discriminator: 'platform_fee_disabled';
18494
+ readonly attributes?: Record<string, string>;
18495
+ }
18496
+ interface PlatformFeeFlat {
18497
+ readonly discriminator: 'platform_fee_flat';
18498
+ readonly amount: number;
18499
+ readonly currency: string;
18500
+ readonly frequency: string;
18501
+ }
18502
+ interface PlatformFeePause {
18503
+ readonly discriminator: 'platform_fee_pause';
18504
+ readonly attributes?: Record<string, string>;
18505
+ }
18506
+ interface PlatformFeePercentage {
18507
+ readonly discriminator: 'platform_fee_percentage';
18508
+ readonly tiers: io.flow.internal.v0.models.PlatformFeePercentageTier[];
18509
+ }
18510
+ interface PlatformFeePercentageTier {
18511
+ readonly minimum_amount_base: number;
18512
+ readonly rate: number;
18513
+ }
18402
18514
  interface Prediction {
18403
18515
  readonly main_material: string;
18404
18516
  readonly gender: string;
@@ -18960,6 +19072,7 @@ declare namespace io.flow.internal.v0.models {
18960
19072
  }
18961
19073
  interface ShopForm {
18962
19074
  readonly organization_id: string;
19075
+ readonly token?: string;
18963
19076
  }
18964
19077
  interface ShopVersion {
18965
19078
  readonly id: string;
@@ -19895,7 +20008,7 @@ declare namespace io.flow.internal.v0.unions {
19895
20008
  type CheckoutFeaturesResponse = io.flow.internal.v0.models.CheckoutFeaturesResponseError | io.flow.internal.v0.models.CheckoutFeaturesResponseSuccess;
19896
20009
  type CheckoutForm = io.flow.internal.v0.models.CheckoutOrderForm | io.flow.internal.v0.models.CheckoutOrderNumberForm;
19897
20010
  type CheckoutGetResponse = io.flow.internal.v0.models.CheckoutGetResponseError | io.flow.internal.v0.models.CheckoutGetResponseSuccess;
19898
- type CheckoutInfo = io.flow.internal.v0.models.CheckoutInfoAddressConfigurationFormData | io.flow.internal.v0.models.CheckoutInfoAddressPredictions | io.flow.internal.v0.models.CheckoutInfoAnalyticsOrder | io.flow.internal.v0.models.CheckoutInfoAnalyticsSession | io.flow.internal.v0.models.CheckoutInfoContent | io.flow.internal.v0.models.CheckoutInfoCountriesFormData | io.flow.internal.v0.models.CheckoutInfoDeliveriesFormData | io.flow.internal.v0.models.CheckoutInfoHostedConfirmationPage | io.flow.internal.v0.models.CheckoutInfoMustUseOrder | io.flow.internal.v0.models.CheckoutInfoOptins | io.flow.internal.v0.models.CheckoutInfoOrderSummary | io.flow.internal.v0.models.CheckoutInfoPaymentDetails | io.flow.internal.v0.models.CheckoutInfoPaymentsFormData | io.flow.internal.v0.models.CheckoutInfoPublicKey;
20011
+ type CheckoutInfo = io.flow.internal.v0.models.CheckoutInfoAddressConfigurationFormData | io.flow.internal.v0.models.CheckoutInfoAddressPredictions | io.flow.internal.v0.models.CheckoutInfoAnalyticsOrder | io.flow.internal.v0.models.CheckoutInfoAnalyticsSession | io.flow.internal.v0.models.CheckoutInfoContent | io.flow.internal.v0.models.CheckoutInfoCountriesFormData | io.flow.internal.v0.models.CheckoutInfoDeliveriesFormData | io.flow.internal.v0.models.CheckoutInfoHostedConfirmationPage | io.flow.internal.v0.models.CheckoutInfoMustUseOrder | io.flow.internal.v0.models.CheckoutInfoOptins | io.flow.internal.v0.models.CheckoutInfoOrderSummary | io.flow.internal.v0.models.CheckoutInfoPaymentAuthorizationParameters | io.flow.internal.v0.models.CheckoutInfoPaymentDetails | io.flow.internal.v0.models.CheckoutInfoPaymentsFormData | io.flow.internal.v0.models.CheckoutInfoPublicKey;
19899
20012
  type CheckoutInput = io.flow.internal.v0.models.CheckoutInputAddAttributes | io.flow.internal.v0.models.CheckoutInputDeleteAddressStreet | io.flow.internal.v0.models.CheckoutInputSetAddressCity | io.flow.internal.v0.models.CheckoutInputSetAddressCountry | io.flow.internal.v0.models.CheckoutInputSetAddressName | io.flow.internal.v0.models.CheckoutInputSetAddressPostal | io.flow.internal.v0.models.CheckoutInputSetAddressProvince | io.flow.internal.v0.models.CheckoutInputSetAddressStreet | io.flow.internal.v0.models.CheckoutInputSetAttributes | io.flow.internal.v0.models.CheckoutInputSetContactEmail | io.flow.internal.v0.models.CheckoutInputSetContactPhone | io.flow.internal.v0.models.CheckoutInputSetCurrency | io.flow.internal.v0.models.CheckoutInputSetDeliveryOption | io.flow.internal.v0.models.CheckoutInputSetLanguage | io.flow.internal.v0.models.CheckoutInputSetLocale | io.flow.internal.v0.models.CheckoutInputSetOptinPrompt;
19900
20013
  type CheckoutOrder = io.flow.internal.v0.models.CheckoutOpenOrder | io.flow.internal.v0.models.CheckoutSubmittedOrder;
19901
20014
  type CheckoutOrderDeliveryOption = io.flow.internal.v0.models.CheckoutOrderDigitalDeliveryOption | io.flow.internal.v0.models.CheckoutOrderPhysicalDeliveryOption;
@@ -19973,6 +20086,7 @@ declare namespace io.flow.internal.v0.unions {
19973
20086
  type OrderActionForm = io.flow.internal.v0.models.WholeOrderActionForm | io.flow.internal.v0.models.LineActionForm | io.flow.internal.v0.models.FulfillmentActionForm;
19974
20087
  type PaymentRedirect = io.flow.internal.v0.models.OnlineAuthorizationCompleted | io.flow.internal.v0.models.RedirectActionCompleted;
19975
20088
  type PaymentSummaryDetails = io.flow.internal.v0.models.SearchAuthorization;
20089
+ type PlatformFee = io.flow.internal.v0.models.PlatformFeePause | io.flow.internal.v0.models.PlatformFeeFlat | io.flow.internal.v0.models.PlatformFeePercentage | io.flow.internal.v0.models.PlatformFeeDisabled;
19976
20090
  type ProcessorAccount = io.flow.internal.v0.models.StripeAccount | io.flow.internal.v0.models.AdyenAccount | io.flow.internal.v0.models.PaypalAccount | io.flow.internal.v0.models.AfterpayAccount | io.flow.internal.v0.models.BitpayAccount | io.flow.internal.v0.models.FiservAccount | io.flow.internal.v0.models.CryptoAccount;
19977
20091
  type ProcessorAccountModificationForm = io.flow.internal.v0.models.StripeAccountModificationForm | io.flow.internal.v0.models.AdyenAccountModificationForm | io.flow.internal.v0.models.PaypalAccountModificationForm | io.flow.internal.v0.models.AfterpayAccountModificationForm | io.flow.internal.v0.models.BitpayAccountModificationForm | io.flow.internal.v0.models.FiservAccountModificationForm | io.flow.internal.v0.models.CryptoAccountModificationForm;
19978
20092
  type ProcessorAccountPutForm = io.flow.internal.v0.models.StripeAccountPutForm | io.flow.internal.v0.models.AdyenAccountPutForm | io.flow.internal.v0.models.PaypalAccountPutForm | io.flow.internal.v0.models.AfterpayAccountPutForm | io.flow.internal.v0.models.BitpayAccountPutForm | io.flow.internal.v0.models.FiservAccountPutForm | io.flow.internal.v0.models.CryptoAccountPutForm;
@@ -20301,6 +20415,9 @@ export declare type CheckoutInfoOptins = io.flow.internal.v0.models.CheckoutInfo
20301
20415
  export declare type CheckoutInfoOrderSummary = io.flow.internal.v0.models.CheckoutInfoOrderSummary;
20302
20416
  export declare type CheckoutInfoOrderSummaryKey = io.flow.internal.v0.models.CheckoutInfoOrderSummaryKey;
20303
20417
  export declare type CheckoutInfoOrderSummaryKeyField = io.flow.internal.v0.enums.CheckoutInfoOrderSummaryKeyField;
20418
+ export declare type CheckoutInfoPaymentAuthorizationParameters = io.flow.internal.v0.models.CheckoutInfoPaymentAuthorizationParameters;
20419
+ export declare type CheckoutInfoPaymentAuthorizationParametersKey = io.flow.internal.v0.models.CheckoutInfoPaymentAuthorizationParametersKey;
20420
+ export declare type CheckoutInfoPaymentAuthorizationParametersKeyField = io.flow.internal.v0.enums.CheckoutInfoPaymentAuthorizationParametersKeyField;
20304
20421
  export declare type CheckoutInfoPaymentDetails = io.flow.internal.v0.models.CheckoutInfoPaymentDetails;
20305
20422
  export declare type CheckoutInfoPaymentDetailsKey = io.flow.internal.v0.models.CheckoutInfoPaymentDetailsKey;
20306
20423
  export declare type CheckoutInfoPaymentDetailsKeyField = io.flow.internal.v0.enums.CheckoutInfoPaymentDetailsKeyField;
@@ -20760,6 +20877,7 @@ export declare type GlobalSearchResult = io.flow.internal.v0.unions.GlobalSearch
20760
20877
  export declare type GoogleAnalytics = io.flow.internal.v0.models.GoogleAnalytics;
20761
20878
  export declare type GoogleAnalyticsPlugin = io.flow.internal.v0.enums.GoogleAnalyticsPlugin;
20762
20879
  export declare type GoogleGlobalSiteTag = io.flow.internal.v0.models.GoogleGlobalSiteTag;
20880
+ export declare type GoogleLinker = io.flow.internal.v0.models.GoogleLinker;
20763
20881
  export declare type GoogleShoppingAccountParameters = io.flow.internal.v0.models.GoogleShoppingAccountParameters;
20764
20882
  export declare type GoogleShoppingSetting = io.flow.internal.v0.models.GoogleShoppingSetting;
20765
20883
  export declare type GoogleTagManager = io.flow.internal.v0.models.GoogleTagManager;
@@ -20991,6 +21109,8 @@ export declare type MarketingGatewaySupportedChannelDetails = io.flow.internal.v
20991
21109
  export declare type MasterTransaction = io.flow.internal.v0.models.MasterTransaction;
20992
21110
  export declare type MasterTransactionDeleted = io.flow.internal.v0.models.MasterTransactionDeleted;
20993
21111
  export declare type MasterTransactionUpserted = io.flow.internal.v0.models.MasterTransactionUpserted;
21112
+ export declare type MerchantOfRecordEntitySettings = io.flow.internal.v0.models.MerchantOfRecordEntitySettings;
21113
+ export declare type MerchantOfRecordEntitySettingsForm = io.flow.internal.v0.models.MerchantOfRecordEntitySettingsForm;
20994
21114
  export declare type NatureOfSale = io.flow.internal.v0.enums.NatureOfSale;
20995
21115
  export declare type NextBillingStatement = io.flow.internal.v0.models.NextBillingStatement;
20996
21116
  export declare type NoCalculatedTaxAmount = io.flow.internal.v0.models.NoCalculatedTaxAmount;
@@ -21092,6 +21212,13 @@ export declare type PendingBankPaymentDetail = io.flow.internal.v0.models.Pendin
21092
21212
  export declare type PhraseClassified = io.flow.internal.v0.models.PhraseClassified;
21093
21213
  export declare type PhrasePropagated = io.flow.internal.v0.models.PhrasePropagated;
21094
21214
  export declare type PingRequestForm = io.flow.internal.v0.models.PingRequestForm;
21215
+ export declare type PlatformFee = io.flow.internal.v0.unions.PlatformFee;
21216
+ export declare type PlatformFeeChange = io.flow.internal.v0.models.PlatformFeeChange;
21217
+ export declare type PlatformFeeDisabled = io.flow.internal.v0.models.PlatformFeeDisabled;
21218
+ export declare type PlatformFeeFlat = io.flow.internal.v0.models.PlatformFeeFlat;
21219
+ export declare type PlatformFeePause = io.flow.internal.v0.models.PlatformFeePause;
21220
+ export declare type PlatformFeePercentage = io.flow.internal.v0.models.PlatformFeePercentage;
21221
+ export declare type PlatformFeePercentageTier = io.flow.internal.v0.models.PlatformFeePercentageTier;
21095
21222
  export declare type Prediction = io.flow.internal.v0.models.Prediction;
21096
21223
  export declare type PregenDataKeyField = io.flow.internal.v0.enums.PregenDataKeyField;
21097
21224
  export declare type PregeneratedQuote = io.flow.internal.v0.models.PregeneratedQuote;
package/dist/api.d.ts CHANGED
@@ -1378,9 +1378,10 @@ declare namespace io.flow.v0.models {
1378
1378
  }
1379
1379
  interface AvalaraTaxCsvSetting {
1380
1380
  readonly discriminator: 'avalara_tax_csv_setting';
1381
- readonly schedule: io.flow.v0.unions.RepeatSchedule;
1382
- readonly timezone: string;
1381
+ readonly schedule?: io.flow.v0.unions.RepeatSchedule;
1382
+ readonly timezone?: string;
1383
1383
  readonly email_recipients?: string[];
1384
+ readonly reports?: io.flow.v0.models.TaxReport[];
1384
1385
  }
1385
1386
  interface AvalaraTaxSetting {
1386
1387
  readonly discriminator: 'avalara_tax_setting';
@@ -6500,6 +6501,8 @@ declare namespace io.flow.v0.models {
6500
6501
  readonly order_identifier?: string;
6501
6502
  readonly fulfillment_key?: string;
6502
6503
  readonly shipment_recipient: io.flow.v0.enums.ShipmentRecipient;
6504
+ readonly created_at?: string;
6505
+ readonly updated_at?: string;
6503
6506
  }
6504
6507
  interface ShippingLabelDocument {
6505
6508
  readonly zpl?: string;
@@ -7056,6 +7059,11 @@ declare namespace io.flow.v0.models {
7056
7059
  readonly number: string;
7057
7060
  readonly company_name?: string;
7058
7061
  }
7062
+ interface TaxReport {
7063
+ readonly schedule: io.flow.v0.unions.RepeatSchedule;
7064
+ readonly timezone: string;
7065
+ readonly email_recipients?: string[];
7066
+ }
7059
7067
  interface ThreeDSecure {
7060
7068
  readonly code: io.flow.v0.enums.ThreeDSecureCode;
7061
7069
  readonly description?: string;
@@ -8751,6 +8759,7 @@ export declare type Tax = io.flow.v0.models.Tax;
8751
8759
  export declare type TaxApplicability = io.flow.v0.enums.TaxApplicability;
8752
8760
  export declare type TaxRegistration = io.flow.v0.models.TaxRegistration;
8753
8761
  export declare type TaxRegistrationForm = io.flow.v0.models.TaxRegistrationForm;
8762
+ export declare type TaxReport = io.flow.v0.models.TaxReport;
8754
8763
  export declare type TaxSetting = io.flow.v0.unions.TaxSetting;
8755
8764
  export declare type TaxVerificationResult = io.flow.v0.enums.TaxVerificationResult;
8756
8765
  export declare type TaxabilityType = io.flow.v0.enums.TaxabilityType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.5.0",
3
+ "version": "11.5.2",
4
4
  "description": "TypeScript type definitions for custom types found in Flow API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -25,5 +25,5 @@
25
25
  "maintainers": [
26
26
  "Christian Muñoz <christian.munoz@flow.io>"
27
27
  ],
28
- "gitHead": "b074b7431789c52c4c75cd7719de08bb338ee973"
28
+ "gitHead": "7e5b1e1b8caff00345f1076d02e54890b2653ccd"
29
29
  }
@@ -1610,6 +1610,9 @@ declare namespace io.flow.checkout.protocol.v0.enums {
1610
1610
  | 'shipping_province'
1611
1611
  | 'shipping_postal'
1612
1612
  | 'delivery_option_id';
1613
+ type CheckoutInfoPaymentAuthorizationParametersKeyField =
1614
+ | 'value'
1615
+ | 'currency';
1613
1616
  type CheckoutInfoPaymentDetailsKeyField =
1614
1617
  | 'value'
1615
1618
  | 'currency'
@@ -1955,6 +1958,17 @@ declare namespace io.flow.checkout.protocol.v0.models {
1955
1958
  readonly value: string;
1956
1959
  }
1957
1960
 
1961
+ interface CheckoutInfoPaymentAuthorizationParameters {
1962
+ readonly discriminator: 'checkout_info_payment_authorization_parameters';
1963
+ readonly key: io.flow.checkout.protocol.v0.models.CheckoutInfoPaymentAuthorizationParametersKey[];
1964
+ readonly data: io.flow.payment.internal.v0.models.AuthorizationParameters[];
1965
+ }
1966
+
1967
+ interface CheckoutInfoPaymentAuthorizationParametersKey {
1968
+ readonly field: io.flow.checkout.protocol.v0.enums.CheckoutInfoPaymentAuthorizationParametersKeyField;
1969
+ readonly value: string;
1970
+ }
1971
+
1958
1972
  interface CheckoutInfoPaymentDetails {
1959
1973
  readonly discriminator: 'checkout_info_payment_details';
1960
1974
  readonly key: io.flow.checkout.protocol.v0.models.CheckoutInfoPaymentDetailsKey[];
@@ -2509,6 +2523,7 @@ declare namespace io.flow.checkout.protocol.v0.unions {
2509
2523
  | io.flow.checkout.protocol.v0.models.CheckoutInfoMustUseOrder
2510
2524
  | io.flow.checkout.protocol.v0.models.CheckoutInfoOptins
2511
2525
  | io.flow.checkout.protocol.v0.models.CheckoutInfoOrderSummary
2526
+ | io.flow.checkout.protocol.v0.models.CheckoutInfoPaymentAuthorizationParameters
2512
2527
  | io.flow.checkout.protocol.v0.models.CheckoutInfoPaymentDetails
2513
2528
  | io.flow.checkout.protocol.v0.models.CheckoutInfoPaymentsFormData
2514
2529
  | io.flow.checkout.protocol.v0.models.CheckoutInfoPublicKey;
@@ -4206,6 +4221,8 @@ declare namespace io.flow.label.v0.models {
4206
4221
  readonly order_identifier?: string;
4207
4222
  readonly fulfillment_key?: string;
4208
4223
  readonly shipment_recipient: io.flow.label.v0.enums.ShipmentRecipient;
4224
+ readonly created_at?: string;
4225
+ readonly updated_at?: string;
4209
4226
  }
4210
4227
 
4211
4228
  interface ShippingLabelDocument {
@@ -12005,6 +12022,40 @@ declare namespace io.flow.billing.internal.v0.models {
12005
12022
  readonly statement: io.flow.billing.v0.models.BillingStatementReference;
12006
12023
  }
12007
12024
 
12025
+ interface PlatformFeeChange {
12026
+ readonly organization_id: string;
12027
+ readonly key: string;
12028
+ readonly platform_fee: io.flow.billing.internal.v0.unions.PlatformFee;
12029
+ readonly starts_at: string;
12030
+ }
12031
+
12032
+ interface PlatformFeeDisabled {
12033
+ readonly discriminator: 'platform_fee_disabled';
12034
+ readonly attributes?: Record<string, string>;
12035
+ }
12036
+
12037
+ interface PlatformFeeFlat {
12038
+ readonly discriminator: 'platform_fee_flat';
12039
+ readonly amount: number;
12040
+ readonly currency: string;
12041
+ readonly frequency: string;
12042
+ }
12043
+
12044
+ interface PlatformFeePause {
12045
+ readonly discriminator: 'platform_fee_pause';
12046
+ readonly attributes?: Record<string, string>;
12047
+ }
12048
+
12049
+ interface PlatformFeePercentage {
12050
+ readonly discriminator: 'platform_fee_percentage';
12051
+ readonly tiers: io.flow.billing.internal.v0.models.PlatformFeePercentageTier[];
12052
+ }
12053
+
12054
+ interface PlatformFeePercentageTier {
12055
+ readonly minimum_amount_base: number;
12056
+ readonly rate: number;
12057
+ }
12058
+
12008
12059
  interface ProcessingTransaction {
12009
12060
  readonly discriminator: 'processing_transaction';
12010
12061
  readonly id: string;
@@ -12092,6 +12143,11 @@ declare namespace io.flow.billing.internal.v0.models {
12092
12143
  }
12093
12144
 
12094
12145
  declare namespace io.flow.billing.internal.v0.unions {
12146
+ type PlatformFee =
12147
+ | io.flow.billing.internal.v0.models.PlatformFeePause
12148
+ | io.flow.billing.internal.v0.models.PlatformFeeFlat
12149
+ | io.flow.billing.internal.v0.models.PlatformFeePercentage
12150
+ | io.flow.billing.internal.v0.models.PlatformFeeDisabled;
12095
12151
  type Transaction =
12096
12152
  | io.flow.billing.internal.v0.models.InvoiceTransaction
12097
12153
  | io.flow.billing.internal.v0.models.ManualTransaction
@@ -16383,12 +16439,18 @@ declare namespace io.flow.checkout.configuration.v0.models {
16383
16439
  readonly name?: string;
16384
16440
  readonly tracker_id: string;
16385
16441
  readonly plugins: io.flow.checkout.configuration.v0.enums.GoogleAnalyticsPlugin[];
16442
+ readonly linker?: io.flow.checkout.configuration.v0.models.GoogleLinker;
16386
16443
  }
16387
16444
 
16388
16445
  interface GoogleGlobalSiteTag {
16389
16446
  readonly discriminator: 'google_global_site_tag';
16390
16447
  readonly name?: string;
16391
16448
  readonly tracker_id: string;
16449
+ readonly linker?: io.flow.checkout.configuration.v0.models.GoogleLinker;
16450
+ }
16451
+
16452
+ interface GoogleLinker {
16453
+ readonly domains: string[];
16392
16454
  }
16393
16455
 
16394
16456
  interface GoogleTagManager {
@@ -16793,6 +16855,9 @@ declare namespace io.flow.internal.v0.enums {
16793
16855
  | 'shipping_province'
16794
16856
  | 'shipping_postal'
16795
16857
  | 'delivery_option_id';
16858
+ type CheckoutInfoPaymentAuthorizationParametersKeyField =
16859
+ | 'value'
16860
+ | 'currency';
16796
16861
  type CheckoutInfoPaymentDetailsKeyField =
16797
16862
  | 'value'
16798
16863
  | 'currency'
@@ -19000,6 +19065,17 @@ declare namespace io.flow.internal.v0.models {
19000
19065
  readonly value: string;
19001
19066
  }
19002
19067
 
19068
+ interface CheckoutInfoPaymentAuthorizationParameters {
19069
+ readonly discriminator: 'checkout_info_payment_authorization_parameters';
19070
+ readonly key: io.flow.internal.v0.models.CheckoutInfoPaymentAuthorizationParametersKey[];
19071
+ readonly data: io.flow.payment.internal.v0.models.AuthorizationParameters[];
19072
+ }
19073
+
19074
+ interface CheckoutInfoPaymentAuthorizationParametersKey {
19075
+ readonly field: io.flow.internal.v0.enums.CheckoutInfoPaymentAuthorizationParametersKeyField;
19076
+ readonly value: string;
19077
+ }
19078
+
19003
19079
  interface CheckoutInfoPaymentDetails {
19004
19080
  readonly discriminator: 'checkout_info_payment_details';
19005
19081
  readonly key: io.flow.internal.v0.models.CheckoutInfoPaymentDetailsKey[];
@@ -21300,12 +21376,18 @@ declare namespace io.flow.internal.v0.models {
21300
21376
  readonly name?: string;
21301
21377
  readonly tracker_id: string;
21302
21378
  readonly plugins: io.flow.internal.v0.enums.GoogleAnalyticsPlugin[];
21379
+ readonly linker?: io.flow.internal.v0.models.GoogleLinker;
21303
21380
  }
21304
21381
 
21305
21382
  interface GoogleGlobalSiteTag {
21306
21383
  readonly discriminator: 'google_global_site_tag';
21307
21384
  readonly name?: string;
21308
21385
  readonly tracker_id: string;
21386
+ readonly linker?: io.flow.internal.v0.models.GoogleLinker;
21387
+ }
21388
+
21389
+ interface GoogleLinker {
21390
+ readonly domains: string[];
21309
21391
  }
21310
21392
 
21311
21393
  interface GoogleShoppingAccountParameters {
@@ -23001,6 +23083,31 @@ declare namespace io.flow.internal.v0.models {
23001
23083
  readonly master_transaction: io.flow.billing.internal.v0.models.MasterTransaction;
23002
23084
  }
23003
23085
 
23086
+ interface MerchantOfRecordEntitySettings {
23087
+ readonly id: string;
23088
+ readonly merchant_of_record_entity: io.flow.common.v0.models.MerchantOfRecordEntity;
23089
+ readonly starts_at: string;
23090
+ readonly ends_at?: string;
23091
+ readonly center?: string;
23092
+ readonly currency?: string;
23093
+ }
23094
+
23095
+ interface MerchantOfRecordEntitySettingsForm {
23096
+ readonly name: string;
23097
+ readonly vat: io.flow.common.v0.models.MerchantOfRecordEntityRegistration;
23098
+ readonly streets: string[];
23099
+ readonly city: string;
23100
+ readonly province?: string;
23101
+ readonly postal?: string;
23102
+ readonly country: string;
23103
+ readonly phone?: string;
23104
+ readonly email?: string;
23105
+ readonly starts_at: string;
23106
+ readonly ends_at?: string;
23107
+ readonly center?: string;
23108
+ readonly currency?: string;
23109
+ }
23110
+
23004
23111
  interface NextBillingStatement {
23005
23112
  readonly date: string;
23006
23113
  readonly amount: io.flow.common.v0.models.Price;
@@ -23648,6 +23755,40 @@ declare namespace io.flow.internal.v0.models {
23648
23755
  readonly placeholder?: string;
23649
23756
  }
23650
23757
 
23758
+ interface PlatformFeeChange {
23759
+ readonly organization_id: string;
23760
+ readonly key: string;
23761
+ readonly platform_fee: io.flow.internal.v0.unions.PlatformFee;
23762
+ readonly starts_at: string;
23763
+ }
23764
+
23765
+ interface PlatformFeeDisabled {
23766
+ readonly discriminator: 'platform_fee_disabled';
23767
+ readonly attributes?: Record<string, string>;
23768
+ }
23769
+
23770
+ interface PlatformFeeFlat {
23771
+ readonly discriminator: 'platform_fee_flat';
23772
+ readonly amount: number;
23773
+ readonly currency: string;
23774
+ readonly frequency: string;
23775
+ }
23776
+
23777
+ interface PlatformFeePause {
23778
+ readonly discriminator: 'platform_fee_pause';
23779
+ readonly attributes?: Record<string, string>;
23780
+ }
23781
+
23782
+ interface PlatformFeePercentage {
23783
+ readonly discriminator: 'platform_fee_percentage';
23784
+ readonly tiers: io.flow.internal.v0.models.PlatformFeePercentageTier[];
23785
+ }
23786
+
23787
+ interface PlatformFeePercentageTier {
23788
+ readonly minimum_amount_base: number;
23789
+ readonly rate: number;
23790
+ }
23791
+
23651
23792
  interface Prediction {
23652
23793
  readonly main_material: string;
23653
23794
  readonly gender: string;
@@ -24296,6 +24437,7 @@ declare namespace io.flow.internal.v0.models {
24296
24437
 
24297
24438
  interface ShopForm {
24298
24439
  readonly organization_id: string;
24440
+ readonly token?: string;
24299
24441
  }
24300
24442
 
24301
24443
  interface ShopVersion {
@@ -25428,6 +25570,7 @@ declare namespace io.flow.internal.v0.unions {
25428
25570
  | io.flow.internal.v0.models.CheckoutInfoMustUseOrder
25429
25571
  | io.flow.internal.v0.models.CheckoutInfoOptins
25430
25572
  | io.flow.internal.v0.models.CheckoutInfoOrderSummary
25573
+ | io.flow.internal.v0.models.CheckoutInfoPaymentAuthorizationParameters
25431
25574
  | io.flow.internal.v0.models.CheckoutInfoPaymentDetails
25432
25575
  | io.flow.internal.v0.models.CheckoutInfoPaymentsFormData
25433
25576
  | io.flow.internal.v0.models.CheckoutInfoPublicKey;
@@ -25898,6 +26041,11 @@ declare namespace io.flow.internal.v0.unions {
25898
26041
  | io.flow.internal.v0.models.OnlineAuthorizationCompleted
25899
26042
  | io.flow.internal.v0.models.RedirectActionCompleted;
25900
26043
  type PaymentSummaryDetails = io.flow.internal.v0.models.SearchAuthorization;
26044
+ type PlatformFee =
26045
+ | io.flow.internal.v0.models.PlatformFeePause
26046
+ | io.flow.internal.v0.models.PlatformFeeFlat
26047
+ | io.flow.internal.v0.models.PlatformFeePercentage
26048
+ | io.flow.internal.v0.models.PlatformFeeDisabled;
25901
26049
  type ProcessorAccount =
25902
26050
  | io.flow.internal.v0.models.StripeAccount
25903
26051
  | io.flow.internal.v0.models.AdyenAccount
@@ -26297,6 +26445,9 @@ export type CheckoutInfoOptins = io.flow.internal.v0.models.CheckoutInfoOptins;
26297
26445
  export type CheckoutInfoOrderSummary = io.flow.internal.v0.models.CheckoutInfoOrderSummary;
26298
26446
  export type CheckoutInfoOrderSummaryKey = io.flow.internal.v0.models.CheckoutInfoOrderSummaryKey;
26299
26447
  export type CheckoutInfoOrderSummaryKeyField = io.flow.internal.v0.enums.CheckoutInfoOrderSummaryKeyField;
26448
+ export type CheckoutInfoPaymentAuthorizationParameters = io.flow.internal.v0.models.CheckoutInfoPaymentAuthorizationParameters;
26449
+ export type CheckoutInfoPaymentAuthorizationParametersKey = io.flow.internal.v0.models.CheckoutInfoPaymentAuthorizationParametersKey;
26450
+ export type CheckoutInfoPaymentAuthorizationParametersKeyField = io.flow.internal.v0.enums.CheckoutInfoPaymentAuthorizationParametersKeyField;
26300
26451
  export type CheckoutInfoPaymentDetails = io.flow.internal.v0.models.CheckoutInfoPaymentDetails;
26301
26452
  export type CheckoutInfoPaymentDetailsKey = io.flow.internal.v0.models.CheckoutInfoPaymentDetailsKey;
26302
26453
  export type CheckoutInfoPaymentDetailsKeyField = io.flow.internal.v0.enums.CheckoutInfoPaymentDetailsKeyField;
@@ -26756,6 +26907,7 @@ export type GlobalSearchResult = io.flow.internal.v0.unions.GlobalSearchResult;
26756
26907
  export type GoogleAnalytics = io.flow.internal.v0.models.GoogleAnalytics;
26757
26908
  export type GoogleAnalyticsPlugin = io.flow.internal.v0.enums.GoogleAnalyticsPlugin;
26758
26909
  export type GoogleGlobalSiteTag = io.flow.internal.v0.models.GoogleGlobalSiteTag;
26910
+ export type GoogleLinker = io.flow.internal.v0.models.GoogleLinker;
26759
26911
  export type GoogleShoppingAccountParameters = io.flow.internal.v0.models.GoogleShoppingAccountParameters;
26760
26912
  export type GoogleShoppingSetting = io.flow.internal.v0.models.GoogleShoppingSetting;
26761
26913
  export type GoogleTagManager = io.flow.internal.v0.models.GoogleTagManager;
@@ -26987,6 +27139,8 @@ export type MarketingGatewaySupportedChannelDetails = io.flow.internal.v0.models
26987
27139
  export type MasterTransaction = io.flow.internal.v0.models.MasterTransaction;
26988
27140
  export type MasterTransactionDeleted = io.flow.internal.v0.models.MasterTransactionDeleted;
26989
27141
  export type MasterTransactionUpserted = io.flow.internal.v0.models.MasterTransactionUpserted;
27142
+ export type MerchantOfRecordEntitySettings = io.flow.internal.v0.models.MerchantOfRecordEntitySettings;
27143
+ export type MerchantOfRecordEntitySettingsForm = io.flow.internal.v0.models.MerchantOfRecordEntitySettingsForm;
26990
27144
  export type NatureOfSale = io.flow.internal.v0.enums.NatureOfSale;
26991
27145
  export type NextBillingStatement = io.flow.internal.v0.models.NextBillingStatement;
26992
27146
  export type NoCalculatedTaxAmount = io.flow.internal.v0.models.NoCalculatedTaxAmount;
@@ -27088,6 +27242,13 @@ export type PendingBankPaymentDetail = io.flow.internal.v0.models.PendingBankPay
27088
27242
  export type PhraseClassified = io.flow.internal.v0.models.PhraseClassified;
27089
27243
  export type PhrasePropagated = io.flow.internal.v0.models.PhrasePropagated;
27090
27244
  export type PingRequestForm = io.flow.internal.v0.models.PingRequestForm;
27245
+ export type PlatformFee = io.flow.internal.v0.unions.PlatformFee;
27246
+ export type PlatformFeeChange = io.flow.internal.v0.models.PlatformFeeChange;
27247
+ export type PlatformFeeDisabled = io.flow.internal.v0.models.PlatformFeeDisabled;
27248
+ export type PlatformFeeFlat = io.flow.internal.v0.models.PlatformFeeFlat;
27249
+ export type PlatformFeePause = io.flow.internal.v0.models.PlatformFeePause;
27250
+ export type PlatformFeePercentage = io.flow.internal.v0.models.PlatformFeePercentage;
27251
+ export type PlatformFeePercentageTier = io.flow.internal.v0.models.PlatformFeePercentageTier;
27091
27252
  export type Prediction = io.flow.internal.v0.models.Prediction;
27092
27253
  export type PregenDataKeyField = io.flow.internal.v0.enums.PregenDataKeyField;
27093
27254
  export type PregeneratedQuote = io.flow.internal.v0.models.PregeneratedQuote;
package/src/api.ts CHANGED
@@ -2143,9 +2143,10 @@ declare namespace io.flow.v0.models {
2143
2143
 
2144
2144
  interface AvalaraTaxCsvSetting {
2145
2145
  readonly discriminator: 'avalara_tax_csv_setting';
2146
- readonly schedule: io.flow.v0.unions.RepeatSchedule;
2147
- readonly timezone: string;
2146
+ readonly schedule?: io.flow.v0.unions.RepeatSchedule;
2147
+ readonly timezone?: string;
2148
2148
  readonly email_recipients?: string[];
2149
+ readonly reports?: io.flow.v0.models.TaxReport[];
2149
2150
  }
2150
2151
 
2151
2152
  interface AvalaraTaxSetting {
@@ -8089,6 +8090,8 @@ declare namespace io.flow.v0.models {
8089
8090
  readonly order_identifier?: string;
8090
8091
  readonly fulfillment_key?: string;
8091
8092
  readonly shipment_recipient: io.flow.v0.enums.ShipmentRecipient;
8093
+ readonly created_at?: string;
8094
+ readonly updated_at?: string;
8092
8095
  }
8093
8096
 
8094
8097
  interface ShippingLabelDocument {
@@ -8737,6 +8740,12 @@ declare namespace io.flow.v0.models {
8737
8740
  readonly company_name?: string;
8738
8741
  }
8739
8742
 
8743
+ interface TaxReport {
8744
+ readonly schedule: io.flow.v0.unions.RepeatSchedule;
8745
+ readonly timezone: string;
8746
+ readonly email_recipients?: string[];
8747
+ }
8748
+
8740
8749
  interface ThreeDSecure {
8741
8750
  readonly code: io.flow.v0.enums.ThreeDSecureCode;
8742
8751
  readonly description?: string;
@@ -10823,6 +10832,7 @@ export type Tax = io.flow.v0.models.Tax;
10823
10832
  export type TaxApplicability = io.flow.v0.enums.TaxApplicability;
10824
10833
  export type TaxRegistration = io.flow.v0.models.TaxRegistration;
10825
10834
  export type TaxRegistrationForm = io.flow.v0.models.TaxRegistrationForm;
10835
+ export type TaxReport = io.flow.v0.models.TaxReport;
10826
10836
  export type TaxSetting = io.flow.v0.unions.TaxSetting;
10827
10837
  export type TaxVerificationResult = io.flow.v0.enums.TaxVerificationResult;
10828
10838
  export type TaxabilityType = io.flow.v0.enums.TaxabilityType;