@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.
Files changed (27) hide show
  1. package/README.md +5 -9
  2. package/dist/actions-v2/{UpdateAgentCallLegOnOutboundCallFailedDto.d.ts → UpdateAgentCallLegOnOutboundDialActionDto.d.ts} +19 -19
  3. package/dist/actions-v2/UpdateAgentCallLegOnOutboundDialActionDto.js +56 -0
  4. package/dist/actions-v2/{UpdateCallOnNumberCallStatusCompletedDto.d.ts → UpdateCallOnNumberCallStatusDto.d.ts} +28 -36
  5. package/dist/actions-v2/UpdateCallOnNumberCallStatusDto.js +56 -0
  6. package/dist/actions-v2/UpdateCallOnOutboundDialActionDto.d.ts +89 -0
  7. package/dist/actions-v2/UpdateCallOnOutboundDialActionDto.js +56 -0
  8. package/dist/actions-v2/{UpdateCustomerCallLegOnNumberCallStatusCompletedDto.d.ts → UpdateCustomerCallLegOnNumberCallStatusDto.d.ts} +28 -29
  9. package/dist/actions-v2/UpdateCustomerCallLegOnNumberCallStatusDto.js +56 -0
  10. package/dist/records-v2/CallLegRecord.d.ts +14 -149
  11. package/dist/records-v2/CallLegRecord.js +18 -163
  12. package/dist/records-v2/CallRecord.d.ts +32 -5
  13. package/dist/records-v2/CallRecord.js +35 -6
  14. package/package.json +1 -1
  15. package/dist/actions-v2/UpdateAgentCallLegOnOutboundCallCompletedDto.d.ts +0 -88
  16. package/dist/actions-v2/UpdateAgentCallLegOnOutboundCallCompletedDto.js +0 -56
  17. package/dist/actions-v2/UpdateAgentCallLegOnOutboundCallFailedDto.js +0 -56
  18. package/dist/actions-v2/UpdateAgentCallLegOnOutboundCallNoAnswerDto.d.ts +0 -88
  19. package/dist/actions-v2/UpdateAgentCallLegOnOutboundCallNoAnswerDto.js +0 -56
  20. package/dist/actions-v2/UpdateCallOnNumberCallStatusCompletedDto.js +0 -56
  21. package/dist/actions-v2/UpdateCustomerCallLegOnIncomingCallCanceledDto.d.ts +0 -81
  22. package/dist/actions-v2/UpdateCustomerCallLegOnIncomingCallCanceledDto.js +0 -56
  23. package/dist/actions-v2/UpdateCustomerCallLegOnIncomingCallFailedDto.d.ts +0 -81
  24. package/dist/actions-v2/UpdateCustomerCallLegOnIncomingCallFailedDto.js +0 -56
  25. package/dist/actions-v2/UpdateCustomerCallLegOnIncomingCallNoAnswerDto.d.ts +0 -81
  26. package/dist/actions-v2/UpdateCustomerCallLegOnIncomingCallNoAnswerDto.js +0 -56
  27. package/dist/actions-v2/UpdateCustomerCallLegOnNumberCallStatusCompletedDto.js +0 -56
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 **687** actions.
356
+ This SDK includes **683** actions.
357
357
 
358
358
  ### Action Types
359
359
 
@@ -1203,18 +1203,13 @@ This SDK includes **687** actions.
1203
1203
  | `UpdateAgentCallLegOnIncomingCallNoAnswer` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallNoAnswer |
1204
1204
  | `UpdateAgentCallLegOnIncomingCallRinging` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallRinging |
1205
1205
  | `UpdateAgentCallLegOnOutboundCallAnswered` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallAnswered |
1206
- | `UpdateAgentCallLegOnOutboundCallCompleted` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallCompleted |
1207
- | `UpdateAgentCallLegOnOutboundCallFailed` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallFailed |
1208
- | `UpdateAgentCallLegOnOutboundCallNoAnswer` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallNoAnswer |
1209
1206
  | `UpdateAgentCallLegOnOutboundCallRinging` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallRinging |
1207
+ | `UpdateAgentCallLegOnOutboundDialAction` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundDialAction |
1210
1208
  | `UpdateCall` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCall |
1211
1209
  | `UpdateCustomerCallLegOnIncomingCallAnswered` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallAnswered |
1212
- | `UpdateCustomerCallLegOnIncomingCallCanceled` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallCanceled |
1213
1210
  | `UpdateCustomerCallLegOnIncomingCallCompleted` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallCompleted |
