@d19n/youfibre-odin-sdk 2.0.139 → 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 CHANGED
@@ -353,7 +353,7 @@ This SDK includes **165** entities across **12** modules.
353
353
 
354
354
  ## Actions
355
355
 
356
- This SDK includes **682** actions.
356
+ This SDK includes **683** actions.
357
357
 
358
358
  ### Action Types
359
359
 
@@ -1203,13 +1203,13 @@ This SDK includes **682** 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
1206
  | `UpdateAgentCallLegOnOutboundCallRinging` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallRinging |
1207
+ | `UpdateAgentCallLegOnOutboundDialAction` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundDialAction |
1208
1208
  | `UpdateCall` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCall |
1209
1209
  | `UpdateCustomerCallLegOnIncomingCallAnswered` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallAnswered |
1210
1210
  | `UpdateCustomerCallLegOnIncomingCallCompleted` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallCompleted |
1211
1211
  | `UpdateCustomerCallLegOnIncomingCallRinging` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallRinging |
1212
- | `UpdateCustomerCallLegOnNumberCallStatusCompleted` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnNumberCallStatusCompleted |
1212
+ | `UpdateCustomerCallLegOnNumberCallStatus` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnNumberCallStatus |
1213
1213
  | `UpdateCustomerCallLegOnOutboundCallAnswered` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnOutboundCallAnswered |
1214
1214
  | `UpdateCustomerCallLegOnOutboundCallCompleted` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnOutboundCallCompleted |
1215
1215
  | `UpdateCustomerCallLegOnOutboundCallFailed` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnOutboundCallFailed |
@@ -1282,11 +1282,12 @@ This SDK includes **682** actions.
1282
1282
  | `UpdateCallOnInboundCallInitiated` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnInboundCallInitiated |
1283
1283
  | `UpdateCallOnInboundCallNoAnswer` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnInboundCallNoAnswer |
1284
1284
  | `UpdateCallOnInboundCallRinging` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnInboundCallRinging |
1285
- | `UpdateCallOnNumberCallStatusCompleted` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnNumberCallStatusCompleted |
1285
+ | `UpdateCallOnNumberCallStatus` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnNumberCallStatus |
1286
1286
  | `UpdateCallOnOutboundCallAnswered` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundCallAnswered |
1287
1287
  | `UpdateCallOnOutboundCallCompleted` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundCallCompleted |
1288
1288
  | `UpdateCallOnOutboundCallFailed` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundCallFailed |
1289
1289
  | `UpdateCallOnOutboundCallNoAnswer` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundCallNoAnswer |
1290
+ | `UpdateCallOnOutboundDialAction` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundDialAction |
1290
1291
  | `UpdateCallOnTaskRouterAssign` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnTaskRouterAssign |
1291
1292
  | `UpdateCallTranscriptionUrl` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallTranscriptionUrl |
1292
1293
 
@@ -1,30 +1,30 @@
1
1
  /**
2
- * UpdateAgentCallLegOnOutboundCallCompleted Action DTO
2
+ * UpdateAgentCallLegOnOutboundDialAction Action DTO
3
3
  *
4
- * Update agent call leg on outbound call completed
4
+ * Update agent call leg on outbound dial action
5
5
  *
6
6
  * @module NotificationModule
7
7
  * @entity CallLeg
8
- * @actionKey UpdateAgentCallLegOnOutboundCallCompleted
9
- * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallCompleted
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 UpdateAgentCallLegOnOutboundCallCompleted updated events
15
+ * RabbitMQ message payload for UpdateAgentCallLegOnOutboundDialAction updated events
16
16
  *
17
- * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallCompleted
17
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundDialAction
18
18
  */
