@flowio/api-prop-types 10.16.55 → 10.16.57
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 +177 -15
- package/lib/api.js +1 -1
- package/package.json +2 -2
- package/src/api.d.ts +177 -15
- package/src/api.js +244 -42
package/src/api.js
CHANGED
|
@@ -31,15 +31,42 @@ T['io.flow.billing.true.up.v0.models.weights_dead'] = PropTypes.exact({
|
|
|
31
31
|
weight: PropTypes.number.isRequired,
|
|
32
32
|
});
|
|
33
33
|
|
|
34
|
-
T['io.flow.billing.true.up.v0.enums.weight_selection'] = PropTypes.oneOf(['dead', 'dimensional']);
|
|
35
|
-
|
|
36
34
|
T['io.flow.billing.true.up.v0.models.metadata_proposition'] = PropTypes.exact({
|
|
37
35
|
shipping_method: T['io.flow.billing.true.up.v0.models.shipping_method_reference'].isRequired,
|
|
38
36
|
name: PropTypes.string.isRequired,
|
|
39
37
|
});
|
|
40
38
|
|
|
39
|
+
T['io.flow.billing.true.up.v0.models.label_surcharge_single_form'] = PropTypes.exact({
|
|
40
|
+
amount: PropTypes.number.isRequired,
|
|
41
|
+
percentage: PropTypes.number,
|
|
42
|
+
fee_per_weight_unit: PropTypes.number,
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
T['io.flow.billing.true.up.v0.models.label_surcharge_form'] = PropTypes.exact({
|
|
46
|
+
fuel: T['io.flow.billing.true.up.v0.models.label_surcharge_single_form'],
|
|
47
|
+
remote_area: T['io.flow.billing.true.up.v0.models.label_surcharge_single_form'],
|
|
48
|
+
oversize: T['io.flow.billing.true.up.v0.models.label_surcharge_single_form'],
|
|
49
|
+
duties_paid: T['io.flow.billing.true.up.v0.models.label_surcharge_single_form'],
|
|
50
|
+
emergency: T['io.flow.billing.true.up.v0.models.label_surcharge_single_form'],
|
|
51
|
+
peak: T['io.flow.billing.true.up.v0.models.label_surcharge_single_form'],
|
|
52
|
+
address_correction: T['io.flow.billing.true.up.v0.models.label_surcharge_single_form'],
|
|
53
|
+
});
|
|
54
|
+
|
|
55
|
+
T['io.flow.billing.true.up.v0.models.label_invoice_response_file_result'] = PropTypes.exact({
|
|
56
|
+
processed_at: PropTypes.string.isRequired,
|
|
57
|
+
number_lines_successful: PropTypes.number.isRequired,
|
|
58
|
+
number_lines_with_errors: PropTypes.number.isRequired,
|
|
59
|
+
errors_url: PropTypes.string,
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
T['io.flow.billing.true.up.v0.models.label_invoice_response_file'] = PropTypes.exact({
|
|
63
|
+
id: PropTypes.string.isRequired,
|
|
64
|
+
url: PropTypes.string.isRequired,
|
|
65
|
+
created_at: PropTypes.string.isRequired,
|
|
66
|
+
result: T['io.flow.billing.true.up.v0.models.label_invoice_response_file_result'],
|
|
67
|
+
});
|
|
68
|
+
|
|
41
69
|
T['io.flow.billing.true.up.v0.models.metadata_weights'] = PropTypes.exact({
|
|
42
|
-
selected: T['io.flow.billing.true.up.v0.enums.weight_selection'].isRequired,
|
|
43
70
|
dead: T['io.flow.billing.true.up.v0.models.weights_dead'],
|
|
44
71
|
dimensional: T['io.flow.billing.true.up.v0.models.weights_dimensional'],
|
|
45
72
|
});
|
|
@@ -912,6 +939,13 @@ T['io.flow.stripe.v0.models.three_d_secure'] = PropTypes.exact({
|
|
|
912
939
|
customer: PropTypes.string,
|
|
913
940
|
});
|
|
914
941
|
|
|
942
|
+
T['io.flow.stripe.v0.models.source_card_request'] = PropTypes.exact({
|
|
943
|
+
exp_month: PropTypes.string.isRequired,
|
|
944
|
+
exp_year: PropTypes.string.isRequired,
|
|
945
|
+
number: PropTypes.string.isRequired,
|
|
946
|
+
cvc: PropTypes.string,
|
|
947
|
+
});
|
|
948
|
+
|
|
915
949
|
T['io.flow.stripe.v0.enums.klarna_product'] = PropTypes.oneOf(['payment']);
|
|
916
950
|
|
|
917
951
|
T['io.flow.stripe.v0.models.source_klarna_request'] = PropTypes.exact({
|
|
@@ -925,19 +959,21 @@ T['io.flow.stripe.v0.models.source_klarna_request'] = PropTypes.exact({
|
|
|
925
959
|
locale: PropTypes.string,
|
|
926
960
|
});
|
|
927
961
|
|
|
962
|
+
T['io.flow.stripe.v0.enums.three_d_secure_support'] = PropTypes.oneOf(['required', 'recommended', 'optional', 'not_supported']);
|
|
928
963
|
T['io.flow.stripe.v0.enums.refund_reason'] = PropTypes.oneOf(['duplicate', 'fraudulent', 'requested_by_customer']);
|
|
929
964
|
T['io.flow.stripe.v0.enums.refund_failure_reason'] = PropTypes.oneOf(['lost_or_stolen_card', 'expired_or_canceled_card', 'unknown']);
|
|
930
965
|
T['io.flow.stripe.v0.enums.refund_status'] = PropTypes.oneOf(['succeeded', 'failed', 'pending', 'canceled']);
|
|
931
|
-
T['io.flow.stripe.v0.enums.request_three_d_secure_type'] = PropTypes.oneOf(['automatic', 'any']);
|
|
932
966
|
|
|
933
|
-
T['io.flow.stripe.v0.
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
967
|
+
T['io.flow.stripe.v0.enums.stored_credential_transaction_type'] = PropTypes.oneOf([
|
|
968
|
+
'setup_on_session',
|
|
969
|
+
'setup_off_session_recurring',
|
|
970
|
+
'setup_off_session_unscheduled',
|
|
971
|
+
'stored_on_session',
|
|
972
|
+
'stored_on_session_recurring',
|
|
973
|
+
'stored_on_session_unscheduled',
|
|
974
|
+
]);
|
|
939
975
|
|
|
940
|
-
T['io.flow.stripe.v0.enums.
|
|
976
|
+
T['io.flow.stripe.v0.enums.request_three_d_secure_type'] = PropTypes.oneOf(['automatic', 'any']);
|
|
941
977
|
|
|
942
978
|
T['io.flow.stripe.v0.enums.preferred_locale_klarna'] = PropTypes.oneOf([
|
|
943
979
|
'de-AT',
|
|
@@ -1047,10 +1083,26 @@ T['io.flow.stripe.v0.models.plan'] = PropTypes.exact({
|
|
|
1047
1083
|
type: PropTypes.string,
|
|
1048
1084
|
});
|
|
1049
1085
|
|
|
1050
|
-
T['io.flow.stripe.v0.
|
|
1086
|
+
T['io.flow.stripe.v0.models.payment_method_card_form'] = PropTypes.exact({
|
|
1087
|
+
exp_month: PropTypes.string.isRequired,
|
|
1088
|
+
exp_year: PropTypes.string.isRequired,
|
|
1089
|
+
number: PropTypes.string.isRequired,
|
|
1090
|
+
cvc: PropTypes.string,
|
|
1091
|
+
});
|
|
1092
|
+
|
|
1093
|
+
T['io.flow.stripe.v0.models.three_d_secure_usage'] = PropTypes.exact({
|
|
1094
|
+
supported: PropTypes.bool,
|
|
1095
|
+
});
|
|
1096
|
+
|
|
1097
|
+
T['io.flow.stripe.v0.models.card_networks'] = PropTypes.exact({
|
|
1098
|
+
available: PropTypes.arrayOf(PropTypes.string),
|
|
1099
|
+
preferred: PropTypes.string,
|
|
1100
|
+
});
|
|
1051
1101
|
|
|
1052
1102
|
T['io.flow.stripe.v0.models.payment_method_options_card'] = PropTypes.exact({
|
|
1103
|
+
network: PropTypes.string,
|
|
1053
1104
|
request_three_d_secure: T['io.flow.stripe.v0.enums.request_three_d_secure_type'],
|
|
1105
|
+
stored_credential_transaction_type: T['io.flow.stripe.v0.enums.stored_credential_transaction_type'],
|
|
1054
1106
|
});
|
|
1055
1107
|
|
|
1056
1108
|
T['io.flow.stripe.v0.enums.payment_intent_status'] = PropTypes.oneOf([
|
|
@@ -1069,16 +1121,6 @@ T['io.flow.stripe.v0.models.payment_method_options'] = PropTypes.exact({
|
|
|
1069
1121
|
card: T['io.flow.stripe.v0.models.payment_method_options_card'],
|
|
1070
1122
|
});
|
|
1071
1123
|
|
|
1072
|
-
T['io.flow.stripe.v0.models.payment_intent_confirmation_form'] = PropTypes.exact({
|
|
1073
|
-
off_session: PropTypes.bool,
|
|
1074
|
-
payment_method: PropTypes.string,
|
|
1075
|
-
payment_method_options: T['io.flow.stripe.v0.models.payment_method_options'],
|
|
1076
|
-
payment_method_types: PropTypes.arrayOf(PropTypes.string),
|
|
1077
|
-
receipt_email: PropTypes.string,
|
|
1078
|
-
save_payment_method: PropTypes.bool,
|
|
1079
|
-
setup_future_usage: T['io.flow.stripe.v0.enums.setup_future_usage'],
|
|
1080
|
-
});
|
|
1081
|
-
|
|
1082
1124
|
T['io.flow.stripe.v0.enums.confirmation_method'] = PropTypes.oneOf(['automatic', 'manual']);
|
|
1083
1125
|
T['io.flow.stripe.v0.enums.capture_method'] = PropTypes.oneOf(['automatic', 'manual']);
|
|
1084
1126
|
|
|
@@ -1201,10 +1243,33 @@ T['io.flow.stripe.v0.models.payment_method_billing_details'] = PropTypes.exact({
|
|
|
1201
1243
|
phone: PropTypes.string,
|
|
1202
1244
|
});
|
|
1203
1245
|
|
|
1204
|
-
T['io.flow.stripe.v0.models.
|
|
1205
|
-
type:
|
|
1246
|
+
T['io.flow.stripe.v0.models.payment_method_form_card'] = PropTypes.exact({
|
|
1247
|
+
type: PropTypes.oneOf(['card']).isRequired,
|
|
1206
1248
|
billing_details: T['io.flow.stripe.v0.models.payment_method_billing_details'],
|
|
1207
|
-
|
|
1249
|
+
metadata: PropTypes.object,
|
|
1250
|
+
card: T['io.flow.stripe.v0.models.payment_method_card_form'].isRequired,
|
|
1251
|
+
});
|
|
1252
|
+
|
|
1253
|
+
T['io.flow.stripe.v0.unions.payment_method_form'] = PropTypes.oneOfType([T['io.flow.stripe.v0.models.payment_method_form_card']]);
|
|
1254
|
+
|
|
1255
|
+
T['io.flow.stripe.v0.models.payment_method_data_card'] = PropTypes.exact({
|
|
1256
|
+
type: PropTypes.oneOf(['card']).isRequired,
|
|
1257
|
+
billing_details: T['io.flow.stripe.v0.models.payment_method_billing_details'],
|
|
1258
|
+
metadata: PropTypes.object,
|
|
1259
|
+
card: T['io.flow.stripe.v0.models.payment_method_card_form'].isRequired,
|
|
1260
|
+
});
|
|
1261
|
+
|
|
1262
|
+
T['io.flow.stripe.v0.unions.payment_method_data'] = PropTypes.oneOfType([T['io.flow.stripe.v0.models.payment_method_data_card']]);
|
|
1263
|
+
|
|
1264
|
+
T['io.flow.stripe.v0.models.payment_intent_confirmation_form'] = PropTypes.exact({
|
|
1265
|
+
off_session: PropTypes.bool,
|
|
1266
|
+
payment_method: PropTypes.string,
|
|
1267
|
+
payment_method_data: T['io.flow.stripe.v0.unions.payment_method_data'],
|
|
1268
|
+
payment_method_options: T['io.flow.stripe.v0.models.payment_method_options'],
|
|
1269
|
+
payment_method_types: PropTypes.arrayOf(PropTypes.string),
|
|
1270
|
+
receipt_email: PropTypes.string,
|
|
1271
|
+
save_payment_method: PropTypes.bool,
|
|
1272
|
+
setup_future_usage: T['io.flow.stripe.v0.enums.setup_future_usage'],
|
|
1208
1273
|
});
|
|
1209
1274
|
|
|
1210
1275
|
T['io.flow.stripe.v0.enums.decline_code'] = PropTypes.oneOf([
|
|
@@ -1322,6 +1387,8 @@ T['io.flow.stripe.v0.models.metadata'] = PropTypes.exact({
|
|
|
1322
1387
|
order_number: PropTypes.string,
|
|
1323
1388
|
authorization_id: PropTypes.string,
|
|
1324
1389
|
organization_id: PropTypes.string,
|
|
1390
|
+
payment_request_id: PropTypes.string,
|
|
1391
|
+
payment_request_order_reference: PropTypes.string,
|
|
1325
1392
|
});
|
|
1326
1393
|
|
|
1327
1394
|
T['io.flow.stripe.v0.models.refund_request'] = PropTypes.exact({
|
|
@@ -1347,6 +1414,7 @@ T['io.flow.stripe.v0.models.payment_intent_form'] = PropTypes.exact({
|
|
|
1347
1414
|
metadata: T['io.flow.stripe.v0.models.metadata'],
|
|
1348
1415
|
on_behalf_of: PropTypes.string,
|
|
1349
1416
|
payment_method: PropTypes.string,
|
|
1417
|
+
payment_method_data: T['io.flow.stripe.v0.unions.payment_method_data'],
|
|
1350
1418
|
payment_method_options: T['io.flow.stripe.v0.models.payment_method_options'],
|
|
1351
1419
|
payment_method_types: PropTypes.arrayOf(PropTypes.string),
|
|
1352
1420
|
receipt_email: PropTypes.string,
|
|
@@ -1534,11 +1602,30 @@ T['io.flow.stripe.v0.models.source_card'] = PropTypes.exact({
|
|
|
1534
1602
|
dynamic_last4: PropTypes.string,
|
|
1535
1603
|
});
|
|
1536
1604
|
|
|
1605
|
+
T['io.flow.stripe.v0.models.card_checks'] = PropTypes.exact({
|
|
1606
|
+
address_line1_check: T['io.flow.stripe.v0.enums.check_outcome'],
|
|
1607
|
+
address_postal_code_check: T['io.flow.stripe.v0.enums.check_outcome'],
|
|
1608
|
+
cvc_check: T['io.flow.stripe.v0.enums.check_outcome'],
|
|
1609
|
+
});
|
|
1610
|
+
|
|
1611
|
+
T['io.flow.stripe.v0.models.payment_method_card_details'] = PropTypes.exact({
|
|
1612
|
+
brand: T['io.flow.stripe.v0.enums.card_brand'],
|
|
1613
|
+
checks: T['io.flow.stripe.v0.models.card_checks'],
|
|
1614
|
+
country: PropTypes.string,
|
|
1615
|
+
exp_month: PropTypes.number,
|
|
1616
|
+
exp_year: PropTypes.number,
|
|
1617
|
+
fingerprint: PropTypes.string,
|
|
1618
|
+
funding: T['io.flow.stripe.v0.enums.card_funding_type'],
|
|
1619
|
+
last4: PropTypes.string,
|
|
1620
|
+
networks: T['io.flow.stripe.v0.models.card_networks'],
|
|
1621
|
+
three_d_secure_usage: T['io.flow.stripe.v0.models.three_d_secure_usage'],
|
|
1622
|
+
});
|
|
1623
|
+
|
|
1537
1624
|
T['io.flow.stripe.v0.models.payment_method'] = PropTypes.exact({
|
|
1538
1625
|
id: PropTypes.string.isRequired,
|
|
1539
1626
|
object: PropTypes.string.isRequired,
|
|
1540
1627
|
billing_details: T['io.flow.stripe.v0.models.payment_method_billing_details'],
|
|
1541
|
-
card: T['io.flow.stripe.v0.models.
|
|
1628
|
+
card: T['io.flow.stripe.v0.models.payment_method_card_details'],
|
|
1542
1629
|
card_present: PropTypes.object,
|
|
1543
1630
|
created: PropTypes.number.isRequired,
|
|
1544
1631
|
customer: PropTypes.string,
|
|
@@ -1557,12 +1644,6 @@ T['io.flow.stripe.v0.models.last_payment_error'] = PropTypes.exact({
|
|
|
1557
1644
|
type: T['io.flow.stripe.v0.enums.error_type'].isRequired,
|
|
1558
1645
|
});
|
|
1559
1646
|
|
|
1560
|
-
T['io.flow.stripe.v0.models.card_checks'] = PropTypes.exact({
|
|
1561
|
-
address_line1_check: T['io.flow.stripe.v0.enums.check_outcome'],
|
|
1562
|
-
address_postal_code_check: T['io.flow.stripe.v0.enums.check_outcome'],
|
|
1563
|
-
cvc_check: T['io.flow.stripe.v0.enums.check_outcome'],
|
|
1564
|
-
});
|
|
1565
|
-
|
|
1566
1647
|
T['io.flow.stripe.v0.enums.apple_pay_type'] = PropTypes.oneOf(['apple_pay', 'apple_pay_later']);
|
|
1567
1648
|
|
|
1568
1649
|
T['io.flow.stripe.v0.models.apple_pay_information'] = PropTypes.exact({
|
|
@@ -1671,6 +1752,7 @@ T['io.flow.stripe.v0.models.charge_source_optional'] = PropTypes.exact({
|
|
|
1671
1752
|
id: PropTypes.string.isRequired,
|
|
1672
1753
|
amount: PropTypes.number.isRequired,
|
|
1673
1754
|
amount_refunded: PropTypes.number.isRequired,
|
|
1755
|
+
authorization_code: PropTypes.string,
|
|
1674
1756
|
captured: PropTypes.bool.isRequired,
|
|
1675
1757
|
created: PropTypes.number.isRequired,
|
|
1676
1758
|
currency: PropTypes.string.isRequired,
|
|
@@ -1760,6 +1842,7 @@ T['io.flow.stripe.v0.models.charge'] = PropTypes.exact({
|
|
|
1760
1842
|
id: PropTypes.string.isRequired,
|
|
1761
1843
|
amount: PropTypes.number.isRequired,
|
|
1762
1844
|
amount_refunded: PropTypes.number.isRequired,
|
|
1845
|
+
authorization_code: PropTypes.string,
|
|
1763
1846
|
captured: PropTypes.bool.isRequired,
|
|
1764
1847
|
created: PropTypes.number.isRequired,
|
|
1765
1848
|
currency: PropTypes.string.isRequired,
|
|
@@ -2807,6 +2890,51 @@ T['io.flow.v0.models.user_form'] = PropTypes.exact({
|
|
|
2807
2890
|
|
|
2808
2891
|
T['io.flow.v0.enums.user_status'] = PropTypes.oneOf(['pending', 'active', 'inactive']);
|
|
2809
2892
|
|
|
2893
|
+
T['io.flow.v0.enums.trueup_surcharge_type'] = PropTypes.oneOf([
|
|
2894
|
+
'fuel',
|
|
2895
|
+
'remote_area',
|
|
2896
|
+
'oversize',
|
|
2897
|
+
'duties_paid',
|
|
2898
|
+
'emergency',
|
|
2899
|
+
'peak',
|
|
2900
|
+
'address_correction',
|
|
2901
|
+
]);
|
|
2902
|
+
|
|
2903
|
+
T['io.flow.v0.enums.unit_of_length'] = PropTypes.oneOf(['millimeter', 'centimeter', 'inch', 'foot', 'meter']);
|
|
2904
|
+
T['io.flow.v0.enums.unit_of_weight'] = PropTypes.oneOf(['gram', 'kilogram', 'ounce', 'pound']);
|
|
2905
|
+
|
|
2906
|
+
T['io.flow.v0.models.trueup_label_surcharge'] = PropTypes.exact({
|
|
2907
|
+
amount: PropTypes.number.isRequired,
|
|
2908
|
+
type: T['io.flow.v0.enums.trueup_surcharge_type'].isRequired,
|
|
2909
|
+
percentage: PropTypes.number,
|
|
2910
|
+
per_weight_unit: PropTypes.number,
|
|
2911
|
+
});
|
|
2912
|
+
|
|
2913
|
+
T['io.flow.v0.models.trueup_label_base'] = PropTypes.exact({
|
|
2914
|
+
amount: PropTypes.number.isRequired,
|
|
2915
|
+
weight: PropTypes.number.isRequired,
|
|
2916
|
+
});
|
|
2917
|
+
|
|
2918
|
+
T['io.flow.v0.models.trueup_label_units'] = PropTypes.exact({
|
|
2919
|
+
weight: T['io.flow.v0.enums.unit_of_weight'].isRequired,
|
|
2920
|
+
length: T['io.flow.v0.enums.unit_of_length'],
|
|
2921
|
+
});
|
|
2922
|
+
|
|
2923
|
+
T['io.flow.v0.enums.trueup_source'] = PropTypes.oneOf(['flow', 'channel', 'dhl-parcel', 'dhl']);
|
|
2924
|
+
|
|
2925
|
+
T['io.flow.v0.models.transaction_metadata_trueup_data'] = PropTypes.exact({
|
|
2926
|
+
source: T['io.flow.v0.enums.trueup_source'].isRequired,
|
|
2927
|
+
units: T['io.flow.v0.models.trueup_label_units'].isRequired,
|
|
2928
|
+
base: T['io.flow.v0.models.trueup_label_base'].isRequired,
|
|
2929
|
+
surcharges: PropTypes.arrayOf(T['io.flow.v0.models.trueup_label_surcharge']).isRequired,
|
|
2930
|
+
total: PropTypes.number.isRequired,
|
|
2931
|
+
});
|
|
2932
|
+
|
|
2933
|
+
T['io.flow.v0.models.transaction_metadata_channel_card_metadata_issuer_summary'] = PropTypes.exact({
|
|
2934
|
+
iin: PropTypes.string.isRequired,
|
|
2935
|
+
country: PropTypes.string.isRequired,
|
|
2936
|
+
});
|
|
2937
|
+
|
|
2810
2938
|
T['io.flow.v0.enums.tracking_status'] = PropTypes.oneOf([
|
|
2811
2939
|
'label_created',
|
|
2812
2940
|
'pending',
|
|
@@ -3285,10 +3413,25 @@ T['io.flow.billing.true.up.v0.unions.label_surcharge_detail'] = PropTypes.oneOfT
|
|
|
3285
3413
|
T['io.flow.billing.true.up.v0.models.label_surcharge_detail_per_weight_unit'],
|
|
3286
3414
|
]);
|
|
3287
3415
|
|
|
3288
|
-
T['io.flow.billing.true.up.v0.enums.true_up_surcharge_type'] = PropTypes.oneOf([
|
|
3416
|
+
T['io.flow.billing.true.up.v0.enums.true_up_surcharge_type'] = PropTypes.oneOf([
|
|
3417
|
+
'fuel',
|
|
3418
|
+
'remote_area',
|
|
3419
|
+
'oversize',
|
|
3420
|
+
'duties_paid',
|
|
3421
|
+
'emergency',
|
|
3422
|
+
'peak',
|
|
3423
|
+
'address_correction',
|
|
3424
|
+
]);
|
|
3425
|
+
|
|
3289
3426
|
T['io.flow.units.v0.enums.unit_of_length'] = PropTypes.oneOf(['millimeter', 'centimeter', 'inch', 'foot', 'meter']);
|
|
3290
3427
|
T['io.flow.units.v0.enums.unit_of_weight'] = PropTypes.oneOf(['gram', 'kilogram', 'ounce', 'pound']);
|
|
3291
3428
|
|
|
3429
|
+
T['io.flow.billing.true.up.v0.models.label_response_units'] = PropTypes.exact({
|
|
3430
|
+
currency: PropTypes.string.isRequired,
|
|
3431
|
+
weight: T['io.flow.units.v0.enums.unit_of_weight'].isRequired,
|
|
3432
|
+
length: T['io.flow.units.v0.enums.unit_of_length'],
|
|
3433
|
+
});
|
|
3434
|
+
|
|
3292
3435
|
T['io.flow.billing.true.up.v0.models.label_surcharge'] = PropTypes.exact({
|
|
3293
3436
|
amount: PropTypes.number.isRequired,
|
|
3294
3437
|
type: T['io.flow.billing.true.up.v0.enums.true_up_surcharge_type'].isRequired,
|
|
@@ -3300,6 +3443,15 @@ T['io.flow.billing.true.up.v0.models.label_base'] = PropTypes.exact({
|
|
|
3300
3443
|
weight: PropTypes.number.isRequired,
|
|
3301
3444
|
});
|
|
3302
3445
|
|
|
3446
|
+
T['io.flow.billing.true.up.v0.models.label_invoice_response_form'] = PropTypes.exact({
|
|
3447
|
+
id: PropTypes.string.isRequired,
|
|
3448
|
+
label_invoice_request_id: PropTypes.string.isRequired,
|
|
3449
|
+
units: T['io.flow.billing.true.up.v0.models.label_response_units'].isRequired,
|
|
3450
|
+
base: T['io.flow.billing.true.up.v0.models.label_base'].isRequired,
|
|
3451
|
+
surcharges: T['io.flow.billing.true.up.v0.models.label_surcharge_form'].isRequired,
|
|
3452
|
+
total: PropTypes.number.isRequired,
|
|
3453
|
+
});
|
|
3454
|
+
|
|
3303
3455
|
T['io.flow.billing.true.up.v0.models.label_units'] = PropTypes.exact({
|
|
3304
3456
|
currency: PropTypes.string.isRequired,
|
|
3305
3457
|
weight: T['io.flow.units.v0.enums.unit_of_weight'].isRequired,
|
|
@@ -6077,6 +6229,7 @@ T['io.flow.v0.enums.order_payment_type'] = PropTypes.oneOf([
|
|
|
6077
6229
|
'card',
|
|
6078
6230
|
'online',
|
|
6079
6231
|
'credit',
|
|
6232
|
+
'external',
|
|
6080
6233
|
'subsidized',
|
|
6081
6234
|
'installment_plan',
|
|
6082
6235
|
'cash_on_delivery',
|
|
@@ -6691,6 +6844,12 @@ T['io.flow.v0.enums.transaction_payout_pending_reason'] = PropTypes.oneOf([
|
|
|
6691
6844
|
'waiting_for_positive_account_balance',
|
|
6692
6845
|
]);
|
|
6693
6846
|
|
|
6847
|
+
T['io.flow.v0.models.pending_transaction'] = PropTypes.exact({
|
|
6848
|
+
id: PropTypes.string.isRequired,
|
|
6849
|
+
reason: T['io.flow.v0.enums.transaction_payout_pending_reason'].isRequired,
|
|
6850
|
+
reason_set_at: PropTypes.string.isRequired,
|
|
6851
|
+
});
|
|
6852
|
+
|
|
6694
6853
|
T['io.flow.v0.models.transaction_reference'] = PropTypes.exact({
|
|
6695
6854
|
id: PropTypes.string.isRequired,
|
|
6696
6855
|
});
|
|
@@ -6719,6 +6878,12 @@ T['io.flow.v0.enums.fee_deduction_type'] = PropTypes.oneOf([
|
|
|
6719
6878
|
'transfer',
|
|
6720
6879
|
]);
|
|
6721
6880
|
|
|
6881
|
+
T['io.flow.v0.models.transaction_metadata_trueup'] = PropTypes.exact({
|
|
6882
|
+
discriminator: PropTypes.oneOf(['trueup']).isRequired,
|
|
6883
|
+
estimate: T['io.flow.v0.models.transaction_metadata_trueup_data'].isRequired,
|
|
6884
|
+
actual: T['io.flow.v0.models.transaction_metadata_trueup_data'].isRequired,
|
|
6885
|
+
});
|
|
6886
|
+
|
|
6722
6887
|
T['io.flow.v0.models.transaction_metadata_shipping_label'] = PropTypes.exact({
|
|
6723
6888
|
discriminator: PropTypes.oneOf(['shipping_label']).isRequired,
|
|
6724
6889
|
request_method: T['io.flow.v0.enums.label_request_method'],
|
|
@@ -6749,6 +6914,7 @@ T['io.flow.v0.enums.transaction_source'] = PropTypes.oneOf([
|
|
|
6749
6914
|
'reversal',
|
|
6750
6915
|
'shipping_label',
|
|
6751
6916
|
'shipping_label_service',
|
|
6917
|
+
'trueup',
|
|
6752
6918
|
'shipping_label_revenue_share',
|
|
6753
6919
|
'platform_fee',
|
|
6754
6920
|
'tax',
|
|
@@ -6773,8 +6939,6 @@ T['io.flow.v0.models.billing_channel_payment_request_reference'] = PropTypes.exa
|
|
|
6773
6939
|
reference: PropTypes.string,
|
|
6774
6940
|
});
|
|
6775
6941
|
|
|
6776
|
-
T['io.flow.v0.unions.transaction_metadata'] = PropTypes.oneOfType([T['io.flow.v0.models.transaction_metadata_shipping_label']]);
|
|
6777
|
-
|
|
6778
6942
|
T['io.flow.v0.models.billing_channel_statement_reference'] = PropTypes.exact({
|
|
6779
6943
|
id: PropTypes.string.isRequired,
|
|
6780
6944
|
});
|
|
@@ -7354,6 +7518,23 @@ T['io.flow.v0.enums.card_type'] = PropTypes.oneOf([
|
|
|
7354
7518
|
'visa',
|
|
7355
7519
|
]);
|
|
7356
7520
|
|
|
7521
|
+
T['io.flow.v0.models.transaction_metadata_channel_card_metadata'] = PropTypes.exact({
|
|
7522
|
+
type: T['io.flow.v0.enums.card_type'].isRequired,
|
|
7523
|
+
issuer: T['io.flow.v0.models.transaction_metadata_channel_card_metadata_issuer_summary'].isRequired,
|
|
7524
|
+
});
|
|
7525
|
+
|
|
7526
|
+
T['io.flow.v0.models.transaction_metadata_channel'] = PropTypes.exact({
|
|
7527
|
+
discriminator: PropTypes.oneOf(['channel']).isRequired,
|
|
7528
|
+
method: PropTypes.string.isRequired,
|
|
7529
|
+
card: T['io.flow.v0.models.transaction_metadata_channel_card_metadata'],
|
|
7530
|
+
});
|
|
7531
|
+
|
|
7532
|
+
T['io.flow.v0.unions.transaction_metadata'] = PropTypes.oneOfType([
|
|
7533
|
+
T['io.flow.v0.models.transaction_metadata_shipping_label'],
|
|
7534
|
+
T['io.flow.v0.models.transaction_metadata_channel'],
|
|
7535
|
+
T['io.flow.v0.models.transaction_metadata_trueup'],
|
|
7536
|
+
]);
|
|
7537
|
+
|
|
7357
7538
|
T['io.flow.v0.models.transaction_network_details_card'] = PropTypes.exact({
|
|
7358
7539
|
network_transaction_id: PropTypes.string,
|
|
7359
7540
|
network: T['io.flow.v0.enums.card_type'],
|
|
@@ -8048,6 +8229,7 @@ T['io.flow.v0.models.organization_onboarding_state'] = PropTypes.exact({
|
|
|
8048
8229
|
current_state: T['io.flow.v0.unions.onboarding_state'].isRequired,
|
|
8049
8230
|
started_at: PropTypes.string,
|
|
8050
8231
|
time_blocked: PropTypes.number,
|
|
8232
|
+
time_in_setup: PropTypes.number,
|
|
8051
8233
|
blocked_since: PropTypes.string,
|
|
8052
8234
|
completed_at: PropTypes.string,
|
|
8053
8235
|
onboarding_started_at: PropTypes.string,
|
|
@@ -10963,7 +11145,7 @@ T['io.flow.apple.pay.v0.models.apple_pay_payment_contact'] = PropTypes.exact({
|
|
|
10963
11145
|
country_code: PropTypes.string,
|
|
10964
11146
|
});
|
|
10965
11147
|
|
|
10966
|
-
T['io.flow.apple.pay.v0.enums.apple_pay_contact_field'] = PropTypes.oneOf(['email', 'name', 'phone', '
|
|
11148
|
+
T['io.flow.apple.pay.v0.enums.apple_pay_contact_field'] = PropTypes.oneOf(['email', 'name', 'phone', 'postal_address', 'phonetic_name']);
|
|
10967
11149
|
|
|
10968
11150
|
T['io.flow.apple.pay.v0.enums.apple_pay_supported_networks'] = PropTypes.oneOf([
|
|
10969
11151
|
'amex',
|
|
@@ -10975,12 +11157,12 @@ T['io.flow.apple.pay.v0.enums.apple_pay_supported_networks'] = PropTypes.oneOf([
|
|
|
10975
11157
|
'visa',
|
|
10976
11158
|
]);
|
|
10977
11159
|
|
|
10978
|
-
T['io.flow.apple.pay.v0.enums.apple_pay_shipping_type'] = PropTypes.oneOf(['shipping', 'delivery', '
|
|
11160
|
+
T['io.flow.apple.pay.v0.enums.apple_pay_shipping_type'] = PropTypes.oneOf(['shipping', 'delivery', 'store_pickup', 'service_pickup']);
|
|
10979
11161
|
|
|
10980
11162
|
T['io.flow.apple.pay.v0.models.apple_pay_shipping_method'] = PropTypes.exact({
|
|
10981
11163
|
label: PropTypes.string.isRequired,
|
|
10982
11164
|
detail: PropTypes.string.isRequired,
|
|
10983
|
-
amount: PropTypes.
|
|
11165
|
+
amount: PropTypes.number.isRequired,
|
|
10984
11166
|
identifier: PropTypes.string.isRequired,
|
|
10985
11167
|
});
|
|
10986
11168
|
|
|
@@ -10989,7 +11171,7 @@ T['io.flow.apple.pay.v0.enums.apple_pay_merchant_capability'] = PropTypes.oneOf(
|
|
|
10989
11171
|
T['io.flow.apple.pay.v0.models.apple_pay_line_item'] = PropTypes.exact({
|
|
10990
11172
|
label: PropTypes.string.isRequired,
|
|
10991
11173
|
type: T['io.flow.apple.pay.v0.enums.apple_pay_line_item_type'].isRequired,
|
|
10992
|
-
amount: PropTypes.
|
|
11174
|
+
amount: PropTypes.number.isRequired,
|
|
10993
11175
|
});
|
|
10994
11176
|
|
|
10995
11177
|
T['io.flow.apple.pay.v0.models.apple_pay_payment_info'] = PropTypes.exact({
|
|
@@ -13407,9 +13589,7 @@ T['io.flow.v0.enums.strategy'] = PropTypes.oneOf(['range', 'from', 'to']);
|
|
|
13407
13589
|
T['io.flow.v0.enums.taxability_type'] = PropTypes.oneOf(['tax_rule']);
|
|
13408
13590
|
T['io.flow.v0.enums.taxability_value'] = PropTypes.oneOf(['exempt']);
|
|
13409
13591
|
T['io.flow.v0.enums.tracking_number_type'] = PropTypes.oneOf(['flow', 'carrier']);
|
|
13410
|
-
T['io.flow.v0.enums.unit_of_length'] = PropTypes.oneOf(['millimeter', 'centimeter', 'inch', 'foot', 'meter']);
|
|
13411
13592
|
T['io.flow.v0.enums.unit_of_volume'] = PropTypes.oneOf(['cubic_inch', 'cubic_meter']);
|
|
13412
|
-
T['io.flow.v0.enums.unit_of_weight'] = PropTypes.oneOf(['gram', 'kilogram', 'ounce', 'pound']);
|
|
13413
13593
|
T['io.flow.v0.enums.value_added_service'] = PropTypes.oneOf(['Hazardous Material']);
|
|
13414
13594
|
|
|
13415
13595
|
T['io.flow.v0.models.activation_put_form'] = PropTypes.exact({
|
|
@@ -14125,12 +14305,17 @@ T['io.flow.stripe.v0.enums.event_type'] = PropTypes.oneOf([
|
|
|
14125
14305
|
'charge.failed',
|
|
14126
14306
|
'charge.pending',
|
|
14127
14307
|
'charge.refunded',
|
|
14128
|
-
'charge.
|
|
14308
|
+
'charge.expired',
|
|
14129
14309
|
'charge.succeeded',
|
|
14130
14310
|
'charge.updated',
|
|
14311
|
+
'charge.refund.updated',
|
|
14312
|
+
'payment_intent.created',
|
|
14131
14313
|
'payment_intent.amount_capturable_updated',
|
|
14132
14314
|
'payment_intent.payment_failed',
|
|
14133
14315
|
'payment_intent.succeeded',
|
|
14316
|
+
'payment_intent.requires_action',
|
|
14317
|
+
'payment_intent.canceled',
|
|
14318
|
+
'payment_intent.processing',
|
|
14134
14319
|
'source.canceled',
|
|
14135
14320
|
'source.chargeable',
|
|
14136
14321
|
'source.failed',
|
|
@@ -14144,6 +14329,8 @@ T['io.flow.stripe.v0.enums.klarna_payment_method_category_type'] = PropTypes.one
|
|
|
14144
14329
|
'pay_over_time',
|
|
14145
14330
|
]);
|
|
14146
14331
|
|
|
14332
|
+
T['io.flow.stripe.v0.enums.payment_method_type'] = PropTypes.oneOf(['card', 'card_present']);
|
|
14333
|
+
|
|
14147
14334
|
T['io.flow.stripe.v0.models.card_request'] = PropTypes.exact({
|
|
14148
14335
|
object: PropTypes.string.isRequired,
|
|
14149
14336
|
exp_month: PropTypes.string.isRequired,
|
|
@@ -14286,6 +14473,10 @@ T['io.flow.apple.pay.v0.models.apple_pay_payment_data'] = PropTypes.exact({
|
|
|
14286
14473
|
paymentData: PropTypes.object.isRequired,
|
|
14287
14474
|
});
|
|
14288
14475
|
|
|
14476
|
+
T['io.flow.billing.true.up.v0.models.label_invoice_response_file_form'] = PropTypes.exact({
|
|
14477
|
+
url: PropTypes.string.isRequired,
|
|
14478
|
+
});
|
|
14479
|
+
|
|
14289
14480
|
export const abandonedOrderEmailSettings = T['io.flow.v0.models.abandoned_order_email_settings'];
|
|
14290
14481
|
export const abandonedOrderPromotion = T['io.flow.v0.models.abandoned_order_promotion'];
|
|
14291
14482
|
export const abandonedOrderPromotionDetails = T['io.flow.v0.unions.abandoned_order_promotion_details'];
|
|
@@ -15480,6 +15671,7 @@ export const paypalAuthorizationForm = T['io.flow.v0.models.paypal_authorization
|
|
|
15480
15671
|
export const peakSurchargeByWeightServiceFee = T['io.flow.v0.models.peak_surcharge_by_weight_service_fee'];
|
|
15481
15672
|
export const peakSurchargeRatecardFee = T['io.flow.v0.models.peak_surcharge_ratecard_fee'];
|
|
15482
15673
|
export const peakSurchargeServiceFee = T['io.flow.v0.models.peak_surcharge_service_fee'];
|
|
15674
|
+
export const pendingTransaction = T['io.flow.v0.models.pending_transaction'];
|
|
15483
15675
|
export const percentMargin = T['io.flow.v0.models.percent_margin'];
|
|
15484
15676
|
export const permissionAudit = T['io.flow.v0.models.permission_audit'];
|
|
15485
15677
|
export const permissionCheck = T['io.flow.v0.models.permission_check'];
|
|
@@ -15943,7 +16135,12 @@ export const transaction = T['io.flow.v0.models.transaction'];
|
|
|
15943
16135
|
export const transactionDetails = T['io.flow.v0.unions.transaction_details'];
|
|
15944
16136
|
export const transactionDetailsCard = T['io.flow.v0.models.transaction_details_card'];
|
|
15945
16137
|
export const transactionMetadata = T['io.flow.v0.unions.transaction_metadata'];
|
|
16138
|
+
export const transactionMetadataChannel = T['io.flow.v0.models.transaction_metadata_channel'];
|
|
16139
|
+
export const transactionMetadataChannelCardMetadata = T['io.flow.v0.models.transaction_metadata_channel_card_metadata'];
|
|
16140
|
+
export const transactionMetadataChannelCardMetadataIssuerSummary = T['io.flow.v0.models.transaction_metadata_channel_card_metadata_issuer_summary'];
|
|
15946
16141
|
export const transactionMetadataShippingLabel = T['io.flow.v0.models.transaction_metadata_shipping_label'];
|
|
16142
|
+
export const transactionMetadataTrueup = T['io.flow.v0.models.transaction_metadata_trueup'];
|
|
16143
|
+
export const transactionMetadataTrueupData = T['io.flow.v0.models.transaction_metadata_trueup_data'];
|
|
15947
16144
|
export const transactionNetworkDetailsCard = T['io.flow.v0.models.transaction_network_details_card'];
|
|
15948
16145
|
export const transactionPayoutPendingReason = T['io.flow.v0.enums.transaction_payout_pending_reason'];
|
|
15949
16146
|
export const transactionReference = T['io.flow.v0.models.transaction_reference'];
|
|
@@ -15951,6 +16148,11 @@ export const transactionSource = T['io.flow.v0.enums.transaction_source'];
|
|
|
15951
16148
|
export const transactionUpserted = T['io.flow.v0.models.transaction_upserted'];
|
|
15952
16149
|
export const transitEstimate = T['io.flow.v0.models.transit_estimate'];
|
|
15953
16150
|
export const transitWindow = T['io.flow.v0.models.transit_window'];
|
|
16151
|
+
export const trueupLabelBase = T['io.flow.v0.models.trueup_label_base'];
|
|
16152
|
+
export const trueupLabelSurcharge = T['io.flow.v0.models.trueup_label_surcharge'];
|
|
16153
|
+
export const trueupLabelUnits = T['io.flow.v0.models.trueup_label_units'];
|
|
16154
|
+
export const trueupSource = T['io.flow.v0.enums.trueup_source'];
|
|
16155
|
+
export const trueupSurchargeType = T['io.flow.v0.enums.trueup_surcharge_type'];
|
|
15954
16156
|
export const ultimateBeneficiaryOwner = T['io.flow.v0.models.ultimate_beneficiary_owner'];
|
|
15955
16157
|
export const unharmonizedItemExportType = T['io.flow.v0.models.unharmonized_item_export_type'];
|
|
15956
16158
|
export const unitOfLength = T['io.flow.v0.enums.unit_of_length'];
|