@captureid/datatypes 1.0.48 → 1.0.49

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
@@ -214,6 +214,15 @@ export declare namespace ModuleType {
214
214
  function valueOf(str: string): number;
215
215
  function values(): any[];
216
216
  }
217
+ export declare enum RTStateEventType {
218
+ EVENT_UNKNOWN = 0,
219
+ EVENT_STORE = 1,
220
+ EVENT_USER = 2
221
+ }
222
+ export declare namespace RTStateEventType {
223
+ function valueOf(str: string): number;
224
+ function values(): any[];
225
+ }
217
226
  export declare enum RegistrationState {
218
227
  UNKNOWN = 0,
219
228
  REQUESTED = 1,
@@ -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.49",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=17.0.0",
6
6
  "@angular/core": ">=17.0.0"