@flowio/types 10.3.0 → 10.4.0
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 +2515 -656
- package/dist/api.d.ts +12 -2
- package/package.json +2 -2
- package/src/api-internal.ts +3845 -999
- package/src/api.ts +15 -2
package/dist/api.d.ts
CHANGED
|
@@ -100,6 +100,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
100
100
|
readonly prerequisite_variant_ids?: number[];
|
|
101
101
|
readonly prerequisite_collection_ids?: number[];
|
|
102
102
|
readonly prerequisite_to_entitlement_quantity_ratio?: io.flow.shopify.external.v0.models.PriceRulePrerequisiteToEntitlementQuantityRatio;
|
|
103
|
+
readonly prerequisite_to_entitlement_purchase?: io.flow.shopify.external.v0.models.PriceRulePrerequisiteToEntitlementPurchase;
|
|
103
104
|
readonly allocation_limit?: number;
|
|
104
105
|
readonly title?: string;
|
|
105
106
|
readonly created_at?: string;
|
|
@@ -124,6 +125,9 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
124
125
|
readonly less_than?: number;
|
|
125
126
|
readonly less_than_or_equal_to?: number;
|
|
126
127
|
}
|
|
128
|
+
interface PriceRulePrerequisiteToEntitlementPurchase {
|
|
129
|
+
readonly prerequisite_amount?: string;
|
|
130
|
+
}
|
|
127
131
|
interface PriceRulePrerequisiteToEntitlementQuantityRatio {
|
|
128
132
|
readonly prerequisite_quantity?: number;
|
|
129
133
|
readonly entitled_quantity?: number;
|
|
@@ -806,7 +810,7 @@ declare namespace io.flow.v0.enums {
|
|
|
806
810
|
type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis';
|
|
807
811
|
type Aggregate = 'maximum' | 'minimum';
|
|
808
812
|
type AttributeDataType = 'boolean' | 'decimal' | 'string' | 'json_array';
|
|
809
|
-
type AttributeIntent = 'brand' | 'color' | 'countries_of_origin' | 'product_id' | 'fulfillment_method' | 'hazardous' | 'price' | 'size' | 'sku' | 'taxability' | 'consumer_url' | 'gtin' | 'mpn' | 'facet' | 'eccn';
|
|
813
|
+
type AttributeIntent = 'brand' | 'color' | 'countries_of_origin' | 'product_id' | 'fulfillment_method' | 'hazardous' | 'price' | 'size' | 'sku' | 'taxability' | 'consumer_url' | 'gtin' | 'mpn' | 'facet' | 'eccn' | 'returnable';
|
|
810
814
|
type AuthenticationTechnique = 'anonymous' | 'session' | 'token' | 'partner_token' | 'user';
|
|
811
815
|
type AuthorizationDeclineCode = 'expired' | 'invalid_name' | 'invalid_number' | 'invalid_expiration' | 'invalid_address' | 'invalid_token_type' | 'invalid_token' | 'no_account' | 'avs' | 'cvv' | 'fraud' | 'duplicate' | 'not_supported' | 'unknown';
|
|
812
816
|
type AuthorizationOption = 'store_card';
|
|
@@ -1120,6 +1124,7 @@ declare namespace io.flow.v0.models {
|
|
|
1120
1124
|
}
|
|
1121
1125
|
interface AllocationLineDetail {
|
|
1122
1126
|
readonly discriminator: 'allocation_line_detail';
|
|
1127
|
+
readonly id?: string;
|
|
1123
1128
|
readonly number: string;
|
|
1124
1129
|
readonly quantity: number;
|
|
1125
1130
|
readonly key: io.flow.v0.enums.OrderPriceDetailKey;
|
|
@@ -2401,6 +2406,7 @@ declare namespace io.flow.v0.models {
|
|
|
2401
2406
|
readonly display?: io.flow.v0.enums.DeliveredDutyDisplayType;
|
|
2402
2407
|
}
|
|
2403
2408
|
interface DeliveryItem {
|
|
2409
|
+
readonly id?: string;
|
|
2404
2410
|
readonly number: string;
|
|
2405
2411
|
readonly quantity: number;
|
|
2406
2412
|
readonly shipment_estimate?: io.flow.v0.models.DatetimeRange;
|
|
@@ -3095,7 +3101,7 @@ declare namespace io.flow.v0.models {
|
|
|
3095
3101
|
}
|
|
3096
3102
|
interface FieldValidationRequired {
|
|
3097
3103
|
readonly discriminator: 'required';
|
|
3098
|
-
readonly
|
|
3104
|
+
readonly placeholder?: string;
|
|
3099
3105
|
}
|
|
3100
3106
|
interface FlatRate {
|
|
3101
3107
|
readonly discriminator: 'flat_rate';
|
|
@@ -4616,6 +4622,9 @@ declare namespace io.flow.v0.models {
|
|
|
4616
4622
|
readonly length: number;
|
|
4617
4623
|
readonly padding: string;
|
|
4618
4624
|
}
|
|
4625
|
+
interface OrderNumberGeneratorGeneratedNumber {
|
|
4626
|
+
readonly number: string;
|
|
4627
|
+
}
|
|
4619
4628
|
interface OrderNumberGeneratorHexadecimal {
|
|
4620
4629
|
readonly discriminator: 'hexadecimal';
|
|
4621
4630
|
readonly length: number;
|
|
@@ -8137,6 +8146,7 @@ export declare type OrderMerchantOfRecord = io.flow.v0.enums.OrderMerchantOfReco
|
|
|
8137
8146
|
export declare type OrderNumberGenerator = io.flow.v0.unions.OrderNumberGenerator;
|
|
8138
8147
|
export declare type OrderNumberGeneratorDefaults = io.flow.v0.models.OrderNumberGeneratorDefaults;
|
|
8139
8148
|
export declare type OrderNumberGeneratorFixedLength = io.flow.v0.models.OrderNumberGeneratorFixedLength;
|
|
8149
|
+
export declare type OrderNumberGeneratorGeneratedNumber = io.flow.v0.models.OrderNumberGeneratorGeneratedNumber;
|
|
8140
8150
|
export declare type OrderNumberGeneratorHexadecimal = io.flow.v0.models.OrderNumberGeneratorHexadecimal;
|
|
8141
8151
|
export declare type OrderNumberGeneratorPrefixSuffix = io.flow.v0.models.OrderNumberGeneratorPrefixSuffix;
|
|
8142
8152
|
export declare type OrderNumberGeneratorUuid = io.flow.v0.models.OrderNumberGeneratorUuid;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.4.0",
|
|
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",
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"prettier": "^1.18.2",
|
|
28
28
|
"typescript": "3.8.3"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "256d366c382621642652a5edd07c3bb13b7995b7"
|
|
31
31
|
}
|