@trii/types 2.10.718 → 2.10.719
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MessageVisibility } from "../Common/Messages/Message";
|
|
2
|
-
import { ITicketAttachment, ITicketProperty, TicketPriority, TicketPropertyValue } from "./Common";
|
|
2
|
+
import { ITicketAttachment, ITicketAuditedEntity, ITicketProperty, TicketPriority, TicketPropertyValue } from "./Common";
|
|
3
3
|
import { ITicketFilter, ITicketCursorRequest, ITicketCursorResponse } from "./Api";
|
|
4
4
|
import { ITicketTimelineEntry } from "./Conversation";
|
|
5
5
|
import { ISlaMetricCycle } from "./Sla";
|
|
@@ -307,7 +307,7 @@ export type ITicketMacroAction = {
|
|
|
307
307
|
type: TicketMacroActionType.ENQUEUE;
|
|
308
308
|
queueId: string;
|
|
309
309
|
};
|
|
310
|
-
export interface ITicketMacro {
|
|
310
|
+
export interface ITicketMacro extends ITicketAuditedEntity {
|
|
311
311
|
id: string;
|
|
312
312
|
spaceId: string;
|
|
313
313
|
name: string;
|
|
@@ -329,6 +329,20 @@ export interface IApplyTicketMacroDto {
|
|
|
329
329
|
};
|
|
330
330
|
idempotencyKey: string;
|
|
331
331
|
}
|
|
332
|
+
export interface ICreateTicketMacroDto {
|
|
333
|
+
name: string;
|
|
334
|
+
description?: string;
|
|
335
|
+
actions: ITicketMacroAction[];
|
|
336
|
+
allowedRoleIds?: string[];
|
|
337
|
+
enabled?: boolean;
|
|
338
|
+
}
|
|
339
|
+
export interface IUpdateTicketMacroDto {
|
|
340
|
+
name?: string;
|
|
341
|
+
description?: string;
|
|
342
|
+
actions?: ITicketMacroAction[];
|
|
343
|
+
allowedRoleIds?: string[];
|
|
344
|
+
enabled?: boolean;
|
|
345
|
+
}
|
|
332
346
|
export declare enum TicketBulkOperationType {
|
|
333
347
|
UPDATE = "UPDATE",
|
|
334
348
|
ASSIGN = "ASSIGN",
|