@automateinc/fleet-types 1.0.89-dev.828151b → 1.0.90
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/ai.d.ts +40 -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 +59 -17
- package/dist/types/notification.d.ts +1 -0
- 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 +1 -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-checklist-item.d.ts +1 -0
- package/dist/types/todo-checklist.d.ts +1 -0
- package/dist/types/todo-comment.d.ts +1 -0
- package/dist/types/todo-custom-field.d.ts +3 -1
- package/dist/types/todo-dashboard-widget.d.ts +2 -0
- package/dist/types/todo-dashboard.d.ts +2 -0
- package/dist/types/todo-doc.d.ts +2 -0
- package/dist/types/todo-folder.d.ts +1 -0
- package/dist/types/todo-list-field-config.d.ts +2 -0
- package/dist/types/todo-list.d.ts +1 -0
- package/dist/types/todo-people-field-options.d.ts +4 -0
- package/dist/types/todo-space.d.ts +1 -0
- package/dist/types/todo-status.d.ts +1 -0
- package/dist/types/todo-tag.d.ts +1 -0
- package/dist/types/todo-view.d.ts +2 -0
- package/dist/types/todo.d.ts +0 -6
- package/package.json +1 -1
- package/dist/types/phone-admin.d.ts +0 -107
- package/dist/types/todo-priority.d.ts +0 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { IStructuredContentTableNamedColumnBase } from "./structured-content-table-named-column-base";
|
|
2
|
+
import type { IStructuredContentTableColumnSortConfig } from "./structured-content-table-column-sort-config";
|
|
3
|
+
|
|
4
|
+
export interface IStructuredContentTableTimeColumn extends IStructuredContentTableNamedColumnBase {
|
|
5
|
+
config?: IStructuredContentTableColumnSortConfig;
|
|
6
|
+
type: "TIME";
|
|
7
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { IStructuredContentNodeBase } from "./structured-content-node-base";
|
|
2
|
+
import type { StructuredContentTagTone } from "./structured-content";
|
|
3
|
+
|
|
4
|
+
export interface IStructuredContentTagNode extends IStructuredContentNodeBase {
|
|
5
|
+
config?: {
|
|
6
|
+
tone?: StructuredContentTagTone;
|
|
7
|
+
};
|
|
8
|
+
type: "TAG";
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { IStructuredContentNodeBase } from "./structured-content-node-base";
|
|
2
|
+
import type { StructuredContentTextVariant } from "./structured-content";
|
|
3
|
+
|
|
4
|
+
export interface IStructuredContentTextNode extends IStructuredContentNodeBase {
|
|
5
|
+
config?: {
|
|
6
|
+
variant?: StructuredContentTextVariant;
|
|
7
|
+
};
|
|
8
|
+
type: "TEXT";
|
|
9
|
+
}
|
|
@@ -1,4 +1,24 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { IStructuredContentTagValue } from "./structured-content-tag-value";
|
|
2
|
+
import type { IStructuredContentDefaultAvatarValue } from "./structured-content-default-avatar-value";
|
|
3
|
+
import type { IStructuredContentTableSelectFilter } from "./structured-content-table-select-filter";
|
|
4
|
+
import type { IStructuredContentTableDateRangeFilter } from "./structured-content-table-date-range-filter";
|
|
5
|
+
import type { IStructuredContentTableDefaultAvatarColumn } from "./structured-content-table-default-avatar-column";
|
|
6
|
+
import type { IStructuredContentTableBooleanColumn } from "./structured-content-table-boolean-column";
|
|
7
|
+
import type { IStructuredContentTableDateColumn } from "./structured-content-table-date-column";
|
|
8
|
+
import type { IStructuredContentTableDateTimeColumn } from "./structured-content-table-date-time-column";
|
|
9
|
+
import type { IStructuredContentTableLinkColumn } from "./structured-content-table-link-column";
|
|
10
|
+
import type { IStructuredContentTableNumberColumn } from "./structured-content-table-number-column";
|
|
11
|
+
import type { IStructuredContentTableTagColumn } from "./structured-content-table-tag-column";
|
|
12
|
+
import type { IStructuredContentTableTextColumn } from "./structured-content-table-text-column";
|
|
13
|
+
import type { IStructuredContentTableTimeColumn } from "./structured-content-table-time-column";
|
|
14
|
+
import type { IStructuredContentCollapseNode } from "./structured-content-collapse-node";
|
|
15
|
+
import type { IStructuredContentDefaultAvatarNode } from "./structured-content-default-avatar-node";
|
|
16
|
+
import type { IStructuredContentSpaceNode } from "./structured-content-space-node";
|
|
17
|
+
import type { IStructuredContentTextNode } from "./structured-content-text-node";
|
|
18
|
+
import type { IStructuredContentTagNode } from "./structured-content-tag-node";
|
|
19
|
+
import type { IStructuredContentLinkNode } from "./structured-content-link-node";
|
|
20
|
+
import type { IStructuredContentTableNode } from "./structured-content-table-node";
|
|
21
|
+
import type { IStructuredContentLinkValue } from "./structured-content-link-value";
|
|
2
22
|
|
|
3
23
|
export type StructuredContentTextVariant = "H1" | "H2" | "H3" | "H4" | "H5" | "H6" | "PARAGRAPH" | "TEXT";
|
|
4
24
|
export type StructuredContentLinkVariant = "BUTTON" | "LINK";
|
|
@@ -37,141 +57,12 @@ export type StructuredContentTagTone =
|
|
|
37
57
|
| "warning"
|
|
38
58
|
| "yellow";
|
|
39
59
|
|
|
40
|
-
export interface IStructuredContentTagValue {
|
|
41
|
-
color?: string;
|
|
42
|
-
label: string;
|
|
43
|
-
tone?: StructuredContentTagTone;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export interface IStructuredContentDefaultAvatarValue {
|
|
47
|
-
inactive?: boolean;
|
|
48
|
-
onLeave?: boolean;
|
|
49
|
-
src: string;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export interface IStructuredContentNodeLayout {
|
|
53
|
-
align?: StructuredContentLayoutAlign;
|
|
54
|
-
gap?: StructuredContentLayoutSpacing;
|
|
55
|
-
hidden?: boolean;
|
|
56
|
-
marginBottom?: StructuredContentLayoutSpacing;
|
|
57
|
-
marginTop?: StructuredContentLayoutSpacing;
|
|
58
|
-
paddingX?: StructuredContentLayoutSpacing;
|
|
59
|
-
paddingY?: StructuredContentLayoutSpacing;
|
|
60
|
-
width?: StructuredContentLayoutWidth;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export interface IStructuredContentTableToolbarFilterBase {
|
|
64
|
-
columnKey: string;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
export interface IStructuredContentTableSelectFilter extends IStructuredContentTableToolbarFilterBase {
|
|
68
|
-
config?: {
|
|
69
|
-
initialValue?: string;
|
|
70
|
-
};
|
|
71
|
-
type?: "SELECT";
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
export interface IStructuredContentDateRangeFilterConstraints {
|
|
75
|
-
disableFuture?: boolean;
|
|
76
|
-
disablePast?: boolean;
|
|
77
|
-
disabledDates?: string[];
|
|
78
|
-
disabledWeekdays?: number[];
|
|
79
|
-
maxDate?: string;
|
|
80
|
-
minDate?: string;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
export interface IStructuredContentDateRangeFilterInitialValue {
|
|
84
|
-
endDate?: string;
|
|
85
|
-
startDate?: string;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
export interface IStructuredContentTableDateRangeFilter extends IStructuredContentTableToolbarFilterBase {
|
|
89
|
-
config?: {
|
|
90
|
-
constraints?: IStructuredContentDateRangeFilterConstraints;
|
|
91
|
-
initialValue?: IStructuredContentDateRangeFilterInitialValue;
|
|
92
|
-
};
|
|
93
|
-
type: "DATE_RANGE";
|
|
94
|
-
}
|
|
95
|
-
|
|
96
60
|
export type IStructuredContentTableToolbarFilter =
|
|
97
61
|
| IStructuredContentTableDateRangeFilter
|
|
98
62
|
| IStructuredContentTableSelectFilter;
|
|
99
63
|
|
|
100
|
-
export interface IStructuredContentTableToolbar {
|
|
101
|
-
advancedFilters?: boolean;
|
|
102
|
-
exportCsv?: boolean;
|
|
103
|
-
filters?: IStructuredContentTableToolbarFilter[];
|
|
104
|
-
search?: boolean;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
64
|
export type StructuredContentTableSortOrder = "asc" | "desc";
|
|
108
65
|
|
|
109
|
-
export interface IStructuredContentTableColumnSortConfig {
|
|
110
|
-
sortOrder?: StructuredContentTableSortOrder;
|
|
111
|
-
sortType?: StructuredContentTableSortType;
|
|
112
|
-
sortable?: boolean;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
export interface IStructuredContentTablePagination {
|
|
116
|
-
pageSize?: number;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
export interface IStructuredContentTableColumnBase {
|
|
120
|
-
id: string;
|
|
121
|
-
type: StructuredContentTableColumnType;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
export interface IStructuredContentTableNamedColumnBase extends IStructuredContentTableColumnBase {
|
|
125
|
-
name: string;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
export interface IStructuredContentTableDefaultAvatarColumn extends IStructuredContentTableColumnBase {
|
|
129
|
-
config?: {
|
|
130
|
-
size?: number;
|
|
131
|
-
};
|
|
132
|
-
type: "DEFAULT_AVATAR";
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
export interface IStructuredContentTableBooleanColumn extends IStructuredContentTableNamedColumnBase {
|
|
136
|
-
config?: IStructuredContentTableColumnSortConfig;
|
|
137
|
-
type: "BOOLEAN";
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
export interface IStructuredContentTableDateColumn extends IStructuredContentTableNamedColumnBase {
|
|
141
|
-
config?: IStructuredContentTableColumnSortConfig;
|
|
142
|
-
type: "DATE";
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
export interface IStructuredContentTableDateTimeColumn extends IStructuredContentTableNamedColumnBase {
|
|
146
|
-
config?: IStructuredContentTableColumnSortConfig;
|
|
147
|
-
type: "DATETIME";
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
export interface IStructuredContentTableLinkColumn extends IStructuredContentTableNamedColumnBase {
|
|
151
|
-
config?: IStructuredContentTableColumnSortConfig;
|
|
152
|
-
type: "LINK";
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
export interface IStructuredContentTableNumberColumn extends IStructuredContentTableNamedColumnBase {
|
|
156
|
-
config?: IStructuredContentTableColumnSortConfig;
|
|
157
|
-
type: "NUMBER";
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
export interface IStructuredContentTableTagColumn extends IStructuredContentTableNamedColumnBase {
|
|
161
|
-
config?: IStructuredContentTableColumnSortConfig;
|
|
162
|
-
type: "TAG";
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
export interface IStructuredContentTableTextColumn extends IStructuredContentTableNamedColumnBase {
|
|
166
|
-
config?: IStructuredContentTableColumnSortConfig;
|
|
167
|
-
type: "TEXT";
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
export interface IStructuredContentTableTimeColumn extends IStructuredContentTableNamedColumnBase {
|
|
171
|
-
config?: IStructuredContentTableColumnSortConfig;
|
|
172
|
-
type: "TIME";
|
|
173
|
-
}
|
|
174
|
-
|
|
175
66
|
export type IStructuredContentTableColumn =
|
|
176
67
|
| IStructuredContentTableBooleanColumn
|
|
177
68
|
| IStructuredContentTableDateColumn
|
|
@@ -183,62 +74,6 @@ export type IStructuredContentTableColumn =
|
|
|
183
74
|
| IStructuredContentTableTextColumn
|
|
184
75
|
| IStructuredContentTableTimeColumn;
|
|
185
76
|
|
|
186
|
-
export interface IStructuredContentNodeBase {
|
|
187
|
-
id: string;
|
|
188
|
-
layout?: IStructuredContentNodeLayout;
|
|
189
|
-
type: "COLLAPSE" | "DEFAULT_AVATAR" | "LINK" | "SPACE" | "TABLE" | "TAG" | "TEXT";
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
export interface IStructuredContentCollapseNode extends IStructuredContentNodeBase {
|
|
193
|
-
children?: IStructuredContentNode[];
|
|
194
|
-
config?: {
|
|
195
|
-
title?: string;
|
|
196
|
-
};
|
|
197
|
-
type: "COLLAPSE";
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
export interface IStructuredContentDefaultAvatarNode extends IStructuredContentNodeBase {
|
|
201
|
-
config?: {
|
|
202
|
-
size?: number;
|
|
203
|
-
};
|
|
204
|
-
type: "DEFAULT_AVATAR";
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
export interface IStructuredContentSpaceNode extends IStructuredContentNodeBase {
|
|
208
|
-
children?: IStructuredContentNode[];
|
|
209
|
-
type: "SPACE";
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
export interface IStructuredContentTextNode extends IStructuredContentNodeBase {
|
|
213
|
-
config?: {
|
|
214
|
-
variant?: StructuredContentTextVariant;
|
|
215
|
-
};
|
|
216
|
-
type: "TEXT";
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
export interface IStructuredContentTagNode extends IStructuredContentNodeBase {
|
|
220
|
-
config?: {
|
|
221
|
-
tone?: StructuredContentTagTone;
|
|
222
|
-
};
|
|
223
|
-
type: "TAG";
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
export interface IStructuredContentLinkNode extends IStructuredContentNodeBase {
|
|
227
|
-
config?: {
|
|
228
|
-
variant?: StructuredContentLinkVariant;
|
|
229
|
-
};
|
|
230
|
-
type: "LINK";
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
export interface IStructuredContentTableNode extends IStructuredContentNodeBase {
|
|
234
|
-
config?: {
|
|
235
|
-
columns?: IStructuredContentTableColumn[];
|
|
236
|
-
pagination?: IStructuredContentTablePagination;
|
|
237
|
-
toolbar?: IStructuredContentTableToolbar;
|
|
238
|
-
};
|
|
239
|
-
type: "TABLE";
|
|
240
|
-
}
|
|
241
|
-
|
|
242
77
|
export type IStructuredContentNode =
|
|
243
78
|
| IStructuredContentCollapseNode
|
|
244
79
|
| IStructuredContentDefaultAvatarNode
|
|
@@ -248,12 +83,6 @@ export type IStructuredContentNode =
|
|
|
248
83
|
| IStructuredContentTableNode
|
|
249
84
|
| IStructuredContentTextNode;
|
|
250
85
|
|
|
251
|
-
export interface IStructuredContentLinkValue {
|
|
252
|
-
href: string;
|
|
253
|
-
target?: string;
|
|
254
|
-
title: string;
|
|
255
|
-
}
|
|
256
|
-
|
|
257
86
|
export type StructuredContentPrimitiveValue = boolean | number | string | null;
|
|
258
87
|
export type StructuredContentAvatarValue = IStructuredContentDefaultAvatarValue;
|
|
259
88
|
export type StructuredContentTaggableValue = IStructuredContentTagValue | StructuredContentPrimitiveValue;
|
|
@@ -268,16 +97,3 @@ export type StructuredContentDataValue =
|
|
|
268
97
|
| IStructuredContentTableRow[]
|
|
269
98
|
| StructuredContentPrimitiveValue;
|
|
270
99
|
export type IStructuredContentData = Record<string, StructuredContentDataValue>;
|
|
271
|
-
|
|
272
|
-
export interface IStructuredContent {
|
|
273
|
-
createdAt: string;
|
|
274
|
-
data: IStructuredContentData;
|
|
275
|
-
id: string;
|
|
276
|
-
key: string;
|
|
277
|
-
metadata?: Record<string, any>;
|
|
278
|
-
rawData: unknown;
|
|
279
|
-
relation: IModel;
|
|
280
|
-
relationId: string;
|
|
281
|
-
structure: IStructuredContentNode[];
|
|
282
|
-
updatedAt?: string;
|
|
283
|
-
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ITodoCustomFieldOption } from "./todo-custom-field-option";
|
|
2
2
|
import type { TodoCustomFieldType } from "./todo-custom-field-type";
|
|
3
3
|
import type { TodoJsonValue } from "./todo-json-value";
|
|
4
|
+
import type { TodoPeopleFieldOptions } from "./todo-people-field-options";
|
|
4
5
|
|
|
5
6
|
export interface ITodoCustomField {
|
|
6
7
|
id: string;
|
|
@@ -10,9 +11,10 @@ export interface ITodoCustomField {
|
|
|
10
11
|
name: string;
|
|
11
12
|
type: TodoCustomFieldType;
|
|
12
13
|
spaceId: string;
|
|
13
|
-
options?: ITodoCustomFieldOption[];
|
|
14
|
+
options?: ITodoCustomFieldOption[] | TodoPeopleFieldOptions;
|
|
14
15
|
defaultValue?: TodoJsonValue;
|
|
15
16
|
sortOrder: number;
|
|
16
17
|
required: boolean;
|
|
18
|
+
version: number;
|
|
17
19
|
metadata?: Record<string, unknown>;
|
|
18
20
|
}
|
package/dist/types/todo-doc.d.ts
CHANGED
package/dist/types/todo-tag.d.ts
CHANGED
package/dist/types/todo.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { TodoPriority } from "./todo-priority";
|
|
2
1
|
import type { TodoRecurrenceSettings } from "./todo-recurrence-settings";
|
|
3
2
|
|
|
4
3
|
export interface ITodo {
|
|
@@ -10,7 +9,6 @@ export interface ITodo {
|
|
|
10
9
|
title: string;
|
|
11
10
|
description?: string;
|
|
12
11
|
statusId: string;
|
|
13
|
-
priority: TodoPriority;
|
|
14
12
|
listId: string;
|
|
15
13
|
spaceId: string;
|
|
16
14
|
createdById: string;
|
|
@@ -21,10 +19,6 @@ export interface ITodo {
|
|
|
21
19
|
closedAt?: string;
|
|
22
20
|
sortOrder: number;
|
|
23
21
|
parentId?: string;
|
|
24
|
-
estimatedHours?: number;
|
|
25
|
-
sprintPoints?: number;
|
|
26
|
-
timeEstimate?: number;
|
|
27
22
|
recurringSettings?: TodoRecurrenceSettings;
|
|
28
|
-
taskType?: string;
|
|
29
23
|
metadata?: Record<string, unknown>;
|
|
30
24
|
}
|
package/package.json
CHANGED
|
@@ -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
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type TodoPriority = "URGENT" | "HIGH" | "NORMAL" | "LOW";
|