@orderingstack/ordering-types 1.10.0 → 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
  }
@@ -374,6 +374,8 @@ interface IOrderExtra {
374
374
  "x-pos-id"?: string;
375
375
  "company-tax-id"?: string;
376
376
  "x-kiosk-id"?: string;
377
+ "x-table-number"?: string;
378
+ "x-tax-id"?: string;
377
379
  [ERbiOrderExtra.OFFERS]?: string;
378
380
  [ERbiOrderExtra.REWARDS]?: string;
379
381
  [ERbiOrderExtra.POINTS_EARNED]?: string;
@@ -440,7 +442,7 @@ export interface IOrderProduct {
440
442
  kind: EOrderProductKind;
441
443
  literals: IProductLiterals;
442
444
  items?: Array<IOrderProduct | IOrderGroupProduct>;
443
- img: string;
445
+ img?: string;
444
446
  quantity: string;
445
447
  price: string;
446
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
  }
@@ -374,6 +374,8 @@ interface IOrderExtra {
374
374
  "x-pos-id"?: string;
375
375
  "company-tax-id"?: string;
376
376
  "x-kiosk-id"?: string;
377
+ "x-table-number"?: string;
378
+ "x-tax-id"?: string;
377
379
  [ERbiOrderExtra.OFFERS]?: string;
378
380
  [ERbiOrderExtra.REWARDS]?: string;
379
381
  [ERbiOrderExtra.POINTS_EARNED]?: string;
@@ -440,7 +442,7 @@ export interface IOrderProduct {
440
442
  kind: EOrderProductKind;
441
443
  literals: IProductLiterals;
442
444
  items?: Array<IOrderProduct | IOrderGroupProduct>;
443
- img: string;
445
+ img?: string;
444
446
  quantity: string;
445
447
  price: string;
446
448
  vat: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orderingstack/ordering-types",
3
- "version": "1.10.0",
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",