@trii/types 2.10.756 → 2.10.758
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/Automations/Events/Event.d.ts +3 -3
- package/dist/Common/Messages/Message.d.ts +2 -0
- package/dist/Contacts/CommunicationEndpoint.d.ts +8 -8
- package/dist/Conversations/Classifications/ConversationClassificationEvents.d.ts +2 -2
- package/dist/Conversations/Conversation.d.ts +8 -8
- package/dist/Conversations/ConversationSlaClockState.d.ts +1 -1
- package/dist/Conversations/Routing.d.ts +10 -10
- package/dist/Events/DomainEventTypes.d.ts +23 -23
- package/dist/Tickets/Group.d.ts +74 -0
- package/dist/Tickets/index.d.ts +1 -0
- package/dist/Tickets/index.js +1 -0
- package/dist/src/Common/Channels/Channel.d.ts +1 -26
- package/dist/src/Contacts/contacts.d.ts +2 -2
- package/dist/src/Conversations/Conversation.d.ts +48 -241
- package/dist/src/Conversations/Conversation.js +34 -14
- package/dist/src/Conversations/DashBoard/dashboard.d.ts +2 -2
- package/dist/src/Conversations/DashBoard/dashboardForms.d.ts +44 -0
- package/dist/src/Conversations/DashBoard/dashboardForms.js +24 -0
- package/dist/src/Conversations/Flows/Workflows/Workflow.d.ts +123 -280
- package/dist/src/Conversations/Flows/Workflows/Workflow.js +35 -85
- package/dist/src/Conversations/Groups/Group.d.ts +8 -2
- package/dist/src/Conversations/Groups/Group.js +6 -0
- package/dist/src/Conversations/Label.d.ts +1 -1
- package/dist/src/Conversations/WebHook.d.ts +1 -1
- package/dist/src/Conversations/index.d.ts +1 -9
- package/dist/src/Conversations/index.js +1 -9
- package/dist/src/Tickets/Category.d.ts +0 -18
- package/dist/src/Tickets/Dashboard.d.ts +0 -77
- package/dist/src/Tickets/Dashboard.js +1 -13
- package/dist/src/Tickets/Fields.d.ts +0 -1
- package/dist/src/Tickets/Layouts.d.ts +1 -3
- package/dist/src/Tickets/Workflow.d.ts +0 -20
- package/dist/src/Users/UserTrii.d.ts +0 -10
- package/dist/src/Users/UserTrii.js +1 -8
- package/dist/src/index.d.ts +0 -3
- package/dist/src/index.js +1 -4
- package/package.json +1 -1
- package/dist/AI/MapPolygon.d.ts +0 -22
- package/dist/Conversations/Flows/Nodes/NodeAIChatBot.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeAIChatBot.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeApi.d.ts +0 -2
- package/dist/Conversations/Flows/Nodes/NodeApi.js +0 -183
- package/dist/Conversations/Flows/Nodes/NodeBotIA.d.ts +0 -15
- package/dist/Conversations/Flows/Nodes/NodeBotIA.js +0 -6
- package/dist/Conversations/Flows/Nodes/NodeChatBotIA.d.ts +0 -15
- package/dist/Conversations/Flows/Nodes/NodeChatBotIA.js +0 -6
- package/dist/Conversations/Flows/Nodes/NodeConditional.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeConditional.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeContactSearch.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeContactSearch.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeContactUpdate.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeContactUpdate.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeConversationAssignTo.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeConversationAssignTo.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeConversationFinalize.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeConversationFinalize.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeConversationUpdate.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeConversationUpdate.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeFillForm.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeFillForm.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeFillTicket.d.ts +0 -1
- package/dist/Conversations/Flows/Nodes/NodeFillTicket.js +0 -9
- package/dist/Conversations/Flows/Nodes/NodeGoogleCalendar.d.ts +0 -20
- package/dist/Conversations/Flows/Nodes/NodeGoogleCalendar.js +0 -2
- package/dist/Conversations/Flows/Nodes/NodeGoogleMaps copy.d.ts +0 -12
- package/dist/Conversations/Flows/Nodes/NodeGoogleMaps copy.js +0 -6
- package/dist/Conversations/Flows/Nodes/NodeGoogleMaps.d.ts +0 -15
- package/dist/Conversations/Flows/Nodes/NodeGoogleMaps.js +0 -2
- package/dist/Conversations/Flows/Nodes/NodeMsgReply.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeMsgReply.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeMsgSend.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeMsgSend.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeMsgText.d.ts +0 -1
- package/dist/Conversations/Flows/Nodes/NodeMsgText.js +0 -27
- package/dist/Conversations/Flows/Nodes/NodeMsgWaitResponse.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeMsgWaitResponse.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeRedirect.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeRedirect.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeSendEmail.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeSendEmail.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeSqlQuery.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeSqlQuery.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeStart.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeStart.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeTimeScheduleControl.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeTimeScheduleControl.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeTimeTimer.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeTimeTimer.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeTimeWaitUntil.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeTimeWaitUntil.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeToolCalculator.d.ts +0 -2
- package/dist/Conversations/Flows/Nodes/NodeToolCalculator.js +0 -37
- package/dist/Conversations/Flows/Nodes/NodeToolContacts.d.ts +0 -2
- package/dist/Conversations/Flows/Nodes/NodeToolContacts.js +0 -59
- package/dist/Conversations/Flows/Nodes/NodeToolFunction.d.ts +0 -2
- package/dist/Conversations/Flows/Nodes/NodeToolFunction.js +0 -45
- package/dist/Conversations/Flows/Nodes/NodeToolGoogleCalendar.d.ts +0 -2
- package/dist/Conversations/Flows/Nodes/NodeToolGoogleCalendar.js +0 -87
- package/dist/Conversations/Flows/Nodes/NodeToolGoogleMaps.d.ts +0 -1
- package/dist/Conversations/Flows/Nodes/NodeToolGoogleMaps.js +0 -2
- package/dist/Conversations/Flows/Nodes/NodeToolKnowledge.d.ts +0 -2
- package/dist/Conversations/Flows/Nodes/NodeToolKnowledge.js +0 -52
- package/dist/Conversations/Flows/Nodes/NodeToolMapsCheckPolygon.d.ts +0 -2
- package/dist/Conversations/Flows/Nodes/NodeToolMapsCheckPolygon.js +0 -59
- package/dist/Conversations/Flows/Nodes/NodeToolMcpClient.d.ts +0 -2
- package/dist/Conversations/Flows/Nodes/NodeToolMcpClient.js +0 -45
- package/dist/Conversations/Flows/Nodes/NodeToolShoppingCart.d.ts +0 -2
- package/dist/Conversations/Flows/Nodes/NodeToolShoppingCart.js +0 -81
- package/dist/Conversations/Flows/Nodes/index.d.ts +0 -24
- package/dist/Conversations/Flows/Nodes/index.js +0 -40
- package/dist/Presence/ChannelRoutingState.d.ts +0 -17
- package/dist/Presence/ChannelRoutingState.js +0 -9
- package/dist/Tickets/AccessLevel.d.ts +0 -5
- package/dist/Tickets/AccessLevel.js +0 -9
- package/dist/src/Automations/Capabilities/Capability.d.ts +0 -48
- package/dist/src/Automations/Capabilities/Capability.js +0 -9
- package/dist/src/Automations/Capabilities/index.d.ts +0 -1
- package/dist/src/Automations/Capabilities/index.js +0 -17
- package/dist/src/Automations/Common.d.ts +0 -47
- package/dist/src/Automations/Common.js +0 -18
- package/dist/src/Automations/Events/Event.d.ts +0 -41
- package/dist/src/Automations/Events/Event.js +0 -2
- package/dist/src/Automations/Events/index.d.ts +0 -1
- package/dist/src/Automations/Events/index.js +0 -17
- package/dist/src/Automations/Executions/Execution.d.ts +0 -114
- package/dist/src/Automations/Executions/Execution.js +0 -23
- package/dist/src/Automations/Executions/index.d.ts +0 -1
- package/dist/src/Automations/Executions/index.js +0 -17
- package/dist/src/Automations/Flows/Canvas.d.ts +0 -86
- package/dist/src/Automations/Flows/Canvas.js +0 -34
- package/dist/src/Automations/Flows/Flow.d.ts +0 -102
- package/dist/src/Automations/Flows/Flow.js +0 -34
- package/dist/src/Automations/Flows/Requests.d.ts +0 -71
- package/dist/src/Automations/Flows/Requests.js +0 -2
- package/dist/src/Automations/Flows/Validation.d.ts +0 -28
- package/dist/src/Automations/Flows/Validation.js +0 -9
- package/dist/src/Automations/Flows/index.d.ts +0 -4
- package/dist/src/Automations/Flows/index.js +0 -20
- package/dist/src/Automations/Nodes/Node.d.ts +0 -75
- package/dist/src/Automations/Nodes/Node.js +0 -18
- package/dist/src/Automations/Nodes/index.d.ts +0 -1
- package/dist/src/Automations/Nodes/index.js +0 -17
- package/dist/src/Automations/index.d.ts +0 -6
- package/dist/src/Automations/index.js +0 -22
- package/dist/src/Chats/Chat.d.ts +0 -61
- package/dist/src/Chats/Chat.js +0 -28
- package/dist/src/Conversations/Assignment.d.ts +0 -81
- package/dist/src/Conversations/Assignment.js +0 -4
- package/dist/src/Conversations/Outbox.d.ts +0 -24
- package/dist/src/Conversations/Outbox.js +0 -4
- package/dist/src/Conversations/Queue.d.ts +0 -107
- package/dist/src/Conversations/Queue.js +0 -4
- package/dist/src/Conversations/Routing.d.ts +0 -164
- package/dist/src/Conversations/Routing.js +0 -2
- package/dist/src/Conversations/Sla.d.ts +0 -227
- package/dist/src/Conversations/Sla.js +0 -6
- package/dist/src/Conversations/Transfer.d.ts +0 -73
- package/dist/src/Conversations/Transfer.js +0 -2
- package/dist/src/Forms/API.d.ts +0 -53
- package/dist/src/Forms/API.js +0 -2
- package/dist/src/Forms/SubmittedForm.d.ts +0 -56
- package/dist/src/Forms/SubmittedForm.js +0 -9
- package/dist/src/Forms/index.d.ts +0 -2
- package/dist/src/Forms/index.js +0 -18
- package/dist/src/Presence/AgentPause.d.ts +0 -24
- package/dist/src/Presence/AgentPause.js +0 -19
- package/dist/src/Presence/QueueParticipation.d.ts +0 -17
- package/dist/src/Presence/QueueParticipation.js +0 -2
- package/dist/src/Presence/QueueRoutingState.d.ts +0 -27
- package/dist/src/Presence/QueueRoutingState.js +0 -9
- package/dist/src/Presence/index.d.ts +0 -3
- package/dist/src/Presence/index.js +0 -19
- /package/dist/{src/Conversations → Conversations}/InboxMongo.d.ts +0 -0
- /package/dist/{src/Conversations → Conversations}/InboxMongo.js +0 -0
- /package/dist/{src/Conversations → Conversations}/InboxProjection.d.ts +0 -0
- /package/dist/{src/Conversations → Conversations}/InboxProjection.js +0 -0
- /package/dist/{AI/MapPolygon.js → Tickets/Group.js} +0 -0
|
@@ -51,21 +51,3 @@ export interface IUpdateTicketCategoryDto {
|
|
|
51
51
|
fieldDefinitionIds?: string[] | null;
|
|
52
52
|
layoutIds?: string[] | null;
|
|
53
53
|
}
|
|
54
|
-
export interface ICreateTicketResolutionTypeDto {
|
|
55
|
-
name: string;
|
|
56
|
-
description?: string;
|
|
57
|
-
enabled?: boolean;
|
|
58
|
-
order?: number;
|
|
59
|
-
formRequirements?: ITicketFormRequirement[];
|
|
60
|
-
fieldDefinitionIds?: string[];
|
|
61
|
-
layoutIds?: string[];
|
|
62
|
-
}
|
|
63
|
-
export interface IUpdateTicketResolutionTypeDto {
|
|
64
|
-
name?: string;
|
|
65
|
-
description?: string | null;
|
|
66
|
-
enabled?: boolean;
|
|
67
|
-
order?: number;
|
|
68
|
-
formRequirements?: ITicketFormRequirement[] | null;
|
|
69
|
-
fieldDefinitionIds?: string[] | null;
|
|
70
|
-
layoutIds?: string[] | null;
|
|
71
|
-
}
|
|
@@ -193,17 +193,6 @@ 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
|
-
}
|
|
207
196
|
export interface ITicketAnalyticsFilter extends ITicketFilter {
|
|
208
197
|
range: ITicketDateRange;
|
|
209
198
|
channelTypes?: ChannelType[];
|
|
@@ -329,43 +318,11 @@ export interface ITicketDashboard {
|
|
|
329
318
|
refreshMode: TicketWidgetRefreshMode;
|
|
330
319
|
refreshIntervalSeconds?: number;
|
|
331
320
|
isDefault?: boolean;
|
|
332
|
-
order: number;
|
|
333
|
-
icon?: DashboardIcon;
|
|
334
321
|
createdAt: Date;
|
|
335
322
|
createdBy: string;
|
|
336
323
|
updatedAt?: Date;
|
|
337
324
|
updatedBy?: string;
|
|
338
325
|
}
|
|
339
|
-
export interface ICreateTicketDashboardDto {
|
|
340
|
-
name: string;
|
|
341
|
-
description?: string;
|
|
342
|
-
audience: TicketAnalyticsAudience;
|
|
343
|
-
visibility: TicketDashboardVisibility;
|
|
344
|
-
sharedRoleIds?: string[];
|
|
345
|
-
sharedGroupIds?: string[];
|
|
346
|
-
defaultFilter?: ITicketAnalyticsFilter;
|
|
347
|
-
widgets?: ITicketWidgetConfiguration[];
|
|
348
|
-
refreshMode?: TicketWidgetRefreshMode;
|
|
349
|
-
refreshIntervalSeconds?: number;
|
|
350
|
-
order?: number;
|
|
351
|
-
isDefault?: boolean;
|
|
352
|
-
icon?: DashboardIcon;
|
|
353
|
-
}
|
|
354
|
-
export interface IUpdateTicketDashboardDto {
|
|
355
|
-
name?: string;
|
|
356
|
-
description?: string;
|
|
357
|
-
audience?: TicketAnalyticsAudience;
|
|
358
|
-
visibility?: TicketDashboardVisibility;
|
|
359
|
-
sharedRoleIds?: string[];
|
|
360
|
-
sharedGroupIds?: string[];
|
|
361
|
-
defaultFilter?: ITicketAnalyticsFilter;
|
|
362
|
-
widgets?: ITicketWidgetConfiguration[];
|
|
363
|
-
refreshMode?: TicketWidgetRefreshMode;
|
|
364
|
-
refreshIntervalSeconds?: number;
|
|
365
|
-
order?: number;
|
|
366
|
-
isDefault?: boolean;
|
|
367
|
-
icon?: DashboardIcon;
|
|
368
|
-
}
|
|
369
326
|
export interface ITicketDashboardTemplate {
|
|
370
327
|
id: string;
|
|
371
328
|
spaceId: string;
|
|
@@ -375,20 +332,6 @@ export interface ITicketDashboardTemplate {
|
|
|
375
332
|
widgets: ITicketWidgetConfiguration[];
|
|
376
333
|
enabled: boolean;
|
|
377
334
|
}
|
|
378
|
-
export interface ICreateTicketDashboardTemplateDto {
|
|
379
|
-
name: string;
|
|
380
|
-
description?: string;
|
|
381
|
-
audience: TicketAnalyticsAudience;
|
|
382
|
-
widgets?: ITicketWidgetConfiguration[];
|
|
383
|
-
enabled?: boolean;
|
|
384
|
-
}
|
|
385
|
-
export interface IUpdateTicketDashboardTemplateDto {
|
|
386
|
-
name?: string;
|
|
387
|
-
description?: string;
|
|
388
|
-
audience?: TicketAnalyticsAudience;
|
|
389
|
-
widgets?: ITicketWidgetConfiguration[];
|
|
390
|
-
enabled?: boolean;
|
|
391
|
-
}
|
|
392
335
|
export interface ITicketDashboardSnapshot {
|
|
393
336
|
id: string;
|
|
394
337
|
dashboardId: string;
|
|
@@ -428,26 +371,6 @@ export interface ITicketAnalyticsGoal {
|
|
|
428
371
|
ownerUserId?: string;
|
|
429
372
|
createdAt: Date;
|
|
430
373
|
}
|
|
431
|
-
export interface ICreateTicketAnalyticsGoalDto {
|
|
432
|
-
name: string;
|
|
433
|
-
metric: TicketMetricCode;
|
|
434
|
-
target: number;
|
|
435
|
-
filter: ITicketAnalyticsFilter;
|
|
436
|
-
validFrom: Date;
|
|
437
|
-
validUntil?: Date;
|
|
438
|
-
ownerGroupId?: string;
|
|
439
|
-
ownerUserId?: string;
|
|
440
|
-
}
|
|
441
|
-
export interface IUpdateTicketAnalyticsGoalDto {
|
|
442
|
-
name?: string;
|
|
443
|
-
metric?: TicketMetricCode;
|
|
444
|
-
target?: number;
|
|
445
|
-
filter?: ITicketAnalyticsFilter;
|
|
446
|
-
validFrom?: Date;
|
|
447
|
-
validUntil?: Date;
|
|
448
|
-
ownerGroupId?: string;
|
|
449
|
-
ownerUserId?: string;
|
|
450
|
-
}
|
|
451
374
|
/** Reports freshness so users know whether a card is real-time, delayed or partial. */
|
|
452
375
|
export interface ITicketAnalyticsFreshness {
|
|
453
376
|
metric: TicketMetricCode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
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;
|
|
4
4
|
var TicketAnalyticsAudience;
|
|
5
5
|
(function (TicketAnalyticsAudience) {
|
|
6
6
|
TicketAnalyticsAudience["AGENT"] = "AGENT";
|
|
@@ -204,15 +204,3 @@ 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 = {}));
|
|
@@ -90,7 +90,6 @@ export interface ITicketFieldDefinition extends ITicketAuditedEntity {
|
|
|
90
90
|
objectFields?: ITicketObjectField[];
|
|
91
91
|
validation?: ITicketFieldValidation;
|
|
92
92
|
scopeType: TicketFieldScopeType;
|
|
93
|
-
version: number;
|
|
94
93
|
categoryIds?: string[];
|
|
95
94
|
requestTypeIds?: string[];
|
|
96
95
|
conditions?: ITicketFieldCondition[];
|
|
@@ -36,8 +36,6 @@ export interface ITicketLayoutSection {
|
|
|
36
36
|
collapsedByDefault?: boolean;
|
|
37
37
|
fields: ITicketLayoutField[];
|
|
38
38
|
}
|
|
39
|
-
export interface ITicketLayoutSectionDTO extends Omit<ITicketLayoutSection, 'id'> {
|
|
40
|
-
}
|
|
41
39
|
/** Controls presentation only; validation remains authoritative in ITicketFieldDefinition. */
|
|
42
40
|
export interface ITicketLayout extends ITicketAuditedEntity {
|
|
43
41
|
name: string;
|
|
@@ -58,7 +56,7 @@ export interface ICreateTicketLayoutDto {
|
|
|
58
56
|
categoryIds?: string[];
|
|
59
57
|
requestTypeIds?: string[];
|
|
60
58
|
roleIds?: string[];
|
|
61
|
-
sections:
|
|
59
|
+
sections: ITicketLayoutSection[];
|
|
62
60
|
}
|
|
63
61
|
export interface IUpdateTicketLayoutDto extends Partial<ICreateTicketLayoutDto> {
|
|
64
62
|
enabled?: boolean;
|
|
@@ -11,13 +11,6 @@ export interface ITicketStatus extends ITicketAuditedEntity {
|
|
|
11
11
|
isInitial: boolean;
|
|
12
12
|
isFinal: boolean;
|
|
13
13
|
enabled: boolean;
|
|
14
|
-
version: number;
|
|
15
|
-
}
|
|
16
|
-
export interface ITicketStatusCreateDTO extends Omit<ITicketStatus, keyof ITicketAuditedEntity | 'enabled' | 'version'> {
|
|
17
|
-
}
|
|
18
|
-
export interface ITicketStatusUpdateDTO extends Partial<Omit<ITicketStatus, keyof ITicketAuditedEntity | 'version'>> {
|
|
19
|
-
id: string;
|
|
20
|
-
expectedVersion: number;
|
|
21
14
|
}
|
|
22
15
|
export declare enum TicketConditionOperator {
|
|
23
16
|
EQUALS = "EQUALS",
|
|
@@ -57,27 +50,14 @@ export interface ITicketTransitionCondition {
|
|
|
57
50
|
checklistItemId?: string;
|
|
58
51
|
expectedValue?: TicketPropertyValue;
|
|
59
52
|
}
|
|
60
|
-
export interface ICreateTicketTransitionConditionDTO extends Omit<ITicketTransitionCondition, 'id'> {
|
|
61
|
-
}
|
|
62
|
-
export interface IUpdateTicketTransitionConditionDTO extends Partial<Omit<ITicketTransitionCondition, 'id'>> {
|
|
63
|
-
id: string;
|
|
64
|
-
}
|
|
65
53
|
export interface ITicketTransition extends ITicketAuditedEntity {
|
|
66
54
|
name?: string;
|
|
67
55
|
fromStatusId: string;
|
|
68
56
|
toStatusId: string;
|
|
69
57
|
enabled: boolean;
|
|
70
|
-
version: number;
|
|
71
58
|
allowedRoleIds?: string[];
|
|
72
59
|
conditions: ITicketTransitionCondition[];
|
|
73
60
|
}
|
|
74
|
-
export interface ICreateTicketTransitionDTO extends Omit<ITicketTransition, keyof ITicketAuditedEntity | 'version' | 'conditions'> {
|
|
75
|
-
conditions: ICreateTicketTransitionConditionDTO[];
|
|
76
|
-
}
|
|
77
|
-
export interface IUpdateTicketTransitionDTO extends Partial<Omit<ITicketTransition, keyof ITicketAuditedEntity | 'version'>> {
|
|
78
|
-
id: string;
|
|
79
|
-
expectedVersion: number;
|
|
80
|
-
}
|
|
81
61
|
export declare enum TicketActivityType {
|
|
82
62
|
CREATED = "CREATED",
|
|
83
63
|
UPDATED = "UPDATED",
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import UserType from './UserType';
|
|
2
2
|
import { UserProfile, UserRole } from './UserProfile';
|
|
3
|
-
import { PauseReason } from '../Presence/AgentPause';
|
|
4
3
|
export interface UserInfo {
|
|
5
4
|
id: string;
|
|
6
5
|
name: string;
|
|
@@ -63,9 +62,6 @@ export interface UserTrii {
|
|
|
63
62
|
userType: UserType;
|
|
64
63
|
verifiedAccount: boolean;
|
|
65
64
|
status: UserStatus;
|
|
66
|
-
availability: AvailabilityStatus;
|
|
67
|
-
currentPauseReason?: PauseReason;
|
|
68
|
-
currentPauseSince?: Date;
|
|
69
65
|
firstname: string;
|
|
70
66
|
lastname: string;
|
|
71
67
|
display_name: string;
|
|
@@ -94,12 +90,6 @@ export interface UserTrii {
|
|
|
94
90
|
socialLinkedinID: string;
|
|
95
91
|
socialTwitterID: string;
|
|
96
92
|
}
|
|
97
|
-
export declare enum AvailabilityStatus {
|
|
98
|
-
AVAILABLE = 0,
|
|
99
|
-
AWAY = 1,
|
|
100
|
-
DO_NOT_DISTURB = 2,
|
|
101
|
-
OFFLINE = 3
|
|
102
|
-
}
|
|
103
93
|
export interface NotificationConfig {
|
|
104
94
|
volume: NotificationVolumeLevel;
|
|
105
95
|
sound: NotificationSound;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.UserStatus = void 0;
|
|
4
4
|
var UserStatus;
|
|
5
5
|
(function (UserStatus) {
|
|
6
6
|
UserStatus[UserStatus["OFFLINE"] = 0] = "OFFLINE";
|
|
@@ -8,10 +8,3 @@ var UserStatus;
|
|
|
8
8
|
UserStatus[UserStatus["AWAY"] = 2] = "AWAY";
|
|
9
9
|
UserStatus[UserStatus["BUSY"] = 3] = "BUSY";
|
|
10
10
|
})(UserStatus || (exports.UserStatus = UserStatus = {}));
|
|
11
|
-
var AvailabilityStatus;
|
|
12
|
-
(function (AvailabilityStatus) {
|
|
13
|
-
AvailabilityStatus[AvailabilityStatus["AVAILABLE"] = 0] = "AVAILABLE";
|
|
14
|
-
AvailabilityStatus[AvailabilityStatus["AWAY"] = 1] = "AWAY";
|
|
15
|
-
AvailabilityStatus[AvailabilityStatus["DO_NOT_DISTURB"] = 2] = "DO_NOT_DISTURB";
|
|
16
|
-
AvailabilityStatus[AvailabilityStatus["OFFLINE"] = 3] = "OFFLINE";
|
|
17
|
-
})(AvailabilityStatus || (exports.AvailabilityStatus = AvailabilityStatus = {}));
|
package/dist/src/index.d.ts
CHANGED
|
@@ -12,12 +12,9 @@ export * as Tickets from './Tickets/index';
|
|
|
12
12
|
export * as Sales from './Sales/index';
|
|
13
13
|
export * as Collections from './Collections/index';
|
|
14
14
|
export * as Users from './Users/index';
|
|
15
|
-
export * as Presence from './Presence/index';
|
|
16
15
|
export * as ApiResponses from './ApiResponses/index';
|
|
17
16
|
export * as EventsQueue from './Common/EventsQueue/index';
|
|
18
17
|
export * as APIKeys from './PublicAPI/apiKey';
|
|
19
18
|
export * as AI from './AI/index';
|
|
20
19
|
export * as Shop from './Shop/index';
|
|
21
20
|
export * as APIResponses from './ApiResponses/index';
|
|
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.
|
|
36
|
+
exports.APIResponses = exports.Shop = exports.AI = exports.APIKeys = exports.EventsQueue = exports.ApiResponses = 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"));
|
|
@@ -48,12 +48,9 @@ exports.Tickets = __importStar(require("./Tickets/index"));
|
|
|
48
48
|
exports.Sales = __importStar(require("./Sales/index"));
|
|
49
49
|
exports.Collections = __importStar(require("./Collections/index"));
|
|
50
50
|
exports.Users = __importStar(require("./Users/index"));
|
|
51
|
-
exports.Presence = __importStar(require("./Presence/index"));
|
|
52
51
|
exports.ApiResponses = __importStar(require("./ApiResponses/index"));
|
|
53
52
|
exports.EventsQueue = __importStar(require("./Common/EventsQueue/index"));
|
|
54
53
|
exports.APIKeys = __importStar(require("./PublicAPI/apiKey"));
|
|
55
54
|
exports.AI = __importStar(require("./AI/index"));
|
|
56
55
|
exports.Shop = __importStar(require("./Shop/index"));
|
|
57
56
|
exports.APIResponses = __importStar(require("./ApiResponses/index"));
|
|
58
|
-
exports.Forms = __importStar(require("./Forms/index"));
|
|
59
|
-
exports.Automations = __importStar(require("./Automations/index"));
|
package/package.json
CHANGED
package/dist/AI/MapPolygon.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export interface Map {
|
|
2
|
-
id?: string | null;
|
|
3
|
-
spaceId: string | "";
|
|
4
|
-
name: string | "";
|
|
5
|
-
description: string | "";
|
|
6
|
-
layers: MapLayer[];
|
|
7
|
-
createdAt: Date;
|
|
8
|
-
createdBy: string;
|
|
9
|
-
updatedAt?: Date | null;
|
|
10
|
-
updatedBy?: string | null;
|
|
11
|
-
deletedAt?: Date | null;
|
|
12
|
-
deletedBy?: string | null;
|
|
13
|
-
}
|
|
14
|
-
export interface MapLayer {
|
|
15
|
-
id?: string | null;
|
|
16
|
-
spaceId: string | "";
|
|
17
|
-
name: string | "";
|
|
18
|
-
fileName: string | "";
|
|
19
|
-
fileUrl: string | "";
|
|
20
|
-
data?: object | null;
|
|
21
|
-
polygons?: object | null;
|
|
22
|
-
}
|
|
File without changes
|
|
File without changes
|
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.defaultNodeApi = void 0;
|
|
4
|
-
const Flow_1 = require("../Flow");
|
|
5
|
-
exports.defaultNodeApi = {
|
|
6
|
-
id: "NodeApi-{uid}",
|
|
7
|
-
type: Flow_1.NodeType.API,
|
|
8
|
-
category: 'action',
|
|
9
|
-
description: "Node for making API calls, allowing for dynamic interactions with external services.",
|
|
10
|
-
tags: [],
|
|
11
|
-
version: 1,
|
|
12
|
-
asyncLoadHandlesOut: false,
|
|
13
|
-
handlesIn: [
|
|
14
|
-
{
|
|
15
|
-
id: "in",
|
|
16
|
-
type: 'target',
|
|
17
|
-
position: 'left',
|
|
18
|
-
name: "IN",
|
|
19
|
-
nameKey: 'NODE_API_IN',
|
|
20
|
-
showName: false,
|
|
21
|
-
multiple: false
|
|
22
|
-
}
|
|
23
|
-
],
|
|
24
|
-
handlesOut: [
|
|
25
|
-
{
|
|
26
|
-
id: "onNext",
|
|
27
|
-
type: 'source',
|
|
28
|
-
position: 'right',
|
|
29
|
-
name: "Next",
|
|
30
|
-
nameKey: 'NODE_API_NEXT',
|
|
31
|
-
showName: true,
|
|
32
|
-
multiple: false
|
|
33
|
-
}
|
|
34
|
-
],
|
|
35
|
-
name: "API Node",
|
|
36
|
-
nameKey: 'NODE_API_NAME',
|
|
37
|
-
enableStatics: false,
|
|
38
|
-
properties: [
|
|
39
|
-
{
|
|
40
|
-
type: 'string',
|
|
41
|
-
id: 'url',
|
|
42
|
-
label: 'URL',
|
|
43
|
-
labelKey: 'NODE_API_URL',
|
|
44
|
-
optional: false,
|
|
45
|
-
default: '',
|
|
46
|
-
placeholder: 'Enter the URL for the API endpoint',
|
|
47
|
-
description: 'The URL of the API endpoint to which the request will be sent.'
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
type: 'options',
|
|
51
|
-
id: 'method',
|
|
52
|
-
label: 'Method',
|
|
53
|
-
labelKey: 'NODE_API_METHOD',
|
|
54
|
-
optional: false,
|
|
55
|
-
default: 'GET',
|
|
56
|
-
options: [
|
|
57
|
-
{ id: 'GET', label: 'GET' },
|
|
58
|
-
{ id: 'POST', label: 'POST' },
|
|
59
|
-
{ id: 'PUT', label: 'PUT' },
|
|
60
|
-
{ id: 'DELETE', label: 'DELETE' },
|
|
61
|
-
{ id: 'PATCH', label: 'PATCH' },
|
|
62
|
-
{ id: 'HEAD', label: 'HEAD' },
|
|
63
|
-
{ id: 'OPTIONS', label: 'OPTIONS' }
|
|
64
|
-
]
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
type: 'options',
|
|
68
|
-
id: 'authType',
|
|
69
|
-
label: 'Authentication Type',
|
|
70
|
-
labelKey: 'NODE_API_AUTH_TYPE',
|
|
71
|
-
optional: true,
|
|
72
|
-
default: 'NONE',
|
|
73
|
-
options: [
|
|
74
|
-
{ id: 'NONE', label: 'None' },
|
|
75
|
-
{ id: 'BASIC', label: 'Basic Auth' },
|
|
76
|
-
{ id: 'API_KEY', label: 'API Key' },
|
|
77
|
-
{ id: 'BEARER', label: 'Bearer Token' }
|
|
78
|
-
]
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
type: 'array',
|
|
82
|
-
id: 'authBasic',
|
|
83
|
-
label: 'Basic Authentication',
|
|
84
|
-
labelKey: 'NODE_API_AUTH_BASIC',
|
|
85
|
-
show: {
|
|
86
|
-
authType: 'BASIC'
|
|
87
|
-
},
|
|
88
|
-
optional: true,
|
|
89
|
-
array: [
|
|
90
|
-
{
|
|
91
|
-
type: 'string',
|
|
92
|
-
id: 'username',
|
|
93
|
-
label: 'Username',
|
|
94
|
-
labelKey: 'NODE_API_AUTH_BASIC_USERNAME',
|
|
95
|
-
default: '',
|
|
96
|
-
optional: false
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
type: 'string',
|
|
100
|
-
id: 'password',
|
|
101
|
-
label: 'Password',
|
|
102
|
-
labelKey: 'NODE_API_AUTH_BASIC_PASSWORD',
|
|
103
|
-
default: '',
|
|
104
|
-
optional: false
|
|
105
|
-
}
|
|
106
|
-
],
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
type: 'array',
|
|
110
|
-
id: 'authApiKey',
|
|
111
|
-
label: 'API Key Authentication',
|
|
112
|
-
labelKey: 'NODE_API_AUTH_API_KEY',
|
|
113
|
-
show: {
|
|
114
|
-
authType: 'API_KEY'
|
|
115
|
-
},
|
|
116
|
-
optional: true,
|
|
117
|
-
array: [
|
|
118
|
-
{
|
|
119
|
-
type: 'string',
|
|
120
|
-
id: 'headerKey',
|
|
121
|
-
label: 'API Header Key',
|
|
122
|
-
labelKey: 'NODE_API_AUTH_API_KEY_NAME'
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
type: 'string',
|
|
126
|
-
id: 'key',
|
|
127
|
-
label: 'API Key',
|
|
128
|
-
labelKey: 'NODE_API_AUTH_API_KEY_KEY'
|
|
129
|
-
}
|
|
130
|
-
]
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
type: 'array',
|
|
134
|
-
id: 'authBearer',
|
|
135
|
-
label: 'Bearer Token Authentication',
|
|
136
|
-
show: {
|
|
137
|
-
authType: 'BEARER'
|
|
138
|
-
},
|
|
139
|
-
labelKey: 'NODE_API_AUTH_BEARER_TOKEN',
|
|
140
|
-
optional: true,
|
|
141
|
-
array: [
|
|
142
|
-
{
|
|
143
|
-
type: 'string',
|
|
144
|
-
id: 'token',
|
|
145
|
-
label: 'Bearer Token',
|
|
146
|
-
labelKey: 'NODE_API_AUTH_BEARER_TOKEN'
|
|
147
|
-
}
|
|
148
|
-
]
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
id: 'body',
|
|
152
|
-
type: 'string',
|
|
153
|
-
label: 'Request Body',
|
|
154
|
-
labelKey: 'NODE_API_REQUEST_BODY',
|
|
155
|
-
optional: true,
|
|
156
|
-
acceptVariable: true,
|
|
157
|
-
placeholder: 'Enter the request body in JSON format',
|
|
158
|
-
rows: 5
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
type: 'options',
|
|
162
|
-
id: 'responseContentType',
|
|
163
|
-
label: 'Response Content Type',
|
|
164
|
-
labelKey: 'NODE_API_CONTENT_TYPE',
|
|
165
|
-
optional: true,
|
|
166
|
-
default: 'application/json',
|
|
167
|
-
options: [
|
|
168
|
-
{ id: 'application/json', label: 'application/json' },
|
|
169
|
-
{ id: 'application/x-www-form-urlencoded', label: 'application/x-www-form-urlencoded' },
|
|
170
|
-
{ id: 'text/plain', label: 'text/plain' },
|
|
171
|
-
{ id: 'multipart/form-data', label: 'multipart/form-data' }
|
|
172
|
-
]
|
|
173
|
-
}
|
|
174
|
-
],
|
|
175
|
-
values: undefined,
|
|
176
|
-
color: '#00bcd4', // Cyan color for the start node
|
|
177
|
-
icon: '',
|
|
178
|
-
badge: undefined,
|
|
179
|
-
hideInput: true,
|
|
180
|
-
hideOutput: false,
|
|
181
|
-
author: '',
|
|
182
|
-
documentation: '',
|
|
183
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export declare class NodeBotIA {
|
|
2
|
-
id: string;
|
|
3
|
-
name: string;
|
|
4
|
-
enableStatics: boolean | false;
|
|
5
|
-
llmModel?: NodeBotIAModel;
|
|
6
|
-
llmTemperature?: number | 0.7;
|
|
7
|
-
llmMaxTokens?: number | 1000;
|
|
8
|
-
llmTopP?: number | 1;
|
|
9
|
-
prompt?: string | "";
|
|
10
|
-
retryCount?: number | 3;
|
|
11
|
-
retryDelay?: number | 1000;
|
|
12
|
-
apiKey?: string | "";
|
|
13
|
-
nextNodeId?: string | "";
|
|
14
|
-
}
|
|
15
|
-
export type NodeBotIAModel = "gpt-3.5-turbo" | "gpt-4" | "gpt-4-turbo" | "llama2" | "llama2-chat" | "llama2-7b-chat" | "llama2-13b-chat" | "llama2-70b-chat" | "llama2-7b" | "llama2-13b" | "llama2-70b" | "mistral" | "mistral-chat" | "mistral-7b-chat" | "mistral-7b";
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export declare class NodeChatBotIA {
|
|
2
|
-
id: string;
|
|
3
|
-
name: string;
|
|
4
|
-
enableStatics: boolean | false;
|
|
5
|
-
llmModel?: NodeNodeChatBotModel;
|
|
6
|
-
llmTemperature?: number | 0.7;
|
|
7
|
-
llmMaxTokens?: number | 1000;
|
|
8
|
-
llmTopP?: number | 1;
|
|
9
|
-
prompt?: string | "";
|
|
10
|
-
retryCount?: number | 3;
|
|
11
|
-
retryDelay?: number | 1000;
|
|
12
|
-
apiKey?: string | "";
|
|
13
|
-
nextNodeId?: string | "";
|
|
14
|
-
}
|
|
15
|
-
export type NodeNodeChatBotModel = "gpt-3.5-turbo" | "gpt-4" | "gpt-4-turbo" | "llama2" | "llama2-chat" | "llama2-7b-chat" | "llama2-13b-chat" | "llama2-70b-chat" | "llama2-7b" | "llama2-13b" | "llama2-70b" | "mistral" | "mistral-chat" | "mistral-7b-chat" | "mistral-7b";
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
var NodeFillTicketPriority;
|
|
4
|
-
(function (NodeFillTicketPriority) {
|
|
5
|
-
NodeFillTicketPriority[NodeFillTicketPriority["LOW"] = 100] = "LOW";
|
|
6
|
-
NodeFillTicketPriority[NodeFillTicketPriority["NORMAL"] = 200] = "NORMAL";
|
|
7
|
-
NodeFillTicketPriority[NodeFillTicketPriority["HIGH"] = 300] = "HIGH";
|
|
8
|
-
NodeFillTicketPriority[NodeFillTicketPriority["CRITICAL"] = 400] = "CRITICAL";
|
|
9
|
-
})(NodeFillTicketPriority || (NodeFillTicketPriority = {}));
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { NodeBase, NodeType } from '../Flow';
|
|
2
|
-
export interface NodeGoogleCalendar extends NodeBase {
|
|
3
|
-
type: NodeType.GOOGLE_CALENDAR;
|
|
4
|
-
typeName: "googleCalendar";
|
|
5
|
-
handles: ['onNext'];
|
|
6
|
-
categories: ['tool'];
|
|
7
|
-
enableStatics: boolean | false;
|
|
8
|
-
authCredentialId?: string | null;
|
|
9
|
-
eventsAdd?: boolean | false;
|
|
10
|
-
eventsEdit?: boolean | false;
|
|
11
|
-
eventsGet?: boolean | false;
|
|
12
|
-
eventsSearch?: boolean | false;
|
|
13
|
-
eventsDelete?: boolean | false;
|
|
14
|
-
calendarList?: boolean | false;
|
|
15
|
-
polygonsId?: string | null;
|
|
16
|
-
polygonsName?: string | null;
|
|
17
|
-
placeSearch?: boolean | false;
|
|
18
|
-
variables?: string | null;
|
|
19
|
-
saveAs?: string | null;
|
|
20
|
-
}
|