@captureid/datatypes 1.0.48 → 1.0.50

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
@@ -95,7 +95,9 @@ export declare enum DataType {
95
95
  TENANT = 93,
96
96
  PAYMENTTERMINALSHORT = 94,
97
97
  STOREINFORMATION = 95,
98
- POSTERMINAL = 96
98
+ POSTERMINAL = 96,
99
+ MANAGEMENT = 97,
100
+ ADDRESSTYPE = 98
99
101
  }
100
102
  export declare enum BookingType {
101
103
  UNKNOWN = 0,
@@ -214,6 +216,15 @@ export declare namespace ModuleType {
214
216
  function valueOf(str: string): number;
215
217
  function values(): any[];
216
218
  }
219
+ export declare enum RTStateEventType {
220
+ EVENT_UNKNOWN = 0,
221
+ EVENT_STORE = 1,
222
+ EVENT_USER = 2
223
+ }
224
+ export declare namespace RTStateEventType {
225
+ function valueOf(str: string): number;
226
+ function values(): any[];
227
+ }
217
228
  export declare enum RegistrationState {
218
229
  UNKNOWN = 0,
219
230
  REQUESTED = 1,
@@ -32,3 +32,9 @@ export interface AddressObject extends DataObject {
32
32
  export declare class AddressObject extends DataObject implements AddressObject {
33
33
  constructor(data: Address[]);
34
34
  }
35
+ export interface AddressTypeObject extends DataObject {
36
+ data: AddressType[];
37
+ }
38
+ export declare class AddressTypeObject extends DataObject implements AddressTypeObject {
39
+ constructor(data: AddressType[]);
40
+ }
@@ -0,0 +1,18 @@
1
+ import { DataObject } from "../data-object";
2
+ export interface Management {
3
+ id: string;
4
+ tenantid: string;
5
+ companyid: string;
6
+ userid: string;
7
+ roleid: string;
8
+ storeid: string;
9
+ }
10
+ export declare class Management implements Management {
11
+ constructor(id?: string, tenantid?: string, companyid?: string, userid?: string, roleid?: string, storeid?: string);
12
+ }
13
+ export interface ManagementObject extends DataObject {
14
+ data: Management[];
15
+ }
16
+ export declare class ManagementObject extends DataObject implements ManagementObject {
17
+ constructor(data: Management[]);
18
+ }
@@ -1,8 +1,15 @@
1
+ import { RTStateEventType, Status } from "../../enums";
1
2
  import { Company } from "../common/company-object";
2
3
  import { Store } from "../common/store-object";
3
4
  import { Tenant } from "../common/tenant-object";
4
5
  import { User } from "../common/user-object";
6
+ import { DataDto } from "../data-dto";
5
7
  import { DataObject } from "../data-object";
8
+ export interface RTStateEvent {
9
+ eventtype: RTStateEventType;
10
+ status: Status;
11
+ data: DataDto;
12
+ }
6
13
  export interface RTStateTopic {
7
14
  id: string;
8
15
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@captureid/datatypes",
3
- "version": "1.0.48",
3
+ "version": "1.0.50",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=17.0.0",
6
6
  "@angular/core": ">=17.0.0"
package/public-api.d.ts CHANGED
@@ -22,6 +22,7 @@ export * from './lib/model/common/client-object';
22
22
  export * from './lib/model/common/currency-object';
23
23
  export * from './lib/model/common/country-object';
24
24
  export * from './lib/model/common/image-object';
25
+ export * from './lib/model/common/management-object';
25
26
  export * from './lib/model/common/taxes';
26
27
  export * from './lib/model/common/module-object';
27
28
  export * from './lib/model/common/location-object';