@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/lib/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 {
|