@flowio/api-internal-prop-types 9.13.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 +43 -2
- package/lib/api-internal.js +1 -1
- package/package.json +2 -2
- package/src/api-internal.d.ts +43 -2
- package/src/api-internal.js +44 -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;
|
|
@@ -14848,6 +14861,8 @@ declare namespace io.flow.checkout.backend.v0.enums {
|
|
|
14848
14861
|
declare namespace io.flow.checkout.backend.v0.models {
|
|
14849
14862
|
interface CheckoutAddress {
|
|
14850
14863
|
readonly 'name'?: string;
|
|
14864
|
+
readonly 'first_name'?: string;
|
|
14865
|
+
readonly 'last_name'?: string;
|
|
14851
14866
|
readonly 'country'?: string;
|
|
14852
14867
|
readonly 'streets'?: string[];
|
|
14853
14868
|
readonly 'city'?: string;
|
|
@@ -15228,6 +15243,13 @@ declare namespace io.flow.checkout.backend.v0.models {
|
|
|
15228
15243
|
readonly 'address_prediction_metadata'?: io.flow.checkout.backend.v0.models.CheckoutAddressPredictionMetadata;
|
|
15229
15244
|
}
|
|
15230
15245
|
|
|
15246
|
+
interface CheckoutPriceEstimated {
|
|
15247
|
+
readonly 'discriminator': 'estimated';
|
|
15248
|
+
readonly 'amount': number;
|
|
15249
|
+
readonly 'currency': string;
|
|
15250
|
+
readonly 'label': string;
|
|
15251
|
+
}
|
|
15252
|
+
|
|
15231
15253
|
interface CheckoutPriceFree {
|
|
15232
15254
|
readonly 'discriminator': 'free';
|
|
15233
15255
|
readonly 'placeholder'?: string;
|
|
@@ -15266,6 +15288,10 @@ declare namespace io.flow.checkout.backend.v0.models {
|
|
|
15266
15288
|
readonly 'deliveries': io.flow.checkout.backend.v0.models.CheckoutOrderDeliveries;
|
|
15267
15289
|
}
|
|
15268
15290
|
|
|
15291
|
+
interface CheckoutUrlParameters {
|
|
15292
|
+
readonly 'confirmation_url'?: string;
|
|
15293
|
+
}
|
|
15294
|
+
|
|
15269
15295
|
interface InternalAvailableDelivery {
|
|
15270
15296
|
readonly 'id': string;
|
|
15271
15297
|
readonly 'items': io.flow.fulfillment.v0.models.DeliveryItem[];
|
|
@@ -15296,7 +15322,7 @@ declare namespace io.flow.checkout.backend.v0.unions {
|
|
|
15296
15322
|
type CheckoutOrderPromotion = (io.flow.checkout.backend.v0.models.CheckoutOrderPromotionDiscount | io.flow.checkout.backend.v0.models.CheckoutOrderPromotionFreeShipping);
|
|
15297
15323
|
type CheckoutPaymentActionRequirement = (io.flow.checkout.backend.v0.models.CheckoutRedirectAuthorizationRequirement | io.flow.checkout.backend.v0.models.CheckoutInlineAuthorizationRequirement | io.flow.checkout.backend.v0.models.CheckoutDirectAuthorizationRequirement);
|
|
15298
15324
|
type CheckoutPaymentDetailsForm = (io.flow.checkout.backend.v0.models.CheckoutPaypalAuthorizationPayload | io.flow.checkout.backend.v0.models.CheckoutGooglePayAuthorizationPayload | io.flow.checkout.backend.v0.models.CheckoutCreditPaymentPayload);
|
|
15299
|
-
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);
|
|
15300
15326
|
}
|
|
15301
15327
|
|
|
15302
15328
|
declare namespace io.flow.organization.v0.enums {
|
|
@@ -17387,6 +17413,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17387
17413
|
|
|
17388
17414
|
interface CheckoutAddress {
|
|
17389
17415
|
readonly 'name'?: string;
|
|
17416
|
+
readonly 'first_name'?: string;
|
|
17417
|
+
readonly 'last_name'?: string;
|
|
17390
17418
|
readonly 'country'?: string;
|
|
17391
17419
|
readonly 'streets'?: string[];
|
|
17392
17420
|
readonly 'city'?: string;
|
|
@@ -18484,6 +18512,13 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18484
18512
|
readonly 'address_prediction_metadata'?: io.flow.internal.v0.models.CheckoutAddressPredictionMetadata;
|
|
18485
18513
|
}
|
|
18486
18514
|
|
|
18515
|
+
interface CheckoutPriceEstimated {
|
|
18516
|
+
readonly 'discriminator': 'estimated';
|
|
18517
|
+
readonly 'amount': number;
|
|
18518
|
+
readonly 'currency': string;
|
|
18519
|
+
readonly 'label': string;
|
|
18520
|
+
}
|
|
18521
|
+
|
|
18487
18522
|
interface CheckoutPriceFree {
|
|
18488
18523
|
readonly 'discriminator': 'free';
|
|
18489
18524
|
readonly 'placeholder'?: string;
|
|
@@ -19106,6 +19141,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19106
19141
|
readonly 'type': io.flow.internal.v0.enums.CheckoutUrlType;
|
|
19107
19142
|
}
|
|
19108
19143
|
|
|
19144
|
+
interface CheckoutUrlParameters {
|
|
19145
|
+
readonly 'confirmation_url'?: string;
|
|
19146
|
+
}
|
|
19147
|
+
|
|
19109
19148
|
interface Cipher {
|
|
19110
19149
|
readonly 'id': string;
|
|
19111
19150
|
readonly 'attributes': Record<string, string>;
|
|
@@ -24908,7 +24947,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
24908
24947
|
type CheckoutOrderPromotion = (io.flow.internal.v0.models.CheckoutOrderPromotionDiscount | io.flow.internal.v0.models.CheckoutOrderPromotionFreeShipping);
|
|
24909
24948
|
type CheckoutPaymentActionRequirement = (io.flow.internal.v0.models.CheckoutRedirectAuthorizationRequirement | io.flow.internal.v0.models.CheckoutInlineAuthorizationRequirement | io.flow.internal.v0.models.CheckoutDirectAuthorizationRequirement);
|
|
24910
24949
|
type CheckoutPaymentDetailsForm = (io.flow.internal.v0.models.CheckoutPaypalAuthorizationPayload | io.flow.internal.v0.models.CheckoutGooglePayAuthorizationPayload | io.flow.internal.v0.models.CheckoutCreditPaymentPayload);
|
|
24911
|
-
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);
|
|
24912
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);
|
|
24913
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);
|
|
24914
24953
|
type CheckoutSequencedAddAuthorizationResponse = (io.flow.internal.v0.models.CheckoutSequencedAddAuthorizationResponseError | io.flow.internal.v0.models.CheckoutSequencedAddAuthorizationResponseSuccess);
|
|
@@ -25540,6 +25579,7 @@ export const checkoutPaymentMethodIssuer: PropTypes.Requireable<io.flow.internal
|
|
|
25540
25579
|
export const checkoutPaypalAuthorizationPayload: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutPaypalAuthorizationPayload>;
|
|
25541
25580
|
export const checkoutPlatformData: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutPlatformData>;
|
|
25542
25581
|
export const checkoutPredictionInputs: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutPredictionInputs>;
|
|
25582
|
+
export const checkoutPriceEstimated: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutPriceEstimated>;
|
|
25543
25583
|
export const checkoutPriceFree: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutPriceFree>;
|
|
25544
25584
|
export const checkoutPriceIncluded: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutPriceIncluded>;
|
|
25545
25585
|
export const checkoutPriceNotYetKnown: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutPriceNotYetKnown>;
|
|
@@ -25657,6 +25697,7 @@ export const checkoutSubmitOrderBundle: PropTypes.Requireable<io.flow.internal.v
|
|
|
25657
25697
|
export const checkoutSubmitOrderForm: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutSubmitOrderForm>;
|
|
25658
25698
|
export const checkoutSubmittedOrder: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutSubmittedOrder>;
|
|
25659
25699
|
export const checkoutUrl: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutUrl>;
|
|
25700
|
+
export const checkoutUrlParameters: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutUrlParameters>;
|
|
25660
25701
|
export const cipher: PropTypes.Requireable<io.flow.internal.v0.models.Cipher>;
|
|
25661
25702
|
export const cipherForm: PropTypes.Requireable<io.flow.internal.v0.models.CipherForm>;
|
|
25662
25703
|
export const cipherReference: PropTypes.Requireable<io.flow.internal.v0.models.CipherReference>;
|