@trii/types 2.10.360 → 2.10.362

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.
@@ -89,6 +89,7 @@ export interface ackLog {
89
89
  ack: MessageAck;
90
90
  timestamp: Date;
91
91
  errorMessage: string;
92
+ userId?: string;
92
93
  }
93
94
  export declare enum MessageType {
94
95
  CHAT = 1,
@@ -0,0 +1,12 @@
1
+ export interface ApiKey {
2
+ id: string;
3
+ spaceId: string;
4
+ name: string;
5
+ privileges: ApiPrivilege;
6
+ createdBy: Date;
7
+ createdAt: Date;
8
+ }
9
+ export interface ApiPrivilege {
10
+ Messages: boolean;
11
+ Contacts: boolean;
12
+ }
@@ -0,0 +1 @@
1
+ export {};
package/dist/index.d.ts CHANGED
@@ -11,3 +11,4 @@ export * as Tickets from './Tickets/index';
11
11
  export * as Users from './Users/index';
12
12
  export * as ApiResponses from './ApiResponses/index';
13
13
  export * as EventsQueue from './Common/EventsQueue/index';
14
+ export * as APIKeys from './PublicAPI/apiKey';
package/dist/index.js CHANGED
@@ -24,3 +24,5 @@ import * as ApiResponses_1 from './ApiResponses/index';
24
24
  export { ApiResponses_1 as ApiResponses };
25
25
  import * as EventsQueue_1 from './Common/EventsQueue/index';
26
26
  export { EventsQueue_1 as EventsQueue };
27
+ import * as APIKeys_1 from './PublicAPI/apiKey';
28
+ export { APIKeys_1 as APIKeys };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trii/types",
3
- "version": "2.10.360",
3
+ "version": "2.10.362",
4
4
  "description": "Types definitions for Trii projects - ",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",