@flowio/types 11.17.0 → 11.19.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 +147 -99
- package/dist/api.d.ts +11 -11
- package/package.json +2 -2
- package/src/api-internal.ts +179 -103
- package/src/api.ts +14 -11
package/src/api.ts
CHANGED
|
@@ -242,7 +242,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
242
242
|
interface Product {
|
|
243
243
|
readonly id: number;
|
|
244
244
|
readonly handle: string;
|
|
245
|
-
readonly variants
|
|
245
|
+
readonly variants?: io.flow.shopify.external.v0.models.ProductVariant[];
|
|
246
246
|
readonly images: io.flow.shopify.external.v0.models.ProductImage[];
|
|
247
247
|
readonly title: string;
|
|
248
248
|
readonly vendor?: string;
|
|
@@ -427,7 +427,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
427
427
|
}
|
|
428
428
|
|
|
429
429
|
interface ShopifyClientDetail {
|
|
430
|
-
readonly accept_language
|
|
430
|
+
readonly accept_language?: boolean;
|
|
431
431
|
readonly browser_height?: number;
|
|
432
432
|
readonly browser_ip?: string;
|
|
433
433
|
readonly browser_width?: number;
|
|
@@ -443,7 +443,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
443
443
|
readonly tax_exempt: boolean;
|
|
444
444
|
readonly verified_email: boolean;
|
|
445
445
|
readonly state: io.flow.shopify.external.v0.enums.ShopifyCustomerState;
|
|
446
|
-
readonly accepts_marketing
|
|
446
|
+
readonly accepts_marketing?: boolean;
|
|
447
447
|
readonly default_address?: any /*object*/;
|
|
448
448
|
readonly email?: string;
|
|
449
449
|
readonly first_name?: string;
|
|
@@ -522,7 +522,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
522
522
|
readonly requires_shipping: boolean;
|
|
523
523
|
readonly currency?: string;
|
|
524
524
|
readonly items: io.flow.shopify.external.v0.models.ShopifyExternalCartItem[];
|
|
525
|
-
readonly cart_level_discount_applications
|
|
525
|
+
readonly cart_level_discount_applications?: io.flow.shopify.external.v0.models.ShopifyDiscountApplication[];
|
|
526
526
|
}
|
|
527
527
|
|
|
528
528
|
interface ShopifyExternalCartItem {
|
|
@@ -537,7 +537,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
537
537
|
readonly original_line_price: number;
|
|
538
538
|
readonly total_discount: number;
|
|
539
539
|
readonly discounted_price: number;
|
|
540
|
-
readonly discounts
|
|
540
|
+
readonly discounts?: io.flow.shopify.external.v0.models.ShopifyCartItemDiscount[];
|
|
541
541
|
readonly taxable: boolean;
|
|
542
542
|
readonly quantity: number;
|
|
543
543
|
readonly sku?: string;
|
|
@@ -555,8 +555,8 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
555
555
|
readonly product_description?: string;
|
|
556
556
|
readonly product_type: string;
|
|
557
557
|
readonly variant_title?: string;
|
|
558
|
-
readonly variant_options
|
|
559
|
-
readonly line_level_discount_allocations
|
|
558
|
+
readonly variant_options?: string[];
|
|
559
|
+
readonly line_level_discount_allocations?: io.flow.shopify.external.v0.models.ShopifyLineLevelDiscountAllocation[];
|
|
560
560
|
}
|
|
561
561
|
|
|
562
562
|
interface ShopifyFulfillment {
|
|
@@ -797,11 +797,11 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
797
797
|
readonly updated_at?: string;
|
|
798
798
|
readonly user_id?: number;
|
|
799
799
|
readonly order_status_url?: string;
|
|
800
|
-
readonly inventory_behaviour
|
|
800
|
+
readonly inventory_behaviour?: io.flow.shopify.external.v0.enums.InventoryBehaviour;
|
|
801
801
|
readonly gateway?: string;
|
|
802
802
|
readonly transactions?: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
|
|
803
803
|
readonly send_receipt?: boolean;
|
|
804
|
-
readonly metafields
|
|
804
|
+
readonly metafields?: io.flow.shopify.external.v0.models.MetafieldForm[];
|
|
805
805
|
}
|
|
806
806
|
|
|
807
807
|
interface ShopifyOrderCount {
|
|
@@ -939,7 +939,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
939
939
|
|
|
940
940
|
interface ShopifyWebhookOrder {
|
|
941
941
|
readonly id?: number;
|
|
942
|
-
readonly line_items
|
|
942
|
+
readonly line_items?: io.flow.shopify.external.v0.models.ShopifyWebhookOrderLineItem[];
|
|
943
943
|
}
|
|
944
944
|
|
|
945
945
|
interface ShopifyWebhookOrderCancelled {
|
|
@@ -1132,7 +1132,10 @@ declare namespace io.flow.v0.enums {
|
|
|
1132
1132
|
| 'amount_must_be_positive'
|
|
1133
1133
|
| 'amount_exceeds_balance'
|
|
1134
1134
|
| 'insufficient_amount';
|
|
1135
|
-
type CurrencyLabelFormatter =
|
|
1135
|
+
type CurrencyLabelFormatter =
|
|
1136
|
+
| 'strip_trailing_zeros'
|
|
1137
|
+
| 'symbol_prefix'
|
|
1138
|
+
| 'symbol_suffix';
|
|
1136
1139
|
type CurrencySymbolFormat = 'narrow' | 'primary';
|
|
1137
1140
|
type CustomerAddressType = 'billing' | 'invoice' | 'shipping';
|
|
1138
1141
|
type CvvCode = 'match' | 'suspicious' | 'unsupported' | 'no_match';
|