@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-internal-prop-types",
3
- "version": "6.1.0",
3
+ "version": "6.1.2",
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": "b669c5a82c790167636c6242b45e607e6f6e606a"
37
+ "gitHead": "6027ff71f4e88f7cf21a1f28b1a80070dbf866a8"
38
38
  }
@@ -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.models.PaymentPaypalData;
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>;
@@ -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'],
@@ -8420,6 +8485,7 @@ T['io.flow.internal.v0.models.marketing_gateway_google_feed_statistics'] = PropT
8420
8485
  });
8421
8486
 
8422
8487
  T['io.flow.internal.v0.enums.marketing_gateway_google_feed_processing_status'] = PropTypes.oneOf(['success', 'in_progress', 'failure', 'none']);
8488
+ T['io.flow.internal.v0.enums.marketing_gateway_feed_state'] = PropTypes.oneOf(['initialized', 'generated', 'in_review', 'rejected', 'active']);
8423
8489
 
8424
8490
  T['io.flow.internal.v0.models.marketing_gateway_google_feed_parent'] = PropTypes.exact({
8425
8491
  discriminator: PropTypes.oneOf(['marketing_gateway_google_feed_parent']).isRequired,
@@ -8427,6 +8493,7 @@ T['io.flow.internal.v0.models.marketing_gateway_google_feed_parent'] = PropTypes
8427
8493
  country: PropTypes.string.isRequired,
8428
8494
  currency: PropTypes.string.isRequired,
8429
8495
  language: PropTypes.string.isRequired,
8496
+ feed_state: T['io.flow.internal.v0.enums.marketing_gateway_feed_state'].isRequired,
8430
8497
  processing_status: T['io.flow.internal.v0.enums.marketing_gateway_google_feed_processing_status'],
8431
8498
  last_uploaded: PropTypes.string,
8432
8499
  statistics: T['io.flow.internal.v0.models.marketing_gateway_google_feed_statistics'],
@@ -8489,6 +8556,8 @@ T['io.flow.internal.v0.models.marketing_gateway_google_account_summary'] = PropT
8489
8556
  account_issues_count: PropTypes.number.isRequired,
8490
8557
  product_issues_count: PropTypes.number.isRequired,
8491
8558
  feeds_count: PropTypes.number.isRequired,
8559
+ domestic_feeds_count: PropTypes.number.isRequired,
8560
+ localized_feeds_count: PropTypes.number.isRequired,
8492
8561
  });
8493
8562
 
8494
8563
  T['io.flow.internal.v0.enums.marketing_gateway_google_connection_status'] = PropTypes.oneOf(['not_connected', 'connected']);
@@ -8596,6 +8665,7 @@ T['io.flow.internal.v0.models.marketing_gateway_google_feed_child'] = PropTypes.
8596
8665
  language: PropTypes.string.isRequired,
8597
8666
  experience: T['io.flow.common.v0.models.experience_summary'],
8598
8667
  parent: T['io.flow.internal.v0.models.marketing_gateway_google_feed_parent'].isRequired,
8668
+ feed_state: T['io.flow.internal.v0.enums.marketing_gateway_feed_state'].isRequired,
8599
8669
  processing_status: T['io.flow.internal.v0.enums.marketing_gateway_google_feed_processing_status'],
8600
8670
  last_uploaded: PropTypes.string,
8601
8671
  statistics: T['io.flow.internal.v0.models.marketing_gateway_google_feed_statistics'],
@@ -9124,11 +9194,35 @@ T['io.flow.payment.v0.models.redirect_authorization_details'] = PropTypes.exact(
9124
9194
  });
9125
9195
 
9126
9196
  T['io.flow.payment.v0.unions.online_authorization_details'] = PropTypes.oneOfType([
9197
+ T['io.flow.payment.v0.models.cryptopay_authorization_details'],
9127
9198
  T['io.flow.payment.v0.models.paypal_authorization_details'],
9128
9199
  T['io.flow.payment.v0.models.redirect_authorization_details'],
9129
9200
  T['io.flow.payment.v0.models.inline_authorization_details'],
9130
9201
  ]);
9131
9202
 
