@flowio/api-prop-types 10.16.72 → 10.16.73
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 +2 -2
- package/lib/api.js +1 -1
- package/package.json +2 -2
- package/src/api.d.ts +2 -2
- package/src/api.js +12 -5
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.73",
|
|
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": "11a5e37328905a965c20736d076f67c39a22ee86"
|
|
33
33
|
}
|
package/src/api.d.ts
CHANGED
|
@@ -2257,7 +2257,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2257
2257
|
type OrganizationPaymentMethodTag = 'deny';
|
|
2258
2258
|
type OrganizationStatus = 'active' | 'inactive' | 'deactivated' | 'provisioned';
|
|
2259
2259
|
type OrganizationType = 'standalone' | 'channel';
|
|
2260
|
-
type PackageDimensionsSource = 'provided' | 'dimensions_estimated';
|
|
2260
|
+
type PackageDimensionsSource = 'provided' | 'item_dimensions_estimated' | 'dimensions_estimated' | 'default_item_dimensions_estimated';
|
|
2261
2261
|
type PaymentActionType = 'redirect' | 'redirect_get' | 'redirect_post' | 'select_payment_option' | 'use_sdk_klarna_v1' | 'use_sdk_applepay_js' | 'use_sdk_googlepay' | 'use_sdk_paypal' | 'use_sdk_stripe_v3' | 'use_sdk_adyen_v3' | 'use_sdk_adyen_v4' | 'execute_script' | 'display_inline_window';
|
|
2262
2262
|
type PaymentErrorCode = 'duplicate' | 'invalid_amount' | 'invalid_currency' | 'invalid_method' | 'invalid_order' | 'invalid_customer' | 'invalid_destination' | 'unknown';
|
|
2263
2263
|
type PaymentFailureCode = 'action_expired' | 'action_cancelled' | 'action_failed' | 'authorization_declined' | 'not_supported' | 'fraudulent' | 'error' | 'payment_checks_declined';
|
|
@@ -2336,7 +2336,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2336
2336
|
type TradeAgreementStatus = 'supported' | 'not_supported';
|
|
2337
2337
|
type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'shipping_label_revenue_share' | 'trueup' | 'carrier_charge' | 'carrier_charge_revenue_share' | 'platform_fee' | 'tax' | 'duty' | 'withholding' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund';
|
|
2338
2338
|
type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl';
|
|
2339
|
-
type TrueupSurchargeType = 'fuel' | 'remote_area' | 'oversize' | 'duties_paid' | 'emergency' | 'peak' | 'address_correction' | '
|
|
2339
|
+
type TrueupSurchargeType = 'fuel' | 'remote_area' | 'oversize' | 'duties_paid' | 'emergency' | 'peak' | 'address_correction' | 'security' | 'eei_filing' | 'fixed_ddp' | 'fixed_currency_conversion';
|
|
2340
2340
|
type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
|
|
2341
2341
|
type UnitOfMeasurement = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'cubic_inch' | 'cubic_meter' | 'gram' | 'kilogram' | 'meter' | 'ounce' | 'pound';
|
|
2342
2342
|
type UnitOfTime = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute';
|
package/src/api.js
CHANGED
|
@@ -5085,10 +5085,10 @@ T['io.flow.v0.enums.trueup_surcharge_type'] = PropTypes.oneOf([
|
|
|
5085
5085
|
'emergency',
|
|
5086
5086
|
'peak',
|
|
5087
5087
|
'address_correction',
|
|
5088
|
-
'
|
|
5089
|
-
'
|
|
5090
|
-
'
|
|
5091
|
-
'
|
|
5088
|
+
'security',
|
|
5089
|
+
'eei_filing',
|
|
5090
|
+
'fixed_ddp',
|
|
5091
|
+
'fixed_currency_conversion',
|
|
5092
5092
|
]);
|
|
5093
5093
|
|
|
5094
5094
|
T['io.flow.v0.models.trueup_label_surcharge'] = PropTypes.exact({
|
|
@@ -6058,7 +6058,14 @@ T['io.flow.v0.models.discount_offer_percent'] = PropTypes.exact({
|
|
|
6058
6058
|
});
|
|
6059
6059
|
|
|
6060
6060
|
T['io.flow.v0.enums.authorization_option'] = PropTypes.oneOf(['store_card']);
|
|
6061
|
-
|
|
6061
|
+
|
|
6062
|
+
T['io.flow.v0.enums.package_dimensions_source'] = PropTypes.oneOf([
|
|
6063
|
+
'provided',
|
|
6064
|
+
'item_dimensions_estimated',
|
|
6065
|
+
'dimensions_estimated',
|
|
6066
|
+
'default_item_dimensions_estimated',
|
|
6067
|
+
]);
|
|
6068
|
+
|
|
6062
6069
|
T['io.flow.v0.enums.shipment_recipient'] = PropTypes.oneOf(['customer', 'return', 'crossdock']);
|
|
6063
6070
|
T['io.flow.v0.enums.direction'] = PropTypes.oneOf(['outbound', 'return']);
|
|
6064
6071
|
T['io.flow.v0.enums.levy_component'] = PropTypes.oneOf(['goods', 'duty', 'insurance', 'freight', 'vat']);
|