19
- export interface UpdateAgentCallLegOnOutboundCallCompletedMessage extends OdinRecordUpdatedEvent<UpdateAgentCallLegOnOutboundCallCompletedDto, UpdateAgentCallLegOnOutboundCallCompletedProperties> {
19
+ export interface UpdateAgentCallLegOnOutboundDialActionMessage extends OdinRecordUpdatedEvent<UpdateAgentCallLegOnOutboundDialActionDto, UpdateAgentCallLegOnOutboundDialActionProperties> {
20
20
  }
21
21
  /**
22
- * Properties for UpdateAgentCallLegOnOutboundCallCompleted 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 UpdateAgentCallLegOnOutboundCallCompletedProperties {
27
+ export interface UpdateAgentCallLegOnOutboundDialActionProperties {
28
28
  /**
29
29
  * EndedAt
30
30
  *
@@ -50,29 +50,29 @@ export interface UpdateAgentCallLegOnOutboundCallCompletedProperties {
50
50
  Duration?: number | null;
51
51
  }
52
52
  /**
53
- * UpdateAgentCallLegOnOutboundCallCompleted
53
+ * UpdateAgentCallLegOnOutboundDialAction
54
54
  *
55
- * Update agent call leg on outbound call completed
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.UpdateAgentCallLegOnOutboundCallCompleted
61
- * @permission schema.action.updateagentcalllegonoutboundcallcompleted.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 UpdateAgentCallLegOnOutboundCallCompletedDto extends OdinRecordUpdateDto<UpdateAgentCallLegOnOutboundCallCompletedProperties> {
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 = "UpdateAgentCallLegOnOutboundCallCompleted";
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.UpdateAgentCallLegOnOutboundCallCompleted";
71
- static readonly PERMISSION = "schema.action.updateagentcalllegonoutboundcallcompleted.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 = "231be3cd-1ed9-40eb-937a-8cd1d7c0b983";
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 UpdateAgentCallLegOnOutboundCallCompletedDto extends OdinRe
81
81
  id: string;
82
82
  entity: string;
83
83
  type?: string;
84
- }, properties: UpdateAgentCallLegOnOutboundCallCompletedProperties, 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
  });
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /**
3
+ * UpdateCustomerCallLegOnNumberCallStatus Action DTO
4
+ *
5
+ * Update customer call leg on number call status
6
+ *
7
+ * @module NotificationModule
8
+ * @entity CallLeg
9
+ * @actionKey UpdateCustomerCallLegOnNumberCallStatus
10
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnNumberCallStatus
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.UpdateCustomerCallLegOnNumberCallStatusDto = void 0;
16
+ const core_1 = require("@d19n/odin-types/dist/core");
17
+ /**
18
+ * UpdateCustomerCallLegOnNumberCallStatus
19
+ *
20
+ * Update customer call leg on number call status
21
+ *
22
+ * @actionType UPDATE - Updates an existing CallLeg record
23
+ * @module NotificationModule
24
+ * @entity CallLeg
25
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnNumberCallStatus
26
+ * @permission schema.action.updatecustomercalllegonnumbercallstatus.trigger
27
+ * @benchmark This action is tracked for performance benchmarks
28
+ */
29
+ class UpdateCustomerCallLegOnNumberCallStatusDto 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 = 'UpdateCustomerCallLegOnNumberCallStatus';
40
+ this.schemaActionId = '7109ef7e-31e9-488c-a7f5-18427c7003d2';
41
+ this.entity = 'NotificationModule:CallLeg';
42
+ }
43
+ }
44
+ exports.UpdateCustomerCallLegOnNumberCallStatusDto = UpdateCustomerCallLegOnNumberCallStatusDto;
45
+ /** Used by SDK generators to identify action type */
46
+ UpdateCustomerCallLegOnNumberCallStatusDto.ACTION_TYPE = 'UPDATE';
47
+ UpdateCustomerCallLegOnNumberCallStatusDto.ACTION_KEY = 'UpdateCustomerCallLegOnNumberCallStatus';
48
+ UpdateCustomerCallLegOnNumberCallStatusDto.MODULE_NAME = 'NotificationModule';
49
+ UpdateCustomerCallLegOnNumberCallStatusDto.ENTITIES = ['CallLeg'];
50
+ UpdateCustomerCallLegOnNumberCallStatusDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnNumberCallStatus';
51
+ UpdateCustomerCallLegOnNumberCallStatusDto.PERMISSION = 'schema.action.updatecustomercalllegonnumbercallstatus.trigger';
52
+ /** Step metadata - entity this action targets */
53
+ UpdateCustomerCallLegOnNumberCallStatusDto.STEP_ENTITY = 'NotificationModule:CallLeg';
54
+ UpdateCustomerCallLegOnNumberCallStatusDto.STEP_SCHEMA_ID = '75c59745-35fb-44b9-b3f2-7563101fdcec';
55
+ UpdateCustomerCallLegOnNumberCallStatusDto.STEP_SCHEMA_ACTION_ID = '7109ef7e-31e9-488c-a7f5-18427c7003d2';
56
+ UpdateCustomerCallLegOnNumberCallStatusDto.AUTO_LINK_PARENT = false;
@@ -32,13 +32,13 @@ import { UpdateAgentCallLegOnIncomingCallFailedProperties } from '../actions-v2/
32
32
  import { UpdateAgentCallLegOnIncomingCallNoAnswerProperties } from '../actions-v2/UpdateAgentCallLegOnIncomingCallNoAnswerDto';
