@flowio/types 11.24.85 → 11.24.86
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/dist/api-internal.d.ts +232 -29
- package/dist/api.d.ts +8 -5
- package/package.json +2 -2
- package/src/api-internal.ts +292 -37
- package/src/api.ts +12 -5
package/dist/api.d.ts
CHANGED
|
@@ -1773,6 +1773,9 @@ declare namespace io.flow.ben.test.internal.v0.models {
|
|
|
1773
1773
|
readonly organization_id: string;
|
|
1774
1774
|
readonly num_events: number;
|
|
1775
1775
|
}
|
|
1776
|
+
interface SvitlanaTest {
|
|
1777
|
+
readonly name: string;
|
|
1778
|
+
}
|
|
1776
1779
|
interface Test {
|
|
1777
1780
|
readonly id: string;
|
|
1778
1781
|
readonly name: string;
|
|
@@ -1911,7 +1914,7 @@ declare namespace io.flow.v0.enums {
|
|
|
1911
1914
|
type ExperienceStatus = 'draft' | 'active' | 'archiving' | 'archived';
|
|
1912
1915
|
type ExportStatus = 'created' | 'processing' | 'completed' | 'failed';
|
|
1913
1916
|
type ExporterOfRecord = 'flow' | 'organization';
|
|
1914
|
-
type FeeDeductionType = 'duty_guarantee' | 'mor' | 'fraud' | 'fx' | 'processing' | 'rate_lock' | 'transfer';
|
|
1917
|
+
type FeeDeductionType = 'duty_guarantee' | 'mor' | 'fraud' | 'fx' | 'processing' | 'rate_lock' | 'transfer' | 'negative_balance_guarantee';
|
|
1915
1918
|
type FlowBehavior = 'view_consumer_data';
|
|
1916
1919
|
type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can';
|
|
1917
1920
|
type FlowRole = 'organization_admin' | 'organization_merchant' | 'organization_customer_service' | 'organization_fulfillment' | 'organization_marketing' | 'organization_finance' | 'flow_operations' | 'channel_admin' | 'channel_organization_admin';
|
|
@@ -1960,8 +1963,8 @@ declare namespace io.flow.v0.enums {
|
|
|
1960
1963
|
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';
|
|
1961
1964
|
type OrderMerchantOfRecord = 'flow' | 'organization' | 'mixed';
|
|
1962
1965
|
type OrderPaymentType = 'card' | 'online' | 'credit' | 'external' | 'subsidized' | 'installment_plan' | 'cash_on_delivery';
|
|
1963
|
-
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';
|
|
1964
|
-
type OrderPriceDetailKey = 'adjustment' | 'subtotal' | 'vat' | 'duty' | 'shipping' | 'insurance' | 'discount' | 'surcharges';
|
|
1966
|
+
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';
|
|
1967
|
+
type OrderPriceDetailKey = 'adjustment' | 'subtotal' | 'vat' | 'duty' | 'shipping' | 'insurance' | 'discount' | 'surcharges' | 'tip';
|
|
1965
1968
|
type OrderQuoteAddressType = 'shipping';
|
|
1966
1969
|
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';
|
|
1967
1970
|
type OrderQuoteLineErrorCode = 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_quantity_invalid' | 'line_value_threshold_exceeded';
|
|
@@ -9587,9 +9590,9 @@ declare namespace io.flow.v0.models {
|
|
|
9587
9590
|
readonly key: string;
|
|
9588
9591
|
readonly attributes: Record<string, string>;
|
|
9589
9592
|
readonly carrier_tracking_number: string;
|
|
9590
|
-
readonly destination
|
|
9593
|
+
readonly destination?: io.flow.v0.models.ShippingAddress;
|
|
9591
9594
|
readonly flow_tracking_number: string;
|
|
9592
|
-
readonly origin
|
|
9595
|
+
readonly origin?: io.flow.v0.models.ShippingAddress;
|
|
9593
9596
|
readonly package?: io.flow.v0.models.ShippingLabelPackage;
|
|
9594
9597
|
readonly service: io.flow.v0.unions.ServiceDescription;
|
|
9595
9598
|
readonly window?: io.flow.v0.models.DatetimeRange;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.24.
|
|
3
|
+
"version": "11.24.86",
|
|
4
4
|
"description": "TypeScript type definitions for custom types found in Flow API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"maintainers": [
|
|
26
26
|
"Christian Muñoz <christian.munoz@flow.io>"
|
|
27
27
|
],
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "4ae49474a1813e8aac634c65824b9b915a4b31d5"
|
|
29
29
|
}
|