@automateinc/fleet-types 1.0.88 → 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 -5
- 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/request-category.d.ts +0 -1
- 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 +35 -0
- 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 +12 -0
- 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 +20 -0
- 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 +11 -0
- package/dist/types/todo-folder.d.ts +14 -0
- 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 +18 -0
- 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 +16 -0
- package/dist/types/todo-status.d.ts +21 -0
- 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 +14 -0
- 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 +25 -0
- package/dist/types/todo-watcher.d.ts +6 -0
- package/dist/types/todo.d.ts +30 -0
- package/package.json +2 -2
- package/dist/types/phone-admin.d.ts +0 -107
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { TodoSpaceVisibility } from "./todo-space-visibility";
|
|
2
|
+
|
|
3
|
+
export interface ITodoSpace {
|
|
4
|
+
id: string;
|
|
5
|
+
createdAt: string;
|
|
6
|
+
updatedAt?: string;
|
|
7
|
+
deletedAt?: string;
|
|
8
|
+
name: string;
|
|
9
|
+
icon?: string;
|
|
10
|
+
color?: string;
|
|
11
|
+
regionId: string;
|
|
12
|
+
visibility: TodoSpaceVisibility;
|
|
13
|
+
sortOrder: number;
|
|
14
|
+
version: number;
|
|
15
|
+
metadata?: Record<string, unknown>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface ITodoStatus {
|
|
2
|
+
id: string;
|
|
3
|
+
createdAt: string;
|
|
4
|
+
updatedAt?: string;
|
|
5
|
+
deletedAt?: string;
|
|
6
|
+
|
|
7
|
+
name: string;
|
|
8
|
+
color: string;
|
|
9
|
+
type: TodoStatusType;
|
|
10
|
+
|
|
11
|
+
listId: string;
|
|
12
|
+
|
|
13
|
+
sortOrder: number;
|
|
14
|
+
isDefault: boolean;
|
|
15
|
+
isCompletedStatus: boolean;
|
|
16
|
+
version: number;
|
|
17
|
+
|
|
18
|
+
metadata?: Record<string, unknown>;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export type TodoStatusType = "OPEN" | "IN_PROGRESS" | "DONE" | "CLOSED" | "CUSTOM";
|
|
@@ -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";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { TodoJsonValue } from "./todo-json-value";
|
|
2
|
+
import type { TodoViewType } from "./todo-view-type";
|
|
3
|
+
|
|
4
|
+
export interface ITodoView {
|
|
5
|
+
id: string;
|
|
6
|
+
createdAt: string;
|
|
7
|
+
updatedAt?: string;
|
|
8
|
+
deletedAt?: string;
|
|
9
|
+
name: string;
|
|
10
|
+
type: TodoViewType;
|
|
11
|
+
spaceId: string;
|
|
12
|
+
listId?: string;
|
|
13
|
+
createdById: string;
|
|
14
|
+
isShared: boolean;
|
|
15
|
+
isDefault: boolean;
|
|
16
|
+
filters?: TodoJsonValue;
|
|
17
|
+
sortConfig?: TodoJsonValue;
|
|
18
|
+
groupBy?: string;
|
|
19
|
+
columnConfig?: TodoJsonValue;
|
|
20
|
+
viewConfig?: TodoJsonValue;
|
|
21
|
+
sortOrder: number;
|
|
22
|
+
version: number;
|
|
23
|
+
configVersion: number;
|
|
24
|
+
metadata?: Record<string, unknown>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { TodoPriority } from "./todo-priority";
|
|
2
|
+
import type { TodoRecurrenceSettings } from "./todo-recurrence-settings";
|
|
3
|
+
|
|
4
|
+
export interface ITodo {
|
|
5
|
+
id: string;
|
|
6
|
+
createdAt: string;
|
|
7
|
+
updatedAt?: string;
|
|
8
|
+
deletedAt?: string;
|
|
9
|
+
version: number;
|
|
10
|
+
title: string;
|
|
11
|
+
description?: string;
|
|
12
|
+
statusId: string;
|
|
13
|
+
priority: TodoPriority;
|
|
14
|
+
listId: string;
|
|
15
|
+
spaceId: string;
|
|
16
|
+
createdById: string;
|
|
17
|
+
closedById?: string;
|
|
18
|
+
startDate?: string;
|
|
19
|
+
dueDate?: string;
|
|
20
|
+
completedAt?: string;
|
|
21
|
+
closedAt?: string;
|
|
22
|
+
sortOrder: number;
|
|
23
|
+
parentId?: string;
|
|
24
|
+
estimatedHours?: number;
|
|
25
|
+
sprintPoints?: number;
|
|
26
|
+
timeEstimate?: number;
|
|
27
|
+
recurringSettings?: TodoRecurrenceSettings;
|
|
28
|
+
taskType?: string;
|
|
29
|
+
metadata?: Record<string, unknown>;
|
|
30
|
+
}
|
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
|
-
}
|