@flowio/api-internal-prop-types 6.1.0 → 6.1.2
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 +127 -20
- package/lib/api-internal.js +1 -1
- package/package.json +2 -2
- package/src/api-internal.d.ts +127 -20
- package/src/api-internal.js +129 -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';
|
|
@@ -11778,6 +11876,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
11778
11876
|
type FlowApp = 'console';
|
|
11779
11877
|
type FlowFieldName = 'item-number' | 'sku-attribute' | 'product_id-attribute';
|
|
11780
11878
|
type Format = 'text' | 'phone' | 'email';
|
|
11879
|
+
type FraudProvider = 'flow' | 'riskified' | 'rps' | 'other' | 'none';
|
|
11781
11880
|
type FraudReviewResponsibleParty = 'flow' | 'organization';
|
|
11782
11881
|
type FtpIntent = 'orders_from_flow' | 'pricebooks_from_flow' | 'pricebooks_to_flow' | 'catalog_to_flow' | 'inventory_to_flow';
|
|
11783
11882
|
type FtpProtocol = 'sftp' | 'ftp';
|
|
@@ -11791,6 +11890,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
11791
11890
|
type LabelBillingStrategy = 'quote' | 'carrier';
|
|
11792
11891
|
type MarketingGatewayAccountMarketLocalizationError = 'no_localization' | 'no_existing_market' | 'already_configured_external' | 'already_configured_flow';
|
|
11793
11892
|
type MarketingGatewayFeedDownloadFormat = 'tsv';
|
|
11893
|
+
type MarketingGatewayFeedState = 'initialized' | 'generated' | 'in_review' | 'rejected' | 'active';
|
|
11794
11894
|
type MarketingGatewayGoogleConnectionStatus = 'not_connected' | 'connected';
|
|
11795
11895
|
type MarketingGatewayGoogleFeedProcessingStatus = 'success' | 'in_progress' | 'failure' | 'none';
|
|
11796
11896
|
type MarketingGatewayGoogleProductDestinationApprovalStatus = 'approved' | 'disapproved' | 'pending';
|
|
@@ -11809,7 +11909,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
11809
11909
|
type PaymentTerm = 'net7' | 'net15' | 'net30';
|
|
11810
11910
|
type PriceSelector = 'minimum' | 'maximum';
|
|
11811
11911
|
type ProcessingTransactionType = 'adjustment' | 'capture' | 'refund';
|
|
11812
|
-
type Processor = 'adyen' | 'afterpay' | 'bitpay' | 'stripe' | 'paypal' | 'flow_sandbox' | 'fiserv';
|
|
11912
|
+
type Processor = 'adyen' | 'afterpay' | 'bitpay' | 'stripe' | 'paypal' | 'flow_sandbox' | 'fiserv' | 'crypto';
|
|
11813
11913
|
type PromptAction = 'prompt_displayed' | 'consent_granted' | 'consent_denied';
|
|
11814
11914
|
type PromptCheckoutDisplayPosition = 'email' | 'submission';
|
|
11815
11915
|
type PromptOptions = 'notice_only' | 'require_consent' | 'consent_by_default';
|
|
@@ -13819,6 +13919,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13819
13919
|
readonly 'attributes'?: {
|
|
13820
13920
|
[key: string]: string
|
|
13821
13921
|
};
|
|
13922
|
+
readonly 'provider'?: io.flow.internal.v0.enums.FraudProvider;
|
|
13822
13923
|
}
|
|
13823
13924
|
|
|
13824
13925
|
interface FraudReviewDecision {
|
|
@@ -14884,6 +14985,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14884
14985
|
readonly 'account_issues_count': number;
|
|
14885
14986
|
readonly 'product_issues_count': number;
|
|
14886
14987
|
readonly 'feeds_count': number;
|
|
14988
|
+
readonly 'domestic_feeds_count': number;
|
|
14989
|
+
readonly 'localized_feeds_count': number;
|
|
14887
14990
|
}
|
|
14888
14991
|
|
|
14889
14992
|
interface MarketingGatewayGoogleConnection {
|
|
@@ -14922,6 +15025,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14922
15025
|
readonly 'language': string;
|
|
14923
15026
|
readonly 'experience'?: io.flow.common.v0.models.ExperienceSummary;
|
|
14924
15027
|
readonly 'parent': io.flow.internal.v0.models.MarketingGatewayGoogleFeedParent;
|
|
15028
|
+
readonly 'feed_state': io.flow.internal.v0.enums.MarketingGatewayFeedState;
|
|
14925
15029
|
readonly 'processing_status'?: io.flow.internal.v0.enums.MarketingGatewayGoogleFeedProcessingStatus;
|
|
14926
15030
|
readonly 'last_uploaded'?: string;
|
|
14927
15031
|
readonly 'statistics'?: io.flow.internal.v0.models.MarketingGatewayGoogleFeedStatistics;
|
|
@@ -14940,6 +15044,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14940
15044
|
readonly 'country': string;
|
|
14941
15045
|
readonly 'currency': string;
|
|
14942
15046
|
readonly 'language': string;
|
|
15047
|
+
readonly 'feed_state': io.flow.internal.v0.enums.MarketingGatewayFeedState;
|
|
14943
15048
|
readonly 'processing_status'?: io.flow.internal.v0.enums.MarketingGatewayGoogleFeedProcessingStatus;
|
|
14944
15049
|
readonly 'last_uploaded'?: string;
|
|
14945
15050
|
readonly 'statistics'?: io.flow.internal.v0.models.MarketingGatewayGoogleFeedStatistics;
|
|
@@ -17155,6 +17260,7 @@ export declare const featureType: PropTypes.Requireable<io.flow.internal.v0.enum
|
|
|
17155
17260
|
export declare const flowApp: PropTypes.Requireable<io.flow.internal.v0.enums.FlowApp>;
|
|
17156
17261
|
export declare const flowFieldName: PropTypes.Requireable<io.flow.internal.v0.enums.FlowFieldName>;
|
|
17157
17262
|
export declare const format: PropTypes.Requireable<io.flow.internal.v0.enums.Format>;
|
|
17263
|
+
export declare const fraudProvider: PropTypes.Requireable<io.flow.internal.v0.enums.FraudProvider>;
|
|
17158
17264
|
export declare const fraudReviewResponsibleParty: PropTypes.Requireable<io.flow.internal.v0.enums.FraudReviewResponsibleParty>;
|
|
17159
17265
|
export declare const ftpIntent: PropTypes.Requireable<io.flow.internal.v0.enums.FtpIntent>;
|
|
17160
17266
|
export declare const ftpProtocol: PropTypes.Requireable<io.flow.internal.v0.enums.FtpProtocol>;
|
|
@@ -17168,6 +17274,7 @@ export declare const itemType: PropTypes.Requireable<io.flow.internal.v0.enums.I
|
|
|
17168
17274
|
export declare const labelBillingStrategy: PropTypes.Requireable<io.flow.internal.v0.enums.LabelBillingStrategy>;
|
|
17169
17275
|
export declare const marketingGatewayAccountMarketLocalizationError: PropTypes.Requireable<io.flow.internal.v0.enums.MarketingGatewayAccountMarketLocalizationError>;
|
|
17170
17276
|
export declare const marketingGatewayFeedDownloadFormat: PropTypes.Requireable<io.flow.internal.v0.enums.MarketingGatewayFeedDownloadFormat>;
|
|
17277
|
+
export declare const marketingGatewayFeedState: PropTypes.Requireable<io.flow.internal.v0.enums.MarketingGatewayFeedState>;
|
|
17171
17278
|
export declare const marketingGatewayGoogleConnectionStatus: PropTypes.Requireable<io.flow.internal.v0.enums.MarketingGatewayGoogleConnectionStatus>;
|
|
17172
17279
|
export declare const marketingGatewayGoogleFeedProcessingStatus: PropTypes.Requireable<io.flow.internal.v0.enums.MarketingGatewayGoogleFeedProcessingStatus>;
|
|
17173
17280
|
export declare const marketingGatewayGoogleProductDestinationApprovalStatus: PropTypes.Requireable<io.flow.internal.v0.enums.MarketingGatewayGoogleProductDestinationApprovalStatus>;
|