@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.d.ts CHANGED
@@ -135,7 +135,7 @@ declare namespace io.flow.shopify.external.v0.models {
135
135
  interface Product {
136
136
  readonly id: number;
137
137
  readonly handle: string;
138
- readonly variants: io.flow.shopify.external.v0.models.ProductVariant[];
138
+ readonly variants?: io.flow.shopify.external.v0.models.ProductVariant[];
139
139
  readonly images: io.flow.shopify.external.v0.models.ProductImage[];
140
140
  readonly title: string;
141
141
  readonly vendor?: string;
@@ -290,7 +290,7 @@ declare namespace io.flow.shopify.external.v0.models {
290
290
  readonly title: string;
291
291
  }
292
292
  interface ShopifyClientDetail {
293
- readonly accept_language: boolean;
293
+ readonly accept_language?: boolean;
294
294
  readonly browser_height?: number;
295
295
  readonly browser_ip?: string;
296
296
  readonly browser_width?: number;
@@ -305,7 +305,7 @@ declare namespace io.flow.shopify.external.v0.models {
305
305
  readonly tax_exempt: boolean;
306
306
  readonly verified_email: boolean;
307
307
  readonly state: io.flow.shopify.external.v0.enums.ShopifyCustomerState;
308
- readonly accepts_marketing: boolean;
308
+ readonly accepts_marketing?: boolean;
309
309
  readonly default_address?: any;
310
310
  readonly email?: string;
311
311
  readonly first_name?: string;
@@ -377,7 +377,7 @@ declare namespace io.flow.shopify.external.v0.models {
377
377
  readonly requires_shipping: boolean;
378
378
  readonly currency?: string;
379
379
  readonly items: io.flow.shopify.external.v0.models.ShopifyExternalCartItem[];
380
- readonly cart_level_discount_applications: io.flow.shopify.external.v0.models.ShopifyDiscountApplication[];
380
+ readonly cart_level_discount_applications?: io.flow.shopify.external.v0.models.ShopifyDiscountApplication[];
381
381
  }
382
382
  interface ShopifyExternalCartItem {
383
383
  readonly id: number;
@@ -391,7 +391,7 @@ declare namespace io.flow.shopify.external.v0.models {
391
391
  readonly original_line_price: number;
392
392
  readonly total_discount: number;
393
393
  readonly discounted_price: number;
394
- readonly discounts: io.flow.shopify.external.v0.models.ShopifyCartItemDiscount[];
394
+ readonly discounts?: io.flow.shopify.external.v0.models.ShopifyCartItemDiscount[];
395
395
  readonly taxable: boolean;
396
396
  readonly quantity: number;
397
397
  readonly sku?: string;
@@ -409,8 +409,8 @@ declare namespace io.flow.shopify.external.v0.models {
409
409
  readonly product_description?: string;
410
410
  readonly product_type: string;
411
411
  readonly variant_title?: string;
412
- readonly variant_options: string[];
413
- readonly line_level_discount_allocations: io.flow.shopify.external.v0.models.ShopifyLineLevelDiscountAllocation[];
412
+ readonly variant_options?: string[];
413
+ readonly line_level_discount_allocations?: io.flow.shopify.external.v0.models.ShopifyLineLevelDiscountAllocation[];
414
414
  }
415
415
  interface ShopifyFulfillment {
416
416
  readonly location_id: number;
@@ -630,11 +630,11 @@ declare namespace io.flow.shopify.external.v0.models {
630
630
  readonly updated_at?: string;
631
631
  readonly user_id?: number;
632
632
  readonly order_status_url?: string;
633
- readonly inventory_behaviour: io.flow.shopify.external.v0.enums.InventoryBehaviour;
633
+ readonly inventory_behaviour?: io.flow.shopify.external.v0.enums.InventoryBehaviour;
634
634
  readonly gateway?: string;
635
635
  readonly transactions?: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
636
636
  readonly send_receipt?: boolean;
637
- readonly metafields: io.flow.shopify.external.v0.models.MetafieldForm[];
637
+ readonly metafields?: io.flow.shopify.external.v0.models.MetafieldForm[];
638
638
  }
639
639
  interface ShopifyOrderCount {
640
640
  readonly count: number;
@@ -755,7 +755,7 @@ declare namespace io.flow.shopify.external.v0.models {
755
755
  }
756
756
  interface ShopifyWebhookOrder {
757
757
  readonly id?: number;
758
- readonly line_items: io.flow.shopify.external.v0.models.ShopifyWebhookOrderLineItem[];
758
+ readonly line_items?: io.flow.shopify.external.v0.models.ShopifyWebhookOrderLineItem[];
759
759
  }
760
760
  interface ShopifyWebhookOrderCancelled {
761
761
  readonly id: number;
@@ -834,7 +834,7 @@ declare namespace io.flow.v0.enums {
834
834
  type ConsumerInvoiceStatus = 'pending' | 'available' | 'invalid';
835
835
  type CountryPickerSource = 'experience' | 'destination';
836
836
  type CreditPaymentErrorCode = 'generic_error' | 'invalid_order_number' | 'invalid_currency' | 'invalid_description' | 'duplicate' | 'amount_must_be_positive' | 'amount_exceeds_balance' | 'insufficient_amount';
837
- type CurrencyLabelFormatter = 'strip_trailing_zeros';
837
+ type CurrencyLabelFormatter = 'strip_trailing_zeros' | 'symbol_prefix' | 'symbol_suffix';
838
838
  type CurrencySymbolFormat = 'narrow' | 'primary';
839
839
  type CustomerAddressType = 'billing' | 'invoice' | 'shipping';
840
840
  type CvvCode = 'match' | 'suspicious' | 'unsupported' | 'no_match';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.17.0",
3
+ "version": "11.19.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",
@@ -25,5 +25,5 @@
25
25
  "maintainers": [
26
26
  "Christian Muñoz <christian.munoz@flow.io>"
27
27
  ],
28
- "gitHead": "ffc51f038177ced4e8328e7d99c0365df96ead7d"
28
+ "gitHead": "9e53148de7df7dab5a18e71ac4f4bc904885ef04"
29
29
  }