@flowio/types 10.2.2 → 10.2.3
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 +6080 -6178
- package/dist/api.d.ts +14 -17
- package/package.json +2 -2
- package/src/api-internal.ts +4768 -4866
- package/src/api.ts +16 -20
package/src/api.ts
CHANGED
|
@@ -33,16 +33,6 @@ declare namespace io.flow.shopify.external.v0.enums {
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
declare namespace io.flow.shopify.external.v0.models {
|
|
36
|
-
interface Collect {
|
|
37
|
-
readonly 'id': number;
|
|
38
|
-
readonly 'collection_id': number;
|
|
39
|
-
readonly 'product_id': number;
|
|
40
|
-
readonly 'created_at'?: string;
|
|
41
|
-
readonly 'updated_at'?: string;
|
|
42
|
-
readonly 'position': number;
|
|
43
|
-
readonly 'sort_value': string;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
36
|
interface Collection {
|
|
47
37
|
readonly 'id': number;
|
|
48
38
|
readonly 'handle': string;
|
|
@@ -226,18 +216,10 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
226
216
|
readonly 'transaction': io.flow.shopify.external.v0.models.ShopifyTransactionForm;
|
|
227
217
|
}
|
|
228
218
|
|
|
229
|
-
interface ResponseCollect {
|
|
230
|
-
readonly 'collect': io.flow.shopify.external.v0.models.Collect;
|
|
231
|
-
}
|
|
232
|
-
|
|
233
219
|
interface ResponseCollection {
|
|
234
220
|
readonly 'collection': io.flow.shopify.external.v0.models.Collection;
|
|
235
221
|
}
|
|
236
222
|
|
|
237
|
-
interface ResponseCollects {
|
|
238
|
-
readonly 'collects': io.flow.shopify.external.v0.models.Collect[];
|
|
239
|
-
}
|
|
240
|
-
|
|
241
223
|
interface ResponseMetafield {
|
|
242
224
|
readonly 'metafield': io.flow.shopify.external.v0.models.Metafield;
|
|
243
225
|
}
|
|
@@ -993,6 +975,7 @@ declare namespace io.flow.v0.enums {
|
|
|
993
975
|
type InventoryStatus = 'has_inventory' | 'no_inventory';
|
|
994
976
|
type InvitationErrorCode = 'expired' | 'invalid_email';
|
|
995
977
|
type ItemAvailabilityStatus = 'available' | 'low' | 'out_of_stock';
|
|
978
|
+
type ItemIdentifier = 'item_number' | 'sku';
|
|
996
979
|
type LaneDirection = 'outbound' | 'return';
|
|
997
980
|
type LanePreselectPreference = 'lowest_cost' | 'default_tier';
|
|
998
981
|
type LaneStrategy = 'oldest' | 'fastest' | 'lowest_cost' | 'highest_priority';
|
|
@@ -2544,6 +2527,7 @@ declare namespace io.flow.v0.models {
|
|
|
2544
2527
|
readonly 'price_book_key': string;
|
|
2545
2528
|
readonly 'price_book_item_key': string;
|
|
2546
2529
|
readonly 'item_number': string;
|
|
2530
|
+
readonly 'sku': string;
|
|
2547
2531
|
readonly 'item_name': string;
|
|
2548
2532
|
readonly 'amount': number;
|
|
2549
2533
|
readonly 'item_attributes'?: Record<string, string>;
|
|
@@ -3767,14 +3751,12 @@ declare namespace io.flow.v0.models {
|
|
|
3767
3751
|
}
|
|
3768
3752
|
|
|
3769
3753
|
interface GraphqlRequest {
|
|
3770
|
-
readonly 'id': string;
|
|
3771
3754
|
readonly 'query': string;
|
|
3772
3755
|
readonly 'operation_name'?: string;
|
|
3773
3756
|
readonly 'variables'?: Record<string, string>;
|
|
3774
3757
|
}
|
|
3775
3758
|
|
|
3776
3759
|
interface GraphqlResponse {
|
|
3777
|
-
readonly 'request_id': string;
|
|
3778
3760
|
readonly 'data'?: any/*object*/;
|
|
3779
3761
|
readonly 'errors'?: any/*object*/[];
|
|
3780
3762
|
}
|
|
@@ -4581,6 +4563,10 @@ declare namespace io.flow.v0.models {
|
|
|
4581
4563
|
readonly 'discount'?: io.flow.v0.models.Money;
|
|
4582
4564
|
}
|
|
4583
4565
|
|
|
4566
|
+
interface LineItemAttributesForm {
|
|
4567
|
+
readonly 'attributes': Record<string, string>;
|
|
4568
|
+
}
|
|
4569
|
+
|
|
4584
4570
|
interface LineItemForm {
|
|
4585
4571
|
readonly 'number': string;
|
|
4586
4572
|
readonly 'quantity': number;
|
|
@@ -4592,6 +4578,10 @@ declare namespace io.flow.v0.models {
|
|
|
4592
4578
|
readonly 'discounts'?: io.flow.v0.models.DiscountsForm;
|
|
4593
4579
|
}
|
|
4594
4580
|
|
|
4581
|
+
interface LineItemQuantityForm {
|
|
4582
|
+
readonly 'quantity': number;
|
|
4583
|
+
}
|
|
4584
|
+
|
|
4595
4585
|
interface Link {
|
|
4596
4586
|
readonly 'url': string;
|
|
4597
4587
|
}
|
|
@@ -5477,6 +5467,7 @@ declare namespace io.flow.v0.models {
|
|
|
5477
5467
|
readonly 'total': io.flow.v0.models.OrderSummaryPriceDetail;
|
|
5478
5468
|
readonly 'lines': io.flow.v0.models.OrderSummaryLineItem[];
|
|
5479
5469
|
readonly 'identifiers'?: Record<string, string>;
|
|
5470
|
+
readonly 'attributes'?: Record<string, string>;
|
|
5480
5471
|
}
|
|
5481
5472
|
|
|
5482
5473
|
interface OrderSummaryImage {
|
|
@@ -5511,6 +5502,7 @@ declare namespace io.flow.v0.models {
|
|
|
5511
5502
|
readonly 'duty'?: io.flow.v0.models.OrderSummaryLevy;
|
|
5512
5503
|
readonly 'total': io.flow.v0.models.Price;
|
|
5513
5504
|
readonly 'price_attributes': Record<string, io.flow.v0.models.Price>;
|
|
5505
|
+
readonly 'attributes'?: Record<string, string>;
|
|
5514
5506
|
}
|
|
5515
5507
|
|
|
5516
5508
|
interface OrderSummaryPriceDetail {
|
|
@@ -6105,6 +6097,7 @@ declare namespace io.flow.v0.models {
|
|
|
6105
6097
|
readonly 'item_numbers'?: string[];
|
|
6106
6098
|
readonly 'start_date'?: string;
|
|
6107
6099
|
readonly 'end_date'?: string;
|
|
6100
|
+
readonly 'item_identifier'?: io.flow.v0.enums.ItemIdentifier;
|
|
6108
6101
|
}
|
|
6109
6102
|
|
|
6110
6103
|
interface PriceBookItemForm {
|
|
@@ -9120,6 +9113,7 @@ export type ItemAvailabilityStatus = io.flow.v0.enums.ItemAvailabilityStatus;
|
|
|
9120
9113
|
export type ItemForm = io.flow.v0.models.ItemForm;
|
|
9121
9114
|
export type ItemFormOverlay = io.flow.v0.models.ItemFormOverlay;
|
|
9122
9115
|
export type ItemFormOverlayForm = io.flow.v0.models.ItemFormOverlayForm;
|
|
9116
|
+
export type ItemIdentifier = io.flow.v0.enums.ItemIdentifier;
|
|
9123
9117
|
export type ItemMargin = io.flow.v0.models.ItemMargin;
|
|
9124
9118
|
export type ItemMarginDeleted = io.flow.v0.models.ItemMarginDeleted;
|
|
9125
9119
|
export type ItemMarginPostForm = io.flow.v0.models.ItemMarginPostForm;
|
|
@@ -9157,7 +9151,9 @@ export type LevyComponent = io.flow.v0.enums.LevyComponent;
|
|
|
9157
9151
|
export type LevyStrategy = io.flow.v0.enums.LevyStrategy;
|
|
9158
9152
|
export type Line = io.flow.v0.models.Line;
|
|
9159
9153
|
export type LineItem = io.flow.v0.models.LineItem;
|
|
9154
|
+
export type LineItemAttributesForm = io.flow.v0.models.LineItemAttributesForm;
|
|
9160
9155
|
export type LineItemForm = io.flow.v0.models.LineItemForm;
|
|
9156
|
+
export type LineItemQuantityForm = io.flow.v0.models.LineItemQuantityForm;
|
|
9161
9157
|
export type Link = io.flow.v0.models.Link;
|
|
9162
9158
|
export type Local = io.flow.v0.models.Local;
|
|
9163
9159
|
export type LocalItem = io.flow.v0.models.LocalItem;
|