@flowio/api-internal-prop-types 9.14.0 → 9.15.0
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 +30 -2
- package/lib/api-internal.js +1 -1
- package/package.json +2 -2
- package/src/api-internal.d.ts +30 -2
- package/src/api-internal.js +31 -0
package/lib/api-internal.d.ts
CHANGED
|
@@ -277,6 +277,7 @@ declare namespace io.flow.experience.v0.enums {
|
|
|
277
277
|
type OrderRefundSummaryPartialCharged = 'per_item' | 'for_order' | 'by_value_percentage' | 'by_quantity_percentage';
|
|
278
278
|
type OrderStatus = 'open' | 'submitted';
|
|
279
279
|
type OrderStorage = 'do_not_persist' | 'persist';
|
|
280
|
+
type OrderType = 'standard' | 'replacement';
|
|
280
281
|
type OrganizationPaymentMethodTag = 'deny';
|
|
281
282
|
type PaymentMethodRuleContentKey = 'description';
|
|
282
283
|
type PriceFacetBoundary = 'min' | 'max';
|
|
@@ -815,6 +816,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
815
816
|
readonly 'discriminator': 'order';
|
|
816
817
|
readonly 'id': string;
|
|
817
818
|
readonly 'number': string;
|
|
819
|
+
readonly 'order_type'?: io.flow.experience.v0.enums.OrderType;
|
|
818
820
|
readonly 'merchant_of_record'?: io.flow.common.v0.enums.OrderMerchantOfRecord;
|
|
819
821
|
readonly 'experience'?: io.flow.experience.v0.unions.ExpandableExperience;
|
|
820
822
|
readonly 'customer': io.flow.common.v0.models.OrderCustomer;
|
|
@@ -1015,6 +1017,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
1015
1017
|
}
|
|
1016
1018
|
|
|
1017
1019
|
interface OrderPutForm {
|
|
1020
|
+
readonly 'order_type'?: io.flow.experience.v0.enums.OrderType;
|
|
1018
1021
|
readonly 'items': io.flow.common.v0.models.LineItemForm[];
|
|
1019
1022
|
readonly 'customer'?: io.flow.common.v0.models.OrderCustomerForm;
|
|
1020
1023
|
readonly 'delivered_duty'?: io.flow.common.v0.enums.DeliveredDuty;
|
|
@@ -1069,6 +1072,16 @@ declare namespace io.flow.experience.v0.models {
|
|
|
1069
1072
|
readonly 'charged': io.flow.experience.v0.enums.OrderRefundSummaryPartialCharged;
|
|
1070
1073
|
}
|
|
1071
1074
|
|
|
1075
|
+
interface OrderReplacement {
|
|
1076
|
+
readonly 'id': string;
|
|
1077
|
+
readonly 'parent_order': io.flow.experience.v0.models.Order;
|
|
1078
|
+
readonly 'replacement_order': io.flow.experience.v0.models.Order;
|
|
1079
|
+
}
|
|
1080
|
+
|
|
1081
|
+
interface OrderReplacementForm {
|
|
1082
|
+
readonly 'items'?: io.flow.common.v0.models.LineItemForm[];
|
|
1083
|
+
}
|
|
1084
|
+
|
|
1072
1085
|
interface OrderRuleReference {
|
|
1073
1086
|
readonly 'id': string;
|
|
1074
1087
|
readonly 'key': string;
|
|
@@ -15230,6 +15243,13 @@ declare namespace io.flow.checkout.backend.v0.models {
|
|
|
15230
15243
|
readonly 'address_prediction_metadata'?: io.flow.checkout.backend.v0.models.CheckoutAddressPredictionMetadata;
|
|
15231
15244
|
}
|
|
15232
15245
|
|
|
15246
|
+
interface CheckoutPriceEstimated {
|
|
15247
|
+
readonly 'discriminator': 'estimated';
|
|
15248
|
+
readonly 'amount': number;
|
|
15249
|
+
readonly 'currency': string;
|
|
15250
|
+
readonly 'label': string;
|
|
15251
|
+
}
|
|
15252
|
+
|
|
15233
15253
|
interface CheckoutPriceFree {
|
|
15234
15254
|
readonly 'discriminator': 'free';
|
|
15235
15255
|
readonly 'placeholder'?: string;
|
|
@@ -15302,7 +15322,7 @@ declare namespace io.flow.checkout.backend.v0.unions {
|
|
|
15302
15322
|
type CheckoutOrderPromotion = (io.flow.checkout.backend.v0.models.CheckoutOrderPromotionDiscount | io.flow.checkout.backend.v0.models.CheckoutOrderPromotionFreeShipping);
|
|
15303
15323
|
type CheckoutPaymentActionRequirement = (io.flow.checkout.backend.v0.models.CheckoutRedirectAuthorizationRequirement | io.flow.checkout.backend.v0.models.CheckoutInlineAuthorizationRequirement | io.flow.checkout.backend.v0.models.CheckoutDirectAuthorizationRequirement);
|
|
15304
15324
|
type CheckoutPaymentDetailsForm = (io.flow.checkout.backend.v0.models.CheckoutPaypalAuthorizationPayload | io.flow.checkout.backend.v0.models.CheckoutGooglePayAuthorizationPayload | io.flow.checkout.backend.v0.models.CheckoutCreditPaymentPayload);
|
|
15305
|
-
type CheckoutPrice = (io.flow.checkout.backend.v0.models.CheckoutPriceFree | io.flow.checkout.backend.v0.models.CheckoutPriceNotYetKnown | io.flow.checkout.backend.v0.models.CheckoutPriceIncluded | io.flow.checkout.backend.v0.models.CheckoutPriceStandard);
|
|
15325
|
+
type CheckoutPrice = (io.flow.checkout.backend.v0.models.CheckoutPriceFree | io.flow.checkout.backend.v0.models.CheckoutPriceNotYetKnown | io.flow.checkout.backend.v0.models.CheckoutPriceIncluded | io.flow.checkout.backend.v0.models.CheckoutPriceStandard | io.flow.checkout.backend.v0.models.CheckoutPriceEstimated);
|
|
15306
15326
|
}
|
|
15307
15327
|
|
|
15308
15328
|
declare namespace io.flow.organization.v0.enums {
|
|
@@ -18492,6 +18512,13 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18492
18512
|
readonly 'address_prediction_metadata'?: io.flow.internal.v0.models.CheckoutAddressPredictionMetadata;
|
|
18493
18513
|
}
|
|
18494
18514
|
|
|
18515
|
+
interface CheckoutPriceEstimated {
|
|
18516
|
+
readonly 'discriminator': 'estimated';
|
|
18517
|
+
readonly 'amount': number;
|
|
18518
|
+
readonly 'currency': string;
|
|
18519
|
+
readonly 'label': string;
|
|
18520
|
+
}
|
|
18521
|
+
|
|
18495
18522
|
interface CheckoutPriceFree {
|
|
18496
18523
|
readonly 'discriminator': 'free';
|
|
18497
18524
|
readonly 'placeholder'?: string;
|
|
@@ -24920,7 +24947,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
24920
24947
|
type CheckoutOrderPromotion = (io.flow.internal.v0.models.CheckoutOrderPromotionDiscount | io.flow.internal.v0.models.CheckoutOrderPromotionFreeShipping);
|
|
24921
24948
|
type CheckoutPaymentActionRequirement = (io.flow.internal.v0.models.CheckoutRedirectAuthorizationRequirement | io.flow.internal.v0.models.CheckoutInlineAuthorizationRequirement | io.flow.internal.v0.models.CheckoutDirectAuthorizationRequirement);
|
|
24922
24949
|
type CheckoutPaymentDetailsForm = (io.flow.internal.v0.models.CheckoutPaypalAuthorizationPayload | io.flow.internal.v0.models.CheckoutGooglePayAuthorizationPayload | io.flow.internal.v0.models.CheckoutCreditPaymentPayload);
|
|
24923
|
-
type CheckoutPrice = (io.flow.internal.v0.models.CheckoutPriceFree | io.flow.internal.v0.models.CheckoutPriceNotYetKnown | io.flow.internal.v0.models.CheckoutPriceIncluded | io.flow.internal.v0.models.CheckoutPriceStandard);
|
|
24950
|
+
type CheckoutPrice = (io.flow.internal.v0.models.CheckoutPriceFree | io.flow.internal.v0.models.CheckoutPriceNotYetKnown | io.flow.internal.v0.models.CheckoutPriceIncluded | io.flow.internal.v0.models.CheckoutPriceStandard | io.flow.internal.v0.models.CheckoutPriceEstimated);
|
|
24924
24951
|
type CheckoutRequestForm = (io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsRequestForm | io.flow.internal.v0.models.CheckoutCreateBySessionRequestForm | io.flow.internal.v0.models.CheckoutFeaturesRequestForm | io.flow.internal.v0.models.CheckoutGetRequestForm);
|
|
24925
24952
|
type CheckoutResponse = (io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseError | io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess | io.flow.internal.v0.models.CheckoutCreateBySessionResponseError | io.flow.internal.v0.models.CheckoutCreateBySessionResponseSuccess | io.flow.internal.v0.models.CheckoutFeaturesResponseError | io.flow.internal.v0.models.CheckoutFeaturesResponseSuccess | io.flow.internal.v0.models.CheckoutGetResponseError | io.flow.internal.v0.models.CheckoutGetResponseSuccess);
|
|
24926
24953
|
type CheckoutSequencedAddAuthorizationResponse = (io.flow.internal.v0.models.CheckoutSequencedAddAuthorizationResponseError | io.flow.internal.v0.models.CheckoutSequencedAddAuthorizationResponseSuccess);
|
|
@@ -25552,6 +25579,7 @@ export const checkoutPaymentMethodIssuer: PropTypes.Requireable<io.flow.internal
|
|
|
25552
25579
|
export const checkoutPaypalAuthorizationPayload: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutPaypalAuthorizationPayload>;
|
|
25553
25580
|
export const checkoutPlatformData: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutPlatformData>;
|
|
25554
25581
|
export const checkoutPredictionInputs: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutPredictionInputs>;
|
|
25582
|
+
export const checkoutPriceEstimated: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutPriceEstimated>;
|
|
25555
25583
|
export const checkoutPriceFree: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutPriceFree>;
|
|
25556
25584
|
export const checkoutPriceIncluded: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutPriceIncluded>;
|
|
25557
25585
|
export const checkoutPriceNotYetKnown: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutPriceNotYetKnown>;
|