@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.
Files changed (67) hide show
  1. package/dist/types/ai.d.ts +40 -0
  2. package/dist/types/client-request-category-field.d.ts +2 -25
  3. package/dist/types/client-request-field-visibility-rule.d.ts +25 -0
  4. package/dist/types/index.d.ts +59 -17
  5. package/dist/types/notification.d.ts +1 -0
  6. package/dist/types/phone-admin-agent.d.ts +23 -0
  7. package/dist/types/phone-admin-assigned-queue.d.ts +5 -0
  8. package/dist/types/phone-admin-prompt-fields.d.ts +15 -0
  9. package/dist/types/phone-admin-queue-working-hours-day.d.ts +5 -0
  10. package/dist/types/phone-admin-queue-working-hours.d.ts +11 -0
  11. package/dist/types/phone-admin-queue.d.ts +21 -0
  12. package/dist/types/phone-admin-snapshot.d.ts +14 -0
  13. package/dist/types/phone-admin-summary.d.ts +12 -0
  14. package/dist/types/phone-admin-system-config.d.ts +7 -0
  15. package/dist/types/request-category.d.ts +1 -0
  16. package/dist/types/structured-content-collapse-node.d.ts +10 -0
  17. package/dist/types/structured-content-date-range-filter-constraints.d.ts +8 -0
  18. package/dist/types/structured-content-date-range-filter-initial-value.d.ts +4 -0
  19. package/dist/types/structured-content-default-avatar-node.d.ts +8 -0
  20. package/dist/types/structured-content-default-avatar-value.d.ts +5 -0
  21. package/dist/types/structured-content-link-node.d.ts +9 -0
  22. package/dist/types/structured-content-link-value.d.ts +5 -0
  23. package/dist/types/structured-content-node-base.d.ts +7 -0
  24. package/dist/types/structured-content-node-layout.d.ts +14 -0
  25. package/dist/types/structured-content-root.d.ts +15 -0
  26. package/dist/types/structured-content-space-node.d.ts +7 -0
  27. package/dist/types/structured-content-table-boolean-column.d.ts +7 -0
  28. package/dist/types/structured-content-table-column-base.d.ts +6 -0
  29. package/dist/types/structured-content-table-column-sort-config.d.ts +8 -0
  30. package/dist/types/structured-content-table-date-column.d.ts +7 -0
  31. package/dist/types/structured-content-table-date-range-filter.d.ts +11 -0
  32. package/dist/types/structured-content-table-date-time-column.d.ts +7 -0
  33. package/dist/types/structured-content-table-default-avatar-column.d.ts +8 -0
  34. package/dist/types/structured-content-table-link-column.d.ts +7 -0
  35. package/dist/types/structured-content-table-named-column-base.d.ts +5 -0
  36. package/dist/types/structured-content-table-node.d.ts +13 -0
  37. package/dist/types/structured-content-table-number-column.d.ts +7 -0
  38. package/dist/types/structured-content-table-pagination.d.ts +3 -0
  39. package/dist/types/structured-content-table-select-filter.d.ts +8 -0
  40. package/dist/types/structured-content-table-tag-column.d.ts +7 -0
  41. package/dist/types/structured-content-table-text-column.d.ts +7 -0
  42. package/dist/types/structured-content-table-time-column.d.ts +7 -0
  43. package/dist/types/structured-content-table-toolbar-filter-base.d.ts +3 -0
  44. package/dist/types/structured-content-table-toolbar.d.ts +8 -0
  45. package/dist/types/structured-content-tag-node.d.ts +9 -0
  46. package/dist/types/structured-content-tag-value.d.ts +7 -0
  47. package/dist/types/structured-content-text-node.d.ts +9 -0
  48. package/dist/types/structured-content.d.ts +21 -205
  49. package/dist/types/todo-checklist-item.d.ts +1 -0
  50. package/dist/types/todo-checklist.d.ts +1 -0
  51. package/dist/types/todo-comment.d.ts +1 -0
  52. package/dist/types/todo-custom-field.d.ts +3 -1
  53. package/dist/types/todo-dashboard-widget.d.ts +2 -0
  54. package/dist/types/todo-dashboard.d.ts +2 -0
  55. package/dist/types/todo-doc.d.ts +2 -0
  56. package/dist/types/todo-folder.d.ts +1 -0
  57. package/dist/types/todo-list-field-config.d.ts +2 -0
  58. package/dist/types/todo-list.d.ts +1 -0
  59. package/dist/types/todo-people-field-options.d.ts +4 -0
  60. package/dist/types/todo-space.d.ts +1 -0
  61. package/dist/types/todo-status.d.ts +1 -0
  62. package/dist/types/todo-tag.d.ts +1 -0
  63. package/dist/types/todo-view.d.ts +2 -0
  64. package/dist/types/todo.d.ts +0 -6
  65. package/package.json +1 -1
  66. package/dist/types/phone-admin.d.ts +0 -107
  67. 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,3 @@
