@flowio/types 11.5.1 → 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 {
@@ -12882,6 +12923,7 @@ declare namespace io.flow.internal.v0.enums {
12882
12923
  type CheckoutInfoContentKeyField = 'locale';
12883
12924
  type CheckoutInfoDeliveriesFormDataKeyField = 'country' | 'lines';
12884
12925
  type CheckoutInfoOrderSummaryKeyField = 'shipping_country' | 'shipping_province' | 'shipping_postal' | 'delivery_option_id';
12926
+ type CheckoutInfoPaymentAuthorizationParametersKeyField = 'value' | 'currency';
12885
12927
  type CheckoutInfoPaymentDetailsKeyField = 'value' | 'currency' | 'payment_method_id';
12886
12928
  type CheckoutPaymentGroupType = 'credit' | 'debit' | 'all_cards';
12887
12929
  type CheckoutPromptBehavior = 'always' | 'incomplete';
@@ -14411,6 +14453,15 @@ declare namespace io.flow.internal.v0.models {
14411
14453
  readonly field: io.flow.internal.v0.enums.CheckoutInfoOrderSummaryKeyField;
14412
14454
  readonly value: string;
14413
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
+ }
14414
14465
  interface CheckoutInfoPaymentDetails {
14415
14466
  readonly discriminator: 'checkout_info_payment_details';
14416
14467
  readonly key: io.flow.internal.v0.models.CheckoutInfoPaymentDetailsKey[];
@@ -18437,7 +18488,10 @@ declare namespace io.flow.internal.v0.models {
18437
18488
  readonly key: string;
18438
18489
  readonly platform_fee: io.flow.internal.v0.unions.PlatformFee;
18439
18490
  readonly starts_at: string;
18440
- readonly ends_at?: string;
18491
+ }
18492
+ interface PlatformFeeDisabled {
18493
+ readonly discriminator: 'platform_fee_disabled';
18494
+ readonly attributes?: Record<string, string>;
18441
18495
  }
18442
18496
  interface PlatformFeeFlat {
18443
18497
  readonly discriminator: 'platform_fee_flat';
@@ -18445,8 +18499,8 @@ declare namespace io.flow.internal.v0.models {
18445
18499
  readonly currency: string;
18446
18500
  readonly frequency: string;
18447
18501
  }
18448
- interface PlatformFeeNoFee {
18449
- readonly discriminator: 'platform_fee_no_fee';
18502
+ interface PlatformFeePause {
18503
+ readonly discriminator: 'platform_fee_pause';
18450
18504
  readonly attributes?: Record<string, string>;
18451
18505
  }
18452
18506
  interface PlatformFeePercentage {
@@ -19018,6 +19072,7 @@ declare namespace io.flow.internal.v0.models {
19018
19072
  }
19019
19073
  interface ShopForm {
19020
19074
  readonly organization_id: string;
19075
+ readonly token?: string;
19021
19076
  }
19022
19077
  interface ShopVersion {
19023
19078
  readonly id: string;
@@ -19953,7 +20008,7 @@ declare namespace io.flow.internal.v0.unions {
19953
20008
  type CheckoutFeaturesResponse = io.flow.internal.v0.models.CheckoutFeaturesResponseError | io.flow.internal.v0.models.CheckoutFeaturesResponseSuccess;
19954
20009
  type CheckoutForm = io.flow.internal.v0.models.CheckoutOrderForm | io.flow.internal.v0.models.CheckoutOrderNumberForm;
19955
20010
  type CheckoutGetResponse = io.flow.internal.v0.models.CheckoutGetResponseError | io.flow.internal.v0.models.CheckoutGetResponseSuccess;
19956
- 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;
19957
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;
19958
20013
  type CheckoutOrder = io.flow.internal.v0.models.CheckoutOpenOrder | io.flow.internal.v0.models.CheckoutSubmittedOrder;
19959
20014
  type CheckoutOrderDeliveryOption = io.flow.internal.v0.models.CheckoutOrderDigitalDeliveryOption | io.flow.internal.v0.models.CheckoutOrderPhysicalDeliveryOption;
@@ -20031,7 +20086,7 @@ declare namespace io.flow.internal.v0.unions {
20031
20086
  type OrderActionForm = io.flow.internal.v0.models.WholeOrderActionForm | io.flow.internal.v0.models.LineActionForm | io.flow.internal.v0.models.FulfillmentActionForm;
20032
20087
  type PaymentRedirect = io.flow.internal.v0.models.OnlineAuthorizationCompleted | io.flow.internal.v0.models.RedirectActionCompleted;
20033
20088
  type PaymentSummaryDetails = io.flow.internal.v0.models.SearchAuthorization;
20034
- type PlatformFee = io.flow.internal.v0.models.PlatformFeeNoFee | io.flow.internal.v0.models.PlatformFeeFlat | io.flow.internal.v0.models.PlatformFeePercentage;
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;
20035
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;
20036
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;
20037
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;
@@ -20360,6 +20415,9 @@ export declare type CheckoutInfoOptins = io.flow.internal.v0.models.CheckoutInfo
20360
20415
  export declare type CheckoutInfoOrderSummary = io.flow.internal.v0.models.CheckoutInfoOrderSummary;
20361
20416
  export declare type CheckoutInfoOrderSummaryKey = io.flow.internal.v0.models.CheckoutInfoOrderSummaryKey;
20362
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;
20363
20421
  export declare type CheckoutInfoPaymentDetails = io.flow.internal.v0.models.CheckoutInfoPaymentDetails;
20364
20422
  export declare type CheckoutInfoPaymentDetailsKey = io.flow.internal.v0.models.CheckoutInfoPaymentDetailsKey;
20365
20423
  export declare type CheckoutInfoPaymentDetailsKeyField = io.flow.internal.v0.enums.CheckoutInfoPaymentDetailsKeyField;
@@ -21156,8 +21214,9 @@ export declare type PhrasePropagated = io.flow.internal.v0.models.PhrasePropagat
21156
21214
  export declare type PingRequestForm = io.flow.internal.v0.models.PingRequestForm;
21157
21215
  export declare type PlatformFee = io.flow.internal.v0.unions.PlatformFee;
21158
21216
  export declare type PlatformFeeChange = io.flow.internal.v0.models.PlatformFeeChange;
21217
+ export declare type PlatformFeeDisabled = io.flow.internal.v0.models.PlatformFeeDisabled;
21159
21218
  export declare type PlatformFeeFlat = io.flow.internal.v0.models.PlatformFeeFlat;
21160
- export declare type PlatformFeeNoFee = io.flow.internal.v0.models.PlatformFeeNoFee;
21219
+ export declare type PlatformFeePause = io.flow.internal.v0.models.PlatformFeePause;
21161
21220
  export declare type PlatformFeePercentage = io.flow.internal.v0.models.PlatformFeePercentage;
21162
21221
  export declare type PlatformFeePercentageTier = io.flow.internal.v0.models.PlatformFeePercentageTier;
21163
21222
  export declare type Prediction = io.flow.internal.v0.models.Prediction;
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.1",
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": "6c1f76731fb3dd083295b51064520bc7142cdace"
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
@@ -16799,6 +16855,9 @@ declare namespace io.flow.internal.v0.enums {
16799
16855
  | 'shipping_province'
16800
16856
  | 'shipping_postal'
16801
16857
  | 'delivery_option_id';
16858
+ type CheckoutInfoPaymentAuthorizationParametersKeyField =
16859
+ | 'value'
16860
+ | 'currency';
16802
16861
  type CheckoutInfoPaymentDetailsKeyField =
16803
16862
  | 'value'
16804
16863
  | 'currency'
@@ -19006,6 +19065,17 @@ declare namespace io.flow.internal.v0.models {
19006
19065
  readonly value: string;
19007
19066
  }
19008
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
+
19009
19079
  interface CheckoutInfoPaymentDetails {
19010
19080
  readonly discriminator: 'checkout_info_payment_details';
19011
19081
  readonly key: io.flow.internal.v0.models.CheckoutInfoPaymentDetailsKey[];
@@ -23690,7 +23760,11 @@ declare namespace io.flow.internal.v0.models {
23690
23760
  readonly key: string;
23691
23761
  readonly platform_fee: io.flow.internal.v0.unions.PlatformFee;
23692
23762
  readonly starts_at: string;
23693
- readonly ends_at?: string;
23763
+ }
23764
+
23765
+ interface PlatformFeeDisabled {
23766
+ readonly discriminator: 'platform_fee_disabled';
23767
+ readonly attributes?: Record<string, string>;
23694
23768
  }
23695
23769
 
23696
23770
  interface PlatformFeeFlat {
@@ -23700,8 +23774,8 @@ declare namespace io.flow.internal.v0.models {
23700
23774
  readonly frequency: string;
23701
23775
  }
23702
23776
 
23703
- interface PlatformFeeNoFee {
23704
- readonly discriminator: 'platform_fee_no_fee';
23777
+ interface PlatformFeePause {
23778
+ readonly discriminator: 'platform_fee_pause';
23705
23779
  readonly attributes?: Record<string, string>;
23706
23780
  }
23707
23781
 
@@ -24363,6 +24437,7 @@ declare namespace io.flow.internal.v0.models {
24363
24437
 
24364
24438
  interface ShopForm {
24365
24439
  readonly organization_id: string;
24440
+ readonly token?: string;
24366
24441
  }
24367
24442
 
24368
24443
  interface ShopVersion {
@@ -25495,6 +25570,7 @@ declare namespace io.flow.internal.v0.unions {
25495
25570
  | io.flow.internal.v0.models.CheckoutInfoMustUseOrder
25496
25571
  | io.flow.internal.v0.models.CheckoutInfoOptins
25497
25572
  | io.flow.internal.v0.models.CheckoutInfoOrderSummary
25573
+ | io.flow.internal.v0.models.CheckoutInfoPaymentAuthorizationParameters
25498
25574
  | io.flow.internal.v0.models.CheckoutInfoPaymentDetails
25499
25575
  | io.flow.internal.v0.models.CheckoutInfoPaymentsFormData
25500
25576
  | io.flow.internal.v0.models.CheckoutInfoPublicKey;
@@ -25966,9 +26042,10 @@ declare namespace io.flow.internal.v0.unions {
25966
26042
  | io.flow.internal.v0.models.RedirectActionCompleted;
25967
26043
  type PaymentSummaryDetails = io.flow.internal.v0.models.SearchAuthorization;
25968
26044
  type PlatformFee =
25969
- | io.flow.internal.v0.models.PlatformFeeNoFee
26045
+ | io.flow.internal.v0.models.PlatformFeePause
25970
26046
  | io.flow.internal.v0.models.PlatformFeeFlat
25971
- | io.flow.internal.v0.models.PlatformFeePercentage;
26047
+ | io.flow.internal.v0.models.PlatformFeePercentage
26048
+ | io.flow.internal.v0.models.PlatformFeeDisabled;
25972
26049
  type ProcessorAccount =
25973
26050
  | io.flow.internal.v0.models.StripeAccount
25974
26051
  | io.flow.internal.v0.models.AdyenAccount
@@ -26368,6 +26445,9 @@ export type CheckoutInfoOptins = io.flow.internal.v0.models.CheckoutInfoOptins;
26368
26445
  export type CheckoutInfoOrderSummary = io.flow.internal.v0.models.CheckoutInfoOrderSummary;
26369
26446
  export type CheckoutInfoOrderSummaryKey = io.flow.internal.v0.models.CheckoutInfoOrderSummaryKey;
26370
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;
26371
26451
  export type CheckoutInfoPaymentDetails = io.flow.internal.v0.models.CheckoutInfoPaymentDetails;
26372
26452
  export type CheckoutInfoPaymentDetailsKey = io.flow.internal.v0.models.CheckoutInfoPaymentDetailsKey;
26373
26453
  export type CheckoutInfoPaymentDetailsKeyField = io.flow.internal.v0.enums.CheckoutInfoPaymentDetailsKeyField;
@@ -27164,8 +27244,9 @@ export type PhrasePropagated = io.flow.internal.v0.models.PhrasePropagated;
27164
27244
  export type PingRequestForm = io.flow.internal.v0.models.PingRequestForm;
27165
27245
  export type PlatformFee = io.flow.internal.v0.unions.PlatformFee;
27166
27246
  export type PlatformFeeChange = io.flow.internal.v0.models.PlatformFeeChange;
27247
+ export type PlatformFeeDisabled = io.flow.internal.v0.models.PlatformFeeDisabled;
27167
27248
  export type PlatformFeeFlat = io.flow.internal.v0.models.PlatformFeeFlat;
27168
- export type PlatformFeeNoFee = io.flow.internal.v0.models.PlatformFeeNoFee;
27249
+ export type PlatformFeePause = io.flow.internal.v0.models.PlatformFeePause;
27169
27250
  export type PlatformFeePercentage = io.flow.internal.v0.models.PlatformFeePercentage;
27170
27251
  export type PlatformFeePercentageTier = io.flow.internal.v0.models.PlatformFeePercentageTier;
27171
27252
  export type Prediction = io.flow.internal.v0.models.Prediction;
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;