@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.
Files changed (91) hide show
  1. package/.github/workflows/publish.yml +2 -3
  2. package/.nvmrc +1 -0
  3. package/dist/types/client-request-category-field.d.ts +2 -25
  4. package/dist/types/client-request-field-visibility-rule.d.ts +25 -0
  5. package/dist/types/index.d.ts +87 -5
  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 +0 -1
  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-activity.d.ts +35 -0
  50. package/dist/types/todo-assignee.d.ts +8 -0
  51. package/dist/types/todo-checklist-item.d.ts +11 -0
  52. package/dist/types/todo-checklist.d.ts +10 -0
  53. package/dist/types/todo-comment-reaction.d.ts +7 -0
  54. package/dist/types/todo-comment.d.ts +12 -0
  55. package/dist/types/todo-custom-field-option.d.ts +5 -0
  56. package/dist/types/todo-custom-field-type.d.ts +26 -0
  57. package/dist/types/todo-custom-field-value.d.ts +11 -0
  58. package/dist/types/todo-custom-field.d.ts +20 -0
  59. package/dist/types/todo-dashboard-widget-type.d.ts +12 -0
  60. package/dist/types/todo-dashboard-widget.d.ts +17 -0
  61. package/dist/types/todo-dashboard.d.ts +12 -0
  62. package/dist/types/todo-dependency-type.d.ts +1 -0
  63. package/dist/types/todo-dependency.d.ts +10 -0
  64. package/dist/types/todo-doc.d.ts +17 -0
  65. package/dist/types/todo-document.d.ts +11 -0
  66. package/dist/types/todo-folder.d.ts +14 -0
  67. package/dist/types/todo-json-object.d.ts +5 -0
  68. package/dist/types/todo-json-value.d.ts +4 -0
  69. package/dist/types/todo-list-field-config.d.ts +11 -0
  70. package/dist/types/todo-list-field-entry.d.ts +13 -0
  71. package/dist/types/todo-list-item.d.ts +8 -0
  72. package/dist/types/todo-list-member.d.ts +11 -0
  73. package/dist/types/todo-list.d.ts +18 -0
  74. package/dist/types/todo-people-field-options.d.ts +4 -0
  75. package/dist/types/todo-priority.d.ts +1 -0
  76. package/dist/types/todo-recurrence-settings.d.ts +7 -0
  77. package/dist/types/todo-space-member-role.d.ts +1 -0
  78. package/dist/types/todo-space-member.d.ts +11 -0
  79. package/dist/types/todo-space-visibility.d.ts +1 -0
  80. package/dist/types/todo-space.d.ts +16 -0
  81. package/dist/types/todo-status.d.ts +21 -0
  82. package/dist/types/todo-system-field.d.ts +7 -0
  83. package/dist/types/todo-tag-assignment.d.ts +6 -0
  84. package/dist/types/todo-tag.d.ts +14 -0
  85. package/dist/types/todo-time-entry.d.ts +12 -0
  86. package/dist/types/todo-view-type.d.ts +1 -0
  87. package/dist/types/todo-view.d.ts +25 -0
  88. package/dist/types/todo-watcher.d.ts +6 -0
  89. package/dist/types/todo.d.ts +30 -0
  90. package/package.json +2 -2
  91. 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,7 @@
1
+ export interface ITodoSystemField {
2
+ key: string;
3
+ label: string;
4
+ alwaysVisible?: boolean;
5
+ }
6
+
7
+ export declare const SYSTEM_FIELDS: ITodoSystemField[];
@@ -0,0 +1,6 @@
1
+ export interface ITodoTagAssignment {
2
+ id: string;
3
+ createdAt: string;
4
+ todoId: string;
5
+ tagId: string;
6
+ }
@@ -0,0 +1,14 @@
1
+ export interface ITodoTag {
2
+ id: string;
3
+ createdAt: string;
4
+ updatedAt?: string;
5
+ deletedAt?: string;
6
+
7
+ name: string;
8
+ color: string;
9
+
10
+ spaceId: string;
11
+ version: number;
12
+
13
+ metadata?: Record<string, unknown>;
14
+ }
@@ -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,6 @@
1
+ export interface ITodoWatcher {
2
+ id: string;
3
+ createdAt: string;
4
+ todoId: string;
5
+ userId: string;
6
+ }
@@ -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": "git+https://github.com/automateinc/fleet-types.git"
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.88"
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
- }