@orderingstack/ordering-types 1.11.2 → 1.11.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.
@@ -322,9 +322,7 @@ export interface IOrderFiscal {
322
322
  [propName: string]: number;
323
323
  };
324
324
  subTotalDiscounts?: ISubTotalDiscount[];
325
- extra?: {
326
- [propName: string]: number;
327
- };
325
+ extra?: IStringKeyRecord<number | string>;
328
326
  }
329
327
  export interface ITaxSummary {
330
328
  rate: string;
@@ -446,7 +444,7 @@ export interface IOrderProduct {
446
444
  img?: string;
447
445
  quantity: string;
448
446
  price: string;
449
- vat: string;
447
+ vat?: string;
450
448
  extra: IStringKeyRecord<string>;
451
449
  }
452
450
  export declare enum EOrderLineStatus {
@@ -322,9 +322,7 @@ export interface IOrderFiscal {
322
322
  [propName: string]: number;
323
323
  };
324
324
  subTotalDiscounts?: ISubTotalDiscount[];
325
- extra?: {
326
- [propName: string]: number;
327
- };
325
+ extra?: IStringKeyRecord<number | string>;
328
326
  }
329
327
  export interface ITaxSummary {
330
328
  rate: string;
@@ -446,7 +444,7 @@ export interface IOrderProduct {
446
444
  img?: string;
447
445
  quantity: string;
448
446
  price: string;
449
- vat: string;
447
+ vat?: string;
450
448
  extra: IStringKeyRecord<string>;
451
449
  }
452
450
  export declare enum EOrderLineStatus {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orderingstack/ordering-types",
3
- "version": "1.11.2",
3
+ "version": "1.11.3",
4
4
  "description": "Typescript types for @orderingstack",
5
5
  "types": "dist/esm/index.d.ts",
6
6
  "main": "dist/cjs/index.js",