@orderingstack/ordering-types 1.10.1 → 1.10.2

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.
@@ -316,12 +316,12 @@ export interface IOrderFiscal {
316
316
  slip: string;
317
317
  taxId?: string;
318
318
  message?: string;
319
- entries: ISlipEntry[];
319
+ entries?: ISlipEntry[];
320
320
  payments?: {
321
321
  [propName: string]: number;
322
322
  };
323
323
  subTotalDiscounts?: ISubTotalDiscount[];
324
- extra: {
324
+ extra?: {
325
325
  [propName: string]: number;
326
326
  };
327
327
  }
@@ -442,7 +442,7 @@ export interface IOrderProduct {
442
442
  kind: EOrderProductKind;
443
443
  literals: IProductLiterals;
444
444
  items?: Array<IOrderProduct | IOrderGroupProduct>;
445
- img: string;
445
+ img?: string;
446
446
  quantity: string;
447
447
  price: string;
448
448
  vat: string;
@@ -316,12 +316,12 @@ export interface IOrderFiscal {
316
316
  slip: string;
317
317
  taxId?: string;
318
318
  message?: string;
319
- entries: ISlipEntry[];
319
+ entries?: ISlipEntry[];
320
320
  payments?: {
321
321
  [propName: string]: number;
322
322
  };
323
323
  subTotalDiscounts?: ISubTotalDiscount[];
324
- extra: {
324
+ extra?: {
325
325
  [propName: string]: number;
326
326
  };
327
327
  }
@@ -442,7 +442,7 @@ export interface IOrderProduct {
442
442
  kind: EOrderProductKind;
443
443
  literals: IProductLiterals;
444
444
  items?: Array<IOrderProduct | IOrderGroupProduct>;
445
- img: string;
445
+ img?: string;
446
446
  quantity: string;
447
447
  price: string;
448
448
  vat: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orderingstack/ordering-types",
3
- "version": "1.10.1",
3
+ "version": "1.10.2",
4
4
  "description": "Typescript types for @orderingstack",
5
5
  "types": "dist/esm/index.d.ts",
6
6
  "main": "dist/cjs/index.js",