33
33
  import { UpdateAgentCallLegOnIncomingCallRingingProperties } from '../actions-v2/UpdateAgentCallLegOnIncomingCallRingingDto';
34
34
  import { UpdateAgentCallLegOnOutboundCallAnsweredProperties } from '../actions-v2/UpdateAgentCallLegOnOutboundCallAnsweredDto';
35
- import { UpdateAgentCallLegOnOutboundCallCompletedProperties } from '../actions-v2/UpdateAgentCallLegOnOutboundCallCompletedDto';
36
35
  import { UpdateAgentCallLegOnOutboundCallRingingProperties } from '../actions-v2/UpdateAgentCallLegOnOutboundCallRingingDto';
36
+ import { UpdateAgentCallLegOnOutboundDialActionProperties } from '../actions-v2/UpdateAgentCallLegOnOutboundDialActionDto';
37
37
  import { UpdateCallProperties } from '../actions-v2/UpdateCallDto';
38
38
  import { UpdateCustomerCallLegOnIncomingCallAnsweredProperties } from '../actions-v2/UpdateCustomerCallLegOnIncomingCallAnsweredDto';
39
39
  import { UpdateCustomerCallLegOnIncomingCallCompletedProperties } from '../actions-v2/UpdateCustomerCallLegOnIncomingCallCompletedDto';
40
40
  import { UpdateCustomerCallLegOnIncomingCallRingingProperties } from '../actions-v2/UpdateCustomerCallLegOnIncomingCallRingingDto';
41
- import { UpdateCustomerCallLegOnNumberCallStatusCompletedProperties } from '../actions-v2/UpdateCustomerCallLegOnNumberCallStatusCompletedDto';
41
+ import { UpdateCustomerCallLegOnNumberCallStatusProperties } from '../actions-v2/UpdateCustomerCallLegOnNumberCallStatusDto';
42
42
  import { UpdateCustomerCallLegOnOutboundCallAnsweredProperties } from '../actions-v2/UpdateCustomerCallLegOnOutboundCallAnsweredDto';
43
43
  import { UpdateCustomerCallLegOnOutboundCallCompletedProperties } from '../actions-v2/UpdateCustomerCallLegOnOutboundCallCompletedDto';
44
44
  import { UpdateCustomerCallLegOnOutboundCallFailedProperties } from '../actions-v2/UpdateCustomerCallLegOnOutboundCallFailedDto';
@@ -470,7 +470,7 @@ export declare class CallLegRecord<TProps = CallLegProperties> {
470
470
  stageKey?: string;
471
471
  }): ActionBuilder;