1214
- | `UpdateCustomerCallLegOnIncomingCallFailed` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallFailed |
1215
- | `UpdateCustomerCallLegOnIncomingCallNoAnswer` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallNoAnswer |
1216
1211
  | `UpdateCustomerCallLegOnIncomingCallRinging` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallRinging |
1217
- | `UpdateCustomerCallLegOnNumberCallStatusCompleted` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnNumberCallStatusCompleted |
1212
+ | `UpdateCustomerCallLegOnNumberCallStatus` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnNumberCallStatus |
1218
1213
  | `UpdateCustomerCallLegOnOutboundCallAnswered` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnOutboundCallAnswered |
1219
1214
  | `UpdateCustomerCallLegOnOutboundCallCompleted` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnOutboundCallCompleted |
1220
1215
  | `UpdateCustomerCallLegOnOutboundCallFailed` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnOutboundCallFailed |
@@ -1287,11 +1282,12 @@ This SDK includes **687** actions.
1287
1282
  | `UpdateCallOnInboundCallInitiated` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnInboundCallInitiated |
1288
1283
  | `UpdateCallOnInboundCallNoAnswer` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnInboundCallNoAnswer |
1289
1284
  | `UpdateCallOnInboundCallRinging` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnInboundCallRinging |
1290
- | `UpdateCallOnNumberCallStatusCompleted` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnNumberCallStatusCompleted |
1285
+ | `UpdateCallOnNumberCallStatus` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnNumberCallStatus |
1291
1286
  | `UpdateCallOnOutboundCallAnswered` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundCallAnswered |
1292
1287
  | `UpdateCallOnOutboundCallCompleted` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundCallCompleted |
1293
1288
  | `UpdateCallOnOutboundCallFailed` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundCallFailed |
1294
1289
  | `UpdateCallOnOutboundCallNoAnswer` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundCallNoAnswer |
1290
+ | `UpdateCallOnOutboundDialAction` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundDialAction |
1295
1291
  | `UpdateCallOnTaskRouterAssign` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnTaskRouterAssign |
1296
1292
  | `UpdateCallTranscriptionUrl` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallTranscriptionUrl |
1297
1293
 
@@ -1,30 +1,30 @@
1
1
  /**
2
- * UpdateAgentCallLegOnOutboundCallFailed Action DTO
2
+ * UpdateAgentCallLegOnOutboundDialAction Action DTO
3
3
  *
4
- * Update agent call leg on outbound call failed
4
+ * Update agent call leg on outbound dial action
5
5
  *
6
6
  * @module NotificationModule
7
7
  * @entity CallLeg
8
- * @actionKey UpdateAgentCallLegOnOutboundCallFailed
9
- * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallFailed
8
+ * @actionKey UpdateAgentCallLegOnOutboundDialAction
9
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundDialAction
10
10
  *
11
11
  * AUTO-GENERATED - DO NOT EDIT DIRECTLY
12
12
  */
13
13
  import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
14
14
  /**
15
- * RabbitMQ message payload for UpdateAgentCallLegOnOutboundCallFailed updated events
15
+ * RabbitMQ message payload for UpdateAgentCallLegOnOutboundDialAction updated events
16
16
  *
17
- * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallFailed
17
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundDialAction
18
18
  */
