@flowio/types 11.9.5 → 11.9.8
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 +8180 -8053
- package/dist/api.d.ts +14 -2
- package/package.json +2 -2
- package/src/api-internal.ts +9884 -9712
- package/src/api.ts +17 -1
package/dist/api.d.ts
CHANGED
|
@@ -899,7 +899,7 @@ declare namespace io.flow.v0.enums {
|
|
|
899
899
|
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';
|
|
900
900
|
type OrderMerchantOfRecord = 'flow' | 'organization' | 'mixed';
|
|
901
901
|
type OrderPaymentType = 'card' | 'online' | 'credit' | 'installment_plan' | 'cash_on_delivery';
|
|
902
|
-
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' | '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';
|
|
902
|
+
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';
|
|
903
903
|
type OrderPriceDetailKey = 'adjustment' | 'subtotal' | 'vat' | 'duty' | 'shipping' | 'insurance' | 'discount' | 'surcharges';
|
|
904
904
|
type OrderStatus = 'open' | 'submitted';
|
|
905
905
|
type OrderStorage = 'do_not_persist' | 'persist';
|
|
@@ -3630,6 +3630,10 @@ declare namespace io.flow.v0.models {
|
|
|
3630
3630
|
interface InventoryExperienceReference {
|
|
3631
3631
|
readonly key: string;
|
|
3632
3632
|
}
|
|
3633
|
+
interface InventoryFollowEcommercePlatform {
|
|
3634
|
+
readonly discriminator: 'inventory_follow_ecommerce_platform';
|
|
3635
|
+
readonly quantity: number;
|
|
3636
|
+
}
|
|
3633
3637
|
interface InventoryItemReference {
|
|
3634
3638
|
readonly number: string;
|
|
3635
3639
|
}
|
|
@@ -5534,6 +5538,12 @@ declare namespace io.flow.v0.models {
|
|
|
5534
5538
|
readonly rounding_method?: string;
|
|
5535
5539
|
readonly rounding_value?: number;
|
|
5536
5540
|
}
|
|
5541
|
+
interface PricingVersion {
|
|
5542
|
+
readonly id: string;
|
|
5543
|
+
readonly timestamp: string;
|
|
5544
|
+
readonly type: io.flow.v0.enums.ChangeType;
|
|
5545
|
+
readonly pricing: io.flow.v0.models.Pricing;
|
|
5546
|
+
}
|
|
5537
5547
|
interface ProcessingEstimate {
|
|
5538
5548
|
readonly location: io.flow.v0.enums.DeliveryWindowLocation;
|
|
5539
5549
|
readonly min_date: string;
|
|
@@ -7582,7 +7592,7 @@ declare namespace io.flow.v0.unions {
|
|
|
7582
7592
|
type GatewayAuthenticationDataForm = io.flow.v0.models.StripeAuthenticationDataForm;
|
|
7583
7593
|
type InlineActionConfiguration = io.flow.v0.models.BrowserInlineActionConfiguration;
|
|
7584
7594
|
type InputSpecificationLimitation = io.flow.v0.models.InputSpecificationLimitationMax;
|
|
7585
|
-
type InventoryStrategy = io.flow.v0.models.InventoryBackorder | io.flow.v0.models.InventoryStock | io.flow.v0.models.InventoryUnlimited;
|
|
7595
|
+
type InventoryStrategy = io.flow.v0.models.InventoryBackorder | io.flow.v0.models.InventoryStock | io.flow.v0.models.InventoryUnlimited | io.flow.v0.models.InventoryFollowEcommercePlatform;
|
|
7586
7596
|
type LocalizedPrice = io.flow.v0.models.LocalizedItemPrice | io.flow.v0.models.LocalizedItemVat | io.flow.v0.models.LocalizedItemDuty | io.flow.v0.models.LocalizedTotal;
|
|
7587
7597
|
type OnlineAuthorizationDetails = io.flow.v0.models.CryptopayAuthorizationDetails | io.flow.v0.models.PaypalAuthorizationDetails | io.flow.v0.models.RedirectAuthorizationDetails | io.flow.v0.models.InlineAuthorizationDetails;
|
|
7588
7598
|
type OrderNumberGenerator = io.flow.v0.models.OrderNumberGeneratorUuid | io.flow.v0.models.OrderNumberGeneratorHexadecimal | io.flow.v0.models.OrderNumberGeneratorPrefixSuffix;
|
|
@@ -8175,6 +8185,7 @@ export declare type InventoryCenterReference = io.flow.v0.models.InventoryCenter
|
|
|
8175
8185
|
export declare type InventoryCheckResponse = io.flow.v0.models.InventoryCheckResponse;
|
|
8176
8186
|
export declare type InventoryCheckResponseItem = io.flow.v0.models.InventoryCheckResponseItem;
|
|
8177
8187
|
export declare type InventoryExperienceReference = io.flow.v0.models.InventoryExperienceReference;
|
|
8188
|
+
export declare type InventoryFollowEcommercePlatform = io.flow.v0.models.InventoryFollowEcommercePlatform;
|
|
8178
8189
|
export declare type InventoryItemReference = io.flow.v0.models.InventoryItemReference;
|
|
8179
8190
|
export declare type InventoryRequest = io.flow.v0.models.InventoryRequest;
|
|
8180
8191
|
export declare type InventoryRequestItem = io.flow.v0.models.InventoryRequestItem;
|
|
@@ -8518,6 +8529,7 @@ export declare type PricingDeleted = io.flow.v0.models.PricingDeleted;
|
|
|
8518
8529
|
export declare type PricingLevySetting = io.flow.v0.enums.PricingLevySetting;
|
|
8519
8530
|
export declare type PricingSettings = io.flow.v0.models.PricingSettings;
|
|
8520
8531
|
export declare type PricingUpserted = io.flow.v0.models.PricingUpserted;
|
|
8532
|
+
export declare type PricingVersion = io.flow.v0.models.PricingVersion;
|
|
8521
8533
|
export declare type ProcessingEstimate = io.flow.v0.models.ProcessingEstimate;
|
|
8522
8534
|
export declare type Promotion = io.flow.v0.unions.Promotion;
|
|
8523
8535
|
export declare type PromotionTrigger = io.flow.v0.models.PromotionTrigger;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.9.
|
|
3
|
+
"version": "11.9.8",
|
|
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": "87d962e02d1d654e2393b80429c7a9a9353cad11"
|
|
29
29
|
}
|