@trii/types 2.10.729 → 2.10.730
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/Contacts/CommunicationEndpoint.d.ts +8 -8
- package/dist/Conversations/Conversation.d.ts +8 -8
- package/dist/Conversations/DashBoard/dashboardForms.d.ts +44 -0
- package/dist/Conversations/DashBoard/dashboardForms.js +24 -0
- package/dist/Conversations/InboxCounters.d.ts +18 -0
- package/dist/Conversations/InboxMongo.d.ts +12 -12
- package/dist/Conversations/Routing.d.ts +10 -10
- package/dist/Events/DomainEventTypes.d.ts +23 -23
- package/dist/Tickets/Common.d.ts +62 -0
- package/dist/Tickets/CustomerNotification.d.ts +192 -0
- package/dist/Tickets/CustomerNotification.js +54 -0
- package/dist/Tickets/Notes.d.ts +13 -0
- package/dist/Tickets/Notes.js +10 -0
- package/dist/Tickets/QuickResponse.d.ts +64 -0
- package/dist/Tickets/QuickResponse.js +41 -0
- package/dist/Tickets/Task.d.ts +11 -0
- package/dist/Tickets/Ticket.d.ts +2 -0
- package/dist/Tickets/index.d.ts +3 -0
- package/dist/Tickets/index.js +3 -0
- package/dist/src/Common/Channels/Channel.d.ts +1 -28
- package/dist/src/Common/Channels/Email.d.ts +0 -1
- package/dist/src/Common/Channels/Facebook.d.ts +0 -1
- package/dist/src/Common/Channels/Form.d.ts +0 -1
- package/dist/src/Common/Channels/GoogleBusiness.d.ts +0 -1
- package/dist/src/Common/Channels/Instagram.d.ts +0 -1
- package/dist/src/Common/Channels/MercadoLibre.d.ts +0 -1
- package/dist/src/Common/Channels/WebChat.d.ts +0 -1
- package/dist/src/Contacts/contacts.d.ts +2 -2
- package/dist/src/Contacts/index.d.ts +0 -2
- package/dist/src/Contacts/index.js +0 -2
- package/dist/src/Conversations/Conversation.d.ts +48 -410
- 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/PublicAPI/apiKey.d.ts +3 -92
- package/dist/src/PublicAPI/apiKey.js +0 -27
- package/dist/src/Tickets/AI.d.ts +2 -50
- package/dist/src/Tickets/AdvancedApi.d.ts +2 -142
- package/dist/src/Tickets/AdvancedApi.js +1 -28
- package/dist/src/Tickets/Approval.d.ts +4 -20
- package/dist/src/Tickets/Automation.d.ts +2 -46
- package/dist/src/Tickets/Category.d.ts +0 -18
- package/dist/src/Tickets/Dashboard.d.ts +0 -78
- package/dist/src/Tickets/Dashboard.js +1 -13
- package/dist/src/Tickets/Fields.d.ts +0 -4
- package/dist/src/Tickets/Layouts.d.ts +1 -3
- package/dist/src/Tickets/Routing.d.ts +3 -105
- package/dist/src/Tickets/Routing.js +1 -7
- package/dist/src/Tickets/Security.d.ts +4 -271
- package/dist/src/Tickets/Security.js +1 -10
- package/dist/src/Tickets/SelfService.d.ts +0 -190
- package/dist/src/Tickets/Sla.d.ts +0 -140
- 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 -4
- package/dist/src/index.js +1 -5
- package/package.json +12 -12
- package/dist/src/Automations/Capabilities/Capability.d.ts +0 -81
- package/dist/src/Automations/Capabilities/Capability.js +0 -23
- 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 -94
- package/dist/src/Automations/Common.js +0 -40
- package/dist/src/Automations/Events/Event.d.ts +0 -96
- package/dist/src/Automations/Events/Event.js +0 -19
- 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 -298
- package/dist/src/Automations/Executions/Execution.js +0 -76
- package/dist/src/Automations/Executions/Testing.d.ts +0 -166
- package/dist/src/Automations/Executions/Testing.js +0 -54
- package/dist/src/Automations/Executions/index.d.ts +0 -2
- package/dist/src/Automations/Executions/index.js +0 -18
- package/dist/src/Automations/Flows/Canvas.d.ts +0 -109
- package/dist/src/Automations/Flows/Canvas.js +0 -43
- package/dist/src/Automations/Flows/Flow.d.ts +0 -154
- package/dist/src/Automations/Flows/Flow.js +0 -58
- package/dist/src/Automations/Flows/Requests.d.ts +0 -71
- 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 -116
- package/dist/src/Automations/Nodes/Node.js +0 -27
- package/dist/src/Automations/Nodes/index.d.ts +0 -1
- package/dist/src/Automations/Nodes/index.js +0 -17
- package/dist/src/Automations/Triggers/Trigger.d.ts +0 -112
- package/dist/src/Automations/Triggers/Trigger.js +0 -66
- package/dist/src/Automations/Triggers/index.d.ts +0 -1
- package/dist/src/Automations/Triggers/index.js +0 -17
- package/dist/src/Automations/index.d.ts +0 -7
- package/dist/src/Automations/index.js +0 -23
- package/dist/src/Chats/Chat.d.ts +0 -61
- package/dist/src/Chats/Chat.js +0 -28
- package/dist/src/Contacts/CommunicationEndpoint.d.ts +0 -107
- package/dist/src/Contacts/CommunicationEndpoint.js +0 -39
- package/dist/src/Contacts/CommunicationMethod.d.ts +0 -9
- package/dist/src/Contacts/CommunicationMethod.js +0 -2
- package/dist/src/Conversations/Assignment.d.ts +0 -181
- package/dist/src/Conversations/Assignment.js +0 -4
- package/dist/src/Conversations/InboxMongo.d.ts +0 -154
- package/dist/src/Conversations/InboxMongo.js +0 -128
- package/dist/src/Conversations/InboxProjection.d.ts +0 -162
- package/dist/src/Conversations/InboxProjection.js +0 -2
- 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/Events/DomainEventTypes.d.ts +0 -51
- package/dist/src/Events/DomainEventTypes.js +0 -49
- package/dist/src/Events/index.d.ts +0 -1
- package/dist/src/Events/index.js +0 -17
- 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/Automations/Flows/Requests.js → Conversations/InboxCounters.js} +0 -0
|
@@ -67,46 +67,6 @@ export interface ITicketPortal extends ITicketAuditedEntity {
|
|
|
67
67
|
privacyDocumentId?: string;
|
|
68
68
|
enabled: boolean;
|
|
69
69
|
}
|
|
70
|
-
export interface ICreateTicketPortalDto {
|
|
71
|
-
name: string;
|
|
72
|
-
slug: string;
|
|
73
|
-
title: string;
|
|
74
|
-
description?: string;
|
|
75
|
-
logoUrl?: string;
|
|
76
|
-
faviconUrl?: string;
|
|
77
|
-
primaryColor?: string;
|
|
78
|
-
defaultLocale: string;
|
|
79
|
-
supportedLocales?: string[];
|
|
80
|
-
authenticationMode: TicketPortalAuthenticationMode;
|
|
81
|
-
allowTicketCreation?: boolean;
|
|
82
|
-
allowTicketTracking?: boolean;
|
|
83
|
-
allowComments?: boolean;
|
|
84
|
-
allowReopen?: boolean;
|
|
85
|
-
allowCancellation?: boolean;
|
|
86
|
-
termsDocumentId?: string;
|
|
87
|
-
privacyDocumentId?: string;
|
|
88
|
-
enabled?: boolean;
|
|
89
|
-
}
|
|
90
|
-
export interface IUpdateTicketPortalDto {
|
|
91
|
-
name?: string;
|
|
92
|
-
slug?: string;
|
|
93
|
-
title?: string;
|
|
94
|
-
description?: string | null;
|
|
95
|
-
logoUrl?: string | null;
|
|
96
|
-
faviconUrl?: string | null;
|
|
97
|
-
primaryColor?: string | null;
|
|
98
|
-
defaultLocale?: string;
|
|
99
|
-
supportedLocales?: string[] | null;
|
|
100
|
-
authenticationMode?: TicketPortalAuthenticationMode;
|
|
101
|
-
allowTicketCreation?: boolean;
|
|
102
|
-
allowTicketTracking?: boolean;
|
|
103
|
-
allowComments?: boolean;
|
|
104
|
-
allowReopen?: boolean;
|
|
105
|
-
allowCancellation?: boolean;
|
|
106
|
-
termsDocumentId?: string | null;
|
|
107
|
-
privacyDocumentId?: string | null;
|
|
108
|
-
enabled?: boolean;
|
|
109
|
-
}
|
|
110
70
|
export interface ITicketRequestType extends ITicketAuditedEntity {
|
|
111
71
|
name: string;
|
|
112
72
|
description?: string;
|
|
@@ -124,40 +84,6 @@ export interface ITicketRequestType extends ITicketAuditedEntity {
|
|
|
124
84
|
audiencePolicyId?: string;
|
|
125
85
|
enabled: boolean;
|
|
126
86
|
}
|
|
127
|
-
export interface ICreateTicketRequestTypeDto {
|
|
128
|
-
name: string;
|
|
129
|
-
description?: string;
|
|
130
|
-
categoryId: string;
|
|
131
|
-
icon?: string;
|
|
132
|
-
formId: string;
|
|
133
|
-
formVersion?: number;
|
|
134
|
-
workflowId?: string;
|
|
135
|
-
defaultPriority?: TicketPriority;
|
|
136
|
-
defaultAssignedGroupId?: string;
|
|
137
|
-
slaPolicyId?: string;
|
|
138
|
-
publicStatusSchemeId?: string;
|
|
139
|
-
fieldDefinitionIds?: string[];
|
|
140
|
-
layoutIds?: string[];
|
|
141
|
-
audiencePolicyId?: string;
|
|
142
|
-
enabled?: boolean;
|
|
143
|
-
}
|
|
144
|
-
export interface IUpdateTicketRequestTypeDto {
|
|
145
|
-
name?: string;
|
|
146
|
-
description?: string | null;
|
|
147
|
-
categoryId?: string;
|
|
148
|
-
icon?: string | null;
|
|
149
|
-
formId?: string;
|
|
150
|
-
formVersion?: number | null;
|
|
151
|
-
workflowId?: string | null;
|
|
152
|
-
defaultPriority?: TicketPriority | null;
|
|
153
|
-
defaultAssignedGroupId?: string | null;
|
|
154
|
-
slaPolicyId?: string | null;
|
|
155
|
-
publicStatusSchemeId?: string | null;
|
|
156
|
-
fieldDefinitionIds?: string[] | null;
|
|
157
|
-
layoutIds?: string[] | null;
|
|
158
|
-
audiencePolicyId?: string | null;
|
|
159
|
-
enabled?: boolean;
|
|
160
|
-
}
|
|
161
87
|
export interface IServiceCatalog extends ITicketAuditedEntity {
|
|
162
88
|
portalId: string;
|
|
163
89
|
name: string;
|
|
@@ -165,20 +91,6 @@ export interface IServiceCatalog extends ITicketAuditedEntity {
|
|
|
165
91
|
order?: number;
|
|
166
92
|
enabled: boolean;
|
|
167
93
|
}
|
|
168
|
-
export interface ICreateServiceCatalogDto {
|
|
169
|
-
portalId: string;
|
|
170
|
-
name: string;
|
|
171
|
-
description?: string;
|
|
172
|
-
order?: number;
|
|
173
|
-
enabled?: boolean;
|
|
174
|
-
}
|
|
175
|
-
export interface IUpdateServiceCatalogDto {
|
|
176
|
-
portalId?: string;
|
|
177
|
-
name?: string;
|
|
178
|
-
description?: string | null;
|
|
179
|
-
order?: number | null;
|
|
180
|
-
enabled?: boolean;
|
|
181
|
-
}
|
|
182
94
|
export interface IServiceCatalogSection extends ITicketAuditedEntity {
|
|
183
95
|
catalogId: string;
|
|
184
96
|
parentSectionId?: string;
|
|
@@ -188,24 +100,6 @@ export interface IServiceCatalogSection extends ITicketAuditedEntity {
|
|
|
188
100
|
order: number;
|
|
189
101
|
enabled: boolean;
|
|
190
102
|
}
|
|
191
|
-
export interface ICreateServiceCatalogSectionDto {
|
|
192
|
-
catalogId: string;
|
|
193
|
-
parentSectionId?: string;
|
|
194
|
-
name: string;
|
|
195
|
-
description?: string;
|
|
196
|
-
icon?: string;
|
|
197
|
-
order?: number;
|
|
198
|
-
enabled?: boolean;
|
|
199
|
-
}
|
|
200
|
-
export interface IUpdateServiceCatalogSectionDto {
|
|
201
|
-
catalogId?: string;
|
|
202
|
-
parentSectionId?: string | null;
|
|
203
|
-
name?: string;
|
|
204
|
-
description?: string | null;
|
|
205
|
-
icon?: string | null;
|
|
206
|
-
order?: number;
|
|
207
|
-
enabled?: boolean;
|
|
208
|
-
}
|
|
209
103
|
export interface IServiceCatalogItem extends ITicketAuditedEntity {
|
|
210
104
|
catalogId: string;
|
|
211
105
|
sectionId?: string;
|
|
@@ -218,30 +112,6 @@ export interface IServiceCatalogItem extends ITicketAuditedEntity {
|
|
|
218
112
|
audiencePolicyId?: string;
|
|
219
113
|
enabled: boolean;
|
|
220
114
|
}
|
|
221
|
-
export interface ICreateServiceCatalogItemDto {
|
|
222
|
-
catalogId: string;
|
|
223
|
-
sectionId?: string;
|
|
224
|
-
requestTypeId: string;
|
|
225
|
-
name: string;
|
|
226
|
-
shortDescription?: string;
|
|
227
|
-
imageUrl?: string;
|
|
228
|
-
order?: number;
|
|
229
|
-
estimatedDeliveryMinutes?: number;
|
|
230
|
-
audiencePolicyId?: string;
|
|
231
|
-
enabled?: boolean;
|
|
232
|
-
}
|
|
233
|
-
export interface IUpdateServiceCatalogItemDto {
|
|
234
|
-
catalogId?: string;
|
|
235
|
-
sectionId?: string | null;
|
|
236
|
-
requestTypeId?: string;
|
|
237
|
-
name?: string;
|
|
238
|
-
shortDescription?: string | null;
|
|
239
|
-
imageUrl?: string | null;
|
|
240
|
-
order?: number;
|
|
241
|
-
estimatedDeliveryMinutes?: number | null;
|
|
242
|
-
audiencePolicyId?: string | null;
|
|
243
|
-
enabled?: boolean;
|
|
244
|
-
}
|
|
245
115
|
export interface ITicketAudienceRule {
|
|
246
116
|
id: string;
|
|
247
117
|
effect: TicketAudienceRuleEffect;
|
|
@@ -259,20 +129,6 @@ export interface ITicketAudiencePolicy extends ITicketAuditedEntity {
|
|
|
259
129
|
rules: ITicketAudienceRule[];
|
|
260
130
|
enabled: boolean;
|
|
261
131
|
}
|
|
262
|
-
export interface ICreateTicketAudiencePolicyDto {
|
|
263
|
-
name: string;
|
|
264
|
-
description?: string;
|
|
265
|
-
defaultEffect: TicketAudienceRuleEffect;
|
|
266
|
-
rules?: ITicketAudienceRule[];
|
|
267
|
-
enabled?: boolean;
|
|
268
|
-
}
|
|
269
|
-
export interface IUpdateTicketAudiencePolicyDto {
|
|
270
|
-
name?: string;
|
|
271
|
-
description?: string | null;
|
|
272
|
-
defaultEffect?: TicketAudienceRuleEffect;
|
|
273
|
-
rules?: ITicketAudienceRule[];
|
|
274
|
-
enabled?: boolean;
|
|
275
|
-
}
|
|
276
132
|
export interface ITicketRequestDraft {
|
|
277
133
|
id: string;
|
|
278
134
|
spaceId: string;
|
|
@@ -335,28 +191,6 @@ export interface ITicketKnowledgeReference extends ITicketAuditedEntity {
|
|
|
335
191
|
order?: number;
|
|
336
192
|
enabled: boolean;
|
|
337
193
|
}
|
|
338
|
-
export interface ICreateTicketKnowledgeReferenceDto {
|
|
339
|
-
referenceType: TicketKnowledgeReferenceType;
|
|
340
|
-
documentId: string;
|
|
341
|
-
portalIds?: string[];
|
|
342
|
-
requestTypeIds?: string[];
|
|
343
|
-
categoryIds?: string[];
|
|
344
|
-
locales?: string[];
|
|
345
|
-
audiencePolicyId?: string;
|
|
346
|
-
order?: number;
|
|
347
|
-
enabled?: boolean;
|
|
348
|
-
}
|
|
349
|
-
export interface IUpdateTicketKnowledgeReferenceDto {
|
|
350
|
-
referenceType?: TicketKnowledgeReferenceType;
|
|
351
|
-
documentId?: string;
|
|
352
|
-
portalIds?: string[] | null;
|
|
353
|
-
requestTypeIds?: string[] | null;
|
|
354
|
-
categoryIds?: string[] | null;
|
|
355
|
-
locales?: string[] | null;
|
|
356
|
-
audiencePolicyId?: string | null;
|
|
357
|
-
order?: number | null;
|
|
358
|
-
enabled?: boolean;
|
|
359
|
-
}
|
|
360
194
|
/** Rules may work globally at portal level and become more specific by request type/category. */
|
|
361
195
|
export interface ITicketDeflectionRule extends ITicketAuditedEntity {
|
|
362
196
|
name: string;
|
|
@@ -370,30 +204,6 @@ export interface ITicketDeflectionRule extends ITicketAuditedEntity {
|
|
|
370
204
|
audiencePolicyId?: string;
|
|
371
205
|
enabled: boolean;
|
|
372
206
|
}
|
|
373
|
-
export interface ICreateTicketDeflectionRuleDto {
|
|
374
|
-
name: string;
|
|
375
|
-
portalId: string;
|
|
376
|
-
requestTypeIds?: string[];
|
|
377
|
-
categoryIds?: string[];
|
|
378
|
-
knowledgeReferenceIds?: string[];
|
|
379
|
-
includeKnownIssues?: boolean;
|
|
380
|
-
minimumScore?: number;
|
|
381
|
-
maximumSuggestions?: number;
|
|
382
|
-
audiencePolicyId?: string;
|
|
383
|
-
enabled?: boolean;
|
|
384
|
-
}
|
|
385
|
-
export interface IUpdateTicketDeflectionRuleDto {
|
|
386
|
-
name?: string;
|
|
387
|
-
portalId?: string;
|
|
388
|
-
requestTypeIds?: string[] | null;
|
|
389
|
-
categoryIds?: string[] | null;
|
|
390
|
-
knowledgeReferenceIds?: string[] | null;
|
|
391
|
-
includeKnownIssues?: boolean;
|
|
392
|
-
minimumScore?: number | null;
|
|
393
|
-
maximumSuggestions?: number | null;
|
|
394
|
-
audiencePolicyId?: string | null;
|
|
395
|
-
enabled?: boolean;
|
|
396
|
-
}
|
|
397
207
|
export interface ITicketDeflectionSuggestion {
|
|
398
208
|
knowledgeReferenceId?: string;
|
|
399
209
|
knownIssueTicketId?: string;
|
|
@@ -79,57 +79,6 @@ export interface IBusinessCalendar extends ITicketAuditedEntity {
|
|
|
79
79
|
exceptions: IBusinessCalendarException[];
|
|
80
80
|
enabled: boolean;
|
|
81
81
|
}
|
|
82
|
-
export interface ICreateBusinessCalendarDto {
|
|
83
|
-
name: string;
|
|
84
|
-
timeZone: string;
|
|
85
|
-
schedule: IBusinessDaySchedule[];
|
|
86
|
-
exceptions: IBusinessCalendarException[];
|
|
87
|
-
enabled?: boolean;
|
|
88
|
-
}
|
|
89
|
-
export interface IUpdateBusinessCalendarDto {
|
|
90
|
-
name?: string;
|
|
91
|
-
timeZone?: string;
|
|
92
|
-
schedule?: IBusinessDaySchedule[];
|
|
93
|
-
exceptions?: IBusinessCalendarException[];
|
|
94
|
-
enabled?: boolean;
|
|
95
|
-
}
|
|
96
|
-
export interface IBusinessCalendarPreviewRequest {
|
|
97
|
-
businessCalendarId?: string;
|
|
98
|
-
calendar?: {
|
|
99
|
-
timeZone: string;
|
|
100
|
-
schedule: IBusinessDaySchedule[];
|
|
101
|
-
exceptions: IBusinessCalendarException[];
|
|
102
|
-
};
|
|
103
|
-
check: {
|
|
104
|
-
type: 'IS_WORKING_MOMENT';
|
|
105
|
-
at: string;
|
|
106
|
-
} | {
|
|
107
|
-
type: 'NEXT_WORKING_PERIOD';
|
|
108
|
-
from: string;
|
|
109
|
-
} | {
|
|
110
|
-
type: 'DEADLINE';
|
|
111
|
-
from: string;
|
|
112
|
-
durationMinutes: number;
|
|
113
|
-
};
|
|
114
|
-
}
|
|
115
|
-
export interface IBusinessCalendarPreviewResponse {
|
|
116
|
-
result: {
|
|
117
|
-
type: 'IS_WORKING_MOMENT';
|
|
118
|
-
isWorking: boolean;
|
|
119
|
-
matchedException?: {
|
|
120
|
-
date: string;
|
|
121
|
-
name?: string;
|
|
122
|
-
};
|
|
123
|
-
} | {
|
|
124
|
-
type: 'NEXT_WORKING_PERIOD';
|
|
125
|
-
startsAt: string;
|
|
126
|
-
endsAt: string;
|
|
127
|
-
} | {
|
|
128
|
-
type: 'DEADLINE';
|
|
129
|
-
dueAt: string;
|
|
130
|
-
businessMinutesConsumed: number;
|
|
131
|
-
};
|
|
132
|
-
}
|
|
133
82
|
export interface ISlaEventMatcher {
|
|
134
83
|
eventType: SlaEventType;
|
|
135
84
|
statusId?: string;
|
|
@@ -148,30 +97,6 @@ export interface ISlaMetricDefinition extends ITicketAuditedEntity {
|
|
|
148
97
|
cycleStartBehavior: SlaCycleStartBehavior;
|
|
149
98
|
enabled: boolean;
|
|
150
99
|
}
|
|
151
|
-
export interface ICreateSlaMetricDefinitionDto {
|
|
152
|
-
code: string;
|
|
153
|
-
name: string;
|
|
154
|
-
description?: string;
|
|
155
|
-
type: SlaMetricType;
|
|
156
|
-
statusId?: string;
|
|
157
|
-
customEventType?: string;
|
|
158
|
-
startEvent: ISlaEventMatcher;
|
|
159
|
-
completionEvent: ISlaEventMatcher;
|
|
160
|
-
cycleStartBehavior: SlaCycleStartBehavior;
|
|
161
|
-
enabled?: boolean;
|
|
162
|
-
}
|
|
163
|
-
export interface IUpdateSlaMetricDefinitionDto {
|
|
164
|
-
code?: string;
|
|
165
|
-
name?: string;
|
|
166
|
-
description?: string;
|
|
167
|
-
type?: SlaMetricType;
|
|
168
|
-
statusId?: string;
|
|
169
|
-
customEventType?: string;
|
|
170
|
-
startEvent?: ISlaEventMatcher;
|
|
171
|
-
completionEvent?: ISlaEventMatcher;
|
|
172
|
-
cycleStartBehavior?: SlaCycleStartBehavior;
|
|
173
|
-
enabled?: boolean;
|
|
174
|
-
}
|
|
175
100
|
export interface ISlaWarningThreshold {
|
|
176
101
|
id: string;
|
|
177
102
|
percentage?: number;
|
|
@@ -231,71 +156,6 @@ export interface ITicketSlaPolicy extends ITicketAuditedEntity {
|
|
|
231
156
|
policyChangeBehavior?: SlaPolicyChangeBehavior;
|
|
232
157
|
reopenBehavior?: SlaPolicyChangeBehavior;
|
|
233
158
|
}
|
|
234
|
-
export interface ICreateTicketSlaPolicyDto {
|
|
235
|
-
name: string;
|
|
236
|
-
description?: string;
|
|
237
|
-
enabled?: boolean;
|
|
238
|
-
order?: number;
|
|
239
|
-
priority?: TicketPriority;
|
|
240
|
-
categoryIds?: string[];
|
|
241
|
-
conditions?: ISlaPolicyCondition[];
|
|
242
|
-
conditionGroup?: ISlaConditionGroup;
|
|
243
|
-
targets: ISlaTarget[];
|
|
244
|
-
commitments?: IServiceCommitment[];
|
|
245
|
-
pausableStatusIds?: string[];
|
|
246
|
-
policyChangeBehavior?: SlaPolicyChangeBehavior;
|
|
247
|
-
reopenBehavior?: SlaPolicyChangeBehavior;
|
|
248
|
-
}
|
|
249
|
-
export interface IUpdateTicketSlaPolicyDto {
|
|
250
|
-
expectedVersion: number;
|
|
251
|
-
name?: string;
|
|
252
|
-
description?: string;
|
|
253
|
-
enabled?: boolean;
|
|
254
|
-
order?: number;
|
|
255
|
-
priority?: TicketPriority;
|
|
256
|
-
categoryIds?: string[];
|
|
257
|
-
conditions?: ISlaPolicyCondition[];
|
|
258
|
-
conditionGroup?: ISlaConditionGroup;
|
|
259
|
-
targets?: ISlaTarget[];
|
|
260
|
-
commitments?: IServiceCommitment[];
|
|
261
|
-
pausableStatusIds?: string[];
|
|
262
|
-
policyChangeBehavior?: SlaPolicyChangeBehavior;
|
|
263
|
-
reopenBehavior?: SlaPolicyChangeBehavior;
|
|
264
|
-
}
|
|
265
|
-
export interface ISimulateSlaPolicyRequest {
|
|
266
|
-
ticket: {
|
|
267
|
-
categoryId?: string;
|
|
268
|
-
priority?: TicketPriority;
|
|
269
|
-
properties?: Record<string, TicketPropertyValue>;
|
|
270
|
-
};
|
|
271
|
-
startAt: string;
|
|
272
|
-
}
|
|
273
|
-
export interface ISimulatedTarget {
|
|
274
|
-
targetId?: string;
|
|
275
|
-
metricDefinitionId?: string;
|
|
276
|
-
metric?: SlaMetricType;
|
|
277
|
-
mode: SlaTimeMode;
|
|
278
|
-
businessCalendarId?: string;
|
|
279
|
-
dueAt: string;
|
|
280
|
-
warnings: {
|
|
281
|
-
thresholdId: string;
|
|
282
|
-
at: string;
|
|
283
|
-
}[];
|
|
284
|
-
}
|
|
285
|
-
export interface ISimulatedCommitment {
|
|
286
|
-
id: string;
|
|
287
|
-
type: ServiceCommitmentType;
|
|
288
|
-
name: string;
|
|
289
|
-
targets: ISimulatedTarget[];
|
|
290
|
-
}
|
|
291
|
-
export interface ISimulateSlaPolicyResponse {
|
|
292
|
-
policy: {
|
|
293
|
-
id: string;
|
|
294
|
-
name: string;
|
|
295
|
-
} | null;
|
|
296
|
-
targets: ISimulatedTarget[];
|
|
297
|
-
commitments: ISimulatedCommitment[];
|
|
298
|
-
}
|
|
299
159
|
export interface ISlaPausePeriod {
|
|
300
160
|
startedAt: Date;
|
|
301
161
|
endedAt?: Date;
|
|
@@ -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,13 +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
|
-
export * as Events from './Events/index';
|
|
19
17
|
export * as APIKeys from './PublicAPI/apiKey';
|
|
20
18
|
export * as AI from './AI/index';
|
|
21
19
|
export * as Shop from './Shop/index';
|
|
22
20
|
export * as APIResponses from './ApiResponses/index';
|
|
23
|
-
export * as Forms from './Forms/index';
|
|
24
|
-
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,13 +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
|
-
exports.Events = __importStar(require("./Events/index"));
|
|
55
53
|
exports.APIKeys = __importStar(require("./PublicAPI/apiKey"));
|
|
56
54
|
exports.AI = __importStar(require("./AI/index"));
|
|
57
55
|
exports.Shop = __importStar(require("./Shop/index"));
|
|
58
56
|
exports.APIResponses = __importStar(require("./ApiResponses/index"));
|
|
59
|
-
exports.Forms = __importStar(require("./Forms/index"));
|
|
60
|
-
exports.Automations = __importStar(require("./Automations/index"));
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@trii/types",
|
|
3
|
-
"version": "2.10.
|
|
4
|
-
"description": "Types definitions for Trii projects - ",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"types": "dist/index.d.ts",
|
|
7
|
-
"files": [
|
|
8
|
-
"/dist"
|
|
9
|
-
],
|
|
10
|
-
"author": "Trii LLC",
|
|
11
|
-
"license": "ISC"
|
|
12
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@trii/types",
|
|
3
|
+
"version": "2.10.730",
|
|
4
|
+
"description": "Types definitions for Trii projects - ",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"/dist"
|
|
9
|
+
],
|
|
10
|
+
"author": "Trii LLC",
|
|
11
|
+
"license": "ISC"
|
|
12
|
+
}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { AutomationError, AutomationJsonObject, AutomationJsonSchema, AutomationSourceApplication } from '../Common';
|
|
2
|
-
export declare enum AutomationCapabilityKind {
|
|
3
|
-
TRIGGER = "trigger",
|
|
4
|
-
ACTION = "action",
|
|
5
|
-
CONDITION = "condition"
|
|
6
|
-
}
|
|
7
|
-
export declare enum AutomationCapabilityEffectClass {
|
|
8
|
-
NONE = "none",
|
|
9
|
-
READ = "read",
|
|
10
|
-
WRITE = "write",
|
|
11
|
-
COMMUNICATION = "communication",
|
|
12
|
-
BULK = "bulk"
|
|
13
|
-
}
|
|
14
|
-
export declare enum AutomationCapabilityIdempotency {
|
|
15
|
-
NONE = "none",
|
|
16
|
-
SUPPORTED = "supported",
|
|
17
|
-
REQUIRED = "required"
|
|
18
|
-
}
|
|
19
|
-
/** Capacidades operativas que el runtime puede aplicar de forma confiable. */
|
|
20
|
-
export interface AutomationCapabilityExecutionSupport {
|
|
21
|
-
effectClass: AutomationCapabilityEffectClass;
|
|
22
|
-
supportsSimulation: boolean;
|
|
23
|
-
supportsTestTargets: boolean;
|
|
24
|
-
supportsUntilNode: boolean;
|
|
25
|
-
supportsFromNode: boolean;
|
|
26
|
-
supportsNodeOnly: boolean;
|
|
27
|
-
supportsCancellation: boolean;
|
|
28
|
-
idempotency: AutomationCapabilityIdempotency;
|
|
29
|
-
defaultTimeoutMs?: number | null;
|
|
30
|
-
maxAttempts?: number | null;
|
|
31
|
-
maxTestItems?: number | null;
|
|
32
|
-
inputSchema?: AutomationJsonSchema | null;
|
|
33
|
-
outputSchema?: AutomationJsonSchema | null;
|
|
34
|
-
simulationOutputSchema?: AutomationJsonSchema | null;
|
|
35
|
-
sensitivePaths?: string[] | null;
|
|
36
|
-
requiredPermissions?: string[] | null;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Capacidad publicada por una aplicación de negocio para que Automation pueda
|
|
40
|
-
* descubrirla y representarla sin incorporar reglas de ese dominio.
|
|
41
|
-
*/
|
|
42
|
-
export interface AutomationCapability {
|
|
43
|
-
code: string;
|
|
44
|
-
sourceApplication: AutomationSourceApplication;
|
|
45
|
-
kind: AutomationCapabilityKind;
|
|
46
|
-
name: string;
|
|
47
|
-
description?: string | null;
|
|
48
|
-
inputSchema?: AutomationJsonSchema | null;
|
|
49
|
-
outputSchema?: AutomationJsonSchema | null;
|
|
50
|
-
requiredPermissions: string[];
|
|
51
|
-
enabled: boolean;
|
|
52
|
-
version: number;
|
|
53
|
-
/** Metadata opcional para definitions anteriores a la política de ejecución. */
|
|
54
|
-
executionSupport?: AutomationCapabilityExecutionSupport | null;
|
|
55
|
-
}
|
|
56
|
-
export interface AutomationCapabilityQuery {
|
|
57
|
-
sourceApplications?: AutomationSourceApplication[];
|
|
58
|
-
kinds?: AutomationCapabilityKind[];
|
|
59
|
-
enabledOnly?: boolean;
|
|
60
|
-
version?: number;
|
|
61
|
-
}
|
|
62
|
-
export interface AutomationCapabilityReference {
|
|
63
|
-
code: string;
|
|
64
|
-
version: number;
|
|
65
|
-
sourceApplication: AutomationSourceApplication;
|
|
66
|
-
}
|
|
67
|
-
export interface AutomationCapabilityInvocation {
|
|
68
|
-
invocationId: string;
|
|
69
|
-
executionId: string;
|
|
70
|
-
nodeId: string;
|
|
71
|
-
capability: AutomationCapabilityReference;
|
|
72
|
-
input: AutomationJsonObject;
|
|
73
|
-
context: AutomationJsonObject;
|
|
74
|
-
}
|
|
75
|
-
export interface AutomationCapabilityResult {
|
|
76
|
-
invocationId: string;
|
|
77
|
-
success: boolean;
|
|
78
|
-
output?: AutomationJsonObject | null;
|
|
79
|
-
error?: AutomationError | null;
|
|
80
|
-
completedAt: string;
|
|
81
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AutomationCapabilityIdempotency = exports.AutomationCapabilityEffectClass = exports.AutomationCapabilityKind = void 0;
|
|
4
|
-
var AutomationCapabilityKind;
|
|
5
|
-
(function (AutomationCapabilityKind) {
|
|
6
|
-
AutomationCapabilityKind["TRIGGER"] = "trigger";
|
|
7
|
-
AutomationCapabilityKind["ACTION"] = "action";
|
|
8
|
-
AutomationCapabilityKind["CONDITION"] = "condition";
|
|
9
|
-
})(AutomationCapabilityKind || (exports.AutomationCapabilityKind = AutomationCapabilityKind = {}));
|
|
10
|
-
var AutomationCapabilityEffectClass;
|
|
11
|
-
(function (AutomationCapabilityEffectClass) {
|
|
12
|
-
AutomationCapabilityEffectClass["NONE"] = "none";
|
|
13
|
-
AutomationCapabilityEffectClass["READ"] = "read";
|
|
14
|
-
AutomationCapabilityEffectClass["WRITE"] = "write";
|
|
15
|
-
AutomationCapabilityEffectClass["COMMUNICATION"] = "communication";
|
|
16
|
-
AutomationCapabilityEffectClass["BULK"] = "bulk";
|
|
17
|
-
})(AutomationCapabilityEffectClass || (exports.AutomationCapabilityEffectClass = AutomationCapabilityEffectClass = {}));
|
|
18
|
-
var AutomationCapabilityIdempotency;
|
|
19
|
-
(function (AutomationCapabilityIdempotency) {
|
|
20
|
-
AutomationCapabilityIdempotency["NONE"] = "none";
|
|
21
|
-
AutomationCapabilityIdempotency["SUPPORTED"] = "supported";
|
|
22
|
-
AutomationCapabilityIdempotency["REQUIRED"] = "required";
|
|
23
|
-
})(AutomationCapabilityIdempotency || (exports.AutomationCapabilityIdempotency = AutomationCapabilityIdempotency = {}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Capability';
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./Capability"), exports);
|