@trii/types 2.10.686 → 2.10.687

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 (43) hide show
  1. package/dist/Common/Channels/Channel.d.ts +21 -3
  2. package/dist/src/Automations/Capabilities/Capability.d.ts +48 -0
  3. package/dist/src/Automations/Capabilities/Capability.js +9 -0
  4. package/dist/src/Automations/Capabilities/index.d.ts +1 -0
  5. package/dist/src/Automations/Capabilities/index.js +17 -0
  6. package/dist/src/Automations/Common.d.ts +47 -0
  7. package/dist/src/Automations/Common.js +18 -0
  8. package/dist/src/Automations/Events/Event.d.ts +41 -0
  9. package/dist/src/Automations/Events/Event.js +2 -0
  10. package/dist/src/Automations/Events/index.d.ts +1 -0
  11. package/dist/src/Automations/Events/index.js +17 -0
  12. package/dist/src/Automations/Executions/Execution.d.ts +114 -0
  13. package/dist/src/Automations/Executions/Execution.js +23 -0
  14. package/dist/src/Automations/Executions/index.d.ts +1 -0
  15. package/dist/src/Automations/Executions/index.js +17 -0
  16. package/dist/src/Automations/Flows/Canvas.d.ts +86 -0
  17. package/dist/src/Automations/Flows/Canvas.js +34 -0
  18. package/dist/src/Automations/Flows/Flow.d.ts +102 -0
  19. package/dist/src/Automations/Flows/Flow.js +34 -0
  20. package/dist/src/Automations/Flows/Requests.d.ts +71 -0
  21. package/dist/src/Automations/Flows/Requests.js +2 -0
  22. package/dist/src/Automations/Flows/Validation.d.ts +28 -0
  23. package/dist/src/Automations/Flows/Validation.js +9 -0
  24. package/dist/src/Automations/Flows/index.d.ts +4 -0
  25. package/dist/src/Automations/Flows/index.js +20 -0
  26. package/dist/src/Automations/Nodes/Node.d.ts +75 -0
  27. package/dist/src/Automations/Nodes/Node.js +18 -0
  28. package/dist/src/Automations/Nodes/index.d.ts +1 -0
  29. package/dist/src/Automations/Nodes/index.js +17 -0
  30. package/dist/src/Automations/index.d.ts +6 -0
  31. package/dist/src/Automations/index.js +22 -0
  32. package/dist/src/Common/Channels/Channel.d.ts +17 -1
  33. package/dist/src/Conversations/Conversation.d.ts +11 -0
  34. package/dist/src/Conversations/Queue.d.ts +41 -0
  35. package/dist/src/Conversations/Sla.d.ts +227 -0
  36. package/dist/src/Conversations/Sla.js +6 -0
  37. package/dist/src/Conversations/index.d.ts +1 -0
  38. package/dist/src/Conversations/index.js +1 -0
  39. package/dist/src/Tickets/Dashboard.d.ts +17 -0
  40. package/dist/src/Tickets/Dashboard.js +13 -1
  41. package/dist/src/index.d.ts +1 -0
  42. package/dist/src/index.js +2 -1
  43. package/package.json +1 -1
@@ -17,4 +17,5 @@ export * from './DashBoard/dashboardMessages';
17
17
  export * from './Survey';
18
18
  export * from './Queue';
19
19
  export * from './Routing';
20
+ export * from './Sla';
20
21
  export * from './Transfer';
@@ -56,4 +56,5 @@ __exportStar(require("./DashBoard/dashboardMessages"), exports);
56
56
  __exportStar(require("./Survey"), exports);
57
57
  __exportStar(require("./Queue"), exports);
58
58
  __exportStar(require("./Routing"), exports);
59
+ __exportStar(require("./Sla"), exports);
59
60
  __exportStar(require("./Transfer"), exports);
@@ -193,6 +193,17 @@ export declare enum TicketMetricCode {
193
193
  SECURITY_DENIAL_COUNT = "SECURITY_DENIAL_COUNT",
194
194
  PII_ACCESS_COUNT = "PII_ACCESS_COUNT"
195
195
  }
