@flowio/api-internal-prop-types 9.5.1 → 9.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.
- package/lib/api-internal.d.ts +77 -7
- package/lib/api-internal.js +1 -1
- package/package.json +2 -2
- package/src/api-internal.d.ts +77 -7
- package/src/api-internal.js +99 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-internal-prop-types",
|
|
3
|
-
"version": "9.5.
|
|
3
|
+
"version": "9.5.2",
|
|
4
4
|
"description": "PropType validators that work with internal Flow API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"flow",
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"prop-types": "^15.7.0"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "7e5b1e1b8caff00345f1076d02e54890b2653ccd"
|
|
34
34
|
}
|
package/src/api-internal.d.ts
CHANGED
|
@@ -1438,6 +1438,7 @@ declare namespace io.flow.checkout.protocol.v0.enums {
|
|
|
1438
1438
|
type CheckoutInfoContentKeyField = 'locale';
|
|
1439
1439
|
type CheckoutInfoDeliveriesFormDataKeyField = 'country' | 'lines';
|
|
1440
1440
|
type CheckoutInfoOrderSummaryKeyField = 'shipping_country' | 'shipping_province' | 'shipping_postal' | 'delivery_option_id';
|
|
1441
|
+
type CheckoutInfoPaymentAuthorizationParametersKeyField = 'value' | 'currency';
|
|
1441
1442
|
type CheckoutInfoPaymentDetailsKeyField = 'value' | 'currency' | 'payment_method_id';
|
|
1442
1443
|
type CheckoutSetAddressCityErrorCode = 'address_city_invalid' | 'address_city_required';
|
|
1443
1444
|
type CheckoutSetAddressCountryErrorCode = 'address_country_invalid' | 'address_country_required' | 'country_not_supported';
|
|
@@ -1686,6 +1687,17 @@ declare namespace io.flow.checkout.protocol.v0.models {
|
|
|
1686
1687
|
readonly 'value': string;
|
|
1687
1688
|
}
|
|
1688
1689
|
|
|
1690
|
+
interface CheckoutInfoPaymentAuthorizationParameters {
|
|
1691
|
+
readonly 'discriminator': 'checkout_info_payment_authorization_parameters';
|
|
1692
|
+
readonly 'key': io.flow.checkout.protocol.v0.models.CheckoutInfoPaymentAuthorizationParametersKey[];
|
|
1693
|
+
readonly 'data': io.flow.payment.internal.v0.models.AuthorizationParameters[];
|
|
1694
|
+
}
|
|
1695
|
+
|
|
1696
|
+
interface CheckoutInfoPaymentAuthorizationParametersKey {
|
|
1697
|
+
readonly 'field': io.flow.checkout.protocol.v0.enums.CheckoutInfoPaymentAuthorizationParametersKeyField;
|
|
1698
|
+
readonly 'value': string;
|
|
1699
|
+
}
|
|
1700
|
+
|
|
1689
1701
|
interface CheckoutInfoPaymentDetails {
|
|
1690
1702
|
readonly 'discriminator': 'checkout_info_payment_details';
|
|
1691
1703
|
readonly 'key': io.flow.checkout.protocol.v0.models.CheckoutInfoPaymentDetailsKey[];
|
|
@@ -2220,7 +2232,7 @@ declare namespace io.flow.checkout.protocol.v0.unions {
|
|
|
2220
2232
|
type CheckoutCreateBySessionResponse = (io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionResponseError | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionResponseSuccess);
|
|
2221
2233
|
type CheckoutFeaturesResponse = (io.flow.checkout.protocol.v0.models.CheckoutFeaturesResponseError | io.flow.checkout.protocol.v0.models.CheckoutFeaturesResponseSuccess);
|
|
2222
2234
|
type CheckoutGetResponse = (io.flow.checkout.protocol.v0.models.CheckoutGetResponseError | io.flow.checkout.protocol.v0.models.CheckoutGetResponseSuccess);
|
|
2223
|
-
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);
|
|
2235
|
+
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);
|
|
2224
2236
|
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);
|
|
2225
2237
|
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);
|
|
2226
2238
|
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);
|
|
@@ -3625,6 +3637,8 @@ declare namespace io.flow.label.v0.models {
|
|
|
3625
3637
|
readonly 'order_identifier'?: string;
|
|
3626
3638
|
readonly 'fulfillment_key'?: string;
|
|
3627
3639
|
readonly 'shipment_recipient': io.flow.label.v0.enums.ShipmentRecipient;
|
|
3640
|
+
readonly 'created_at'?: string;
|
|
3641
|
+
readonly 'updated_at'?: string;
|
|
3628
3642
|
}
|
|
3629
3643
|
|
|
3630
3644
|
interface ShippingLabelDocument {
|
|
@@ -10514,6 +10528,40 @@ declare namespace io.flow.billing.internal.v0.models {
|
|
|
10514
10528
|
readonly 'statement': io.flow.billing.v0.models.BillingStatementReference;
|
|
10515
10529
|
}
|
|
10516
10530
|
|
|
10531
|
+
interface PlatformFeeChange {
|
|
10532
|
+
readonly 'organization_id': string;
|
|
10533
|
+
readonly 'key': string;
|
|
10534
|
+
readonly 'platform_fee': io.flow.billing.internal.v0.unions.PlatformFee;
|
|
10535
|
+
readonly 'starts_at': string;
|
|
10536
|
+
}
|
|
10537
|
+
|
|
10538
|
+
interface PlatformFeeDisabled {
|
|
10539
|
+
readonly 'discriminator': 'platform_fee_disabled';
|
|
10540
|
+
readonly 'attributes'?: Record<string, string>;
|
|
10541
|
+
}
|
|
10542
|
+
|
|
10543
|
+
interface PlatformFeeFlat {
|
|
10544
|
+
readonly 'discriminator': 'platform_fee_flat';
|
|
10545
|
+
readonly 'amount': number;
|
|
10546
|
+
readonly 'currency': string;
|
|
10547
|
+
readonly 'frequency': string;
|
|
10548
|
+
}
|
|
10549
|
+
|
|
10550
|
+
interface PlatformFeePause {
|
|
10551
|
+
readonly 'discriminator': 'platform_fee_pause';
|
|
10552
|
+
readonly 'attributes'?: Record<string, string>;
|
|
10553
|
+
}
|
|
10554
|
+
|
|
10555
|
+
interface PlatformFeePercentage {
|
|
10556
|
+
readonly 'discriminator': 'platform_fee_percentage';
|
|
10557
|
+
readonly 'tiers': io.flow.billing.internal.v0.models.PlatformFeePercentageTier[];
|
|
10558
|
+
}
|
|
10559
|
+
|
|
10560
|
+
interface PlatformFeePercentageTier {
|
|
10561
|
+
readonly 'minimum_amount_base': number;
|
|
10562
|
+
readonly 'rate': number;
|
|
10563
|
+
}
|
|
10564
|
+
|
|
10517
10565
|
interface ProcessingTransaction {
|
|
10518
10566
|
readonly 'discriminator': 'processing_transaction';
|
|
10519
10567
|
readonly 'id': string;
|
|
@@ -10601,6 +10649,7 @@ declare namespace io.flow.billing.internal.v0.models {
|
|
|
10601
10649
|
}
|
|
10602
10650
|
|
|
10603
10651
|
declare namespace io.flow.billing.internal.v0.unions {
|
|
10652
|
+
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);
|
|
10604
10653
|
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);
|
|
10605
10654
|
}
|
|
10606
10655
|
|
|
@@ -14910,6 +14959,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
14910
14959
|
type CheckoutInfoContentKeyField = 'locale';
|
|
14911
14960
|
type CheckoutInfoDeliveriesFormDataKeyField = 'country' | 'lines';
|
|
14912
14961
|
type CheckoutInfoOrderSummaryKeyField = 'shipping_country' | 'shipping_province' | 'shipping_postal' | 'delivery_option_id';
|
|
14962
|
+
type CheckoutInfoPaymentAuthorizationParametersKeyField = 'value' | 'currency';
|
|
14913
14963
|
type CheckoutInfoPaymentDetailsKeyField = 'value' | 'currency' | 'payment_method_id';
|
|
14914
14964
|
type CheckoutPaymentGroupType = 'credit' | 'debit' | 'all_cards';
|
|
14915
14965
|
type CheckoutPromptBehavior = 'always' | 'incomplete';
|
|
@@ -16694,6 +16744,17 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16694
16744
|
readonly 'value': string;
|
|
16695
16745
|
}
|
|
16696
16746
|
|
|
16747
|
+
interface CheckoutInfoPaymentAuthorizationParameters {
|
|
16748
|
+
readonly 'discriminator': 'checkout_info_payment_authorization_parameters';
|
|
16749
|
+
readonly 'key': io.flow.internal.v0.models.CheckoutInfoPaymentAuthorizationParametersKey[];
|
|
16750
|
+
readonly 'data': io.flow.payment.internal.v0.models.AuthorizationParameters[];
|
|
16751
|
+
}
|
|
16752
|
+
|
|
16753
|
+
interface CheckoutInfoPaymentAuthorizationParametersKey {
|
|
16754
|
+
readonly 'field': io.flow.internal.v0.enums.CheckoutInfoPaymentAuthorizationParametersKeyField;
|
|
16755
|
+
readonly 'value': string;
|
|
16756
|
+
}
|
|
16757
|
+
|
|
16697
16758
|
interface CheckoutInfoPaymentDetails {
|
|
16698
16759
|
readonly 'discriminator': 'checkout_info_payment_details';
|
|
16699
16760
|
readonly 'key': io.flow.internal.v0.models.CheckoutInfoPaymentDetailsKey[];
|
|
@@ -21354,7 +21415,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21354
21415
|
readonly 'key': string;
|
|
21355
21416
|
readonly 'platform_fee': io.flow.internal.v0.unions.PlatformFee;
|
|
21356
21417
|
readonly 'starts_at': string;
|
|
21357
|
-
|
|
21418
|
+
}
|
|
21419
|
+
|
|
21420
|
+
interface PlatformFeeDisabled {
|
|
21421
|
+
readonly 'discriminator': 'platform_fee_disabled';
|
|
21422
|
+
readonly 'attributes'?: Record<string, string>;
|
|
21358
21423
|
}
|
|
21359
21424
|
|
|
21360
21425
|
interface PlatformFeeFlat {
|
|
@@ -21364,8 +21429,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21364
21429
|
readonly 'frequency': string;
|
|
21365
21430
|
}
|
|
21366
21431
|
|
|
21367
|
-
interface
|
|
21368
|
-
readonly 'discriminator': '
|
|
21432
|
+
interface PlatformFeePause {
|
|
21433
|
+
readonly 'discriminator': 'platform_fee_pause';
|
|
21369
21434
|
readonly 'attributes'?: Record<string, string>;
|
|
21370
21435
|
}
|
|
21371
21436
|
|
|
@@ -22027,6 +22092,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22027
22092
|
|
|
22028
22093
|
interface ShopForm {
|
|
22029
22094
|
readonly 'organization_id': string;
|
|
22095
|
+
readonly 'token'?: string;
|
|
22030
22096
|
}
|
|
22031
22097
|
|
|
22032
22098
|
interface ShopVersion {
|
|
@@ -23108,7 +23174,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
23108
23174
|
type CheckoutFeaturesResponse = (io.flow.internal.v0.models.CheckoutFeaturesResponseError | io.flow.internal.v0.models.CheckoutFeaturesResponseSuccess);
|
|
23109
23175
|
type CheckoutForm = (io.flow.internal.v0.models.CheckoutOrderForm | io.flow.internal.v0.models.CheckoutOrderNumberForm);
|
|
23110
23176
|
type CheckoutGetResponse = (io.flow.internal.v0.models.CheckoutGetResponseError | io.flow.internal.v0.models.CheckoutGetResponseSuccess);
|
|
23111
|
-
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);
|
|
23177
|
+
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);
|
|
23112
23178
|
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);
|
|
23113
23179
|
type CheckoutOrder = (io.flow.internal.v0.models.CheckoutOpenOrder | io.flow.internal.v0.models.CheckoutSubmittedOrder);
|
|
23114
23180
|
type CheckoutOrderDeliveryOption = (io.flow.internal.v0.models.CheckoutOrderDigitalDeliveryOption | io.flow.internal.v0.models.CheckoutOrderPhysicalDeliveryOption);
|
|
@@ -23188,7 +23254,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
23188
23254
|
type OrderActionForm = (io.flow.internal.v0.models.WholeOrderActionForm | io.flow.internal.v0.models.LineActionForm | io.flow.internal.v0.models.FulfillmentActionForm);
|
|
23189
23255
|
type PaymentRedirect = (io.flow.internal.v0.models.OnlineAuthorizationCompleted | io.flow.internal.v0.models.RedirectActionCompleted);
|
|
23190
23256
|
type PaymentSummaryDetails = (io.flow.internal.v0.models.SearchAuthorization);
|
|
23191
|
-
type PlatformFee = (io.flow.internal.v0.models.
|
|
23257
|
+
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);
|
|
23192
23258
|
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);
|
|
23193
23259
|
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);
|
|
23194
23260
|
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);
|
|
@@ -23249,6 +23315,7 @@ export const checkoutInfoAddressPredictionsKeyField: PropTypes.Requireable<io.fl
|
|
|
23249
23315
|
export const checkoutInfoContentKeyField: PropTypes.Requireable<io.flow.internal.v0.enums.CheckoutInfoContentKeyField>;
|
|
23250
23316
|
export const checkoutInfoDeliveriesFormDataKeyField: PropTypes.Requireable<io.flow.internal.v0.enums.CheckoutInfoDeliveriesFormDataKeyField>;
|
|
23251
23317
|
export const checkoutInfoOrderSummaryKeyField: PropTypes.Requireable<io.flow.internal.v0.enums.CheckoutInfoOrderSummaryKeyField>;
|
|
23318
|
+
export const checkoutInfoPaymentAuthorizationParametersKeyField: PropTypes.Requireable<io.flow.internal.v0.enums.CheckoutInfoPaymentAuthorizationParametersKeyField>;
|
|
23252
23319
|
export const checkoutInfoPaymentDetailsKeyField: PropTypes.Requireable<io.flow.internal.v0.enums.CheckoutInfoPaymentDetailsKeyField>;
|
|
23253
23320
|
export const checkoutPaymentGroupType: PropTypes.Requireable<io.flow.internal.v0.enums.CheckoutPaymentGroupType>;
|
|
23254
23321
|
export const checkoutPromptBehavior: PropTypes.Requireable<io.flow.internal.v0.enums.CheckoutPromptBehavior>;
|
|
@@ -23629,6 +23696,8 @@ export const checkoutInfoMustUseOrder: PropTypes.Requireable<io.flow.internal.v0
|
|
|
23629
23696
|
export const checkoutInfoOptins: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutInfoOptins>;
|
|
23630
23697
|
export const checkoutInfoOrderSummary: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutInfoOrderSummary>;
|
|
23631
23698
|
export const checkoutInfoOrderSummaryKey: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutInfoOrderSummaryKey>;
|
|
23699
|
+
export const checkoutInfoPaymentAuthorizationParameters: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutInfoPaymentAuthorizationParameters>;
|
|
23700
|
+
export const checkoutInfoPaymentAuthorizationParametersKey: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutInfoPaymentAuthorizationParametersKey>;
|
|
23632
23701
|
export const checkoutInfoPaymentDetails: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutInfoPaymentDetails>;
|
|
23633
23702
|
export const checkoutInfoPaymentDetailsKey: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutInfoPaymentDetailsKey>;
|
|
23634
23703
|
export const checkoutInfoPaymentsFormData: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutInfoPaymentsFormData>;
|
|
@@ -24264,8 +24333,9 @@ export const phraseClassified: PropTypes.Requireable<io.flow.internal.v0.models.
|
|
|
24264
24333
|
export const phrasePropagated: PropTypes.Requireable<io.flow.internal.v0.models.PhrasePropagated>;
|
|
24265
24334
|
export const pingRequestForm: PropTypes.Requireable<io.flow.internal.v0.models.PingRequestForm>;
|
|
24266
24335
|
export const platformFeeChange: PropTypes.Requireable<io.flow.internal.v0.models.PlatformFeeChange>;
|
|
24336
|
+
export const platformFeeDisabled: PropTypes.Requireable<io.flow.internal.v0.models.PlatformFeeDisabled>;
|
|
24267
24337
|
export const platformFeeFlat: PropTypes.Requireable<io.flow.internal.v0.models.PlatformFeeFlat>;
|
|
24268
|
-
export const
|
|
24338
|
+
export const platformFeePause: PropTypes.Requireable<io.flow.internal.v0.models.PlatformFeePause>;
|
|
24269
24339
|
export const platformFeePercentage: PropTypes.Requireable<io.flow.internal.v0.models.PlatformFeePercentage>;
|
|
24270
24340
|
export const platformFeePercentageTier: PropTypes.Requireable<io.flow.internal.v0.models.PlatformFeePercentageTier>;
|
|
24271
24341
|
export const prediction: PropTypes.Requireable<io.flow.internal.v0.models.Prediction>;
|
package/src/api-internal.js
CHANGED
|
@@ -1596,6 +1596,47 @@ T['io.flow.harmonization.internal.v0.models.classification_product'] = PropTypes
|
|
|
1596
1596
|
next_id: T['io.flow.harmonization.internal.v0.models.classification_product_id'],
|
|
1597
1597
|
});
|
|
1598
1598
|
|
|
1599
|
+
T['io.flow.billing.internal.v0.models.platform_fee_percentage_tier'] = PropTypes.exact({
|
|
1600
|
+
minimum_amount_base: PropTypes.number.isRequired,
|
|
1601
|
+
rate: PropTypes.number.isRequired,
|
|
1602
|
+
});
|
|
1603
|
+
|
|
1604
|
+
T['io.flow.billing.internal.v0.models.platform_fee_disabled'] = PropTypes.exact({
|
|
1605
|
+
discriminator: PropTypes.oneOf(['platform_fee_disabled']).isRequired,
|
|
1606
|
+
attributes: PropTypes.objectOf(PropTypes.string),
|
|
1607
|
+
});
|
|
1608
|
+
|
|
1609
|
+
T['io.flow.billing.internal.v0.models.platform_fee_percentage'] = PropTypes.exact({
|
|
1610
|
+
discriminator: PropTypes.oneOf(['platform_fee_percentage']).isRequired,
|
|
1611
|
+
tiers: PropTypes.arrayOf(T['io.flow.billing.internal.v0.models.platform_fee_percentage_tier']).isRequired,
|
|
1612
|
+
});
|
|
1613
|
+
|
|
1614
|
+
T['io.flow.billing.internal.v0.models.platform_fee_flat'] = PropTypes.exact({
|
|
1615
|
+
discriminator: PropTypes.oneOf(['platform_fee_flat']).isRequired,
|
|
1616
|
+
amount: PropTypes.number.isRequired,
|
|
1617
|
+
currency: PropTypes.string.isRequired,
|
|
1618
|
+
frequency: PropTypes.string.isRequired,
|
|
1619
|
+
});
|
|
1620
|
+
|
|
1621
|
+
T['io.flow.billing.internal.v0.models.platform_fee_pause'] = PropTypes.exact({
|
|
1622
|
+
discriminator: PropTypes.oneOf(['platform_fee_pause']).isRequired,
|
|
1623
|
+
attributes: PropTypes.objectOf(PropTypes.string),
|
|
1624
|
+
});
|
|
1625
|
+
|
|
1626
|
+
T['io.flow.billing.internal.v0.unions.platform_fee'] = PropTypes.oneOfType([
|
|
1627
|
+
T['io.flow.billing.internal.v0.models.platform_fee_pause'],
|
|
1628
|
+
T['io.flow.billing.internal.v0.models.platform_fee_flat'],
|
|
1629
|
+
T['io.flow.billing.internal.v0.models.platform_fee_percentage'],
|
|
1630
|
+
T['io.flow.billing.internal.v0.models.platform_fee_disabled'],
|
|
1631
|
+
]);
|
|
1632
|
+
|
|
1633
|
+
T['io.flow.billing.internal.v0.models.platform_fee_change'] = PropTypes.exact({
|
|
1634
|
+
organization_id: PropTypes.string.isRequired,
|
|
1635
|
+
key: PropTypes.string.isRequired,
|
|
1636
|
+
platform_fee: T['io.flow.billing.internal.v0.unions.platform_fee'].isRequired,
|
|
1637
|
+
starts_at: PropTypes.string.isRequired,
|
|
1638
|
+
});
|
|
1639
|
+
|
|
1599
1640
|
T['io.flow.billing.internal.v0.models.transaction_reference'] = PropTypes.exact({
|
|
1600
1641
|
id: PropTypes.string.isRequired,
|
|
1601
1642
|
});
|
|
@@ -7296,6 +7337,13 @@ T['io.flow.checkout.protocol.v0.models.checkout_info_payment_details_key'] = Pro
|
|
|
7296
7337
|
value: PropTypes.string.isRequired,
|
|
7297
7338
|
});
|
|
7298
7339
|
|
|
7340
|
+
T['io.flow.checkout.protocol.v0.enums.checkout_info_payment_authorization_parameters_key_field'] = PropTypes.oneOf(['value', 'currency']);
|
|
7341
|
+
|
|
7342
|
+
T['io.flow.checkout.protocol.v0.models.checkout_info_payment_authorization_parameters_key'] = PropTypes.exact({
|
|
7343
|
+
field: T['io.flow.checkout.protocol.v0.enums.checkout_info_payment_authorization_parameters_key_field'].isRequired,
|
|
7344
|
+
value: PropTypes.string.isRequired,
|
|
7345
|
+
});
|
|
7346
|
+
|
|
7299
7347
|
T['io.flow.checkout.protocol.v0.enums.checkout_info_order_summary_key_field'] = PropTypes.oneOf([
|
|
7300
7348
|
'shipping_country',
|
|
7301
7349
|
'shipping_province',
|
|
@@ -10591,6 +10639,11 @@ T['io.flow.internal.v0.models.platform_fee_percentage_tier'] = PropTypes.exact({
|
|
|
10591
10639
|
rate: PropTypes.number.isRequired,
|
|
10592
10640
|
});
|
|
10593
10641
|
|
|
10642
|
+
T['io.flow.internal.v0.models.platform_fee_disabled'] = PropTypes.exact({
|
|
10643
|
+
discriminator: PropTypes.oneOf(['platform_fee_disabled']).isRequired,
|
|
10644
|
+
attributes: PropTypes.objectOf(PropTypes.string),
|
|
10645
|
+
});
|
|
10646
|
+
|
|
10594
10647
|
T['io.flow.internal.v0.models.platform_fee_percentage'] = PropTypes.exact({
|
|
10595
10648
|
discriminator: PropTypes.oneOf(['platform_fee_percentage']).isRequired,
|
|
10596
10649
|
tiers: PropTypes.arrayOf(T['io.flow.internal.v0.models.platform_fee_percentage_tier']).isRequired,
|
|
@@ -10603,15 +10656,16 @@ T['io.flow.internal.v0.models.platform_fee_flat'] = PropTypes.exact({
|
|
|
10603
10656
|
frequency: PropTypes.string.isRequired,
|
|
10604
10657
|
});
|
|
10605
10658
|
|
|
10606
|
-
T['io.flow.internal.v0.models.
|
|
10607
|
-
discriminator: PropTypes.oneOf(['
|
|
10659
|
+
T['io.flow.internal.v0.models.platform_fee_pause'] = PropTypes.exact({
|
|
10660
|
+
discriminator: PropTypes.oneOf(['platform_fee_pause']).isRequired,
|
|
10608
10661
|
attributes: PropTypes.objectOf(PropTypes.string),
|
|
10609
10662
|
});
|
|
10610
10663
|
|
|
10611
10664
|
T['io.flow.internal.v0.unions.platform_fee'] = PropTypes.oneOfType([
|
|
10612
|
-
T['io.flow.internal.v0.models.
|
|
10665
|
+
T['io.flow.internal.v0.models.platform_fee_pause'],
|
|
10613
10666
|
T['io.flow.internal.v0.models.platform_fee_flat'],
|
|
10614
10667
|
T['io.flow.internal.v0.models.platform_fee_percentage'],
|
|
10668
|
+
T['io.flow.internal.v0.models.platform_fee_disabled'],
|
|
10615
10669
|
]);
|
|
10616
10670
|
|
|
10617
10671
|
T['io.flow.internal.v0.models.platform_fee_change'] = PropTypes.exact({
|
|
@@ -10619,7 +10673,6 @@ T['io.flow.internal.v0.models.platform_fee_change'] = PropTypes.exact({
|
|
|
10619
10673
|
key: PropTypes.string.isRequired,
|
|
10620
10674
|
platform_fee: T['io.flow.internal.v0.unions.platform_fee'].isRequired,
|
|
10621
10675
|
starts_at: PropTypes.string.isRequired,
|
|
10622
|
-
ends_at: PropTypes.string,
|
|
10623
10676
|
});
|
|
10624
10677
|
|
|
10625
10678
|
T['io.flow.internal.v0.models.transaction_reference'] = PropTypes.exact({
|
|
@@ -14412,11 +14465,6 @@ T['io.flow.experience.v0.unions.payment_method_tag'] = PropTypes.oneOfType([Prop
|
|
|
14412
14465
|
value: T['io.flow.experience.v0.enums.experience_payment_method_tag'],
|
|
14413
14466
|
})]);
|
|
14414
14467
|
|
|
14415
|
-
T['io.flow.payment.internal.v0.models.authorization_parameters'] = PropTypes.exact({
|
|
14416
|
-
method: PropTypes.string.isRequired,
|
|
14417
|
-
parameters: PropTypes.object.isRequired,
|
|
14418
|
-
});
|
|
14419
|
-
|
|
14420
14468
|
T['io.flow.internal.v0.models.checkout_order_promotion_free_shipping'] = PropTypes.exact({
|
|
14421
14469
|
discriminator: PropTypes.oneOf(['free_shipping']).isRequired,
|
|
14422
14470
|
id: PropTypes.string.isRequired,
|
|
@@ -14945,6 +14993,38 @@ T['io.flow.internal.v0.models.checkout_info_payment_details'] = PropTypes.exact(
|
|
|
14945
14993
|
data: T['io.flow.payment.v0.unions.online_authorization_details'].isRequired,
|
|
14946
14994
|
});
|
|
14947
14995
|
|
|
14996
|
+
T['io.flow.internal.v0.enums.checkout_info_payment_authorization_parameters_key_field'] = PropTypes.oneOf(['value', 'currency']);
|
|
14997
|
+
|
|
14998
|
+
T['io.flow.payment.internal.v0.models.authorization_parameters'] = PropTypes.exact({
|
|
14999
|
+
method: PropTypes.string.isRequired,
|
|
15000
|
+
parameters: PropTypes.object.isRequired,
|
|
15001
|
+
});
|
|
15002
|
+
|
|
15003
|
+
T['io.flow.checkout.protocol.v0.models.checkout_info_payment_authorization_parameters'] = PropTypes.exact({
|
|
15004
|
+
discriminator: PropTypes.oneOf(['checkout_info_payment_authorization_parameters']).isRequired,
|
|
15005
|
+
|
|
15006
|
+
key: PropTypes.arrayOf(
|
|
15007
|
+
T['io.flow.checkout.protocol.v0.models.checkout_info_payment_authorization_parameters_key'],
|
|
15008
|
+
).isRequired,
|
|
15009
|
+
|
|
15010
|
+
data: PropTypes.arrayOf(T['io.flow.payment.internal.v0.models.authorization_parameters']).isRequired,
|
|
15011
|
+
});
|
|
15012
|
+
|
|
15013
|
+
T['io.flow.internal.v0.models.checkout_info_payment_authorization_parameters_key'] = PropTypes.exact({
|
|
15014
|
+
field: T['io.flow.internal.v0.enums.checkout_info_payment_authorization_parameters_key_field'].isRequired,
|
|
15015
|
+
value: PropTypes.string.isRequired,
|
|
15016
|
+
});
|
|
15017
|
+
|
|
15018
|
+
T['io.flow.internal.v0.models.checkout_info_payment_authorization_parameters'] = PropTypes.exact({
|
|
15019
|
+
discriminator: PropTypes.oneOf(['checkout_info_payment_authorization_parameters']).isRequired,
|
|
15020
|
+
|
|
15021
|
+
key: PropTypes.arrayOf(
|
|
15022
|
+
T['io.flow.internal.v0.models.checkout_info_payment_authorization_parameters_key'],
|
|
15023
|
+
).isRequired,
|
|
15024
|
+
|
|
15025
|
+
data: PropTypes.arrayOf(T['io.flow.payment.internal.v0.models.authorization_parameters']).isRequired,
|
|
15026
|
+
});
|
|
15027
|
+
|
|
14948
15028
|
T['io.flow.checkout.backend.v0.unions.checkout_price'] = PropTypes.oneOfType([
|
|
14949
15029
|
T['io.flow.checkout.backend.v0.models.checkout_price_free'],
|
|
14950
15030
|
T['io.flow.checkout.backend.v0.models.checkout_price_not_yet_known'],
|
|
@@ -21828,6 +21908,8 @@ T['io.flow.label.v0.models.shipping_label'] = PropTypes.exact({
|
|
|
21828
21908
|
order_identifier: PropTypes.string,
|
|
21829
21909
|
fulfillment_key: PropTypes.string,
|
|
21830
21910
|
shipment_recipient: T['io.flow.label.v0.enums.shipment_recipient'].isRequired,
|
|
21911
|
+
created_at: PropTypes.string,
|
|
21912
|
+
updated_at: PropTypes.string,
|
|
21831
21913
|
});
|
|
21832
21914
|
|
|
21833
21915
|
T['io.flow.label.v0.models.shipping_label_version'] = PropTypes.exact({
|
|
@@ -22578,6 +22660,7 @@ T['io.flow.checkout.protocol.v0.unions.checkout_info'] = PropTypes.oneOfType([
|
|
|
22578
22660
|
T['io.flow.checkout.protocol.v0.models.checkout_info_must_use_order'],
|
|
22579
22661
|
T['io.flow.checkout.protocol.v0.models.checkout_info_optins'],
|
|
22580
22662
|
T['io.flow.checkout.protocol.v0.models.checkout_info_order_summary'],
|
|
22663
|
+
T['io.flow.checkout.protocol.v0.models.checkout_info_payment_authorization_parameters'],
|
|
22581
22664
|
T['io.flow.checkout.protocol.v0.models.checkout_info_payment_details'],
|
|
22582
22665
|
T['io.flow.checkout.protocol.v0.models.checkout_info_payments_form_data'],
|
|
22583
22666
|
T['io.flow.checkout.protocol.v0.models.checkout_info_public_key'],
|
|
@@ -22654,6 +22737,7 @@ T['io.flow.internal.v0.unions.checkout_info'] = PropTypes.oneOfType([
|
|
|
22654
22737
|
T['io.flow.internal.v0.models.checkout_info_must_use_order'],
|
|
22655
22738
|
T['io.flow.internal.v0.models.checkout_info_optins'],
|
|
22656
22739
|
T['io.flow.internal.v0.models.checkout_info_order_summary'],
|
|
22740
|
+
T['io.flow.internal.v0.models.checkout_info_payment_authorization_parameters'],
|
|
22657
22741
|
T['io.flow.internal.v0.models.checkout_info_payment_details'],
|
|
22658
22742
|
T['io.flow.internal.v0.models.checkout_info_payments_form_data'],
|
|
22659
22743
|
T['io.flow.internal.v0.models.checkout_info_public_key'],
|
|
@@ -25044,6 +25128,7 @@ T['io.flow.internal.v0.models.session_rollout_form'] = PropTypes.exact({
|
|
|
25044
25128
|
|
|
25045
25129
|
T['io.flow.internal.v0.models.shop_form'] = PropTypes.exact({
|
|
25046
25130
|
organization_id: PropTypes.string.isRequired,
|
|
25131
|
+
token: PropTypes.string,
|
|
25047
25132
|
});
|
|
25048
25133
|
|
|
25049
25134
|
T['io.flow.internal.v0.models.shopify_code_form'] = PropTypes.exact({
|
|
@@ -26852,6 +26937,9 @@ export const checkoutInfoOptins = T['io.flow.internal.v0.models.checkout_info_op
|
|
|
26852
26937
|
export const checkoutInfoOrderSummary = T['io.flow.internal.v0.models.checkout_info_order_summary'];
|
|
26853
26938
|
export const checkoutInfoOrderSummaryKey = T['io.flow.internal.v0.models.checkout_info_order_summary_key'];
|
|
26854
26939
|
export const checkoutInfoOrderSummaryKeyField = T['io.flow.internal.v0.enums.checkout_info_order_summary_key_field'];
|
|
26940
|
+
export const checkoutInfoPaymentAuthorizationParameters = T['io.flow.internal.v0.models.checkout_info_payment_authorization_parameters'];
|
|
26941
|
+
export const checkoutInfoPaymentAuthorizationParametersKey = T['io.flow.internal.v0.models.checkout_info_payment_authorization_parameters_key'];
|
|
26942
|
+
export const checkoutInfoPaymentAuthorizationParametersKeyField = T['io.flow.internal.v0.enums.checkout_info_payment_authorization_parameters_key_field'];
|
|
26855
26943
|
export const checkoutInfoPaymentDetails = T['io.flow.internal.v0.models.checkout_info_payment_details'];
|
|
26856
26944
|
export const checkoutInfoPaymentDetailsKey = T['io.flow.internal.v0.models.checkout_info_payment_details_key'];
|
|
26857
26945
|
export const checkoutInfoPaymentDetailsKeyField = T['io.flow.internal.v0.enums.checkout_info_payment_details_key_field'];
|
|
@@ -27648,8 +27736,9 @@ export const phrasePropagated = T['io.flow.internal.v0.models.phrase_propagated'
|
|
|
27648
27736
|
export const pingRequestForm = T['io.flow.internal.v0.models.ping_request_form'];
|
|
27649
27737
|
export const platformFee = T['io.flow.internal.v0.unions.platform_fee'];
|
|
27650
27738
|
export const platformFeeChange = T['io.flow.internal.v0.models.platform_fee_change'];
|
|
27739
|
+
export const platformFeeDisabled = T['io.flow.internal.v0.models.platform_fee_disabled'];
|
|
27651
27740
|
export const platformFeeFlat = T['io.flow.internal.v0.models.platform_fee_flat'];
|
|
27652
|
-
export const
|
|
27741
|
+
export const platformFeePause = T['io.flow.internal.v0.models.platform_fee_pause'];
|
|
27653
27742
|
export const platformFeePercentage = T['io.flow.internal.v0.models.platform_fee_percentage'];
|
|
27654
27743
|
export const platformFeePercentageTier = T['io.flow.internal.v0.models.platform_fee_percentage_tier'];
|
|
27655
27744
|
export const prediction = T['io.flow.internal.v0.models.prediction'];
|