@automateinc/fleet-types 1.0.75-dev.94ee317 → 1.0.75-dev.c511007

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.
@@ -4,6 +4,38 @@ export interface IPhoneAdminAssignedQueue {
4
4
  name: string;
5
5
  }
6
6
 
7
+ export interface IPhoneAdminQueueWorkingHoursDay {
8
+ enabled: boolean;
9
+ startTime: string;
10
+ endTime: string;
11
+ }
12
+
13
+ export interface IPhoneAdminQueueWorkingHours {
14
+ monday: IPhoneAdminQueueWorkingHoursDay;
15
+ tuesday: IPhoneAdminQueueWorkingHoursDay;
16
+ wednesday: IPhoneAdminQueueWorkingHoursDay;
17
+ thursday: IPhoneAdminQueueWorkingHoursDay;
18
+ friday: IPhoneAdminQueueWorkingHoursDay;
19
+ saturday: IPhoneAdminQueueWorkingHoursDay;
20
+ sunday: IPhoneAdminQueueWorkingHoursDay;
21
+ }
22
+
23
+ export interface IPhoneAdminPromptFields {
24
+ onGreetingBusinessHoursFile: string;
25
+ onGreetingAfterHoursFile: string;
26
+ onQueueEntryFile: string;
27
+ onHoldLoopFile: string;
28
+ onQueueMessagePeriodicFile: string;
29
+ onQueuePositionFile: string;
30
+ onConnectingFile: string;
31
+ onTransferFile: string;
32
+ onRingbackFile: string;
33
+ onBusyUnavailableFile: string;
34
+ onNoAnswerFile: string;
35
+ onAnnouncementFile: string;
36
+ onGoodbyeEndCallFile: string;
37
+ }
38
+
7
39
  export interface IPhoneAdminAgent {
8
40
  id: string;
9
41
  orgId: string;
@@ -19,26 +51,38 @@ export interface IPhoneAdminAgent {
19
51
  sipProfileId: string | null;
20
52
  sipProfileName?: string | null;
21
53
  metadata?: Record<string, string | undefined>;
54
+ localEntityId?: string;
55
+ syncStatus?: string | null;
56
+ syncError?: string | null;
57
+ syncedAt?: string | null;
22
58
  createdAt: string;
23
59
  }
24
60
 
25
- export interface IPhoneAdminQueue {
61
+ export interface IPhoneAdminQueue extends IPhoneAdminPromptFields {
26
62
  id: string;
27
63
  orgId: string;
28
64
  key: string;
29
65
  name: string;
30
66
  sipProfileId: string | null;
31
- onCallFile: string;
32
- onCallLoopFile: string;
33
- onAnswerFile: string;
34
- onHoldFile: string;
35
- onTransferFile: string;
36
- onRejectFile: string;
37
- onNoAnswerFile: string;
38
- onEndFile: string;
67
+ noAnswerTimeoutSeconds: number;
68
+ workingHoursEnabled: boolean;
69
+ workingHoursTimezone: string;
70
+ workingHours: IPhoneAdminQueueWorkingHours;
71
+ localQueueId?: string;
72
+ zoneId?: string;
73
+ employeeGroupId?: string;
74
+ syncStatus?: string | null;
75
+ syncError?: string | null;
76
+ syncedAt?: string | null;
39
77
  createdAt: string;
40
78
  }
41
79
 
80
+ export interface IPhoneAdminSystemConfig extends IPhoneAdminPromptFields {
81
+ id: string;
82
+ orgId: string;
83
+ updatedAt: string;
84
+ }
85
+
42
86
  export interface IPhoneAdminSummary {
43
87
  agentCount: number;
44
88
  userCount: number;
@@ -46,11 +90,18 @@ export interface IPhoneAdminSummary {
46
90
  defaultQueueId: string | null;
47
91
  phoneConfigured: boolean;
48
92
  resolveAgentUrlConfigured: boolean;
93
+ reconcileActionsEnabled?: boolean;
94
+ syncedAgentCount?: number;
95
+ syncedUserCount?: number;
96
+ syncedQueueCount?: number;
49
97
  }
50
98
 
51
99
  export interface IPhoneAdminSnapshot {
52
100
  agents: IPhoneAdminAgent[];
53
101
  users: IPhoneAdminAgent[];
54
102
  queues: IPhoneAdminQueue[];
103
+ sipProfiles?: unknown[];
104
+ promptAudio?: unknown[];
105
+ systemConfig?: IPhoneAdminSystemConfig | null;
55
106
  summary: IPhoneAdminSummary;
56
107
  }
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.75-dev.94ee317"
55
+ "version": "1.0.75-dev.c511007"
56
56
  }