472
472
  /**
473
- * UpdateAgentCallLegOnOutboundCallCompleted
473
+ * UpdateAgentCallLegOnOutboundCallRinging
474
474
  *
475
475
  * Updates this CallLeg record with the specified properties.
476
476
  * Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
@@ -485,18 +485,18 @@ export declare class CallLegRecord<TProps = CallLegProperties> {
485
485
  * @example
486
486
  * ```typescript
487
487
  * const record = await odinClient.callLegs.get(id);
488
- * await record.updateAgentCallLegOnOutboundCallCompleted({ ... }).execute();
488
+ * await record.updateAgentCallLegOnOutboundCallRinging({ ... }).execute();
489
489
  *
490
490
  * // Dry run (for debugging)
491
- * const payload = record.updateAgentCallLegOnOutboundCallCompleted({ ... }).dryRun();
491
+ * const payload = record.updateAgentCallLegOnOutboundCallRinging({ ... }).dryRun();
492
492
  * ```
493
493
  */
494
- updateAgentCallLegOnOutboundCallCompleted(properties: UpdateAgentCallLegOnOutboundCallCompletedProperties, options?: {
494
+ updateAgentCallLegOnOutboundCallRinging(properties: UpdateAgentCallLegOnOutboundCallRingingProperties, options?: {
495
495
  journeyId?: string;
496
496
  stageKey?: string;
497
497
  }): ActionBuilder;
498
498
  /**
499
- * UpdateAgentCallLegOnOutboundCallRinging
499
+ * UpdateAgentCallLegOnOutboundDialAction
500
500
  *
501
501
  * Updates this CallLeg record with the specified properties.
502
502
  * Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
@@ -511,13 +511,13 @@ export declare class CallLegRecord<TProps = CallLegProperties> {
511
511
  * @example
512
512
  * ```typescript
513
513
  * const record = await odinClient.callLegs.get(id);
514
- * await record.updateAgentCallLegOnOutboundCallRinging({ ... }).execute();
514
+ * await record.updateAgentCallLegOnOutboundDialAction({ ... }).execute();
515
515
  *
516
516
  * // Dry run (for debugging)
517
- * const payload = record.updateAgentCallLegOnOutboundCallRinging({ ... }).dryRun();
517
+ * const payload = record.updateAgentCallLegOnOutboundDialAction({ ... }).dryRun();
518
518
  * ```
519
519
  */
520
- updateAgentCallLegOnOutboundCallRinging(properties: UpdateAgentCallLegOnOutboundCallRingingProperties, options?: {
520
+ updateAgentCallLegOnOutboundDialAction(properties: UpdateAgentCallLegOnOutboundDialActionProperties, options?: {
521
521
  journeyId?: string;
522
522
  stageKey?: string;
523
523
  }): ActionBuilder;
@@ -627,7 +627,7 @@ export declare class CallLegRecord<TProps = CallLegProperties> {
627
627
  stageKey?: string;
628
628
  }): ActionBuilder;
629
629
  /**
630
- * UpdateCustomerCallLegOnNumberCallStatusCompleted
630
+ * UpdateCustomerCallLegOnNumberCallStatus
631
631
  *
632
632
  * Updates this CallLeg record with the specified properties.
633
633
  * Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
@@ -642,13 +642,13 @@ export declare class CallLegRecord<TProps = CallLegProperties> {
642
642
  * @example
643
643
  * ```typescript
644
644
  * const record = await odinClient.callLegs.get(id);
645
- * await record.updateCustomerCallLegOnNumberCallStatusCompleted({ ... }).execute();
645
+ * await record.updateCustomerCallLegOnNumberCallStatus({ ... }).execute();
646
646
  *
647
647
  * // Dry run (for debugging)
648
- * const payload = record.updateCustomerCallLegOnNumberCallStatusCompleted({ ... }).dryRun();
648
+ * const payload = record.updateCustomerCallLegOnNumberCallStatus({ ... }).dryRun();
649
649
  * ```
650
650
  */
651
- updateCustomerCallLegOnNumberCallStatusCompleted(properties: UpdateCustomerCallLegOnNumberCallStatusCompletedProperties, options?: {
651
+ updateCustomerCallLegOnNumberCallStatus(properties: UpdateCustomerCallLegOnNumberCallStatusProperties, options?: {
652
652
  journeyId?: string;
653
653
  stageKey?: string;
654
654
  }): ActionBuilder;
@@ -571,7 +571,7 @@ class CallLegRecord {
571
571
  return new ActionBuilder(this._provider, 'NotificationModule', 'CallLeg', payload, () => { this._pendingLinks = []; });
572
572
  }
573
573
  /**
574
- * UpdateAgentCallLegOnOutboundCallCompleted
574
+ * UpdateAgentCallLegOnOutboundCallRinging
575
575
  *
576
576
  * Updates this CallLeg record with the specified properties.
577
577
  * Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
@@ -586,21 +586,21 @@ class CallLegRecord {
586
586
  * @example
587
587
  * ```typescript
588
588
  * const record = await odinClient.callLegs.get(id);
589
- * await record.updateAgentCallLegOnOutboundCallCompleted({ ... }).execute();
589
+ * await record.updateAgentCallLegOnOutboundCallRinging({ ... }).execute();
590
590
  *
591
591
  * // Dry run (for debugging)
592
- * const payload = record.updateAgentCallLegOnOutboundCallCompleted({ ... }).dryRun();
592
+ * const payload = record.updateAgentCallLegOnOutboundCallRinging({ ... }).dryRun();
593
593
  * ```
594
594
  */
595
- updateAgentCallLegOnOutboundCallCompleted(properties, options) {
595
+ updateAgentCallLegOnOutboundCallRinging(properties, options) {
596
596
  var _a;
597
597
  if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
598
- throw new Error('updateAgentCallLegOnOutboundCallCompleted requires an existing record. Use accessor.get() first.');
599
- const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'UpdateAgentCallLegOnOutboundCallCompleted', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, options);
598
+ throw new Error('updateAgentCallLegOnOutboundCallRinging requires an existing record. Use accessor.get() first.');
599
+ const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'UpdateAgentCallLegOnOutboundCallRinging', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, options);
600
600
  return new ActionBuilder(this._provider, 'NotificationModule', 'CallLeg', payload, () => { this._pendingLinks = []; });
601
601
  }
602
602
  /**
603
- * UpdateAgentCallLegOnOutboundCallRinging
603
+ * UpdateAgentCallLegOnOutboundDialAction
604
604
  *
605
605
  * Updates this CallLeg record with the specified properties.
606
606
  * Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
@@ -615,17 +615,17 @@ class CallLegRecord {
615
615
  * @example
616
616
  * ```typescript
617
617
  * const record = await odinClient.callLegs.get(id);
618
- * await record.updateAgentCallLegOnOutboundCallRinging({ ... }).execute();
618
+ * await record.updateAgentCallLegOnOutboundDialAction({ ... }).execute();
619
619
  *
620
620
  * // Dry run (for debugging)
621
- * const payload = record.updateAgentCallLegOnOutboundCallRinging({ ... }).dryRun();
621
+ * const payload = record.updateAgentCallLegOnOutboundDialAction({ ... }).dryRun();
622
622
  * ```
623
623
  */
624
- updateAgentCallLegOnOutboundCallRinging(properties, options) {
624
+ updateAgentCallLegOnOutboundDialAction(properties, options) {
625
625
  var _a;
626
626
  if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
627
- throw new Error('updateAgentCallLegOnOutboundCallRinging requires an existing record. Use accessor.get() first.');
628
- const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'UpdateAgentCallLegOnOutboundCallRinging', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, options);
627
+ throw new Error('updateAgentCallLegOnOutboundDialAction requires an existing record. Use accessor.get() first.');
628
+ const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'UpdateAgentCallLegOnOutboundDialAction', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, options);
629
629
  return new ActionBuilder(this._provider, 'NotificationModule', 'CallLeg', payload, () => { this._pendingLinks = []; });
630
630
  }
631
631
  /**
@@ -753,7 +753,7 @@ class CallLegRecord {
753
753
  return new ActionBuilder(this._provider, 'NotificationModule', 'CallLeg', payload, () => { this._pendingLinks = []; });
754
754
  }
755
755
  /**
756
- * UpdateCustomerCallLegOnNumberCallStatusCompleted
756
+ * UpdateCustomerCallLegOnNumberCallStatus
757
757
  *
758
758
  * Updates this CallLeg record with the specified properties.
759
759
  * Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
@@ -768,17 +768,17 @@ class CallLegRecord {
768
768
  * @example
769
769
  * ```typescript
770
770
  * const record = await odinClient.callLegs.get(id);
771
- * await record.updateCustomerCallLegOnNumberCallStatusCompleted({ ... }).execute();
771
+ * await record.updateCustomerCallLegOnNumberCallStatus({ ... }).execute();
772
772
  *
773
773
  * // Dry run (for debugging)
774
- * const payload = record.updateCustomerCallLegOnNumberCallStatusCompleted({ ... }).dryRun();
774
+ * const payload = record.updateCustomerCallLegOnNumberCallStatus({ ... }).dryRun();
775
775
  * ```
776
776
  */
777
- updateCustomerCallLegOnNumberCallStatusCompleted(properties, options) {
777
+ updateCustomerCallLegOnNumberCallStatus(properties, options) {
778
778
  var _a;
779
779
  if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
780
- throw new Error('updateCustomerCallLegOnNumberCallStatusCompleted requires an existing record. Use accessor.get() first.');
781
- const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'UpdateCustomerCallLegOnNumberCallStatusCompleted', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, options);
780
+ throw new Error('updateCustomerCallLegOnNumberCallStatus requires an existing record. Use accessor.get() first.');
781
+ const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'UpdateCustomerCallLegOnNumberCallStatus', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, options);
782
782
  return new ActionBuilder(this._provider, 'NotificationModule', 'CallLeg', payload, () => { this._pendingLinks = []; });
783
783
  }
784
784
  /**
@@ -37,11 +37,12 @@ import { UpdateCallOnInboundCallFailedProperties } from '../actions-v2/UpdateCal
37
37
  import { UpdateCallOnInboundCallInitiatedProperties } from '../actions-v2/UpdateCallOnInboundCallInitiatedDto';
38
38
  import { UpdateCallOnInboundCallNoAnswerProperties } from '../actions-v2/UpdateCallOnInboundCallNoAnswerDto';
39
39
  import { UpdateCallOnInboundCallRingingProperties } from '../actions-v2/UpdateCallOnInboundCallRingingDto';
40
- import { UpdateCallOnNumberCallStatusCompletedProperties } from '../actions-v2/UpdateCallOnNumberCallStatusCompletedDto';
40
+ import { UpdateCallOnNumberCallStatusProperties } from '../actions-v2/UpdateCallOnNumberCallStatusDto';
41
41
  import { UpdateCallOnOutboundCallAnsweredProperties } from '../actions-v2/UpdateCallOnOutboundCallAnsweredDto';
42
42
  import { UpdateCallOnOutboundCallCompletedProperties } from '../actions-v2/UpdateCallOnOutboundCallCompletedDto';
43
43
  import { UpdateCallOnOutboundCallFailedProperties } from '../actions-v2/UpdateCallOnOutboundCallFailedDto';
44
44
  import { UpdateCallOnOutboundCallNoAnswerProperties } from '../actions-v2/UpdateCallOnOutboundCallNoAnswerDto';
45
+ import { UpdateCallOnOutboundDialActionProperties } from '../actions-v2/UpdateCallOnOutboundDialActionDto';
45
46
  import { UpdateCallOnTaskRouterAssignProperties } from '../actions-v2/UpdateCallOnTaskRouterAssignDto';
46
47
  import { UpdateCallTranscriptionUrlProperties } from '../actions-v2/UpdateCallTranscriptionUrlDto';
47
48
  import { LeadRecord } from './LeadRecord';
@@ -638,7 +639,7 @@ export declare class CallRecord<TProps = CallProperties> {
638
639
  stageKey?: string;
639
640
  }): ActionBuilder;
640
641
  /**
641
- * UpdateCallOnNumberCallStatusCompleted
642
+ * UpdateCallOnNumberCallStatus
642
643
  *
643
644
  * Updates this Call record with the specified properties.
644
645
  * Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
@@ -653,13 +654,13 @@ export declare class CallRecord<TProps = CallProperties> {
653
654
  * @example
654
655
  * ```typescript
655
656
  * const record = await odinClient.calls.get(id);
656
- * await record.updateCallOnNumberCallStatusCompleted({ ... }).execute();
657
+ * await record.updateCallOnNumberCallStatus({ ... }).execute();
657
658
  *
658
659
  * // Dry run (for debugging)
659
- * const payload = record.updateCallOnNumberCallStatusCompleted({ ... }).dryRun();
660
+ * const payload = record.updateCallOnNumberCallStatus({ ... }).dryRun();
660
661
  * ```
661
662
  */
662
- updateCallOnNumberCallStatusCompleted(properties: UpdateCallOnNumberCallStatusCompletedProperties, options?: {
663
+ updateCallOnNumberCallStatus(properties: UpdateCallOnNumberCallStatusProperties, options?: {
663
664
  journeyId?: string;
664
665
  stageKey?: string;
665
666
  }): ActionBuilder;
@@ -768,6 +769,32 @@ export declare class CallRecord<TProps = CallProperties> {
768
769
  journeyId?: string;
769
770
  stageKey?: string;
770
771
  }): ActionBuilder;
772
+ /**
773
+ * UpdateCallOnOutboundDialAction
774
+ *
775
+ * Updates this Call record with the specified properties.
776
+ * Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
777
+ *
778
+ * @param properties - Required properties for this action
779
+ * @param options - Optional settings
780
+ * @param options.journeyId - Associate with a journey
781
+ * @param options.stageKey - Transition to pipeline stage
782
+ * @returns ActionBuilder - call .execute() to update or .dryRun() for payload
783
+ * @throws Error if called on a new (unsaved) record
784
+ *
785
+ * @example
786
+ * ```typescript
787
+ * const record = await odinClient.calls.get(id);
788
+ * await record.updateCallOnOutboundDialAction({ ... }).execute();
789
+ *
790
+ * // Dry run (for debugging)
791
+ * const payload = record.updateCallOnOutboundDialAction({ ... }).dryRun();
792
+ * ```
793
+ */
794
+ updateCallOnOutboundDialAction(properties: UpdateCallOnOutboundDialActionProperties, options?: {
795
+ journeyId?: string;
796
+ stageKey?: string;
797
+ }): ActionBuilder;
771
798
  /**
772
799
  * UpdateCallOnTaskRouterAssign
773
800
  *
@@ -813,7 +813,7 @@ class CallRecord {
813
813
  return new ActionBuilder(this._provider, 'NotificationModule', 'Call', payload, () => { this._pendingLinks = []; });
814
814
  }
815
815
  /**
816
- * UpdateCallOnNumberCallStatusCompleted
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.updateCallOnNumberCallStatusCompleted({ ... }).execute();
831
+ * await record.updateCallOnNumberCallStatus({ ... }).execute();
832
832
  *
833
833
  * // Dry run (for debugging)
834
- * const payload = record.updateCallOnNumberCallStatusCompleted({ ... }).dryRun();
834
+ * const payload = record.updateCallOnNumberCallStatus({ ... }).dryRun();
835
835
  * ```
836
836
  */
837
- updateCallOnNumberCallStatusCompleted(properties, options) {
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('updateCallOnNumberCallStatusCompleted 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: 'UpdateCallOnNumberCallStatusCompleted', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, options);
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,6 +1,6 @@
1
1
  {
2
2
  "name": "@d19n/youfibre-odin-sdk",
3
- "version": "2.0.139",
3
+ "version": "2.0.140",
4
4
  "description": "",
5
5
  "author": "@d19n",
6
6
  "license": "UNLICENSED",
@@ -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
- * 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,56 +0,0 @@
1
- "use strict";
2
- /**
3
- * UpdateCustomerCallLegOnNumberCallStatusCompleted Action DTO
4
- *
5
- * Update customer call leg on number call status completed
6
- *
7
- * @module NotificationModule
8
- * @entity CallLeg
9
- * @actionKey UpdateCustomerCallLegOnNumberCallStatusCompleted
10
- * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnNumberCallStatusCompleted
11
- *
12
- * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
- */
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.UpdateCustomerCallLegOnNumberCallStatusCompletedDto = void 0;
16
- const core_1 = require("@d19n/odin-types/dist/core");
17
- /**
18
- * UpdateCustomerCallLegOnNumberCallStatusCompleted
19
- *
20
- * Update customer call leg on number call status completed
21
- *
22
- * @actionType UPDATE - Updates an existing CallLeg record
23
- * @module NotificationModule
24
- * @entity CallLeg
25
- * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnNumberCallStatusCompleted
26
- * @permission schema.action.updatecustomercalllegonnumbercallstatuscompleted.trigger
27
- * @benchmark This action is tracked for performance benchmarks
28
- */
29
- class UpdateCustomerCallLegOnNumberCallStatusCompletedDto 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 = 'UpdateCustomerCallLegOnNumberCallStatusCompleted';
40
- this.schemaActionId = 'b6ce9396-ddd2-45ec-ae82-0e8e65b673ef';
41
- this.entity = 'NotificationModule:CallLeg';
42
- }
43
- }
44
- exports.UpdateCustomerCallLegOnNumberCallStatusCompletedDto = UpdateCustomerCallLegOnNumberCallStatusCompletedDto;
45
- /** Used by SDK generators to identify action type */
46
- UpdateCustomerCallLegOnNumberCallStatusCompletedDto.ACTION_TYPE = 'UPDATE';
47
- UpdateCustomerCallLegOnNumberCallStatusCompletedDto.ACTION_KEY = 'UpdateCustomerCallLegOnNumberCallStatusCompleted';
48
- UpdateCustomerCallLegOnNumberCallStatusCompletedDto.MODULE_NAME = 'NotificationModule';
49
- UpdateCustomerCallLegOnNumberCallStatusCompletedDto.ENTITIES = ['CallLeg'];
50
- UpdateCustomerCallLegOnNumberCallStatusCompletedDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnNumberCallStatusCompleted';
51
- UpdateCustomerCallLegOnNumberCallStatusCompletedDto.PERMISSION = 'schema.action.updatecustomercalllegonnumbercallstatuscompleted.trigger';
52
- /** Step metadata - entity this action targets */
53
- UpdateCustomerCallLegOnNumberCallStatusCompletedDto.STEP_ENTITY = 'NotificationModule:CallLeg';
54
- UpdateCustomerCallLegOnNumberCallStatusCompletedDto.STEP_SCHEMA_ID = '75c59745-35fb-44b9-b3f2-7563101fdcec';
55
- UpdateCustomerCallLegOnNumberCallStatusCompletedDto.STEP_SCHEMA_ACTION_ID = 'b6ce9396-ddd2-45ec-ae82-0e8e65b673ef';
56
- UpdateCustomerCallLegOnNumberCallStatusCompletedDto.AUTO_LINK_PARENT = false;