@flowio/types 11.11.0 → 11.12.1
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 +574 -423
- package/dist/api.d.ts +6 -1
- package/package.json +2 -2
- package/src/api-internal.ts +1229 -1042
- package/src/api.ts +12 -0
package/dist/api.d.ts
CHANGED
|
@@ -912,6 +912,7 @@ declare namespace io.flow.v0.enums {
|
|
|
912
912
|
type PaymentSourceConfirmationActionType = 'cvv' | 'billing_address' | 'number';
|
|
913
913
|
type PermittedHttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
|
|
914
914
|
type PhysicalDeliverySpecialSerivce = 'cold_storage' | 'hazardous' | 'perishable';
|
|
915
|
+
type PostalType = 'eircode' | 'pin' | 'postal' | 'zip';
|
|
915
916
|
type PriceAccuracy = 'calculated' | 'estimated_from_partial_destination';
|
|
916
917
|
type PriceBookStatus = 'draft' | 'published' | 'archived';
|
|
917
918
|
type PriceDetailComponentKey = 'base_price' | 'discount' | 'currency_margin' | 'percent_item_margin' | 'fixed_item_margin' | 'duties_item_price' | 'duties_added_margin' | 'duties_rounding' | 'duties_deminimis' | 'vat_item_price' | 'vat_added_margin' | 'vat_rounding' | 'vat_duties_item_price' | 'vat_duties_added_margin' | 'vat_duties_rounding' | 'vat_deminimis' | 'item_price_percent_sales_margin' | 'margins_percent_sales_margin' | 'rounding_percent_sales_margin' | 'vat_percent_sales_margin' | 'vat_duty_percent_sales_margin' | 'duty_percent_sales_margin';
|
|
@@ -919,7 +920,7 @@ declare namespace io.flow.v0.enums {
|
|
|
919
920
|
type PriceFacetBoundary = 'min' | 'max';
|
|
920
921
|
type PricingLevySetting = 'included' | 'displayed' | 'ignored';
|
|
921
922
|
type PromotionTriggerType = 'automatic' | 'order_subtotal';
|
|
922
|
-
type ProvinceType = 'city' | 'dependency' | 'district' | 'emirate' | 'entity' | 'municipality' | 'outlying_area' | 'parish' | 'province' | 'state' | 'territory' | 'other';
|
|
923
|
+
type ProvinceType = 'area' | 'city' | 'county' | 'department' | 'dependency' | 'district' | 'do_si' | 'emirate' | 'entity' | 'island' | 'municipality' | 'oblast' | 'outlying_area' | 'parish' | 'prefecture' | 'province' | 'state' | 'territory' | 'other';
|
|
923
924
|
type QuoteErrorCode = 'generic_error' | 'items_not_available' | 'shipping_unavailable';
|
|
924
925
|
type RatecardOwner = 'flow' | 'organization';
|
|
925
926
|
type RefundDeclineCode = 'expired' | 'insufficient_funds' | 'unknown';
|
|
@@ -1042,6 +1043,8 @@ declare namespace io.flow.v0.models {
|
|
|
1042
1043
|
readonly field_validation: io.flow.v0.models.AddressFieldValidation;
|
|
1043
1044
|
readonly provinces: io.flow.v0.models.AddressConfigurationProvince[];
|
|
1044
1045
|
readonly formats?: io.flow.v0.models.AddressConfigurationFormat[];
|
|
1046
|
+
readonly province_type?: io.flow.v0.enums.ProvinceType;
|
|
1047
|
+
readonly postal_type?: io.flow.v0.enums.PostalType;
|
|
1045
1048
|
}
|
|
1046
1049
|
interface AddressConfigurationFieldPlacement {
|
|
1047
1050
|
readonly name: io.flow.v0.enums.AddressFieldName;
|
|
@@ -4070,6 +4073,7 @@ declare namespace io.flow.v0.models {
|
|
|
4070
4073
|
readonly item: io.flow.v0.models.CatalogItemReference;
|
|
4071
4074
|
readonly pricing: io.flow.v0.models.LocalItemPricing;
|
|
4072
4075
|
readonly status: io.flow.v0.enums.SubcatalogItemStatus;
|
|
4076
|
+
readonly attributes?: Record<string, string>;
|
|
4073
4077
|
}
|
|
4074
4078
|
interface LocalItemAttributePricing {
|
|
4075
4079
|
readonly pretax_price: io.flow.v0.models.PriceWithBase;
|
|
@@ -8492,6 +8496,7 @@ export declare type PfsInventoryStatus = io.flow.v0.models.PfsInventoryStatus;
|
|
|
8492
8496
|
export declare type PhysicalDelivery = io.flow.v0.models.PhysicalDelivery;
|
|
8493
8497
|
export declare type PhysicalDeliverySpecialSerivce = io.flow.v0.enums.PhysicalDeliverySpecialSerivce;
|
|
8494
8498
|
export declare type PostPaymentRedirectUrls = io.flow.v0.models.PostPaymentRedirectUrls;
|
|
8499
|
+
export declare type PostalType = io.flow.v0.enums.PostalType;
|
|
8495
8500
|
export declare type Price = io.flow.v0.models.Price;
|
|
8496
8501
|
export declare type PriceAccuracy = io.flow.v0.enums.PriceAccuracy;
|
|
8497
8502
|
export declare type PriceBook = io.flow.v0.models.PriceBook;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.12.1",
|
|
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": "dc2a50570a011bb885730dec3b6c7292906b1399"
|
|
29
29
|
}
|