19
- export interface UpdateAgentCallLegOnOutboundCallFailedMessage extends OdinRecordUpdatedEvent<UpdateAgentCallLegOnOutboundCallFailedDto, UpdateAgentCallLegOnOutboundCallFailedProperties> {
19
+ export interface UpdateAgentCallLegOnOutboundDialActionMessage extends OdinRecordUpdatedEvent<UpdateAgentCallLegOnOutboundDialActionDto, UpdateAgentCallLegOnOutboundDialActionProperties> {
20
20
  }
21
21
  /**
22
- * Properties for UpdateAgentCallLegOnOutboundCallFailed action
22
+ * Properties for UpdateAgentCallLegOnOutboundDialAction action
23
23
  *
24
24
  * @property Required fields: 2
25
25
  * @property Optional fields: 1
26
26
  */
27
- export interface UpdateAgentCallLegOnOutboundCallFailedProperties {
27
+ export interface UpdateAgentCallLegOnOutboundDialActionProperties {
28
28
  /**
29
29
  * EndedAt
30
30
  *
@@ -50,29 +50,29 @@ export interface UpdateAgentCallLegOnOutboundCallFailedProperties {
50
50
  Duration?: number | null;
51
51
  }
52
52
  /**
53
- * UpdateAgentCallLegOnOutboundCallFailed
53
+ * UpdateAgentCallLegOnOutboundDialAction
54
54
  *
55
- * Update agent call leg on outbound call failed
55
+ * Update agent call leg on outbound dial action
56
56
  *
57
57
  * @actionType UPDATE - Updates an existing CallLeg record
58
58
  * @module NotificationModule
59
59
  * @entity CallLeg
60
- * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallFailed
61
- * @permission schema.action.updateagentcalllegonoutboundcallfailed.trigger
60
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundDialAction
61
+ * @permission schema.action.updateagentcalllegonoutbounddialaction.trigger
62
62
  * @benchmark This action is tracked for performance benchmarks
63
63
  */
64
- export declare class UpdateAgentCallLegOnOutboundCallFailedDto extends OdinRecordUpdateDto<UpdateAgentCallLegOnOutboundCallFailedProperties> {
64
+ export declare class UpdateAgentCallLegOnOutboundDialActionDto extends OdinRecordUpdateDto<UpdateAgentCallLegOnOutboundDialActionProperties> {
65
65
  /** Used by SDK generators to identify action type */
66
66
  static readonly ACTION_TYPE = "UPDATE";
67
- static readonly ACTION_KEY = "UpdateAgentCallLegOnOutboundCallFailed";
67
+ static readonly ACTION_KEY = "UpdateAgentCallLegOnOutboundDialAction";
68
68
  static readonly MODULE_NAME = "NotificationModule";
69
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";
70
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundDialAction";
71
+ static readonly PERMISSION = "schema.action.updateagentcalllegonoutbounddialaction.trigger";
72
72
  /** Step metadata - entity this action targets */
73
73
  static readonly STEP_ENTITY = "NotificationModule:CallLeg";
74
74
  static readonly STEP_SCHEMA_ID = "75c59745-35fb-44b9-b3f2-7563101fdcec";
75
- static readonly STEP_SCHEMA_ACTION_ID = "50ce49f0-76da-4a67-a743-e88145a52ce5";
75
+ static readonly STEP_SCHEMA_ACTION_ID = "9a61b64a-0314-4a53-9140-e7690cdebf14";
76
76
  static readonly AUTO_LINK_PARENT = false;
77
77
  readonly actionName: string;
78
78
  readonly schemaActionId: string;
@@ -81,7 +81,7 @@ export declare class UpdateAgentCallLegOnOutboundCallFailedDto extends OdinRecor
81
81
  id: string;
82
82
  entity: string;
83
83
  type?: string;
84
- }, properties: UpdateAgentCallLegOnOutboundCallFailedProperties, options?: {
84
+ }, properties: UpdateAgentCallLegOnOutboundDialActionProperties, options?: {
85
85
  journeyId?: string;
86
86
  stageKey?: string;
87
87
  });
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /**
3
+ * UpdateAgentCallLegOnOutboundDialAction Action DTO
4
+ *
5
+ * Update agent call leg on outbound dial action
6
+ *
7
+ * @module NotificationModule
8
+ * @entity CallLeg
9
+ * @actionKey UpdateAgentCallLegOnOutboundDialAction
10
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundDialAction
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.UpdateAgentCallLegOnOutboundDialActionDto = void 0;
16
+ const core_1 = require("@d19n/odin-types/dist/core");
17
+ /**
18
+ * UpdateAgentCallLegOnOutboundDialAction
19
+ *
20
+ * Update agent call leg on outbound dial action
21
+ *
22
+ * @actionType UPDATE - Updates an existing CallLeg record
23
+ * @module NotificationModule
24
+ * @entity CallLeg
25
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundDialAction
26
+ * @permission schema.action.updateagentcalllegonoutbounddialaction.trigger
27
+ * @benchmark This action is tracked for performance benchmarks
28
+ */
29
+ class UpdateAgentCallLegOnOutboundDialActionDto 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 = 'UpdateAgentCallLegOnOutboundDialAction';
40
+ this.schemaActionId = '9a61b64a-0314-4a53-9140-e7690cdebf14';
41
+ this.entity = 'NotificationModule:CallLeg';
42
+ }
43
+ }
44
+ exports.UpdateAgentCallLegOnOutboundDialActionDto = UpdateAgentCallLegOnOutboundDialActionDto;
45
+ /** Used by SDK generators to identify action type */
46
+ UpdateAgentCallLegOnOutboundDialActionDto.ACTION_TYPE = 'UPDATE';
47
+ UpdateAgentCallLegOnOutboundDialActionDto.ACTION_KEY = 'UpdateAgentCallLegOnOutboundDialAction';
48
+ UpdateAgentCallLegOnOutboundDialActionDto.MODULE_NAME = 'NotificationModule';
49
+ UpdateAgentCallLegOnOutboundDialActionDto.ENTITIES = ['CallLeg'];
50
+ UpdateAgentCallLegOnOutboundDialActionDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundDialAction';
51
+ UpdateAgentCallLegOnOutboundDialActionDto.PERMISSION = 'schema.action.updateagentcalllegonoutbounddialaction.trigger';
52
+ /** Step metadata - entity this action targets */
53
+ UpdateAgentCallLegOnOutboundDialActionDto.STEP_ENTITY = 'NotificationModule:CallLeg';
54
+ UpdateAgentCallLegOnOutboundDialActionDto.STEP_SCHEMA_ID = '75c59745-35fb-44b9-b3f2-7563101fdcec';
55
+ UpdateAgentCallLegOnOutboundDialActionDto.STEP_SCHEMA_ACTION_ID = '9a61b64a-0314-4a53-9140-e7690cdebf14';
56
+ UpdateAgentCallLegOnOutboundDialActionDto.AUTO_LINK_PARENT = false;
@@ -1,30 +1,38 @@
1
1
  /**
2
- * UpdateCallOnNumberCallStatusCompleted Action DTO
2
+ * UpdateCallOnNumberCallStatus Action DTO
3
3
  *
4
- * Update call on number call status completed
4
+ * Update call on number call status
5
5
  *
6
6
  * @module NotificationModule
7
7
  * @entity Call
8
- * @actionKey UpdateCallOnNumberCallStatusCompleted
9
- * @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnNumberCallStatusCompleted
8
+ * @actionKey UpdateCallOnNumberCallStatus
9
+ * @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnNumberCallStatus
10
10
  *
11
11
  * AUTO-GENERATED - DO NOT EDIT DIRECTLY
12
12
  */
13
13
  import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
14
14
  /**
15
- * RabbitMQ message payload for UpdateCallOnNumberCallStatusCompleted updated events
15
+ * RabbitMQ message payload for UpdateCallOnNumberCallStatus updated events
16
16
  *
17
- * @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnNumberCallStatusCompleted
17
+ * @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnNumberCallStatus
18
18
  */
19
- export interface UpdateCallOnNumberCallStatusCompletedMessage extends OdinRecordUpdatedEvent<UpdateCallOnNumberCallStatusCompletedDto, UpdateCallOnNumberCallStatusCompletedProperties> {
19
+ export interface UpdateCallOnNumberCallStatusMessage extends OdinRecordUpdatedEvent<UpdateCallOnNumberCallStatusDto, UpdateCallOnNumberCallStatusProperties> {
20
20
  }
21
21
  /**
22
- * Properties for UpdateCallOnNumberCallStatusCompleted action
22
+ * Properties for UpdateCallOnNumberCallStatus action
23
23
  *
24
- * @property Required fields: 4
24
+ * @property Required fields: 3
25
25
  * @property Optional fields: 0
26
26
  */
27
- export interface UpdateCallOnNumberCallStatusCompletedProperties {
27
+ export interface UpdateCallOnNumberCallStatusProperties {
28
+ /**
29
+ * Call stage
30
+ *
31
+ * The granular stage of a call, more extensive than CallStatus (Communications - Call)
32
+ * @type {ENUM}
33
+ * @required
34
+ */
35
+ CallStage: string;
28
36
  /**
29
37
  * CallEndReason
30
38
  *
@@ -41,47 +49,31 @@ export interface UpdateCallOnNumberCallStatusCompletedProperties {
41
49
  * @required
42
50
  */
43
51
  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
- * missed call reason
54
- *
55
- * reason for the call being missed (Communications - Call)
56
- * @type {TEXT}
57
- * @required
58
- */
59
- MissedCallReason: string;
60
52
  }
61
53
  /**
62
- * UpdateCallOnNumberCallStatusCompleted
54
+ * UpdateCallOnNumberCallStatus
63
55
  *
64
- * Update call on number call status completed
56
+ * Update call on number call status
65
57
  *
66
58
  * @actionType UPDATE - Updates an existing Call record
67
59
  * @module NotificationModule
68
60
  * @entity Call
69
- * @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnNumberCallStatusCompleted
70
- * @permission schema.action.updatecallonnumbercallstatuscompleted.trigger
61
+ * @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnNumberCallStatus
62
+ * @permission schema.action.updatecallonnumbercallstatus.trigger
71
63
  * @benchmark This action is tracked for performance benchmarks
72
64
  */
73
- export declare class UpdateCallOnNumberCallStatusCompletedDto extends OdinRecordUpdateDto<UpdateCallOnNumberCallStatusCompletedProperties> {
65
+ export declare class UpdateCallOnNumberCallStatusDto extends OdinRecordUpdateDto<UpdateCallOnNumberCallStatusProperties> {
74
66
  /** Used by SDK generators to identify action type */
75
67
  static readonly ACTION_TYPE = "UPDATE";
76
- static readonly ACTION_KEY = "UpdateCallOnNumberCallStatusCompleted";
68
+ static readonly ACTION_KEY = "UpdateCallOnNumberCallStatus";
77
69
  static readonly MODULE_NAME = "NotificationModule";
78
70
  static readonly ENTITIES: string[];
79
- static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnNumberCallStatusCompleted";
80
- static readonly PERMISSION = "schema.action.updatecallonnumbercallstatuscompleted.trigger";
71
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnNumberCallStatus";
72
+ static readonly PERMISSION = "schema.action.updatecallonnumbercallstatus.trigger";
81
73
  /** Step metadata - entity this action targets */
82
74
  static readonly STEP_ENTITY = "NotificationModule:Call";
83
75
  static readonly STEP_SCHEMA_ID = "e157f15c-6846-4bfb-bc92-aed4c4084e9f";
84
- static readonly STEP_SCHEMA_ACTION_ID = "16180a1f-2391-487e-8bc6-d6a212ac14e1";
76
+ static readonly STEP_SCHEMA_ACTION_ID = "402bb66e-ad93-48bb-868c-7340659fca38";
85
77
  static readonly AUTO_LINK_PARENT = false;
86
78
  readonly actionName: string;
87
79
  readonly schemaActionId: string;
@@ -90,7 +82,7 @@ export declare class UpdateCallOnNumberCallStatusCompletedDto extends OdinRecord
90
82
  id: string;
91
83
  entity: string;
92
84
  type?: string;
93
- }, properties: UpdateCallOnNumberCallStatusCompletedProperties, options?: {
85
+ }, properties: UpdateCallOnNumberCallStatusProperties, options?: {
94
86
  journeyId?: string;
95
87
  stageKey?: string;
96
88
  });
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /**
3
+ * UpdateCallOnNumberCallStatus Action DTO
4
+ *
5
+ * Update call on number call status
6
+ *
7
+ * @module NotificationModule
8
+ * @entity Call
9
+ * @actionKey UpdateCallOnNumberCallStatus
10
+ * @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnNumberCallStatus
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.UpdateCallOnNumberCallStatusDto = void 0;
16
+ const core_1 = require("@d19n/odin-types/dist/core");
17
+ /**
18
+ * UpdateCallOnNumberCallStatus
19
+ *
20
+ * Update call on number call status
21
+ *
22
+ * @actionType UPDATE - Updates an existing Call record
23
+ * @module NotificationModule
24
+ * @entity Call
25
+ * @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnNumberCallStatus
26
+ * @permission schema.action.updatecallonnumbercallstatus.trigger
27
+ * @benchmark This action is tracked for performance benchmarks
28
+ */
29
+ class UpdateCallOnNumberCallStatusDto 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 = 'UpdateCallOnNumberCallStatus';
40
+ this.schemaActionId = '402bb66e-ad93-48bb-868c-7340659fca38';
41
+ this.entity = 'NotificationModule:Call';
42
+ }
43
+ }
44
+ exports.UpdateCallOnNumberCallStatusDto = UpdateCallOnNumberCallStatusDto;
45
+ /** Used by SDK generators to identify action type */
46
+ UpdateCallOnNumberCallStatusDto.ACTION_TYPE = 'UPDATE';
47
+ UpdateCallOnNumberCallStatusDto.ACTION_KEY = 'UpdateCallOnNumberCallStatus';
48
+ UpdateCallOnNumberCallStatusDto.MODULE_NAME = 'NotificationModule';
49
+ UpdateCallOnNumberCallStatusDto.ENTITIES = ['Call'];
50
+ UpdateCallOnNumberCallStatusDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnNumberCallStatus';
51
+ UpdateCallOnNumberCallStatusDto.PERMISSION = 'schema.action.updatecallonnumbercallstatus.trigger';
52
+ /** Step metadata - entity this action targets */
53
+ UpdateCallOnNumberCallStatusDto.STEP_ENTITY = 'NotificationModule:Call';
54
+ UpdateCallOnNumberCallStatusDto.STEP_SCHEMA_ID = 'e157f15c-6846-4bfb-bc92-aed4c4084e9f';
55
+ UpdateCallOnNumberCallStatusDto.STEP_SCHEMA_ACTION_ID = '402bb66e-ad93-48bb-868c-7340659fca38';
56
+ UpdateCallOnNumberCallStatusDto.AUTO_LINK_PARENT = false;
@@ -0,0 +1,89 @@
1
+ /**
2
+ * UpdateCallOnOutboundDialAction Action DTO
3
+ *
4
+ * Update call on outbound dial action
5
+ *
6
+ * @module NotificationModule
7
+ * @entity Call
8
+ * @actionKey UpdateCallOnOutboundDialAction
9
+ * @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundDialAction
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 UpdateCallOnOutboundDialAction updated events
16
+ *
17
+ * @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundDialAction
18
+ */
19
+ export interface UpdateCallOnOutboundDialActionMessage extends OdinRecordUpdatedEvent<UpdateCallOnOutboundDialActionDto, UpdateCallOnOutboundDialActionProperties> {
20
+ }
21
+ /**
22
+ * Properties for UpdateCallOnOutboundDialAction action
23
+ *
24
+ * @property Required fields: 3
25
+ * @property Optional fields: 0
26
+ */
27
+ export interface UpdateCallOnOutboundDialActionProperties {
28
+ /**
29
+ * call status
30
+ *
31
+ * the status of the call (Communications - Call)
32
+ * @type {TEXT}
33
+ * @required
34
+ */
35
+ CallStatus: string;
36
+ /**
37
+ * Call stage
38
+ *
39
+ * The granular stage of a call, more extensive than CallStatus (Communications - Call)
40
+ * @type {ENUM}
41
+ * @required
42
+ */
43
+ CallStage: string;
44
+ /**
45
+ * CallEndReason
46
+ *
47
+ * CallEndReason
48
+ * @type {ENUM}
49
+ * @required
50
+ */
51
+ CallEndReason: string;
52
+ }
53
+ /**
54
+ * UpdateCallOnOutboundDialAction
55
+ *
56
+ * Update call on outbound dial action
57
+ *
58
+ * @actionType UPDATE - Updates an existing Call record
59
+ * @module NotificationModule
60
+ * @entity Call
61
+ * @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundDialAction
62
+ * @permission schema.action.updatecallonoutbounddialaction.trigger
63
+ * @benchmark This action is tracked for performance benchmarks
64
+ */
65
+ export declare class UpdateCallOnOutboundDialActionDto extends OdinRecordUpdateDto<UpdateCallOnOutboundDialActionProperties> {
66
+ /** Used by SDK generators to identify action type */
67
+ static readonly ACTION_TYPE = "UPDATE";
68
+ static readonly ACTION_KEY = "UpdateCallOnOutboundDialAction";
69
+ static readonly MODULE_NAME = "NotificationModule";
70
+ static readonly ENTITIES: string[];
71
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundDialAction";
72
+ static readonly PERMISSION = "schema.action.updatecallonoutbounddialaction.trigger";
73
+ /** Step metadata - entity this action targets */
74
+ static readonly STEP_ENTITY = "NotificationModule:Call";
75
+ static readonly STEP_SCHEMA_ID = "e157f15c-6846-4bfb-bc92-aed4c4084e9f";
76
+ static readonly STEP_SCHEMA_ACTION_ID = "e9bf9ba6-7613-4e4b-8a39-00d2f25f81e8";
77
+ static readonly AUTO_LINK_PARENT = false;
78
+ readonly actionName: string;
79
+ readonly schemaActionId: string;
80
+ readonly entity: string;
81
+ constructor(record: OdinRecord<any> | {
82
+ id: string;
83
+ entity: string;
84
+ type?: string;
85
+ }, properties: UpdateCallOnOutboundDialActionProperties, options?: {
86
+ journeyId?: string;
87
+ stageKey?: string;
88
+ });
89
+ }
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /**
3
+ * UpdateCallOnOutboundDialAction Action DTO
4
+ *
5
+ * Update call on outbound dial action
6
+ *
7
+ * @module NotificationModule
8
+ * @entity Call
9
+ * @actionKey UpdateCallOnOutboundDialAction
10
+ * @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundDialAction
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.UpdateCallOnOutboundDialActionDto = void 0;
16
+ const core_1 = require("@d19n/odin-types/dist/core");
17
+ /**
18
+ * UpdateCallOnOutboundDialAction
19
+ *
20
+ * Update call on outbound dial action
21
+ *
22
+ * @actionType UPDATE - Updates an existing Call record
23
+ * @module NotificationModule
24
+ * @entity Call
25
+ * @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundDialAction
26
+ * @permission schema.action.updatecallonoutbounddialaction.trigger
27
+ * @benchmark This action is tracked for performance benchmarks
28
+ */
29
+ class UpdateCallOnOutboundDialActionDto 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 = 'UpdateCallOnOutboundDialAction';
40
+ this.schemaActionId = 'e9bf9ba6-7613-4e4b-8a39-00d2f25f81e8';
41
+ this.entity = 'NotificationModule:Call';
42
+ }
43
+ }
44
+ exports.UpdateCallOnOutboundDialActionDto = UpdateCallOnOutboundDialActionDto;
45
+ /** Used by SDK generators to identify action type */
46
+ UpdateCallOnOutboundDialActionDto.ACTION_TYPE = 'UPDATE';
47
+ UpdateCallOnOutboundDialActionDto.ACTION_KEY = 'UpdateCallOnOutboundDialAction';
48
+ UpdateCallOnOutboundDialActionDto.MODULE_NAME = 'NotificationModule';
49
+ UpdateCallOnOutboundDialActionDto.ENTITIES = ['Call'];
50
+ UpdateCallOnOutboundDialActionDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundDialAction';
51
+ UpdateCallOnOutboundDialActionDto.PERMISSION = 'schema.action.updatecallonoutbounddialaction.trigger';
52
+ /** Step metadata - entity this action targets */
53
+ UpdateCallOnOutboundDialActionDto.STEP_ENTITY = 'NotificationModule:Call';
54
+ UpdateCallOnOutboundDialActionDto.STEP_SCHEMA_ID = 'e157f15c-6846-4bfb-bc92-aed4c4084e9f';
55
+ UpdateCallOnOutboundDialActionDto.STEP_SCHEMA_ACTION_ID = 'e9bf9ba6-7613-4e4b-8a39-00d2f25f81e8';
56
+ UpdateCallOnOutboundDialActionDto.AUTO_LINK_PARENT = false;
@@ -1,30 +1,30 @@
1
1
  /**
2
- * UpdateCustomerCallLegOnNumberCallStatusCompleted Action DTO
2
+ * UpdateCustomerCallLegOnNumberCallStatus Action DTO
3
3
  *
4
- * Update customer call leg on number call status completed
4
+ * Update customer call leg on number call status
5
5
  *
6
6
  * @module NotificationModule
7
7
  * @entity CallLeg
8
- * @actionKey UpdateCustomerCallLegOnNumberCallStatusCompleted
9
- * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnNumberCallStatusCompleted
8
+ * @actionKey UpdateCustomerCallLegOnNumberCallStatus
9
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnNumberCallStatus
10
10
  *
11
11
  * AUTO-GENERATED - DO NOT EDIT DIRECTLY
12
12
  */
