@flowio/api-prop-types 10.16.67 → 10.16.68
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 +9 -5
- package/lib/api.js +1 -1
- package/package.json +2 -2
- package/src/api.d.ts +9 -5
- package/src/api.js +9 -2
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.68",
|
|
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": "4ae49474a1813e8aac634c65824b9b915a4b31d5"
|
|
33
33
|
}
|
package/src/api.d.ts
CHANGED
|
@@ -1992,6 +1992,10 @@ declare namespace io.flow.ben.test.internal.v0.models {
|
|
|
1992
1992
|
readonly 'num_events': number;
|
|
1993
1993
|
}
|
|
1994
1994
|
|
|
1995
|
+
interface SvitlanaTest {
|
|
1996
|
+
readonly 'name': string;
|
|
1997
|
+
}
|
|
1998
|
+
|
|
1995
1999
|
interface Test {
|
|
1996
2000
|
readonly 'id': string;
|
|
1997
2001
|
readonly 'name': string;
|
|
@@ -2139,7 +2143,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2139
2143
|
type ExperienceStatus = 'draft' | 'active' | 'archiving' | 'archived';
|
|
2140
2144
|
type ExportStatus = 'created' | 'processing' | 'completed' | 'failed';
|
|
2141
2145
|
type ExporterOfRecord = 'flow' | 'organization';
|
|
2142
|
-
type FeeDeductionType = 'duty_guarantee' | 'mor' | 'fraud' | 'fx' | 'processing' | 'rate_lock' | 'transfer';
|
|
2146
|
+
type FeeDeductionType = 'duty_guarantee' | 'mor' | 'fraud' | 'fx' | 'processing' | 'rate_lock' | 'transfer' | 'negative_balance_guarantee';
|
|
2143
2147
|
type FlowBehavior = 'view_consumer_data';
|
|
2144
2148
|
type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can';
|
|
2145
2149
|
type FlowRole = 'organization_admin' | 'organization_merchant' | 'organization_customer_service' | 'organization_fulfillment' | 'organization_marketing' | 'organization_finance' | 'flow_operations' | 'channel_admin' | 'channel_organization_admin';
|
|
@@ -2188,8 +2192,8 @@ declare namespace io.flow.v0.enums {
|
|
|
2188
2192
|
type OrderErrorCode = 'generic_error' | 'order_item_not_available' | 'order_identifier_error' | 'authorization_invalid' | 'domestic_shipping_unavailable' | 'shipping_unavailable' | 'value_threshold_exceeded' | 'invalid_currency' | 'invalid_country' | 'invalid_region' | 'invalid_language' | 'item_out_of_stock' | 'gift_card_not_accepted' | 'total_changed';
|
|
2189
2193
|
type OrderMerchantOfRecord = 'flow' | 'organization' | 'mixed';
|
|
2190
2194
|
type OrderPaymentType = 'card' | 'online' | 'credit' | 'external' | 'subsidized' | 'installment_plan' | 'cash_on_delivery';
|
|
2191
|
-
type OrderPriceDetailComponentKey = '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' | 'shipping_discount' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'remote_area_surcharge' | 'fuel_surcharge' | 'emergency_situation_surcharge' | 'peak_surcharge' | 'duties_taxes_paid_surcharge';
|
|
2192
|
-
type OrderPriceDetailKey = 'adjustment' | 'subtotal' | 'vat' | 'duty' | 'shipping' | 'insurance' | 'discount' | 'surcharges';
|
|
2195
|
+
type OrderPriceDetailComponentKey = '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' | 'shipping_discount' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'remote_area_surcharge' | 'fuel_surcharge' | 'emergency_situation_surcharge' | 'peak_surcharge' | 'duties_taxes_paid_surcharge' | 'tip';
|
|
2196
|
+
type OrderPriceDetailKey = 'adjustment' | 'subtotal' | 'vat' | 'duty' | 'shipping' | 'insurance' | 'discount' | 'surcharges' | 'tip';
|
|
2193
2197
|
type OrderQuoteAddressType = 'shipping';
|
|
2194
2198
|
type OrderQuoteErrorCode = 'contact_email_invalid' | 'contact_email_required' | 'contact_phone_invalid' | 'contact_phone_required' | 'country_not_supported' | 'currency_invalid' | 'first_name_invalid' | 'first_name_required' | 'geo_required_when_no_session' | 'language_invalid' | 'last_name_invalid' | 'last_name_required' | 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_not_found' | 'line_quantity_invalid' | 'line_value_threshold_exceeded' | 'name_missing_first_or_last' | 'name_required' | 'order_quote_requires_at_least_one_line' | 'session_not_found' | 'session_organization_mismatch';
|
|
2195
2199
|
type OrderQuoteLineErrorCode = 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_quantity_invalid' | 'line_value_threshold_exceeded';
|
|
@@ -11041,9 +11045,9 @@ declare namespace io.flow.v0.models {
|
|
|
11041
11045
|
readonly 'key': string;
|
|
11042
11046
|
readonly 'attributes': Record<string, string>;
|
|
11043
11047
|
readonly 'carrier_tracking_number': string;
|
|
11044
|
-
readonly 'destination'
|
|
11048
|
+
readonly 'destination'?: io.flow.v0.models.ShippingAddress;
|
|
11045
11049
|
readonly 'flow_tracking_number': string;
|
|
11046
|
-
readonly 'origin'
|
|
11050
|
+
readonly 'origin'?: io.flow.v0.models.ShippingAddress;
|
|
11047
11051
|
readonly 'package'?: io.flow.v0.models.ShippingLabelPackage;
|
|
11048
11052
|
readonly 'service': io.flow.v0.unions.ServiceDescription;
|
|
11049
11053
|
readonly 'window'?: io.flow.v0.models.DatetimeRange;
|
package/src/api.js
CHANGED
|
@@ -6960,6 +6960,7 @@ T['io.flow.v0.enums.fee_deduction_type'] = PropTypes.oneOf([
|
|
|
6960
6960
|
'processing',
|
|
6961
6961
|
'rate_lock',
|
|
6962
6962
|
'transfer',
|
|
6963
|
+
'negative_balance_guarantee',
|
|
6963
6964
|
]);
|
|
6964
6965
|
|
|
6965
6966
|
T['io.flow.v0.models.transaction_metadata_manual'] = PropTypes.exact({
|
|
@@ -9300,6 +9301,7 @@ T['io.flow.v0.enums.order_price_detail_key'] = PropTypes.oneOf([
|
|
|
9300
9301
|
'insurance',
|
|
9301
9302
|
'discount',
|
|
9302
9303
|
'surcharges',
|
|
9304
|
+
'tip',
|
|
9303
9305
|
]);
|
|
9304
9306
|
|
|
9305
9307
|
T['io.flow.v0.models.money'] = PropTypes.exact({
|
|
@@ -10473,6 +10475,7 @@ T['io.flow.v0.enums.order_price_detail_component_key'] = PropTypes.oneOf([
|
|
|
10473
10475
|
'emergency_situation_surcharge',
|
|
10474
10476
|
'peak_surcharge',
|
|
10475
10477
|
'duties_taxes_paid_surcharge',
|
|
10478
|
+
'tip',
|
|
10476
10479
|
]);
|
|
10477
10480
|
|
|
10478
10481
|
T['io.flow.v0.models.order_price_detail_component'] = PropTypes.exact({
|
|
@@ -12974,9 +12977,9 @@ T['io.flow.v0.models.shipping_notification'] = PropTypes.exact({
|
|
|
12974
12977
|
key: PropTypes.string.isRequired,
|
|
12975
12978
|
attributes: PropTypes.objectOf(PropTypes.string).isRequired,
|
|
12976
12979
|
carrier_tracking_number: PropTypes.string.isRequired,
|
|
12977
|
-
destination: T['io.flow.v0.models.shipping_address']
|
|
12980
|
+
destination: T['io.flow.v0.models.shipping_address'],
|
|
12978
12981
|
flow_tracking_number: PropTypes.string.isRequired,
|
|
12979
|
-
origin: T['io.flow.v0.models.shipping_address']
|
|
12982
|
+
origin: T['io.flow.v0.models.shipping_address'],
|
|
12980
12983
|
'package': T['io.flow.v0.models.shipping_label_package'],
|
|
12981
12984
|
service: T['io.flow.v0.unions.service_description'].isRequired,
|
|
12982
12985
|
window: T['io.flow.v0.models.datetime_range'],
|
|
@@ -14655,6 +14658,10 @@ T['io.flow.shopify.external.v0.models.shopify_webhook_shop_redact'] = PropTypes.
|
|
|
14655
14658
|
shop_domain: PropTypes.string.isRequired,
|
|
14656
14659
|
});
|
|
14657
14660
|
|
|
14661
|
+
T['io.flow.ben.test.internal.v0.models.svitlana_test'] = PropTypes.exact({
|
|
14662
|
+
name: PropTypes.string.isRequired,
|
|
14663
|
+
});
|
|
14664
|
+
|
|
14658
14665
|
T['io.flow.ben.test.internal.v0.models.test_form'] = PropTypes.exact({
|
|
14659
14666
|
name: PropTypes.string.isRequired,
|
|
14660
14667
|
});
|