@flowio/types 11.9.6 → 11.9.8

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.
@@ -2003,7 +2003,7 @@ declare namespace io.flow.stripe.v0.models {
2003
2003
  readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptions;
2004
2004
  readonly payment_method_types?: string[];
2005
2005
  readonly receipt_email?: string;
2006
- readonly save_payment_method?: boolean;
2006
+ readonly save_payment_method: boolean;
2007
2007
  readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
2008
2008
  }
2009
2009
  interface PaymentIntentForm {
@@ -2023,7 +2023,7 @@ declare namespace io.flow.stripe.v0.models {
2023
2023
  readonly payment_method_types?: string[];
2024
2024
  readonly receipt_email?: string;
2025
2025
  readonly return_url?: string;
2026
- readonly save_payment_method?: boolean;
2026
+ readonly save_payment_method: boolean;
2027
2027
  readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
2028
2028
  readonly statement_descriptor?: string;
2029
2029
  readonly statement_descriptor_suffix?: string;
@@ -2039,7 +2039,7 @@ declare namespace io.flow.stripe.v0.models {
2039
2039
  readonly payment_method?: string;
2040
2040
  readonly payment_method_types?: string[];
2041
2041
  readonly receipt_email?: string;
2042
- readonly save_payment_method?: boolean;
2042
+ readonly save_payment_method: boolean;
2043
2043
  readonly statement_descriptor?: string;
2044
2044
  readonly statement_descriptor_suffix?: string;
2045
2045
  readonly transfer_data?: io.flow.stripe.v0.models.TransferData;
@@ -8040,6 +8040,10 @@ declare namespace io.flow.inventory.v0.models {
8040
8040
  interface InventoryExperienceReference {
8041
8041
  readonly key: string;
8042
8042
  }
8043
+ interface InventoryFollowEcommercePlatform {
8044
+ readonly discriminator: 'inventory_follow_ecommerce_platform';
8045
+ readonly quantity: number;
8046
+ }
8043
8047
  interface InventoryItemReference {
8044
8048
  readonly number: string;
8045
8049
  }
@@ -8159,7 +8163,7 @@ declare namespace io.flow.inventory.v0.models {
8159
8163
  }
8160
8164
  }
8161
8165
  declare namespace io.flow.inventory.v0.unions {
8162
- type InventoryStrategy = io.flow.inventory.v0.models.InventoryBackorder | io.flow.inventory.v0.models.InventoryStock | io.flow.inventory.v0.models.InventoryUnlimited;
8166
+ type InventoryStrategy = io.flow.inventory.v0.models.InventoryBackorder | io.flow.inventory.v0.models.InventoryStock | io.flow.inventory.v0.models.InventoryUnlimited | io.flow.inventory.v0.models.InventoryFollowEcommercePlatform;
8163
8167
  type ReservationError = io.flow.inventory.v0.models.NoInventoryReservationError | io.flow.inventory.v0.models.ExternalApiTimeoutReservationError | io.flow.inventory.v0.models.GenericReservationError;
8164
8168
  }
8165
8169
  declare namespace io.flow.permission.v0.enums {
@@ -10042,10 +10046,9 @@ declare namespace io.flow.checkout.protocol.v0.enums {
10042
10046
  type CheckoutInfoAddressConfigurationFormDataKeyField = 'country';
10043
10047
  type CheckoutInfoAddressPredictionsKeyField = 'input';
10044
10048
  type CheckoutInfoContentKeyField = 'locale';
10045
- type CheckoutInfoDeliveriesFormDataKeyField = 'country' | 'lines';
10049
+ type CheckoutInfoDeliveriesFormDataKeyField = 'country' | 'lines' | 'shipping_country' | 'shipping_province' | 'shipping_postal';
10046
10050
  type CheckoutInfoNationalIdNumberConfigurationFormDataKeyField = 'shipping_country';
10047
10051
  type CheckoutInfoOrderSummaryKeyField = 'shipping_country' | 'shipping_province' | 'shipping_postal' | 'delivery_option_id';
10048
- type CheckoutInfoPaymentAuthorizationParametersKeyField = 'value' | 'currency' | 'shipping_country';
10049
10052
  type CheckoutInfoPaymentDetailsKeyField = 'value' | 'currency' | 'payment_method_id';
10050
10053
  type CheckoutInfoPaymentsFormDataKeyField = 'value' | 'currency' | 'shipping_country';
10051
10054
  type CheckoutInitiatePaymentErrorCode = 'payment_failed' | 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'authorization_amount_exceeds_balance' | 'address_street1_required';
@@ -10271,15 +10274,6 @@ declare namespace io.flow.checkout.protocol.v0.models {
10271
10274
  readonly field: io.flow.checkout.protocol.v0.enums.CheckoutInfoOrderSummaryKeyField;
10272
10275
  readonly value: string;
10273
10276
  }
10274
- interface CheckoutInfoPaymentAuthorizationParameters {
10275
- readonly discriminator: 'checkout_info_payment_authorization_parameters';
10276
- readonly key: io.flow.checkout.protocol.v0.models.CheckoutInfoPaymentAuthorizationParametersKey[];
10277
- readonly data: io.flow.payment.internal.v0.models.AuthorizationParameters[];
10278
- }
10279
- interface CheckoutInfoPaymentAuthorizationParametersKey {
10280
- readonly field: io.flow.checkout.protocol.v0.enums.CheckoutInfoPaymentAuthorizationParametersKeyField;
10281
- readonly value: string;
10282
- }
10283
10277
  interface CheckoutInfoPaymentDetails {
10284
10278
  readonly discriminator: 'checkout_info_payment_details';
10285
10279
  readonly key: io.flow.checkout.protocol.v0.models.CheckoutInfoPaymentDetailsKey[];
@@ -10792,7 +10786,7 @@ declare namespace io.flow.checkout.protocol.v0.unions {
10792
10786
  type CheckoutCreateBySessionResponse = io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionResponseError | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionResponseSuccess;
10793
10787
  type CheckoutFeaturesResponse = io.flow.checkout.protocol.v0.models.CheckoutFeaturesResponseError | io.flow.checkout.protocol.v0.models.CheckoutFeaturesResponseSuccess;
10794
10788
  type CheckoutGetResponse = io.flow.checkout.protocol.v0.models.CheckoutGetResponseError | io.flow.checkout.protocol.v0.models.CheckoutGetResponseSuccess;
10795
- 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.CheckoutInfoNationalIdNumberConfigurationFormData | 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;
10789
+ 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.CheckoutInfoNationalIdNumberConfigurationFormData | 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;
10796
10790
  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.CheckoutInputSetNationalIdNumber | io.flow.checkout.protocol.v0.models.CheckoutInputSetOptinPrompt;
10797
10791
  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;
10798
10792
  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;
@@ -13191,10 +13185,9 @@ declare namespace io.flow.internal.v0.enums {
13191
13185
  type CheckoutInfoAddressConfigurationFormDataKeyField = 'country';
13192
13186
  type CheckoutInfoAddressPredictionsKeyField = 'input';
13193
13187
  type CheckoutInfoContentKeyField = 'locale';
13194
- type CheckoutInfoDeliveriesFormDataKeyField = 'country' | 'lines';
13188
+ type CheckoutInfoDeliveriesFormDataKeyField = 'country' | 'lines' | 'shipping_country' | 'shipping_province' | 'shipping_postal';
13195
13189
  type CheckoutInfoNationalIdNumberConfigurationFormDataKeyField = 'shipping_country';
13196
13190
  type CheckoutInfoOrderSummaryKeyField = 'shipping_country' | 'shipping_province' | 'shipping_postal' | 'delivery_option_id';
13197
- type CheckoutInfoPaymentAuthorizationParametersKeyField = 'value' | 'currency' | 'shipping_country';
13198
13191
  type CheckoutInfoPaymentDetailsKeyField = 'value' | 'currency' | 'payment_method_id';
13199
13192
  type CheckoutInfoPaymentsFormDataKeyField = 'value' | 'currency' | 'shipping_country';
13200
13193
  type CheckoutInitiatePaymentErrorCode = 'payment_failed' | 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'authorization_amount_exceeds_balance' | 'address_street1_required';
@@ -14781,15 +14774,6 @@ declare namespace io.flow.internal.v0.models {
14781
14774
  readonly field: io.flow.internal.v0.enums.CheckoutInfoOrderSummaryKeyField;
14782
14775
  readonly value: string;
14783
14776
  }
14784
- interface CheckoutInfoPaymentAuthorizationParameters {
14785
- readonly discriminator: 'checkout_info_payment_authorization_parameters';
14786
- readonly key: io.flow.internal.v0.models.CheckoutInfoPaymentAuthorizationParametersKey[];
14787
- readonly data: io.flow.payment.internal.v0.models.AuthorizationParameters[];
14788
- }
14789
- interface CheckoutInfoPaymentAuthorizationParametersKey {
14790
- readonly field: io.flow.internal.v0.enums.CheckoutInfoPaymentAuthorizationParametersKeyField;
14791
- readonly value: string;
14792
- }
14793
14777
  interface CheckoutInfoPaymentDetails {
14794
14778
  readonly discriminator: 'checkout_info_payment_details';
14795
14779
  readonly key: io.flow.internal.v0.models.CheckoutInfoPaymentDetailsKey[];
@@ -18169,6 +18153,7 @@ declare namespace io.flow.internal.v0.models {
18169
18153
  readonly organization: string;
18170
18154
  readonly id: string;
18171
18155
  readonly item: io.flow.catalog.v0.models.Item;
18156
+ readonly item_schedule?: io.flow.price.v0.models.PriceBookItemSchedule;
18172
18157
  }
18173
18158
  interface LocalizedItemsExportSettings {
18174
18159
  readonly full_export_schedule?: io.flow.internal.v0.unions.ExportSchedule;
@@ -20563,6 +20548,10 @@ declare namespace io.flow.internal.v0.models {
20563
20548
  readonly discriminator: 'whole_order_action_form';
20564
20549
  readonly action: io.flow.internal.v0.enums.OrderAction;
20565
20550
  }
20551
+ interface XborderOrder {
20552
+ readonly shopify_order: io.flow.shopify.external.v0.models.ShopifyOrder;
20553
+ readonly flow_authorization: io.flow.payment.v0.unions.Authorization;
20554
+ }
20566
20555
  }
20567
20556
  declare namespace io.flow.internal.v0.unions {
20568
20557
  type AuthorizationPayload = io.flow.internal.v0.models.ApplePayAuthorizationPayload | io.flow.internal.v0.models.PaypalAuthorizationPayload;
@@ -20580,7 +20569,7 @@ declare namespace io.flow.internal.v0.unions {
20580
20569
  type CheckoutFeaturesResponse = io.flow.internal.v0.models.CheckoutFeaturesResponseError | io.flow.internal.v0.models.CheckoutFeaturesResponseSuccess;
20581
20570
  type CheckoutForm = io.flow.internal.v0.models.CheckoutOrderForm | io.flow.internal.v0.models.CheckoutOrderNumberForm;
20582
20571
  type CheckoutGetResponse = io.flow.internal.v0.models.CheckoutGetResponseError | io.flow.internal.v0.models.CheckoutGetResponseSuccess;
20583
- 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.CheckoutInfoNationalIdNumberConfigurationFormData | 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;
20572
+ 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.CheckoutInfoNationalIdNumberConfigurationFormData | 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;
20584
20573
  type CheckoutInitiatePaymentForm = io.flow.internal.v0.models.CheckoutInitiateRedirectPaymentForm | io.flow.internal.v0.models.CheckoutInitiateInlinePaymentForm;
20585
20574
  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.CheckoutInputSetNationalIdNumber | io.flow.internal.v0.models.CheckoutInputSetOptinPrompt;
20586
20575
  type CheckoutOrder = io.flow.internal.v0.models.CheckoutOpenOrder | io.flow.internal.v0.models.CheckoutSubmittedOrder;
@@ -21010,9 +20999,6 @@ export declare type CheckoutInfoOptins = io.flow.internal.v0.models.CheckoutInfo
21010
20999
  export declare type CheckoutInfoOrderSummary = io.flow.internal.v0.models.CheckoutInfoOrderSummary;
21011
21000
  export declare type CheckoutInfoOrderSummaryKey = io.flow.internal.v0.models.CheckoutInfoOrderSummaryKey;
21012
21001
  export declare type CheckoutInfoOrderSummaryKeyField = io.flow.internal.v0.enums.CheckoutInfoOrderSummaryKeyField;
21013
- export declare type CheckoutInfoPaymentAuthorizationParameters = io.flow.internal.v0.models.CheckoutInfoPaymentAuthorizationParameters;
21014
- export declare type CheckoutInfoPaymentAuthorizationParametersKey = io.flow.internal.v0.models.CheckoutInfoPaymentAuthorizationParametersKey;
21015
- export declare type CheckoutInfoPaymentAuthorizationParametersKeyField = io.flow.internal.v0.enums.CheckoutInfoPaymentAuthorizationParametersKeyField;
21016
21002
  export declare type CheckoutInfoPaymentDetails = io.flow.internal.v0.models.CheckoutInfoPaymentDetails;
21017
21003
  export declare type CheckoutInfoPaymentDetailsKey = io.flow.internal.v0.models.CheckoutInfoPaymentDetailsKey;
21018
21004
  export declare type CheckoutInfoPaymentDetailsKeyField = io.flow.internal.v0.enums.CheckoutInfoPaymentDetailsKeyField;
@@ -22172,4 +22158,5 @@ export declare type VirtualCardTransaction = io.flow.internal.v0.models.VirtualC
22172
22158
  export declare type WasteElectricalAndElectronicEquipmentComplianceData = io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceData;
22173
22159
  export declare type WasteElectricalAndElectronicEquipmentComplianceForm = io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceForm;
22174
22160
  export declare type WholeOrderActionForm = io.flow.internal.v0.models.WholeOrderActionForm;
22161
+ export declare type XborderOrder = io.flow.internal.v0.models.XborderOrder;
22175
22162
  export {};
package/dist/api.d.ts CHANGED
@@ -3630,6 +3630,10 @@ declare namespace io.flow.v0.models {
3630
3630
  interface InventoryExperienceReference {
3631
3631
  readonly key: string;
3632
3632
  }
3633
+ interface InventoryFollowEcommercePlatform {
3634
+ readonly discriminator: 'inventory_follow_ecommerce_platform';
3635
+ readonly quantity: number;
3636
+ }
3633
3637
  interface InventoryItemReference {
3634
3638
  readonly number: string;
3635
3639
  }
@@ -7588,7 +7592,7 @@ declare namespace io.flow.v0.unions {
7588
7592
  type GatewayAuthenticationDataForm = io.flow.v0.models.StripeAuthenticationDataForm;
7589
7593
  type InlineActionConfiguration = io.flow.v0.models.BrowserInlineActionConfiguration;
7590
7594
  type InputSpecificationLimitation = io.flow.v0.models.InputSpecificationLimitationMax;
7591
- type InventoryStrategy = io.flow.v0.models.InventoryBackorder | io.flow.v0.models.InventoryStock | io.flow.v0.models.InventoryUnlimited;
7595
+ type InventoryStrategy = io.flow.v0.models.InventoryBackorder | io.flow.v0.models.InventoryStock | io.flow.v0.models.InventoryUnlimited | io.flow.v0.models.InventoryFollowEcommercePlatform;
7592
7596
  type LocalizedPrice = io.flow.v0.models.LocalizedItemPrice | io.flow.v0.models.LocalizedItemVat | io.flow.v0.models.LocalizedItemDuty | io.flow.v0.models.LocalizedTotal;
7593
7597
  type OnlineAuthorizationDetails = io.flow.v0.models.CryptopayAuthorizationDetails | io.flow.v0.models.PaypalAuthorizationDetails | io.flow.v0.models.RedirectAuthorizationDetails | io.flow.v0.models.InlineAuthorizationDetails;
7594
7598
  type OrderNumberGenerator = io.flow.v0.models.OrderNumberGeneratorUuid | io.flow.v0.models.OrderNumberGeneratorHexadecimal | io.flow.v0.models.OrderNumberGeneratorPrefixSuffix;
@@ -8181,6 +8185,7 @@ export declare type InventoryCenterReference = io.flow.v0.models.InventoryCenter
8181
8185
  export declare type InventoryCheckResponse = io.flow.v0.models.InventoryCheckResponse;
8182
8186
  export declare type InventoryCheckResponseItem = io.flow.v0.models.InventoryCheckResponseItem;
8183
8187
  export declare type InventoryExperienceReference = io.flow.v0.models.InventoryExperienceReference;
8188
+ export declare type InventoryFollowEcommercePlatform = io.flow.v0.models.InventoryFollowEcommercePlatform;
8184
8189
  export declare type InventoryItemReference = io.flow.v0.models.InventoryItemReference;
8185
8190
  export declare type InventoryRequest = io.flow.v0.models.InventoryRequest;
8186
8191
  export declare type InventoryRequestItem = io.flow.v0.models.InventoryRequestItem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.9.6",
3
+ "version": "11.9.8",
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": "a0d0163b850c3fb93821d750061d1e38fc6cd04b"
28
+ "gitHead": "87d962e02d1d654e2393b80429c7a9a9353cad11"
29
29
  }
@@ -2637,7 +2637,7 @@ declare namespace io.flow.stripe.v0.models {
2637
2637
  readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptions;
2638
2638
  readonly payment_method_types?: string[];
2639
2639
  readonly receipt_email?: string;
2640
- readonly save_payment_method?: boolean;
2640
+ readonly save_payment_method: boolean;
2641
2641
  readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
2642
2642
  }
2643
2643
 
@@ -2658,7 +2658,7 @@ declare namespace io.flow.stripe.v0.models {
2658
2658
  readonly payment_method_types?: string[];
2659
2659
  readonly receipt_email?: string;
2660
2660
  readonly return_url?: string;
2661
- readonly save_payment_method?: boolean;
2661
+ readonly save_payment_method: boolean;
2662
2662
  readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
2663
2663
  readonly statement_descriptor?: string;
2664
2664
  readonly statement_descriptor_suffix?: string;
@@ -2675,7 +2675,7 @@ declare namespace io.flow.stripe.v0.models {
2675
2675
  readonly payment_method?: string;
2676
2676
  readonly payment_method_types?: string[];
2677
2677
  readonly receipt_email?: string;
2678
- readonly save_payment_method?: boolean;
2678
+ readonly save_payment_method: boolean;
2679
2679
  readonly statement_descriptor?: string;
2680
2680
  readonly statement_descriptor_suffix?: string;
2681
2681
  readonly transfer_data?: io.flow.stripe.v0.models.TransferData;
@@ -10431,6 +10431,11 @@ declare namespace io.flow.inventory.v0.models {
10431
10431
  readonly key: string;
10432
10432
  }
10433
10433
 
10434
+ interface InventoryFollowEcommercePlatform {
10435
+ readonly discriminator: 'inventory_follow_ecommerce_platform';
10436
+ readonly quantity: number;
10437
+ }
10438
+
10434
10439
  interface InventoryItemReference {
10435
10440
  readonly number: string;
10436
10441
  }
@@ -10580,7 +10585,8 @@ declare namespace io.flow.inventory.v0.unions {
10580
10585
  type InventoryStrategy =
10581
10586
  | io.flow.inventory.v0.models.InventoryBackorder
10582
10587
  | io.flow.inventory.v0.models.InventoryStock
10583
- | io.flow.inventory.v0.models.InventoryUnlimited;
10588
+ | io.flow.inventory.v0.models.InventoryUnlimited
10589
+ | io.flow.inventory.v0.models.InventoryFollowEcommercePlatform;
10584
10590
  type ReservationError =
10585
10591
  | io.flow.inventory.v0.models.NoInventoryReservationError
10586
10592
  | io.flow.inventory.v0.models.ExternalApiTimeoutReservationError
@@ -12985,17 +12991,18 @@ declare namespace io.flow.checkout.protocol.v0.enums {
12985
12991
  type CheckoutInfoAddressConfigurationFormDataKeyField = 'country';
12986
12992
  type CheckoutInfoAddressPredictionsKeyField = 'input';
12987
12993
  type CheckoutInfoContentKeyField = 'locale';
12988
- type CheckoutInfoDeliveriesFormDataKeyField = 'country' | 'lines';
12994
+ type CheckoutInfoDeliveriesFormDataKeyField =
12995
+ | 'country'
12996
+ | 'lines'
12997
+ | 'shipping_country'
12998
+ | 'shipping_province'
12999
+ | 'shipping_postal';
12989
13000
  type CheckoutInfoNationalIdNumberConfigurationFormDataKeyField = 'shipping_country';
12990
13001
  type CheckoutInfoOrderSummaryKeyField =
12991
13002
  | 'shipping_country'
12992
13003
  | 'shipping_province'
12993
13004
  | 'shipping_postal'
12994
13005
  | 'delivery_option_id';
12995
- type CheckoutInfoPaymentAuthorizationParametersKeyField =
12996
- | 'value'
12997
- | 'currency'
12998
- | 'shipping_country';
12999
13006
  type CheckoutInfoPaymentDetailsKeyField =
13000
13007
  | 'value'
13001
13008
  | 'currency'
@@ -13380,17 +13387,6 @@ declare namespace io.flow.checkout.protocol.v0.models {
13380
13387
  readonly value: string;
13381
13388
  }
13382
13389
 
13383
- interface CheckoutInfoPaymentAuthorizationParameters {
13384
- readonly discriminator: 'checkout_info_payment_authorization_parameters';
13385
- readonly key: io.flow.checkout.protocol.v0.models.CheckoutInfoPaymentAuthorizationParametersKey[];
13386
- readonly data: io.flow.payment.internal.v0.models.AuthorizationParameters[];
13387
- }
13388
-
13389
- interface CheckoutInfoPaymentAuthorizationParametersKey {
13390
- readonly field: io.flow.checkout.protocol.v0.enums.CheckoutInfoPaymentAuthorizationParametersKeyField;
13391
- readonly value: string;
13392
- }
13393
-
13394
13390
  interface CheckoutInfoPaymentDetails {
13395
13391
  readonly discriminator: 'checkout_info_payment_details';
13396
13392
  readonly key: io.flow.checkout.protocol.v0.models.CheckoutInfoPaymentDetailsKey[];
@@ -14044,7 +14040,6 @@ declare namespace io.flow.checkout.protocol.v0.unions {
14044
14040
  | io.flow.checkout.protocol.v0.models.CheckoutInfoNationalIdNumberConfigurationFormData
14045
14041
  | io.flow.checkout.protocol.v0.models.CheckoutInfoOptins
14046
14042
  | io.flow.checkout.protocol.v0.models.CheckoutInfoOrderSummary
14047
- | io.flow.checkout.protocol.v0.models.CheckoutInfoPaymentAuthorizationParameters
14048
14043
  | io.flow.checkout.protocol.v0.models.CheckoutInfoPaymentDetails
14049
14044
  | io.flow.checkout.protocol.v0.models.CheckoutInfoPaymentsFormData
14050
14045
  | io.flow.checkout.protocol.v0.models.CheckoutInfoPublicKey;
@@ -17253,17 +17248,18 @@ declare namespace io.flow.internal.v0.enums {
17253
17248
  type CheckoutInfoAddressConfigurationFormDataKeyField = 'country';
17254
17249
  type CheckoutInfoAddressPredictionsKeyField = 'input';
17255
17250
  type CheckoutInfoContentKeyField = 'locale';
17256
- type CheckoutInfoDeliveriesFormDataKeyField = 'country' | 'lines';
17251
+ type CheckoutInfoDeliveriesFormDataKeyField =
17252
+ | 'country'
17253
+ | 'lines'
17254
+ | 'shipping_country'
17255
+ | 'shipping_province'
17256
+ | 'shipping_postal';
17257
17257
  type CheckoutInfoNationalIdNumberConfigurationFormDataKeyField = 'shipping_country';
17258
17258
  type CheckoutInfoOrderSummaryKeyField =
17259
17259
  | 'shipping_country'
17260
17260
  | 'shipping_province'
17261
17261
  | 'shipping_postal'
17262
17262
  | 'delivery_option_id';
17263
- type CheckoutInfoPaymentAuthorizationParametersKeyField =
17264
- | 'value'
17265
- | 'currency'
17266
- | 'shipping_country';
17267
17263
  type CheckoutInfoPaymentDetailsKeyField =
17268
17264
  | 'value'
17269
17265
  | 'currency'
@@ -19561,17 +19557,6 @@ declare namespace io.flow.internal.v0.models {
19561
19557
  readonly value: string;
19562
19558
  }
19563
19559
 
19564
- interface CheckoutInfoPaymentAuthorizationParameters {
19565
- readonly discriminator: 'checkout_info_payment_authorization_parameters';
19566
- readonly key: io.flow.internal.v0.models.CheckoutInfoPaymentAuthorizationParametersKey[];
19567
- readonly data: io.flow.payment.internal.v0.models.AuthorizationParameters[];
19568
- }
19569
-
19570
- interface CheckoutInfoPaymentAuthorizationParametersKey {
19571
- readonly field: io.flow.internal.v0.enums.CheckoutInfoPaymentAuthorizationParametersKeyField;
19572
- readonly value: string;
19573
- }
19574
-
19575
19560
  interface CheckoutInfoPaymentDetails {
19576
19561
  readonly discriminator: 'checkout_info_payment_details';
19577
19562
  readonly key: io.flow.internal.v0.models.CheckoutInfoPaymentDetailsKey[];
@@ -23514,6 +23499,7 @@ declare namespace io.flow.internal.v0.models {
23514
23499
  readonly organization: string;
23515
23500
  readonly id: string;
23516
23501
  readonly item: io.flow.catalog.v0.models.Item;
23502
+ readonly item_schedule?: io.flow.price.v0.models.PriceBookItemSchedule;
23517
23503
  }
23518
23504
 
23519
23505
  interface LocalizedItemsExportSettings {
@@ -26288,6 +26274,11 @@ declare namespace io.flow.internal.v0.models {
26288
26274
  readonly discriminator: 'whole_order_action_form';
26289
26275
  readonly action: io.flow.internal.v0.enums.OrderAction;
26290
26276
  }
26277
+
26278
+ interface XborderOrder {
26279
+ readonly shopify_order: io.flow.shopify.external.v0.models.ShopifyOrder;
26280
+ readonly flow_authorization: io.flow.payment.v0.unions.Authorization;
26281
+ }
26291
26282
  }
26292
26283
 
26293
26284
  declare namespace io.flow.internal.v0.unions {
@@ -26360,7 +26351,6 @@ declare namespace io.flow.internal.v0.unions {
26360
26351
  | io.flow.internal.v0.models.CheckoutInfoNationalIdNumberConfigurationFormData
26361
26352
  | io.flow.internal.v0.models.CheckoutInfoOptins
26362
26353
  | io.flow.internal.v0.models.CheckoutInfoOrderSummary
26363
- | io.flow.internal.v0.models.CheckoutInfoPaymentAuthorizationParameters
26364
26354
  | io.flow.internal.v0.models.CheckoutInfoPaymentDetails
26365
26355
  | io.flow.internal.v0.models.CheckoutInfoPaymentsFormData
26366
26356
  | io.flow.internal.v0.models.CheckoutInfoPublicKey;
@@ -27297,9 +27287,6 @@ export type CheckoutInfoOptins = io.flow.internal.v0.models.CheckoutInfoOptins;
27297
27287
  export type CheckoutInfoOrderSummary = io.flow.internal.v0.models.CheckoutInfoOrderSummary;
27298
27288
  export type CheckoutInfoOrderSummaryKey = io.flow.internal.v0.models.CheckoutInfoOrderSummaryKey;
27299
27289
  export type CheckoutInfoOrderSummaryKeyField = io.flow.internal.v0.enums.CheckoutInfoOrderSummaryKeyField;
27300
- export type CheckoutInfoPaymentAuthorizationParameters = io.flow.internal.v0.models.CheckoutInfoPaymentAuthorizationParameters;
27301
- export type CheckoutInfoPaymentAuthorizationParametersKey = io.flow.internal.v0.models.CheckoutInfoPaymentAuthorizationParametersKey;
27302
- export type CheckoutInfoPaymentAuthorizationParametersKeyField = io.flow.internal.v0.enums.CheckoutInfoPaymentAuthorizationParametersKeyField;
27303
27290
  export type CheckoutInfoPaymentDetails = io.flow.internal.v0.models.CheckoutInfoPaymentDetails;
27304
27291
  export type CheckoutInfoPaymentDetailsKey = io.flow.internal.v0.models.CheckoutInfoPaymentDetailsKey;
27305
27292
  export type CheckoutInfoPaymentDetailsKeyField = io.flow.internal.v0.enums.CheckoutInfoPaymentDetailsKeyField;
@@ -28459,3 +28446,4 @@ export type VirtualCardTransaction = io.flow.internal.v0.models.VirtualCardTrans
28459
28446
  export type WasteElectricalAndElectronicEquipmentComplianceData = io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceData;
28460
28447
  export type WasteElectricalAndElectronicEquipmentComplianceForm = io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceForm;
28461
28448
  export type WholeOrderActionForm = io.flow.internal.v0.models.WholeOrderActionForm;
28449
+ export type XborderOrder = io.flow.internal.v0.models.XborderOrder;
package/src/api.ts CHANGED
@@ -4784,6 +4784,11 @@ declare namespace io.flow.v0.models {
4784
4784
  readonly key: string;
4785
4785
  }
4786
4786
 
4787
+ interface InventoryFollowEcommercePlatform {
4788
+ readonly discriminator: 'inventory_follow_ecommerce_platform';
4789
+ readonly quantity: number;
4790
+ }
4791
+
4787
4792
  interface InventoryItemReference {
4788
4793
  readonly number: string;
4789
4794
  }
@@ -9614,7 +9619,8 @@ declare namespace io.flow.v0.unions {
9614
9619
  type InventoryStrategy =
9615
9620
  | io.flow.v0.models.InventoryBackorder
9616
9621
  | io.flow.v0.models.InventoryStock
9617
- | io.flow.v0.models.InventoryUnlimited;
9622
+ | io.flow.v0.models.InventoryUnlimited
9623
+ | io.flow.v0.models.InventoryFollowEcommercePlatform;
9618
9624
  type LocalizedPrice =
9619
9625
  | io.flow.v0.models.LocalizedItemPrice
9620
9626
  | io.flow.v0.models.LocalizedItemVat
@@ -10280,6 +10286,7 @@ export type InventoryCenterReference = io.flow.v0.models.InventoryCenterReferenc
10280
10286
  export type InventoryCheckResponse = io.flow.v0.models.InventoryCheckResponse;
10281
10287
  export type InventoryCheckResponseItem = io.flow.v0.models.InventoryCheckResponseItem;
10282
10288
  export type InventoryExperienceReference = io.flow.v0.models.InventoryExperienceReference;
10289
+ export type InventoryFollowEcommercePlatform = io.flow.v0.models.InventoryFollowEcommercePlatform;
10283
10290
  export type InventoryItemReference = io.flow.v0.models.InventoryItemReference;
10284
10291
  export type InventoryRequest = io.flow.v0.models.InventoryRequest;
10285
10292
  export type InventoryRequestItem = io.flow.v0.models.InventoryRequestItem;