@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
|
@@ -21,7 +21,7 @@ jobs:
|
|
|
21
21
|
|
|
22
22
|
- uses: actions/setup-node@v4
|
|
23
23
|
with:
|
|
24
|
-
node-version: "
|
|
24
|
+
node-version: "24.x"
|
|
25
25
|
registry-url: "https://registry.npmjs.org"
|
|
26
26
|
|
|
27
27
|
- run: npm install -g semver
|
|
@@ -50,8 +50,7 @@ jobs:
|
|
|
50
50
|
- run: npm ci
|
|
51
51
|
|
|
52
52
|
- name: Publish to npm
|
|
53
|
-
run: npm
|
|
54
|
-
- run: npm publish --provenance --access public --tag $( [[ "${{ github.ref_name }}" == "main" ]] && echo "latest" || echo "dev" )
|
|
53
|
+
run: npm publish --provenance --access public --tag $( [[ "${{ github.ref_name }}" == "main" ]] && echo "latest" || echo "dev" )
|
|
55
54
|
|
|
56
55
|
- name: Output Published Version
|
|
57
56
|
run: 'echo "📦 Published version: ${{ steps.bump.outputs.version }}"'
|
package/.nvmrc
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
24.13.0
|
|
@@ -1,28 +1,5 @@
|
|
|
1
|
-
import { IModel } from "./models";
|
|
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
|
+
import type { IModel } from "./models";
|
|
2
|
+
import type { IClientRequestFieldVisibilityRule } from "./client-request-field-visibility-rule";
|
|
26
3
|
|
|
27
4
|
export interface IClientRequestCategoryField {
|
|
28
5
|
id: string;
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -56,9 +56,9 @@ export * from "./call-entity";
|
|
|
56
56
|
export * from "./call-log";
|
|
57
57
|
export * from "./ceiling";
|
|
58
58
|
export * from "./client";
|
|
59
|
-
export * from "./client-class";
|
|
60
59
|
export * from "./client-checklist-definition";
|
|
61
60
|
export * from "./client-checklist-item";
|
|
61
|
+
export * from "./client-class";
|
|
62
62
|
export * from "./client-comment";
|
|
63
63
|
export * from "./client-comment-reaction";
|
|
64
64
|
export * from "./client-contact";
|
|
@@ -76,15 +76,16 @@ export * from "./client-request-action";
|
|
|
76
76
|
export * from "./client-request-action-execution";
|
|
77
77
|
export * from "./client-request-category";
|
|
78
78
|
export * from "./client-request-category-field";
|
|
79
|
+
export * from "./client-request-field-visibility-rule";
|
|
79
80
|
export * from "./client-request-type";
|
|
80
81
|
export * from "./client-request-value";
|
|
81
82
|
export * from "./client-request-verification";
|
|
82
83
|
export * from "./client-site";
|
|
83
84
|
export * from "./client-status";
|
|
84
85
|
export * from "./client-status-check";
|
|
86
|
+
export * from "./client-status-check-requirement";
|
|
85
87
|
export * from "./client-status-check-requirement-condition";
|
|
86
88
|
export * from "./client-status-check-requirement-condition-group";
|
|
87
|
-
export * from "./client-status-check-requirement";
|
|
88
89
|
export * from "./cluster-patrol";
|
|
89
90
|
export * from "./cluster-patrol-point";
|
|
90
91
|
export * from "./company";
|
|
@@ -94,13 +95,13 @@ export * from "./contact";
|
|
|
94
95
|
export * from "./contract";
|
|
95
96
|
export * from "./contract-allowance";
|
|
96
97
|
export * from "./contract-benefit";
|
|
97
|
-
export * from "./contract-deduction";
|
|
98
98
|
export * from "./contract-cost";
|
|
99
|
+
export * from "./contract-deduction";
|
|
99
100
|
export * from "./contract-snapshot";
|
|
100
101
|
export * from "./contract-snapshot-allowance";
|
|
101
102
|
export * from "./contract-snapshot-benefit";
|
|
102
|
-
export * from "./contract-snapshot-deduction";
|
|
103
103
|
export * from "./contract-snapshot-cost";
|
|
104
|
+
export * from "./contract-snapshot-deduction";
|
|
104
105
|
export * from "./coords";
|
|
105
106
|
export * from "./day-of-week";
|
|
106
107
|
export * from "./dispatch";
|
|
@@ -144,7 +145,15 @@ export * from "./payment-cycle-document";
|
|
|
144
145
|
export * from "./payroll-config";
|
|
145
146
|
export * from "./permission";
|
|
146
147
|
export * from "./permission-group";
|
|
147
|
-
export * from "./phone-admin";
|
|
148
|
+
export * from "./phone-admin-agent";
|
|
149
|
+
export * from "./phone-admin-assigned-queue";
|
|
150
|
+
export * from "./phone-admin-prompt-fields";
|
|
151
|
+
export * from "./phone-admin-queue";
|
|
152
|
+
export * from "./phone-admin-queue-working-hours";
|
|
153
|
+
export * from "./phone-admin-queue-working-hours-day";
|
|
154
|
+
export * from "./phone-admin-snapshot";
|
|
155
|
+
export * from "./phone-admin-summary";
|
|
156
|
+
export * from "./phone-admin-system-config";
|
|
148
157
|
export * from "./phone-line";
|
|
149
158
|
export * from "./phone-line-commitment";
|
|
150
159
|
export * from "./phone-line-contract";
|
|
@@ -191,31 +200,93 @@ export * from "./shift-type";
|
|
|
191
200
|
export * from "./signing-mode";
|
|
192
201
|
export * from "./standard-operating-procedure";
|
|
193
202
|
export * from "./structured-content";
|
|
203
|
+
export * from "./structured-content-collapse-node";
|
|
204
|
+
export * from "./structured-content-date-range-filter-constraints";
|
|
205
|
+
export * from "./structured-content-date-range-filter-initial-value";
|
|
206
|
+
export * from "./structured-content-default-avatar-node";
|
|
207
|
+
export * from "./structured-content-default-avatar-value";
|
|
208
|
+
export * from "./structured-content-link-node";
|
|
209
|
+
export * from "./structured-content-link-value";
|
|
210
|
+
export * from "./structured-content-node-base";
|
|
211
|
+
export * from "./structured-content-node-layout";
|
|
212
|
+
export * from "./structured-content-root";
|
|
213
|
+
export * from "./structured-content-space-node";
|
|
214
|
+
export * from "./structured-content-table-boolean-column";
|
|
215
|
+
export * from "./structured-content-table-column-base";
|
|
216
|
+
export * from "./structured-content-table-column-sort-config";
|
|
217
|
+
export * from "./structured-content-table-date-column";
|
|
218
|
+
export * from "./structured-content-table-date-range-filter";
|
|
219
|
+
export * from "./structured-content-table-date-time-column";
|
|
220
|
+
export * from "./structured-content-table-default-avatar-column";
|
|
221
|
+
export * from "./structured-content-table-link-column";
|
|
222
|
+
export * from "./structured-content-table-named-column-base";
|
|
223
|
+
export * from "./structured-content-table-node";
|
|
224
|
+
export * from "./structured-content-table-number-column";
|
|
225
|
+
export * from "./structured-content-table-pagination";
|
|
226
|
+
export * from "./structured-content-table-select-filter";
|
|
227
|
+
export * from "./structured-content-table-tag-column";
|
|
228
|
+
export * from "./structured-content-table-text-column";
|
|
229
|
+
export * from "./structured-content-table-time-column";
|
|
230
|
+
export * from "./structured-content-table-toolbar";
|
|
231
|
+
export * from "./structured-content-table-toolbar-filter-base";
|
|
232
|
+
export * from "./structured-content-tag-node";
|
|
233
|
+
export * from "./structured-content-tag-value";
|
|
234
|
+
export * from "./structured-content-text-node";
|
|
194
235
|
export * from "./tag";
|
|
195
236
|
export * from "./tag-color";
|
|
196
237
|
export * from "./team";
|
|
197
|
-
export * from "./unit";
|
|
198
|
-
export * from "./unit-room";
|
|
199
|
-
export * from "./user";
|
|
200
|
-
export * from "./vehicle";
|
|
201
|
-
export * from "./vehicle-contract";
|
|
202
|
-
export * from "./vehicle-contract-payment";
|
|
203
|
-
export * from "./vehicle-insurance";
|
|
204
|
-
export * from "./vehicle-make";
|
|
205
|
-
export * from "./vehicle-model";
|
|
206
|
-
export * from "./vehicle-registration";
|
|
207
|
-
export * from "./vehicle-status";
|
|
208
238
|
export * from "./todo";
|
|
209
239
|
export * from "./todo-activity";
|
|
240
|
+
export * from "./todo-assignee";
|
|
241
|
+
export * from "./todo-checklist";
|
|
242
|
+
export * from "./todo-checklist-item";
|
|
210
243
|
export * from "./todo-comment";
|
|
244
|
+
export * from "./todo-comment-reaction";
|
|
211
245
|
export * from "./todo-custom-field";
|
|
246
|
+
export * from "./todo-custom-field-option";
|
|
247
|
+
export * from "./todo-custom-field-type";
|
|
248
|
+
export * from "./todo-custom-field-value";
|
|
249
|
+
export * from "./todo-dashboard";
|
|
250
|
+
export * from "./todo-dashboard-widget";
|
|
251
|
+
export * from "./todo-dashboard-widget-type";
|
|
252
|
+
export * from "./todo-dependency";
|
|
253
|
+
export * from "./todo-dependency-type";
|
|
254
|
+
export * from "./todo-doc";
|
|
212
255
|
export * from "./todo-document";
|
|
213
256
|
export * from "./todo-folder";
|
|
257
|
+
export * from "./todo-json-object";
|
|
258
|
+
export * from "./todo-json-value";
|
|
214
259
|
export * from "./todo-list";
|
|
260
|
+
export * from "./todo-list-field-config";
|
|
261
|
+
export * from "./todo-list-field-entry";
|
|
262
|
+
export * from "./todo-list-item";
|
|
263
|
+
export * from "./todo-list-member";
|
|
264
|
+
export * from "./todo-people-field-options";
|
|
265
|
+
export * from "./todo-priority";
|
|
266
|
+
export * from "./todo-recurrence-settings";
|
|
215
267
|
export * from "./todo-space";
|
|
268
|
+
export * from "./todo-space-member";
|
|
269
|
+
export * from "./todo-space-member-role";
|
|
270
|
+
export * from "./todo-space-visibility";
|
|
216
271
|
export * from "./todo-status";
|
|
272
|
+
export * from "./todo-system-field";
|
|
217
273
|
export * from "./todo-tag";
|
|
274
|
+
export * from "./todo-tag-assignment";
|
|
275
|
+
export * from "./todo-time-entry";
|
|
218
276
|
export * from "./todo-view";
|
|
277
|
+
export * from "./todo-view-type";
|
|
278
|
+
export * from "./todo-watcher";
|
|
279
|
+
export * from "./unit";
|
|
280
|
+
export * from "./unit-room";
|
|
281
|
+
export * from "./user";
|
|
282
|
+
export * from "./vehicle";
|
|
283
|
+
export * from "./vehicle-contract";
|
|
284
|
+
export * from "./vehicle-contract-payment";
|
|
285
|
+
export * from "./vehicle-insurance";
|
|
286
|
+
export * from "./vehicle-make";
|
|
287
|
+
export * from "./vehicle-model";
|
|
288
|
+
export * from "./vehicle-registration";
|
|
289
|
+
export * from "./vehicle-status";
|
|
219
290
|
export * from "./vendor";
|
|
220
291
|
export * from "./vendor-contact";
|
|
221
292
|
export * from "./zone";
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { IStructuredContentNodeBase } from "./structured-content-node-base";
|
|
2
|
+
import type { IStructuredContentNode } from "./structured-content";
|
|
3
|
+
|
|
4
|
+
export interface IStructuredContentSpaceNode extends IStructuredContentNodeBase {
|
|
5
|
+
children?: IStructuredContentNode[];
|
|
6
|
+
type: "SPACE";
|
|
7
|
+
}
|
|
@@ -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 IStructuredContentTableBooleanColumn extends IStructuredContentTableNamedColumnBase {
|
|
5
|
+
config?: IStructuredContentTableColumnSortConfig;
|
|
6
|
+
type: "BOOLEAN";
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { StructuredContentTableSortOrder } from "./structured-content";
|
|
2
|
+
import type { StructuredContentTableSortType } from "./structured-content";
|
|
3
|
+
|
|
4
|
+
export interface IStructuredContentTableColumnSortConfig {
|
|
5
|
+
sortOrder?: StructuredContentTableSortOrder;
|
|
6
|
+
sortType?: StructuredContentTableSortType;
|
|
7
|
+
sortable?: boolean;
|
|
8
|
+
}
|
|
@@ -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 IStructuredContentTableDateColumn extends IStructuredContentTableNamedColumnBase {
|
|
5
|
+
config?: IStructuredContentTableColumnSortConfig;
|
|
6
|
+
type: "DATE";
|
|
7
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { IStructuredContentTableToolbarFilterBase } from "./structured-content-table-toolbar-filter-base";
|
|
2
|
+
import type { IStructuredContentDateRangeFilterConstraints } from "./structured-content-date-range-filter-constraints";
|
|
3
|
+
import type { IStructuredContentDateRangeFilterInitialValue } from "./structured-content-date-range-filter-initial-value";
|
|
4
|
+
|
|
5
|
+
export interface IStructuredContentTableDateRangeFilter extends IStructuredContentTableToolbarFilterBase {
|
|
6
|
+
config?: {
|
|
7
|
+
constraints?: IStructuredContentDateRangeFilterConstraints;
|
|
8
|
+
initialValue?: IStructuredContentDateRangeFilterInitialValue;
|
|
9
|
+
};
|
|
10
|
+
type: "DATE_RANGE";
|
|
11
|
+
}
|
|
@@ -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 IStructuredContentTableDateTimeColumn extends IStructuredContentTableNamedColumnBase {
|
|
5
|
+
config?: IStructuredContentTableColumnSortConfig;
|
|
6
|
+
type: "DATETIME";
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { IStructuredContentTableColumnBase } from "./structured-content-table-column-base";
|
|
2
|
+
|
|
3
|
+
export interface IStructuredContentTableDefaultAvatarColumn extends IStructuredContentTableColumnBase {
|
|
4
|
+
config?: {
|
|
5
|
+
size?: number;
|
|
6
|
+
};
|
|
7
|
+
type: "DEFAULT_AVATAR";
|
|
8
|
+
}
|
|
@@ -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 IStructuredContentTableLinkColumn extends IStructuredContentTableNamedColumnBase {
|
|
5
|
+
config?: IStructuredContentTableColumnSortConfig;
|
|
6
|
+
type: "LINK";
|
|
7
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { IStructuredContentNodeBase } from "./structured-content-node-base";
|
|
2
|
+
import type { IStructuredContentTableColumn } from "./structured-content";
|
|
3
|
+
import type { IStructuredContentTablePagination } from "./structured-content-table-pagination";
|
|
4
|
+
import type { IStructuredContentTableToolbar } from "./structured-content-table-toolbar";
|
|
5
|
+
|
|
6
|
+
export interface IStructuredContentTableNode extends IStructuredContentNodeBase {
|
|
7
|
+
config?: {
|
|
8
|
+
columns?: IStructuredContentTableColumn[];
|
|
9
|
+
pagination?: IStructuredContentTablePagination;
|
|
10
|
+
toolbar?: IStructuredContentTableToolbar;
|
|
11
|
+
};
|
|
12
|
+
type: "TABLE";
|
|
13
|
+
}
|
|
@@ -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 IStructuredContentTableNumberColumn extends IStructuredContentTableNamedColumnBase {
|
|
5
|
+
config?: IStructuredContentTableColumnSortConfig;
|
|
6
|
+
type: "NUMBER";
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { IStructuredContentTableToolbarFilterBase } from "./structured-content-table-toolbar-filter-base";
|
|
2
|
+
|
|
3
|
+
export interface IStructuredContentTableSelectFilter extends IStructuredContentTableToolbarFilterBase {
|
|
4
|
+
config?: {
|
|
5
|
+
initialValue?: string;
|
|
6
|
+
};
|
|
7
|
+
type?: "SELECT";
|
|
8
|
+
}
|
|
@@ -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 IStructuredContentTableTagColumn extends IStructuredContentTableNamedColumnBase {
|
|
5
|
+
config?: IStructuredContentTableColumnSortConfig;
|
|
6
|
+
type: "TAG";
|
|
7
|
+
}
|
|
@@ -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 IStructuredContentTableTextColumn extends IStructuredContentTableNamedColumnBase {
|
|
5
|
+
config?: IStructuredContentTableColumnSortConfig;
|
|
6
|
+
type: "TEXT";
|
|
7
|
+
}
|
|
@@ -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
|
+
}
|