@flowio/api-prop-types 10.16.60 → 10.16.62
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.d.ts +63 -23
- package/lib/api.js +1 -1
- package/package.json +2 -2
- package/src/api.d.ts +63 -23
- package/src/api.js +176 -71
package/src/api.js
CHANGED
|
@@ -961,9 +961,12 @@ T['io.flow.stripe.v0.enums.three_ds_authentication_flow'] = PropTypes.oneOf(['ch
|
|
|
961
961
|
T['io.flow.stripe.v0.models.three_d_secure_charge'] = PropTypes.exact({
|
|
962
962
|
authenticated: PropTypes.bool,
|
|
963
963
|
authentication_flow: T['io.flow.stripe.v0.enums.three_ds_authentication_flow'],
|
|
964
|
+
electronic_commerce_indicator: PropTypes.string,
|
|
965
|
+
exemption_indicator: PropTypes.string,
|
|
964
966
|
result: T['io.flow.stripe.v0.enums.three_ds_result'],
|
|
965
967
|
result_reason: T['io.flow.stripe.v0.enums.three_ds_result_reason'],
|
|
966
968
|
succeeded: PropTypes.bool,
|
|
969
|
+
transaction_id: PropTypes.string,
|
|
967
970
|
version: PropTypes.string,
|
|
968
971
|
});
|
|
969
972
|
|
|
@@ -1007,11 +1010,23 @@ T['io.flow.stripe.v0.models.card_networks'] = PropTypes.exact({
|
|
|
1007
1010
|
preferred: PropTypes.string,
|
|
1008
1011
|
});
|
|
1009
1012
|
|
|
1013
|
+
T['io.flow.stripe.v0.models.payment_method_options_card_form'] = PropTypes.exact({
|
|
1014
|
+
network: PropTypes.string,
|
|
1015
|
+
request_three_d_secure: T['io.flow.stripe.v0.enums.request_three_d_secure_type'],
|
|
1016
|
+
stored_credential_transaction_type: T['io.flow.stripe.v0.enums.stored_credential_transaction_type'],
|
|
1017
|
+
mcc: PropTypes.string,
|
|
1018
|
+
});
|
|
1019
|
+
|
|
1020
|
+
T['io.flow.stripe.v0.models.payment_method_options_form'] = PropTypes.exact({
|
|
1021
|
+
card: T['io.flow.stripe.v0.models.payment_method_options_card_form'],
|
|
1022
|
+
});
|
|
1023
|
+
|
|
1010
1024
|
T['io.flow.stripe.v0.models.payment_method_options_card'] = PropTypes.exact({
|
|
1011
1025
|
network: PropTypes.string,
|
|
1012
1026
|
request_three_d_secure: T['io.flow.stripe.v0.enums.request_three_d_secure_type'],
|
|
1013
1027
|
stored_credential_transaction_type: T['io.flow.stripe.v0.enums.stored_credential_transaction_type'],
|
|
1014
1028
|
mcc: PropTypes.string,
|
|
1029
|
+
capture_before: PropTypes.number,
|
|
1015
1030
|
});
|
|
1016
1031
|
|
|
1017
1032
|
T['io.flow.stripe.v0.enums.payment_intent_status'] = PropTypes.oneOf([
|
|
@@ -1103,6 +1118,42 @@ T['io.flow.stripe.v0.models.visa_checkout'] = PropTypes.exact({
|
|
|
1103
1118
|
dynamic_last4: PropTypes.string,
|
|
1104
1119
|
});
|
|
1105
1120
|
|
|
1121
|
+
T['io.flow.stripe.v0.models.payment_method_billing_details'] = PropTypes.exact({
|
|
1122
|
+
address: T['io.flow.stripe.v0.models.address'].isRequired,
|
|
1123
|
+
email: PropTypes.string,
|
|
1124
|
+
name: PropTypes.string,
|
|
1125
|
+
phone: PropTypes.string,
|
|
1126
|
+
});
|
|
1127
|
+
|
|
1128
|
+
T['io.flow.stripe.v0.models.payment_method_form_card'] = PropTypes.exact({
|
|
1129
|
+
type: PropTypes.oneOf(['card']).isRequired,
|
|
1130
|
+
billing_details: T['io.flow.stripe.v0.models.payment_method_billing_details'],
|
|
1131
|
+
metadata: PropTypes.object,
|
|
1132
|
+
card: T['io.flow.stripe.v0.models.payment_method_card_form'].isRequired,
|
|
1133
|
+
});
|
|
1134
|
+
|
|
1135
|
+
T['io.flow.stripe.v0.unions.payment_method_form'] = PropTypes.oneOfType([T['io.flow.stripe.v0.models.payment_method_form_card']]);
|
|
1136
|
+
|
|
1137
|
+
T['io.flow.stripe.v0.models.payment_method_data_card'] = PropTypes.exact({
|
|
1138
|
+
type: PropTypes.oneOf(['card']).isRequired,
|
|
1139
|
+
billing_details: T['io.flow.stripe.v0.models.payment_method_billing_details'],
|
|
1140
|
+
metadata: PropTypes.object,
|
|
1141
|
+
card: T['io.flow.stripe.v0.models.payment_method_card_form'].isRequired,
|
|
1142
|
+
});
|
|
1143
|
+
|
|
1144
|
+
T['io.flow.stripe.v0.unions.payment_method_data'] = PropTypes.oneOfType([T['io.flow.stripe.v0.models.payment_method_data_card']]);
|
|
1145
|
+
|
|
1146
|
+
T['io.flow.stripe.v0.models.payment_intent_confirmation_form'] = PropTypes.exact({
|
|
1147
|
+
off_session: PropTypes.bool,
|
|
1148
|
+
payment_method: PropTypes.string,
|
|
1149
|
+
payment_method_data: T['io.flow.stripe.v0.unions.payment_method_data'],
|
|
1150
|
+
payment_method_options: T['io.flow.stripe.v0.models.payment_method_options_form'],
|
|
1151
|
+
payment_method_types: PropTypes.arrayOf(PropTypes.string),
|
|
1152
|
+
receipt_email: PropTypes.string,
|
|
1153
|
+
save_payment_method: PropTypes.bool,
|
|
1154
|
+
setup_future_usage: T['io.flow.stripe.v0.enums.setup_future_usage'],
|
|
1155
|
+
});
|
|
1156
|
+
|
|
1106
1157
|
T['io.flow.stripe.v0.models.payment_intent_shipping'] = PropTypes.exact({
|
|
1107
1158
|
address: T['io.flow.stripe.v0.models.address'].isRequired,
|
|
1108
1159
|
name: PropTypes.string.isRequired,
|
|
@@ -1151,40 +1202,34 @@ T['io.flow.stripe.v0.models.masterpass'] = PropTypes.exact({
|
|
|
1151
1202
|
dynamic_last4: PropTypes.string,
|
|
1152
1203
|
});
|
|
1153
1204
|
|
|
1154
|
-
T['io.flow.stripe.v0.models.
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
name: PropTypes.string,
|
|
1158
|
-
phone: PropTypes.string,
|
|
1205
|
+
T['io.flow.stripe.v0.models.klarna_marketplace_seller_info'] = PropTypes.exact({
|
|
1206
|
+
sub_merchant_id: PropTypes.string,
|
|
1207
|
+
product_category: PropTypes.string,
|
|
1159
1208
|
});
|
|
1160
1209
|
|
|
1161
|
-
T['io.flow.stripe.v0.models.
|
|
1162
|
-
|
|
1163
|
-
billing_details: T['io.flow.stripe.v0.models.payment_method_billing_details'],
|
|
1164
|
-
metadata: PropTypes.object,
|
|
1165
|
-
card: T['io.flow.stripe.v0.models.payment_method_card_form'].isRequired,
|
|
1210
|
+
T['io.flow.stripe.v0.models.klarna_attachment'] = PropTypes.exact({
|
|
1211
|
+
marketplace_seller_info: PropTypes.arrayOf(T['io.flow.stripe.v0.models.klarna_marketplace_seller_info']),
|
|
1166
1212
|
});
|
|
1167
1213
|
|
|
1168
|
-
T['io.flow.stripe.v0.
|
|
1214
|
+
T['io.flow.stripe.v0.enums.feature_availability'] = PropTypes.oneOf(['available', 'unavailable']);
|
|
1169
1215
|
|
|
1170
|
-
T['io.flow.stripe.v0.models.
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
metadata: PropTypes.object,
|
|
1174
|
-
card: T['io.flow.stripe.v0.models.payment_method_card_form'].isRequired,
|
|
1216
|
+
T['io.flow.stripe.v0.models.overcapture'] = PropTypes.exact({
|
|
1217
|
+
maximum_amount_capturable: PropTypes.number,
|
|
1218
|
+
status: T['io.flow.stripe.v0.enums.feature_availability'],
|
|
1175
1219
|
});
|
|
1176
1220
|
|
|
1177
|
-
T['io.flow.stripe.v0.
|
|
1221
|
+
T['io.flow.stripe.v0.models.multicapture'] = PropTypes.exact({
|
|
1222
|
+
status: T['io.flow.stripe.v0.enums.feature_availability'],
|
|
1223
|
+
});
|
|
1178
1224
|
|
|
1179
|
-
T['io.flow.stripe.v0.models.
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
setup_future_usage: T['io.flow.stripe.v0.enums.setup_future_usage'],
|
|
1225
|
+
T['io.flow.stripe.v0.models.incremental_authorization'] = PropTypes.exact({
|
|
1226
|
+
status: T['io.flow.stripe.v0.enums.feature_availability'],
|
|
1227
|
+
});
|
|
1228
|
+
|
|
1229
|
+
T['io.flow.stripe.v0.enums.extended_authorization_status'] = PropTypes.oneOf(['enabled', 'disabled']);
|
|
1230
|
+
|
|
1231
|
+
T['io.flow.stripe.v0.models.extended_authorization'] = PropTypes.exact({
|
|
1232
|
+
status: T['io.flow.stripe.v0.enums.extended_authorization_status'],
|
|
1188
1233
|
});
|
|
1189
1234
|
|
|
1190
1235
|
T['io.flow.stripe.v0.enums.decline_code'] = PropTypes.oneOf([
|
|
@@ -1207,6 +1252,7 @@ T['io.flow.stripe.v0.enums.decline_code'] = PropTypes.oneOf([
|
|
|
1207
1252
|
'invalid_account',
|
|
1208
1253
|
'invalid_amount',
|
|
1209
1254
|
'invalid_cvc',
|
|
1255
|
+
'invalid_expiry_month',
|
|
1210
1256
|
'invalid_expiry_year',
|
|
1211
1257
|
'invalid_number',
|
|
1212
1258
|
'invalid_pin',
|
|
@@ -1230,30 +1276,9 @@ T['io.flow.stripe.v0.enums.decline_code'] = PropTypes.oneOf([
|
|
|
1230
1276
|
'transaction_not_allowed',
|
|
1231
1277
|
'try_again_later',
|
|
1232
1278
|
'withdrawal_count_limit_exceeded',
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
sub_merchant_id: PropTypes.string,
|
|
1237
|
-
product_category: PropTypes.string,
|
|
1238
|
-
});
|
|
1239
|
-
|
|
1240
|
-
T['io.flow.stripe.v0.models.klarna_attachment'] = PropTypes.exact({
|
|
1241
|
-
marketplace_seller_info: PropTypes.arrayOf(T['io.flow.stripe.v0.models.klarna_marketplace_seller_info']),
|
|
1242
|
-
});
|
|
1243
|
-
|
|
1244
|
-
T['io.flow.stripe.v0.enums.card_error_code'] = PropTypes.oneOf([
|
|
1245
|
-
'invalid_number',
|
|
1246
|
-
'invalid_expiry_month',
|
|
1247
|
-
'invalid_expiry_year',
|
|
1248
|
-
'invalid_cvc',
|
|
1249
|
-
'invalid_swipe_data',
|
|
1250
|
-
'incorrect_number',
|
|
1251
|
-
'expired_card',
|
|
1252
|
-
'incorrect_cvc',
|
|
1253
|
-
'incorrect_zip',
|
|
1254
|
-
'card_declined',
|
|
1255
|
-
'missing',
|
|
1256
|
-
'processing_error',
|
|
1279
|
+
'previously_declined_do_not_retry',
|
|
1280
|
+
'highest_risk_level',
|
|
1281
|
+
'requested_block_on_incorrect_cvc',
|
|
1257
1282
|
]);
|
|
1258
1283
|
|
|
1259
1284
|
T['io.flow.stripe.v0.enums.error_type'] = PropTypes.oneOf([
|
|
@@ -1330,7 +1355,7 @@ T['io.flow.stripe.v0.models.payment_intent_form'] = PropTypes.exact({
|
|
|
1330
1355
|
on_behalf_of: PropTypes.string,
|
|
1331
1356
|
payment_method: PropTypes.string,
|
|
1332
1357
|
payment_method_data: T['io.flow.stripe.v0.unions.payment_method_data'],
|
|
1333
|
-
payment_method_options: T['io.flow.stripe.v0.models.
|
|
1358
|
+
payment_method_options: T['io.flow.stripe.v0.models.payment_method_options_form'],
|
|
1334
1359
|
payment_method_types: PropTypes.arrayOf(PropTypes.string),
|
|
1335
1360
|
receipt_email: PropTypes.string,
|
|
1336
1361
|
return_url: PropTypes.string,
|
|
@@ -1470,6 +1495,80 @@ T['io.flow.stripe.v0.enums.network_status'] = PropTypes.oneOf([
|
|
|
1470
1495
|
'reversed_after_approval',
|
|
1471
1496
|
]);
|
|
1472
1497
|
|
|
1498
|
+
T['io.flow.stripe.v0.enums.error_code'] = PropTypes.oneOf([
|
|
1499
|
+
'invalid_number',
|
|
1500
|
+
'invalid_expiry_month',
|
|
1501
|
+
'invalid_expiry_year',
|
|
1502
|
+
'invalid_cvc',
|
|
1503
|
+
'invalid_swipe_data',
|
|
1504
|
+
'country_code_invalid',
|
|
1505
|
+
'email_invalid',
|
|
1506
|
+
'postal_code_invalid',
|
|
1507
|
+
'invalid_characters',
|
|
1508
|
+
'url_invalid',
|
|
1509
|
+
'invalid_charge_amount',
|
|
1510
|
+
'incorrect_number',
|
|
1511
|
+
'incorrect_address',
|
|
1512
|
+
'incorrect_cvc',
|
|
1513
|
+
'incorrect_zip',
|
|
1514
|
+
'card_declined',
|
|
1515
|
+
'expired_card',
|
|
1516
|
+
'missing',
|
|
1517
|
+
'processing_error',
|
|
1518
|
+
'account_closed',
|
|
1519
|
+
'amount_too_small',
|
|
1520
|
+
'amount_too_large',
|
|
1521
|
+
'api_key_expired',
|
|
1522
|
+
'authentication_required',
|
|
1523
|
+
'capture_charge_authorization_expired',
|
|
1524
|
+
'capture_unauthorized_payment',
|
|
1525
|
+
'card_decline_rate_limit_exceeded',
|
|
1526
|
+
'charge_already_captured',
|
|
1527
|
+
'charge_already_refunded',
|
|
1528
|
+
'charge_disputed',
|
|
1529
|
+
'charge_exceeds_source_limit',
|
|
1530
|
+
'charge_expired_for_capture',
|
|
1531
|
+
'charge_invalid_parameter',
|
|
1532
|
+
'charge_not_refundable',
|
|
1533
|
+
'insufficient_funds',
|
|
1534
|
+
'intent_invalid_state',
|
|
1535
|
+
'livemode_mismatch',
|
|
1536
|
+
'parameter_invalid_empty',
|
|
1537
|
+
'parameter_invalid_integer',
|
|
1538
|
+
'parameter_invalid_string_blank',
|
|
1539
|
+
'parameter_invalid_string_empty',
|
|
1540
|
+
'parameter_missing',
|
|
1541
|
+
'parameter_unknown',
|
|
1542
|
+
'parameters_exclusive',
|
|
1543
|
+
'payment_intent_action_required',
|
|
1544
|
+
'payment_intent_authentication_failure',
|
|
1545
|
+
'payment_intent_incompatible_payment_method',
|
|
1546
|
+
'payment_intent_payment_attempt_expired',
|
|
1547
|
+
'payment_intent_payment_attempt_failed',
|
|
1548
|
+
'payment_intent_unexpected_state',
|
|
1549
|
+
'payment_intent_invalid_parameter',
|
|
1550
|
+
'payment_method_billing_details_address_missing',
|
|
1551
|
+
'payment_method_customer_decline',
|
|
1552
|
+
'payment_method_currency_mismatch',
|
|
1553
|
+
'payment_method_invalid_parameter',
|
|
1554
|
+
'payment_method_invalid_parameter_testmode',
|
|
1555
|
+
'payment_method_not_available',
|
|
1556
|
+
'payment_method_provider_decline',
|
|
1557
|
+
'payment_method_provider_timeout',
|
|
1558
|
+
'payment_method_unactivated',
|
|
1559
|
+
'payment_method_unexpected_state',
|
|
1560
|
+
'payment_method_unsupported_type',
|
|
1561
|
+
'platform_api_key_expired',
|
|
1562
|
+
'refund_disputed_payment',
|
|
1563
|
+
'testmode_charges_only',
|
|
1564
|
+
'tls_version_unsupported',
|
|
1565
|
+
'setup_attempt_failed',
|
|
1566
|
+
'setup_intent_authentication_failure',
|
|
1567
|
+
'setup_intent_invalid_parameter',
|
|
1568
|
+
'setup_intent_setup_attempt_expired',
|
|
1569
|
+
'setup_intent_unexpected_state',
|
|
1570
|
+
]);
|
|
1571
|
+
|
|
1473
1572
|
T['io.flow.stripe.v0.enums.payment_status'] = PropTypes.oneOf(['succeeded', 'pending', 'failed']);
|
|
1474
1573
|
|
|
1475
1574
|
T['io.flow.stripe.v0.models.refunds'] = PropTypes.exact({
|
|
@@ -1481,9 +1580,9 @@ T['io.flow.stripe.v0.models.refunds'] = PropTypes.exact({
|
|
|
1481
1580
|
});
|
|
1482
1581
|
|
|
1483
1582
|
T['io.flow.stripe.v0.models.payment_outcome'] = PropTypes.exact({
|
|
1484
|
-
network_status: T['io.flow.stripe.v0.enums.network_status']
|
|
1485
|
-
risk_level: PropTypes.string
|
|
1486
|
-
seller_message: PropTypes.string
|
|
1583
|
+
network_status: T['io.flow.stripe.v0.enums.network_status'],
|
|
1584
|
+
risk_level: PropTypes.string,
|
|
1585
|
+
seller_message: PropTypes.string,
|
|
1487
1586
|
reason: PropTypes.string,
|
|
1488
1587
|
type: T['io.flow.stripe.v0.enums.payment_outcome_type'],
|
|
1489
1588
|
});
|
|
@@ -1549,17 +1648,6 @@ T['io.flow.stripe.v0.models.payment_method'] = PropTypes.exact({
|
|
|
1549
1648
|
type: PropTypes.string,
|
|
1550
1649
|
});
|
|
1551
1650
|
|
|
1552
|
-
T['io.flow.stripe.v0.models.last_payment_error'] = PropTypes.exact({
|
|
1553
|
-
charge: PropTypes.string,
|
|
1554
|
-
code: PropTypes.string,
|
|
1555
|
-
decline_code: T['io.flow.stripe.v0.enums.decline_code'],
|
|
1556
|
-
doc_url: PropTypes.string,
|
|
1557
|
-
message: PropTypes.string,
|
|
1558
|
-
param: PropTypes.string,
|
|
1559
|
-
payment_method: T['io.flow.stripe.v0.models.payment_method'].isRequired,
|
|
1560
|
-
type: T['io.flow.stripe.v0.enums.error_type'].isRequired,
|
|
1561
|
-
});
|
|
1562
|
-
|
|
1563
1651
|
T['io.flow.stripe.v0.enums.apple_pay_type'] = PropTypes.oneOf(['apple_pay', 'apple_pay_later']);
|
|
1564
1652
|
|
|
1565
1653
|
T['io.flow.stripe.v0.models.apple_pay_information'] = PropTypes.exact({
|
|
@@ -1598,6 +1686,10 @@ T['io.flow.stripe.v0.models.payment_method_details_card_information'] = PropType
|
|
|
1598
1686
|
issuer: PropTypes.string,
|
|
1599
1687
|
wallet: T['io.flow.stripe.v0.unions.card_wallet'],
|
|
1600
1688
|
network_transaction_id: PropTypes.string,
|
|
1689
|
+
extended_authorization: T['io.flow.stripe.v0.models.extended_authorization'],
|
|
1690
|
+
incremental_authorization: T['io.flow.stripe.v0.models.incremental_authorization'],
|
|
1691
|
+
multicapture: T['io.flow.stripe.v0.models.multicapture'],
|
|
1692
|
+
overcapture: T['io.flow.stripe.v0.models.overcapture'],
|
|
1601
1693
|
});
|
|
1602
1694
|
|
|
1603
1695
|
T['io.flow.stripe.v0.models.payment_method_details_card'] = PropTypes.exact({
|
|
@@ -1670,6 +1762,7 @@ T['io.flow.stripe.v0.models.charge_source_optional'] = PropTypes.exact({
|
|
|
1670
1762
|
amount_refunded: PropTypes.number.isRequired,
|
|
1671
1763
|
authorization_code: PropTypes.string,
|
|
1672
1764
|
captured: PropTypes.bool.isRequired,
|
|
1765
|
+
disputed: PropTypes.bool,
|
|
1673
1766
|
created: PropTypes.number.isRequired,
|
|
1674
1767
|
currency: PropTypes.string.isRequired,
|
|
1675
1768
|
customer: PropTypes.string,
|
|
@@ -1682,7 +1775,7 @@ T['io.flow.stripe.v0.models.charge_source_optional'] = PropTypes.exact({
|
|
|
1682
1775
|
balance_transaction: PropTypes.string,
|
|
1683
1776
|
destination: PropTypes.string,
|
|
1684
1777
|
dispute: PropTypes.string,
|
|
1685
|
-
failure_code:
|
|
1778
|
+
failure_code: T['io.flow.stripe.v0.enums.error_code'],
|
|
1686
1779
|
failure_message: PropTypes.string,
|
|
1687
1780
|
on_behalf_of: PropTypes.string,
|
|
1688
1781
|
review: PropTypes.string,
|
|
@@ -1693,6 +1786,7 @@ T['io.flow.stripe.v0.models.charge_source_optional'] = PropTypes.exact({
|
|
|
1693
1786
|
calculated_statement_descriptor: PropTypes.string,
|
|
1694
1787
|
statement_descriptor: PropTypes.string,
|
|
1695
1788
|
payment_method_details: T['io.flow.stripe.v0.unions.payment_method_details'],
|
|
1789
|
+
payment_method: PropTypes.string,
|
|
1696
1790
|
});
|
|
1697
1791
|
|
|
1698
1792
|
T['io.flow.stripe.v0.models.payment_intent_charges'] = PropTypes.exact({
|
|
@@ -1721,7 +1815,7 @@ T['io.flow.stripe.v0.models.payment_intent'] = PropTypes.exact({
|
|
|
1721
1815
|
customer: PropTypes.string,
|
|
1722
1816
|
description: PropTypes.string,
|
|
1723
1817
|
invoice: PropTypes.string,
|
|
1724
|
-
last_payment_error:
|
|
1818
|
+
last_payment_error: PropTypes.any,
|
|
1725
1819
|
livemode: PropTypes.bool.isRequired,
|
|
1726
1820
|
metadata: T['io.flow.stripe.v0.models.metadata'],
|
|
1727
1821
|
next_action: T['io.flow.stripe.v0.models.next_action'],
|
|
@@ -1745,14 +1839,15 @@ T['io.flow.stripe.v0.models.stripe_error'] = PropTypes.exact({
|
|
|
1745
1839
|
type: T['io.flow.stripe.v0.enums.error_type'].isRequired,
|
|
1746
1840
|
charge: PropTypes.string,
|
|
1747
1841
|
message: PropTypes.string,
|
|
1748
|
-
code: T['io.flow.stripe.v0.enums.
|
|
1749
|
-
decline_code:
|
|
1842
|
+
code: T['io.flow.stripe.v0.enums.error_code'],
|
|
1843
|
+
decline_code: T['io.flow.stripe.v0.enums.decline_code'],
|
|
1750
1844
|
param: PropTypes.string,
|
|
1751
1845
|
payment_intent: T['io.flow.stripe.v0.models.payment_intent'],
|
|
1846
|
+
payment_method: T['io.flow.stripe.v0.models.payment_method'],
|
|
1752
1847
|
});
|
|
1753
1848
|
|
|
1754
1849
|
T['io.flow.stripe.v0.models.error'] = PropTypes.exact({
|
|
1755
|
-
error:
|
|
1850
|
+
error: PropTypes.any.isRequired,
|
|
1756
1851
|
});
|
|
1757
1852
|
|
|
1758
1853
|
T['io.flow.stripe.v0.models.charge'] = PropTypes.exact({
|
|
@@ -1765,6 +1860,7 @@ T['io.flow.stripe.v0.models.charge'] = PropTypes.exact({
|
|
|
1765
1860
|
currency: PropTypes.string.isRequired,
|
|
1766
1861
|
customer: PropTypes.string,
|
|
1767
1862
|
outcome: T['io.flow.stripe.v0.models.payment_outcome'],
|
|
1863
|
+
disputed: PropTypes.bool,
|
|
1768
1864
|
paid: PropTypes.bool.isRequired,
|
|
1769
1865
|
refunded: PropTypes.bool.isRequired,
|
|
1770
1866
|
refunds: T['io.flow.stripe.v0.models.refunds'],
|
|
@@ -1773,7 +1869,7 @@ T['io.flow.stripe.v0.models.charge'] = PropTypes.exact({
|
|
|
1773
1869
|
balance_transaction: PropTypes.string,
|
|
1774
1870
|
destination: PropTypes.string,
|
|
1775
1871
|
dispute: PropTypes.string,
|
|
1776
|
-
failure_code:
|
|
1872
|
+
failure_code: T['io.flow.stripe.v0.enums.error_code'],
|
|
1777
1873
|
failure_message: PropTypes.string,
|
|
1778
1874
|
on_behalf_of: PropTypes.string,
|
|
1779
1875
|
review: PropTypes.string,
|
|
@@ -1784,6 +1880,7 @@ T['io.flow.stripe.v0.models.charge'] = PropTypes.exact({
|
|
|
1784
1880
|
calculated_statement_descriptor: PropTypes.string,
|
|
1785
1881
|
statement_descriptor: PropTypes.string,
|
|
1786
1882
|
payment_method_details: T['io.flow.stripe.v0.unions.payment_method_details'],
|
|
1883
|
+
payment_method: PropTypes.string,
|
|
1787
1884
|
});
|
|
1788
1885
|
|
|
1789
1886
|
T['io.flow.stripe.v0.enums.account_type'] = PropTypes.oneOf(['platform', 'custom', 'standard', 'express']);
|
|
@@ -4900,6 +4997,11 @@ T['io.flow.v0.models.shipping_label_hop_cost_itemized_estimate'] = PropTypes.exa
|
|
|
4900
4997
|
surcharges: PropTypes.arrayOf(T['io.flow.v0.models.label_surcharge']).isRequired,
|
|
4901
4998
|
});
|
|
4902
4999
|
|
|
5000
|
+
T['io.flow.v0.models.additional_services_requested'] = PropTypes.exact({
|
|
5001
|
+
name: PropTypes.string.isRequired,
|
|
5002
|
+
description: PropTypes.string,
|
|
5003
|
+
});
|
|
5004
|
+
|
|
4903
5005
|
T['io.flow.v0.enums.label_trigger_method'] = PropTypes.oneOf(['autogenerated', 'on_demand']);
|
|
4904
5006
|
|
|
4905
5007
|
T['io.flow.v0.enums.label_request_method'] = PropTypes.oneOf([
|
|
@@ -6806,6 +6908,7 @@ T['io.flow.v0.enums.fee_deduction_type'] = PropTypes.oneOf([
|
|
|
6806
6908
|
|
|
6807
6909
|
T['io.flow.v0.models.transaction_metadata_manual'] = PropTypes.exact({
|
|
6808
6910
|
discriminator: PropTypes.oneOf(['manual']).isRequired,
|
|
6911
|
+
description: PropTypes.string.isRequired,
|
|
6809
6912
|
original: T['io.flow.v0.models.transaction_metadata_original_transaction'],
|
|
6810
6913
|
url: PropTypes.string,
|
|
6811
6914
|
});
|
|
@@ -12887,6 +12990,7 @@ T['io.flow.v0.models.shipping_label'] = PropTypes.exact({
|
|
|
12887
12990
|
shipment_recipient: T['io.flow.v0.enums.shipment_recipient'].isRequired,
|
|
12888
12991
|
label_request_method: T['io.flow.v0.enums.label_request_method'],
|
|
12889
12992
|
label_trigger_method: T['io.flow.v0.enums.label_trigger_method'],
|
|
12993
|
+
additional_services_requested: PropTypes.arrayOf(T['io.flow.v0.models.additional_services_requested']),
|
|
12890
12994
|
created_at: PropTypes.string,
|
|
12891
12995
|
updated_at: PropTypes.string,
|
|
12892
12996
|
});
|
|
@@ -14517,6 +14621,7 @@ export const actionUseSdkPaypal = T['io.flow.v0.models.action_use_sdk_paypal'];
|
|
|
14517
14621
|
export const actionUseSdkStripeV3 = T['io.flow.v0.models.action_use_sdk_stripe_v3'];
|
|
14518
14622
|
export const actionWait = T['io.flow.v0.models.action_wait'];
|
|
14519
14623
|
export const activationPutForm = T['io.flow.v0.models.activation_put_form'];
|
|
14624
|
+
export const additionalServicesRequested = T['io.flow.v0.models.additional_services_requested'];
|
|
14520
14625
|
export const address = T['io.flow.v0.models.address'];
|
|
14521
14626
|
export const addressConfiguration = T['io.flow.v0.models.address_configuration'];
|
|
14522
14627
|
export const addressConfigurationFieldPlacement = T['io.flow.v0.models.address_configuration_field_placement'];
|