@flowio/api-internal-prop-types 8.8.1 → 8.8.3
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 +20 -37
- package/lib/api-internal.js +1 -1
- package/package.json +2 -2
- package/src/api-internal.d.ts +20 -37
- package/src/api-internal.js +34 -47
package/lib/api-internal.d.ts
CHANGED
|
@@ -1423,7 +1423,7 @@ declare namespace io.flow.checkout.protocol.v0.enums {
|
|
|
1423
1423
|
type CheckoutAddLineErrorCode = 'line_quantity_invalid' | 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_value_threshold_exceeded';
|
|
1424
1424
|
type CheckoutAddOrderIdentifierErrorCode = 'order_identifier_invalid';
|
|
1425
1425
|
type CheckoutCreateAuthorizationDetailsErrorCode = 'checkout_not_found' | 'authorization_details_payment_not_found';
|
|
1426
|
-
type CheckoutCreateAuthorizationErrorCode = 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'authorization_amount_exceeds_balance';
|
|
1426
|
+
type CheckoutCreateAuthorizationErrorCode = 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'authorization_amount_exceeds_balance' | 'address_street1_required';
|
|
1427
1427
|
type CheckoutCreateBySessionErrorCode = 'session_not_found' | 'session_experience_required' | 'country_not_supported';
|
|
1428
1428
|
type CheckoutDeleteAddressStreetErrorCode = 'address_line_number_invalid';
|
|
1429
1429
|
type CheckoutDeleteLineErrorCode = 'line_not_found';
|
|
@@ -2515,7 +2515,7 @@ declare namespace io.flow.RESERVED_WORD_return.v0.models {
|
|
|
2515
2515
|
readonly 'key'?: string;
|
|
2516
2516
|
readonly 'origin'?: io.flow.fulfillment.v0.models.ShippingAddress;
|
|
2517
2517
|
readonly 'center_key'?: string;
|
|
2518
|
-
readonly 'source'
|
|
2518
|
+
readonly 'source'?: io.flow.RESERVED_WORD_return.v0.unions.ReturnSource;
|
|
2519
2519
|
readonly 'tracking_status'?: io.flow.RESERVED_WORD_return.v0.enums.ReturnTrackingStatus;
|
|
2520
2520
|
readonly 'tracking_status_timestamp'?: string;
|
|
2521
2521
|
readonly 'carrier_tracking_number'?: string;
|
|
@@ -2531,6 +2531,7 @@ declare namespace io.flow.RESERVED_WORD_return.v0.models {
|
|
|
2531
2531
|
readonly 'quantity': number;
|
|
2532
2532
|
readonly 'reason'?: io.flow.RESERVED_WORD_return.v0.models.ReturnReason;
|
|
2533
2533
|
readonly 'notes'?: string;
|
|
2534
|
+
readonly 'attributes'?: Record<string, string>;
|
|
2534
2535
|
}
|
|
2535
2536
|
|
|
2536
2537
|
interface ReturnOrderReference {
|
|
@@ -4514,6 +4515,11 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
4514
4515
|
readonly 'currency': string;
|
|
4515
4516
|
}
|
|
4516
4517
|
|
|
4518
|
+
interface Applepay {
|
|
4519
|
+
readonly 'type': 'applepay';
|
|
4520
|
+
readonly 'applePayToken': string;
|
|
4521
|
+
}
|
|
4522
|
+
|
|
4517
4523
|
interface Authentication {
|
|
4518
4524
|
readonly 'threeds2.fingerprintToken'?: string;
|
|
4519
4525
|
readonly 'threeds2.challengeToken'?: string;
|
|
@@ -4718,7 +4724,7 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
4718
4724
|
readonly 'browserInfo'?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
4719
4725
|
readonly 'origin'?: string;
|
|
4720
4726
|
readonly 'channel'?: io.flow.adyen.v0.enums.Channel;
|
|
4721
|
-
readonly '
|
|
4727
|
+
readonly 'returnUrl'?: string;
|
|
4722
4728
|
}
|
|
4723
4729
|
|
|
4724
4730
|
interface PaymentResponse {
|
|
@@ -4803,7 +4809,7 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
4803
4809
|
|
|
4804
4810
|
declare namespace io.flow.adyen.v0.unions {
|
|
4805
4811
|
type BrowserInfo = (io.flow.adyen.v0.models.BrowserInfo3Ds1 | io.flow.adyen.v0.models.BrowserInfo3Ds2);
|
|
4806
|
-
type PaymentMethodData = (io.flow.adyen.v0.models.Scheme);
|
|
4812
|
+
type PaymentMethodData = (io.flow.adyen.v0.models.Scheme | io.flow.adyen.v0.models.Applepay);
|
|
4807
4813
|
}
|
|
4808
4814
|
|
|
4809
4815
|
declare namespace io.flow.order.management.v0.enums {
|
|
@@ -6458,20 +6464,9 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
6458
6464
|
readonly 'password': string;
|
|
6459
6465
|
}
|
|
6460
6466
|
|
|
6461
|
-
interface
|
|
6462
|
-
readonly 'discriminator': '
|
|
6463
|
-
readonly '
|
|
6464
|
-
readonly 'header': io.flow.payment.internal.v0.models.ApplePaymentTokenHeader;
|
|
6465
|
-
readonly 'signature': string;
|
|
6466
|
-
readonly 'version': string;
|
|
6467
|
-
}
|
|
6468
|
-
|
|
6469
|
-
interface ApplePaymentTokenHeader {
|
|
6470
|
-
readonly 'applicationData'?: string;
|
|
6471
|
-
readonly 'ephemeralPublicKey'?: string;
|
|
6472
|
-
readonly 'wrappedKey'?: string;
|
|
6473
|
-
readonly 'publicKeyHash': string;
|
|
6474
|
-
readonly 'transactionId': string;
|
|
6467
|
+
interface ApplePayAuthorizationPayload {
|
|
6468
|
+
readonly 'discriminator': 'apple_pay_authorization_payload';
|
|
6469
|
+
readonly 'apple_pay_token': string;
|
|
6475
6470
|
}
|
|
6476
6471
|
|
|
6477
6472
|
interface AuthenticationForm {
|
|
@@ -7051,7 +7046,7 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
7051
7046
|
}
|
|
7052
7047
|
|
|
7053
7048
|
declare namespace io.flow.payment.internal.v0.unions {
|
|
7054
|
-
type AuthorizationPayload = (io.flow.payment.internal.v0.models.
|
|
7049
|
+
type AuthorizationPayload = (io.flow.payment.internal.v0.models.ApplePayAuthorizationPayload | io.flow.payment.internal.v0.models.PaypalAuthorizationPayload);
|
|
7055
7050
|
type InlineAuthorizationParameters = (io.flow.payment.internal.v0.models.KlarnaAuthorizationParameters);
|
|
7056
7051
|
type InternalAuthorizationDetails = (io.flow.payment.internal.v0.models.InternalPaypalAuthorizationDetails | io.flow.payment.internal.v0.models.InternalBitpayAuthorizationDetails | io.flow.payment.internal.v0.models.InternalStripeAuthorizationDetails | io.flow.payment.internal.v0.models.InternalAdyenAuthorizationDetails | io.flow.payment.internal.v0.models.InternalAfterpayAuthorizationDetails | io.flow.payment.internal.v0.models.InternalFiservAuthorizationDetails);
|
|
7057
7052
|
type InternalRefundForm = (io.flow.payment.internal.v0.models.AdyenRefundForm);
|
|
@@ -15067,7 +15062,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
15067
15062
|
type CheckoutAddressType = 'shipping' | 'invoicing';
|
|
15068
15063
|
type CheckoutAssetType = 'stylesheet' | 'javascript';
|
|
15069
15064
|
type CheckoutCreateAuthorizationDetailsErrorCode = 'checkout_not_found' | 'authorization_details_payment_not_found';
|
|
15070
|
-
type CheckoutCreateAuthorizationErrorCode = 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'authorization_amount_exceeds_balance';
|
|
15065
|
+
type CheckoutCreateAuthorizationErrorCode = 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'authorization_amount_exceeds_balance' | 'address_street1_required';
|
|
15071
15066
|
type CheckoutCreateBySessionErrorCode = 'session_not_found' | 'session_experience_required' | 'country_not_supported';
|
|
15072
15067
|
type CheckoutDeleteAddressStreetErrorCode = 'address_line_number_invalid';
|
|
15073
15068
|
type CheckoutDeleteLineErrorCode = 'line_not_found';
|
|
@@ -15717,20 +15712,9 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15717
15712
|
readonly 'processor_description': io.flow.internal.v0.unions.ContentItem;
|
|
15718
15713
|
}
|
|
15719
15714
|
|
|
15720
|
-
interface
|
|
15721
|
-
readonly 'discriminator': '
|
|
15722
|
-
readonly '
|
|
15723
|
-
readonly 'header': io.flow.internal.v0.models.ApplePaymentTokenHeader;
|
|
15724
|
-
readonly 'signature': string;
|
|
15725
|
-
readonly 'version': string;
|
|
15726
|
-
}
|
|
15727
|
-
|
|
15728
|
-
interface ApplePaymentTokenHeader {
|
|
15729
|
-
readonly 'applicationData'?: string;
|
|
15730
|
-
readonly 'ephemeralPublicKey'?: string;
|
|
15731
|
-
readonly 'wrappedKey'?: string;
|
|
15732
|
-
readonly 'publicKeyHash': string;
|
|
15733
|
-
readonly 'transactionId': string;
|
|
15715
|
+
interface ApplePayAuthorizationPayload {
|
|
15716
|
+
readonly 'discriminator': 'apple_pay_authorization_payload';
|
|
15717
|
+
readonly 'apple_pay_token': string;
|
|
15734
15718
|
}
|
|
15735
15719
|
|
|
15736
15720
|
interface AttributeLabel {
|
|
@@ -22766,7 +22750,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22766
22750
|
}
|
|
22767
22751
|
|
|
22768
22752
|
declare namespace io.flow.internal.v0.unions {
|
|
22769
|
-
type AuthorizationPayload = (io.flow.internal.v0.models.
|
|
22753
|
+
type AuthorizationPayload = (io.flow.internal.v0.models.ApplePayAuthorizationPayload | io.flow.internal.v0.models.PaypalAuthorizationPayload);
|
|
22770
22754
|
type AuthorizedOrderCharge = (io.flow.internal.v0.models.AuthorizedShippingCharge);
|
|
22771
22755
|
type CarrierCredentials = (io.flow.internal.v0.models.SfExpress | io.flow.internal.v0.models.DhlEcommerce | io.flow.internal.v0.models.Landmark | io.flow.internal.v0.models.Dhl | io.flow.internal.v0.models.FedexCrossborder | io.flow.internal.v0.models.Ups | io.flow.internal.v0.models.Fedex);
|
|
22772
22756
|
type CheckoutAnalyticsDeliveryOption = (io.flow.internal.v0.models.CheckoutAnalyticsPhysicalDeliveryOption | io.flow.internal.v0.models.CheckoutAnalyticsDigitalDeliveryOption);
|
|
@@ -23104,8 +23088,7 @@ export const allItemsExport: PropTypes.Requireable<io.flow.internal.v0.models.Al
|
|
|
23104
23088
|
export const allocationItemReference: PropTypes.Requireable<io.flow.internal.v0.models.AllocationItemReference>;
|
|
23105
23089
|
export const allowedLabels: PropTypes.Requireable<io.flow.internal.v0.models.AllowedLabels>;
|
|
23106
23090
|
export const apmContent: PropTypes.Requireable<io.flow.internal.v0.models.ApmContent>;
|
|
23107
|
-
export const
|
|
23108
|
-
export const applePaymentTokenHeader: PropTypes.Requireable<io.flow.internal.v0.models.ApplePaymentTokenHeader>;
|
|
23091
|
+
export const applePayAuthorizationPayload: PropTypes.Requireable<io.flow.internal.v0.models.ApplePayAuthorizationPayload>;
|
|
23109
23092
|
export const attributeLabel: PropTypes.Requireable<io.flow.internal.v0.models.AttributeLabel>;
|
|
23110
23093
|
export const authenticationForm: PropTypes.Requireable<io.flow.internal.v0.models.AuthenticationForm>;
|
|
23111
23094
|
export const authorizationMetadata: PropTypes.Requireable<io.flow.internal.v0.models.AuthorizationMetadata>;
|