@d19n/youfibre-odin-sdk 2.0.126 → 2.0.128

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 CHANGED
@@ -353,7 +353,7 @@ This SDK includes **165** entities across **12** modules.
353
353
 
354
354
  ## Actions
355
355
 
356
- This SDK includes **655** actions.
356
+ This SDK includes **661** actions.
357
357
 
358
358
  ### Action Types
359
359
 
@@ -1152,11 +1152,15 @@ 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
+ | `UpdateAgentCallLegOnOutboundCallFailed` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallFailed |
1156
+ | `UpdateAgentCallLegOnOutboundCallNoAnswer` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallNoAnswer |
1155
1157
  | `UpdateCall` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCall |
1156
1158
  | `UpdateCustomerCallLegOnIncomingCallAnswered` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallAnswered |
1157
1159
  | `UpdateCustomerCallLegOnNumberCallStatusCompleted` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnNumberCallStatusCompleted |
1158
1160
  | `UpdateCustomerCallLegOnOutboundCallAnswered` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnOutboundCallAnswered |
1159
1161
  | `UpdateCustomerCallLegOnOutboundCallCompleted` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnOutboundCallCompleted |
1162
+ | `UpdateCustomerCallLegOnOutboundCallFailed` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnOutboundCallFailed |
1163
+ | `UpdateCustomerCallLegOnOutboundCallNoAnswer` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnOutboundCallNoAnswer |
1160
1164
  | `UpdateCustomerCallLegOnOutboundCallRinging` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnOutboundCallRinging |
1161
1165
 
1162
1166
  #### Appointment
@@ -1226,6 +1230,8 @@ This SDK includes **655** actions.
1226
1230
  | `UpdateCallOnNumberCallStatusCompleted` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnNumberCallStatusCompleted |
1227
1231
  | `UpdateCallOnOutboundCallAnswered` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundCallAnswered |
1228
1232
  | `UpdateCallOnOutboundCallCompleted` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundCallCompleted |
1233
+ | `UpdateCallOnOutboundCallFailed` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundCallFailed |
1234
+ | `UpdateCallOnOutboundCallNoAnswer` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundCallNoAnswer |
1229
1235
  | `UpdateCallOnTaskRouterAssign` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnTaskRouterAssign |
1230
1236
  | `UpdateCallTranscriptionUrl` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallTranscriptionUrl |
1231
1237
 
