@d19n/youfibre-odin-sdk 2.0.138 → 2.0.140
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 +5 -9
- package/dist/actions-v2/{UpdateAgentCallLegOnOutboundCallFailedDto.d.ts → UpdateAgentCallLegOnOutboundDialActionDto.d.ts} +19 -19
- package/dist/actions-v2/UpdateAgentCallLegOnOutboundDialActionDto.js +56 -0
- package/dist/actions-v2/{UpdateCallOnNumberCallStatusCompletedDto.d.ts → UpdateCallOnNumberCallStatusDto.d.ts} +28 -36
- package/dist/actions-v2/UpdateCallOnNumberCallStatusDto.js +56 -0
- package/dist/actions-v2/UpdateCallOnOutboundDialActionDto.d.ts +89 -0
- package/dist/actions-v2/UpdateCallOnOutboundDialActionDto.js +56 -0
- package/dist/actions-v2/{UpdateCustomerCallLegOnNumberCallStatusCompletedDto.d.ts → UpdateCustomerCallLegOnNumberCallStatusDto.d.ts} +28 -29
- package/dist/actions-v2/UpdateCustomerCallLegOnNumberCallStatusDto.js +56 -0
- package/dist/records-v2/CallLegRecord.d.ts +14 -149
- package/dist/records-v2/CallLegRecord.js +18 -163
- package/dist/records-v2/CallRecord.d.ts +32 -5
- package/dist/records-v2/CallRecord.js +35 -6
- package/package.json +1 -1
- package/dist/actions-v2/UpdateAgentCallLegOnOutboundCallCompletedDto.d.ts +0 -88
- package/dist/actions-v2/UpdateAgentCallLegOnOutboundCallCompletedDto.js +0 -56
- package/dist/actions-v2/UpdateAgentCallLegOnOutboundCallFailedDto.js +0 -56
- package/dist/actions-v2/UpdateAgentCallLegOnOutboundCallNoAnswerDto.d.ts +0 -88
- package/dist/actions-v2/UpdateAgentCallLegOnOutboundCallNoAnswerDto.js +0 -56
- package/dist/actions-v2/UpdateCallOnNumberCallStatusCompletedDto.js +0 -56
- package/dist/actions-v2/UpdateCustomerCallLegOnIncomingCallCanceledDto.d.ts +0 -81
- package/dist/actions-v2/UpdateCustomerCallLegOnIncomingCallCanceledDto.js +0 -56
- package/dist/actions-v2/UpdateCustomerCallLegOnIncomingCallFailedDto.d.ts +0 -81
- package/dist/actions-v2/UpdateCustomerCallLegOnIncomingCallFailedDto.js +0 -56
- package/dist/actions-v2/UpdateCustomerCallLegOnIncomingCallNoAnswerDto.d.ts +0 -81
- package/dist/actions-v2/UpdateCustomerCallLegOnIncomingCallNoAnswerDto.js +0 -56
- package/dist/actions-v2/UpdateCustomerCallLegOnNumberCallStatusCompletedDto.js +0 -56
|
@@ -813,7 +813,7 @@ class CallRecord {
|
|
|
813
813
|
return new ActionBuilder(this._provider, 'NotificationModule', 'Call', payload, () => { this._pendingLinks = []; });
|
|
814
814
|
}
|
|
815
815
|
/**
|
|
816
|
-
*
|
|
816
|
+
* UpdateCallOnNumberCallStatus
|
|
817
817
|
*
|
|
818
818
|
* Updates this Call record with the specified properties.
|
|
819
819
|
* Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
|
|
@@ -828,17 +828,17 @@ class CallRecord {
|
|
|
828
828
|
* @example
|
|
829
829
|
* ```typescript
|
|
830
830
|
* const record = await odinClient.calls.get(id);
|
|
831
|
-
* await record.
|
|
831
|
+
* await record.updateCallOnNumberCallStatus({ ... }).execute();
|
|
832
832
|
*
|
|
833
833
|
* // Dry run (for debugging)
|
|
834
|
-
* const payload = record.
|
|
834
|
+
* const payload = record.updateCallOnNumberCallStatus({ ... }).dryRun();
|
|
835
835
|
* ```
|
|
836
836
|
*/
|
|
837
|
-
|
|
837
|
+
updateCallOnNumberCallStatus(properties, options) {
|
|
838
838
|
var _a;
|
|
839
839
|
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
840
|
-
throw new Error('
|
|
841
|
-
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: '
|
|
840
|
+
throw new Error('updateCallOnNumberCallStatus requires an existing record. Use accessor.get() first.');
|
|
841
|
+
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'UpdateCallOnNumberCallStatus', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, options);
|
|
842
842
|
return new ActionBuilder(this._provider, 'NotificationModule', 'Call', payload, () => { this._pendingLinks = []; });
|
|
843
843
|
}
|
|
844
844
|
/**
|
|
@@ -965,6 +965,35 @@ class CallRecord {
|
|
|
965
965
|
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);
|
|
966
966
|
return new ActionBuilder(this._provider, 'NotificationModule', 'Call', payload, () => { this._pendingLinks = []; });
|
|
967
967
|
}
|
|
968
|
+
/**
|
|
969
|
+
* UpdateCallOnOutboundDialAction
|
|
970
|
+
*
|
|
971
|
+
* Updates this Call record with the specified properties.
|
|
972
|
+
* Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
|
|
973
|
+
*
|
|
974
|
+
* @param properties - Required properties for this action
|
|
975
|
+
* @param options - Optional settings
|
|
976
|
+
* @param options.journeyId - Associate with a journey
|
|
977
|
+
* @param options.stageKey - Transition to pipeline stage
|
|
978
|
+
* @returns ActionBuilder - call .execute() to update or .dryRun() for payload
|
|
979
|
+
* @throws Error if called on a new (unsaved) record
|
|
980
|
+
*
|
|
981
|
+
* @example
|
|
982
|
+
* ```typescript
|
|
983
|
+
* const record = await odinClient.calls.get(id);
|
|
984
|
+
* await record.updateCallOnOutboundDialAction({ ... }).execute();
|
|
985
|
+
*
|
|
986
|
+
* // Dry run (for debugging)
|
|
987
|
+
* const payload = record.updateCallOnOutboundDialAction({ ... }).dryRun();
|
|
988
|
+
* ```
|
|
989
|
+
*/
|
|
990
|
+
updateCallOnOutboundDialAction(properties, options) {
|
|
991
|
+
var _a;
|
|
992
|
+
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
993
|
+
throw new Error('updateCallOnOutboundDialAction requires an existing record. Use accessor.get() first.');
|
|
994
|
+
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);
|
|
995
|
+
return new ActionBuilder(this._provider, 'NotificationModule', 'Call', payload, () => { this._pendingLinks = []; });
|
|
996
|
+
}
|
|
968
997
|
/**
|
|
969
998
|
* UpdateCallOnTaskRouterAssign
|
|
970
999
|
*
|
package/package.json
CHANGED
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* UpdateAgentCallLegOnOutboundCallCompleted Action DTO
|
|
3
|
-
*
|
|
4
|
-
* Update agent call leg on outbound call completed
|
|
5
|
-
*
|
|
6
|
-
* @module NotificationModule
|
|
7
|
-
* @entity CallLeg
|
|
8
|
-
* @actionKey UpdateAgentCallLegOnOutboundCallCompleted
|
|
9
|
-
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallCompleted
|
|
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 UpdateAgentCallLegOnOutboundCallCompleted updated events
|
|
16
|
-
*
|
|
17
|
-
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallCompleted
|
|
18
|
-
*/
|
|
19
|
-
export interface UpdateAgentCallLegOnOutboundCallCompletedMessage extends OdinRecordUpdatedEvent<UpdateAgentCallLegOnOutboundCallCompletedDto, UpdateAgentCallLegOnOutboundCallCompletedProperties> {
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Properties for UpdateAgentCallLegOnOutboundCallCompleted action
|
|
23
|
-
*
|
|
24
|
-
* @property Required fields: 2
|
|
25
|
-
* @property Optional fields: 1
|
|
26
|
-
*/
|
|
27
|
-
export interface UpdateAgentCallLegOnOutboundCallCompletedProperties {
|
|
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
|
-
* UpdateAgentCallLegOnOutboundCallCompleted
|
|
54
|
-
*
|
|
55
|
-
* Update agent call leg on outbound call completed
|
|
56
|
-
*
|
|
57
|
-
* @actionType UPDATE - Updates an existing CallLeg record
|
|
58
|
-
* @module NotificationModule
|
|
59
|
-
* @entity CallLeg
|
|
60
|
-
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallCompleted
|
|
61
|
-
* @permission schema.action.updateagentcalllegonoutboundcallcompleted.trigger
|
|
62
|
-
* @benchmark This action is tracked for performance benchmarks
|
|
63
|
-
*/
|
|
64
|
-
export declare class UpdateAgentCallLegOnOutboundCallCompletedDto extends OdinRecordUpdateDto<UpdateAgentCallLegOnOutboundCallCompletedProperties> {
|
|
65
|
-
/** Used by SDK generators to identify action type */
|
|
66
|
-
static readonly ACTION_TYPE = "UPDATE";
|
|
67
|
-
static readonly ACTION_KEY = "UpdateAgentCallLegOnOutboundCallCompleted";
|
|
68
|
-
static readonly MODULE_NAME = "NotificationModule";
|
|
69
|
-
static readonly ENTITIES: string[];
|
|
70
|
-
static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallCompleted";
|
|
71
|
-
static readonly PERMISSION = "schema.action.updateagentcalllegonoutboundcallcompleted.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 = "231be3cd-1ed9-40eb-937a-8cd1d7c0b983";
|
|
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: UpdateAgentCallLegOnOutboundCallCompletedProperties, options?: {
|
|
85
|
-
journeyId?: string;
|
|
86
|
-
stageKey?: string;
|
|
87
|
-
});
|
|
88
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* UpdateAgentCallLegOnOutboundCallCompleted Action DTO
|
|
4
|
-
*
|
|
5
|
-
* Update agent call leg on outbound call completed
|
|
6
|
-
*
|
|
7
|
-
* @module NotificationModule
|
|
8
|
-
* @entity CallLeg
|
|
9
|
-
* @actionKey UpdateAgentCallLegOnOutboundCallCompleted
|
|
10
|
-
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallCompleted
|
|
11
|
-
*
|
|
12
|
-
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
-
*/
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.UpdateAgentCallLegOnOutboundCallCompletedDto = void 0;
|
|
16
|
-
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
|
-
/**
|
|
18
|
-
* UpdateAgentCallLegOnOutboundCallCompleted
|
|
19
|
-
*
|
|
20
|
-
* Update agent call leg on outbound call completed
|
|
21
|
-
*
|
|
22
|
-
* @actionType UPDATE - Updates an existing CallLeg record
|
|
23
|
-
* @module NotificationModule
|
|
24
|
-
* @entity CallLeg
|
|
25
|
-
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallCompleted
|
|
26
|
-
* @permission schema.action.updateagentcalllegonoutboundcallcompleted.trigger
|
|
27
|
-
* @benchmark This action is tracked for performance benchmarks
|
|
28
|
-
*/
|
|
29
|
-
class UpdateAgentCallLegOnOutboundCallCompletedDto 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 = 'UpdateAgentCallLegOnOutboundCallCompleted';
|
|
40
|
-
this.schemaActionId = '231be3cd-1ed9-40eb-937a-8cd1d7c0b983';
|
|
41
|
-
this.entity = 'NotificationModule:CallLeg';
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
exports.UpdateAgentCallLegOnOutboundCallCompletedDto = UpdateAgentCallLegOnOutboundCallCompletedDto;
|
|
45
|
-
/** Used by SDK generators to identify action type */
|
|
46
|
-
UpdateAgentCallLegOnOutboundCallCompletedDto.ACTION_TYPE = 'UPDATE';
|
|
47
|
-
UpdateAgentCallLegOnOutboundCallCompletedDto.ACTION_KEY = 'UpdateAgentCallLegOnOutboundCallCompleted';
|
|
48
|
-
UpdateAgentCallLegOnOutboundCallCompletedDto.MODULE_NAME = 'NotificationModule';
|
|
49
|
-
UpdateAgentCallLegOnOutboundCallCompletedDto.ENTITIES = ['CallLeg'];
|
|
50
|
-
UpdateAgentCallLegOnOutboundCallCompletedDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallCompleted';
|
|
51
|
-
UpdateAgentCallLegOnOutboundCallCompletedDto.PERMISSION = 'schema.action.updateagentcalllegonoutboundcallcompleted.trigger';
|
|
52
|
-
/** Step metadata - entity this action targets */
|
|
53
|
-
UpdateAgentCallLegOnOutboundCallCompletedDto.STEP_ENTITY = 'NotificationModule:CallLeg';
|
|
54
|
-
UpdateAgentCallLegOnOutboundCallCompletedDto.STEP_SCHEMA_ID = '75c59745-35fb-44b9-b3f2-7563101fdcec';
|
|
55
|
-
UpdateAgentCallLegOnOutboundCallCompletedDto.STEP_SCHEMA_ACTION_ID = '231be3cd-1ed9-40eb-937a-8cd1d7c0b983';
|
|
56
|
-
UpdateAgentCallLegOnOutboundCallCompletedDto.AUTO_LINK_PARENT = false;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* UpdateAgentCallLegOnOutboundCallFailed Action DTO
|
|
4
|
-
*
|
|
5
|
-
* Update agent call leg on outbound call failed
|
|
6
|
-
*
|
|
7
|
-
* @module NotificationModule
|
|
8
|
-
* @entity CallLeg
|
|
9
|
-
* @actionKey UpdateAgentCallLegOnOutboundCallFailed
|
|
10
|
-
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallFailed
|
|
11
|
-
*
|
|
12
|
-
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
-
*/
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.UpdateAgentCallLegOnOutboundCallFailedDto = void 0;
|
|
16
|
-
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
|
-
/**
|
|
18
|
-
* UpdateAgentCallLegOnOutboundCallFailed
|
|
19
|
-
*
|
|
20
|
-
* Update agent call leg on outbound call failed
|
|
21
|
-
*
|
|
22
|
-
* @actionType UPDATE - Updates an existing CallLeg record
|
|
23
|
-
* @module NotificationModule
|
|
24
|
-
* @entity CallLeg
|
|
25
|
-
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallFailed
|
|
26
|
-
* @permission schema.action.updateagentcalllegonoutboundcallfailed.trigger
|
|
27
|
-
* @benchmark This action is tracked for performance benchmarks
|
|
28
|
-
*/
|
|
29
|
-
class UpdateAgentCallLegOnOutboundCallFailedDto 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 = 'UpdateAgentCallLegOnOutboundCallFailed';
|
|
40
|
-
this.schemaActionId = '50ce49f0-76da-4a67-a743-e88145a52ce5';
|
|
41
|
-
this.entity = 'NotificationModule:CallLeg';
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
exports.UpdateAgentCallLegOnOutboundCallFailedDto = UpdateAgentCallLegOnOutboundCallFailedDto;
|
|
45
|
-
/** Used by SDK generators to identify action type */
|
|
46
|
-
UpdateAgentCallLegOnOutboundCallFailedDto.ACTION_TYPE = 'UPDATE';
|
|
47
|
-
UpdateAgentCallLegOnOutboundCallFailedDto.ACTION_KEY = 'UpdateAgentCallLegOnOutboundCallFailed';
|
|
48
|
-
UpdateAgentCallLegOnOutboundCallFailedDto.MODULE_NAME = 'NotificationModule';
|
|
49
|
-
UpdateAgentCallLegOnOutboundCallFailedDto.ENTITIES = ['CallLeg'];
|
|
50
|
-
UpdateAgentCallLegOnOutboundCallFailedDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallFailed';
|
|
51
|
-
UpdateAgentCallLegOnOutboundCallFailedDto.PERMISSION = 'schema.action.updateagentcalllegonoutboundcallfailed.trigger';
|
|
52
|
-
/** Step metadata - entity this action targets */
|
|
53
|
-
UpdateAgentCallLegOnOutboundCallFailedDto.STEP_ENTITY = 'NotificationModule:CallLeg';
|
|
54
|
-
UpdateAgentCallLegOnOutboundCallFailedDto.STEP_SCHEMA_ID = '75c59745-35fb-44b9-b3f2-7563101fdcec';
|
|
55
|
-
UpdateAgentCallLegOnOutboundCallFailedDto.STEP_SCHEMA_ACTION_ID = '50ce49f0-76da-4a67-a743-e88145a52ce5';
|
|
56
|
-
UpdateAgentCallLegOnOutboundCallFailedDto.AUTO_LINK_PARENT = false;
|
|
@@ -1,88 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
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;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* UpdateCallOnNumberCallStatusCompleted Action DTO
|
|
4
|
-
*
|
|
5
|
-
* Update call on number call status completed
|
|
6
|
-
*
|
|
7
|
-
* @module NotificationModule
|
|
8
|
-
* @entity Call
|
|
9
|
-
* @actionKey UpdateCallOnNumberCallStatusCompleted
|
|
10
|
-
* @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnNumberCallStatusCompleted
|
|
11
|
-
*
|
|
12
|
-
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
-
*/
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.UpdateCallOnNumberCallStatusCompletedDto = void 0;
|
|
16
|
-
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
|
-
/**
|
|
18
|
-
* UpdateCallOnNumberCallStatusCompleted
|
|
19
|
-
*
|
|
20
|
-
* Update call on number call status completed
|
|
21
|
-
*
|
|
22
|
-
* @actionType UPDATE - Updates an existing Call record
|
|
23
|
-
* @module NotificationModule
|
|
24
|
-
* @entity Call
|
|
25
|
-
* @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnNumberCallStatusCompleted
|
|
26
|
-
* @permission schema.action.updatecallonnumbercallstatuscompleted.trigger
|
|
27
|
-
* @benchmark This action is tracked for performance benchmarks
|
|
28
|
-
*/
|
|
29
|
-
class UpdateCallOnNumberCallStatusCompletedDto 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 = 'UpdateCallOnNumberCallStatusCompleted';
|
|
40
|
-
this.schemaActionId = '16180a1f-2391-487e-8bc6-d6a212ac14e1';
|
|
41
|
-
this.entity = 'NotificationModule:Call';
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
exports.UpdateCallOnNumberCallStatusCompletedDto = UpdateCallOnNumberCallStatusCompletedDto;
|
|
45
|
-
/** Used by SDK generators to identify action type */
|
|
46
|
-
UpdateCallOnNumberCallStatusCompletedDto.ACTION_TYPE = 'UPDATE';
|
|
47
|
-
UpdateCallOnNumberCallStatusCompletedDto.ACTION_KEY = 'UpdateCallOnNumberCallStatusCompleted';
|
|
48
|
-
UpdateCallOnNumberCallStatusCompletedDto.MODULE_NAME = 'NotificationModule';
|
|
49
|
-
UpdateCallOnNumberCallStatusCompletedDto.ENTITIES = ['Call'];
|
|
50
|
-
UpdateCallOnNumberCallStatusCompletedDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnNumberCallStatusCompleted';
|
|
51
|
-
UpdateCallOnNumberCallStatusCompletedDto.PERMISSION = 'schema.action.updatecallonnumbercallstatuscompleted.trigger';
|
|
52
|
-
/** Step metadata - entity this action targets */
|
|
53
|
-
UpdateCallOnNumberCallStatusCompletedDto.STEP_ENTITY = 'NotificationModule:Call';
|
|
54
|
-
UpdateCallOnNumberCallStatusCompletedDto.STEP_SCHEMA_ID = 'e157f15c-6846-4bfb-bc92-aed4c4084e9f';
|
|
55
|
-
UpdateCallOnNumberCallStatusCompletedDto.STEP_SCHEMA_ACTION_ID = '16180a1f-2391-487e-8bc6-d6a212ac14e1';
|
|
56
|
-
UpdateCallOnNumberCallStatusCompletedDto.AUTO_LINK_PARENT = false;
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* UpdateCustomerCallLegOnIncomingCallCanceled Action DTO
|
|
3
|
-
*
|
|
4
|
-
* Update customer call leg on incoming call canceled
|
|
5
|
-
*
|
|
6
|
-
* @module NotificationModule
|
|
7
|
-
* @entity CallLeg
|
|
8
|
-
* @actionKey UpdateCustomerCallLegOnIncomingCallCanceled
|
|
9
|
-
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallCanceled
|
|
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 UpdateCustomerCallLegOnIncomingCallCanceled updated events
|
|
16
|
-
*
|
|
17
|
-
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallCanceled
|
|
18
|
-
*/
|
|
19
|
-
export interface UpdateCustomerCallLegOnIncomingCallCanceledMessage extends OdinRecordUpdatedEvent<UpdateCustomerCallLegOnIncomingCallCanceledDto, UpdateCustomerCallLegOnIncomingCallCanceledProperties> {
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Properties for UpdateCustomerCallLegOnIncomingCallCanceled action
|
|
23
|
-
*
|
|
24
|
-
* @property Required fields: 2
|
|
25
|
-
* @property Optional fields: 0
|
|
26
|
-
*/
|
|
27
|
-
export interface UpdateCustomerCallLegOnIncomingCallCanceledProperties {
|
|
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
|
-
/**
|
|
46
|
-
* UpdateCustomerCallLegOnIncomingCallCanceled
|
|
47
|
-
*
|
|
48
|
-
* Update customer call leg on incoming call canceled
|
|
49
|
-
*
|
|
50
|
-
* @actionType UPDATE - Updates an existing CallLeg record
|
|
51
|
-
* @module NotificationModule
|
|
52
|
-
* @entity CallLeg
|
|
53
|
-
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallCanceled
|
|
54
|
-
* @permission schema.action.updatecustomercalllegonincomingcallcanceled.trigger
|
|
55
|
-
* @benchmark This action is tracked for performance benchmarks
|
|
56
|
-
*/
|
|
57
|
-
export declare class UpdateCustomerCallLegOnIncomingCallCanceledDto extends OdinRecordUpdateDto<UpdateCustomerCallLegOnIncomingCallCanceledProperties> {
|
|
58
|
-
/** Used by SDK generators to identify action type */
|
|
59
|
-
static readonly ACTION_TYPE = "UPDATE";
|
|
60
|
-
static readonly ACTION_KEY = "UpdateCustomerCallLegOnIncomingCallCanceled";
|
|
61
|
-
static readonly MODULE_NAME = "NotificationModule";
|
|
62
|
-
static readonly ENTITIES: string[];
|
|
63
|
-
static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallCanceled";
|
|
64
|
-
static readonly PERMISSION = "schema.action.updatecustomercalllegonincomingcallcanceled.trigger";
|
|
65
|
-
/** Step metadata - entity this action targets */
|
|
66
|
-
static readonly STEP_ENTITY = "NotificationModule:CallLeg";
|
|
67
|
-
static readonly STEP_SCHEMA_ID = "75c59745-35fb-44b9-b3f2-7563101fdcec";
|
|
68
|
-
static readonly STEP_SCHEMA_ACTION_ID = "aa945ebd-fc99-473a-bd67-6651fb6b6350";
|
|
69
|
-
static readonly AUTO_LINK_PARENT = false;
|
|
70
|
-
readonly actionName: string;
|
|
71
|
-
readonly schemaActionId: string;
|
|
72
|
-
readonly entity: string;
|
|
73
|
-
constructor(record: OdinRecord<any> | {
|
|
74
|
-
id: string;
|
|
75
|
-
entity: string;
|
|
76
|
-
type?: string;
|
|
77
|
-
}, properties: UpdateCustomerCallLegOnIncomingCallCanceledProperties, options?: {
|
|
78
|
-
journeyId?: string;
|
|
79
|
-
stageKey?: string;
|
|
80
|
-
});
|
|
81
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* UpdateCustomerCallLegOnIncomingCallCanceled Action DTO
|
|
4
|
-
*
|
|
5
|
-
* Update customer call leg on incoming call canceled
|
|
6
|
-
*
|
|
7
|
-
* @module NotificationModule
|
|
8
|
-
* @entity CallLeg
|
|
9
|
-
* @actionKey UpdateCustomerCallLegOnIncomingCallCanceled
|
|
10
|
-
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallCanceled
|
|
11
|
-
*
|
|
12
|
-
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
-
*/
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.UpdateCustomerCallLegOnIncomingCallCanceledDto = void 0;
|
|
16
|
-
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
|
-
/**
|
|
18
|
-
* UpdateCustomerCallLegOnIncomingCallCanceled
|
|
19
|
-
*
|
|
20
|
-
* Update customer call leg on incoming call canceled
|
|
21
|
-
*
|
|
22
|
-
* @actionType UPDATE - Updates an existing CallLeg record
|
|
23
|
-
* @module NotificationModule
|
|
24
|
-
* @entity CallLeg
|
|
25
|
-
* @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallCanceled
|
|
26
|
-
* @permission schema.action.updatecustomercalllegonincomingcallcanceled.trigger
|
|
27
|
-
* @benchmark This action is tracked for performance benchmarks
|
|
28
|
-
*/
|
|
29
|
-
class UpdateCustomerCallLegOnIncomingCallCanceledDto 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 = 'UpdateCustomerCallLegOnIncomingCallCanceled';
|
|
40
|
-
this.schemaActionId = 'aa945ebd-fc99-473a-bd67-6651fb6b6350';
|
|
41
|
-
this.entity = 'NotificationModule:CallLeg';
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
exports.UpdateCustomerCallLegOnIncomingCallCanceledDto = UpdateCustomerCallLegOnIncomingCallCanceledDto;
|
|
45
|
-
/** Used by SDK generators to identify action type */
|
|
46
|
-
UpdateCustomerCallLegOnIncomingCallCanceledDto.ACTION_TYPE = 'UPDATE';
|
|
47
|
-
UpdateCustomerCallLegOnIncomingCallCanceledDto.ACTION_KEY = 'UpdateCustomerCallLegOnIncomingCallCanceled';
|
|
48
|
-
UpdateCustomerCallLegOnIncomingCallCanceledDto.MODULE_NAME = 'NotificationModule';
|
|
49
|
-
UpdateCustomerCallLegOnIncomingCallCanceledDto.ENTITIES = ['CallLeg'];
|
|
50
|
-
UpdateCustomerCallLegOnIncomingCallCanceledDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallCanceled';
|
|
51
|
-
UpdateCustomerCallLegOnIncomingCallCanceledDto.PERMISSION = 'schema.action.updatecustomercalllegonincomingcallcanceled.trigger';
|
|
52
|
-
/** Step metadata - entity this action targets */
|
|
53
|
-
UpdateCustomerCallLegOnIncomingCallCanceledDto.STEP_ENTITY = 'NotificationModule:CallLeg';
|
|
54
|
-
UpdateCustomerCallLegOnIncomingCallCanceledDto.STEP_SCHEMA_ID = '75c59745-35fb-44b9-b3f2-7563101fdcec';
|
|
55
|
-
UpdateCustomerCallLegOnIncomingCallCanceledDto.STEP_SCHEMA_ACTION_ID = 'aa945ebd-fc99-473a-bd67-6651fb6b6350';
|
|
56
|
-
UpdateCustomerCallLegOnIncomingCallCanceledDto.AUTO_LINK_PARENT = false;
|