13
13
  import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
14
14
  /**
15
- * RabbitMQ message payload for UpdateCustomerCallLegOnNumberCallStatusCompleted updated events
15
+ * RabbitMQ message payload for UpdateCustomerCallLegOnNumberCallStatus updated events
16
16
  *
17
- * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnNumberCallStatusCompleted
17
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnNumberCallStatus
18
18
  */
19
- export interface UpdateCustomerCallLegOnNumberCallStatusCompletedMessage extends OdinRecordUpdatedEvent<UpdateCustomerCallLegOnNumberCallStatusCompletedDto, UpdateCustomerCallLegOnNumberCallStatusCompletedProperties> {
19
+ export interface UpdateCustomerCallLegOnNumberCallStatusMessage extends OdinRecordUpdatedEvent<UpdateCustomerCallLegOnNumberCallStatusDto, UpdateCustomerCallLegOnNumberCallStatusProperties> {
20
20
  }
21
21
  /**
22
- * Properties for UpdateCustomerCallLegOnNumberCallStatusCompleted action
22
+ * Properties for UpdateCustomerCallLegOnNumberCallStatus action
23
23
  *
24
- * @property Required fields: 3
25
- * @property Optional fields: 0
24
+ * @property Required fields: 2
25
+ * @property Optional fields: 1
26
26
  */
27
- export interface UpdateCustomerCallLegOnNumberCallStatusCompletedProperties {
27
+ export interface UpdateCustomerCallLegOnNumberCallStatusProperties {
28
28
  /**
29
29
  * EndedAt
30
30
  *
@@ -33,14 +33,6 @@ export interface UpdateCustomerCallLegOnNumberCallStatusCompletedProperties {
33
33
  * @required
34
34
  */
35
35
  EndedAt: string;
36
- /**
37
- * Duration
38
- *
39
- * Duration of THIS leg only in seconds (Communications - CallLeg)
40
- * @type {NUMBER}
41
- * @required
42
- */
43
- Duration: number;
44
36
  /**
45
37
  * Status
46
38
  *
@@ -49,31 +41,38 @@ export interface UpdateCustomerCallLegOnNumberCallStatusCompletedProperties {
49
41
  * @required
50
42
  */
51
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;
52
51
  }
53
52
  /**
54
- * UpdateCustomerCallLegOnNumberCallStatusCompleted
53
+ * UpdateCustomerCallLegOnNumberCallStatus
55
54
  *
56
- * Update customer call leg on number call status completed
55
+ * Update customer call leg on number call status
57
56
  *
58
57
  * @actionType UPDATE - Updates an existing CallLeg record
59
58
  * @module NotificationModule
60
59
  * @entity CallLeg
61
- * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnNumberCallStatusCompleted
62
- * @permission schema.action.updatecustomercalllegonnumbercallstatuscompleted.trigger
60
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnNumberCallStatus
61
+ * @permission schema.action.updatecustomercalllegonnumbercallstatus.trigger
63
62
  * @benchmark This action is tracked for performance benchmarks
64
63
  */
65
- export declare class UpdateCustomerCallLegOnNumberCallStatusCompletedDto extends OdinRecordUpdateDto<UpdateCustomerCallLegOnNumberCallStatusCompletedProperties> {
64
+ export declare class UpdateCustomerCallLegOnNumberCallStatusDto extends OdinRecordUpdateDto<UpdateCustomerCallLegOnNumberCallStatusProperties> {
66
65
  /** Used by SDK generators to identify action type */
67
66
  static readonly ACTION_TYPE = "UPDATE";
68
- static readonly ACTION_KEY = "UpdateCustomerCallLegOnNumberCallStatusCompleted";
67
+ static readonly ACTION_KEY = "UpdateCustomerCallLegOnNumberCallStatus";
69
68
  static readonly MODULE_NAME = "NotificationModule";
70
69
  static readonly ENTITIES: string[];
71
- static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnNumberCallStatusCompleted";
72
- static readonly PERMISSION = "schema.action.updatecustomercalllegonnumbercallstatuscompleted.trigger";
70
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnNumberCallStatus";
71
+ static readonly PERMISSION = "schema.action.updatecustomercalllegonnumbercallstatus.trigger";
73
72
  /** Step metadata - entity this action targets */
74
73
  static readonly STEP_ENTITY = "NotificationModule:CallLeg";
75
74
  static readonly STEP_SCHEMA_ID = "75c59745-35fb-44b9-b3f2-7563101fdcec";
76
- static readonly STEP_SCHEMA_ACTION_ID = "b6ce9396-ddd2-45ec-ae82-0e8e65b673ef";
75
+ static readonly STEP_SCHEMA_ACTION_ID = "7109ef7e-31e9-488c-a7f5-18427c7003d2";
77
76
  static readonly AUTO_LINK_PARENT = false;
78
77
  readonly actionName: string;
79
78
  readonly schemaActionId: string;
@@ -82,7 +81,7 @@ export declare class UpdateCustomerCallLegOnNumberCallStatusCompletedDto extends
82
81
  id: string;
83
82
  entity: string;
84
83
  type?: string;
85
- }, properties: UpdateCustomerCallLegOnNumberCallStatusCompletedProperties, options?: {
84
+ }, properties: UpdateCustomerCallLegOnNumberCallStatusProperties, options?: {
86
85
  journeyId?: string;
87
86
  stageKey?: string;
88
87
  });