@d19n/youfibre-odin-sdk 2.0.221 → 2.0.222
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/README.md +1 -3
- package/dist/actions-v2/CreateMissedIncomingCallDto.d.ts +1 -9
- package/dist/actions-v2/UpdateCallAnalyticsDto.d.ts +1 -9
- package/dist/entities-v2/Call.d.ts +43 -113
- package/dist/entities-v2/Call.js +13 -47
- package/dist/records-v2/CallRecord.d.ts +0 -54
- package/dist/records-v2/CallRecord.js +0 -58
- package/package.json +1 -1
- package/dist/actions-v2/UpdateCallOnInboundCallRingingDto.d.ts +0 -73
- package/dist/actions-v2/UpdateCallOnInboundCallRingingDto.js +0 -56
- package/dist/actions-v2/UpdateCallOnTaskCanceledDto.d.ts +0 -73
- package/dist/actions-v2/UpdateCallOnTaskCanceledDto.js +0 -56
package/README.md
CHANGED
|
@@ -357,7 +357,7 @@ This SDK includes **169** entities across **12** modules.
|
|
|
357
357
|
|
|
358
358
|
## Actions
|
|
359
359
|
|
|
360
|
-
This SDK includes **
|
|
360
|
+
This SDK includes **713** actions.
|
|
361
361
|
|
|
362
362
|
### Action Types
|
|
363
363
|
|
|
@@ -1451,12 +1451,10 @@ This SDK includes **715** actions.
|
|
|
1451
1451
|
| `UpdateCallInsights` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallInsights |
|
|
1452
1452
|
| `UpdateCallOnInboundCallAnswered` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnInboundCallAnswered |
|
|
1453
1453
|
| `UpdateCallOnInboundCallCompleted` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnInboundCallCompleted |
|
|
1454
|
-
| `UpdateCallOnInboundCallRinging` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnInboundCallRinging |
|
|
1455
1454
|
| `UpdateCallOnNumberCallStatus` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnNumberCallStatus |
|
|
1456
1455
|
| `UpdateCallOnOutboundCallAnswered` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundCallAnswered |
|
|
1457
1456
|
| `UpdateCallOnOutboundCallCompleted` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundCallCompleted |
|
|
1458
1457
|
| `UpdateCallOnOutboundDialAction` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundDialAction |
|
|
1459
|
-
| `UpdateCallOnTaskCanceled` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnTaskCanceled |
|
|
1460
1458
|
| `UpdateCallOnTaskRouterAssign` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnTaskRouterAssign |
|
|
1461
1459
|
| `UpdateCallRecordingDetails` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallRecordingDetails |
|
|
1462
1460
|
| `UpdateCallTranscriptionUrl` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallTranscriptionUrl |
|
|
@@ -21,7 +21,7 @@ export interface CreateMissedIncomingCallMessage extends OdinRecordCreatedEvent<
|
|
|
21
21
|
/**
|
|
22
22
|
* Properties for CreateMissedIncomingCall action
|
|
23
23
|
*
|
|
24
|
-
* @property Required fields:
|
|
24
|
+
* @property Required fields: 10
|
|
25
25
|
* @property Optional fields: 0
|
|
26
26
|
*/
|
|
27
27
|
export interface CreateMissedIncomingCallProperties {
|
|
@@ -105,14 +105,6 @@ export interface CreateMissedIncomingCallProperties {
|
|
|
105
105
|
* @required
|
|
106
106
|
*/
|
|
107
107
|
Duration: string;
|
|
108
|
-
/**
|
|
109
|
-
* missed call reason
|
|
110
|
-
*
|
|
111
|
-
* reason for the call being missed (Communications - Call)
|
|
112
|
-
* @type {TEXT}
|
|
113
|
-
* @required
|
|
114
|
-
*/
|
|
115
|
-
MissedCallReason: string;
|
|
116
108
|
}
|
|
117
109
|
/**
|
|
118
110
|
* CreateMissedIncomingCall
|
|
@@ -21,7 +21,7 @@ export interface UpdateCallAnalyticsMessage extends OdinRecordUpdatedEvent<Updat
|
|
|
21
21
|
/**
|
|
22
22
|
* Properties for UpdateCallAnalytics action
|
|
23
23
|
*
|
|
24
|
-
* @property Required fields:
|
|
24
|
+
* @property Required fields: 7
|
|
25
25
|
* @property Optional fields: 0
|
|
26
26
|
*/
|
|
27
27
|
export interface UpdateCallAnalyticsProperties {
|
|
@@ -33,14 +33,6 @@ export interface UpdateCallAnalyticsProperties {
|
|
|
33
33
|
* @required
|
|
34
34
|
*/
|
|
35
35
|
TimeInQueued: string;
|
|
36
|
-
/**
|
|
37
|
-
* TimeInRinging
|
|
38
|
-
*
|
|
39
|
-
* TimeInRinging (Communications - Call)
|
|
40
|
-
* @type {TEXT}
|
|
41
|
-
* @required
|
|
42
|
-
*/
|
|
43
|
-
TimeInRinging: string;
|
|
44
36
|
/**
|
|
45
37
|
* TimeInProgress
|
|
46
38
|
*
|
|
@@ -28,25 +28,6 @@ export declare enum CallEntityTypes {
|
|
|
28
28
|
/** This is the default record type */
|
|
29
29
|
DEFAULT = "DEFAULT"
|
|
30
30
|
}
|
|
31
|
-
/**
|
|
32
|
-
* Valid values for Call.CallType
|
|
33
|
-
*
|
|
34
|
-
* Classification type for Call records. Used by Communications team for categorization.
|
|
35
|
-
*
|
|
36
|
-
* @remarks Available options:
|
|
37
|
-
* - `cold-call` - Cold Call
|
|
38
|
-
* - `other` - Other
|
|
39
|
-
* - `sales`
|
|
40
|
-
* - `support` - Support
|
|
41
|
-
* - `warm-call` - Warm Call
|
|
42
|
-
*/
|
|
43
|
-
export declare enum CallCallType {
|
|
44
|
-
COLD_CALL = "cold-call",
|
|
45
|
-
OTHER = "other",
|
|
46
|
-
SALES = "sales",
|
|
47
|
-
SUPPORT = "support",
|
|
48
|
-
WARM_CALL = "warm-call"
|
|
49
|
-
}
|
|
50
31
|
/**
|
|
51
32
|
* Valid values for Call.Direction
|
|
52
33
|
*
|
|
@@ -134,20 +115,16 @@ export declare enum CallPropertyKeys {
|
|
|
134
115
|
CustomerHoldTotalSec = "CustomerHoldTotalSec",
|
|
135
116
|
/** Data field for Call records. Used by Communications team. */
|
|
136
117
|
To = "To",
|
|
137
|
-
/** When customer call was answered (Communications - Call) */
|
|
138
|
-
AnswerTime = "AnswerTime",
|
|
139
|
-
/** Reference identifier for Call relationships. Used for data integrity. */
|
|
140
|
-
LeadId = "LeadId",
|
|
141
118
|
/** RecordingStatus (Communications - Call) */
|
|
142
119
|
RecordingStatus = "RecordingStatus",
|
|
143
120
|
/** Reference identifier for Call relationships. Used for data integrity. */
|
|
144
121
|
ContactId = "ContactId",
|
|
145
122
|
/** Twilio ID for Recording (Communications - Call) */
|
|
146
123
|
RecordingSid = "RecordingSid",
|
|
147
|
-
/** Classification type for Call records. Used by Communications team for categorization. */
|
|
148
|
-
CallType = "CallType",
|
|
149
124
|
/** Display name/title for Call records. Primary identifier for Communications team. */
|
|
150
125
|
QueueName = "QueueName",
|
|
126
|
+
/** When customer call was answered (Communications - Call) */
|
|
127
|
+
AnswerTime = "AnswerTime",
|
|
151
128
|
/** AgentHoldTotalSec */
|
|
152
129
|
AgentHoldTotalSec = "AgentHoldTotalSec",
|
|
153
130
|
/** MuteTotalSec */
|
|
@@ -166,22 +143,16 @@ export declare enum CallPropertyKeys {
|
|
|
166
143
|
RecordingUrl = "RecordingUrl",
|
|
167
144
|
/** The Odin user that handled the call (Communications - Call) */
|
|
168
145
|
UserId = "UserId",
|
|
169
|
-
/** the Id of the parent call (used in conference calls) (Communications - Call) */
|
|
170
|
-
ExternalParentCallId = "ExternalParentCallId",
|
|
171
146
|
/** Reference identifier for Call relationships. Used for data integrity. */
|
|
172
147
|
CaseId = "CaseId",
|
|
148
|
+
/** the Id of the parent call (used in conference calls) (Communications - Call) */
|
|
149
|
+
ExternalParentCallId = "ExternalParentCallId",
|
|
173
150
|
/** the external id from the call management system (Communications - Call) */
|
|
174
151
|
ExternalId = "ExternalId",
|
|
175
152
|
/** Direction of call (Communications - Call) */
|
|
176
153
|
Direction = "Direction",
|
|
177
|
-
/** Data field for Call records. Used by Communications team. */
|
|
178
|
-
EndTime = "EndTime",
|
|
179
154
|
/** The granular stage of a call, more extensive than CallStatus (Communications - Call) */
|
|
180
155
|
CallStage = "CallStage",
|
|
181
|
-
/** reason for the call being missed (Communications - Call) */
|
|
182
|
-
MissedCallReason = "MissedCallReason",
|
|
183
|
-
/** RingingTimeTotalec */
|
|
184
|
-
RingingTimeTotalec = "RingingTimeTotalec",
|
|
185
156
|
/** Seconds spent in queue (Communications - Call) */
|
|
186
157
|
QueueTime = "QueueTime",
|
|
187
158
|
/** AirCallAgentId (Communications - Call) */
|
|
@@ -198,18 +169,12 @@ export declare enum CallPropertyKeys {
|
|
|
198
169
|
CurrentAgentEmail = "CurrentAgentEmail",
|
|
199
170
|
/** LastStatusUpdate (Communications - Call) */
|
|
200
171
|
LastStatusUpdate = "LastStatusUpdate",
|
|
201
|
-
/** TimeInRinging (Communications - Call) */
|
|
202
|
-
TimeInRinging = "TimeInRinging",
|
|
203
172
|
/** Data field for Call records. Used by Communications team. */
|
|
204
173
|
Duration = "Duration",
|
|
205
|
-
/** ParentCallId (Communications - Call) */
|
|
206
|
-
ParentCallId = "ParentCallId",
|
|
207
174
|
/** Number of times this call was transferred (Communications - Call) */
|
|
208
175
|
TransferCount = "TransferCount",
|
|
209
176
|
/** Total call duration in seconds from customer perspective (Communications - Call) */
|
|
210
177
|
TotalDuration = "TotalDuration",
|
|
211
|
-
/** Data field for Call records. Used by Communications team. */
|
|
212
|
-
StartTime = "StartTime",
|
|
213
178
|
/** TimeInQueued (Communications - Call) */
|
|
214
179
|
TimeInQueued = "TimeInQueued",
|
|
215
180
|
/** TimeInProgress (Communications - Call) */
|
|
@@ -222,22 +187,24 @@ export declare enum CallPropertyKeys {
|
|
|
222
187
|
WhoHungUp = "WhoHungUp",
|
|
223
188
|
/** RecordingDuration (Communications - Call) */
|
|
224
189
|
RecordingDuration = "RecordingDuration",
|
|
190
|
+
/** Data field for Call records. Used by Communications team. */
|
|
191
|
+
EndTime = "EndTime",
|
|
192
|
+
/** ParentCallId (Communications - Call) */
|
|
193
|
+
ParentCallId = "ParentCallId",
|
|
194
|
+
/** Data field for Call records. Used by Communications team. */
|
|
195
|
+
StartTime = "StartTime",
|
|
225
196
|
/** ActiveTransferId */
|
|
226
197
|
ActiveTransferId = "ActiveTransferId",
|
|
227
198
|
/** Data field for Call records. Used by Communications team. */
|
|
228
199
|
From = "From",
|
|
229
200
|
/** Classification type for Call records. Used by Communications team for categorization. */
|
|
230
201
|
Type = "Type",
|
|
231
|
-
/** QueueEntryTime */
|
|
232
|
-
QueueEntryTime = "QueueEntryTime",
|
|
233
202
|
/** IVRDuration */
|
|
234
203
|
IvrDuration = "IVRDuration",
|
|
204
|
+
/** QueueEntryTime */
|
|
205
|
+
QueueEntryTime = "QueueEntryTime",
|
|
235
206
|
/** CallEndReason */
|
|
236
207
|
CallEndReason = "CallEndReason",
|
|
237
|
-
/** AgentRingTime */
|
|
238
|
-
AgentRingTime = "AgentRingTime",
|
|
239
|
-
/** RoutingAttempts */
|
|
240
|
-
RoutingAttempts = "RoutingAttempts",
|
|
241
208
|
/** RingingTimeTotalSec */
|
|
242
209
|
RingingTimeTotalSec = "RingingTimeTotalSec"
|
|
243
210
|
}
|
|
@@ -257,17 +224,6 @@ export interface CallProperties {
|
|
|
257
224
|
* @type {TEXT}
|
|
258
225
|
*/
|
|
259
226
|
To: string;
|
|
260
|
-
/** When customer call was answered (Communications - Call)
|
|
261
|
-
*
|
|
262
|
-
* @type {DATE_TIME}
|
|
263
|
-
*/
|
|
264
|
-
AnswerTime: string;
|
|
265
|
-
/** Reference identifier for Call relationships. Used for data integrity.
|
|
266
|
-
*
|
|
267
|
-
* @type {LOOKUP}
|
|
268
|
-
* @hidden This field is hidden in the UI
|
|
269
|
-
*/
|
|
270
|
-
LeadId: string;
|
|
271
227
|
/** RecordingStatus (Communications - Call)
|
|
272
228
|
*
|
|
273
229
|
* @type {TEXT}
|
|
@@ -284,17 +240,16 @@ export interface CallProperties {
|
|
|
284
240
|
* @type {TEXT}
|
|
285
241
|
*/
|
|
286
242
|
RecordingSid: string;
|
|
287
|
-
/** Classification type for Call records. Used by Communications team for categorization.
|
|
288
|
-
*
|
|
289
|
-
* @type {ENUM}
|
|
290
|
-
* @enum {CallCallType}
|
|
291
|
-
*/
|
|
292
|
-
CallType: CallCallType;
|
|
293
243
|
/** Display name/title for Call records. Primary identifier for Communications team.
|
|
294
244
|
*
|
|
295
245
|
* @type {TEXT}
|
|
296
246
|
*/
|
|
297
247
|
QueueName: string;
|
|
248
|
+
/** When customer call was answered (Communications - Call)
|
|
249
|
+
*
|
|
250
|
+
* @type {DATE_TIME}
|
|
251
|
+
*/
|
|
252
|
+
AnswerTime: string;
|
|
298
253
|
/** AgentHoldTotalSec
|
|
299
254
|
*
|
|
300
255
|
* @type {TEXT}
|
|
@@ -344,18 +299,18 @@ export interface CallProperties {
|
|
|
344
299
|
* @hidden This field is hidden in the UI
|
|
345
300
|
*/
|
|
346
301
|
UserId: string;
|
|
347
|
-
/** the Id of the parent call (used in conference calls) (Communications - Call)
|
|
348
|
-
*
|
|
349
|
-
* @type {TEXT}
|
|
350
|
-
* @hidden This field is hidden in the UI
|
|
351
|
-
*/
|
|
352
|
-
ExternalParentCallId: string;
|
|
353
302
|
/** Reference identifier for Call relationships. Used for data integrity.
|
|
354
303
|
*
|
|
355
304
|
* @type {LOOKUP}
|
|
356
305
|
* @hidden This field is hidden in the UI
|
|
357
306
|
*/
|
|
358
307
|
CaseId: string;
|
|
308
|
+
/** the Id of the parent call (used in conference calls) (Communications - Call)
|
|
309
|
+
*
|
|
310
|
+
* @type {TEXT}
|
|
311
|
+
* @hidden This field is hidden in the UI
|
|
312
|
+
*/
|
|
313
|
+
ExternalParentCallId: string;
|
|
359
314
|
/** the external id from the call management system (Communications - Call)
|
|
360
315
|
*
|
|
361
316
|
* @type {TEXT}
|
|
@@ -368,27 +323,12 @@ export interface CallProperties {
|
|
|
368
323
|
* @enum {CallDirection}
|
|
369
324
|
*/
|
|
370
325
|
Direction: CallDirection;
|
|
371
|
-
/** Data field for Call records. Used by Communications team.
|
|
372
|
-
*
|
|
373
|
-
* @type {DATE_TIME}
|
|
374
|
-
*/
|
|
375
|
-
EndTime: string;
|
|
376
326
|
/** The granular stage of a call, more extensive than CallStatus (Communications - Call)
|
|
377
327
|
*
|
|
378
328
|
* @type {ENUM}
|
|
379
329
|
* @enum {CallCallStage}
|
|
380
330
|
*/
|
|
381
331
|
CallStage: CallCallStage;
|
|
382
|
-
/** reason for the call being missed (Communications - Call)
|
|
383
|
-
*
|
|
384
|
-
* @type {TEXT}
|
|
385
|
-
*/
|
|
386
|
-
MissedCallReason: string;
|
|
387
|
-
/** RingingTimeTotalec
|
|
388
|
-
*
|
|
389
|
-
* @type {TEXT}
|
|
390
|
-
*/
|
|
391
|
-
RingingTimeTotalec: string;
|
|
392
332
|
/** Seconds spent in queue (Communications - Call)
|
|
393
333
|
*
|
|
394
334
|
* @type {NUMBER}
|
|
@@ -430,21 +370,11 @@ export interface CallProperties {
|
|
|
430
370
|
* @type {DATE_TIME}
|
|
431
371
|
*/
|
|
432
372
|
LastStatusUpdate: string;
|
|
433
|
-
/** TimeInRinging (Communications - Call)
|
|
434
|
-
*
|
|
435
|
-
* @type {TEXT}
|
|
436
|
-
*/
|
|
437
|
-
TimeInRinging: string;
|
|
438
373
|
/** Data field for Call records. Used by Communications team.
|
|
439
374
|
*
|
|
440
375
|
* @type {TEXT}
|
|
441
376
|
*/
|
|
442
377
|
Duration: string;
|
|
443
|
-
/** ParentCallId (Communications - Call)
|
|
444
|
-
*
|
|
445
|
-
* @type {UUID}
|
|
446
|
-
*/
|
|
447
|
-
ParentCallId: string;
|
|
448
378
|
/** Number of times this call was transferred (Communications - Call)
|
|
449
379
|
*
|
|
450
380
|
* @type {NUMBER}
|
|
@@ -455,11 +385,6 @@ export interface CallProperties {
|
|
|
455
385
|
* @type {NUMBER}
|
|
456
386
|
*/
|
|
457
387
|
TotalDuration: number;
|
|
458
|
-
/** Data field for Call records. Used by Communications team.
|
|
459
|
-
*
|
|
460
|
-
* @type {DATE_TIME}
|
|
461
|
-
*/
|
|
462
|
-
StartTime: string;
|
|
463
388
|
/** TimeInQueued (Communications - Call)
|
|
464
389
|
*
|
|
465
390
|
* @type {TEXT}
|
|
@@ -491,6 +416,21 @@ export interface CallProperties {
|
|
|
491
416
|
* @type {TEXT}
|
|
492
417
|
*/
|
|
493
418
|
RecordingDuration: string;
|
|
419
|
+
/** Data field for Call records. Used by Communications team.
|
|
420
|
+
*
|
|
421
|
+
* @type {DATE_TIME}
|
|
422
|
+
*/
|
|
423
|
+
EndTime: string;
|
|
424
|
+
/** ParentCallId (Communications - Call)
|
|
425
|
+
*
|
|
426
|
+
* @type {UUID}
|
|
427
|
+
*/
|
|
428
|
+
ParentCallId: string;
|
|
429
|
+
/** Data field for Call records. Used by Communications team.
|
|
430
|
+
*
|
|
431
|
+
* @type {DATE_TIME}
|
|
432
|
+
*/
|
|
433
|
+
StartTime: string;
|
|
494
434
|
/** ActiveTransferId
|
|
495
435
|
*
|
|
496
436
|
* @type {TEXT}
|
|
@@ -506,32 +446,22 @@ export interface CallProperties {
|
|
|
506
446
|
* @type {TEXT}
|
|
507
447
|
*/
|
|
508
448
|
Type: string;
|
|
509
|
-
/** QueueEntryTime
|
|
510
|
-
*
|
|
511
|
-
* @type {DATE_TIME}
|
|
512
|
-
*/
|
|
513
|
-
QueueEntryTime: string;
|
|
514
449
|
/** IVRDuration
|
|
515
450
|
*
|
|
516
451
|
* @type {NUMBER}
|
|
517
452
|
*/
|
|
518
453
|
IvrDuration: number;
|
|
454
|
+
/** QueueEntryTime
|
|
455
|
+
*
|
|
456
|
+
* @type {DATE_TIME}
|
|
457
|
+
*/
|
|
458
|
+
QueueEntryTime: string;
|
|
519
459
|
/** CallEndReason
|
|
520
460
|
*
|
|
521
461
|
* @type {ENUM}
|
|
522
462
|
* @enum {CallCallEndReason}
|
|
523
463
|
*/
|
|
524
464
|
CallEndReason: CallCallEndReason;
|
|
525
|
-
/** AgentRingTime
|
|
526
|
-
*
|
|
527
|
-
* @type {DATE_TIME}
|
|
528
|
-
*/
|
|
529
|
-
AgentRingTime: string;
|
|
530
|
-
/** RoutingAttempts
|
|
531
|
-
*
|
|
532
|
-
* @type {TEXT}
|
|
533
|
-
*/
|
|
534
|
-
RoutingAttempts: string;
|
|
535
465
|
/** RingingTimeTotalSec
|
|
536
466
|
*
|
|
537
467
|
* @type {TEXT}
|
package/dist/entities-v2/Call.js
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Generated from Odin schema definition
|
|
13
13
|
*/
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.ROUTING_KEY_LINK_CALL_TWILIO_CALL_EVENTS_DELETED = exports.ROUTING_KEY_LINK_CALL_TWILIO_CALL_EVENTS_CREATED = exports.ROUTING_KEY_LINK_CALL_WORK_ORDER_DELETED = exports.ROUTING_KEY_LINK_CALL_WORK_ORDER_CREATED = exports.ROUTING_KEY_LINK_CALL_CASE_DELETED = exports.ROUTING_KEY_LINK_CALL_CASE_CREATED = exports.ROUTING_KEY_LINK_CALL_CALL_EVENT_DELETED = exports.ROUTING_KEY_LINK_CALL_CALL_EVENT_CREATED = exports.ROUTING_KEY_LINK_CALL_CALL_TRANSFER_DELETED = exports.ROUTING_KEY_LINK_CALL_CALL_TRANSFER_CREATED = exports.ROUTING_KEY_LINK_CALL_CALL_LEG_DELETED = exports.ROUTING_KEY_LINK_CALL_CALL_LEG_CREATED = exports.ROUTING_KEY_LINK_CALL_CONTACT_DELETED = exports.ROUTING_KEY_LINK_CALL_CONTACT_CREATED = exports.ROUTING_KEY_LINK_CALL_ACTIVITY_DELETED = exports.ROUTING_KEY_LINK_CALL_ACTIVITY_CREATED = exports.ROUTING_KEY_LINK_CALL_FILE_DELETED = exports.ROUTING_KEY_LINK_CALL_FILE_CREATED = exports.ROUTING_KEY_LINK_CALL_LEAD_DELETED = exports.ROUTING_KEY_LINK_CALL_LEAD_CREATED = exports.ROUTING_KEY_CALL_DEFAULT_DELETED = exports.ROUTING_KEY_CALL_DEFAULT_UPDATED = exports.ROUTING_KEY_CALL_DEFAULT_CREATED = exports.ROUTING_KEY_CALL_DELETED = exports.ROUTING_KEY_CALL_UPDATED = exports.ROUTING_KEY_CALL_CREATED = exports.Call = exports.CallPropertyKeys = exports.CallCallEndReason = exports.CallWhoHungUp = exports.CallCallStage = exports.CallDirection = exports.
|
|
15
|
+
exports.ROUTING_KEY_LINK_CALL_TWILIO_CALL_EVENTS_DELETED = exports.ROUTING_KEY_LINK_CALL_TWILIO_CALL_EVENTS_CREATED = exports.ROUTING_KEY_LINK_CALL_WORK_ORDER_DELETED = exports.ROUTING_KEY_LINK_CALL_WORK_ORDER_CREATED = exports.ROUTING_KEY_LINK_CALL_CASE_DELETED = exports.ROUTING_KEY_LINK_CALL_CASE_CREATED = exports.ROUTING_KEY_LINK_CALL_CALL_EVENT_DELETED = exports.ROUTING_KEY_LINK_CALL_CALL_EVENT_CREATED = exports.ROUTING_KEY_LINK_CALL_CALL_TRANSFER_DELETED = exports.ROUTING_KEY_LINK_CALL_CALL_TRANSFER_CREATED = exports.ROUTING_KEY_LINK_CALL_CALL_LEG_DELETED = exports.ROUTING_KEY_LINK_CALL_CALL_LEG_CREATED = exports.ROUTING_KEY_LINK_CALL_CONTACT_DELETED = exports.ROUTING_KEY_LINK_CALL_CONTACT_CREATED = exports.ROUTING_KEY_LINK_CALL_ACTIVITY_DELETED = exports.ROUTING_KEY_LINK_CALL_ACTIVITY_CREATED = exports.ROUTING_KEY_LINK_CALL_FILE_DELETED = exports.ROUTING_KEY_LINK_CALL_FILE_CREATED = exports.ROUTING_KEY_LINK_CALL_LEAD_DELETED = exports.ROUTING_KEY_LINK_CALL_LEAD_CREATED = exports.ROUTING_KEY_CALL_DEFAULT_DELETED = exports.ROUTING_KEY_CALL_DEFAULT_UPDATED = exports.ROUTING_KEY_CALL_DEFAULT_CREATED = exports.ROUTING_KEY_CALL_DELETED = exports.ROUTING_KEY_CALL_UPDATED = exports.ROUTING_KEY_CALL_CREATED = exports.Call = exports.CallPropertyKeys = exports.CallCallEndReason = exports.CallWhoHungUp = exports.CallCallStage = exports.CallDirection = exports.CallEntityTypes = void 0;
|
|
16
16
|
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
17
|
/**
|
|
18
18
|
* Available types for Call records
|
|
@@ -22,26 +22,6 @@ var CallEntityTypes;
|
|
|
22
22
|
/** This is the default record type */
|
|
23
23
|
CallEntityTypes["DEFAULT"] = "DEFAULT";
|
|
24
24
|
})(CallEntityTypes = exports.CallEntityTypes || (exports.CallEntityTypes = {}));
|
|
25
|
-
/**
|
|
26
|
-
* Valid values for Call.CallType
|
|
27
|
-
*
|
|
28
|
-
* Classification type for Call records. Used by Communications team for categorization.
|
|
29
|
-
*
|
|
30
|
-
* @remarks Available options:
|
|
31
|
-
* - `cold-call` - Cold Call
|
|
32
|
-
* - `other` - Other
|
|
33
|
-
* - `sales`
|
|
34
|
-
* - `support` - Support
|
|
35
|
-
* - `warm-call` - Warm Call
|
|
36
|
-
*/
|
|
37
|
-
var CallCallType;
|
|
38
|
-
(function (CallCallType) {
|
|
39
|
-
CallCallType["COLD_CALL"] = "cold-call";
|
|
40
|
-
CallCallType["OTHER"] = "other";
|
|
41
|
-
CallCallType["SALES"] = "sales";
|
|
42
|
-
CallCallType["SUPPORT"] = "support";
|
|
43
|
-
CallCallType["WARM_CALL"] = "warm-call";
|
|
44
|
-
})(CallCallType = exports.CallCallType || (exports.CallCallType = {}));
|
|
45
25
|
/**
|
|
46
26
|
* Valid values for Call.Direction
|
|
47
27
|
*
|
|
@@ -134,20 +114,16 @@ var CallPropertyKeys;
|
|
|
134
114
|
CallPropertyKeys["CustomerHoldTotalSec"] = "CustomerHoldTotalSec";
|
|
135
115
|
/** Data field for Call records. Used by Communications team. */
|
|
136
116
|
CallPropertyKeys["To"] = "To";
|
|
137
|
-
/** When customer call was answered (Communications - Call) */
|
|
138
|
-
CallPropertyKeys["AnswerTime"] = "AnswerTime";
|
|
139
|
-
/** Reference identifier for Call relationships. Used for data integrity. */
|
|
140
|
-
CallPropertyKeys["LeadId"] = "LeadId";
|
|
141
117
|
/** RecordingStatus (Communications - Call) */
|
|
142
118
|
CallPropertyKeys["RecordingStatus"] = "RecordingStatus";
|
|
143
119
|
/** Reference identifier for Call relationships. Used for data integrity. */
|
|
144
120
|
CallPropertyKeys["ContactId"] = "ContactId";
|
|
145
121
|
/** Twilio ID for Recording (Communications - Call) */
|
|
146
122
|
CallPropertyKeys["RecordingSid"] = "RecordingSid";
|
|
147
|
-
/** Classification type for Call records. Used by Communications team for categorization. */
|
|
148
|
-
CallPropertyKeys["CallType"] = "CallType";
|
|
149
123
|
/** Display name/title for Call records. Primary identifier for Communications team. */
|
|
150
124
|
CallPropertyKeys["QueueName"] = "QueueName";
|
|
125
|
+
/** When customer call was answered (Communications - Call) */
|
|
126
|
+
CallPropertyKeys["AnswerTime"] = "AnswerTime";
|
|
151
127
|
/** AgentHoldTotalSec */
|
|
152
128
|
CallPropertyKeys["AgentHoldTotalSec"] = "AgentHoldTotalSec";
|
|
153
129
|
/** MuteTotalSec */
|
|
@@ -166,22 +142,16 @@ var CallPropertyKeys;
|
|
|
166
142
|
CallPropertyKeys["RecordingUrl"] = "RecordingUrl";
|
|
167
143
|
/** The Odin user that handled the call (Communications - Call) */
|
|
168
144
|
CallPropertyKeys["UserId"] = "UserId";
|
|
169
|
-
/** the Id of the parent call (used in conference calls) (Communications - Call) */
|
|
170
|
-
CallPropertyKeys["ExternalParentCallId"] = "ExternalParentCallId";
|
|
171
145
|
/** Reference identifier for Call relationships. Used for data integrity. */
|
|
172
146
|
CallPropertyKeys["CaseId"] = "CaseId";
|
|
147
|
+
/** the Id of the parent call (used in conference calls) (Communications - Call) */
|
|
148
|
+
CallPropertyKeys["ExternalParentCallId"] = "ExternalParentCallId";
|
|
173
149
|
/** the external id from the call management system (Communications - Call) */
|
|
174
150
|
CallPropertyKeys["ExternalId"] = "ExternalId";
|
|
175
151
|
/** Direction of call (Communications - Call) */
|
|
176
152
|
CallPropertyKeys["Direction"] = "Direction";
|
|
177
|
-
/** Data field for Call records. Used by Communications team. */
|
|
178
|
-
CallPropertyKeys["EndTime"] = "EndTime";
|
|
179
153
|
/** The granular stage of a call, more extensive than CallStatus (Communications - Call) */
|
|
180
154
|
CallPropertyKeys["CallStage"] = "CallStage";
|
|
181
|
-
/** reason for the call being missed (Communications - Call) */
|
|
182
|
-
CallPropertyKeys["MissedCallReason"] = "MissedCallReason";
|
|
183
|
-
/** RingingTimeTotalec */
|
|
184
|
-
CallPropertyKeys["RingingTimeTotalec"] = "RingingTimeTotalec";
|
|
185
155
|
/** Seconds spent in queue (Communications - Call) */
|
|
186
156
|
CallPropertyKeys["QueueTime"] = "QueueTime";
|
|
187
157
|
/** AirCallAgentId (Communications - Call) */
|
|
@@ -198,18 +168,12 @@ var CallPropertyKeys;
|
|
|
198
168
|
CallPropertyKeys["CurrentAgentEmail"] = "CurrentAgentEmail";
|
|
199
169
|
/** LastStatusUpdate (Communications - Call) */
|
|
200
170
|
CallPropertyKeys["LastStatusUpdate"] = "LastStatusUpdate";
|
|
201
|
-
/** TimeInRinging (Communications - Call) */
|
|
202
|
-
CallPropertyKeys["TimeInRinging"] = "TimeInRinging";
|
|
203
171
|
/** Data field for Call records. Used by Communications team. */
|
|
204
172
|
CallPropertyKeys["Duration"] = "Duration";
|
|
205
|
-
/** ParentCallId (Communications - Call) */
|
|
206
|
-
CallPropertyKeys["ParentCallId"] = "ParentCallId";
|
|
207
173
|
/** Number of times this call was transferred (Communications - Call) */
|
|
208
174
|
CallPropertyKeys["TransferCount"] = "TransferCount";
|
|
209
175
|
/** Total call duration in seconds from customer perspective (Communications - Call) */
|
|
210
176
|
CallPropertyKeys["TotalDuration"] = "TotalDuration";
|
|
211
|
-
/** Data field for Call records. Used by Communications team. */
|
|
212
|
-
CallPropertyKeys["StartTime"] = "StartTime";
|
|
213
177
|
/** TimeInQueued (Communications - Call) */
|
|
214
178
|
CallPropertyKeys["TimeInQueued"] = "TimeInQueued";
|
|
215
179
|
/** TimeInProgress (Communications - Call) */
|
|
@@ -222,22 +186,24 @@ var CallPropertyKeys;
|
|
|
222
186
|
CallPropertyKeys["WhoHungUp"] = "WhoHungUp";
|
|
223
187
|
/** RecordingDuration (Communications - Call) */
|
|
224
188
|
CallPropertyKeys["RecordingDuration"] = "RecordingDuration";
|
|
189
|
+
/** Data field for Call records. Used by Communications team. */
|
|
190
|
+
CallPropertyKeys["EndTime"] = "EndTime";
|
|
191
|
+
/** ParentCallId (Communications - Call) */
|
|
192
|
+
CallPropertyKeys["ParentCallId"] = "ParentCallId";
|
|
193
|
+
/** Data field for Call records. Used by Communications team. */
|
|
194
|
+
CallPropertyKeys["StartTime"] = "StartTime";
|
|
225
195
|
/** ActiveTransferId */
|
|
226
196
|
CallPropertyKeys["ActiveTransferId"] = "ActiveTransferId";
|
|
227
197
|
/** Data field for Call records. Used by Communications team. */
|
|
228
198
|
CallPropertyKeys["From"] = "From";
|
|
229
199
|
/** Classification type for Call records. Used by Communications team for categorization. */
|
|
230
200
|
CallPropertyKeys["Type"] = "Type";
|
|
231
|
-
/** QueueEntryTime */
|
|
232
|
-
CallPropertyKeys["QueueEntryTime"] = "QueueEntryTime";
|
|
233
201
|
/** IVRDuration */
|
|
234
202
|
CallPropertyKeys["IvrDuration"] = "IVRDuration";
|
|
203
|
+
/** QueueEntryTime */
|
|
204
|
+
CallPropertyKeys["QueueEntryTime"] = "QueueEntryTime";
|
|
235
205
|
/** CallEndReason */
|
|
236
206
|
CallPropertyKeys["CallEndReason"] = "CallEndReason";
|
|
237
|
-
/** AgentRingTime */
|
|
238
|
-
CallPropertyKeys["AgentRingTime"] = "AgentRingTime";
|
|
239
|
-
/** RoutingAttempts */
|
|
240
|
-
CallPropertyKeys["RoutingAttempts"] = "RoutingAttempts";
|
|
241
207
|
/** RingingTimeTotalSec */
|
|
242
208
|
CallPropertyKeys["RingingTimeTotalSec"] = "RingingTimeTotalSec";
|
|
243
209
|
})(CallPropertyKeys = exports.CallPropertyKeys || (exports.CallPropertyKeys = {}));
|
|
@@ -32,12 +32,10 @@ import { UpdateCallAnalyticsProperties } from '../actions-v2/UpdateCallAnalytics
|
|
|
32
32
|
import { UpdateCallInsightsProperties } from '../actions-v2/UpdateCallInsightsDto';
|
|
33
33
|
import { UpdateCallOnInboundCallAnsweredProperties } from '../actions-v2/UpdateCallOnInboundCallAnsweredDto';
|
|
34
34
|
import { UpdateCallOnInboundCallCompletedProperties } from '../actions-v2/UpdateCallOnInboundCallCompletedDto';
|
|
35
|
-
import { UpdateCallOnInboundCallRingingProperties } from '../actions-v2/UpdateCallOnInboundCallRingingDto';
|
|
36
35
|
import { UpdateCallOnNumberCallStatusProperties } from '../actions-v2/UpdateCallOnNumberCallStatusDto';
|
|
37
36
|
import { UpdateCallOnOutboundCallAnsweredProperties } from '../actions-v2/UpdateCallOnOutboundCallAnsweredDto';
|
|
38
37
|
import { UpdateCallOnOutboundCallCompletedProperties } from '../actions-v2/UpdateCallOnOutboundCallCompletedDto';
|
|
39
38
|
import { UpdateCallOnOutboundDialActionProperties } from '../actions-v2/UpdateCallOnOutboundDialActionDto';
|
|
40
|
-
import { UpdateCallOnTaskCanceledProperties } from '../actions-v2/UpdateCallOnTaskCanceledDto';
|
|
41
39
|
import { UpdateCallOnTaskRouterAssignProperties } from '../actions-v2/UpdateCallOnTaskRouterAssignDto';
|
|
42
40
|
import { UpdateCallRecordingDetailsProperties } from '../actions-v2/UpdateCallRecordingDetailsDto';
|
|
43
41
|
import { UpdateCallTranscriptionUrlProperties } from '../actions-v2/UpdateCallTranscriptionUrlDto';
|
|
@@ -531,32 +529,6 @@ export declare class CallRecord<TProps = CallProperties> {
|
|
|
531
529
|
journeyId?: string;
|
|
532
530
|
stageKey?: string;
|
|
533
531
|
}): ActionBuilder;
|
|
534
|
-
/**
|
|
535
|
-
* UpdateCallOnInboundCallRinging
|
|
536
|
-
*
|
|
537
|
-
* Updates this Call record with the specified properties.
|
|
538
|
-
* Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
|
|
539
|
-
*
|
|
540
|
-
* @param properties - Required properties for this action
|
|
541
|
-
* @param options - Optional settings
|
|
542
|
-
* @param options.journeyId - Associate with a journey
|
|
543
|
-
* @param options.stageKey - Transition to pipeline stage
|
|
544
|
-
* @returns ActionBuilder - call .execute() to update or .dryRun() for payload
|
|
545
|
-
* @throws Error if called on a new (unsaved) record
|
|
546
|
-
*
|
|
547
|
-
* @example
|
|
548
|
-
* ```typescript
|
|
549
|
-
* const record = await odinClient.calls.get(id);
|
|
550
|
-
* await record.updateCallOnInboundCallRinging({ ... }).execute();
|
|
551
|
-
*
|
|
552
|
-
* // Dry run (for debugging)
|
|
553
|
-
* const payload = record.updateCallOnInboundCallRinging({ ... }).dryRun();
|
|
554
|
-
* ```
|
|
555
|
-
*/
|
|
556
|
-
updateCallOnInboundCallRinging(properties: UpdateCallOnInboundCallRingingProperties, options?: {
|
|
557
|
-
journeyId?: string;
|
|
558
|
-
stageKey?: string;
|
|
559
|
-
}): ActionBuilder;
|
|
560
532
|
/**
|
|
561
533
|
* UpdateCallOnNumberCallStatus
|
|
562
534
|
*
|
|
@@ -662,32 +634,6 @@ export declare class CallRecord<TProps = CallProperties> {
|
|
|
662
634
|
journeyId?: string;
|
|
663
635
|
stageKey?: string;
|
|
664
636
|
}): ActionBuilder;
|
|
665
|
-
/**
|
|
666
|
-
* UpdateCallOnTaskCanceled
|
|
667
|
-
*
|
|
668
|
-
* Updates this Call record with the specified properties.
|
|
669
|
-
* Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
|
|
670
|
-
*
|
|
671
|
-
* @param properties - Required properties for this action
|
|
672
|
-
* @param options - Optional settings
|
|
673
|
-
* @param options.journeyId - Associate with a journey
|
|
674
|
-
* @param options.stageKey - Transition to pipeline stage
|
|
675
|
-
* @returns ActionBuilder - call .execute() to update or .dryRun() for payload
|
|
676
|
-
* @throws Error if called on a new (unsaved) record
|
|
677
|
-
*
|
|
678
|
-
* @example
|
|
679
|
-
* ```typescript
|
|
680
|
-
* const record = await odinClient.calls.get(id);
|
|
681
|
-
* await record.updateCallOnTaskCanceled({ ... }).execute();
|
|
682
|
-
*
|
|
683
|
-
* // Dry run (for debugging)
|
|
684
|
-
* const payload = record.updateCallOnTaskCanceled({ ... }).dryRun();
|
|
685
|
-
* ```
|
|
686
|
-
*/
|
|
687
|
-
updateCallOnTaskCanceled(properties: UpdateCallOnTaskCanceledProperties, options?: {
|
|
688
|
-
journeyId?: string;
|
|
689
|
-
stageKey?: string;
|
|
690
|
-
}): ActionBuilder;
|
|
691
637
|
/**
|
|
692
638
|
* UpdateCallOnTaskRouterAssign
|
|
693
639
|
*
|
|
@@ -691,35 +691,6 @@ class CallRecord {
|
|
|
691
691
|
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'UpdateCallOnInboundCallCompleted', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, options);
|
|
692
692
|
return new ActionBuilder(this._provider, 'NotificationModule', 'Call', payload, () => { this._pendingLinks = []; });
|
|
693
693
|
}
|
|
694
|
-
/**
|
|
695
|
-
* UpdateCallOnInboundCallRinging
|
|
696
|
-
*
|
|
697
|
-
* Updates this Call record with the specified properties.
|
|
698
|
-
* Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
|
|
699
|
-
*
|
|
700
|
-
* @param properties - Required properties for this action
|
|
701
|
-
* @param options - Optional settings
|
|
702
|
-
* @param options.journeyId - Associate with a journey
|
|
703
|
-
* @param options.stageKey - Transition to pipeline stage
|
|
704
|
-
* @returns ActionBuilder - call .execute() to update or .dryRun() for payload
|
|
705
|
-
* @throws Error if called on a new (unsaved) record
|
|
706
|
-
*
|
|
707
|
-
* @example
|
|
708
|
-
* ```typescript
|
|
709
|
-
* const record = await odinClient.calls.get(id);
|
|
710
|
-
* await record.updateCallOnInboundCallRinging({ ... }).execute();
|
|
711
|
-
*
|
|
712
|
-
* // Dry run (for debugging)
|
|
713
|
-
* const payload = record.updateCallOnInboundCallRinging({ ... }).dryRun();
|
|
714
|
-
* ```
|
|
715
|
-
*/
|
|
716
|
-
updateCallOnInboundCallRinging(properties, options) {
|
|
717
|
-
var _a;
|
|
718
|
-
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
719
|
-
throw new Error('updateCallOnInboundCallRinging requires an existing record. Use accessor.get() first.');
|
|
720
|
-
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'UpdateCallOnInboundCallRinging', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, options);
|
|
721
|
-
return new ActionBuilder(this._provider, 'NotificationModule', 'Call', payload, () => { this._pendingLinks = []; });
|
|
722
|
-
}
|
|
723
694
|
/**
|
|
724
695
|
* UpdateCallOnNumberCallStatus
|
|
725
696
|
*
|
|
@@ -844,35 +815,6 @@ class CallRecord {
|
|
|
844
815
|
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'UpdateCallOnOutboundDialAction', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, options);
|
|
845
816
|
return new ActionBuilder(this._provider, 'NotificationModule', 'Call', payload, () => { this._pendingLinks = []; });
|
|
846
817
|
}
|
|
847
|
-
/**
|
|
848
|
-
* UpdateCallOnTaskCanceled
|
|
849
|
-
*
|
|
850
|
-
* Updates this Call record with the specified properties.
|
|
851
|
-
* Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
|
|
852
|
-
*
|
|
853
|
-
* @param properties - Required properties for this action
|
|
854
|
-
* @param options - Optional settings
|
|
855
|
-
* @param options.journeyId - Associate with a journey
|
|
856
|
-
* @param options.stageKey - Transition to pipeline stage
|
|
857
|
-
* @returns ActionBuilder - call .execute() to update or .dryRun() for payload
|
|
858
|
-
* @throws Error if called on a new (unsaved) record
|
|
859
|
-
*
|
|
860
|
-
* @example
|
|
861
|
-
* ```typescript
|
|
862
|
-
* const record = await odinClient.calls.get(id);
|
|
863
|
-
* await record.updateCallOnTaskCanceled({ ... }).execute();
|
|
864
|
-
*
|
|
865
|
-
* // Dry run (for debugging)
|
|
866
|
-
* const payload = record.updateCallOnTaskCanceled({ ... }).dryRun();
|
|
867
|
-
* ```
|
|
868
|
-
*/
|
|
869
|
-
updateCallOnTaskCanceled(properties, options) {
|
|
870
|
-
var _a;
|
|
871
|
-
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
872
|
-
throw new Error('updateCallOnTaskCanceled requires an existing record. Use accessor.get() first.');
|
|
873
|
-
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'UpdateCallOnTaskCanceled', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, options);
|
|
874
|
-
return new ActionBuilder(this._provider, 'NotificationModule', 'Call', payload, () => { this._pendingLinks = []; });
|
|
875
|
-
}
|
|
876
818
|
/**
|
|
877
819
|
* UpdateCallOnTaskRouterAssign
|
|
878
820
|
*
|
package/package.json
CHANGED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* UpdateCallOnInboundCallRinging Action DTO
|
|
3
|
-
*
|
|
4
|
-
* Update call on inbound call ringing
|
|
5
|
-
*
|
|
6
|
-
* @module NotificationModule
|
|
7
|
-
* @entity Call
|
|
8
|
-
* @actionKey UpdateCallOnInboundCallRinging
|
|
9
|
-
* @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnInboundCallRinging
|
|
10
|
-
*
|
|
11
|
-
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
12
|
-
*/
|
|
13
|
-
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
14
|
-
/**
|
|
15
|
-
* RabbitMQ message payload for UpdateCallOnInboundCallRinging updated events
|
|
16
|
-
*
|
|
17
|
-
* @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnInboundCallRinging
|
|
18
|
-
*/
|
|
19
|
-
export interface UpdateCallOnInboundCallRingingMessage extends OdinRecordUpdatedEvent<UpdateCallOnInboundCallRingingDto, UpdateCallOnInboundCallRingingProperties> {
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Properties for UpdateCallOnInboundCallRinging action
|
|
23
|
-
*
|
|
24
|
-
* @property Required fields: 1
|
|
25
|
-
* @property Optional fields: 0
|
|
26
|
-
*/
|
|
27
|
-
export interface UpdateCallOnInboundCallRingingProperties {
|
|
28
|
-
/**
|
|
29
|
-
* AgentRingTime
|
|
30
|
-
*
|
|
31
|
-
* AgentRingTime
|
|
32
|
-
* @type {DATE_TIME}
|
|
33
|
-
* @required
|
|
34
|
-
*/
|
|
35
|
-
AgentRingTime: string;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* UpdateCallOnInboundCallRinging
|
|
39
|
-
*
|
|
40
|
-
* Update call on inbound call ringing
|
|
41
|
-
*
|
|
42
|
-
* @actionType UPDATE - Updates an existing Call record
|
|
43
|
-
* @module NotificationModule
|
|
44
|
-
* @entity Call
|
|
45
|
-
* @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnInboundCallRinging
|
|
46
|
-
* @permission schema.action.updatecalloninboundcallringing.trigger
|
|
47
|
-
* @benchmark This action is tracked for performance benchmarks
|
|
48
|
-
*/
|
|
49
|
-
export declare class UpdateCallOnInboundCallRingingDto extends OdinRecordUpdateDto<UpdateCallOnInboundCallRingingProperties> {
|
|
50
|
-
/** Used by SDK generators to identify action type */
|
|
51
|
-
static readonly ACTION_TYPE = "UPDATE";
|
|
52
|
-
static readonly ACTION_KEY = "UpdateCallOnInboundCallRinging";
|
|
53
|
-
static readonly MODULE_NAME = "NotificationModule";
|
|
54
|
-
static readonly ENTITIES: string[];
|
|
55
|
-
static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnInboundCallRinging";
|
|
56
|
-
static readonly PERMISSION = "schema.action.updatecalloninboundcallringing.trigger";
|
|
57
|
-
/** Step metadata - entity this action targets */
|
|
58
|
-
static readonly STEP_ENTITY = "NotificationModule:Call";
|
|
59
|
-
static readonly STEP_SCHEMA_ID = "e157f15c-6846-4bfb-bc92-aed4c4084e9f";
|
|
60
|
-
static readonly STEP_SCHEMA_ACTION_ID = "4eabdb74-b597-4804-937b-440562c20bd3";
|
|
61
|
-
static readonly AUTO_LINK_PARENT = false;
|
|
62
|
-
readonly actionName: string;
|
|
63
|
-
readonly schemaActionId: string;
|
|
64
|
-
readonly entity: string;
|
|
65
|
-
constructor(record: OdinRecord<any> | {
|
|
66
|
-
id: string;
|
|
67
|
-
entity: string;
|
|
68
|
-
type?: string;
|
|
69
|
-
}, properties: UpdateCallOnInboundCallRingingProperties, options?: {
|
|
70
|
-
journeyId?: string;
|
|
71
|
-
stageKey?: string;
|
|
72
|
-
});
|
|
73
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* UpdateCallOnInboundCallRinging Action DTO
|
|
4
|
-
*
|
|
5
|
-
* Update call on inbound call ringing
|
|
6
|
-
*
|
|
7
|
-
* @module NotificationModule
|
|
8
|
-
* @entity Call
|
|
9
|
-
* @actionKey UpdateCallOnInboundCallRinging
|
|
10
|
-
* @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnInboundCallRinging
|
|
11
|
-
*
|
|
12
|
-
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
-
*/
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.UpdateCallOnInboundCallRingingDto = void 0;
|
|
16
|
-
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
|
-
/**
|
|
18
|
-
* UpdateCallOnInboundCallRinging
|
|
19
|
-
*
|
|
20
|
-
* Update call on inbound call ringing
|
|
21
|
-
*
|
|
22
|
-
* @actionType UPDATE - Updates an existing Call record
|
|
23
|
-
* @module NotificationModule
|
|
24
|
-
* @entity Call
|
|
25
|
-
* @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnInboundCallRinging
|
|
26
|
-
* @permission schema.action.updatecalloninboundcallringing.trigger
|
|
27
|
-
* @benchmark This action is tracked for performance benchmarks
|
|
28
|
-
*/
|
|
29
|
-
class UpdateCallOnInboundCallRingingDto extends core_1.OdinRecordUpdateDto {
|
|
30
|
-
constructor(record, properties, options) {
|
|
31
|
-
super({
|
|
32
|
-
id: record.id,
|
|
33
|
-
entity: record.entity,
|
|
34
|
-
type: record.type,
|
|
35
|
-
properties,
|
|
36
|
-
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
37
|
-
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
38
|
-
});
|
|
39
|
-
this.actionName = 'UpdateCallOnInboundCallRinging';
|
|
40
|
-
this.schemaActionId = '4eabdb74-b597-4804-937b-440562c20bd3';
|
|
41
|
-
this.entity = 'NotificationModule:Call';
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
exports.UpdateCallOnInboundCallRingingDto = UpdateCallOnInboundCallRingingDto;
|
|
45
|
-
/** Used by SDK generators to identify action type */
|
|
46
|
-
UpdateCallOnInboundCallRingingDto.ACTION_TYPE = 'UPDATE';
|
|
47
|
-
UpdateCallOnInboundCallRingingDto.ACTION_KEY = 'UpdateCallOnInboundCallRinging';
|
|
48
|
-
UpdateCallOnInboundCallRingingDto.MODULE_NAME = 'NotificationModule';
|
|
49
|
-
UpdateCallOnInboundCallRingingDto.ENTITIES = ['Call'];
|
|
50
|
-
UpdateCallOnInboundCallRingingDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnInboundCallRinging';
|
|
51
|
-
UpdateCallOnInboundCallRingingDto.PERMISSION = 'schema.action.updatecalloninboundcallringing.trigger';
|
|
52
|
-
/** Step metadata - entity this action targets */
|
|
53
|
-
UpdateCallOnInboundCallRingingDto.STEP_ENTITY = 'NotificationModule:Call';
|
|
54
|
-
UpdateCallOnInboundCallRingingDto.STEP_SCHEMA_ID = 'e157f15c-6846-4bfb-bc92-aed4c4084e9f';
|
|
55
|
-
UpdateCallOnInboundCallRingingDto.STEP_SCHEMA_ACTION_ID = '4eabdb74-b597-4804-937b-440562c20bd3';
|
|
56
|
-
UpdateCallOnInboundCallRingingDto.AUTO_LINK_PARENT = false;
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* UpdateCallOnTaskCanceled Action DTO
|
|
3
|
-
*
|
|
4
|
-
* Update call on task canceled
|
|
5
|
-
*
|
|
6
|
-
* @module NotificationModule
|
|
7
|
-
* @entity Call
|
|
8
|
-
* @actionKey UpdateCallOnTaskCanceled
|
|
9
|
-
* @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnTaskCanceled
|
|
10
|
-
*
|
|
11
|
-
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
12
|
-
*/
|
|
13
|
-
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
14
|
-
/**
|
|
15
|
-
* RabbitMQ message payload for UpdateCallOnTaskCanceled updated events
|
|
16
|
-
*
|
|
17
|
-
* @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnTaskCanceled
|
|
18
|
-
*/
|
|
19
|
-
export interface UpdateCallOnTaskCanceledMessage extends OdinRecordUpdatedEvent<UpdateCallOnTaskCanceledDto, UpdateCallOnTaskCanceledProperties> {
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Properties for UpdateCallOnTaskCanceled action
|
|
23
|
-
*
|
|
24
|
-
* @property Required fields: 1
|
|
25
|
-
* @property Optional fields: 0
|
|
26
|
-
*/
|
|
27
|
-
export interface UpdateCallOnTaskCanceledProperties {
|
|
28
|
-
/**
|
|
29
|
-
* missed call reason
|
|
30
|
-
*
|
|
31
|
-
* reason for the call being missed (Communications - Call)
|
|
32
|
-
* @type {TEXT}
|
|
33
|
-
* @required
|
|
34
|
-
*/
|
|
35
|
-
MissedCallReason: string;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* UpdateCallOnTaskCanceled
|
|
39
|
-
*
|
|
40
|
-
* Update call on task canceled
|
|
41
|
-
*
|
|
42
|
-
* @actionType UPDATE - Updates an existing Call record
|
|
43
|
-
* @module NotificationModule
|
|
44
|
-
* @entity Call
|
|
45
|
-
* @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnTaskCanceled
|
|
46
|
-
* @permission schema.action.updatecallontaskcanceled.trigger
|
|
47
|
-
* @benchmark This action is tracked for performance benchmarks
|
|
48
|
-
*/
|
|
49
|
-
export declare class UpdateCallOnTaskCanceledDto extends OdinRecordUpdateDto<UpdateCallOnTaskCanceledProperties> {
|
|
50
|
-
/** Used by SDK generators to identify action type */
|
|
51
|
-
static readonly ACTION_TYPE = "UPDATE";
|
|
52
|
-
static readonly ACTION_KEY = "UpdateCallOnTaskCanceled";
|
|
53
|
-
static readonly MODULE_NAME = "NotificationModule";
|
|
54
|
-
static readonly ENTITIES: string[];
|
|
55
|
-
static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnTaskCanceled";
|
|
56
|
-
static readonly PERMISSION = "schema.action.updatecallontaskcanceled.trigger";
|
|
57
|
-
/** Step metadata - entity this action targets */
|
|
58
|
-
static readonly STEP_ENTITY = "NotificationModule:Call";
|
|
59
|
-
static readonly STEP_SCHEMA_ID = "e157f15c-6846-4bfb-bc92-aed4c4084e9f";
|
|
60
|
-
static readonly STEP_SCHEMA_ACTION_ID = "3f3b7ec0-5883-4364-919e-6aa0a430bb31";
|
|
61
|
-
static readonly AUTO_LINK_PARENT = false;
|
|
62
|
-
readonly actionName: string;
|
|
63
|
-
readonly schemaActionId: string;
|
|
64
|
-
readonly entity: string;
|
|
65
|
-
constructor(record: OdinRecord<any> | {
|
|
66
|
-
id: string;
|
|
67
|
-
entity: string;
|
|
68
|
-
type?: string;
|
|
69
|
-
}, properties: UpdateCallOnTaskCanceledProperties, options?: {
|
|
70
|
-
journeyId?: string;
|
|
71
|
-
stageKey?: string;
|
|
72
|
-
});
|
|
73
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* UpdateCallOnTaskCanceled Action DTO
|
|
4
|
-
*
|
|
5
|
-
* Update call on task canceled
|
|
6
|
-
*
|
|
7
|
-
* @module NotificationModule
|
|
8
|
-
* @entity Call
|
|
9
|
-
* @actionKey UpdateCallOnTaskCanceled
|
|
10
|
-
* @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnTaskCanceled
|
|
11
|
-
*
|
|
12
|
-
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
-
*/
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.UpdateCallOnTaskCanceledDto = void 0;
|
|
16
|
-
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
|
-
/**
|
|
18
|
-
* UpdateCallOnTaskCanceled
|
|
19
|
-
*
|
|
20
|
-
* Update call on task canceled
|
|
21
|
-
*
|
|
22
|
-
* @actionType UPDATE - Updates an existing Call record
|
|
23
|
-
* @module NotificationModule
|
|
24
|
-
* @entity Call
|
|
25
|
-
* @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnTaskCanceled
|
|
26
|
-
* @permission schema.action.updatecallontaskcanceled.trigger
|
|
27
|
-
* @benchmark This action is tracked for performance benchmarks
|
|
28
|
-
*/
|
|
29
|
-
class UpdateCallOnTaskCanceledDto extends core_1.OdinRecordUpdateDto {
|
|
30
|
-
constructor(record, properties, options) {
|
|
31
|
-
super({
|
|
32
|
-
id: record.id,
|
|
33
|
-
entity: record.entity,
|
|
34
|
-
type: record.type,
|
|
35
|
-
properties,
|
|
36
|
-
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
37
|
-
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
38
|
-
});
|
|
39
|
-
this.actionName = 'UpdateCallOnTaskCanceled';
|
|
40
|
-
this.schemaActionId = '3f3b7ec0-5883-4364-919e-6aa0a430bb31';
|
|
41
|
-
this.entity = 'NotificationModule:Call';
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
exports.UpdateCallOnTaskCanceledDto = UpdateCallOnTaskCanceledDto;
|
|
45
|
-
/** Used by SDK generators to identify action type */
|
|
46
|
-
UpdateCallOnTaskCanceledDto.ACTION_TYPE = 'UPDATE';
|
|
47
|
-
UpdateCallOnTaskCanceledDto.ACTION_KEY = 'UpdateCallOnTaskCanceled';
|
|
48
|
-
UpdateCallOnTaskCanceledDto.MODULE_NAME = 'NotificationModule';
|
|
49
|
-
UpdateCallOnTaskCanceledDto.ENTITIES = ['Call'];
|
|
50
|
-
UpdateCallOnTaskCanceledDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnTaskCanceled';
|
|
51
|
-
UpdateCallOnTaskCanceledDto.PERMISSION = 'schema.action.updatecallontaskcanceled.trigger';
|
|
52
|
-
/** Step metadata - entity this action targets */
|
|
53
|
-
UpdateCallOnTaskCanceledDto.STEP_ENTITY = 'NotificationModule:Call';
|
|
54
|
-
UpdateCallOnTaskCanceledDto.STEP_SCHEMA_ID = 'e157f15c-6846-4bfb-bc92-aed4c4084e9f';
|
|
55
|
-
UpdateCallOnTaskCanceledDto.STEP_SCHEMA_ACTION_ID = '3f3b7ec0-5883-4364-919e-6aa0a430bb31';
|
|
56
|
-
UpdateCallOnTaskCanceledDto.AUTO_LINK_PARENT = false;
|