196
+ export declare enum DashboardIcon {
197
+ DASHBOARD = "DASHBOARD",
198
+ HOME = "HOME",
199
+ SUPPORT = "SUPPORT",
200
+ ANALYTICS = "ANALYTICS",
201
+ REPORTS = "REPORTS",
202
+ USERS = "USERS",
203
+ SETTINGS = "SETTINGS",
204
+ FAVORITES = "FAVORITES",
205
+ QUICK_ACTIONS = "QUICK_ACTIONS"
206
+ }
196
207
  export interface ITicketAnalyticsFilter extends ITicketFilter {
197
208
  range: ITicketDateRange;
198
209
  channelTypes?: ChannelType[];
@@ -318,6 +329,8 @@ export interface ITicketDashboard {
318
329
  refreshMode: TicketWidgetRefreshMode;
319
330
  refreshIntervalSeconds?: number;
320
331
  isDefault?: boolean;
332
+ order: number;
333
+ icon?: DashboardIcon;
321
334
  createdAt: Date;
322
335
  createdBy: string;
323
336
  updatedAt?: Date;
@@ -334,7 +347,9 @@ export interface ICreateTicketDashboardDto {
334
347
  widgets?: ITicketWidgetConfiguration[];
335
348
  refreshMode?: TicketWidgetRefreshMode;
336
349
  refreshIntervalSeconds?: number;
350
+ order?: number;
337
351
  isDefault?: boolean;
352
+ icon?: DashboardIcon;
338
353
  }
339
354
  export interface IUpdateTicketDashboardDto {
340
355
  name?: string;
@@ -347,7 +362,9 @@ export interface IUpdateTicketDashboardDto {
347
362
  widgets?: ITicketWidgetConfiguration[];
348
363
  refreshMode?: TicketWidgetRefreshMode;
349
364
  refreshIntervalSeconds?: number;
365
+ order?: number;
350
366
  isDefault?: boolean;
367
+ icon?: DashboardIcon;
351
368
  }
352
369
  export interface ITicketDashboardTemplate {
353
370
  id: string;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TicketMetricCode = exports.TicketDrilldownTarget = exports.TicketWidgetRefreshMode = exports.TicketMetricFormat = exports.TicketComparisonMode = exports.TicketTimeGranularity = exports.TicketAnalyticsDimension = exports.TicketMetricAggregation = exports.TicketWidgetType = exports.TicketDashboardVisibility = exports.TicketAnalyticsAudience = void 0;
3
+ exports.DashboardIcon = exports.TicketMetricCode = exports.TicketDrilldownTarget = exports.TicketWidgetRefreshMode = exports.TicketMetricFormat = exports.TicketComparisonMode = exports.TicketTimeGranularity = exports.TicketAnalyticsDimension = exports.TicketMetricAggregation = exports.TicketWidgetType = exports.TicketDashboardVisibility = exports.TicketAnalyticsAudience = void 0;
4
4
  var TicketAnalyticsAudience;
5
5
  (function (TicketAnalyticsAudience) {
6
6
  TicketAnalyticsAudience["AGENT"] = "AGENT";
@@ -204,3 +204,15 @@ var TicketMetricCode;
204
204
  TicketMetricCode["SECURITY_DENIAL_COUNT"] = "SECURITY_DENIAL_COUNT";
205
205
  TicketMetricCode["PII_ACCESS_COUNT"] = "PII_ACCESS_COUNT";
206
206
  })(TicketMetricCode || (exports.TicketMetricCode = TicketMetricCode = {}));
207
+ var DashboardIcon;
208
+ (function (DashboardIcon) {
209
+ DashboardIcon["DASHBOARD"] = "DASHBOARD";
210
+ DashboardIcon["HOME"] = "HOME";
211
+ DashboardIcon["SUPPORT"] = "SUPPORT";
212
+ DashboardIcon["ANALYTICS"] = "ANALYTICS";
213
+ DashboardIcon["REPORTS"] = "REPORTS";
214
+ DashboardIcon["USERS"] = "USERS";
215
+ DashboardIcon["SETTINGS"] = "SETTINGS";
216
+ DashboardIcon["FAVORITES"] = "FAVORITES";
217
+ DashboardIcon["QUICK_ACTIONS"] = "QUICK_ACTIONS";
218
+ })(DashboardIcon || (exports.DashboardIcon = DashboardIcon = {}));
@@ -20,3 +20,4 @@ export * as AI from './AI/index';
20
20
  export * as Shop from './Shop/index';
21
21
  export * as APIResponses from './ApiResponses/index';
22
22
  export * as Forms from './Forms/index';
23
+ export * as Automations from './Automations/index';
package/dist/src/index.js CHANGED
@@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.Forms = exports.APIResponses = exports.Shop = exports.AI = exports.APIKeys = exports.EventsQueue = exports.ApiResponses = exports.Presence = exports.Users = exports.Collections = exports.Sales = exports.Tickets = exports.Spaces = exports.Reports = exports.Security = exports.Calls = exports.Conversations = exports.Calendar = exports.Contacts = exports.Common = exports.AuditLogs = exports.Accounts = void 0;
36
+ exports.Automations = exports.Forms = exports.APIResponses = exports.Shop = exports.AI = exports.APIKeys = exports.EventsQueue = exports.ApiResponses = exports.Presence = exports.Users = exports.Collections = exports.Sales = exports.Tickets = exports.Spaces = exports.Reports = exports.Security = exports.Calls = exports.Conversations = exports.Calendar = exports.Contacts = exports.Common = exports.AuditLogs = exports.Accounts = void 0;
37
37
  exports.Accounts = __importStar(require("./Accounts/index"));
38
38
  exports.AuditLogs = __importStar(require("./AuditLogs/index"));
39
39
  exports.Common = __importStar(require("./Common/index"));
@@ -56,3 +56,4 @@ exports.AI = __importStar(require("./AI/index"));
56
56
  exports.Shop = __importStar(require("./Shop/index"));
57
57
  exports.APIResponses = __importStar(require("./ApiResponses/index"));
58
58
  exports.Forms = __importStar(require("./Forms/index"));
59
+ exports.Automations = __importStar(require("./Automations/index"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trii/types",
3
- "version": "2.10.686",
3
+ "version": "2.10.687",
4
4
  "description": "Types definitions for Trii projects - ",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",