@d19n/youfibre-odin-sdk 2.0.127 → 2.0.129

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 (36) hide show
  1. package/README.md +24 -1
  2. package/dist/actions-v2/MoveAccountCreditToCancelledDto.d.ts +115 -0
  3. package/dist/actions-v2/MoveAccountCreditToCancelledDto.js +80 -0
  4. package/dist/actions-v2/MoveAccountCreditToCompleteDto.d.ts +115 -0
  5. package/dist/actions-v2/MoveAccountCreditToCompleteDto.js +80 -0
  6. package/dist/actions-v2/MoveAccountCreditToInProgressDto.d.ts +115 -0
  7. package/dist/actions-v2/MoveAccountCreditToInProgressDto.js +80 -0
  8. package/dist/actions-v2/MoveAccountCreditToPendingDto.d.ts +115 -0
  9. package/dist/actions-v2/MoveAccountCreditToPendingDto.js +80 -0
  10. package/dist/actions-v2/MoveAccountCreditToVoidDto.d.ts +115 -0
  11. package/dist/actions-v2/MoveAccountCreditToVoidDto.js +80 -0
  12. package/dist/actions-v2/UpdateAgentCallLegOnIncomingCallFailedDto.d.ts +81 -0
  13. package/dist/actions-v2/UpdateAgentCallLegOnIncomingCallFailedDto.js +56 -0
  14. package/dist/actions-v2/UpdateAgentCallLegOnIncomingCallNoAnswerDto.d.ts +81 -0
  15. package/dist/actions-v2/UpdateAgentCallLegOnIncomingCallNoAnswerDto.js +56 -0
  16. package/dist/actions-v2/UpdateAgentCallLegOnOutboundCallFailedDto.d.ts +88 -0
  17. package/dist/actions-v2/UpdateAgentCallLegOnOutboundCallFailedDto.js +56 -0
  18. package/dist/actions-v2/UpdateCallOnInboundCallFailedDto.d.ts +97 -0
  19. package/dist/actions-v2/UpdateCallOnInboundCallFailedDto.js +56 -0
  20. package/dist/actions-v2/UpdateCallOnInboundCallNoAnswerDto.d.ts +97 -0
  21. package/dist/actions-v2/UpdateCallOnInboundCallNoAnswerDto.js +56 -0
  22. package/dist/actions-v2/UpdateCallOnOutboundCallFailedDto.d.ts +97 -0
  23. package/dist/actions-v2/UpdateCallOnOutboundCallFailedDto.js +56 -0
  24. package/dist/actions-v2/UpdateCustomerCallLegOnIncomingCallNoAnswerDto.d.ts +63 -0
  25. package/dist/actions-v2/UpdateCustomerCallLegOnIncomingCallNoAnswerDto.js +56 -0
  26. package/dist/actions-v2/UpdateCustomerCallLegOnOutboundCallFailedDto.d.ts +88 -0
  27. package/dist/actions-v2/UpdateCustomerCallLegOnOutboundCallFailedDto.js +56 -0
  28. package/dist/entities-v2/AccountCredit.d.ts +1 -1
  29. package/dist/entities-v2/AccountCredit.js +1 -1
  30. package/dist/records-v2/AccountCreditRecord.d.ts +125 -0
  31. package/dist/records-v2/AccountCreditRecord.js +145 -0
  32. package/dist/records-v2/CallLegRecord.d.ts +136 -0
  33. package/dist/records-v2/CallLegRecord.js +153 -0
  34. package/dist/records-v2/CallRecord.d.ts +81 -0
  35. package/dist/records-v2/CallRecord.js +87 -0
  36. package/package.json +1 -1
