@automateinc/fleet-types 1.0.89-dev.128f555 → 1.0.89-dev.32620b3
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/dist/types/client-request-category-field.d.ts +25 -2
- package/dist/types/index.d.ts +17 -86
- package/dist/types/phone-admin.d.ts +107 -0
- package/dist/types/structured-content.d.ts +205 -21
- package/dist/types/todo-activity.d.ts +1 -1
- package/dist/types/todo-comment.d.ts +14 -1
- package/dist/types/todo-custom-field.d.ts +40 -7
- package/dist/types/todo-folder.d.ts +54 -1
- package/dist/types/{todo-json-value.d.ts → todo-json.d.ts} +3 -2
- package/dist/types/todo-list-field-config.d.ts +44 -3
- package/dist/types/todo-list.d.ts +0 -1
- package/dist/types/todo-space.d.ts +33 -3
- package/dist/types/todo-status.d.ts +0 -1
- package/dist/types/todo-tag.d.ts +0 -1
- package/dist/types/todo-view.d.ts +66 -4
- package/dist/types/todo.d.ts +87 -3
- package/package.json +1 -1
- package/dist/types/client-request-field-visibility-rule.d.ts +0 -25
- package/dist/types/phone-admin-agent.d.ts +0 -23
- package/dist/types/phone-admin-assigned-queue.d.ts +0 -5
- package/dist/types/phone-admin-prompt-fields.d.ts +0 -15
- package/dist/types/phone-admin-queue-working-hours-day.d.ts +0 -5
- package/dist/types/phone-admin-queue-working-hours.d.ts +0 -11
- package/dist/types/phone-admin-queue.d.ts +0 -21
- package/dist/types/phone-admin-snapshot.d.ts +0 -14
- package/dist/types/phone-admin-summary.d.ts +0 -12
- package/dist/types/phone-admin-system-config.d.ts +0 -7
- package/dist/types/structured-content-collapse-node.d.ts +0 -10
- package/dist/types/structured-content-date-range-filter-constraints.d.ts +0 -8
- package/dist/types/structured-content-date-range-filter-initial-value.d.ts +0 -4
- package/dist/types/structured-content-default-avatar-node.d.ts +0 -8
- package/dist/types/structured-content-default-avatar-value.d.ts +0 -5
- package/dist/types/structured-content-link-node.d.ts +0 -9
- package/dist/types/structured-content-link-value.d.ts +0 -5
- package/dist/types/structured-content-node-base.d.ts +0 -7
- package/dist/types/structured-content-node-layout.d.ts +0 -14
- package/dist/types/structured-content-root.d.ts +0 -15
- package/dist/types/structured-content-space-node.d.ts +0 -7
- package/dist/types/structured-content-table-boolean-column.d.ts +0 -7
- package/dist/types/structured-content-table-column-base.d.ts +0 -6
- package/dist/types/structured-content-table-column-sort-config.d.ts +0 -8
- package/dist/types/structured-content-table-date-column.d.ts +0 -7
- package/dist/types/structured-content-table-date-range-filter.d.ts +0 -11
- package/dist/types/structured-content-table-date-time-column.d.ts +0 -7
- package/dist/types/structured-content-table-default-avatar-column.d.ts +0 -8
- package/dist/types/structured-content-table-link-column.d.ts +0 -7
- package/dist/types/structured-content-table-named-column-base.d.ts +0 -5
- package/dist/types/structured-content-table-node.d.ts +0 -13
- package/dist/types/structured-content-table-number-column.d.ts +0 -7
- package/dist/types/structured-content-table-pagination.d.ts +0 -3
- package/dist/types/structured-content-table-select-filter.d.ts +0 -8
- package/dist/types/structured-content-table-tag-column.d.ts +0 -7
- package/dist/types/structured-content-table-text-column.d.ts +0 -7
- package/dist/types/structured-content-table-time-column.d.ts +0 -7
- package/dist/types/structured-content-table-toolbar-filter-base.d.ts +0 -3
- package/dist/types/structured-content-table-toolbar.d.ts +0 -8
- package/dist/types/structured-content-tag-node.d.ts +0 -9
- package/dist/types/structured-content-tag-value.d.ts +0 -7
- package/dist/types/structured-content-text-node.d.ts +0 -9
- package/dist/types/todo-assignee.d.ts +0 -8
- package/dist/types/todo-checklist-item.d.ts +0 -11
- package/dist/types/todo-checklist.d.ts +0 -10
- package/dist/types/todo-comment-reaction.d.ts +0 -7
- package/dist/types/todo-custom-field-option.d.ts +0 -5
- package/dist/types/todo-custom-field-type.d.ts +0 -26
- package/dist/types/todo-custom-field-value.d.ts +0 -11
- package/dist/types/todo-dashboard-widget-type.d.ts +0 -12
- package/dist/types/todo-dashboard-widget.d.ts +0 -17
- package/dist/types/todo-dashboard.d.ts +0 -12
- package/dist/types/todo-dependency-type.d.ts +0 -1
- package/dist/types/todo-dependency.d.ts +0 -10
- package/dist/types/todo-doc.d.ts +0 -17
- package/dist/types/todo-json-object.d.ts +0 -5
- package/dist/types/todo-list-field-entry.d.ts +0 -13
- package/dist/types/todo-list-item.d.ts +0 -8
- package/dist/types/todo-list-member.d.ts +0 -11
- package/dist/types/todo-people-field-options.d.ts +0 -4
- package/dist/types/todo-priority.d.ts +0 -1
- package/dist/types/todo-recurrence-settings.d.ts +0 -7
- package/dist/types/todo-space-member-role.d.ts +0 -1
- package/dist/types/todo-space-member.d.ts +0 -11
- package/dist/types/todo-space-visibility.d.ts +0 -1
- package/dist/types/todo-system-field.d.ts +0 -7
- package/dist/types/todo-tag-assignment.d.ts +0 -6
- package/dist/types/todo-time-entry.d.ts +0 -12
- package/dist/types/todo-view-type.d.ts +0 -1
- package/dist/types/todo-watcher.d.ts +0 -6
|
@@ -1,14 +1,67 @@
|
|
|
1
|
+
import type { TodoJsonValue } from "./todo-json";
|
|
2
|
+
|
|
1
3
|
export interface ITodoFolder {
|
|
2
4
|
id: string;
|
|
3
5
|
createdAt: string;
|
|
4
6
|
updatedAt?: string;
|
|
5
7
|
deletedAt?: string;
|
|
8
|
+
|
|
6
9
|
name: string;
|
|
7
10
|
icon?: string;
|
|
8
11
|
color?: string;
|
|
12
|
+
|
|
9
13
|
spaceId: string;
|
|
10
14
|
parentId?: string;
|
|
15
|
+
|
|
11
16
|
sortOrder: number;
|
|
12
|
-
|
|
17
|
+
|
|
18
|
+
metadata?: Record<string, unknown>;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export interface ITodoDoc {
|
|
22
|
+
id: string;
|
|
23
|
+
createdAt: string;
|
|
24
|
+
updatedAt?: string;
|
|
25
|
+
deletedAt?: string;
|
|
26
|
+
|
|
27
|
+
title: string;
|
|
28
|
+
content?: TodoJsonValue;
|
|
29
|
+
|
|
30
|
+
spaceId: string;
|
|
31
|
+
folderId?: string;
|
|
32
|
+
|
|
33
|
+
createdById: string;
|
|
34
|
+
|
|
35
|
+
sortOrder: number;
|
|
36
|
+
|
|
37
|
+
metadata?: Record<string, unknown>;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export interface ITodoChecklist {
|
|
41
|
+
id: string;
|
|
42
|
+
createdAt: string;
|
|
43
|
+
updatedAt?: string;
|
|
44
|
+
|
|
45
|
+
name: string;
|
|
46
|
+
|
|
47
|
+
todoId: string;
|
|
48
|
+
|
|
49
|
+
sortOrder: number;
|
|
50
|
+
|
|
51
|
+
metadata?: Record<string, unknown>;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export interface ITodoChecklistItem {
|
|
55
|
+
id: string;
|
|
56
|
+
createdAt: string;
|
|
57
|
+
updatedAt?: string;
|
|
58
|
+
|
|
59
|
+
text: string;
|
|
60
|
+
isChecked: boolean;
|
|
61
|
+
|
|
62
|
+
checklistId: string;
|
|
63
|
+
|
|
64
|
+
sortOrder: number;
|
|
65
|
+
|
|
13
66
|
metadata?: Record<string, unknown>;
|
|
14
67
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { TodoJsonObject } from "./todo-json-object";
|
|
2
|
-
|
|
3
1
|
export type TodoJsonPrimitive = boolean | number | string | null;
|
|
4
2
|
export type TodoJsonValue = TodoJsonPrimitive | TodoJsonObject | TodoJsonValue[];
|
|
3
|
+
export interface TodoJsonObject {
|
|
4
|
+
[key: string]: TodoJsonValue;
|
|
5
|
+
}
|
|
@@ -1,11 +1,52 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { TodoJsonValue } from "./todo-json";
|
|
2
2
|
|
|
3
3
|
export interface ITodoListFieldConfig {
|
|
4
4
|
id: string;
|
|
5
5
|
createdAt: string;
|
|
6
6
|
updatedAt?: string;
|
|
7
|
+
|
|
7
8
|
listId: string;
|
|
9
|
+
|
|
8
10
|
fields: ITodoListFieldEntry[];
|
|
9
|
-
version: number;
|
|
10
|
-
configVersion: number;
|
|
11
11
|
}
|
|
12
|
+
|
|
13
|
+
export interface ITodoListFieldEntry {
|
|
14
|
+
key: string;
|
|
15
|
+
label: string;
|
|
16
|
+
visible: boolean; // legacy, kept for backward compat
|
|
17
|
+
enabled: boolean; // whether the field is active on this list (shows in detail modal)
|
|
18
|
+
showInList: boolean; // whether the field shows as a column in list/table row views
|
|
19
|
+
order: number;
|
|
20
|
+
type: "system" | "custom";
|
|
21
|
+
fieldId?: string; // for custom fields
|
|
22
|
+
config?: Record<string, TodoJsonValue>;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/** Default system fields available for list configuration */
|
|
26
|
+
export const SYSTEM_FIELDS: Array<{ key: string; label: string; alwaysVisible?: boolean }> = [
|
|
27
|
+
{ alwaysVisible: true, key: "title", label: "Task Name" },
|
|
28
|
+
{ key: "description", label: "Description" },
|
|
29
|
+
{ key: "statusId", label: "Status" },
|
|
30
|
+
{ key: "priority", label: "Priority" },
|
|
31
|
+
{ key: "assignees", label: "Assignees" },
|
|
32
|
+
{ key: "dueDate", label: "Due Date" },
|
|
33
|
+
{ key: "startDate", label: "Start Date" },
|
|
34
|
+
{ key: "timeEstimate", label: "Time Estimate" },
|
|
35
|
+
{ key: "timeTracked", label: "Time Tracked" },
|
|
36
|
+
{ key: "createdAt", label: "Created Date" },
|
|
37
|
+
{ key: "updatedAt", label: "Updated Date" },
|
|
38
|
+
{ key: "closedAt", label: "Closed Date" },
|
|
39
|
+
{ key: "createdBy", label: "Created By" },
|
|
40
|
+
{ key: "closedBy", label: "Closed By" },
|
|
41
|
+
{ key: "id", label: "Task ID" },
|
|
42
|
+
{ key: "taskType", label: "Task Type" },
|
|
43
|
+
{ key: "parentId", label: "Parent Task" },
|
|
44
|
+
{ key: "children", label: "Subtasks" },
|
|
45
|
+
{ key: "checklists", label: "Checklist" },
|
|
46
|
+
{ key: "tags", label: "Tags" },
|
|
47
|
+
{ key: "watchers", label: "Watchers" },
|
|
48
|
+
{ key: "dependencies", label: "Dependencies" },
|
|
49
|
+
{ key: "sprintPoints", label: "Sprint Points" },
|
|
50
|
+
{ key: "recurringSettings", label: "Recurring Settings" },
|
|
51
|
+
{ key: "estimatedHours", label: "Estimated Hours" },
|
|
52
|
+
];
|
|
@@ -1,16 +1,46 @@
|
|
|
1
|
-
import type { TodoSpaceVisibility } from "./todo-space-visibility";
|
|
2
|
-
|
|
3
1
|
export interface ITodoSpace {
|
|
4
2
|
id: string;
|
|
5
3
|
createdAt: string;
|
|
6
4
|
updatedAt?: string;
|
|
7
5
|
deletedAt?: string;
|
|
6
|
+
|
|
8
7
|
name: string;
|
|
9
8
|
icon?: string;
|
|
10
9
|
color?: string;
|
|
10
|
+
|
|
11
11
|
regionId: string;
|
|
12
12
|
visibility: TodoSpaceVisibility;
|
|
13
|
+
|
|
13
14
|
sortOrder: number;
|
|
14
|
-
|
|
15
|
+
|
|
16
|
+
metadata?: Record<string, unknown>;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export interface ITodoSpaceMember {
|
|
20
|
+
id: string;
|
|
21
|
+
createdAt: string;
|
|
22
|
+
updatedAt?: string;
|
|
23
|
+
|
|
24
|
+
spaceId: string;
|
|
25
|
+
userId: string;
|
|
26
|
+
|
|
27
|
+
role: TodoSpaceMemberRole;
|
|
28
|
+
|
|
29
|
+
metadata?: Record<string, unknown>;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export type TodoSpaceMemberRole = "OWNER" | "ADMIN" | "EDITOR" | "VIEWER";
|
|
33
|
+
export type TodoSpaceVisibility = "PUBLIC" | "PRIVATE";
|
|
34
|
+
|
|
35
|
+
export interface ITodoListMember {
|
|
36
|
+
id: string;
|
|
37
|
+
createdAt: string;
|
|
38
|
+
updatedAt?: string;
|
|
39
|
+
|
|
40
|
+
listId: string;
|
|
41
|
+
userId: string;
|
|
42
|
+
|
|
43
|
+
role: TodoSpaceMemberRole;
|
|
44
|
+
|
|
15
45
|
metadata?: Record<string, unknown>;
|
|
16
46
|
}
|
package/dist/types/todo-tag.d.ts
CHANGED
|
@@ -1,25 +1,87 @@
|
|
|
1
|
-
import type { TodoJsonValue } from "./todo-json
|
|
2
|
-
import type { TodoViewType } from "./todo-view-type";
|
|
1
|
+
import type { TodoJsonObject, TodoJsonValue } from "./todo-json";
|
|
3
2
|
|
|
4
3
|
export interface ITodoView {
|
|
5
4
|
id: string;
|
|
6
5
|
createdAt: string;
|
|
7
6
|
updatedAt?: string;
|
|
8
7
|
deletedAt?: string;
|
|
8
|
+
|
|
9
9
|
name: string;
|
|
10
10
|
type: TodoViewType;
|
|
11
|
+
|
|
11
12
|
spaceId: string;
|
|
12
13
|
listId?: string;
|
|
14
|
+
|
|
13
15
|
createdById: string;
|
|
16
|
+
|
|
14
17
|
isShared: boolean;
|
|
15
18
|
isDefault: boolean;
|
|
19
|
+
|
|
16
20
|
filters?: TodoJsonValue;
|
|
17
21
|
sortConfig?: TodoJsonValue;
|
|
18
22
|
groupBy?: string;
|
|
19
23
|
columnConfig?: TodoJsonValue;
|
|
20
24
|
viewConfig?: TodoJsonValue;
|
|
25
|
+
|
|
21
26
|
sortOrder: number;
|
|
22
|
-
|
|
23
|
-
|
|
27
|
+
|
|
28
|
+
metadata?: Record<string, unknown>;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export type TodoViewType = "LIST" | "BOARD" | "GANTT" | "TIMELINE" | "TABLE" | "CALENDAR";
|
|
32
|
+
|
|
33
|
+
export interface ITodoDashboard {
|
|
34
|
+
id: string;
|
|
35
|
+
createdAt: string;
|
|
36
|
+
updatedAt?: string;
|
|
37
|
+
|
|
38
|
+
spaceId: string;
|
|
39
|
+
listId?: string;
|
|
40
|
+
|
|
41
|
+
config: TodoJsonObject;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export interface ITodoDashboardWidget {
|
|
45
|
+
id: string;
|
|
46
|
+
createdAt: string;
|
|
47
|
+
updatedAt?: string;
|
|
48
|
+
|
|
49
|
+
dashboardId: string;
|
|
50
|
+
type: TodoDashboardWidgetType;
|
|
51
|
+
config: TodoJsonObject;
|
|
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
|
+
|
|
24
86
|
metadata?: Record<string, unknown>;
|
|
25
87
|
}
|
package/dist/types/todo.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { TodoRecurrenceSettings } from "./todo-recurrence-settings";
|
|
1
|
+
import type { TodoJsonValue } from "./todo-json";
|
|
3
2
|
|
|
4
3
|
export interface ITodo {
|
|
5
4
|
id: string;
|
|
@@ -7,24 +6,109 @@ export interface ITodo {
|
|
|
7
6
|
updatedAt?: string;
|
|
8
7
|
deletedAt?: string;
|
|
9
8
|
version: number;
|
|
9
|
+
|
|
10
10
|
title: string;
|
|
11
11
|
description?: string;
|
|
12
|
+
|
|
12
13
|
statusId: string;
|
|
13
14
|
priority: TodoPriority;
|
|
15
|
+
|
|
14
16
|
listId: string;
|
|
15
17
|
spaceId: string;
|
|
18
|
+
|
|
16
19
|
createdById: string;
|
|
17
20
|
closedById?: string;
|
|
21
|
+
|
|
18
22
|
startDate?: string;
|
|
19
23
|
dueDate?: string;
|
|
20
24
|
completedAt?: string;
|
|
21
25
|
closedAt?: string;
|
|
26
|
+
|
|
22
27
|
sortOrder: number;
|
|
28
|
+
|
|
23
29
|
parentId?: string;
|
|
30
|
+
|
|
24
31
|
estimatedHours?: number;
|
|
25
32
|
sprintPoints?: number;
|
|
26
|
-
timeEstimate?: number;
|
|
33
|
+
timeEstimate?: number; // seconds
|
|
27
34
|
recurringSettings?: TodoRecurrenceSettings;
|
|
28
35
|
taskType?: string;
|
|
36
|
+
|
|
37
|
+
metadata?: Record<string, unknown>;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export interface ITodoAssignee {
|
|
41
|
+
id: string;
|
|
42
|
+
createdAt: string;
|
|
43
|
+
|
|
44
|
+
todoId: string;
|
|
45
|
+
userId?: string;
|
|
46
|
+
employeeId?: string;
|
|
47
|
+
|
|
48
|
+
metadata?: Record<string, unknown>;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export interface ITodoWatcher {
|
|
52
|
+
id: string;
|
|
53
|
+
createdAt: string;
|
|
54
|
+
|
|
55
|
+
todoId: string;
|
|
56
|
+
userId: string;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export interface ITodoDependency {
|
|
60
|
+
id: string;
|
|
61
|
+
createdAt: string;
|
|
62
|
+
|
|
63
|
+
todoId: string;
|
|
64
|
+
dependsOnId: string;
|
|
65
|
+
|
|
66
|
+
type: TodoDependencyType;
|
|
67
|
+
|
|
68
|
+
createdById: string;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export interface ITodoCustomFieldValue {
|
|
72
|
+
id: string;
|
|
73
|
+
createdAt: string;
|
|
74
|
+
updatedAt?: string;
|
|
75
|
+
|
|
76
|
+
todoId: string;
|
|
77
|
+
fieldId: string;
|
|
78
|
+
|
|
79
|
+
value: TodoJsonValue;
|
|
80
|
+
|
|
29
81
|
metadata?: Record<string, unknown>;
|
|
30
82
|
}
|
|
83
|
+
|
|
84
|
+
export interface ITodoListItem {
|
|
85
|
+
id: string;
|
|
86
|
+
createdAt: string;
|
|
87
|
+
|
|
88
|
+
todoId: string;
|
|
89
|
+
listId: string;
|
|
90
|
+
|
|
91
|
+
addedById: string;
|
|
92
|
+
|
|
93
|
+
sortOrder: number;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export interface ITodoTagAssignment {
|
|
97
|
+
id: string;
|
|
98
|
+
createdAt: string;
|
|
99
|
+
|
|
100
|
+
todoId: string;
|
|
101
|
+
tagId: string;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export type TodoPriority = "URGENT" | "HIGH" | "NORMAL" | "LOW";
|
|
105
|
+
|
|
106
|
+
export interface TodoRecurrenceSettings {
|
|
107
|
+
frequency: "DAILY" | "WEEKLY" | "MONTHLY" | "YEARLY";
|
|
108
|
+
interval: number;
|
|
109
|
+
days?: number[];
|
|
110
|
+
endDate?: string;
|
|
111
|
+
timezone?: string;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export type TodoDependencyType = "FINISH_TO_START" | "START_TO_START" | "FINISH_TO_FINISH" | "START_TO_FINISH";
|
package/package.json
CHANGED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type { IClientRequestCategoryField } from "./client-request-category-field";
|
|
2
|
-
|
|
3
|
-
export interface IClientRequestFieldVisibilityRule {
|
|
4
|
-
id: string;
|
|
5
|
-
action: "SHOW" | "HIDE";
|
|
6
|
-
operator: "EQUALS" | "NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS" | "IS_EMPTY" | "IS_NOT_EMPTY";
|
|
7
|
-
sourceFieldId: string;
|
|
8
|
-
targetFieldId: string;
|
|
9
|
-
order: number;
|
|
10
|
-
compareValueString?: string;
|
|
11
|
-
compareValueNumber?: number;
|
|
12
|
-
compareValueBoolean?: boolean;
|
|
13
|
-
compareValueDate?: string;
|
|
14
|
-
metadata?: any;
|
|
15
|
-
sourceField?: {
|
|
16
|
-
id: string;
|
|
17
|
-
name: string;
|
|
18
|
-
type?: IClientRequestCategoryField["type"];
|
|
19
|
-
};
|
|
20
|
-
targetField?: {
|
|
21
|
-
id: string;
|
|
22
|
-
name: string;
|
|
23
|
-
type?: IClientRequestCategoryField["type"];
|
|
24
|
-
};
|
|
25
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { IPhoneAdminAssignedQueue } from "./phone-admin-assigned-queue";
|
|
2
|
-
|
|
3
|
-
export interface IPhoneAdminAgent {
|
|
4
|
-
id: string;
|
|
5
|
-
orgId: string;
|
|
6
|
-
orgName?: string | null;
|
|
7
|
-
name: string;
|
|
8
|
-
role: "agent" | "user";
|
|
9
|
-
extension: string;
|
|
10
|
-
queueId: string | null;
|
|
11
|
-
queueKey?: string | null;
|
|
12
|
-
queueName?: string | null;
|
|
13
|
-
assignedQueueIds: string[];
|
|
14
|
-
assignedQueues: IPhoneAdminAssignedQueue[];
|
|
15
|
-
sipProfileId: string | null;
|
|
16
|
-
sipProfileName?: string | null;
|
|
17
|
-
metadata?: Record<string, string | undefined>;
|
|
18
|
-
localEntityId?: string;
|
|
19
|
-
syncStatus?: string | null;
|
|
20
|
-
syncError?: string | null;
|
|
21
|
-
syncedAt?: string | null;
|
|
22
|
-
createdAt: string;
|
|
23
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export interface IPhoneAdminPromptFields {
|
|
2
|
-
onGreetingBusinessHoursFile: string;
|
|
3
|
-
onGreetingAfterHoursFile: string;
|
|
4
|
-
onQueueEntryFile: string;
|
|
5
|
-
onHoldLoopFile: string;
|
|
6
|
-
onQueueMessagePeriodicFile: string;
|
|
7
|
-
onQueuePositionFile: string;
|
|
8
|
-
onConnectingFile: string;
|
|
9
|
-
onTransferFile: string;
|
|
10
|
-
onRingbackFile: string;
|
|
11
|
-
onBusyUnavailableFile: string;
|
|
12
|
-
onNoAnswerFile: string;
|
|
13
|
-
onAnnouncementFile: string;
|
|
14
|
-
onGoodbyeEndCallFile: string;
|
|
15
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { IPhoneAdminQueueWorkingHoursDay } from "./phone-admin-queue-working-hours-day";
|
|
2
|
-
|
|
3
|
-
export interface IPhoneAdminQueueWorkingHours {
|
|
4
|
-
monday: IPhoneAdminQueueWorkingHoursDay;
|
|
5
|
-
tuesday: IPhoneAdminQueueWorkingHoursDay;
|
|
6
|
-
wednesday: IPhoneAdminQueueWorkingHoursDay;
|
|
7
|
-
thursday: IPhoneAdminQueueWorkingHoursDay;
|
|
8
|
-
friday: IPhoneAdminQueueWorkingHoursDay;
|
|
9
|
-
saturday: IPhoneAdminQueueWorkingHoursDay;
|
|
10
|
-
sunday: IPhoneAdminQueueWorkingHoursDay;
|
|
11
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { IPhoneAdminPromptFields } from "./phone-admin-prompt-fields";
|
|
2
|
-
import type { IPhoneAdminQueueWorkingHours } from "./phone-admin-queue-working-hours";
|
|
3
|
-
|
|
4
|
-
export interface IPhoneAdminQueue extends IPhoneAdminPromptFields {
|
|
5
|
-
id: string;
|
|
6
|
-
orgId: string;
|
|
7
|
-
key: string;
|
|
8
|
-
name: string;
|
|
9
|
-
sipProfileId: string | null;
|
|
10
|
-
noAnswerTimeoutSeconds: number;
|
|
11
|
-
workingHoursEnabled: boolean;
|
|
12
|
-
workingHoursTimezone: string;
|
|
13
|
-
workingHours: IPhoneAdminQueueWorkingHours;
|
|
14
|
-
localQueueId?: string;
|
|
15
|
-
zoneId?: string;
|
|
16
|
-
employeeGroupId?: string;
|
|
17
|
-
syncStatus?: string | null;
|
|
18
|
-
syncError?: string | null;
|
|
19
|
-
syncedAt?: string | null;
|
|
20
|
-
createdAt: string;
|
|
21
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { IPhoneAdminAgent } from "./phone-admin-agent";
|
|
2
|
-
import type { IPhoneAdminQueue } from "./phone-admin-queue";
|
|
3
|
-
import type { IPhoneAdminSystemConfig } from "./phone-admin-system-config";
|
|
4
|
-
import type { IPhoneAdminSummary } from "./phone-admin-summary";
|
|
5
|
-
|
|
6
|
-
export interface IPhoneAdminSnapshot {
|
|
7
|
-
agents: IPhoneAdminAgent[];
|
|
8
|
-
users: IPhoneAdminAgent[];
|
|
9
|
-
queues: IPhoneAdminQueue[];
|
|
10
|
-
sipProfiles?: unknown[];
|
|
11
|
-
promptAudio?: unknown[];
|
|
12
|
-
systemConfig?: IPhoneAdminSystemConfig | null;
|
|
13
|
-
summary: IPhoneAdminSummary;
|
|
14
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export interface IPhoneAdminSummary {
|
|
2
|
-
agentCount: number;
|
|
3
|
-
userCount: number;
|
|
4
|
-
queueCount: number;
|
|
5
|
-
defaultQueueId: string | null;
|
|
6
|
-
phoneConfigured: boolean;
|
|
7
|
-
resolveAgentUrlConfigured: boolean;
|
|
8
|
-
reconcileActionsEnabled?: boolean;
|
|
9
|
-
syncedAgentCount?: number;
|
|
10
|
-
syncedUserCount?: number;
|
|
11
|
-
syncedQueueCount?: number;
|
|
12
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { IStructuredContentNodeBase } from "./structured-content-node-base";
|
|
2
|
-
import type { IStructuredContentNode } from "./structured-content";
|
|
3
|
-
|
|
4
|
-
export interface IStructuredContentCollapseNode extends IStructuredContentNodeBase {
|
|
5
|
-
children?: IStructuredContentNode[];
|
|
6
|
-
config?: {
|
|
7
|
-
title?: string;
|
|
8
|
-
};
|
|
9
|
-
type: "COLLAPSE";
|
|
10
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { IStructuredContentNodeBase } from "./structured-content-node-base";
|
|
2
|
-
import type { StructuredContentLinkVariant } from "./structured-content";
|
|
3
|
-
|
|
4
|
-
export interface IStructuredContentLinkNode extends IStructuredContentNodeBase {
|
|
5
|
-
config?: {
|
|
6
|
-
variant?: StructuredContentLinkVariant;
|
|
7
|
-
};
|
|
8
|
-
type: "LINK";
|
|
9
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { IStructuredContentNodeLayout } from "./structured-content-node-layout";
|
|
2
|
-
|
|
3
|
-
export interface IStructuredContentNodeBase {
|
|
4
|
-
id: string;
|
|
5
|
-
layout?: IStructuredContentNodeLayout;
|
|
6
|
-
type: "COLLAPSE" | "DEFAULT_AVATAR" | "LINK" | "SPACE" | "TABLE" | "TAG" | "TEXT";
|
|
7
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { StructuredContentLayoutAlign } from "./structured-content";
|
|
2
|
-
import type { StructuredContentLayoutSpacing } from "./structured-content";
|
|
3
|
-
import type { StructuredContentLayoutWidth } from "./structured-content";
|
|
4
|
-
|
|
5
|
-
export interface IStructuredContentNodeLayout {
|
|
6
|
-
align?: StructuredContentLayoutAlign;
|
|
7
|
-
gap?: StructuredContentLayoutSpacing;
|
|
8
|
-
hidden?: boolean;
|
|
9
|
-
marginBottom?: StructuredContentLayoutSpacing;
|
|
10
|
-
marginTop?: StructuredContentLayoutSpacing;
|
|
11
|
-
paddingX?: StructuredContentLayoutSpacing;
|
|
12
|
-
paddingY?: StructuredContentLayoutSpacing;
|
|
13
|
-
width?: StructuredContentLayoutWidth;
|
|
14
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { IModel } from "./models";
|
|
2
|
-
import type { IStructuredContentData, IStructuredContentNode } from "./structured-content";
|
|
3
|
-
|
|
4
|
-
export interface IStructuredContent {
|
|
5
|
-
createdAt: string;
|
|
6
|
-
data: IStructuredContentData;
|
|
7
|
-
id: string;
|
|
8
|
-
key: string;
|
|
9
|
-
metadata?: Record<string, any>;
|
|
10
|
-
rawData: unknown;
|
|
11
|
-
relation: IModel;
|
|
12
|
-
relationId: string;
|
|
13
|
-
structure: IStructuredContentNode[];
|
|
14
|
-
updatedAt?: string;
|
|
15
|
-
}
|