@flowio/api-internal-prop-types 6.1.0 → 6.1.1
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 +120 -20
- package/lib/api-internal.js +1 -1
- package/package.json +2 -2
- package/src/api-internal.d.ts +120 -20
- package/src/api-internal.js +122 -20
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-internal-prop-types",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.1",
|
|
4
4
|
"description": "PropType validators that work with internal Flow API",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"files": [
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"@babel/preset-env": "^7.6.3",
|
|
35
35
|
"prop-types": "^15.7.2"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "14916fc03a7d30e81d9a1ab601e03bae5d53dfc2"
|
|
38
38
|
}
|
package/src/api-internal.d.ts
CHANGED
|
@@ -2110,17 +2110,6 @@ declare namespace io.flow.inventory.v0.unions {
|
|
|
2110
2110
|
type ReservationError = (io.flow.inventory.v0.models.NoInventoryReservationError | io.flow.inventory.v0.models.ExternalApiTimeoutReservationError | io.flow.inventory.v0.models.GenericReservationError);
|
|
2111
2111
|
}
|
|
2112
2112
|
|
|
2113
|
-
declare namespace io.flow.error.v0.enums {
|
|
2114
|
-
type GenericErrorCode = 'generic_error' | 'client_error' | 'server_error';
|
|
2115
|
-
}
|
|
2116
|
-
|
|
2117
|
-
declare namespace io.flow.error.v0.models {
|
|
2118
|
-
interface GenericError {
|
|
2119
|
-
readonly 'code': io.flow.error.v0.enums.GenericErrorCode;
|
|
2120
|
-
readonly 'messages': string[];
|
|
2121
|
-
}
|
|
2122
|
-
}
|
|
2123
|
-
|
|
2124
2113
|
declare namespace io.flow.optin.internal.v0.enums {
|
|
2125
2114
|
type PromptAction = 'prompt_displayed' | 'consent_granted' | 'consent_denied';
|
|
2126
2115
|
type PromptCheckoutDisplayPosition = 'email' | 'submission';
|
|
@@ -9357,6 +9346,11 @@ declare namespace io.flow.payment.v0.models {
|
|
|
9357
9346
|
readonly 'card': io.flow.payment.v0.models.Card;
|
|
9358
9347
|
}
|
|
9359
9348
|
|
|
9349
|
+
interface CryptopayAuthorizationDetails {
|
|
9350
|
+
readonly 'discriminator': 'cryptopay_authorization_details';
|
|
9351
|
+
readonly 'payment_id': string;
|
|
9352
|
+
}
|
|
9353
|
+
|
|
9360
9354
|
interface Cvv {
|
|
9361
9355
|
readonly 'code': io.flow.payment.v0.enums.CvvCode;
|
|
9362
9356
|
readonly 'description'?: string;
|
|
@@ -9499,6 +9493,20 @@ declare namespace io.flow.payment.v0.models {
|
|
|
9499
9493
|
readonly 'base'?: io.flow.common.v0.models.Money;
|
|
9500
9494
|
}
|
|
9501
9495
|
|
|
9496
|
+
interface OnlinePaymentAuthorizationForm {
|
|
9497
|
+
readonly 'discriminator': 'online_payment_authorization_form';
|
|
9498
|
+
readonly 'payment_id': string;
|
|
9499
|
+
}
|
|
9500
|
+
|
|
9501
|
+
interface PaymentCryptopay {
|
|
9502
|
+
readonly 'discriminator': 'payment_cryptopay';
|
|
9503
|
+
readonly 'id': string;
|
|
9504
|
+
readonly 'order'?: io.flow.payment.v0.models.AuthorizationOrderReference;
|
|
9505
|
+
readonly 'amount': number;
|
|
9506
|
+
readonly 'currency': string;
|
|
9507
|
+
readonly 'cryptopay': io.flow.payment.v0.unions.OnlineAuthorizationDetails;
|
|
9508
|
+
}
|
|
9509
|
+
|
|
9502
9510
|
interface PaymentError {
|
|
9503
9511
|
readonly 'code': string;
|
|
9504
9512
|
readonly 'messages': string[];
|
|
@@ -9511,11 +9519,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
9511
9519
|
readonly 'order'?: io.flow.payment.v0.models.AuthorizationOrderReference;
|
|
9512
9520
|
readonly 'amount': number;
|
|
9513
9521
|
readonly 'currency': string;
|
|
9514
|
-
readonly 'paypal': io.flow.payment.v0.
|
|
9515
|
-
}
|
|
9516
|
-
|
|
9517
|
-
interface PaymentPaypalData {
|
|
9518
|
-
readonly 'payment_id': string;
|
|
9522
|
+
readonly 'paypal': io.flow.payment.v0.unions.OnlineAuthorizationDetails;
|
|
9519
9523
|
}
|
|
9520
9524
|
|
|
9521
9525
|
interface PaymentReference {
|
|
@@ -9807,7 +9811,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
9807
9811
|
declare namespace io.flow.payment.v0.unions {
|
|
9808
9812
|
type AdyenNativeData = (io.flow.payment.v0.models.AdyenIdentifyShopperData | io.flow.payment.v0.models.AdyenChallengeShopperData);
|
|
9809
9813
|
type Authorization = (io.flow.payment.v0.models.CardAuthorization | io.flow.payment.v0.models.OnlineAuthorization);
|
|
9810
|
-
type AuthorizationForm = (io.flow.payment.v0.models.AuthorizationCopyForm | io.flow.payment.v0.models.DirectAuthorizationForm | io.flow.payment.v0.models.MerchantOfRecordAuthorizationForm | io.flow.payment.v0.models.PaypalAuthorizationForm | io.flow.payment.v0.models.RedirectAuthorizationForm | io.flow.payment.v0.models.InlineAuthorizationForm | io.flow.payment.v0.models.AchAuthorizationForm | io.flow.payment.v0.models.CardPaymentSourceAuthorizationForm);
|
|
9814
|
+
type AuthorizationForm = (io.flow.payment.v0.models.AuthorizationCopyForm | io.flow.payment.v0.models.DirectAuthorizationForm | io.flow.payment.v0.models.MerchantOfRecordAuthorizationForm | io.flow.payment.v0.models.PaypalAuthorizationForm | io.flow.payment.v0.models.RedirectAuthorizationForm | io.flow.payment.v0.models.InlineAuthorizationForm | io.flow.payment.v0.models.AchAuthorizationForm | io.flow.payment.v0.models.CardPaymentSourceAuthorizationForm | io.flow.payment.v0.models.OnlinePaymentAuthorizationForm);
|
|
9811
9815
|
type AuthorizationPayloadParameters = (io.flow.payment.v0.models.GooglePayAuthorizationPayload | io.flow.payment.v0.models.ApplePayMerchantValidationPayload);
|
|
9812
9816
|
type AuthorizationResultAction = (io.flow.payment.v0.models.AuthorizationResultActionGet | io.flow.payment.v0.models.AuthorizationResultActionPost | io.flow.payment.v0.models.AuthorizationResultActionWait | io.flow.payment.v0.models.AuthorizationResultActionNative);
|
|
9813
9817
|
type AuthorizationResultActionDetails = (io.flow.payment.v0.models.AdyenNativeActionDetails | io.flow.payment.v0.models.StripeAuthorizationResultActionDetails);
|
|
@@ -9815,8 +9819,8 @@ declare namespace io.flow.payment.v0.unions {
|
|
|
9815
9819
|
type ExpandableCard = (io.flow.payment.v0.models.Card | io.flow.payment.v0.models.CardReference | io.flow.payment.v0.models.CardSummary);
|
|
9816
9820
|
type GatewayAuthenticationData = (io.flow.payment.v0.models.StripeAuthenticationData);
|
|
9817
9821
|
type GatewayAuthenticationDataForm = (io.flow.payment.v0.models.StripeAuthenticationDataForm);
|
|
9818
|
-
type OnlineAuthorizationDetails = (io.flow.payment.v0.models.PaypalAuthorizationDetails | io.flow.payment.v0.models.RedirectAuthorizationDetails | io.flow.payment.v0.models.InlineAuthorizationDetails);
|
|
9819
|
-
type Payment = (io.flow.payment.v0.models.PaymentPaypal);
|
|
9822
|
+
type OnlineAuthorizationDetails = (io.flow.payment.v0.models.CryptopayAuthorizationDetails | io.flow.payment.v0.models.PaypalAuthorizationDetails | io.flow.payment.v0.models.RedirectAuthorizationDetails | io.flow.payment.v0.models.InlineAuthorizationDetails);
|
|
9823
|
+
type Payment = (io.flow.payment.v0.models.PaymentPaypal | io.flow.payment.v0.models.PaymentCryptopay);
|
|
9820
9824
|
type PaymentForm = (io.flow.payment.v0.models.MerchantOfRecordPaymentForm);
|
|
9821
9825
|
type PaymentSource = (io.flow.payment.v0.models.CardPaymentSource);
|
|
9822
9826
|
type PaymentSourceForm = (io.flow.payment.v0.models.CardPaymentSourceForm);
|
|
@@ -11583,6 +11587,100 @@ declare namespace io.flow.billing.internal.v0.unions {
|
|
|
11583
11587
|
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);
|
|
11584
11588
|
}
|
|
11585
11589
|
|
|
11590
|
+
declare namespace io.flow.error.v0.enums {
|
|
11591
|
+
type GenericErrorCode = 'generic_error' | 'client_error' | 'server_error';
|
|
11592
|
+
}
|
|
11593
|
+
|
|
11594
|
+
declare namespace io.flow.error.v0.models {
|
|
11595
|
+
interface GenericError {
|
|
11596
|
+
readonly 'code': io.flow.error.v0.enums.GenericErrorCode;
|
|
11597
|
+
readonly 'messages': string[];
|
|
11598
|
+
}
|
|
11599
|
+
}
|
|
11600
|
+
|
|
11601
|
+
declare namespace io.flow.crypto.v0.enums {
|
|
11602
|
+
type ErrorType = 'authentication_error' | 'invalid_request_error' | 'rate_limit_error';
|
|
11603
|
+
type PaymentStatus = 'pending' | 'succeeded' | 'cancelled';
|
|
11604
|
+
type ReasonType = 'duplicate' | 'fraudulent' | 'requested_by_customer';
|
|
11605
|
+
type RefundStatus = 'pending' | 'succeeded';
|
|
11606
|
+
type WebhookEventName = 'payment.created' | 'payment.captured';
|
|
11607
|
+
type WebhookObjectType = 'event';
|
|
11608
|
+
}
|
|
11609
|
+
|
|
11610
|
+
declare namespace io.flow.crypto.v0.models {
|
|
11611
|
+
interface CryptoEvent {
|
|
11612
|
+
readonly 'id': string;
|
|
11613
|
+
readonly 'object_type': io.flow.crypto.v0.enums.WebhookObjectType;
|
|
11614
|
+
readonly 'type': io.flow.crypto.v0.enums.WebhookEventName;
|
|
11615
|
+
readonly 'created': number;
|
|
11616
|
+
readonly 'data': io.flow.crypto.v0.models.WebhookPayment;
|
|
11617
|
+
}
|
|
11618
|
+
|
|
11619
|
+
interface ErrorResponse {
|
|
11620
|
+
readonly 'type': io.flow.crypto.v0.enums.ErrorType;
|
|
11621
|
+
readonly 'code': string;
|
|
11622
|
+
readonly 'param': string;
|
|
11623
|
+
}
|
|
11624
|
+
|
|
11625
|
+
interface Payment {
|
|
11626
|
+
readonly 'id': string;
|
|
11627
|
+
readonly 'amount': number;
|
|
11628
|
+
readonly 'amount_refunded': number;
|
|
11629
|
+
readonly 'created': number;
|
|
11630
|
+
readonly 'crypto_currency': string;
|
|
11631
|
+
readonly 'crypto_amount': string;
|
|
11632
|
+
readonly 'currency': string;
|
|
11633
|
+
readonly 'customer_id'?: string;
|
|
11634
|
+
readonly 'data_url': string;
|
|
11635
|
+
readonly 'description'?: string;
|
|
11636
|
+
readonly 'live_mode': boolean;
|
|
11637
|
+
readonly 'metadata'?: {
|
|
11638
|
+
[key: string]: string
|
|
11639
|
+
};
|
|
11640
|
+
readonly 'order_id'?: string;
|
|
11641
|
+
readonly 'recipient': string;
|
|
11642
|
+
readonly 'refunded': boolean;
|
|
11643
|
+
readonly 'status': io.flow.crypto.v0.enums.PaymentStatus;
|
|
11644
|
+
readonly 'time_window': number;
|
|
11645
|
+
}
|
|
11646
|
+
|
|
11647
|
+
interface PaymentRequest {
|
|
11648
|
+
readonly 'amount': number;
|
|
11649
|
+
readonly 'currency': string;
|
|
11650
|
+
readonly 'customer_id'?: string;
|
|
11651
|
+
readonly 'description'?: string;
|
|
11652
|
+
readonly 'metadata'?: {
|
|
11653
|
+
[key: string]: string
|
|
11654
|
+
};
|
|
11655
|
+
readonly 'order_id'?: string;
|
|
11656
|
+
}
|
|
11657
|
+
|
|
11658
|
+
interface Refund {
|
|
11659
|
+
readonly 'id': string;
|
|
11660
|
+
readonly 'status': io.flow.crypto.v0.enums.RefundStatus;
|
|
11661
|
+
readonly 'payment_id': string;
|
|
11662
|
+
readonly 'currency': string;
|
|
11663
|
+
readonly 'amount': number;
|
|
11664
|
+
readonly 'debit_currency': string;
|
|
11665
|
+
readonly 'debit_amount': number;
|
|
11666
|
+
readonly 'reason'?: io.flow.crypto.v0.enums.ReasonType;
|
|
11667
|
+
readonly 'description'?: string;
|
|
11668
|
+
readonly 'created': number;
|
|
11669
|
+
}
|
|
11670
|
+
|
|
11671
|
+
interface RefundRequest {
|
|
11672
|
+
readonly 'payment_id': string;
|
|
11673
|
+
readonly 'amount': number;
|
|
11674
|
+
readonly 'debit_currency': string;
|
|
11675
|
+
readonly 'reason'?: io.flow.crypto.v0.enums.ReasonType;
|
|
11676
|
+
readonly 'description'?: string;
|
|
11677
|
+
}
|
|
11678
|
+
|
|
11679
|
+
interface WebhookPayment {
|
|
11680
|
+
readonly 'object': io.flow.crypto.v0.models.Payment;
|
|
11681
|
+
}
|
|
11682
|
+
}
|
|
11683
|
+
|
|
11586
11684
|
declare namespace io.flow.order.management.v0.enums {
|
|
11587
11685
|
type CancelReason = 'out_of_stock' | 'consumer_requested' | 'flow_cancel';
|
|
11588
11686
|
type FulfillmentItemQuantityStatus = 'new' | 'shipped' | 'cancelled';
|
|
@@ -11809,7 +11907,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
11809
11907
|
type PaymentTerm = 'net7' | 'net15' | 'net30';
|
|
11810
11908
|
type PriceSelector = 'minimum' | 'maximum';
|
|
11811
11909
|
type ProcessingTransactionType = 'adjustment' | 'capture' | 'refund';
|
|
11812
|
-
type Processor = 'adyen' | 'afterpay' | 'bitpay' | 'stripe' | 'paypal' | 'flow_sandbox' | 'fiserv';
|
|
11910
|
+
type Processor = 'adyen' | 'afterpay' | 'bitpay' | 'stripe' | 'paypal' | 'flow_sandbox' | 'fiserv' | 'crypto';
|
|
11813
11911
|
type PromptAction = 'prompt_displayed' | 'consent_granted' | 'consent_denied';
|
|
11814
11912
|
type PromptCheckoutDisplayPosition = 'email' | 'submission';
|
|
11815
11913
|
type PromptOptions = 'notice_only' | 'require_consent' | 'consent_by_default';
|
|
@@ -14884,6 +14982,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14884
14982
|
readonly 'account_issues_count': number;
|
|
14885
14983
|
readonly 'product_issues_count': number;
|
|
14886
14984
|
readonly 'feeds_count': number;
|
|
14985
|
+
readonly 'domestic_feeds_count': number;
|
|
14986
|
+
readonly 'localized_feeds_count': number;
|
|
14887
14987
|
}
|
|
14888
14988
|
|
|
14889
14989
|
interface MarketingGatewayGoogleConnection {
|
package/src/api-internal.js
CHANGED
|
@@ -48,6 +48,76 @@ T['io.flow.order.management.v0.models.fulfillment_item_quantity'] = PropTypes.ex
|
|
|
48
48
|
quantity: PropTypes.number.isRequired,
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
+
T['io.flow.crypto.v0.enums.reason_type'] = PropTypes.oneOf(['duplicate', 'fraudulent', 'requested_by_customer']);
|
|
52
|
+
|
|
53
|
+
T['io.flow.crypto.v0.models.refund_request'] = PropTypes.exact({
|
|
54
|
+
payment_id: PropTypes.string.isRequired,
|
|
55
|
+
amount: PropTypes.number.isRequired,
|
|
56
|
+
debit_currency: PropTypes.string.isRequired,
|
|
57
|
+
reason: T['io.flow.crypto.v0.enums.reason_type'],
|
|
58
|
+
description: PropTypes.string,
|
|
59
|
+
});
|
|
60
|
+
|
|
61
|
+
T['io.flow.crypto.v0.enums.refund_status'] = PropTypes.oneOf(['pending', 'succeeded']);
|
|
62
|
+
|
|
63
|
+
T['io.flow.crypto.v0.models.refund'] = PropTypes.exact({
|
|
64
|
+
id: PropTypes.string.isRequired,
|
|
65
|
+
status: T['io.flow.crypto.v0.enums.refund_status'].isRequired,
|
|
66
|
+
payment_id: PropTypes.string.isRequired,
|
|
67
|
+
currency: PropTypes.string.isRequired,
|
|
68
|
+
amount: PropTypes.number.isRequired,
|
|
69
|
+
debit_currency: PropTypes.string.isRequired,
|
|
70
|
+
debit_amount: PropTypes.number.isRequired,
|
|
71
|
+
reason: T['io.flow.crypto.v0.enums.reason_type'],
|
|
72
|
+
description: PropTypes.string,
|
|
73
|
+
created: PropTypes.number.isRequired,
|
|
74
|
+
});
|
|
75
|
+
|
|
76
|
+
T['io.flow.crypto.v0.enums.payment_status'] = PropTypes.oneOf(['pending', 'succeeded', 'cancelled']);
|
|
77
|
+
|
|
78
|
+
T['io.flow.crypto.v0.models.payment'] = PropTypes.exact({
|
|
79
|
+
id: PropTypes.string.isRequired,
|
|
80
|
+
amount: PropTypes.number.isRequired,
|
|
81
|
+
amount_refunded: PropTypes.number.isRequired,
|
|
82
|
+
created: PropTypes.number.isRequired,
|
|
83
|
+
crypto_currency: PropTypes.string.isRequired,
|
|
84
|
+
crypto_amount: PropTypes.string.isRequired,
|
|
85
|
+
currency: PropTypes.string.isRequired,
|
|
86
|
+
customer_id: PropTypes.string,
|
|
87
|
+
data_url: PropTypes.string.isRequired,
|
|
88
|
+
description: PropTypes.string,
|
|
89
|
+
live_mode: PropTypes.bool.isRequired,
|
|
90
|
+
metadata: PropTypes.object,
|
|
91
|
+
order_id: PropTypes.string,
|
|
92
|
+
recipient: PropTypes.string.isRequired,
|
|
93
|
+
refunded: PropTypes.bool.isRequired,
|
|
94
|
+
status: T['io.flow.crypto.v0.enums.payment_status'].isRequired,
|
|
95
|
+
time_window: PropTypes.number.isRequired,
|
|
96
|
+
});
|
|
97
|
+
|
|
98
|
+
T['io.flow.crypto.v0.enums.error_type'] = PropTypes.oneOf(['authentication_error', 'invalid_request_error', 'rate_limit_error']);
|
|
99
|
+
|
|
100
|
+
T['io.flow.crypto.v0.models.error_response'] = PropTypes.exact({
|
|
101
|
+
type: T['io.flow.crypto.v0.enums.error_type'].isRequired,
|
|
102
|
+
code: PropTypes.string.isRequired,
|
|
103
|
+
param: PropTypes.string.isRequired,
|
|
104
|
+
});
|
|
105
|
+
|
|
106
|
+
T['io.flow.crypto.v0.models.webhook_payment'] = PropTypes.exact({
|
|
107
|
+
object: T['io.flow.crypto.v0.models.payment'].isRequired,
|
|
108
|
+
});
|
|
109
|
+
|
|
110
|
+
T['io.flow.crypto.v0.enums.webhook_event_name'] = PropTypes.oneOf(['payment.created', 'payment.captured']);
|
|
111
|
+
T['io.flow.crypto.v0.enums.webhook_object_type'] = PropTypes.oneOf(['event']);
|
|
112
|
+
|
|
113
|
+
T['io.flow.crypto.v0.models.crypto_event'] = PropTypes.exact({
|
|
114
|
+
id: PropTypes.string.isRequired,
|
|
115
|
+
object_type: T['io.flow.crypto.v0.enums.webhook_object_type'].isRequired,
|
|
116
|
+
type: T['io.flow.crypto.v0.enums.webhook_event_name'].isRequired,
|
|
117
|
+
created: PropTypes.number.isRequired,
|
|
118
|
+
data: T['io.flow.crypto.v0.models.webhook_payment'].isRequired,
|
|
119
|
+
});
|
|
120
|
+
|
|
51
121
|
T['io.flow.billing.internal.v0.models.billing_invoice_summary'] = PropTypes.exact({
|
|
52
122
|
id: PropTypes.string.isRequired,
|
|
53
123
|
url: PropTypes.string.isRequired,
|
|
@@ -1047,6 +1117,11 @@ T['io.flow.payment.v0.models.paypal_authorization_details'] = PropTypes.exact({
|
|
|
1047
1117
|
payment_id: PropTypes.string.isRequired,
|
|
1048
1118
|
});
|
|
1049
1119
|
|
|
1120
|
+
T['io.flow.payment.v0.models.cryptopay_authorization_details'] = PropTypes.exact({
|
|
1121
|
+
discriminator: PropTypes.oneOf(['cryptopay_authorization_details']).isRequired,
|
|
1122
|
+
payment_id: PropTypes.string.isRequired,
|
|
1123
|
+
});
|
|
1124
|
+
|
|
1050
1125
|
T['io.flow.payment.v0.models.stripe_authentication_data_form'] = PropTypes.exact({
|
|
1051
1126
|
discriminator: PropTypes.oneOf(['stripe_authentication_data_form']).isRequired,
|
|
1052
1127
|
account_id: PropTypes.string.isRequired,
|
|
@@ -1093,6 +1168,11 @@ T['io.flow.payment.v0.models.google_pay_authorization_payload'] = PropTypes.exac
|
|
|
1093
1168
|
payload: PropTypes.object.isRequired,
|
|
1094
1169
|
});
|
|
1095
1170
|
|
|
1171
|
+
T['io.flow.payment.v0.models.online_payment_authorization_form'] = PropTypes.exact({
|
|
1172
|
+
discriminator: PropTypes.oneOf(['online_payment_authorization_form']).isRequired,
|
|
1173
|
+
payment_id: PropTypes.string.isRequired,
|
|
1174
|
+
});
|
|
1175
|
+
|
|
1096
1176
|
T['io.flow.payment.v0.models.paypal_authorization_form'] = PropTypes.exact({
|
|
1097
1177
|
discriminator: PropTypes.oneOf(['paypal_authorization_form']).isRequired,
|
|
1098
1178
|
paypal_payment_id: PropTypes.string.isRequired,
|
|
@@ -1183,10 +1263,6 @@ T['io.flow.payment.v0.enums.refund_status'] = PropTypes.oneOf(['pending', 'succe
|
|
|
1183
1263
|
T['io.flow.payment.v0.unions.confirmation_details'] = PropTypes.oneOfType([T['io.flow.payment.v0.models.direct_debit']]);
|
|
1184
1264
|
T['io.flow.payment.v0.enums.payment_source_confirmation_action_type'] = PropTypes.oneOf(['cvv', 'billing_address', 'number']);
|
|
1185
1265
|
|
|
1186
|
-
T['io.flow.payment.v0.models.payment_paypal_data'] = PropTypes.exact({
|
|
1187
|
-
payment_id: PropTypes.string.isRequired,
|
|
1188
|
-
});
|
|
1189
|
-
|
|
1190
1266
|
T['io.flow.payment.v0.enums.payment_error_code'] = PropTypes.oneOf([
|
|
1191
1267
|
'duplicate',
|
|
1192
1268
|
'invalid_amount',
|
|
@@ -1307,17 +1383,6 @@ T['io.flow.payment.v0.models.authorization_order_reference'] = PropTypes.exact({
|
|
|
1307
1383
|
number: PropTypes.string.isRequired,
|
|
1308
1384
|
});
|
|
1309
1385
|
|
|
1310
|
-
T['io.flow.payment.v0.models.payment_paypal'] = PropTypes.exact({
|
|
1311
|
-
discriminator: PropTypes.oneOf(['payment_paypal']).isRequired,
|
|
1312
|
-
id: PropTypes.string.isRequired,
|
|
1313
|
-
order: T['io.flow.payment.v0.models.authorization_order_reference'],
|
|
1314
|
-
amount: PropTypes.number.isRequired,
|
|
1315
|
-
currency: PropTypes.string.isRequired,
|
|
1316
|
-
paypal: T['io.flow.payment.v0.models.payment_paypal_data'].isRequired,
|
|
1317
|
-
});
|
|
1318
|
-
|
|
1319
|
-
T['io.flow.payment.v0.unions.payment'] = PropTypes.oneOfType([T['io.flow.payment.v0.models.payment_paypal']]);
|
|
1320
|
-
|
|
1321
1386
|
T['io.flow.payment.v0.unions.authorization_payload_parameters'] = PropTypes.oneOfType([
|
|
1322
1387
|
T['io.flow.payment.v0.models.google_pay_authorization_payload'],
|
|
1323
1388
|
T['io.flow.payment.v0.models.apple_pay_merchant_validation_payload'],
|
|
@@ -8489,6 +8554,8 @@ T['io.flow.internal.v0.models.marketing_gateway_google_account_summary'] = PropT
|
|
|
8489
8554
|
account_issues_count: PropTypes.number.isRequired,
|
|
8490
8555
|
product_issues_count: PropTypes.number.isRequired,
|
|
8491
8556
|
feeds_count: PropTypes.number.isRequired,
|
|
8557
|
+
domestic_feeds_count: PropTypes.number.isRequired,
|
|
8558
|
+
localized_feeds_count: PropTypes.number.isRequired,
|
|
8492
8559
|
});
|
|
8493
8560
|
|
|
8494
8561
|
T['io.flow.internal.v0.enums.marketing_gateway_google_connection_status'] = PropTypes.oneOf(['not_connected', 'connected']);
|
|
@@ -9124,11 +9191,35 @@ T['io.flow.payment.v0.models.redirect_authorization_details'] = PropTypes.exact(
|
|
|
9124
9191
|
});
|
|
9125
9192
|
|
|
9126
9193
|
T['io.flow.payment.v0.unions.online_authorization_details'] = PropTypes.oneOfType([
|
|
9194
|
+
T['io.flow.payment.v0.models.cryptopay_authorization_details'],
|
|
9127
9195
|
T['io.flow.payment.v0.models.paypal_authorization_details'],
|
|
9128
9196
|
T['io.flow.payment.v0.models.redirect_authorization_details'],
|
|
9129
9197
|
T['io.flow.payment.v0.models.inline_authorization_details'],
|
|
9130
9198
|
]);
|
|
9131
9199
|
|
|
9200
|
+
T['io.flow.payment.v0.models.payment_paypal'] = PropTypes.exact({
|
|
9201
|
+
discriminator: PropTypes.oneOf(['payment_paypal']).isRequired,
|
|
9202
|
+
id: PropTypes.string.isRequired,
|
|
9203
|
+
order: T['io.flow.payment.v0.models.authorization_order_reference'],
|
|
9204
|
+
amount: PropTypes.number.isRequired,
|
|
9205
|
+
currency: PropTypes.string.isRequired,
|
|
9206
|
+
paypal: T['io.flow.payment.v0.unions.online_authorization_details'].isRequired,
|
|
9207
|
+
});
|
|
9208
|
+
|
|
9209
|
+
T['io.flow.payment.v0.models.payment_cryptopay'] = PropTypes.exact({
|
|
9210
|
+
discriminator: PropTypes.oneOf(['payment_cryptopay']).isRequired,
|
|
9211
|
+
id: PropTypes.string.isRequired,
|
|
9212
|
+
order: T['io.flow.payment.v0.models.authorization_order_reference'],
|
|
9213
|
+
amount: PropTypes.number.isRequired,
|
|
9214
|
+
currency: PropTypes.string.isRequired,
|
|
9215
|
+
cryptopay: T['io.flow.payment.v0.unions.online_authorization_details'].isRequired,
|
|
9216
|
+
});
|
|
9217
|
+
|
|
9218
|
+
T['io.flow.payment.v0.unions.payment'] = PropTypes.oneOfType([
|
|
9219
|
+
T['io.flow.payment.v0.models.payment_paypal'],
|
|
9220
|
+
T['io.flow.payment.v0.models.payment_cryptopay'],
|
|
9221
|
+
]);
|
|
9222
|
+
|
|
9132
9223
|
T['io.flow.payment.internal.v0.models.internal_redirect_authorization_details'] = PropTypes.exact({
|
|
9133
9224
|
details: T['io.flow.payment.v0.models.redirect_authorization_details'].isRequired,
|
|
9134
9225
|
internal: T['io.flow.payment.internal.v0.unions.internal_authorization_details'],
|
|
@@ -9340,21 +9431,21 @@ T['io.flow.permission.v0.models.permission_error'] = PropTypes.exact({
|
|
|
9340
9431
|
admin_users: PropTypes.arrayOf(T['io.flow.common.v0.models.user']),
|
|
9341
9432
|
});
|
|
9342
9433
|
|
|
9343
|
-
T['io.flow.
|
|
9434
|
+
T['io.flow.error.v0.models.generic_error'] = PropTypes.exact({
|
|
9344
9435
|
code: T['io.flow.error.v0.enums.generic_error_code'].isRequired,
|
|
9345
9436
|
messages: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
9346
|
-
decline_code: T['io.flow.payment.v0.enums.refund_decline_code'].isRequired,
|
|
9347
9437
|
});
|
|
9348
9438
|
|
|
9349
|
-
T['io.flow.payment.v0.models.
|
|
9439
|
+
T['io.flow.payment.v0.models.refund_error'] = PropTypes.exact({
|
|
9350
9440
|
code: T['io.flow.error.v0.enums.generic_error_code'].isRequired,
|
|
9351
9441
|
messages: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
9352
|
-
decline_code: T['io.flow.payment.v0.enums.
|
|
9442
|
+
decline_code: T['io.flow.payment.v0.enums.refund_decline_code'].isRequired,
|
|
9353
9443
|
});
|
|
9354
9444
|
|
|
9355
|
-
T['io.flow.
|
|
9445
|
+
T['io.flow.payment.v0.models.capture_error'] = PropTypes.exact({
|
|
9356
9446
|
code: T['io.flow.error.v0.enums.generic_error_code'].isRequired,
|
|
9357
9447
|
messages: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
9448
|
+
decline_code: T['io.flow.payment.v0.enums.capture_decline_code'].isRequired,
|
|
9358
9449
|
});
|
|
9359
9450
|
|
|
9360
9451
|
T['io.flow.order.management.v0.models.fulfillment_item'] = PropTypes.exact({
|
|
@@ -11620,6 +11711,7 @@ T['io.flow.internal.v0.enums.processor'] = PropTypes.oneOf([
|
|
|
11620
11711
|
'paypal',
|
|
11621
11712
|
'flow_sandbox',
|
|
11622
11713
|
'fiserv',
|
|
11714
|
+
'crypto',
|
|
11623
11715
|
]);
|
|
11624
11716
|
|
|
11625
11717
|
T['io.flow.internal.v0.enums.chargeback_process_status'] = PropTypes.oneOf(['open', 'closed']);
|
|
@@ -13573,6 +13665,7 @@ T['io.flow.payment.v0.unions.authorization_form'] = PropTypes.oneOfType([
|
|
|
13573
13665
|
T['io.flow.payment.v0.models.inline_authorization_form'],
|
|
13574
13666
|
T['io.flow.payment.v0.models.ach_authorization_form'],
|
|
13575
13667
|
T['io.flow.payment.v0.models.card_payment_source_authorization_form'],
|
|
13668
|
+
T['io.flow.payment.v0.models.online_payment_authorization_form'],
|
|
13576
13669
|
]);
|
|
13577
13670
|
|
|
13578
13671
|
T['io.flow.shopify.internal.v0.models.order_submission_form'] = PropTypes.exact({
|
|
@@ -18281,6 +18374,15 @@ T['io.flow.billing.internal.v0.models.manual_transaction_form'] = PropTypes.exac
|
|
|
18281
18374
|
posted_at: PropTypes.string,
|
|
18282
18375
|
});
|
|
18283
18376
|
|
|
18377
|
+
T['io.flow.crypto.v0.models.payment_request'] = PropTypes.exact({
|
|
18378
|
+
amount: PropTypes.number.isRequired,
|
|
18379
|
+
currency: PropTypes.string.isRequired,
|
|
18380
|
+
customer_id: PropTypes.string,
|
|
18381
|
+
description: PropTypes.string,
|
|
18382
|
+
metadata: PropTypes.object,
|
|
18383
|
+
order_id: PropTypes.string,
|
|
18384
|
+
});
|
|
18385
|
+
|
|
18284
18386
|
export const account = T['io.flow.internal.v0.models.account'];
|
|
18285
18387
|
export const accountContact = T['io.flow.internal.v0.models.account_contact'];
|
|
18286
18388
|
export const accountContactForm = T['io.flow.internal.v0.models.account_contact_form'];
|