@captureid/datatypes 1.0.31 → 1.0.33

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.
package/lib/enums.d.ts CHANGED
@@ -91,7 +91,8 @@ export declare enum DataType {
91
91
  ADVERTISEMENT = 89,
92
92
  REALTIMESUBSCRIPTION = 90,
93
93
  STORE = 91,
94
- CALENDAR = 92
94
+ CALENDAR = 92,
95
+ TENANT = 93
95
96
  }
96
97
  export declare enum BookingType {
97
98
  UNKNOWN = 0,
@@ -0,0 +1,28 @@
1
+ import { DataObject } from "../data-object";
2
+ import { ShelfLabel } from "../esl/esl-object";
3
+ import { EmailTemplates, WebTemplates } from "./client-object";
4
+ import { Company } from "./company-object";
5
+ import { User } from "./user-object";
6
+ export interface Tenant {
7
+ id?: string;
8
+ orderid: number;
9
+ parentid: string;
10
+ children: Tenant[];
11
+ company: Company;
12
+ companies: Company[];
13
+ url: string;
14
+ theme: string;
15
+ logo: string;
16
+ webtemplates: WebTemplates[];
17
+ emailtemplates: EmailTemplates[];
18
+ shelflabels: ShelfLabel[];
19
+ users: User[];
20
+ }
21
+ export declare class Tenant implements Tenant {
22
+ }
23
+ export interface TenantObject {
24
+ data: Tenant[];
25
+ }
26
+ export declare class TenantObject extends DataObject implements TenantObject {
27
+ constructor(data: Tenant[]);
28
+ }
@@ -30,10 +30,10 @@ export interface User {
30
30
  accountNonExpired?: boolean;
31
31
  username?: string;
32
32
  enabled?: boolean;
33
- clientid?: string;
33
+ tenantid?: string;
34
34
  }
35
35
  export declare class User implements User {
36
- constructor(id?: string, use2FA?: boolean, created?: Date, regstate?: RegistrationState, creator?: string, changed?: Date, changedBy?: string, firstname?: string, lastname?: string, email?: string, role?: string, phone?: string, mobile?: string, city?: string, zipcode?: string, street?: string, no?: string, country?: string, state?: string, dateOfBirth?: string, context?: Context, avatarImg?: Image, credentialsNonExpired?: boolean, accountNonLocked?: boolean, accountNonExpired?: boolean, username?: string, enabled?: boolean, clientid?: string);
36
+ constructor(id?: string, use2FA?: boolean, created?: Date, regstate?: RegistrationState, creator?: string, changed?: Date, changedBy?: string, firstname?: string, lastname?: string, email?: string, role?: string, phone?: string, mobile?: string, city?: string, zipcode?: string, street?: string, no?: string, country?: string, state?: string, dateOfBirth?: string, context?: Context, avatarImg?: Image, credentialsNonExpired?: boolean, accountNonLocked?: boolean, accountNonExpired?: boolean, username?: string, enabled?: boolean, tenantid?: string);
37
37
  }
38
38
  export interface UserObject {
39
39
  data: User[];
@@ -1,4 +1,4 @@
1
- import { Client } from "../common/client-object";
1
+ import { Tenant } from "../common/tenant-object";
2
2
  import { Advertisement } from "./advertisement-object";
3
3
  import { DataObject } from "../data-object";
4
4
  import { Company } from "../common/company-object";
@@ -6,7 +6,7 @@ export interface Campaign {
6
6
  id?: string;
7
7
  name: string;
8
8
  description: string;
9
- client: Client;
9
+ tenant: Tenant;
10
10
  company: Company;
11
11
  promotiondate: Date;
12
12
  startdate: Date;
@@ -14,7 +14,7 @@ export interface Campaign {
14
14
  advertisements: Advertisement[];
15
15
  }
16
16
  export declare class Campaign implements Campaign {
17
- constructor(id?: string, name?: string, description?: string, client?: Client, company?: Company, promotiondate?: Date, startdate?: Date, enddate?: Date, advertisements?: Advertisement[]);
17
+ constructor(id?: string, name?: string, description?: string, tenant?: Tenant, company?: Company, promotiondate?: Date, startdate?: Date, enddate?: Date, advertisements?: Advertisement[]);
18
18
  }
19
19
  export interface CampaignObject {
20
20
  data: Campaign[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@captureid/datatypes",
3
- "version": "1.0.31",
3
+ "version": "1.0.33",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=17.0.0",
6
6
  "@angular/core": ">=17.0.0"
package/public-api.d.ts CHANGED
@@ -36,6 +36,7 @@ export * from './lib/model/common/faq-object';
36
36
  export * from './lib/model/common/farmingmethod-object';
37
37
  export * from './lib/model/common/chat-object';
38
38
  export * from './lib/model/common/ticket-object';
39
+ export * from './lib/model/common/tenant-object';
39
40
  export * from './lib/model/common/fileimport-object';
40
41
  export * from './lib/model/common/buildingaccess-object';
41
42
  export * from './lib/model/common/store-object';