@d19n/youfibre-odin-sdk 2.0.126 → 2.0.127
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 +4 -1
- package/dist/actions-v2/UpdateAgentCallLegOnOutboundCallNoAnswerDto.d.ts +88 -0
- package/dist/actions-v2/UpdateAgentCallLegOnOutboundCallNoAnswerDto.js +56 -0
- package/dist/actions-v2/UpdateCallOnOutboundCallNoAnswerDto.d.ts +97 -0
- package/dist/actions-v2/UpdateCallOnOutboundCallNoAnswerDto.js +56 -0
- package/dist/actions-v2/UpdateCustomerCallLegOnOutboundCallNoAnswerDto.d.ts +88 -0
- package/dist/actions-v2/UpdateCustomerCallLegOnOutboundCallNoAnswerDto.js +56 -0
- package/dist/records-v2/CallLegRecord.d.ts +54 -0
- package/dist/records-v2/CallLegRecord.js +58 -0
- package/dist/records-v2/CallRecord.d.ts +27 -0
- package/dist/records-v2/CallRecord.js +29 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -353,7 +353,7 @@ This SDK includes **165** entities across **12** modules.
|
|
|
353
353
|
|
|
354
354
|
## Actions
|
|
355
355
|
|
|
356
|
-
This SDK includes **
|
|
356
|
+
This SDK includes **658** actions.
|
|
357
357
|
|
|
358
358
|
### Action Types
|
|
359
359
|
|
|
@@ -1152,11 +1152,13 @@ This SDK includes **655** actions.
|
|
|
1152
1152
|
| `UpdateAgentCallLegOnIncomingCallRinging` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallRinging |
|
|
1153
1153
|
| `UpdateAgentCallLegOnOutboundCallAnswered` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallAnswered |
|
|
1154
1154
|
| `UpdateAgentCallLegOnOutboundCallCompleted` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallCompleted |
|
|
1155
|
+
| `UpdateAgentCallLegOnOutboundCallNoAnswer` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallNoAnswer |
|
|
1155
1156
|
| `UpdateCall` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCall |
|
|
1156
1157
|
| `UpdateCustomerCallLegOnIncomingCallAnswered` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallAnswered |
|
|
1157
1158
|
| `UpdateCustomerCallLegOnNumberCallStatusCompleted` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnNumberCallStatusCompleted |
|
|
1158
1159
|
| `UpdateCustomerCallLegOnOutboundCallAnswered` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnOutboundCallAnswered |
|
|
1159
1160
|
| `UpdateCustomerCallLegOnOutboundCallCompleted` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnOutboundCallCompleted |
|
|
1161
|
+
| `UpdateCustomerCallLegOnOutboundCallNoAnswer` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnOutboundCallNoAnswer |
|
|
1160
1162
|
| `UpdateCustomerCallLegOnOutboundCallRinging` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnOutboundCallRinging |
|
|
1161
1163
|
|
|
1162
1164
|
#### Appointment
|
|
@@ -1226,6 +1228,7 @@ This SDK includes **655** actions.
|
|
|
1226
1228
|
| `UpdateCallOnNumberCallStatusCompleted` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnNumberCallStatusCompleted |
|
|
1227
1229
|
| `UpdateCallOnOutboundCallAnswered` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundCallAnswered |
|
|
1228
1230
|
| `UpdateCallOnOutboundCallCompleted` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundCallCompleted |
|
|
1231
|
+
| `UpdateCallOnOutboundCallNoAnswer` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundCallNoAnswer |
|
|
1229
1232
|
| `UpdateCallOnTaskRouterAssign` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnTaskRouterAssign |
|
|
1230
1233
|
| `UpdateCallTranscriptionUrl` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallTranscriptionUrl |
|
|
1231
1234
|
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UpdateAgentCallLegOnOutboundCallNoAnswer Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Update agent call leg on outbound call no answer
|
|
5
|
+
*
|
|
6
|
+
* @module NotificationModule
|
|
7
|
+
* @entity CallLeg
|
|
8
|
+
* @actionKey UpdateAgentCallLegOnOutboundCallNoAnswer
|
|
9
|
+
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallNoAnswer
|
|
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 UpdateAgentCallLegOnOutboundCallNoAnswer updated events
|
|
16
|
+
*
|
|
17
|
+
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallNoAnswer
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateAgentCallLegOnOutboundCallNoAnswerMessage extends OdinRecordUpdatedEvent<UpdateAgentCallLegOnOutboundCallNoAnswerDto, UpdateAgentCallLegOnOutboundCallNoAnswerProperties> {
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Properties for UpdateAgentCallLegOnOutboundCallNoAnswer action
|
|
23
|
+
*
|
|
24
|
+
* @property Required fields: 2
|
|
25
|
+
* @property Optional fields: 1
|
|
26
|
+
*/
|
|
27
|
+
export interface UpdateAgentCallLegOnOutboundCallNoAnswerProperties {
|
|
28
|
+
/**
|
|
29
|
+
* EndedAt
|
|
30
|
+
*
|
|
31
|
+
* Data field for CallLeg records. Used by Communications team.
|
|
32
|
+
* @type {DATE_TIME}
|
|
33
|
+
* @required
|
|
34
|
+
*/
|
|
35
|
+
EndedAt: string;
|
|
36
|
+
/**
|
|
37
|
+
* Status
|
|
38
|
+
*
|
|
39
|
+
* Status indicator for CallLeg records. Tracks lifecycle state. Used by Communications team.
|
|
40
|
+
* @type {ENUM}
|
|
41
|
+
* @required
|
|
42
|
+
*/
|
|
43
|
+
Status: string;
|
|
44
|
+
/**
|
|
45
|
+
* Duration
|
|
46
|
+
*
|
|
47
|
+
* Duration of THIS leg only in seconds (Communications - CallLeg)
|
|
48
|
+
* @type {NUMBER}
|
|
49
|
+
*/
|
|
50
|
+
Duration?: number | null;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* UpdateAgentCallLegOnOutboundCallNoAnswer
|
|
54
|
+
*
|
|
55
|
+
* Update agent call leg on outbound call no answer
|
|
56
|
+
*
|
|
57
|
+
* @actionType UPDATE - Updates an existing CallLeg record
|
|
58
|
+
* @module NotificationModule
|
|
59
|
+
* @entity CallLeg
|
|
60
|
+
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallNoAnswer
|
|
61
|
+
* @permission schema.action.updateagentcalllegonoutboundcallnoanswer.trigger
|
|
62
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
63
|
+
*/
|
|
64
|
+
export declare class UpdateAgentCallLegOnOutboundCallNoAnswerDto extends OdinRecordUpdateDto<UpdateAgentCallLegOnOutboundCallNoAnswerProperties> {
|
|
65
|
+
/** Used by SDK generators to identify action type */
|
|
66
|
+
static readonly ACTION_TYPE = "UPDATE";
|
|
67
|
+
static readonly ACTION_KEY = "UpdateAgentCallLegOnOutboundCallNoAnswer";
|
|
68
|
+
static readonly MODULE_NAME = "NotificationModule";
|
|
69
|
+
static readonly ENTITIES: string[];
|
|
70
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallNoAnswer";
|
|
71
|
+
static readonly PERMISSION = "schema.action.updateagentcalllegonoutboundcallnoanswer.trigger";
|
|
72
|
+
/** Step metadata - entity this action targets */
|
|
73
|
+
static readonly STEP_ENTITY = "NotificationModule:CallLeg";
|
|
74
|
+
static readonly STEP_SCHEMA_ID = "75c59745-35fb-44b9-b3f2-7563101fdcec";
|
|
75
|
+
static readonly STEP_SCHEMA_ACTION_ID = "97caee17-987e-427a-a3c4-b3a7a230c3f4";
|
|
76
|
+
static readonly AUTO_LINK_PARENT = false;
|
|
77
|
+
readonly actionName: string;
|
|
78
|
+
readonly schemaActionId: string;
|
|
79
|
+
readonly entity: string;
|
|
80
|
+
constructor(record: OdinRecord<any> | {
|
|
81
|
+
id: string;
|
|
82
|
+
entity: string;
|
|
83
|
+
type?: string;
|
|
84
|
+
}, properties: UpdateAgentCallLegOnOutboundCallNoAnswerProperties, options?: {
|
|
85
|
+
journeyId?: string;
|
|
86
|
+
stageKey?: string;
|
|
87
|
+
});
|
|
88
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* UpdateAgentCallLegOnOutboundCallNoAnswer Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Update agent call leg on outbound call no answer
|
|
6
|
+
*
|
|
7
|
+
* @module NotificationModule
|
|
8
|
+
* @entity CallLeg
|
|
9
|
+
* @actionKey UpdateAgentCallLegOnOutboundCallNoAnswer
|
|
10
|
+
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallNoAnswer
|
|
11
|
+
*
|
|
12
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.UpdateAgentCallLegOnOutboundCallNoAnswerDto = void 0;
|
|
16
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
|
+
/**
|
|
18
|
+
* UpdateAgentCallLegOnOutboundCallNoAnswer
|
|
19
|
+
*
|
|
20
|
+
* Update agent call leg on outbound call no answer
|
|
21
|
+
*
|
|
22
|
+
* @actionType UPDATE - Updates an existing CallLeg record
|
|
23
|
+
* @module NotificationModule
|
|
24
|
+
* @entity CallLeg
|
|
25
|
+
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallNoAnswer
|
|
26
|
+
* @permission schema.action.updateagentcalllegonoutboundcallnoanswer.trigger
|
|
27
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
28
|
+
*/
|
|
29
|
+
class UpdateAgentCallLegOnOutboundCallNoAnswerDto 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 = 'UpdateAgentCallLegOnOutboundCallNoAnswer';
|
|
40
|
+
this.schemaActionId = '97caee17-987e-427a-a3c4-b3a7a230c3f4';
|
|
41
|
+
this.entity = 'NotificationModule:CallLeg';
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.UpdateAgentCallLegOnOutboundCallNoAnswerDto = UpdateAgentCallLegOnOutboundCallNoAnswerDto;
|
|
45
|
+
/** Used by SDK generators to identify action type */
|
|
46
|
+
UpdateAgentCallLegOnOutboundCallNoAnswerDto.ACTION_TYPE = 'UPDATE';
|
|
47
|
+
UpdateAgentCallLegOnOutboundCallNoAnswerDto.ACTION_KEY = 'UpdateAgentCallLegOnOutboundCallNoAnswer';
|
|
48
|
+
UpdateAgentCallLegOnOutboundCallNoAnswerDto.MODULE_NAME = 'NotificationModule';
|
|
49
|
+
UpdateAgentCallLegOnOutboundCallNoAnswerDto.ENTITIES = ['CallLeg'];
|
|
50
|
+
UpdateAgentCallLegOnOutboundCallNoAnswerDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallNoAnswer';
|
|
51
|
+
UpdateAgentCallLegOnOutboundCallNoAnswerDto.PERMISSION = 'schema.action.updateagentcalllegonoutboundcallnoanswer.trigger';
|
|
52
|
+
/** Step metadata - entity this action targets */
|
|
53
|
+
UpdateAgentCallLegOnOutboundCallNoAnswerDto.STEP_ENTITY = 'NotificationModule:CallLeg';
|
|
54
|
+
UpdateAgentCallLegOnOutboundCallNoAnswerDto.STEP_SCHEMA_ID = '75c59745-35fb-44b9-b3f2-7563101fdcec';
|
|
55
|
+
UpdateAgentCallLegOnOutboundCallNoAnswerDto.STEP_SCHEMA_ACTION_ID = '97caee17-987e-427a-a3c4-b3a7a230c3f4';
|
|
56
|
+
UpdateAgentCallLegOnOutboundCallNoAnswerDto.AUTO_LINK_PARENT = false;
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UpdateCallOnOutboundCallNoAnswer Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Update call on outbound call no answer
|
|
5
|
+
*
|
|
6
|
+
* @module NotificationModule
|
|
7
|
+
* @entity Call
|
|
8
|
+
* @actionKey UpdateCallOnOutboundCallNoAnswer
|
|
9
|
+
* @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundCallNoAnswer
|
|
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 UpdateCallOnOutboundCallNoAnswer updated events
|
|
16
|
+
*
|
|
17
|
+
* @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundCallNoAnswer
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateCallOnOutboundCallNoAnswerMessage extends OdinRecordUpdatedEvent<UpdateCallOnOutboundCallNoAnswerDto, UpdateCallOnOutboundCallNoAnswerProperties> {
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Properties for UpdateCallOnOutboundCallNoAnswer action
|
|
23
|
+
*
|
|
24
|
+
* @property Required fields: 4
|
|
25
|
+
* @property Optional fields: 0
|
|
26
|
+
*/
|
|
27
|
+
export interface UpdateCallOnOutboundCallNoAnswerProperties {
|
|
28
|
+
/**
|
|
29
|
+
* TotalDuration
|
|
30
|
+
*
|
|
31
|
+
* Total call duration in seconds from customer perspective (Communications - Call)
|
|
32
|
+
* @type {NUMBER}
|
|
33
|
+
* @required
|
|
34
|
+
*/
|
|
35
|
+
TotalDuration: number;
|
|
36
|
+
/**
|
|
37
|
+
* call status
|
|
38
|
+
*
|
|
39
|
+
* the status of the call (Communications - Call)
|
|
40
|
+
* @type {TEXT}
|
|
41
|
+
* @required
|
|
42
|
+
*/
|
|
43
|
+
CallStatus: string;
|
|
44
|
+
/**
|
|
45
|
+
* Call stage
|
|
46
|
+
*
|
|
47
|
+
* The granular stage of a call, more extensive than CallStatus (Communications - Call)
|
|
48
|
+
* @type {ENUM}
|
|
49
|
+
* @required
|
|
50
|
+
*/
|
|
51
|
+
CallStage: string;
|
|
52
|
+
/**
|
|
53
|
+
* CallEndReason
|
|
54
|
+
*
|
|
55
|
+
* CallEndReason
|
|
56
|
+
* @type {ENUM}
|
|
57
|
+
* @required
|
|
58
|
+
*/
|
|
59
|
+
CallEndReason: string;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* UpdateCallOnOutboundCallNoAnswer
|
|
63
|
+
*
|
|
64
|
+
* Update call on outbound call no answer
|
|
65
|
+
*
|
|
66
|
+
* @actionType UPDATE - Updates an existing Call record
|
|
67
|
+
* @module NotificationModule
|
|
68
|
+
* @entity Call
|
|
69
|
+
* @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundCallNoAnswer
|
|
70
|
+
* @permission schema.action.updatecallonoutboundcallnoanswer.trigger
|
|
71
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
72
|
+
*/
|
|
73
|
+
export declare class UpdateCallOnOutboundCallNoAnswerDto extends OdinRecordUpdateDto<UpdateCallOnOutboundCallNoAnswerProperties> {
|
|
74
|
+
/** Used by SDK generators to identify action type */
|
|
75
|
+
static readonly ACTION_TYPE = "UPDATE";
|
|
76
|
+
static readonly ACTION_KEY = "UpdateCallOnOutboundCallNoAnswer";
|
|
77
|
+
static readonly MODULE_NAME = "NotificationModule";
|
|
78
|
+
static readonly ENTITIES: string[];
|
|
79
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundCallNoAnswer";
|
|
80
|
+
static readonly PERMISSION = "schema.action.updatecallonoutboundcallnoanswer.trigger";
|
|
81
|
+
/** Step metadata - entity this action targets */
|
|
82
|
+
static readonly STEP_ENTITY = "NotificationModule:Call";
|
|
83
|
+
static readonly STEP_SCHEMA_ID = "e157f15c-6846-4bfb-bc92-aed4c4084e9f";
|
|
84
|
+
static readonly STEP_SCHEMA_ACTION_ID = "566607b0-e352-4a09-9586-86da02ebce33";
|
|
85
|
+
static readonly AUTO_LINK_PARENT = false;
|
|
86
|
+
readonly actionName: string;
|
|
87
|
+
readonly schemaActionId: string;
|
|
88
|
+
readonly entity: string;
|
|
89
|
+
constructor(record: OdinRecord<any> | {
|
|
90
|
+
id: string;
|
|
91
|
+
entity: string;
|
|
92
|
+
type?: string;
|
|
93
|
+
}, properties: UpdateCallOnOutboundCallNoAnswerProperties, options?: {
|
|
94
|
+
journeyId?: string;
|
|
95
|
+
stageKey?: string;
|
|
96
|
+
});
|
|
97
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* UpdateCallOnOutboundCallNoAnswer Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Update call on outbound call no answer
|
|
6
|
+
*
|
|
7
|
+
* @module NotificationModule
|
|
8
|
+
* @entity Call
|
|
9
|
+
* @actionKey UpdateCallOnOutboundCallNoAnswer
|
|
10
|
+
* @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundCallNoAnswer
|
|
11
|
+
*
|
|
12
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.UpdateCallOnOutboundCallNoAnswerDto = void 0;
|
|
16
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
|
+
/**
|
|
18
|
+
* UpdateCallOnOutboundCallNoAnswer
|
|
19
|
+
*
|
|
20
|
+
* Update call on outbound call no answer
|
|
21
|
+
*
|
|
22
|
+
* @actionType UPDATE - Updates an existing Call record
|
|
23
|
+
* @module NotificationModule
|
|
24
|
+
* @entity Call
|
|
25
|
+
* @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundCallNoAnswer
|
|
26
|
+
* @permission schema.action.updatecallonoutboundcallnoanswer.trigger
|
|
27
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
28
|
+
*/
|
|
29
|
+
class UpdateCallOnOutboundCallNoAnswerDto 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 = 'UpdateCallOnOutboundCallNoAnswer';
|
|
40
|
+
this.schemaActionId = '566607b0-e352-4a09-9586-86da02ebce33';
|
|
41
|
+
this.entity = 'NotificationModule:Call';
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.UpdateCallOnOutboundCallNoAnswerDto = UpdateCallOnOutboundCallNoAnswerDto;
|
|
45
|
+
/** Used by SDK generators to identify action type */
|
|
46
|
+
UpdateCallOnOutboundCallNoAnswerDto.ACTION_TYPE = 'UPDATE';
|
|
47
|
+
UpdateCallOnOutboundCallNoAnswerDto.ACTION_KEY = 'UpdateCallOnOutboundCallNoAnswer';
|
|
48
|
+
UpdateCallOnOutboundCallNoAnswerDto.MODULE_NAME = 'NotificationModule';
|
|
49
|
+
UpdateCallOnOutboundCallNoAnswerDto.ENTITIES = ['Call'];
|
|
50
|
+
UpdateCallOnOutboundCallNoAnswerDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundCallNoAnswer';
|
|
51
|
+
UpdateCallOnOutboundCallNoAnswerDto.PERMISSION = 'schema.action.updatecallonoutboundcallnoanswer.trigger';
|
|
52
|
+
/** Step metadata - entity this action targets */
|
|
53
|
+
UpdateCallOnOutboundCallNoAnswerDto.STEP_ENTITY = 'NotificationModule:Call';
|
|
54
|
+
UpdateCallOnOutboundCallNoAnswerDto.STEP_SCHEMA_ID = 'e157f15c-6846-4bfb-bc92-aed4c4084e9f';
|
|
55
|
+
UpdateCallOnOutboundCallNoAnswerDto.STEP_SCHEMA_ACTION_ID = '566607b0-e352-4a09-9586-86da02ebce33';
|
|
56
|
+
UpdateCallOnOutboundCallNoAnswerDto.AUTO_LINK_PARENT = false;
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UpdateCustomerCallLegOnOutboundCallNoAnswer Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Update customer call leg on outbound call no answer
|
|
5
|
+
*
|
|
6
|
+
* @module NotificationModule
|
|
7
|
+
* @entity CallLeg
|
|
8
|
+
* @actionKey UpdateCustomerCallLegOnOutboundCallNoAnswer
|
|
9
|
+
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnOutboundCallNoAnswer
|
|
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 UpdateCustomerCallLegOnOutboundCallNoAnswer updated events
|
|
16
|
+
*
|
|
17
|
+
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnOutboundCallNoAnswer
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateCustomerCallLegOnOutboundCallNoAnswerMessage extends OdinRecordUpdatedEvent<UpdateCustomerCallLegOnOutboundCallNoAnswerDto, UpdateCustomerCallLegOnOutboundCallNoAnswerProperties> {
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Properties for UpdateCustomerCallLegOnOutboundCallNoAnswer action
|
|
23
|
+
*
|
|
24
|
+
* @property Required fields: 2
|
|
25
|
+
* @property Optional fields: 1
|
|
26
|
+
*/
|
|
27
|
+
export interface UpdateCustomerCallLegOnOutboundCallNoAnswerProperties {
|
|
28
|
+
/**
|
|
29
|
+
* EndedAt
|
|
30
|
+
*
|
|
31
|
+
* Data field for CallLeg records. Used by Communications team.
|
|
32
|
+
* @type {DATE_TIME}
|
|
33
|
+
* @required
|
|
34
|
+
*/
|
|
35
|
+
EndedAt: string;
|
|
36
|
+
/**
|
|
37
|
+
* Status
|
|
38
|
+
*
|
|
39
|
+
* Status indicator for CallLeg records. Tracks lifecycle state. Used by Communications team.
|
|
40
|
+
* @type {ENUM}
|
|
41
|
+
* @required
|
|
42
|
+
*/
|
|
43
|
+
Status: string;
|
|
44
|
+
/**
|
|
45
|
+
* Duration
|
|
46
|
+
*
|
|
47
|
+
* Duration of THIS leg only in seconds (Communications - CallLeg)
|
|
48
|
+
* @type {NUMBER}
|
|
49
|
+
*/
|
|
50
|
+
Duration?: number | null;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* UpdateCustomerCallLegOnOutboundCallNoAnswer
|
|
54
|
+
*
|
|
55
|
+
* Update customer call leg on outbound call no answer
|
|
56
|
+
*
|
|
57
|
+
* @actionType UPDATE - Updates an existing CallLeg record
|
|
58
|
+
* @module NotificationModule
|
|
59
|
+
* @entity CallLeg
|
|
60
|
+
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnOutboundCallNoAnswer
|
|
61
|
+
* @permission schema.action.updatecustomercalllegonoutboundcallnoanswer.trigger
|
|
62
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
63
|
+
*/
|
|
64
|
+
export declare class UpdateCustomerCallLegOnOutboundCallNoAnswerDto extends OdinRecordUpdateDto<UpdateCustomerCallLegOnOutboundCallNoAnswerProperties> {
|
|
65
|
+
/** Used by SDK generators to identify action type */
|
|
66
|
+
static readonly ACTION_TYPE = "UPDATE";
|
|
67
|
+
static readonly ACTION_KEY = "UpdateCustomerCallLegOnOutboundCallNoAnswer";
|
|
68
|
+
static readonly MODULE_NAME = "NotificationModule";
|
|
69
|
+
static readonly ENTITIES: string[];
|
|
70
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnOutboundCallNoAnswer";
|
|
71
|
+
static readonly PERMISSION = "schema.action.updatecustomercalllegonoutboundcallnoanswer.trigger";
|
|
72
|
+
/** Step metadata - entity this action targets */
|
|
73
|
+
static readonly STEP_ENTITY = "NotificationModule:CallLeg";
|
|
74
|
+
static readonly STEP_SCHEMA_ID = "75c59745-35fb-44b9-b3f2-7563101fdcec";
|
|
75
|
+
static readonly STEP_SCHEMA_ACTION_ID = "c431d044-b620-4f47-ba20-49a648751181";
|
|
76
|
+
static readonly AUTO_LINK_PARENT = false;
|
|
77
|
+
readonly actionName: string;
|
|
78
|
+
readonly schemaActionId: string;
|
|
79
|
+
readonly entity: string;
|
|
80
|
+
constructor(record: OdinRecord<any> | {
|
|
81
|
+
id: string;
|
|
82
|
+
entity: string;
|
|
83
|
+
type?: string;
|
|
84
|
+
}, properties: UpdateCustomerCallLegOnOutboundCallNoAnswerProperties, options?: {
|
|
85
|
+
journeyId?: string;
|
|
86
|
+
stageKey?: string;
|
|
87
|
+
});
|
|
88
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* UpdateCustomerCallLegOnOutboundCallNoAnswer Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Update customer call leg on outbound call no answer
|
|
6
|
+
*
|
|
7
|
+
* @module NotificationModule
|
|
8
|
+
* @entity CallLeg
|
|
9
|
+
* @actionKey UpdateCustomerCallLegOnOutboundCallNoAnswer
|
|
10
|
+
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnOutboundCallNoAnswer
|
|
11
|
+
*
|
|
12
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.UpdateCustomerCallLegOnOutboundCallNoAnswerDto = void 0;
|
|
16
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
|
+
/**
|
|
18
|
+
* UpdateCustomerCallLegOnOutboundCallNoAnswer
|
|
19
|
+
*
|
|
20
|
+
* Update customer call leg on outbound call no answer
|
|
21
|
+
*
|
|
22
|
+
* @actionType UPDATE - Updates an existing CallLeg record
|
|
23
|
+
* @module NotificationModule
|
|
24
|
+
* @entity CallLeg
|
|
25
|
+
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnOutboundCallNoAnswer
|
|
26
|
+
* @permission schema.action.updatecustomercalllegonoutboundcallnoanswer.trigger
|
|
27
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
28
|
+
*/
|
|
29
|
+
class UpdateCustomerCallLegOnOutboundCallNoAnswerDto 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 = 'UpdateCustomerCallLegOnOutboundCallNoAnswer';
|
|
40
|
+
this.schemaActionId = 'c431d044-b620-4f47-ba20-49a648751181';
|
|
41
|
+
this.entity = 'NotificationModule:CallLeg';
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.UpdateCustomerCallLegOnOutboundCallNoAnswerDto = UpdateCustomerCallLegOnOutboundCallNoAnswerDto;
|
|
45
|
+
/** Used by SDK generators to identify action type */
|
|
46
|
+
UpdateCustomerCallLegOnOutboundCallNoAnswerDto.ACTION_TYPE = 'UPDATE';
|
|
47
|
+
UpdateCustomerCallLegOnOutboundCallNoAnswerDto.ACTION_KEY = 'UpdateCustomerCallLegOnOutboundCallNoAnswer';
|
|
48
|
+
UpdateCustomerCallLegOnOutboundCallNoAnswerDto.MODULE_NAME = 'NotificationModule';
|
|
49
|
+
UpdateCustomerCallLegOnOutboundCallNoAnswerDto.ENTITIES = ['CallLeg'];
|
|
50
|
+
UpdateCustomerCallLegOnOutboundCallNoAnswerDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnOutboundCallNoAnswer';
|
|
51
|
+
UpdateCustomerCallLegOnOutboundCallNoAnswerDto.PERMISSION = 'schema.action.updatecustomercalllegonoutboundcallnoanswer.trigger';
|
|
52
|
+
/** Step metadata - entity this action targets */
|
|
53
|
+
UpdateCustomerCallLegOnOutboundCallNoAnswerDto.STEP_ENTITY = 'NotificationModule:CallLeg';
|
|
54
|
+
UpdateCustomerCallLegOnOutboundCallNoAnswerDto.STEP_SCHEMA_ID = '75c59745-35fb-44b9-b3f2-7563101fdcec';
|
|
55
|
+
UpdateCustomerCallLegOnOutboundCallNoAnswerDto.STEP_SCHEMA_ACTION_ID = 'c431d044-b620-4f47-ba20-49a648751181';
|
|
56
|
+
UpdateCustomerCallLegOnOutboundCallNoAnswerDto.AUTO_LINK_PARENT = false;
|
|
@@ -31,11 +31,13 @@ import { UpdateAgentCallLegOnIncomingCallCompletedProperties } from '../actions-
|
|
|
31
31
|
import { UpdateAgentCallLegOnIncomingCallRingingProperties } from '../actions-v2/UpdateAgentCallLegOnIncomingCallRingingDto';
|
|
32
32
|
import { UpdateAgentCallLegOnOutboundCallAnsweredProperties } from '../actions-v2/UpdateAgentCallLegOnOutboundCallAnsweredDto';
|
|
33
33
|
import { UpdateAgentCallLegOnOutboundCallCompletedProperties } from '../actions-v2/UpdateAgentCallLegOnOutboundCallCompletedDto';
|
|
34
|
+
import { UpdateAgentCallLegOnOutboundCallNoAnswerProperties } from '../actions-v2/UpdateAgentCallLegOnOutboundCallNoAnswerDto';
|
|
34
35
|
import { UpdateCallProperties } from '../actions-v2/UpdateCallDto';
|
|
35
36
|
import { UpdateCustomerCallLegOnIncomingCallAnsweredProperties } from '../actions-v2/UpdateCustomerCallLegOnIncomingCallAnsweredDto';
|
|
36
37
|
import { UpdateCustomerCallLegOnNumberCallStatusCompletedProperties } from '../actions-v2/UpdateCustomerCallLegOnNumberCallStatusCompletedDto';
|
|
37
38
|
import { UpdateCustomerCallLegOnOutboundCallAnsweredProperties } from '../actions-v2/UpdateCustomerCallLegOnOutboundCallAnsweredDto';
|
|
38
39
|
import { UpdateCustomerCallLegOnOutboundCallCompletedProperties } from '../actions-v2/UpdateCustomerCallLegOnOutboundCallCompletedDto';
|
|
40
|
+
import { UpdateCustomerCallLegOnOutboundCallNoAnswerProperties } from '../actions-v2/UpdateCustomerCallLegOnOutboundCallNoAnswerDto';
|
|
39
41
|
import { UpdateCustomerCallLegOnOutboundCallRingingProperties } from '../actions-v2/UpdateCustomerCallLegOnOutboundCallRingingDto';
|
|
40
42
|
import { CallRecord } from './CallRecord';
|
|
41
43
|
import { CallEventRecord } from './CallEventRecord';
|
|
@@ -436,6 +438,32 @@ export declare class CallLegRecord<TProps = CallLegProperties> {
|
|
|
436
438
|
journeyId?: string;
|
|
437
439
|
stageKey?: string;
|
|
438
440
|
}): ActionBuilder;
|
|
441
|
+
/**
|
|
442
|
+
* UpdateAgentCallLegOnOutboundCallNoAnswer
|
|
443
|
+
*
|
|
444
|
+
* Updates this CallLeg record with the specified properties.
|
|
445
|
+
* Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
|
|
446
|
+
*
|
|
447
|
+
* @param properties - Required properties for this action
|
|
448
|
+
* @param options - Optional settings
|
|
449
|
+
* @param options.journeyId - Associate with a journey
|
|
450
|
+
* @param options.stageKey - Transition to pipeline stage
|
|
451
|
+
* @returns ActionBuilder - call .execute() to update or .dryRun() for payload
|
|
452
|
+
* @throws Error if called on a new (unsaved) record
|
|
453
|
+
*
|
|
454
|
+
* @example
|
|
455
|
+
* ```typescript
|
|
456
|
+
* const record = await odinClient.callLegs.get(id);
|
|
457
|
+
* await record.updateAgentCallLegOnOutboundCallNoAnswer({ ... }).execute();
|
|
458
|
+
*
|
|
459
|
+
* // Dry run (for debugging)
|
|
460
|
+
* const payload = record.updateAgentCallLegOnOutboundCallNoAnswer({ ... }).dryRun();
|
|
461
|
+
* ```
|
|
462
|
+
*/
|
|
463
|
+
updateAgentCallLegOnOutboundCallNoAnswer(properties: UpdateAgentCallLegOnOutboundCallNoAnswerProperties, options?: {
|
|
464
|
+
journeyId?: string;
|
|
465
|
+
stageKey?: string;
|
|
466
|
+
}): ActionBuilder;
|
|
439
467
|
/**
|
|
440
468
|
* UpdateCall
|
|
441
469
|
*
|
|
@@ -568,6 +596,32 @@ export declare class CallLegRecord<TProps = CallLegProperties> {
|
|
|
568
596
|
journeyId?: string;
|
|
569
597
|
stageKey?: string;
|
|
570
598
|
}): ActionBuilder;
|
|
599
|
+
/**
|
|
600
|
+
* UpdateCustomerCallLegOnOutboundCallNoAnswer
|
|
601
|
+
*
|
|
602
|
+
* Updates this CallLeg record with the specified properties.
|
|
603
|
+
* Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
|
|
604
|
+
*
|
|
605
|
+
* @param properties - Required properties for this action
|
|
606
|
+
* @param options - Optional settings
|
|
607
|
+
* @param options.journeyId - Associate with a journey
|
|
608
|
+
* @param options.stageKey - Transition to pipeline stage
|
|
609
|
+
* @returns ActionBuilder - call .execute() to update or .dryRun() for payload
|
|
610
|
+
* @throws Error if called on a new (unsaved) record
|
|
611
|
+
*
|
|
612
|
+
* @example
|
|
613
|
+
* ```typescript
|
|
614
|
+
* const record = await odinClient.callLegs.get(id);
|
|
615
|
+
* await record.updateCustomerCallLegOnOutboundCallNoAnswer({ ... }).execute();
|
|
616
|
+
*
|
|
617
|
+
* // Dry run (for debugging)
|
|
618
|
+
* const payload = record.updateCustomerCallLegOnOutboundCallNoAnswer({ ... }).dryRun();
|
|
619
|
+
* ```
|
|
620
|
+
*/
|
|
621
|
+
updateCustomerCallLegOnOutboundCallNoAnswer(properties: UpdateCustomerCallLegOnOutboundCallNoAnswerProperties, options?: {
|
|
622
|
+
journeyId?: string;
|
|
623
|
+
stageKey?: string;
|
|
624
|
+
}): ActionBuilder;
|
|
571
625
|
/**
|
|
572
626
|
* UpdateCustomerCallLegOnOutboundCallRinging
|
|
573
627
|
*
|
|
@@ -541,6 +541,35 @@ class CallLegRecord {
|
|
|
541
541
|
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'UpdateAgentCallLegOnOutboundCallCompleted', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, options);
|
|
542
542
|
return new ActionBuilder(this._provider, 'NotificationModule', 'CallLeg', payload, () => { this._pendingLinks = []; });
|
|
543
543
|
}
|
|
544
|
+
/**
|
|
545
|
+
* UpdateAgentCallLegOnOutboundCallNoAnswer
|
|
546
|
+
*
|
|
547
|
+
* Updates this CallLeg record with the specified properties.
|
|
548
|
+
* Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
|
|
549
|
+
*
|
|
550
|
+
* @param properties - Required properties for this action
|
|
551
|
+
* @param options - Optional settings
|
|
552
|
+
* @param options.journeyId - Associate with a journey
|
|
553
|
+
* @param options.stageKey - Transition to pipeline stage
|
|
554
|
+
* @returns ActionBuilder - call .execute() to update or .dryRun() for payload
|
|
555
|
+
* @throws Error if called on a new (unsaved) record
|
|
556
|
+
*
|
|
557
|
+
* @example
|
|
558
|
+
* ```typescript
|
|
559
|
+
* const record = await odinClient.callLegs.get(id);
|
|
560
|
+
* await record.updateAgentCallLegOnOutboundCallNoAnswer({ ... }).execute();
|
|
561
|
+
*
|
|
562
|
+
* // Dry run (for debugging)
|
|
563
|
+
* const payload = record.updateAgentCallLegOnOutboundCallNoAnswer({ ... }).dryRun();
|
|
564
|
+
* ```
|
|
565
|
+
*/
|
|
566
|
+
updateAgentCallLegOnOutboundCallNoAnswer(properties, options) {
|
|
567
|
+
var _a;
|
|
568
|
+
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
569
|
+
throw new Error('updateAgentCallLegOnOutboundCallNoAnswer requires an existing record. Use accessor.get() first.');
|
|
570
|
+
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'UpdateAgentCallLegOnOutboundCallNoAnswer', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, options);
|
|
571
|
+
return new ActionBuilder(this._provider, 'NotificationModule', 'CallLeg', payload, () => { this._pendingLinks = []; });
|
|
572
|
+
}
|
|
544
573
|
/**
|
|
545
574
|
* UpdateCall
|
|
546
575
|
*
|
|
@@ -702,6 +731,35 @@ class CallLegRecord {
|
|
|
702
731
|
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'UpdateCustomerCallLegOnOutboundCallCompleted', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, options);
|
|
703
732
|
return new ActionBuilder(this._provider, 'NotificationModule', 'CallLeg', payload, () => { this._pendingLinks = []; });
|
|
704
733
|
}
|
|
734
|
+
/**
|
|
735
|
+
* UpdateCustomerCallLegOnOutboundCallNoAnswer
|
|
736
|
+
*
|
|
737
|
+
* Updates this CallLeg record with the specified properties.
|
|
738
|
+
* Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
|
|
739
|
+
*
|
|
740
|
+
* @param properties - Required properties for this action
|
|
741
|
+
* @param options - Optional settings
|
|
742
|
+
* @param options.journeyId - Associate with a journey
|
|
743
|
+
* @param options.stageKey - Transition to pipeline stage
|
|
744
|
+
* @returns ActionBuilder - call .execute() to update or .dryRun() for payload
|
|
745
|
+
* @throws Error if called on a new (unsaved) record
|
|
746
|
+
*
|
|
747
|
+
* @example
|
|
748
|
+
* ```typescript
|
|
749
|
+
* const record = await odinClient.callLegs.get(id);
|
|
750
|
+
* await record.updateCustomerCallLegOnOutboundCallNoAnswer({ ... }).execute();
|
|
751
|
+
*
|
|
752
|
+
* // Dry run (for debugging)
|
|
753
|
+
* const payload = record.updateCustomerCallLegOnOutboundCallNoAnswer({ ... }).dryRun();
|
|
754
|
+
* ```
|
|
755
|
+
*/
|
|
756
|
+
updateCustomerCallLegOnOutboundCallNoAnswer(properties, options) {
|
|
757
|
+
var _a;
|
|
758
|
+
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
759
|
+
throw new Error('updateCustomerCallLegOnOutboundCallNoAnswer requires an existing record. Use accessor.get() first.');
|
|
760
|
+
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'UpdateCustomerCallLegOnOutboundCallNoAnswer', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, options);
|
|
761
|
+
return new ActionBuilder(this._provider, 'NotificationModule', 'CallLeg', payload, () => { this._pendingLinks = []; });
|
|
762
|
+
}
|
|
705
763
|
/**
|
|
706
764
|
* UpdateCustomerCallLegOnOutboundCallRinging
|
|
707
765
|
*
|
|
@@ -38,6 +38,7 @@ import { UpdateCallOnInboundCallRingingProperties } from '../actions-v2/UpdateCa
|
|
|
38
38
|
import { UpdateCallOnNumberCallStatusCompletedProperties } from '../actions-v2/UpdateCallOnNumberCallStatusCompletedDto';
|
|
39
39
|
import { UpdateCallOnOutboundCallAnsweredProperties } from '../actions-v2/UpdateCallOnOutboundCallAnsweredDto';
|
|
40
40
|
import { UpdateCallOnOutboundCallCompletedProperties } from '../actions-v2/UpdateCallOnOutboundCallCompletedDto';
|
|
41
|
+
import { UpdateCallOnOutboundCallNoAnswerProperties } from '../actions-v2/UpdateCallOnOutboundCallNoAnswerDto';
|
|
41
42
|
import { UpdateCallOnTaskRouterAssignProperties } from '../actions-v2/UpdateCallOnTaskRouterAssignDto';
|
|
42
43
|
import { UpdateCallTranscriptionUrlProperties } from '../actions-v2/UpdateCallTranscriptionUrlDto';
|
|
43
44
|
import { LeadRecord } from './LeadRecord';
|
|
@@ -660,6 +661,32 @@ export declare class CallRecord<TProps = CallProperties> {
|
|
|
660
661
|
journeyId?: string;
|
|
661
662
|
stageKey?: string;
|
|
662
663
|
}): ActionBuilder;
|
|
664
|
+
/**
|
|
665
|
+
* UpdateCallOnOutboundCallNoAnswer
|
|
666
|
+
*
|
|
667
|
+
* Updates this Call record with the specified properties.
|
|
668
|
+
* Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
|
|
669
|
+
*
|
|
670
|
+
* @param properties - Required properties for this action
|
|
671
|
+
* @param options - Optional settings
|
|
672
|
+
* @param options.journeyId - Associate with a journey
|
|
673
|
+
* @param options.stageKey - Transition to pipeline stage
|
|
674
|
+
* @returns ActionBuilder - call .execute() to update or .dryRun() for payload
|
|
675
|
+
* @throws Error if called on a new (unsaved) record
|
|
676
|
+
*
|
|
677
|
+
* @example
|
|
678
|
+
* ```typescript
|
|
679
|
+
* const record = await odinClient.calls.get(id);
|
|
680
|
+
* await record.updateCallOnOutboundCallNoAnswer({ ... }).execute();
|
|
681
|
+
*
|
|
682
|
+
* // Dry run (for debugging)
|
|
683
|
+
* const payload = record.updateCallOnOutboundCallNoAnswer({ ... }).dryRun();
|
|
684
|
+
* ```
|
|
685
|
+
*/
|
|
686
|
+
updateCallOnOutboundCallNoAnswer(properties: UpdateCallOnOutboundCallNoAnswerProperties, options?: {
|
|
687
|
+
journeyId?: string;
|
|
688
|
+
stageKey?: string;
|
|
689
|
+
}): ActionBuilder;
|
|
663
690
|
/**
|
|
664
691
|
* UpdateCallOnTaskRouterAssign
|
|
665
692
|
*
|
|
@@ -849,6 +849,35 @@ class CallRecord {
|
|
|
849
849
|
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'UpdateCallOnOutboundCallCompleted', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, options);
|
|
850
850
|
return new ActionBuilder(this._provider, 'NotificationModule', 'Call', payload, () => { this._pendingLinks = []; });
|
|
851
851
|
}
|
|
852
|
+
/**
|
|
853
|
+
* UpdateCallOnOutboundCallNoAnswer
|
|
854
|
+
*
|
|
855
|
+
* Updates this Call record with the specified properties.
|
|
856
|
+
* Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
|
|
857
|
+
*
|
|
858
|
+
* @param properties - Required properties for this action
|
|
859
|
+
* @param options - Optional settings
|
|
860
|
+
* @param options.journeyId - Associate with a journey
|
|
861
|
+
* @param options.stageKey - Transition to pipeline stage
|
|
862
|
+
* @returns ActionBuilder - call .execute() to update or .dryRun() for payload
|
|
863
|
+
* @throws Error if called on a new (unsaved) record
|
|
864
|
+
*
|
|
865
|
+
* @example
|
|
866
|
+
* ```typescript
|
|
867
|
+
* const record = await odinClient.calls.get(id);
|
|
868
|
+
* await record.updateCallOnOutboundCallNoAnswer({ ... }).execute();
|
|
869
|
+
*
|
|
870
|
+
* // Dry run (for debugging)
|
|
871
|
+
* const payload = record.updateCallOnOutboundCallNoAnswer({ ... }).dryRun();
|
|
872
|
+
* ```
|
|
873
|
+
*/
|
|
874
|
+
updateCallOnOutboundCallNoAnswer(properties, options) {
|
|
875
|
+
var _a;
|
|
876
|
+
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
877
|
+
throw new Error('updateCallOnOutboundCallNoAnswer requires an existing record. Use accessor.get() first.');
|
|
878
|
+
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'UpdateCallOnOutboundCallNoAnswer', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, options);
|
|
879
|
+
return new ActionBuilder(this._provider, 'NotificationModule', 'Call', payload, () => { this._pendingLinks = []; });
|
|
880
|
+
}
|
|
852
881
|
/**
|
|
853
882
|
* UpdateCallOnTaskRouterAssign
|
|
854
883
|
*
|