@@ -0,0 +1,88 @@
1
+ /**
2
+ * UpdateAgentCallLegOnOutboundCallFailed Action DTO
3
+ *
4
+ * Update agent call leg on outbound call failed
5
+ *
6
+ * @module NotificationModule
7
+ * @entity CallLeg
8
+ * @actionKey UpdateAgentCallLegOnOutboundCallFailed
9
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallFailed
10
+ *
11
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
12
+ */
13
+ import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
14
+ /**
15
+ * RabbitMQ message payload for UpdateAgentCallLegOnOutboundCallFailed updated events
16
+ *
17
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallFailed
18
+ */
19
+ export interface UpdateAgentCallLegOnOutboundCallFailedMessage extends OdinRecordUpdatedEvent<UpdateAgentCallLegOnOutboundCallFailedDto, UpdateAgentCallLegOnOutboundCallFailedProperties> {
20
+ }
21
+ /**
22
+ * Properties for UpdateAgentCallLegOnOutboundCallFailed action
23
+ *
24
+ * @property Required fields: 2
25
+ * @property Optional fields: 1
26
+ */
27
+ export interface UpdateAgentCallLegOnOutboundCallFailedProperties {
28
+ /**
29
+ * EndedAt
30
+ *
31
+ * Data field for CallLeg records. Used by Communications team.
32
+ * @type {DATE_TIME}
33
+ * @required
34
+ */
35
+ EndedAt: string;
36
+ /**
37
+ * Status
38
+ *
39
+ * Status indicator for CallLeg records. Tracks lifecycle state. Used by Communications team.
40
+ * @type {ENUM}
41
+ * @required
42
+ */
43
+ Status: string;
44
+ /**
45
+ * Duration
46
+ *
47
+ * Duration of THIS leg only in seconds (Communications - CallLeg)
48
+ * @type {NUMBER}
49
+ */
50
+ Duration?: number | null;
51
+ }
52
+ /**
53
+ * UpdateAgentCallLegOnOutboundCallFailed
54
+ *
55
+ * Update agent call leg on outbound call failed
56
+ *
57
+ * @actionType UPDATE - Updates an existing CallLeg record
58
+ * @module NotificationModule
59
+ * @entity CallLeg
60
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallFailed
61
+ * @permission schema.action.updateagentcalllegonoutboundcallfailed.trigger
62
+ * @benchmark This action is tracked for performance benchmarks
63
+ */
64
+ export declare class UpdateAgentCallLegOnOutboundCallFailedDto extends OdinRecordUpdateDto<UpdateAgentCallLegOnOutboundCallFailedProperties> {
65
+ /** Used by SDK generators to identify action type */
66
+ static readonly ACTION_TYPE = "UPDATE";
67
+ static readonly ACTION_KEY = "UpdateAgentCallLegOnOutboundCallFailed";
68
+ static readonly MODULE_NAME = "NotificationModule";
69
+ static readonly ENTITIES: string[];
70
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallFailed";
71
+ static readonly PERMISSION = "schema.action.updateagentcalllegonoutboundcallfailed.trigger";
72
+ /** Step metadata - entity this action targets */
73
+ static readonly STEP_ENTITY = "NotificationModule:CallLeg";
74
+ static readonly STEP_SCHEMA_ID = "75c59745-35fb-44b9-b3f2-7563101fdcec";
75
+ static readonly STEP_SCHEMA_ACTION_ID = "50ce49f0-76da-4a67-a743-e88145a52ce5";
76
+ static readonly AUTO_LINK_PARENT = false;
77
+ readonly actionName: string;
78
+ readonly schemaActionId: string;
79
+ readonly entity: string;
80
+ constructor(record: OdinRecord<any> | {
81
+ id: string;
82
+ entity: string;
83
+ type?: string;
84
+ }, properties: UpdateAgentCallLegOnOutboundCallFailedProperties, options?: {
85
+ journeyId?: string;
86
+ stageKey?: string;
87
+ });
88
+ }
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /**
3
+ * UpdateAgentCallLegOnOutboundCallFailed Action DTO
4
+ *
5
+ * Update agent call leg on outbound call failed
6
+ *
7
+ * @module NotificationModule
8
+ * @entity CallLeg
9
+ * @actionKey UpdateAgentCallLegOnOutboundCallFailed
10
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallFailed
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.UpdateAgentCallLegOnOutboundCallFailedDto = void 0;
16
+ const core_1 = require("@d19n/odin-types/dist/core");
17
+ /**
18
+ * UpdateAgentCallLegOnOutboundCallFailed
19
+ *
20
+ * Update agent call leg on outbound call failed
21
+ *
22
+ * @actionType UPDATE - Updates an existing CallLeg record
23
+ * @module NotificationModule
24
+ * @entity CallLeg
25
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallFailed
26
+ * @permission schema.action.updateagentcalllegonoutboundcallfailed.trigger
27
+ * @benchmark This action is tracked for performance benchmarks
28
+ */
29
+ class UpdateAgentCallLegOnOutboundCallFailedDto extends core_1.OdinRecordUpdateDto {
30
+ constructor(record, properties, options) {
31
+ super({
32
+ id: record.id,
33
+ entity: record.entity,
34
+ type: record.type,
35
+ properties,
36
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
37
+ stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
38
+ });
39
+ this.actionName = 'UpdateAgentCallLegOnOutboundCallFailed';
40
+ this.schemaActionId = '50ce49f0-76da-4a67-a743-e88145a52ce5';
41
+ this.entity = 'NotificationModule:CallLeg';
42
+ }
43
+ }
44
+ exports.UpdateAgentCallLegOnOutboundCallFailedDto = UpdateAgentCallLegOnOutboundCallFailedDto;
45
+ /** Used by SDK generators to identify action type */
46
+ UpdateAgentCallLegOnOutboundCallFailedDto.ACTION_TYPE = 'UPDATE';
47
+ UpdateAgentCallLegOnOutboundCallFailedDto.ACTION_KEY = 'UpdateAgentCallLegOnOutboundCallFailed';
48
+ UpdateAgentCallLegOnOutboundCallFailedDto.MODULE_NAME = 'NotificationModule';
49
+ UpdateAgentCallLegOnOutboundCallFailedDto.ENTITIES = ['CallLeg'];
50
+ UpdateAgentCallLegOnOutboundCallFailedDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallFailed';
51
+ UpdateAgentCallLegOnOutboundCallFailedDto.PERMISSION = 'schema.action.updateagentcalllegonoutboundcallfailed.trigger';
52
+ /** Step metadata - entity this action targets */
53
+ UpdateAgentCallLegOnOutboundCallFailedDto.STEP_ENTITY = 'NotificationModule:CallLeg';
54
+ UpdateAgentCallLegOnOutboundCallFailedDto.STEP_SCHEMA_ID = '75c59745-35fb-44b9-b3f2-7563101fdcec';
55
+ UpdateAgentCallLegOnOutboundCallFailedDto.STEP_SCHEMA_ACTION_ID = '50ce49f0-76da-4a67-a743-e88145a52ce5';
56
+ UpdateAgentCallLegOnOutboundCallFailedDto.AUTO_LINK_PARENT = false;
@@ -0,0 +1,97 @@
1
+ /**
2
+ * UpdateCallOnInboundCallFailed Action DTO
3
+ *
4
+ * Update call on inbound call failed
5
+ *
6
+ * @module NotificationModule
7
+ * @entity Call
8
+ * @actionKey UpdateCallOnInboundCallFailed
9
+ * @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnInboundCallFailed
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 UpdateCallOnInboundCallFailed updated events
16
+ *
17
+ * @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnInboundCallFailed
18
+ */
19
+ export interface UpdateCallOnInboundCallFailedMessage extends OdinRecordUpdatedEvent<UpdateCallOnInboundCallFailedDto, UpdateCallOnInboundCallFailedProperties> {
20
+ }
21
+ /**
22
+ * Properties for UpdateCallOnInboundCallFailed action
23
+ *
24
+ * @property Required fields: 4
25
+ * @property Optional fields: 0
26
+ */
27
+ export interface UpdateCallOnInboundCallFailedProperties {
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
+ * EndTime
54
+ *
55
+ * Data field for Call records. Used by Communications team.
56
+ * @type {DATE_TIME}
57
+ * @required
58
+ */
59
+ EndTime: string;
60
+ }
61
+ /**
62
+ * UpdateCallOnInboundCallFailed
63
+ *
64
+ * Update call on inbound call failed
65
+ *
66
+ * @actionType UPDATE - Updates an existing Call record
67
+ * @module NotificationModule
68
+ * @entity Call
69
+ * @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnInboundCallFailed
70
+ * @permission schema.action.updatecalloninboundcallfailed.trigger
71
+ * @benchmark This action is tracked for performance benchmarks
72
+ */
73
+ export declare class UpdateCallOnInboundCallFailedDto extends OdinRecordUpdateDto<UpdateCallOnInboundCallFailedProperties> {
74
+ /** Used by SDK generators to identify action type */
75
+ static readonly ACTION_TYPE = "UPDATE";
76
+ static readonly ACTION_KEY = "UpdateCallOnInboundCallFailed";
77
+ static readonly MODULE_NAME = "NotificationModule";
78
+ static readonly ENTITIES: string[];
79
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnInboundCallFailed";
80
+ static readonly PERMISSION = "schema.action.updatecalloninboundcallfailed.trigger";
81
+ /** Step metadata - entity this action targets */
82
+ static readonly STEP_ENTITY = "NotificationModule:Call";
83
+ static readonly STEP_SCHEMA_ID = "e157f15c-6846-4bfb-bc92-aed4c4084e9f";
84
+ static readonly STEP_SCHEMA_ACTION_ID = "d2c3b3f7-3b48-4877-aa09-5a6ab37547a0";
85
+ static readonly AUTO_LINK_PARENT = false;
86
+ readonly actionName: string;
87
+ readonly schemaActionId: string;
88
+ readonly entity: string;
89
+ constructor(record: OdinRecord<any> | {
90
+ id: string;
91
+ entity: string;
92
+ type?: string;
93
+ }, properties: UpdateCallOnInboundCallFailedProperties, options?: {
94
+ journeyId?: string;
95
+ stageKey?: string;
96
+ });
97
+ }
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /**
3
+ * UpdateCallOnInboundCallFailed Action DTO
4
+ *
5
+ * Update call on inbound call failed
6
+ *
7
+ * @module NotificationModule
8
+ * @entity Call
9
+ * @actionKey UpdateCallOnInboundCallFailed
10
+ * @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnInboundCallFailed
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.UpdateCallOnInboundCallFailedDto = void 0;
16
+ const core_1 = require("@d19n/odin-types/dist/core");
17
+ /**
18
+ * UpdateCallOnInboundCallFailed
19
+ *
20
+ * Update call on inbound call failed
21
+ *
22
+ * @actionType UPDATE - Updates an existing Call record
23
+ * @module NotificationModule
24
+ * @entity Call
25
+ * @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnInboundCallFailed
26
+ * @permission schema.action.updatecalloninboundcallfailed.trigger
27
+ * @benchmark This action is tracked for performance benchmarks
28
+ */
29
+ class UpdateCallOnInboundCallFailedDto 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 = 'UpdateCallOnInboundCallFailed';
40
+ this.schemaActionId = 'd2c3b3f7-3b48-4877-aa09-5a6ab37547a0';
41
+ this.entity = 'NotificationModule:Call';
42
+ }
43
+ }
44
+ exports.UpdateCallOnInboundCallFailedDto = UpdateCallOnInboundCallFailedDto;
45
+ /** Used by SDK generators to identify action type */
46
+ UpdateCallOnInboundCallFailedDto.ACTION_TYPE = 'UPDATE';
47
+ UpdateCallOnInboundCallFailedDto.ACTION_KEY = 'UpdateCallOnInboundCallFailed';
48
+ UpdateCallOnInboundCallFailedDto.MODULE_NAME = 'NotificationModule';
49
+ UpdateCallOnInboundCallFailedDto.ENTITIES = ['Call'];
50
+ UpdateCallOnInboundCallFailedDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnInboundCallFailed';
51
+ UpdateCallOnInboundCallFailedDto.PERMISSION = 'schema.action.updatecalloninboundcallfailed.trigger';
52
+ /** Step metadata - entity this action targets */
53
+ UpdateCallOnInboundCallFailedDto.STEP_ENTITY = 'NotificationModule:Call';
54
+ UpdateCallOnInboundCallFailedDto.STEP_SCHEMA_ID = 'e157f15c-6846-4bfb-bc92-aed4c4084e9f';
55
+ UpdateCallOnInboundCallFailedDto.STEP_SCHEMA_ACTION_ID = 'd2c3b3f7-3b48-4877-aa09-5a6ab37547a0';
56
+ UpdateCallOnInboundCallFailedDto.AUTO_LINK_PARENT = false;
@@ -0,0 +1,97 @@
1
+ /**
2
+ * UpdateCallOnInboundCallNoAnswer Action DTO
3
+ *
4
+ * Update call on inbound call no answer
5
+ *
6
+ * @module NotificationModule
7
+ * @entity Call
8
+ * @actionKey UpdateCallOnInboundCallNoAnswer
9
+ * @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnInboundCallNoAnswer
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 UpdateCallOnInboundCallNoAnswer updated events
16
+ *
17
+ * @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnInboundCallNoAnswer
18
+ */
19
+ export interface UpdateCallOnInboundCallNoAnswerMessage extends OdinRecordUpdatedEvent<UpdateCallOnInboundCallNoAnswerDto, UpdateCallOnInboundCallNoAnswerProperties> {
20
+ }
21
+ /**
22
+ * Properties for UpdateCallOnInboundCallNoAnswer action
23
+ *
24
+ * @property Required fields: 4
25
+ * @property Optional fields: 0
26
+ */
27
+ export interface UpdateCallOnInboundCallNoAnswerProperties {
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
+ * EndTime
54
+ *
55
+ * Data field for Call records. Used by Communications team.
56
+ * @type {DATE_TIME}
57
+ * @required
58
+ */
59
+ EndTime: string;
60
+ }
61
+ /**
62
+ * UpdateCallOnInboundCallNoAnswer
63
+ *
64
+ * Update call on inbound call no answer
65
+ *
66
+ * @actionType UPDATE - Updates an existing Call record
67
+ * @module NotificationModule
68
+ * @entity Call
69
+ * @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnInboundCallNoAnswer
70
+ * @permission schema.action.updatecalloninboundcallnoanswer.trigger
71
+ * @benchmark This action is tracked for performance benchmarks
72
+ */
73
+ export declare class UpdateCallOnInboundCallNoAnswerDto extends OdinRecordUpdateDto<UpdateCallOnInboundCallNoAnswerProperties> {
74
+ /** Used by SDK generators to identify action type */
75
+ static readonly ACTION_TYPE = "UPDATE";
76
+ static readonly ACTION_KEY = "UpdateCallOnInboundCallNoAnswer";
77
+ static readonly MODULE_NAME = "NotificationModule";
78
+ static readonly ENTITIES: string[];
79
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnInboundCallNoAnswer";
80
+ static readonly PERMISSION = "schema.action.updatecalloninboundcallnoanswer.trigger";
81
+ /** Step metadata - entity this action targets */
82
+ static readonly STEP_ENTITY = "NotificationModule:Call";
83
+ static readonly STEP_SCHEMA_ID = "e157f15c-6846-4bfb-bc92-aed4c4084e9f";
84
+ static readonly STEP_SCHEMA_ACTION_ID = "cbe41d02-2da7-4b7a-8357-29ebddf7b716";
85
+ static readonly AUTO_LINK_PARENT = false;
86
+ readonly actionName: string;
87
+ readonly schemaActionId: string;
88
+ readonly entity: string;
89
+ constructor(record: OdinRecord<any> | {
90
+ id: string;
91
+ entity: string;
92
+ type?: string;
93
+ }, properties: UpdateCallOnInboundCallNoAnswerProperties, options?: {
94
+ journeyId?: string;
95
+ stageKey?: string;
96
+ });
97
+ }
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /**
3
+ * UpdateCallOnInboundCallNoAnswer Action DTO
4
+ *
5
+ * Update call on inbound call no answer
6
+ *
7
+ * @module NotificationModule
8
+ * @entity Call
9
+ * @actionKey UpdateCallOnInboundCallNoAnswer
10
+ * @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnInboundCallNoAnswer
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.UpdateCallOnInboundCallNoAnswerDto = void 0;
16
+ const core_1 = require("@d19n/odin-types/dist/core");
17
+ /**
18
+ * UpdateCallOnInboundCallNoAnswer
19
+ *
20
+ * Update call on inbound call no answer
21
+ *
22
+ * @actionType UPDATE - Updates an existing Call record
23
+ * @module NotificationModule
24
+ * @entity Call
25
+ * @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnInboundCallNoAnswer
26
+ * @permission schema.action.updatecalloninboundcallnoanswer.trigger
27
+ * @benchmark This action is tracked for performance benchmarks
28
+ */
29
+ class UpdateCallOnInboundCallNoAnswerDto 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 = 'UpdateCallOnInboundCallNoAnswer';
40
+ this.schemaActionId = 'cbe41d02-2da7-4b7a-8357-29ebddf7b716';
41
+ this.entity = 'NotificationModule:Call';
42
+ }
43
+ }
44
+ exports.UpdateCallOnInboundCallNoAnswerDto = UpdateCallOnInboundCallNoAnswerDto;
45
+ /** Used by SDK generators to identify action type */
46
+ UpdateCallOnInboundCallNoAnswerDto.ACTION_TYPE = 'UPDATE';
47
+ UpdateCallOnInboundCallNoAnswerDto.ACTION_KEY = 'UpdateCallOnInboundCallNoAnswer';
48
+ UpdateCallOnInboundCallNoAnswerDto.MODULE_NAME = 'NotificationModule';
49
+ UpdateCallOnInboundCallNoAnswerDto.ENTITIES = ['Call'];
50
+ UpdateCallOnInboundCallNoAnswerDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnInboundCallNoAnswer';
51
+ UpdateCallOnInboundCallNoAnswerDto.PERMISSION = 'schema.action.updatecalloninboundcallnoanswer.trigger';
52
+ /** Step metadata - entity this action targets */
53
+ UpdateCallOnInboundCallNoAnswerDto.STEP_ENTITY = 'NotificationModule:Call';
54
+ UpdateCallOnInboundCallNoAnswerDto.STEP_SCHEMA_ID = 'e157f15c-6846-4bfb-bc92-aed4c4084e9f';
55
+ UpdateCallOnInboundCallNoAnswerDto.STEP_SCHEMA_ACTION_ID = 'cbe41d02-2da7-4b7a-8357-29ebddf7b716';
56
+ UpdateCallOnInboundCallNoAnswerDto.AUTO_LINK_PARENT = false;
@@ -0,0 +1,97 @@
1
+ /**
2
+ * UpdateCallOnOutboundCallFailed Action DTO
3
+ *
4
+ * Update call on outbound call failed
5
+ *
6
+ * @module NotificationModule
7
+ * @entity Call
8
+ * @actionKey UpdateCallOnOutboundCallFailed
9
+ * @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundCallFailed
10
+ *
11
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
12
+ */
13
+ import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
14
+ /**
15
+ * RabbitMQ message payload for UpdateCallOnOutboundCallFailed updated events
16
+ *
17
+ * @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundCallFailed
18
+ */
19
+ export interface UpdateCallOnOutboundCallFailedMessage extends OdinRecordUpdatedEvent<UpdateCallOnOutboundCallFailedDto, UpdateCallOnOutboundCallFailedProperties> {
20
+ }
21
+ /**
22
+ * Properties for UpdateCallOnOutboundCallFailed action
23
+ *
24
+ * @property Required fields: 4
25
+ * @property Optional fields: 0
26
+ */
27
+ export interface UpdateCallOnOutboundCallFailedProperties {
28
+ /**
29
+ * TotalDuration
30
+ *
31
+ * Total call duration in seconds from customer perspective (Communications - Call)
32
+ * @type {NUMBER}
33
+ * @required
34
+ */
35
+ TotalDuration: number;
36
+ /**
37
+ * call status
38
+ *
39
+ * the status of the call (Communications - Call)
40
+ * @type {TEXT}
41
+ * @required
42
+ */
43
+ CallStatus: string;
44
+ /**
45
+ * Call stage
46
+ *
47
+ * The granular stage of a call, more extensive than CallStatus (Communications - Call)
48
+ * @type {ENUM}
49
+ * @required
50
+ */
51
+ CallStage: string;
52
+ /**
53
+ * CallEndReason
54
+ *
55
+ * CallEndReason
56
+ * @type {ENUM}
57
+ * @required
58
+ */
59
+ CallEndReason: string;
60
+ }
61
+ /**
62
+ * UpdateCallOnOutboundCallFailed
63
+ *
64
+ * Update call on outbound call failed
65
+ *
66
+ * @actionType UPDATE - Updates an existing Call record
67
+ * @module NotificationModule
68
+ * @entity Call
69
+ * @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundCallFailed
70
+ * @permission schema.action.updatecallonoutboundcallfailed.trigger
71
+ * @benchmark This action is tracked for performance benchmarks
72
+ */
73
+ export declare class UpdateCallOnOutboundCallFailedDto extends OdinRecordUpdateDto<UpdateCallOnOutboundCallFailedProperties> {
74
+ /** Used by SDK generators to identify action type */
75
+ static readonly ACTION_TYPE = "UPDATE";
76
+ static readonly ACTION_KEY = "UpdateCallOnOutboundCallFailed";
77
+ static readonly MODULE_NAME = "NotificationModule";
78
+ static readonly ENTITIES: string[];
79
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundCallFailed";
80
+ static readonly PERMISSION = "schema.action.updatecallonoutboundcallfailed.trigger";
81
+ /** Step metadata - entity this action targets */
82
+ static readonly STEP_ENTITY = "NotificationModule:Call";
83
+ static readonly STEP_SCHEMA_ID = "e157f15c-6846-4bfb-bc92-aed4c4084e9f";
84
+ static readonly STEP_SCHEMA_ACTION_ID = "3f82f95e-7a83-4312-83c9-7590c768610b";
85
+ static readonly AUTO_LINK_PARENT = false;
86
+ readonly actionName: string;
87
+ readonly schemaActionId: string;
88
+ readonly entity: string;
89
+ constructor(record: OdinRecord<any> | {
90
+ id: string;
91
+ entity: string;
92
+ type?: string;
93
+ }, properties: UpdateCallOnOutboundCallFailedProperties, options?: {
94
+ journeyId?: string;
95
+ stageKey?: string;
96
+ });
97
+ }
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /**
3
+ * UpdateCallOnOutboundCallFailed Action DTO
4
+ *
5
+ * Update call on outbound call failed
6
+ *
7
+ * @module NotificationModule
8
+ * @entity Call
9
+ * @actionKey UpdateCallOnOutboundCallFailed
10
+ * @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundCallFailed
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.UpdateCallOnOutboundCallFailedDto = void 0;
16
+ const core_1 = require("@d19n/odin-types/dist/core");
17
+ /**
18
+ * UpdateCallOnOutboundCallFailed
19
+ *
20
+ * Update call on outbound call failed
21
+ *
22
+ * @actionType UPDATE - Updates an existing Call record
23
+ * @module NotificationModule
24
+ * @entity Call
25
+ * @event k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundCallFailed
26
+ * @permission schema.action.updatecallonoutboundcallfailed.trigger
27
+ * @benchmark This action is tracked for performance benchmarks
28
+ */
29
+ class UpdateCallOnOutboundCallFailedDto extends core_1.OdinRecordUpdateDto {
30
+ constructor(record, properties, options) {
31
+ super({
32
+ id: record.id,
33
+ entity: record.entity,
34
+ type: record.type,
35
+ properties,
36
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
37
+ stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
38
+ });
39
+ this.actionName = 'UpdateCallOnOutboundCallFailed';
40
+ this.schemaActionId = '3f82f95e-7a83-4312-83c9-7590c768610b';
41
+ this.entity = 'NotificationModule:Call';
42
+ }
43
+ }
44
+ exports.UpdateCallOnOutboundCallFailedDto = UpdateCallOnOutboundCallFailedDto;
45
+ /** Used by SDK generators to identify action type */
46
+ UpdateCallOnOutboundCallFailedDto.ACTION_TYPE = 'UPDATE';
47
+ UpdateCallOnOutboundCallFailedDto.ACTION_KEY = 'UpdateCallOnOutboundCallFailed';
48
+ UpdateCallOnOutboundCallFailedDto.MODULE_NAME = 'NotificationModule';
49
+ UpdateCallOnOutboundCallFailedDto.ENTITIES = ['Call'];
50
+ UpdateCallOnOutboundCallFailedDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundCallFailed';
51
+ UpdateCallOnOutboundCallFailedDto.PERMISSION = 'schema.action.updatecallonoutboundcallfailed.trigger';
52
+ /** Step metadata - entity this action targets */
53
+ UpdateCallOnOutboundCallFailedDto.STEP_ENTITY = 'NotificationModule:Call';
54
+ UpdateCallOnOutboundCallFailedDto.STEP_SCHEMA_ID = 'e157f15c-6846-4bfb-bc92-aed4c4084e9f';
55
+ UpdateCallOnOutboundCallFailedDto.STEP_SCHEMA_ACTION_ID = '3f82f95e-7a83-4312-83c9-7590c768610b';
56
+ UpdateCallOnOutboundCallFailedDto.AUTO_LINK_PARENT = false;
@@ -0,0 +1,63 @@
1
+ /**
2
+ * UpdateCustomerCallLegOnIncomingCallNoAnswer Action DTO
3
+ *
4
+ * Update customer call leg on incoming call no answer
5
+ *
6
+ * @module NotificationModule
7
+ * @entity CallLeg
8
+ * @actionKey UpdateCustomerCallLegOnIncomingCallNoAnswer
9
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallNoAnswer
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 UpdateCustomerCallLegOnIncomingCallNoAnswer updated events
16
+ *
17
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallNoAnswer
18
+ */
19
+ export interface UpdateCustomerCallLegOnIncomingCallNoAnswerMessage extends OdinRecordUpdatedEvent<UpdateCustomerCallLegOnIncomingCallNoAnswerDto, UpdateCustomerCallLegOnIncomingCallNoAnswerProperties> {
20
+ }
21
+ /**
22
+ * Properties for UpdateCustomerCallLegOnIncomingCallNoAnswer action
23
+ *
24
+ */
25
+ export interface UpdateCustomerCallLegOnIncomingCallNoAnswerProperties {
26
+ }
27
+ /**
28
+ * UpdateCustomerCallLegOnIncomingCallNoAnswer
29
+ *
30
+ * Update customer call leg on incoming call no answer
31
+ *
32
+ * @actionType UPDATE - Updates an existing CallLeg record
33
+ * @module NotificationModule
34
+ * @entity CallLeg
35
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallNoAnswer
36
+ * @permission schema.action.updatecustomercalllegonincomingcallnoanswer.trigger
37
+ * @benchmark This action is tracked for performance benchmarks
38
+ */
39
+ export declare class UpdateCustomerCallLegOnIncomingCallNoAnswerDto extends OdinRecordUpdateDto<UpdateCustomerCallLegOnIncomingCallNoAnswerProperties> {
40
+ /** Used by SDK generators to identify action type */
41
+ static readonly ACTION_TYPE = "UPDATE";
42
+ static readonly ACTION_KEY = "UpdateCustomerCallLegOnIncomingCallNoAnswer";
43
+ static readonly MODULE_NAME = "NotificationModule";
44
+ static readonly ENTITIES: string[];
45
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallNoAnswer";
46
+ static readonly PERMISSION = "schema.action.updatecustomercalllegonincomingcallnoanswer.trigger";
47
+ /** Step metadata - entity this action targets */
48
+ static readonly STEP_ENTITY = "NotificationModule:CallLeg";
49
+ static readonly STEP_SCHEMA_ID = "75c59745-35fb-44b9-b3f2-7563101fdcec";
50
+ static readonly STEP_SCHEMA_ACTION_ID = "bb4bc0f1-8641-49bd-857c-470bf34b8f9b";
51
+ static readonly AUTO_LINK_PARENT = false;
52
+ readonly actionName: string;
53
+ readonly schemaActionId: string;
54
+ readonly entity: string;
55
+ constructor(record: OdinRecord<any> | {
56
+ id: string;
57
+ entity: string;
58
+ type?: string;
59
+ }, properties: UpdateCustomerCallLegOnIncomingCallNoAnswerProperties, options?: {
60
+ journeyId?: string;
61
+ stageKey?: string;
62
+ });
63
+ }