@automateinc/fleet-types 1.0.88-dev.c7298c7 → 1.0.89-dev.128f555
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/.github/workflows/publish.yml +2 -3
- package/.nvmrc +1 -0
- package/dist/types/client-request-category-field.d.ts +2 -25
- package/dist/types/client-request-field-visibility-rule.d.ts +25 -0
- package/dist/types/index.d.ts +87 -16
- package/dist/types/phone-admin-agent.d.ts +23 -0
- package/dist/types/phone-admin-assigned-queue.d.ts +5 -0
- package/dist/types/phone-admin-prompt-fields.d.ts +15 -0
- package/dist/types/phone-admin-queue-working-hours-day.d.ts +5 -0
- package/dist/types/phone-admin-queue-working-hours.d.ts +11 -0
- package/dist/types/phone-admin-queue.d.ts +21 -0
- package/dist/types/phone-admin-snapshot.d.ts +14 -0
- package/dist/types/phone-admin-summary.d.ts +12 -0
- package/dist/types/phone-admin-system-config.d.ts +7 -0
- package/dist/types/structured-content-collapse-node.d.ts +10 -0
- package/dist/types/structured-content-date-range-filter-constraints.d.ts +8 -0
- package/dist/types/structured-content-date-range-filter-initial-value.d.ts +4 -0
- package/dist/types/structured-content-default-avatar-node.d.ts +8 -0
- package/dist/types/structured-content-default-avatar-value.d.ts +5 -0
- package/dist/types/structured-content-link-node.d.ts +9 -0
- package/dist/types/structured-content-link-value.d.ts +5 -0
- package/dist/types/structured-content-node-base.d.ts +7 -0
- package/dist/types/structured-content-node-layout.d.ts +14 -0
- package/dist/types/structured-content-root.d.ts +15 -0
- package/dist/types/structured-content-space-node.d.ts +7 -0
- package/dist/types/structured-content-table-boolean-column.d.ts +7 -0
- package/dist/types/structured-content-table-column-base.d.ts +6 -0
- package/dist/types/structured-content-table-column-sort-config.d.ts +8 -0
- package/dist/types/structured-content-table-date-column.d.ts +7 -0
- package/dist/types/structured-content-table-date-range-filter.d.ts +11 -0
- package/dist/types/structured-content-table-date-time-column.d.ts +7 -0
- package/dist/types/structured-content-table-default-avatar-column.d.ts +8 -0
- package/dist/types/structured-content-table-link-column.d.ts +7 -0
- package/dist/types/structured-content-table-named-column-base.d.ts +5 -0
- package/dist/types/structured-content-table-node.d.ts +13 -0
- package/dist/types/structured-content-table-number-column.d.ts +7 -0
- package/dist/types/structured-content-table-pagination.d.ts +3 -0
- package/dist/types/structured-content-table-select-filter.d.ts +8 -0
- package/dist/types/structured-content-table-tag-column.d.ts +7 -0
- package/dist/types/structured-content-table-text-column.d.ts +7 -0
- package/dist/types/structured-content-table-time-column.d.ts +7 -0
- package/dist/types/structured-content-table-toolbar-filter-base.d.ts +3 -0
- package/dist/types/structured-content-table-toolbar.d.ts +8 -0
- package/dist/types/structured-content-tag-node.d.ts +9 -0
- package/dist/types/structured-content-tag-value.d.ts +7 -0
- package/dist/types/structured-content-text-node.d.ts +9 -0
- package/dist/types/structured-content.d.ts +21 -205
- package/dist/types/todo-activity.d.ts +4 -2
- package/dist/types/todo-assignee.d.ts +8 -0
- package/dist/types/todo-checklist-item.d.ts +11 -0
- package/dist/types/todo-checklist.d.ts +10 -0
- package/dist/types/todo-comment-reaction.d.ts +7 -0
- package/dist/types/todo-comment.d.ts +2 -15
- package/dist/types/todo-custom-field-option.d.ts +5 -0
- package/dist/types/todo-custom-field-type.d.ts +26 -0
- package/dist/types/todo-custom-field-value.d.ts +11 -0
- package/dist/types/todo-custom-field.d.ts +9 -28
- package/dist/types/todo-dashboard-widget-type.d.ts +12 -0
- package/dist/types/todo-dashboard-widget.d.ts +17 -0
- package/dist/types/todo-dashboard.d.ts +12 -0
- package/dist/types/todo-dependency-type.d.ts +1 -0
- package/dist/types/todo-dependency.d.ts +10 -0
- package/dist/types/todo-doc.d.ts +17 -0
- package/dist/types/todo-document.d.ts +1 -1
- package/dist/types/todo-folder.d.ts +3 -55
- package/dist/types/todo-json-object.d.ts +5 -0
- package/dist/types/todo-json-value.d.ts +4 -0
- package/dist/types/todo-list-field-config.d.ts +11 -0
- package/dist/types/todo-list-field-entry.d.ts +13 -0
- package/dist/types/todo-list-item.d.ts +8 -0
- package/dist/types/todo-list-member.d.ts +11 -0
- package/dist/types/todo-list.d.ts +3 -1
- package/dist/types/todo-people-field-options.d.ts +4 -0
- package/dist/types/todo-priority.d.ts +1 -0
- package/dist/types/todo-recurrence-settings.d.ts +7 -0
- package/dist/types/todo-space-member-role.d.ts +1 -0
- package/dist/types/todo-space-member.d.ts +11 -0
- package/dist/types/todo-space-visibility.d.ts +1 -0
- package/dist/types/todo-space.d.ts +5 -20
- package/dist/types/todo-status.d.ts +4 -2
- package/dist/types/todo-system-field.d.ts +7 -0
- package/dist/types/todo-tag-assignment.d.ts +6 -0
- package/dist/types/todo-tag.d.ts +2 -1
- package/dist/types/todo-time-entry.d.ts +12 -0
- package/dist/types/todo-view-type.d.ts +1 -0
- package/dist/types/todo-view.d.ts +10 -72
- package/dist/types/todo-watcher.d.ts +6 -0
- package/dist/types/todo.d.ts +11 -78
- package/package.json +2 -2
- package/dist/types/phone-admin.d.ts +0 -107
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { TodoSpaceMemberRole } from "./todo-space-member-role";
|
|
2
|
+
|
|
3
|
+
export interface ITodoListMember {
|
|
4
|
+
id: string;
|
|
5
|
+
createdAt: string;
|
|
6
|
+
updatedAt?: string;
|
|
7
|
+
listId: string;
|
|
8
|
+
userId: string;
|
|
9
|
+
role: TodoSpaceMemberRole;
|
|
10
|
+
metadata?: Record<string, unknown>;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type TodoPriority = "URGENT" | "HIGH" | "NORMAL" | "LOW";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type TodoSpaceMemberRole = "OWNER" | "ADMIN" | "EDITOR" | "VIEWER";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { TodoSpaceMemberRole } from "./todo-space-member-role";
|
|
2
|
+
|
|
3
|
+
export interface ITodoSpaceMember {
|
|
4
|
+
id: string;
|
|
5
|
+
createdAt: string;
|
|
6
|
+
updatedAt?: string;
|
|
7
|
+
spaceId: string;
|
|
8
|
+
userId: string;
|
|
9
|
+
role: TodoSpaceMemberRole;
|
|
10
|
+
metadata?: Record<string, unknown>;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type TodoSpaceVisibility = "PUBLIC" | "PRIVATE";
|
|
@@ -1,31 +1,16 @@
|
|
|
1
|
+
import type { TodoSpaceVisibility } from "./todo-space-visibility";
|
|
2
|
+
|
|
1
3
|
export interface ITodoSpace {
|
|
2
4
|
id: string;
|
|
3
5
|
createdAt: string;
|
|
4
6
|
updatedAt?: string;
|
|
5
7
|
deletedAt?: string;
|
|
6
|
-
|
|
7
8
|
name: string;
|
|
8
9
|
icon?: string;
|
|
9
10
|
color?: string;
|
|
10
|
-
|
|
11
11
|
regionId: string;
|
|
12
|
-
|
|
12
|
+
visibility: TodoSpaceVisibility;
|
|
13
13
|
sortOrder: number;
|
|
14
|
-
|
|
15
|
-
metadata?:
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export interface ITodoSpaceMember {
|
|
19
|
-
id: string;
|
|
20
|
-
createdAt: string;
|
|
21
|
-
updatedAt?: string;
|
|
22
|
-
|
|
23
|
-
spaceId: string;
|
|
24
|
-
userId: string;
|
|
25
|
-
|
|
26
|
-
role: TodoSpaceMemberRole;
|
|
27
|
-
|
|
28
|
-
metadata?: any;
|
|
14
|
+
version: number;
|
|
15
|
+
metadata?: Record<string, unknown>;
|
|
29
16
|
}
|
|
30
|
-
|
|
31
|
-
export type TodoSpaceMemberRole = "OWNER" | "ADMIN" | "MEMBER" | "VIEWER";
|
|
@@ -8,12 +8,14 @@ export interface ITodoStatus {
|
|
|
8
8
|
color: string;
|
|
9
9
|
type: TodoStatusType;
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
listId: string;
|
|
12
12
|
|
|
13
13
|
sortOrder: number;
|
|
14
14
|
isDefault: boolean;
|
|
15
|
+
isCompletedStatus: boolean;
|
|
16
|
+
version: number;
|
|
15
17
|
|
|
16
|
-
metadata?:
|
|
18
|
+
metadata?: Record<string, unknown>;
|
|
17
19
|
}
|
|
18
20
|
|
|
19
21
|
export type TodoStatusType = "OPEN" | "IN_PROGRESS" | "DONE" | "CLOSED" | "CUSTOM";
|
package/dist/types/todo-tag.d.ts
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface ITodoTimeEntry {
|
|
2
|
+
id: string;
|
|
3
|
+
createdAt: string;
|
|
4
|
+
updatedAt?: string;
|
|
5
|
+
todoId: string;
|
|
6
|
+
userId: string;
|
|
7
|
+
startedAt: string;
|
|
8
|
+
stoppedAt?: string;
|
|
9
|
+
duration?: number;
|
|
10
|
+
description?: string;
|
|
11
|
+
metadata?: Record<string, unknown>;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type TodoViewType = "LIST" | "BOARD" | "GANTT" | "TIMELINE" | "TABLE" | "CALENDAR";
|
|
@@ -1,87 +1,25 @@
|
|
|
1
|
+
import type { TodoJsonValue } from "./todo-json-value";
|
|
2
|
+
import type { TodoViewType } from "./todo-view-type";
|
|
3
|
+
|
|
1
4
|
export interface ITodoView {
|
|
2
5
|
id: string;
|
|
3
6
|
createdAt: string;
|
|
4
7
|
updatedAt?: string;
|
|
5
8
|
deletedAt?: string;
|
|
6
|
-
|
|
7
9
|
name: string;
|
|
8
10
|
type: TodoViewType;
|
|
9
|
-
|
|
10
11
|
spaceId: string;
|
|
11
12
|
listId?: string;
|
|
12
|
-
|
|
13
13
|
createdById: string;
|
|
14
|
-
|
|
15
14
|
isShared: boolean;
|
|
16
15
|
isDefault: boolean;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
sortConfig?: any;
|
|
16
|
+
filters?: TodoJsonValue;
|
|
17
|
+
sortConfig?: TodoJsonValue;
|
|
20
18
|
groupBy?: string;
|
|
21
|
-
columnConfig?:
|
|
22
|
-
viewConfig?:
|
|
23
|
-
|
|
19
|
+
columnConfig?: TodoJsonValue;
|
|
20
|
+
viewConfig?: TodoJsonValue;
|
|
24
21
|
sortOrder: number;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
export type TodoViewType = "LIST" | "BOARD" | "GANTT" | "TIMELINE" | "TABLE" | "CALENDAR";
|
|
30
|
-
|
|
31
|
-
export interface ITodoDashboard {
|
|
32
|
-
id: string;
|
|
33
|
-
createdAt: string;
|
|
34
|
-
updatedAt?: string;
|
|
35
|
-
|
|
36
|
-
spaceId: string;
|
|
37
|
-
listId?: string;
|
|
38
|
-
|
|
39
|
-
config: any;
|
|
40
|
-
|
|
41
|
-
widgets?: ITodoDashboardWidget[];
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export interface ITodoDashboardWidget {
|
|
45
|
-
id: string;
|
|
46
|
-
createdAt: string;
|
|
47
|
-
updatedAt?: string;
|
|
48
|
-
|
|
49
|
-
dashboardId: string;
|
|
50
|
-
type: TodoDashboardWidgetType;
|
|
51
|
-
config: any;
|
|
52
|
-
|
|
53
|
-
x: number;
|
|
54
|
-
y: number;
|
|
55
|
-
w: number;
|
|
56
|
-
h: number;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export type TodoDashboardWidgetType =
|
|
60
|
-
| "STATUS_BREAKDOWN"
|
|
61
|
-
| "PRIORITY_BREAKDOWN"
|
|
62
|
-
| "ASSIGNEE_WORKLOAD"
|
|
63
|
-
| "DUE_DATE_CALENDAR"
|
|
64
|
-
| "RECENT_ACTIVITY"
|
|
65
|
-
| "COMPLETION_TREND"
|
|
66
|
-
| "OVERDUE_TODOS"
|
|
67
|
-
| "BURNDOWN_CHART"
|
|
68
|
-
| "TAG_DISTRIBUTION"
|
|
69
|
-
| "VELOCITY"
|
|
70
|
-
| "STATS_CARD";
|
|
71
|
-
|
|
72
|
-
export interface ITodoTimeEntry {
|
|
73
|
-
id: string;
|
|
74
|
-
createdAt: string;
|
|
75
|
-
updatedAt?: string;
|
|
76
|
-
|
|
77
|
-
todoId: string;
|
|
78
|
-
userId: string;
|
|
79
|
-
|
|
80
|
-
startedAt: string;
|
|
81
|
-
stoppedAt?: string;
|
|
82
|
-
duration?: number;
|
|
83
|
-
|
|
84
|
-
description?: string;
|
|
85
|
-
|
|
86
|
-
metadata?: any;
|
|
22
|
+
version: number;
|
|
23
|
+
configVersion: number;
|
|
24
|
+
metadata?: Record<string, unknown>;
|
|
87
25
|
}
|
package/dist/types/todo.d.ts
CHANGED
|
@@ -1,97 +1,30 @@
|
|
|
1
|
+
import type { TodoPriority } from "./todo-priority";
|
|
2
|
+
import type { TodoRecurrenceSettings } from "./todo-recurrence-settings";
|
|
3
|
+
|
|
1
4
|
export interface ITodo {
|
|
2
5
|
id: string;
|
|
3
6
|
createdAt: string;
|
|
4
7
|
updatedAt?: string;
|
|
5
8
|
deletedAt?: string;
|
|
6
|
-
|
|
9
|
+
version: number;
|
|
7
10
|
title: string;
|
|
8
11
|
description?: string;
|
|
9
|
-
|
|
10
12
|
statusId: string;
|
|
11
13
|
priority: TodoPriority;
|
|
12
|
-
|
|
13
14
|
listId: string;
|
|
14
15
|
spaceId: string;
|
|
15
|
-
|
|
16
16
|
createdById: string;
|
|
17
|
-
|
|
17
|
+
closedById?: string;
|
|
18
18
|
startDate?: string;
|
|
19
19
|
dueDate?: string;
|
|
20
20
|
completedAt?: string;
|
|
21
|
-
|
|
21
|
+
closedAt?: string;
|
|
22
22
|
sortOrder: number;
|
|
23
|
-
|
|
24
23
|
parentId?: string;
|
|
25
|
-
|
|
26
24
|
estimatedHours?: number;
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
sprintPoints?: number;
|
|
26
|
+
timeEstimate?: number;
|
|
27
|
+
recurringSettings?: TodoRecurrenceSettings;
|
|
28
|
+
taskType?: string;
|
|
29
|
+
metadata?: Record<string, unknown>;
|
|
29
30
|
}
|
|
30
|
-
|
|
31
|
-
export interface ITodoAssignee {
|
|
32
|
-
id: string;
|
|
33
|
-
createdAt: string;
|
|
34
|
-
|
|
35
|
-
todoId: string;
|
|
36
|
-
userId?: string;
|
|
37
|
-
employeeId?: string;
|
|
38
|
-
|
|
39
|
-
metadata?: any;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export interface ITodoWatcher {
|
|
43
|
-
id: string;
|
|
44
|
-
createdAt: string;
|
|
45
|
-
|
|
46
|
-
todoId: string;
|
|
47
|
-
userId: string;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export interface ITodoDependency {
|
|
51
|
-
id: string;
|
|
52
|
-
createdAt: string;
|
|
53
|
-
|
|
54
|
-
todoId: string;
|
|
55
|
-
dependsOnId: string;
|
|
56
|
-
|
|
57
|
-
type: TodoDependencyType;
|
|
58
|
-
|
|
59
|
-
createdById: string;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
export interface ITodoCustomFieldValue {
|
|
63
|
-
id: string;
|
|
64
|
-
createdAt: string;
|
|
65
|
-
updatedAt?: string;
|
|
66
|
-
|
|
67
|
-
todoId: string;
|
|
68
|
-
fieldId: string;
|
|
69
|
-
|
|
70
|
-
value: any;
|
|
71
|
-
|
|
72
|
-
metadata?: any;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
export interface ITodoListItem {
|
|
76
|
-
id: string;
|
|
77
|
-
createdAt: string;
|
|
78
|
-
|
|
79
|
-
todoId: string;
|
|
80
|
-
listId: string;
|
|
81
|
-
|
|
82
|
-
addedById: string;
|
|
83
|
-
|
|
84
|
-
sortOrder: number;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
export interface ITodoTagAssignment {
|
|
88
|
-
id: string;
|
|
89
|
-
createdAt: string;
|
|
90
|
-
|
|
91
|
-
todoId: string;
|
|
92
|
-
tagId: string;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
export type TodoPriority = "URGENT" | "HIGH" | "NORMAL" | "LOW";
|
|
96
|
-
|
|
97
|
-
export type TodoDependencyType = "FINISH_TO_START" | "START_TO_START" | "FINISH_TO_FINISH" | "START_TO_FINISH";
|
package/package.json
CHANGED
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"private": false,
|
|
45
45
|
"repository": {
|
|
46
46
|
"type": "git",
|
|
47
|
-
"url": "
|
|
47
|
+
"url": "https://github.com/automateinc/fleet-types"
|
|
48
48
|
},
|
|
49
49
|
"scripts": {
|
|
50
50
|
"build": "tsc && cp -R src/types dist/",
|
|
@@ -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.
|
|
55
|
+
"version": "1.0.89-dev.128f555"
|
|
56
56
|
}
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
export interface IPhoneAdminAssignedQueue {
|
|
2
|
-
id: string;
|
|
3
|
-
key: string;
|
|
4
|
-
name: string;
|
|
5
|
-
}
|
|
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
|
-
|
|
39
|
-
export interface IPhoneAdminAgent {
|
|
40
|
-
id: string;
|
|
41
|
-
orgId: string;
|
|
42
|
-
orgName?: string | null;
|
|
43
|
-
name: string;
|
|
44
|
-
role: "agent" | "user";
|
|
45
|
-
extension: string;
|
|
46
|
-
queueId: string | null;
|
|
47
|
-
queueKey?: string | null;
|
|
48
|
-
queueName?: string | null;
|
|
49
|
-
assignedQueueIds: string[];
|
|
50
|
-
assignedQueues: IPhoneAdminAssignedQueue[];
|
|
51
|
-
sipProfileId: string | null;
|
|
52
|
-
sipProfileName?: string | null;
|
|
53
|
-
metadata?: Record<string, string | undefined>;
|
|
54
|
-
localEntityId?: string;
|
|
55
|
-
syncStatus?: string | null;
|
|
56
|
-
syncError?: string | null;
|
|
57
|
-
syncedAt?: string | null;
|
|
58
|
-
createdAt: string;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export interface IPhoneAdminQueue extends IPhoneAdminPromptFields {
|
|
62
|
-
id: string;
|
|
63
|
-
orgId: string;
|
|
64
|
-
key: string;
|
|
65
|
-
name: string;
|
|
66
|
-
sipProfileId: string | null;
|
|
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;
|
|
77
|
-
createdAt: string;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
export interface IPhoneAdminSystemConfig extends IPhoneAdminPromptFields {
|
|
81
|
-
id: string;
|
|
82
|
-
orgId: string;
|
|
83
|
-
updatedAt: string;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
export interface IPhoneAdminSummary {
|
|
87
|
-
agentCount: number;
|
|
88
|
-
userCount: number;
|
|
89
|
-
queueCount: number;
|
|
90
|
-
defaultQueueId: string | null;
|
|
91
|
-
phoneConfigured: boolean;
|
|
92
|
-
resolveAgentUrlConfigured: boolean;
|
|
93
|
-
reconcileActionsEnabled?: boolean;
|
|
94
|
-
syncedAgentCount?: number;
|
|
95
|
-
syncedUserCount?: number;
|
|
96
|
-
syncedQueueCount?: number;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
export interface IPhoneAdminSnapshot {
|
|
100
|
-
agents: IPhoneAdminAgent[];
|
|
101
|
-
users: IPhoneAdminAgent[];
|
|
102
|
-
queues: IPhoneAdminQueue[];
|
|
103
|
-
sipProfiles?: unknown[];
|
|
104
|
-
promptAudio?: unknown[];
|
|
105
|
-
systemConfig?: IPhoneAdminSystemConfig | null;
|
|
106
|
-
summary: IPhoneAdminSummary;
|
|
107
|
-
}
|