@flowio/api-internal-prop-types 9.19.26 → 9.19.27
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 +36 -6
- package/lib/api-internal.js +1 -1
- package/package.json +2 -2
- package/src/api-internal.d.ts +36 -6
- package/src/api-internal.js +94 -63
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-internal-prop-types",
|
|
3
|
-
"version": "9.19.
|
|
3
|
+
"version": "9.19.27",
|
|
4
4
|
"description": "PropType validators that work with internal Flow API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"flow",
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"prop-types": "^15.7.0"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "fe032fb7044c5c5cdd5f3049bafaebdc339848e0"
|
|
34
34
|
}
|
package/src/api-internal.d.ts
CHANGED
|
@@ -7520,19 +7520,32 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
7520
7520
|
interface OrderInformationDetails {
|
|
7521
7521
|
readonly 'type': 'details';
|
|
7522
7522
|
readonly 'order_details': io.flow.payment.gateway.v0.models.OrderDetails;
|
|
7523
|
-
readonly 'billing_address'?: io.flow.payment.gateway.v0.models.
|
|
7524
|
-
readonly 'shipping_address'?: io.flow.payment.gateway.v0.models.
|
|
7523
|
+
readonly 'billing_address'?: io.flow.payment.gateway.v0.models.PaymentAddressBilling;
|
|
7524
|
+
readonly 'shipping_address'?: io.flow.payment.gateway.v0.models.PaymentAddressShipping;
|
|
7525
7525
|
}
|
|
7526
7526
|
|
|
7527
7527
|
interface OrderInformationFlow {
|
|
7528
7528
|
readonly 'type': 'flow';
|
|
7529
7529
|
readonly 'order_number': string;
|
|
7530
|
-
readonly 'billing_address'?: io.flow.payment.gateway.v0.models.
|
|
7530
|
+
readonly 'billing_address'?: io.flow.payment.gateway.v0.models.PaymentAddressBilling;
|
|
7531
7531
|
}
|
|
7532
7532
|
|
|
7533
7533
|
interface PaymentAddress {
|
|
7534
|
-
readonly '
|
|
7535
|
-
readonly '
|
|
7534
|
+
readonly 'streets': string[];
|
|
7535
|
+
readonly 'city': string;
|
|
7536
|
+
readonly 'province'?: string;
|
|
7537
|
+
readonly 'postal'?: string;
|
|
7538
|
+
readonly 'country': string;
|
|
7539
|
+
}
|
|
7540
|
+
|
|
7541
|
+
interface PaymentAddressBilling {
|
|
7542
|
+
readonly 'contact': io.flow.payment.gateway.v0.models.PaymentContactBilling;
|
|
7543
|
+
readonly 'location': io.flow.payment.gateway.v0.models.PaymentAddress;
|
|
7544
|
+
}
|
|
7545
|
+
|
|
7546
|
+
interface PaymentAddressShipping {
|
|
7547
|
+
readonly 'contact': io.flow.payment.gateway.v0.models.PaymentContactShipping;
|
|
7548
|
+
readonly 'location': io.flow.payment.gateway.v0.models.PaymentAddress;
|
|
7536
7549
|
}
|
|
7537
7550
|
|
|
7538
7551
|
interface PaymentAuthorization {
|
|
@@ -7582,6 +7595,21 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
7582
7595
|
readonly 'reason'?: io.flow.payment.v0.enums.CaptureDeclineCode;
|
|
7583
7596
|
}
|
|
7584
7597
|
|
|
7598
|
+
interface PaymentContactBilling {
|
|
7599
|
+
readonly 'first_name': string;
|
|
7600
|
+
readonly 'last_name': string;
|
|
7601
|
+
readonly 'company'?: string;
|
|
7602
|
+
readonly 'email'?: string;
|
|
7603
|
+
readonly 'phone'?: string;
|
|
7604
|
+
}
|
|
7605
|
+
|
|
7606
|
+
interface PaymentContactShipping {
|
|
7607
|
+
readonly 'first_name': string;
|
|
7608
|
+
readonly 'last_name': string;
|
|
7609
|
+
readonly 'email': string;
|
|
7610
|
+
readonly 'phone': string;
|
|
7611
|
+
}
|
|
7612
|
+
|
|
7585
7613
|
interface PaymentDiscount {
|
|
7586
7614
|
readonly 'amount': number;
|
|
7587
7615
|
readonly 'name'?: string;
|
|
@@ -9275,7 +9303,9 @@ declare namespace io.flow.harmonization.v0.models {
|
|
|
9275
9303
|
readonly 'tax_applicability'?: io.flow.harmonization.v0.enums.TaxApplicability;
|
|
9276
9304
|
readonly 'origin'?: string;
|
|
9277
9305
|
readonly 'hs_code'?: string;
|
|
9306
|
+
readonly 'tariff_code'?: string;
|
|
9278
9307
|
readonly 'customs_description'?: string;
|
|
9308
|
+
readonly 'source_address'?: io.flow.common.v0.models.Address;
|
|
9279
9309
|
}
|
|
9280
9310
|
|
|
9281
9311
|
interface Hs10 {
|
|
@@ -10716,7 +10746,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
10716
10746
|
type AddressConfigurationSettingProvinceCode = 'iso_3166_2' | 'name';
|
|
10717
10747
|
type ApiCallReferenceId = 'duty_rates_data_event' | 'integration_test' | 'unit_test';
|
|
10718
10748
|
type BillingAllocationKey = 'freight_cost' | 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'fuel_surcharge' | 'remote_area_surcharge';
|
|
10719
|
-
type BillingStatementAttachmentKey = 'invoice' | 'statement' | 'consumer_invoice' | 'credit_memo' | 'transactions' | 'virtual_card' | 'tax_remittance' | 'manual' | 'orders' | 'all';
|
|
10749
|
+
type BillingStatementAttachmentKey = 'invoice' | 'statement' | 'consumer_invoice' | 'credit_memo' | 'transactions' | 'channel_transactions' | 'virtual_card' | 'tax_remittance' | 'manual' | 'orders' | 'all';
|
|
10720
10750
|
type BillingStatementBatchFileKey = 'archive' | 'summary';
|
|
10721
10751
|
type BillingStatementReviewStatus = 'approved' | 'pending';
|
|
10722
10752
|
type BillingTransactionStatus = 'pending' | 'posted';
|
package/src/api-internal.js
CHANGED
|
@@ -949,6 +949,45 @@ T['io.flow.payment.gateway.v0.enums.payment_failure_code'] = PropTypes.oneOf([
|
|
|
949
949
|
'error',
|
|
950
950
|
]);
|
|
951
951
|
|
|
952
|
+
T['io.flow.payment.gateway.v0.models.payment_contact_shipping'] = PropTypes.exact({
|
|
953
|
+
first_name: PropTypes.string.isRequired,
|
|
954
|
+
last_name: PropTypes.string.isRequired,
|
|
955
|
+
email: PropTypes.string.isRequired,
|
|
956
|
+
phone: PropTypes.string.isRequired,
|
|
957
|
+
});
|
|
958
|
+
|
|
959
|
+
T['io.flow.payment.gateway.v0.models.payment_address'] = PropTypes.exact({
|
|
960
|
+
streets: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
961
|
+
city: PropTypes.string.isRequired,
|
|
962
|
+
province: PropTypes.string,
|
|
963
|
+
postal: PropTypes.string,
|
|
964
|
+
country: PropTypes.string.isRequired,
|
|
965
|
+
});
|
|
966
|
+
|
|
967
|
+
T['io.flow.payment.gateway.v0.models.payment_contact_billing'] = PropTypes.exact({
|
|
968
|
+
first_name: PropTypes.string.isRequired,
|
|
969
|
+
last_name: PropTypes.string.isRequired,
|
|
970
|
+
company: PropTypes.string,
|
|
971
|
+
email: PropTypes.string,
|
|
972
|
+
phone: PropTypes.string,
|
|
973
|
+
});
|
|
974
|
+
|
|
975
|
+
T['io.flow.payment.gateway.v0.models.payment_address_shipping'] = PropTypes.exact({
|
|
976
|
+
contact: T['io.flow.payment.gateway.v0.models.payment_contact_shipping'].isRequired,
|
|
977
|
+
location: T['io.flow.payment.gateway.v0.models.payment_address'].isRequired,
|
|
978
|
+
});
|
|
979
|
+
|
|
980
|
+
T['io.flow.payment.gateway.v0.models.payment_address_billing'] = PropTypes.exact({
|
|
981
|
+
contact: T['io.flow.payment.gateway.v0.models.payment_contact_billing'].isRequired,
|
|
982
|
+
location: T['io.flow.payment.gateway.v0.models.payment_address'].isRequired,
|
|
983
|
+
});
|
|
984
|
+
|
|
985
|
+
T['io.flow.payment.gateway.v0.models.order_information_flow'] = PropTypes.exact({
|
|
986
|
+
type: PropTypes.oneOf(['flow']).isRequired,
|
|
987
|
+
order_number: PropTypes.string.isRequired,
|
|
988
|
+
billing_address: T['io.flow.payment.gateway.v0.models.payment_address_billing'],
|
|
989
|
+
});
|
|
990
|
+
|
|
952
991
|
T['io.flow.payment.gateway.v0.models.payment_duty'] = PropTypes.exact({
|
|
953
992
|
amount: PropTypes.number.isRequired,
|
|
954
993
|
name: PropTypes.string,
|
|
@@ -994,6 +1033,13 @@ T['io.flow.payment.gateway.v0.models.order_details'] = PropTypes.exact({
|
|
|
994
1033
|
duty: T['io.flow.payment.gateway.v0.models.payment_duty'],
|
|
995
1034
|
});
|
|
996
1035
|
|
|
1036
|
+
T['io.flow.payment.gateway.v0.models.order_information_details'] = PropTypes.exact({
|
|
1037
|
+
type: PropTypes.oneOf(['details']).isRequired,
|
|
1038
|
+
order_details: T['io.flow.payment.gateway.v0.models.order_details'].isRequired,
|
|
1039
|
+
billing_address: T['io.flow.payment.gateway.v0.models.payment_address_billing'],
|
|
1040
|
+
shipping_address: T['io.flow.payment.gateway.v0.models.payment_address_shipping'],
|
|
1041
|
+
});
|
|
1042
|
+
|
|
997
1043
|
T['io.flow.apple.pay.v0.models.apple_pay_payment_contact'] = PropTypes.exact({
|
|
998
1044
|
email_address: PropTypes.string,
|
|
999
1045
|
family_name: PropTypes.string,
|
|
@@ -9917,6 +9963,25 @@ T['io.flow.payment.gateway.v0.enums.payment_action_type'] = PropTypes.oneOf([
|
|
|
9917
9963
|
|
|
9918
9964
|
T['io.flow.payment.gateway.v0.unions.device_details'] = PropTypes.oneOfType([T['io.flow.payment.gateway.v0.models.device_details_browser']]);
|
|
9919
9965
|
|
|
9966
|
+
T['io.flow.payment.gateway.v0.unions.order_information'] = PropTypes.oneOfType([
|
|
9967
|
+
T['io.flow.payment.gateway.v0.models.order_information_flow'],
|
|
9968
|
+
T['io.flow.payment.gateway.v0.models.order_information_details'],
|
|
9969
|
+
]);
|
|
9970
|
+
|
|
9971
|
+
T['io.flow.payment.gateway.v0.models.payment_request_form'] = PropTypes.exact({
|
|
9972
|
+
amount: PropTypes.number.isRequired,
|
|
9973
|
+
currency: PropTypes.string.isRequired,
|
|
9974
|
+
order_information: T['io.flow.payment.gateway.v0.unions.order_information'].isRequired,
|
|
9975
|
+
device_details: T['io.flow.payment.gateway.v0.unions.device_details'].isRequired,
|
|
9976
|
+
locale: PropTypes.string,
|
|
9977
|
+
return_url: PropTypes.string.isRequired,
|
|
9978
|
+
attributes: PropTypes.objectOf(PropTypes.string),
|
|
9979
|
+
reference: PropTypes.string,
|
|
9980
|
+
payment_method_data: T['io.flow.payment.gateway.v0.unions.payment_method_data'],
|
|
9981
|
+
supported_actions: PropTypes.arrayOf(T['io.flow.payment.gateway.v0.enums.payment_action_type']),
|
|
9982
|
+
payment_capture_option: T['io.flow.payment.gateway.v0.unions.payment_capture_option'],
|
|
9983
|
+
});
|
|
9984
|
+
|
|
9920
9985
|
T['io.flow.payment.gateway.v0.models.payment_failure'] = PropTypes.exact({
|
|
9921
9986
|
authorization_id: PropTypes.string,
|
|
9922
9987
|
failure_code: T['io.flow.payment.gateway.v0.enums.payment_failure_code'].isRequired,
|
|
@@ -11475,7 +11540,9 @@ T['io.flow.harmonization.v0.models.harmonized_landed_cost_item'] = PropTypes.exa
|
|
|
11475
11540
|
tax_applicability: T['io.flow.harmonization.v0.enums.tax_applicability'],
|
|
11476
11541
|
origin: PropTypes.string,
|
|
11477
11542
|
hs_code: PropTypes.string,
|
|
11543
|
+
tariff_code: PropTypes.string,
|
|
11478
11544
|
customs_description: PropTypes.string,
|
|
11545
|
+
source_address: T['io.flow.common.v0.models.address'],
|
|
11479
11546
|
});
|
|
11480
11547
|
|
|
11481
11548
|
T['io.flow.internal.v0.models.registered_exporter_tariff_eligibility_data'] = PropTypes.exact({
|
|
@@ -12606,6 +12673,32 @@ T['io.flow.payment.gateway.v0.models.payment_payment_method'] = PropTypes.exact(
|
|
|
12606
12673
|
possible_actions: PropTypes.arrayOf(T['io.flow.payment.gateway.v0.enums.payment_action_type']).isRequired,
|
|
12607
12674
|
});
|
|
12608
12675
|
|
|
12676
|
+
T['io.flow.payment.gateway.v0.models.payment_request'] = PropTypes.exact({
|
|
12677
|
+
id: PropTypes.string.isRequired,
|
|
12678
|
+
status: T['io.flow.payment.gateway.v0.enums.payment_status'].isRequired,
|
|
12679
|
+
created_at: PropTypes.string.isRequired,
|
|
12680
|
+
updated_at: PropTypes.string.isRequired,
|
|
12681
|
+
available_payment_methods: PropTypes.arrayOf(T['io.flow.payment.gateway.v0.models.payment_payment_method']).isRequired,
|
|
12682
|
+
last_payment_failure: T['io.flow.payment.gateway.v0.models.payment_failure'],
|
|
12683
|
+
next_action: T['io.flow.payment.gateway.v0.unions.action'],
|
|
12684
|
+
amount: PropTypes.number.isRequired,
|
|
12685
|
+
currency: PropTypes.string.isRequired,
|
|
12686
|
+
order_information: T['io.flow.payment.gateway.v0.unions.order_information'].isRequired,
|
|
12687
|
+
device_details: T['io.flow.payment.gateway.v0.unions.device_details'].isRequired,
|
|
12688
|
+
locale: PropTypes.string,
|
|
12689
|
+
return_url: PropTypes.string.isRequired,
|
|
12690
|
+
attributes: PropTypes.objectOf(PropTypes.string),
|
|
12691
|
+
reference: PropTypes.string,
|
|
12692
|
+
payment_information: T['io.flow.payment.gateway.v0.models.payment_information'].isRequired,
|
|
12693
|
+
supported_actions: PropTypes.arrayOf(T['io.flow.payment.gateway.v0.enums.payment_action_type']).isRequired,
|
|
12694
|
+
payment_capture_option: T['io.flow.payment.gateway.v0.unions.payment_capture_option'],
|
|
12695
|
+
});
|
|
12696
|
+
|
|
12697
|
+
T['io.flow.internal.v0.models.internal_payment_request'] = PropTypes.exact({
|
|
12698
|
+
payment_request: T['io.flow.payment.gateway.v0.models.payment_request'].isRequired,
|
|
12699
|
+
actual_action: T['io.flow.payment.gateway.v0.unions.action'],
|
|
12700
|
+
});
|
|
12701
|
+
|
|
12609
12702
|
T['io.flow.reference.v0.enums.payment_method_type'] = PropTypes.oneOf(['card', 'online', 'offline']);
|
|
12610
12703
|
|
|
12611
12704
|
T['io.flow.reference.v0.models.payment_method'] = PropTypes.exact({
|
|
@@ -16577,6 +16670,7 @@ T['io.flow.internal.v0.enums.billing_statement_attachment_key'] = PropTypes.oneO
|
|
|
16577
16670
|
'consumer_invoice',
|
|
16578
16671
|
'credit_memo',
|
|
16579
16672
|
'transactions',
|
|
16673
|
+
'channel_transactions',
|
|
16580
16674
|
'virtual_card',
|
|
16581
16675
|
'tax_remittance',
|
|
16582
16676
|
'manual',
|
|
@@ -17672,69 +17766,6 @@ T['io.flow.common.v0.models.contact'] = PropTypes.exact({
|
|
|
17672
17766
|
phone: PropTypes.string,
|
|
17673
17767
|
});
|
|
17674
17768
|
|
|
17675
|
-
T['io.flow.payment.gateway.v0.models.payment_address'] = PropTypes.exact({
|
|
17676
|
-
contact: T['io.flow.common.v0.models.contact'].isRequired,
|
|
17677
|
-
location: T['io.flow.common.v0.models.address'].isRequired,
|
|
17678
|
-
});
|
|
17679
|
-
|
|
17680
|
-
T['io.flow.payment.gateway.v0.models.order_information_flow'] = PropTypes.exact({
|
|
17681
|
-
type: PropTypes.oneOf(['flow']).isRequired,
|
|
17682
|
-
order_number: PropTypes.string.isRequired,
|
|
17683
|
-
billing_address: T['io.flow.payment.gateway.v0.models.payment_address'],
|
|
17684
|
-
});
|
|
17685
|
-
|
|
17686
|
-
T['io.flow.payment.gateway.v0.models.order_information_details'] = PropTypes.exact({
|
|
17687
|
-
type: PropTypes.oneOf(['details']).isRequired,
|
|
17688
|
-
order_details: T['io.flow.payment.gateway.v0.models.order_details'].isRequired,
|
|
17689
|
-
billing_address: T['io.flow.payment.gateway.v0.models.payment_address'],
|
|
17690
|
-
shipping_address: T['io.flow.payment.gateway.v0.models.payment_address'],
|
|
17691
|
-
});
|
|
17692
|
-
|
|
17693
|
-
T['io.flow.payment.gateway.v0.unions.order_information'] = PropTypes.oneOfType([
|
|
17694
|
-
T['io.flow.payment.gateway.v0.models.order_information_flow'],
|
|
17695
|
-
T['io.flow.payment.gateway.v0.models.order_information_details'],
|
|
17696
|
-
]);
|
|
17697
|
-
|
|
17698
|
-
T['io.flow.payment.gateway.v0.models.payment_request_form'] = PropTypes.exact({
|
|
17699
|
-
amount: PropTypes.number.isRequired,
|
|
17700
|
-
currency: PropTypes.string.isRequired,
|
|
17701
|
-
order_information: T['io.flow.payment.gateway.v0.unions.order_information'].isRequired,
|
|
17702
|
-
device_details: T['io.flow.payment.gateway.v0.unions.device_details'].isRequired,
|
|
17703
|
-
locale: PropTypes.string,
|
|
17704
|
-
return_url: PropTypes.string.isRequired,
|
|
17705
|
-
attributes: PropTypes.objectOf(PropTypes.string),
|
|
17706
|
-
reference: PropTypes.string,
|
|
17707
|
-
payment_method_data: T['io.flow.payment.gateway.v0.unions.payment_method_data'],
|
|
17708
|
-
supported_actions: PropTypes.arrayOf(T['io.flow.payment.gateway.v0.enums.payment_action_type']),
|
|
17709
|
-
payment_capture_option: T['io.flow.payment.gateway.v0.unions.payment_capture_option'],
|
|
17710
|
-
});
|
|
17711
|
-
|
|
17712
|
-
T['io.flow.payment.gateway.v0.models.payment_request'] = PropTypes.exact({
|
|
17713
|
-
id: PropTypes.string.isRequired,
|
|
17714
|
-
status: T['io.flow.payment.gateway.v0.enums.payment_status'].isRequired,
|
|
17715
|
-
created_at: PropTypes.string.isRequired,
|
|
17716
|
-
updated_at: PropTypes.string.isRequired,
|
|
17717
|
-
available_payment_methods: PropTypes.arrayOf(T['io.flow.payment.gateway.v0.models.payment_payment_method']).isRequired,
|
|
17718
|
-
last_payment_failure: T['io.flow.payment.gateway.v0.models.payment_failure'],
|
|
17719
|
-
next_action: T['io.flow.payment.gateway.v0.unions.action'],
|
|
17720
|
-
amount: PropTypes.number.isRequired,
|
|
17721
|
-
currency: PropTypes.string.isRequired,
|
|
17722
|
-
order_information: T['io.flow.payment.gateway.v0.unions.order_information'].isRequired,
|
|
17723
|
-
device_details: T['io.flow.payment.gateway.v0.unions.device_details'].isRequired,
|
|
17724
|
-
locale: PropTypes.string,
|
|
17725
|
-
return_url: PropTypes.string.isRequired,
|
|
17726
|
-
attributes: PropTypes.objectOf(PropTypes.string),
|
|
17727
|
-
reference: PropTypes.string,
|
|
17728
|
-
payment_information: T['io.flow.payment.gateway.v0.models.payment_information'].isRequired,
|
|
17729
|
-
supported_actions: PropTypes.arrayOf(T['io.flow.payment.gateway.v0.enums.payment_action_type']).isRequired,
|
|
17730
|
-
payment_capture_option: T['io.flow.payment.gateway.v0.unions.payment_capture_option'],
|
|
17731
|
-
});
|
|
17732
|
-
|
|
17733
|
-
T['io.flow.internal.v0.models.internal_payment_request'] = PropTypes.exact({
|
|
17734
|
-
payment_request: T['io.flow.payment.gateway.v0.models.payment_request'].isRequired,
|
|
17735
|
-
actual_action: T['io.flow.payment.gateway.v0.unions.action'],
|
|
17736
|
-
});
|
|
17737
|
-
|
|
17738
17769
|
T['io.flow.customer.v0.models.customer_address_book_contact_form'] = PropTypes.exact({
|
|
17739
17770
|
address: T['io.flow.common.v0.models.address'].isRequired,
|
|
17740
17771
|
contact: T['io.flow.common.v0.models.contact'],
|