@orderingstack/ordering-types 1.28.2 → 1.29.1

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.
@@ -630,7 +630,7 @@ export interface IVenueConfig {
630
630
  };
631
631
  }
632
632
  export interface IFiscalEntry {
633
- discount: string;
633
+ discount?: string;
634
634
  item: string;
635
635
  price: string;
636
636
  qty: string;
@@ -746,3 +746,24 @@ export interface IModuleCommonConfig {
746
746
  };
747
747
  }
748
748
  export type ISODateTimeString = `${number}-${number}-${number}T${number}:${number}:${number}Z`;
749
+ export interface IUserData {
750
+ active: boolean;
751
+ authStrategies: any[];
752
+ consents?: {
753
+ TERMS_AND_CONDITIONS?: ISODateTimeString | undefined;
754
+ COMMUNICATION_EMAIL?: ISODateTimeString | undefined;
755
+ COMMUNICATION_EMAIL_MARKETING?: ISODateTimeString | undefined;
756
+ } & Record<string, ISODateTimeString | undefined>;
757
+ failedAttempts: number;
758
+ firstName?: string;
759
+ id?: string;
760
+ lastName?: string;
761
+ login: string;
762
+ mfa?: boolean;
763
+ phone?: string;
764
+ properties: any;
765
+ pushId?: string;
766
+ roles: any[];
767
+ trusted?: boolean;
768
+ UUID: string;
769
+ }
@@ -630,7 +630,7 @@ export interface IVenueConfig {
630
630
  };
631
631
  }
632
632
  export interface IFiscalEntry {
633
- discount: string;
633
+ discount?: string;
634
634
  item: string;
635
635
  price: string;
636
636
  qty: string;
@@ -746,3 +746,24 @@ export interface IModuleCommonConfig {
746
746
  };
747
747
  }
748
748
  export type ISODateTimeString = `${number}-${number}-${number}T${number}:${number}:${number}Z`;
749
+ export interface IUserData {
750
+ active: boolean;
751
+ authStrategies: any[];
752
+ consents?: {
753
+ TERMS_AND_CONDITIONS?: ISODateTimeString | undefined;
754
+ COMMUNICATION_EMAIL?: ISODateTimeString | undefined;
755
+ COMMUNICATION_EMAIL_MARKETING?: ISODateTimeString | undefined;
756
+ } & Record<string, ISODateTimeString | undefined>;
757
+ failedAttempts: number;
758
+ firstName?: string;
759
+ id?: string;
760
+ lastName?: string;
761
+ login: string;
762
+ mfa?: boolean;
763
+ phone?: string;
764
+ properties: any;
765
+ pushId?: string;
766
+ roles: any[];
767
+ trusted?: boolean;
768
+ UUID: string;
769
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orderingstack/ordering-types",
3
- "version": "1.28.2",
3
+ "version": "1.29.1",
4
4
  "description": "Typescript types for @orderingstack",
5
5
  "types": "dist/esm/index.d.ts",
6
6
  "main": "dist/cjs/index.js",