1
+ export interface IStructuredContentTableToolbarFilterBase {
2
+ columnKey: string;
3
+ }
@@ -0,0 +1,8 @@
1
+ import type { IStructuredContentTableToolbarFilter } from "./structured-content";
2
+
3
+ export interface IStructuredContentTableToolbar {
4
+ advancedFilters?: boolean;
5
+ exportCsv?: boolean;
6
+ filters?: IStructuredContentTableToolbarFilter[];
7
+ search?: boolean;
8
+ }
@@ -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,7 @@
1
+ import type { StructuredContentTagTone } from "./structured-content";
2
+
3
+ export interface IStructuredContentTagValue {
4
+ color?: string;
5
+ label: string;
6
+ tone?: StructuredContentTagTone;
7
+ }
@@ -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 { IModel } from "./models";
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
- }
@@ -6,5 +6,6 @@ export interface ITodoChecklistItem {
6
6
  isChecked: boolean;
7
7
  checklistId: string;
8
8
  sortOrder: number;
9
+ version: number;
9
10
  metadata?: Record<string, unknown>;
10
11
  }
@@ -5,5 +5,6 @@ export interface ITodoChecklist {
5
5
  name: string;
6
6
  todoId: string;
7
7
  sortOrder: number;
8
+ version: number;
8
9
  metadata?: Record<string, unknown>;
9
10
  }
@@ -3,6 +3,7 @@ export interface ITodoComment {
3
3
  createdAt: string;
4
4
  updatedAt?: string;
5
5
  deletedAt?: string;
6
+ version: number;
6
7
  body: string;
7
8
  todoId: string;
8
9
  userId: string;
@@ -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
  }
@@ -12,4 +12,6 @@ export interface ITodoDashboardWidget {
12
12
  y: number;
13
13
  w: number;
14
14
  h: number;
15
+ version: number;
16
+ configVersion: number;
15
17
  }
@@ -7,4 +7,6 @@ export interface ITodoDashboard {
7
7
  spaceId: string;
8
8
  listId?: string;
9
9
  config: TodoJsonObject;
10
+ version: number;
11
+ configVersion: number;
10
12
  }
@@ -11,5 +11,7 @@ export interface ITodoDoc {
11
11
  folderId?: string;
12
12
  createdById: string;
13
13
  sortOrder: number;
14
+ version: number;
15
+ contentVersion: number;
14
16
  metadata?: Record<string, unknown>;
15
17
  }
@@ -9,5 +9,6 @@ export interface ITodoFolder {
9
9
  spaceId: string;
10
10
  parentId?: string;
11
11
  sortOrder: number;
12
+ version: number;
12
13
  metadata?: Record<string, unknown>;
13
14
  }
@@ -6,4 +6,6 @@ export interface ITodoListFieldConfig {
6
6
  updatedAt?: string;
7
7
  listId: string;
8
8
  fields: ITodoListFieldEntry[];
9
+ version: number;
10
+ configVersion: number;
9
11
  }
@@ -12,6 +12,7 @@ export interface ITodoList {
12
12
  folderId?: string;
13
13
 
14
14
  sortOrder: number;
15
+ version: number;
15
16
 
16
17
  metadata?: Record<string, unknown>;
17
18
  }
@@ -0,0 +1,4 @@
1
+ export interface TodoPeopleFieldOptions {
2
+ inSpace: boolean;
3
+ multiple: boolean;
4
+ }
@@ -11,5 +11,6 @@ export interface ITodoSpace {
11
11
  regionId: string;
12
12
  visibility: TodoSpaceVisibility;
13
13
  sortOrder: number;
14
+ version: number;
14
15
  metadata?: Record<string, unknown>;
15
16
  }
@@ -13,6 +13,7 @@ export interface ITodoStatus {
13
13
  sortOrder: number;
14
14
  isDefault: boolean;
15
15
  isCompletedStatus: boolean;
16
+ version: number;
16
17
 
17
18
  metadata?: Record<string, unknown>;
18
19
  }
@@ -8,6 +8,7 @@ export interface ITodoTag {
8
8
  color: string;
9
9
 
10
10
  spaceId: string;
11
+ version: number;
11
12
 
12
13
  metadata?: Record<string, unknown>;
13
14
  }
@@ -19,5 +19,7 @@ export interface ITodoView {
19
19
  columnConfig?: TodoJsonValue;
20
20
  viewConfig?: TodoJsonValue;
21
21
  sortOrder: number;
22
+ version: number;
23
+ configVersion: number;
22
24
  metadata?: Record<string, unknown>;
23
25
  }
@@ -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
@@ -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.89-dev.828151b"
55
+ "version": "1.0.90"
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
- }
@@ -1 +0,0 @@
1
- export type TodoPriority = "URGENT" | "HIGH" | "NORMAL" | "LOW";