@trii/types 2.11.1 → 2.11.2
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/Tickets/Task.d.ts
CHANGED
|
@@ -87,6 +87,14 @@ export interface ITicketTaskSummary {
|
|
|
87
87
|
overdue: number;
|
|
88
88
|
requiredIncomplete: number;
|
|
89
89
|
}
|
|
90
|
+
/**
|
|
91
|
+
* Tasks of a ticket assigned to the REQUESTING user (per-request projection of ticket searches and GET /tickets/{id}).
|
|
92
|
+
* `pending` counts every task not COMPLETED nor CANCELLED; cancelled tasks are not counted.
|
|
93
|
+
*/
|
|
94
|
+
export interface ITicketAssignedTaskSummary {
|
|
95
|
+
pending: number;
|
|
96
|
+
completed: number;
|
|
97
|
+
}
|
|
90
98
|
export interface ICreateTicketTaskDto {
|
|
91
99
|
expectedTicketVersion: number;
|
|
92
100
|
parentTaskId?: string;
|
package/dist/Tickets/Ticket.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { ITicketFormSubmissionReference, TicketActivityType } from "./Workflow";
|
|
|
4
4
|
import { ITicketSlaState } from "./Sla";
|
|
5
5
|
import { ITicketSecurityState } from "./Security";
|
|
6
6
|
import { ITicketApprovalSummary } from "./Approval";
|
|
7
|
-
import { ITicketTaskSummary } from "./Task";
|
|
7
|
+
import { ITicketAssignedTaskSummary, ITicketTaskSummary } from "./Task";
|
|
8
8
|
import { ITicketConversationReference, TicketMessageActorType } from "./Conversation";
|
|
9
9
|
import { ITicketRoutingState } from "./Routing";
|
|
10
10
|
import { ITicketAISummary } from "./AI";
|
|
@@ -70,6 +70,11 @@ export interface ITicket {
|
|
|
70
70
|
security?: ITicketSecurityState;
|
|
71
71
|
approvalSummary?: ITicketApprovalSummary;
|
|
72
72
|
taskSummary?: ITicketTaskSummary;
|
|
73
|
+
/**
|
|
74
|
+
* Tasks assigned to the requesting user. Sent by searches and GET /tickets/{id} (zeros when the
|
|
75
|
+
* user has none); absent on mutation responses, where it means "unknown", not "none".
|
|
76
|
+
*/
|
|
77
|
+
assignedTaskSummary?: ITicketAssignedTaskSummary;
|
|
73
78
|
resolution?: ITicketResolution;
|
|
74
79
|
formSubmissions?: ITicketFormSubmissionReference[];
|
|
75
80
|
reopenedAt?: Date;
|