9203
+ T['io.flow.payment.v0.models.payment_paypal'] = PropTypes.exact({
9204
+ discriminator: PropTypes.oneOf(['payment_paypal']).isRequired,
9205
+ id: PropTypes.string.isRequired,
9206
+ order: T['io.flow.payment.v0.models.authorization_order_reference'],
9207
+ amount: PropTypes.number.isRequired,
9208
+ currency: PropTypes.string.isRequired,
9209
+ paypal: T['io.flow.payment.v0.unions.online_authorization_details'].isRequired,
9210
+ });
9211
+
9212
+ T['io.flow.payment.v0.models.payment_cryptopay'] = PropTypes.exact({
9213
+ discriminator: PropTypes.oneOf(['payment_cryptopay']).isRequired,
9214
+ id: PropTypes.string.isRequired,
9215
+ order: T['io.flow.payment.v0.models.authorization_order_reference'],
9216
+ amount: PropTypes.number.isRequired,
9217
+ currency: PropTypes.string.isRequired,
9218
+ cryptopay: T['io.flow.payment.v0.unions.online_authorization_details'].isRequired,
9219
+ });
9220
+
9221
+ T['io.flow.payment.v0.unions.payment'] = PropTypes.oneOfType([
9222
+ T['io.flow.payment.v0.models.payment_paypal'],
9223
+ T['io.flow.payment.v0.models.payment_cryptopay'],
9224
+ ]);
9225
+
9132
9226
  T['io.flow.payment.internal.v0.models.internal_redirect_authorization_details'] = PropTypes.exact({
9133
9227
  details: T['io.flow.payment.v0.models.redirect_authorization_details'].isRequired,
9134
9228
  internal: T['io.flow.payment.internal.v0.unions.internal_authorization_details'],
@@ -9340,21 +9434,21 @@ T['io.flow.permission.v0.models.permission_error'] = PropTypes.exact({
9340
9434
  admin_users: PropTypes.arrayOf(T['io.flow.common.v0.models.user']),
9341
9435
  });
9342
9436
 
9343
- T['io.flow.payment.v0.models.refund_error'] = PropTypes.exact({
9437
+ T['io.flow.error.v0.models.generic_error'] = PropTypes.exact({
9344
9438
  code: T['io.flow.error.v0.enums.generic_error_code'].isRequired,
9345
9439
  messages: PropTypes.arrayOf(PropTypes.string).isRequired,
9346
- decline_code: T['io.flow.payment.v0.enums.refund_decline_code'].isRequired,
9347
9440
  });
9348
9441
 
9349
- T['io.flow.payment.v0.models.capture_error'] = PropTypes.exact({
9442
+ T['io.flow.payment.v0.models.refund_error'] = PropTypes.exact({
9350
9443
  code: T['io.flow.error.v0.enums.generic_error_code'].isRequired,
9351
9444
  messages: PropTypes.arrayOf(PropTypes.string).isRequired,
9352
- decline_code: T['io.flow.payment.v0.enums.capture_decline_code'].isRequired,
9445
+ decline_code: T['io.flow.payment.v0.enums.refund_decline_code'].isRequired,
9353
9446
  });
9354
9447
 
9355
- T['io.flow.error.v0.models.generic_error'] = PropTypes.exact({
9448
+ T['io.flow.payment.v0.models.capture_error'] = PropTypes.exact({
9356
9449
  code: T['io.flow.error.v0.enums.generic_error_code'].isRequired,
9357
9450
  messages: PropTypes.arrayOf(PropTypes.string).isRequired,
9451
+ decline_code: T['io.flow.payment.v0.enums.capture_decline_code'].isRequired,
9358
9452
  });
9359
9453
 
9360
9454
  T['io.flow.order.management.v0.models.fulfillment_item'] = PropTypes.exact({
@@ -9451,6 +9545,7 @@ T['io.flow.internal.v0.models.ftp_file_to_process_uploaded'] = PropTypes.exact({
9451
9545
  emails: PropTypes.arrayOf(PropTypes.string).isRequired,
9452
9546
  });
9453
9547
 
9548
+ T['io.flow.internal.v0.enums.fraud_provider'] = PropTypes.oneOf(['flow', 'riskified', 'rps', 'other', 'none']);
9454
9549
  T['io.flow.internal.v0.enums.risk_evaluation'] = PropTypes.oneOf(['pending', 'high', 'low', 'restricted', 'none']);
9455
9550
  T['io.flow.internal.v0.enums.fraud_review_responsible_party'] = PropTypes.oneOf(['flow', 'organization']);
9456
9551
  T['io.flow.fraud.v0.enums.fraud_liability'] = PropTypes.oneOf(['flow', 'organization']);
@@ -9567,6 +9662,7 @@ T['io.flow.internal.v0.models.fraud_review'] = PropTypes.exact({
9567
9662
  liability: T['io.flow.fraud.v0.enums.fraud_liability'],
9568
9663
  status_updated_at: PropTypes.string,
9569
9664
  attributes: PropTypes.objectOf(PropTypes.string),
9665
+ provider: T['io.flow.internal.v0.enums.fraud_provider'],
9570
9666
  });
9571
9667
 
9572
9668
  T['io.flow.internal.v0.models.fraud_pending_review'] = PropTypes.exact({
@@ -11620,6 +11716,7 @@ T['io.flow.internal.v0.enums.processor'] = PropTypes.oneOf([
11620
11716
  'paypal',
11621
11717
  'flow_sandbox',
11622
11718
  'fiserv',
11719
+ 'crypto',
11623
11720
  ]);
11624
11721
 
11625
11722
  T['io.flow.internal.v0.enums.chargeback_process_status'] = PropTypes.oneOf(['open', 'closed']);
@@ -13573,6 +13670,7 @@ T['io.flow.payment.v0.unions.authorization_form'] = PropTypes.oneOfType([
13573
13670
  T['io.flow.payment.v0.models.inline_authorization_form'],
13574
13671
  T['io.flow.payment.v0.models.ach_authorization_form'],
13575
13672
  T['io.flow.payment.v0.models.card_payment_source_authorization_form'],
13673
+ T['io.flow.payment.v0.models.online_payment_authorization_form'],
13576
13674
  ]);
13577
13675
 
13578
13676
  T['io.flow.shopify.internal.v0.models.order_submission_form'] = PropTypes.exact({
@@ -18281,6 +18379,15 @@ T['io.flow.billing.internal.v0.models.manual_transaction_form'] = PropTypes.exac
18281
18379
  posted_at: PropTypes.string,
18282
18380
  });
18283
18381
 
18382
+ T['io.flow.crypto.v0.models.payment_request'] = PropTypes.exact({
18383
+ amount: PropTypes.number.isRequired,
18384
+ currency: PropTypes.string.isRequired,
18385
+ customer_id: PropTypes.string,
18386
+ description: PropTypes.string,
18387
+ metadata: PropTypes.object,
18388
+ order_id: PropTypes.string,
18389
+ });
18390
+
18284
18391
  export const account = T['io.flow.internal.v0.models.account'];
18285
18392
  export const accountContact = T['io.flow.internal.v0.models.account_contact'];
18286
18393
  export const accountContactForm = T['io.flow.internal.v0.models.account_contact_form'];
@@ -18603,6 +18710,7 @@ export const format = T['io.flow.internal.v0.enums.format'];
18603
18710
  export const fraudPendingReview = T['io.flow.internal.v0.models.fraud_pending_review'];
18604
18711
  export const fraudPendingReviewDeleted = T['io.flow.internal.v0.models.fraud_pending_review_deleted'];
18605
18712
  export const fraudPendingReviewUpserted = T['io.flow.internal.v0.models.fraud_pending_review_upserted'];
18713
+ export const fraudProvider = T['io.flow.internal.v0.enums.fraud_provider'];
18606
18714
  export const fraudReview = T['io.flow.internal.v0.models.fraud_review'];
18607
18715
  export const fraudReviewDecision = T['io.flow.internal.v0.models.fraud_review_decision'];
18608
18716
  export const fraudReviewDecisionDeleted = T['io.flow.internal.v0.models.fraud_review_decision_deleted'];
@@ -18760,6 +18868,7 @@ export const marketingGatewayFeedForm = T['io.flow.internal.v0.models.marketing_
18760
18868
  export const marketingGatewayFeedSource = T['io.flow.internal.v0.unions.marketing_gateway_feed_source'];
18761
18869
  export const marketingGatewayFeedSourceFlow = T['io.flow.internal.v0.models.marketing_gateway_feed_source_flow'];
18762
18870
  export const marketingGatewayFeedSourceGoogle = T['io.flow.internal.v0.models.marketing_gateway_feed_source_google'];
18871
+ export const marketingGatewayFeedState = T['io.flow.internal.v0.enums.marketing_gateway_feed_state'];
18763
18872
  export const marketingGatewayFilterSummary = T['io.flow.internal.v0.models.marketing_gateway_filter_summary'];
18764
18873
  export const marketingGatewayFlowSourceSummary = T['io.flow.internal.v0.models.marketing_gateway_flow_source_summary'];
18765
18874
  export const marketingGatewayGoogleAccount = T['io.flow.internal.v0.models.marketing_gateway_google_account'];