@orderingstack/ordering-types 0.1.5 → 0.1.6

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.
@@ -307,23 +307,23 @@ export interface OrderLog {
307
307
  lines?: string[];
308
308
  }
309
309
  export interface OrderLine {
310
- id: string;
311
- creator?: string;
312
- created: string;
313
- updated: string;
314
- source: string;
315
- quantity: number;
316
- price: number;
317
- productId: string;
318
- product: OrderProduct;
319
- productConfig: ProductConfig;
320
- bom: Object;
321
- status: OrderLineStatus;
310
+ bom?: Object;
322
311
  comments?: OrderComment[];
312
+ created: string;
313
+ creator?: string;
323
314
  discounts?: Discount[];
324
315
  extra: Extra;
325
316
  hash: string;
326
- total: number;
317
+ id: string;
318
+ price: string;
319
+ product: OrderProduct;
320
+ productConfig: ProductConfig;
321
+ productId: string;
322
+ quantity: number;
323
+ source: string;
324
+ status: OrderLineStatus;
325
+ total: string;
326
+ updated: string;
327
327
  }
328
328
  export interface SlipEntry {
329
329
  item: string;
@@ -307,23 +307,23 @@ export interface OrderLog {
307
307
  lines?: string[];
308
308
  }
309
309
  export interface OrderLine {
310
- id: string;
311
- creator?: string;
312
- created: string;
313
- updated: string;
314
- source: string;
315
- quantity: number;
316
- price: number;
317
- productId: string;
318
- product: OrderProduct;
319
- productConfig: ProductConfig;
320
- bom: Object;
321
- status: OrderLineStatus;
310
+ bom?: Object;
322
311
  comments?: OrderComment[];
312
+ created: string;
313
+ creator?: string;
323
314
  discounts?: Discount[];
324
315
  extra: Extra;
325
316
  hash: string;
326
- total: number;
317
+ id: string;
318
+ price: string;
319
+ product: OrderProduct;
320
+ productConfig: ProductConfig;
321
+ productId: string;
322
+ quantity: number;
323
+ source: string;
324
+ status: OrderLineStatus;
325
+ total: string;
326
+ updated: string;
327
327
  }
328
328
  export interface SlipEntry {
329
329
  item: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orderingstack/ordering-types",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Typescript types for @orderingstack",
5
5
  "types": "dist/esm/index.d.ts",
6
6
  "main": "dist/cjs/index.js",