@flowio/types 11.15.2 → 11.16.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.
@@ -1261,6 +1261,28 @@ declare namespace io.flow.shopify.xborder.v0.models {
1261
1261
  readonly shop_money: io.flow.shopify.xborder.v0.models.ShopifyOrderMoney;
1262
1262
  readonly tax_lines: io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
1263
1263
  }
1264
+ interface ShopifyOrderEdit {
1265
+ readonly id: number;
1266
+ readonly created_at: string;
1267
+ readonly notify_customer: boolean;
1268
+ readonly order_id: number;
1269
+ readonly staff_note: string;
1270
+ readonly user_id?: number;
1271
+ readonly line_items: io.flow.shopify.xborder.v0.models.ShopifyOrderEditLineItems;
1272
+ readonly discounts: any;
1273
+ readonly shipping_lines: any;
1274
+ }
1275
+ interface ShopifyOrderEditLineItems {
1276
+ readonly additions: io.flow.shopify.xborder.v0.models.ShopifyOrderEditLineItemsChange[];
1277
+ readonly removals: io.flow.shopify.xborder.v0.models.ShopifyOrderEditLineItemsChange[];
1278
+ }
1279
+ interface ShopifyOrderEditLineItemsChange {
1280
+ readonly id: number;
1281
+ readonly delta: number;
1282
+ }
1283
+ interface ShopifyOrderEditWrapper {
1284
+ readonly order_edit: io.flow.shopify.xborder.v0.models.ShopifyOrderEdit;
1285
+ }
1264
1286
  interface ShopifyOrderFulfillment {
1265
1287
  readonly created_at?: string;
1266
1288
  readonly id?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.15.2",
3
+ "version": "11.16.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": "de096f16a03eb9ee19da8f28f9c85a721d809abd"
28
+ "gitHead": "4f33dd3511d45000dd2c832ede028d2388f13ff4"
29
29
  }
@@ -1636,6 +1636,32 @@ declare namespace io.flow.shopify.xborder.v0.models {
1636
1636
  readonly tax_lines: io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
1637
1637
  }
1638
1638
 
1639
+ interface ShopifyOrderEdit {
1640
+ readonly id: number;
1641
+ readonly created_at: string;
1642
+ readonly notify_customer: boolean;
1643
+ readonly order_id: number;
1644
+ readonly staff_note: string;
1645
+ readonly user_id?: number;
1646
+ readonly line_items: io.flow.shopify.xborder.v0.models.ShopifyOrderEditLineItems;
1647
+ readonly discounts: any /*object*/;
1648
+ readonly shipping_lines: any /*object*/;
1649
+ }
1650
+
1651
+ interface ShopifyOrderEditLineItems {
1652
+ readonly additions: io.flow.shopify.xborder.v0.models.ShopifyOrderEditLineItemsChange[];
1653
+ readonly removals: io.flow.shopify.xborder.v0.models.ShopifyOrderEditLineItemsChange[];
1654
+ }
1655
+
1656
+ interface ShopifyOrderEditLineItemsChange {
1657
+ readonly id: number;
1658
+ readonly delta: number;
1659
+ }
1660
+
1661
+ interface ShopifyOrderEditWrapper {
1662
+ readonly order_edit: io.flow.shopify.xborder.v0.models.ShopifyOrderEdit;
1663
+ }
1664
+
1639
1665
  interface ShopifyOrderFulfillment {
1640
1666
  readonly created_at?: string;
1641
1667
  readonly id?: number;