@trii/types 2.11.2 → 2.11.4
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.
|
@@ -30,6 +30,10 @@ export declare class UserConfig_Tickets {
|
|
|
30
30
|
newContactMessage: NotificationEventPreferences;
|
|
31
31
|
firstResponseTimeOut: NotificationEventPreferences;
|
|
32
32
|
resolutionTimeOut: NotificationEventPreferences;
|
|
33
|
+
/** A ticket task was assigned to the user. Optional: configs saved before it existed lack it (off). */
|
|
34
|
+
newTaskAssigned?: NotificationEventPreferences | null;
|
|
35
|
+
/** A task assigned to the user is about to be due. Optional: configs saved before it existed lack it (off). */
|
|
36
|
+
taskDueSoon?: NotificationEventPreferences | null;
|
|
33
37
|
}
|
|
34
38
|
export declare class NotificationEventPreferences {
|
|
35
39
|
email?: boolean | null;
|
|
@@ -65,4 +69,6 @@ export declare const notificationEventOptions: {
|
|
|
65
69
|
readonly 'tickets.newContactMessage': readonly ["email", "push"];
|
|
66
70
|
readonly 'tickets.firstResponseTimeOut': readonly ["email", "push"];
|
|
67
71
|
readonly 'tickets.resolutionTimeOut': readonly ["email", "push"];
|
|
72
|
+
readonly 'tickets.newTaskAssigned': readonly ["email", "push"];
|
|
73
|
+
readonly 'tickets.taskDueSoon': readonly ["email", "push"];
|
|
68
74
|
};
|
package/dist/Tickets/Task.d.ts
CHANGED
|
@@ -90,10 +90,12 @@ export interface ITicketTaskSummary {
|
|
|
90
90
|
/**
|
|
91
91
|
* Tasks of a ticket assigned to the REQUESTING user (per-request projection of ticket searches and GET /tickets/{id}).
|
|
92
92
|
* `pending` counts every task not COMPLETED nor CANCELLED; cancelled tasks are not counted.
|
|
93
|
+
* `overdue` is the part of `pending` whose `dueAt` already passed. Optional: older API versions do not send it.
|
|
93
94
|
*/
|
|
94
95
|
export interface ITicketAssignedTaskSummary {
|
|
95
96
|
pending: number;
|
|
96
97
|
completed: number;
|
|
98
|
+
overdue?: number;
|
|
97
99
|
}
|
|
98
100
|
export interface ICreateTicketTaskDto {
|
|
99
101
|
expectedTicketVersion: number;
|