@trii/types 2.10.808 → 2.10.809

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.
@@ -358,11 +358,6 @@ export type ITicketMacroAction = {
358
358
  } | {
359
359
  type: TicketMacroActionType.ASSIGN;
360
360
  userId: string;
361
- groupId?: string;
362
- } | {
363
- type: TicketMacroActionType.ASSIGN;
364
- userId?: string;
365
- groupId: string;
366
361
  } | {
367
362
  type: TicketMacroActionType.TRANSITION;
368
363
  statusId: string;
@@ -31,9 +31,6 @@ export interface ITicketApprovalQuorum {
31
31
  export type ITicketApprover = {
32
32
  type: "USER";
33
33
  userId: string;
34
- } | {
35
- type: "GROUP";
36
- groupId: string;
37
34
  } | {
38
35
  type: "ROLE";
39
36
  roleId: string;
@@ -7,7 +7,12 @@ export interface ITicketCategory extends ITicketAuditedEntity {
7
7
  order: number;
8
8
  enabled: boolean;
9
9
  defaultPriority?: TicketPriority;
10
- defaultAssignedGroupId?: string;
10
+ /**
11
+ * Queue pre-selected in the agent's create dialog for this category. Only the
12
+ * category's own value is stored (the front resolves the inherited one); the
13
+ * API never applies it when a ticket is created.
14
+ */
15
+ defaultQueueId?: string;
11
16
  defaultSlaPolicyId?: string;
12
17
  securityPolicyId?: string;
13
18
  formRequirements?: ITicketFormRequirement[];
@@ -30,7 +35,7 @@ export interface ICreateTicketCategoryDto {
30
35
  order?: number;
31
36
  enabled?: boolean;
32
37
  defaultPriority?: TicketPriority;
33
- defaultAssignedGroupId?: string;
38
+ defaultQueueId?: string;
34
39
  defaultSlaPolicyId?: string;
35
40
  securityPolicyId?: string;
36
41
  formRequirements?: ITicketFormRequirement[];
@@ -44,7 +49,7 @@ export interface IUpdateTicketCategoryDto {
44
49
  order?: number;
45
50
  enabled?: boolean;
46
51
  defaultPriority?: TicketPriority | null;
47
- defaultAssignedGroupId?: string | null;
52
+ defaultQueueId?: string | null;
48
53
  defaultSlaPolicyId?: string | null;
49
54
  securityPolicyId?: string | null;
50
55
  formRequirements?: ITicketFormRequirement[] | null;
@@ -12,8 +12,7 @@ export declare enum TicketAnalyticsAudience {
12
12
  export declare enum TicketDashboardVisibility {
13
13
  PRIVATE = "PRIVATE",
14
14
  SHARED = "SHARED",
15
- ROLE = "ROLE",
16
- GROUP = "GROUP"
15
+ ROLE = "ROLE"
17
16
  }
18
17
  export declare enum TicketWidgetType {
19
18
  KPI = "KPI",
@@ -389,7 +388,6 @@ export interface ITicketDashboard {
389
388
  audience: TicketAnalyticsAudience;
390
389
  visibility: TicketDashboardVisibility;
391
390
  sharedRoleIds?: string[];
392
- sharedGroupIds?: string[];
393
391
  defaultFilter?: ITicketAnalyticsFilter;
394
392
  widgets: ITicketWidgetConfiguration[];
395
393
  refreshMode: TicketWidgetRefreshMode;
@@ -408,7 +406,6 @@ export interface ICreateTicketDashboardDto {
408
406
  audience: TicketAnalyticsAudience;
409
407
  visibility: TicketDashboardVisibility;
410
408
  sharedRoleIds?: string[];
411
- sharedGroupIds?: string[];
412
409
  defaultFilter?: ITicketAnalyticsFilter;
413
410
  widgets?: ITicketWidgetConfiguration[];
414
411
  refreshMode?: TicketWidgetRefreshMode;
@@ -423,7 +420,6 @@ export interface IUpdateTicketDashboardDto {
423
420
  audience?: TicketAnalyticsAudience;
424
421
  visibility?: TicketDashboardVisibility;
425
422
  sharedRoleIds?: string[];
426
- sharedGroupIds?: string[];
427
423
  defaultFilter?: ITicketAnalyticsFilter;
428
424
  widgets?: ITicketWidgetConfiguration[];
429
425
  refreshMode?: TicketWidgetRefreshMode;
@@ -490,7 +486,6 @@ export interface ITicketAnalyticsGoal {
490
486
  filter: ITicketAnalyticsFilter;
491
487
  validFrom: Date;
492
488
  validUntil?: Date;
493
- ownerGroupId?: string;
494
489
  ownerUserId?: string;
495
490
  createdAt: Date;
496
491
  }
@@ -501,7 +496,6 @@ export interface ICreateTicketAnalyticsGoalDto {
501
496
  filter: ITicketAnalyticsFilter;
502
497
  validFrom: Date;
503
498
  validUntil?: Date;
504
- ownerGroupId?: string;
505
499
  ownerUserId?: string;
506
500
  }
507
501
  export interface IUpdateTicketAnalyticsGoalDto {
@@ -511,7 +505,6 @@ export interface IUpdateTicketAnalyticsGoalDto {
511
505
  filter?: ITicketAnalyticsFilter;
512
506
  validFrom?: Date;
513
507
  validUntil?: Date;
514
- ownerGroupId?: string;
515
508
  ownerUserId?: string;
516
509
  }
517
510
  /** Reports freshness so users know whether a card is real-time, delayed or partial. */
@@ -13,7 +13,6 @@ var TicketDashboardVisibility;
13
13
  TicketDashboardVisibility["PRIVATE"] = "PRIVATE";
14
14
  TicketDashboardVisibility["SHARED"] = "SHARED";
15
15
  TicketDashboardVisibility["ROLE"] = "ROLE";
16
- TicketDashboardVisibility["GROUP"] = "GROUP";
17
16
  })(TicketDashboardVisibility || (exports.TicketDashboardVisibility = TicketDashboardVisibility = {}));
18
17
  var TicketWidgetType;
19
18
  (function (TicketWidgetType) {
@@ -59,16 +59,12 @@ export interface ITicketGroupUsageRef {
59
59
  export interface ITicketGroupUsages {
60
60
  tickets: number;
61
61
  tasks: number;
62
- categories: ITicketGroupUsageRef[];
63
62
  requestTypes: ITicketGroupUsageRef[];
64
63
  queues: ITicketGroupUsageRef[];
65
64
  views: ITicketGroupUsageRef[];
66
65
  dashboards: ITicketGroupUsageRef[];
67
- quickResponses: ITicketGroupUsageRef[];
68
- analyticsGoals: ITicketGroupUsageRef[];
69
66
  macros: ITicketGroupUsageRef[];
70
67
  escalationPolicies: ITicketGroupUsageRef[];
71
- approvalDefinitions: ITicketGroupUsageRef[];
72
68
  securityPolicies: ITicketGroupUsageRef[];
73
69
  slaPolicies: ITicketGroupUsageRef[];
74
70
  }
@@ -32,7 +32,7 @@ export interface ITicketQuickResponseCategory extends ITicketAuditedEntity {
32
32
  }
33
33
  /**
34
34
  * One prepared text. `applicableCategoryIds`/`applicableSubcategoryIds` point
35
- * at real `ITicketCategory` rows. `roleIds`/`groupIds`/`userIds` express
35
+ * at real `ITicketCategory` rows. `roleIds`/`userIds` express
36
36
  * VISIBILITY only (discoverability), never extra ticket permissions. Empty
37
37
  * visibility arrays mean "everyone".
38
38
  */
@@ -49,10 +49,7 @@ export interface ITicketQuickResponse extends ITicketAuditedEntity {
49
49
  applicableSubcategoryIds: string[];
50
50
  applicableRequestTypeIds: string[];
51
51
  applicablePortalIds: string[];
52
- /** Agent-group scope dimension (mirrors `groupIds`/`roleIds`/`userIds`). */
53
- applicableGroupIds: string[];
54
52
  roleIds: string[];
55
- groupIds: string[];
56
53
  userIds: string[];
57
54
  status: QuickResponseStatus;
58
55
  }
@@ -425,6 +425,8 @@ export interface ITicketQueueUsages {
425
425
  dashboards: ITicketQueueUsageRef[];
426
426
  /** Analytics goals whose filter includes the queue. */
427
427
  analyticsGoals: ITicketQueueUsageRef[];
428
+ /** Categories that pre-select the queue as their default queue. */
429
+ categories: ITicketQueueUsageRef[];
428
430
  }
429
431
  /** Mirror of TicketSkillWarningCode; only one member is needed today. */
430
432
  export declare enum EscalationPolicyWarningCode {
@@ -212,7 +212,6 @@ export interface IServiceCommitment {
212
212
  type: ServiceCommitmentType;
213
213
  name: string;
214
214
  customerOrganizationId?: string;
215
- responsibleGroupId?: string;
216
215
  providerId?: string;
217
216
  targets: ISlaTarget[];
218
217
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trii/types",
3
- "version": "2.10.808",
3
+ "version": "2.10.809",
4
4
  "description": "Types definitions for Trii projects - ",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",