@@ -0,0 +1,88 @@
1
+ /**
2
+ * UpdateAgentCallLegOnOutboundCallFailed Action DTO
3
+ *
4
+ * Update agent call leg on outbound call failed
5
+ *
6
+ * @module NotificationModule
7
+ * @entity CallLeg
8
+ * @actionKey UpdateAgentCallLegOnOutboundCallFailed
9
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallFailed
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 UpdateAgentCallLegOnOutboundCallFailed updated events
16
+ *
17
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallFailed
18
+ */
19
+ export interface UpdateAgentCallLegOnOutboundCallFailedMessage extends OdinRecordUpdatedEvent<UpdateAgentCallLegOnOutboundCallFailedDto, UpdateAgentCallLegOnOutboundCallFailedProperties> {
20
+ }
21
+ /**
22
+ * Properties for UpdateAgentCallLegOnOutboundCallFailed action
23
+ *
24
+ * @property Required fields: 2
25
+ * @property Optional fields: 1
26
+ */
27
+ export interface UpdateAgentCallLegOnOutboundCallFailedProperties {
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
+ * UpdateAgentCallLegOnOutboundCallFailed
54
+ *
55
+ * Update agent call leg on outbound call failed
56
+ *
57
+ * @actionType UPDATE - Updates an existing CallLeg record
58
+ * @module NotificationModule
59
+ * @entity CallLeg
60
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallFailed
61
+ * @permission schema.action.updateagentcalllegonoutboundcallfailed.trigger
62
+ * @benchmark This action is tracked for performance benchmarks
63
+ */
64
+ export declare class UpdateAgentCallLegOnOutboundCallFailedDto extends OdinRecordUpdateDto<UpdateAgentCallLegOnOutboundCallFailedProperties> {
65
+ /** Used by SDK generators to identify action type */
66
+ static readonly ACTION_TYPE = "UPDATE";
67
+ static readonly ACTION_KEY = "UpdateAgentCallLegOnOutboundCallFailed";
68
+ static readonly MODULE_NAME = "NotificationModule";
69
+ static readonly ENTITIES: string[];
70
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallFailed";
71
+ static readonly PERMISSION = "schema.action.updateagentcalllegonoutboundcallfailed.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 = "50ce49f0-76da-4a67-a743-e88145a52ce5";
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: UpdateAgentCallLegOnOutboundCallFailedProperties, options?: {
85
+ journeyId?: string;
86
+ stageKey?: string;
87
+ });
88
+ }
@@ -0,0 +1,56 @@
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;
@@ -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
+ * UpdateCallOnOutboundCallFailed Action DTO
3
+ *
4
+ * Update call on outbound call failed
5
+ *
6
+ * @module NotificationModule
7
+ * @entity Call
8
+ * @actionKey UpdateCallOnOutboundCallFailed
9
+ * @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundCallFailed
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 UpdateCallOnOutboundCallFailed updated events
16
+ *
17
+ * @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundCallFailed
18
+ */
19
+ export interface UpdateCallOnOutboundCallFailedMessage extends OdinRecordUpdatedEvent<UpdateCallOnOutboundCallFailedDto, UpdateCallOnOutboundCallFailedProperties> {
20
+ }
21
+ /**
22
+ * Properties for UpdateCallOnOutboundCallFailed action
23
+ *
24
+ * @property Required fields: 4
25
+ * @property Optional fields: 0
26
+ */
27
+ export interface UpdateCallOnOutboundCallFailedProperties {
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
+ * UpdateCallOnOutboundCallFailed
63
+ *
64
+ * Update call on outbound call failed
65
+ *
66
+ * @actionType UPDATE - Updates an existing Call record
67
+ * @module NotificationModule
68
+ * @entity Call
69
+ * @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundCallFailed
70
+ * @permission schema.action.updatecallonoutboundcallfailed.trigger
71
+ * @benchmark This action is tracked for performance benchmarks
72
+ */
73
+ export declare class UpdateCallOnOutboundCallFailedDto extends OdinRecordUpdateDto<UpdateCallOnOutboundCallFailedProperties> {
74
+ /** Used by SDK generators to identify action type */
75
+ static readonly ACTION_TYPE = "UPDATE";
76
+ static readonly ACTION_KEY = "UpdateCallOnOutboundCallFailed";
77
+ static readonly MODULE_NAME = "NotificationModule";
78
+ static readonly ENTITIES: string[];
79
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundCallFailed";
80
+ static readonly PERMISSION = "schema.action.updatecallonoutboundcallfailed.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 = "3f82f95e-7a83-4312-83c9-7590c768610b";
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: UpdateCallOnOutboundCallFailedProperties, options?: {
94
+ journeyId?: string;
95
+ stageKey?: string;
96
+ });
97
+ }
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /**
3
+ * UpdateCallOnOutboundCallFailed Action DTO
4
+ *
5
+ * Update call on outbound call failed
6
+ *
7
+ * @module NotificationModule
8
+ * @entity Call
9
+ * @actionKey UpdateCallOnOutboundCallFailed
10
+ * @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundCallFailed
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.UpdateCallOnOutboundCallFailedDto = void 0;
16
+ const core_1 = require("@d19n/odin-types/dist/core");
17
+ /**
18
+ * UpdateCallOnOutboundCallFailed
19
+ *
20
+ * Update call on outbound call failed
21
+ *
22
+ * @actionType UPDATE - Updates an existing Call record
23
+ * @module NotificationModule
24
+ * @entity Call
25
+ * @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundCallFailed
26
+ * @permission schema.action.updatecallonoutboundcallfailed.trigger
27
+ * @benchmark This action is tracked for performance benchmarks
28
+ */
29
+ class UpdateCallOnOutboundCallFailedDto 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 = 'UpdateCallOnOutboundCallFailed';
40
+ this.schemaActionId = '3f82f95e-7a83-4312-83c9-7590c768610b';
41
+ this.entity = 'NotificationModule:Call';
42
+ }
43
+ }
44
+ exports.UpdateCallOnOutboundCallFailedDto = UpdateCallOnOutboundCallFailedDto;
45
+ /** Used by SDK generators to identify action type */
46
+ UpdateCallOnOutboundCallFailedDto.ACTION_TYPE = 'UPDATE';
47
+ UpdateCallOnOutboundCallFailedDto.ACTION_KEY = 'UpdateCallOnOutboundCallFailed';
48
+ UpdateCallOnOutboundCallFailedDto.MODULE_NAME = 'NotificationModule';
49
+ UpdateCallOnOutboundCallFailedDto.ENTITIES = ['Call'];
50
+ UpdateCallOnOutboundCallFailedDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundCallFailed';
51
+ UpdateCallOnOutboundCallFailedDto.PERMISSION = 'schema.action.updatecallonoutboundcallfailed.trigger';
52
+ /** Step metadata - entity this action targets */
53
+ UpdateCallOnOutboundCallFailedDto.STEP_ENTITY = 'NotificationModule:Call';
54
+ UpdateCallOnOutboundCallFailedDto.STEP_SCHEMA_ID = 'e157f15c-6846-4bfb-bc92-aed4c4084e9f';
55
+ UpdateCallOnOutboundCallFailedDto.STEP_SCHEMA_ACTION_ID = '3f82f95e-7a83-4312-83c9-7590c768610b';
56
+ UpdateCallOnOutboundCallFailedDto.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;