@automateinc/fleet-types 1.0.74 → 1.0.75-dev.7a90339

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.
@@ -128,6 +128,7 @@ export * from "./payment-cycle-document";
128
128
  export * from "./payroll-config";
129
129
  export * from "./permission";
130
130
  export * from "./permission-group";
131
+ export * from "./phone-admin";
131
132
  export * from "./phone-line";
132
133
  export * from "./phone-line-commitment";
133
134
  export * from "./phone-line-contract";
@@ -0,0 +1,70 @@
1
+ export interface IPhoneAdminAssignedQueue {
2
+ id: string;
3
+ key: string;
4
+ name: string;
5
+ }
6
+
7
+ export interface IPhoneAdminAgent {
8
+ id: string;
9
+ orgId: string;
10
+ orgName?: string | null;
11
+ name: string;
12
+ role: "agent" | "user";
13
+ extension: string;
14
+ queueId: string | null;
15
+ queueKey?: string | null;
16
+ queueName?: string | null;
17
+ assignedQueueIds: string[];
18
+ assignedQueues: IPhoneAdminAssignedQueue[];
19
+ sipProfileId: string | null;
20
+ sipProfileName?: string | null;
21
+ metadata?: Record<string, string | undefined>;
22
+ localEntityId?: string;
23
+ syncStatus?: string | null;
24
+ syncError?: string | null;
25
+ syncedAt?: string | null;
26
+ createdAt: string;
27
+ }
28
+
29
+ export interface IPhoneAdminQueue {
30
+ id: string;
31
+ orgId: string;
32
+ key: string;
33
+ name: string;
34
+ sipProfileId: string | null;
35
+ onCallFile: string;
36
+ onCallLoopFile: string;
37
+ onAnswerFile: string;
38
+ onHoldFile: string;
39
+ onTransferFile: string;
40
+ onRejectFile: string;
41
+ onNoAnswerFile: string;
42
+ onEndFile: string;
43
+ localQueueId?: string;
44
+ zoneId?: string;
45
+ employeeGroupId?: string;
46
+ syncStatus?: string | null;
47
+ syncError?: string | null;
48
+ syncedAt?: string | null;
49
+ createdAt: string;
50
+ }
51
+
52
+ export interface IPhoneAdminSummary {
53
+ agentCount: number;
54
+ userCount: number;
55
+ queueCount: number;
56
+ defaultQueueId: string | null;
57
+ phoneConfigured: boolean;
58
+ resolveAgentUrlConfigured: boolean;
59
+ reconcileActionsEnabled?: boolean;
60
+ syncedAgentCount?: number;
61
+ syncedUserCount?: number;
62
+ syncedQueueCount?: number;
63
+ }
64
+
65
+ export interface IPhoneAdminSnapshot {
66
+ agents: IPhoneAdminAgent[];
67
+ users: IPhoneAdminAgent[];
68
+ queues: IPhoneAdminQueue[];
69
+ summary: IPhoneAdminSummary;
70
+ }
package/package.json CHANGED
@@ -52,5 +52,5 @@
52
52
  "test": "echo \"Error: no test specified\" && exit 1"
53
53
  },
54
54
  "types": "dist/types/index.d.ts",
55
- "version": "1.0.74"
55
+ "version": "1.0.75-dev.7a90339"
56
56
  }