@flowio/api-prop-types 10.16.42 → 10.16.43
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 +3 -3
- package/lib/api.js +1 -1
- package/package.json +2 -2
- package/src/api.d.ts +3 -3
- package/src/api.js +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-prop-types",
|
|
3
|
-
"version": "10.16.
|
|
3
|
+
"version": "10.16.43",
|
|
4
4
|
"description": "PropType validators that work with Flow API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"flow",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"prop-types": "^15.7.0"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "f832292109d38b700b765626a6687b1dc7c308b3"
|
|
33
33
|
}
|
package/src/api.d.ts
CHANGED
|
@@ -1767,7 +1767,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
1767
1767
|
}
|
|
1768
1768
|
|
|
1769
1769
|
declare namespace io.flow.apple.pay.v0.enums {
|
|
1770
|
-
type ApplePayContactField = 'email' | 'name' | 'phone' | '
|
|
1770
|
+
type ApplePayContactField = 'email' | 'name' | 'phone' | 'postalAddress' | 'phoneticName';
|
|
1771
1771
|
type ApplePayLineItemType = 'final' | 'pending';
|
|
1772
1772
|
type ApplePayMerchantCapability = 'supports3DS' | 'supportsCredit' | 'supportsDebit' | 'supportsEMV';
|
|
1773
1773
|
type ApplePayShippingType = 'shipping' | 'delivery' | 'store_pickup' | 'service_pickup';
|
|
@@ -1778,7 +1778,7 @@ declare namespace io.flow.apple.pay.v0.models {
|
|
|
1778
1778
|
interface ApplePayLineItem {
|
|
1779
1779
|
readonly 'label': string;
|
|
1780
1780
|
readonly 'type': io.flow.apple.pay.v0.enums.ApplePayLineItemType;
|
|
1781
|
-
readonly 'amount':
|
|
1781
|
+
readonly 'amount': string;
|
|
1782
1782
|
}
|
|
1783
1783
|
|
|
1784
1784
|
interface ApplePayPaymentContact {
|
|
@@ -1829,7 +1829,7 @@ declare namespace io.flow.apple.pay.v0.models {
|
|
|
1829
1829
|
interface ApplePayShippingMethod {
|
|
1830
1830
|
readonly 'label': string;
|
|
1831
1831
|
readonly 'detail': string;
|
|
1832
|
-
readonly 'amount':
|
|
1832
|
+
readonly 'amount': string;
|
|
1833
1833
|
readonly 'identifier': string;
|
|
1834
1834
|
}
|
|
1835
1835
|
}
|
package/src/api.js
CHANGED
|
@@ -10426,7 +10426,7 @@ T['io.flow.apple.pay.v0.models.apple_pay_payment_contact'] = PropTypes.exact({
|
|
|
10426
10426
|
country_code: PropTypes.string,
|
|
10427
10427
|
});
|
|
10428
10428
|
|
|
10429
|
-
T['io.flow.apple.pay.v0.enums.apple_pay_contact_field'] = PropTypes.oneOf(['email', 'name', 'phone', '
|
|
10429
|
+
T['io.flow.apple.pay.v0.enums.apple_pay_contact_field'] = PropTypes.oneOf(['email', 'name', 'phone', 'postalAddress', 'phoneticName']);
|
|
10430
10430
|
|
|
10431
10431
|
T['io.flow.apple.pay.v0.enums.apple_pay_supported_networks'] = PropTypes.oneOf([
|
|
10432
10432
|
'amex',
|
|
@@ -10443,7 +10443,7 @@ T['io.flow.apple.pay.v0.enums.apple_pay_shipping_type'] = PropTypes.oneOf(['ship
|
|
|
10443
10443
|
T['io.flow.apple.pay.v0.models.apple_pay_shipping_method'] = PropTypes.exact({
|
|
10444
10444
|
label: PropTypes.string.isRequired,
|
|
10445
10445
|
detail: PropTypes.string.isRequired,
|
|
10446
|
-
amount: PropTypes.
|
|
10446
|
+
amount: PropTypes.string.isRequired,
|
|
10447
10447
|
identifier: PropTypes.string.isRequired,
|
|
10448
10448
|
});
|
|
10449
10449
|
|
|
@@ -10452,7 +10452,7 @@ T['io.flow.apple.pay.v0.enums.apple_pay_merchant_capability'] = PropTypes.oneOf(
|
|
|
10452
10452
|
T['io.flow.apple.pay.v0.models.apple_pay_line_item'] = PropTypes.exact({
|
|
10453
10453
|
label: PropTypes.string.isRequired,
|
|
10454
10454
|
type: T['io.flow.apple.pay.v0.enums.apple_pay_line_item_type'].isRequired,
|
|
10455
|
-
amount: PropTypes.
|
|
10455
|
+
amount: PropTypes.string.isRequired,
|
|
10456
10456
|
});
|
|
10457
10457
|
|
|
10458
10458
|
T['io.flow.apple.pay.v0.models.apple_pay_payment_info'] = PropTypes.exact({
|