@d19n/youfibre-odin-sdk 2.0.103-beta.0 → 2.0.103-beta.10

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 (40) hide show
  1. package/README.md +11 -1
  2. package/dist/actions-v2/UpdateAgentCallLegOnIncomingCallAnsweredDto.d.ts +81 -0
  3. package/dist/actions-v2/UpdateAgentCallLegOnIncomingCallAnsweredDto.js +56 -0
  4. package/dist/actions-v2/UpdateAgentCallLegOnIncomingCallCanceledDto.d.ts +81 -0
  5. package/dist/actions-v2/UpdateAgentCallLegOnIncomingCallCanceledDto.js +56 -0
  6. package/dist/actions-v2/UpdateAgentCallLegOnIncomingCallCompletedDto.d.ts +89 -0
  7. package/dist/actions-v2/UpdateAgentCallLegOnIncomingCallCompletedDto.js +56 -0
  8. package/dist/actions-v2/UpdateAgentCallLegOnIncomingCallRingingDto.d.ts +81 -0
  9. package/dist/actions-v2/UpdateAgentCallLegOnIncomingCallRingingDto.js +56 -0
  10. package/dist/actions-v2/UpdateCallOnInboundCallAnsweredDto.d.ts +107 -0
  11. package/dist/actions-v2/UpdateCallOnInboundCallAnsweredDto.js +56 -0
  12. package/dist/actions-v2/UpdateCallOnInboundCallCanceledDto.d.ts +97 -0
  13. package/dist/actions-v2/UpdateCallOnInboundCallCanceledDto.js +56 -0
  14. package/dist/actions-v2/UpdateCallOnInboundCallCompletedDto.d.ts +135 -0
  15. package/dist/actions-v2/UpdateCallOnInboundCallCompletedDto.js +56 -0
  16. package/dist/actions-v2/UpdateCallOnInboundCallInitiatedDto.d.ts +72 -0
  17. package/dist/actions-v2/UpdateCallOnInboundCallInitiatedDto.js +56 -0
  18. package/dist/actions-v2/UpdateCallOnInboundCallRingingDto.d.ts +73 -0
  19. package/dist/actions-v2/UpdateCallOnInboundCallRingingDto.js +56 -0
  20. package/dist/actions-v2/UpdateCustomerCallLegOnIncomingCallAnsweredDto.d.ts +81 -0
  21. package/dist/actions-v2/UpdateCustomerCallLegOnIncomingCallAnsweredDto.js +56 -0
  22. package/dist/records-v2/CallLegRecord.d.ts +135 -0
  23. package/dist/records-v2/CallLegRecord.js +145 -0
  24. package/dist/records-v2/CallRecord.d.ts +138 -0
  25. package/dist/records-v2/CallRecord.js +169 -0
  26. package/dist/wholesale-provider/index.d.ts +33 -0
  27. package/dist/wholesale-provider/index.js +59 -0
  28. package/dist/wholesale-provider/interface.d.ts +173 -0
  29. package/dist/wholesale-provider/interface.js +2 -0
  30. package/dist/wholesale-provider/providers/netomnia-provider.d.ts +112 -0
  31. package/dist/wholesale-provider/providers/netomnia-provider.js +124 -0
  32. package/dist/wholesale-provider/test/netomnia-provider.spec.d.ts +1 -0
  33. package/dist/wholesale-provider/test/netomnia-provider.spec.js +428 -0
  34. package/dist/wholesale-provider/types/fibrecafe.d.ts +512 -0
  35. package/dist/wholesale-provider/types/fibrecafe.js +21 -0
  36. package/dist/wholesale-provider/types/vmo2.d.ts +390 -0
  37. package/dist/wholesale-provider/types/vmo2.js +2 -0
  38. package/dist/wholesale-provider/types/wholesale.d.ts +51 -0
  39. package/dist/wholesale-provider/types/wholesale.js +9 -0
  40. package/package.json +16 -3
package/README.md CHANGED
@@ -352,7 +352,7 @@ This SDK includes **164** entities across **12** modules.
352
352
 
353
353
  ## Actions
354
354
 
355
- This SDK includes **620** actions.
355
+ This SDK includes **630** actions.
356
356
 
357
357
  ### Action Types
358
358
 
@@ -1113,7 +1113,12 @@ This SDK includes **620** actions.
1113
1113
  |--------|------|-------|
1114
1114
  | `CreateAgentCallLeg` | CREATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Create.CreateAgentCallLeg |
1115
1115
  | `CreateCustomerCallLeg` | CREATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Create.CreateCustomerCallLeg |
1116
+ | `UpdateAgentCallLegOnIncomingCallAnswered` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallAnswered |
1117
+ | `UpdateAgentCallLegOnIncomingCallCanceled` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallCanceled |
1118
+ | `UpdateAgentCallLegOnIncomingCallCompleted` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallCompleted |
1119
+ | `UpdateAgentCallLegOnIncomingCallRinging` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallRinging |
1116
1120
  | `UpdateCall` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCall |
1121
+ | `UpdateCustomerCallLegOnIncomingCallAnswered` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallAnswered |
1117
1122
 
1118
1123
  #### Appointment
1119
1124
 
@@ -1171,6 +1176,11 @@ This SDK includes **620** actions.
1171
1176
  | Action | Type | Event |
1172
1177
  |--------|------|-------|
1173
1178
  | `CreateCall` | CREATE | k1.t-hEOJjsDb.NotificationModule.Call.Create.CreateCall |
1179
+ | `UpdateCallOnInboundCallAnswered` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnInboundCallAnswered |
1180
+ | `UpdateCallOnInboundCallCanceled` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnInboundCallCanceled |
1181
+ | `UpdateCallOnInboundCallCompleted` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnInboundCallCompleted |
1182
+ | `UpdateCallOnInboundCallInitiated` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnInboundCallInitiated |
1183
+ | `UpdateCallOnInboundCallRinging` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnInboundCallRinging |
1174
1184
  | `UpdateCallOnTaskRouterAssign` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnTaskRouterAssign |
1175
1185
  | `UpdateCallTranscriptionUrl` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallTranscriptionUrl |
1176
1186
 
@@ -0,0 +1,81 @@
1
+ /**
2
+ * UpdateAgentCallLegOnIncomingCallAnswered Action DTO
3
+ *
4
+ * Update agent call leg on incoming call answered
5
+ *
6
+ * @module NotificationModule
7
+ * @entity CallLeg
8
+ * @actionKey UpdateAgentCallLegOnIncomingCallAnswered
9
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallAnswered
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 UpdateAgentCallLegOnIncomingCallAnswered updated events
16
+ *
17
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallAnswered
18
+ */
19
+ export interface UpdateAgentCallLegOnIncomingCallAnsweredMessage extends OdinRecordUpdatedEvent<UpdateAgentCallLegOnIncomingCallAnsweredDto, UpdateAgentCallLegOnIncomingCallAnsweredProperties> {
20
+ }
21
+ /**
22
+ * Properties for UpdateAgentCallLegOnIncomingCallAnswered action
23
+ *
24
+ * @property Required fields: 2
25
+ * @property Optional fields: 0
26
+ */
27
+ export interface UpdateAgentCallLegOnIncomingCallAnsweredProperties {
28
+ /**
29
+ * AnsweredAt
30
+ *
31
+ * Data field for CallLeg records. Used by Communications team.
32
+ * @type {DATE_TIME}
33
+ * @required
34
+ */
35
+ AnsweredAt: string;
36
+ /**
37
+ * Status
38
+ *
39
+ * Status indicator for CallLeg records. Tracks lifecycle state. Used by Communications team.
40
+ * @type {ENUM}
41
+ * @required
42
+ */
43
+ Status: string;
44
+ }
45
+ /**
46
+ * UpdateAgentCallLegOnIncomingCallAnswered
47
+ *
48
+ * Update agent call leg on incoming call answered
49
+ *
50
+ * @actionType UPDATE - Updates an existing CallLeg record
51
+ * @module NotificationModule
52
+ * @entity CallLeg
53
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallAnswered
54
+ * @permission schema.action.updateagentcalllegonincomingcallanswered.trigger
55
+ * @benchmark This action is tracked for performance benchmarks
56
+ */
57
+ export declare class UpdateAgentCallLegOnIncomingCallAnsweredDto extends OdinRecordUpdateDto<UpdateAgentCallLegOnIncomingCallAnsweredProperties> {
58
+ /** Used by SDK generators to identify action type */
59
+ static readonly ACTION_TYPE = "UPDATE";
60
+ static readonly ACTION_KEY = "UpdateAgentCallLegOnIncomingCallAnswered";
61
+ static readonly MODULE_NAME = "NotificationModule";
62
+ static readonly ENTITIES: string[];
63
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallAnswered";
64
+ static readonly PERMISSION = "schema.action.updateagentcalllegonincomingcallanswered.trigger";
65
+ /** Step metadata - entity this action targets */
66
+ static readonly STEP_ENTITY = "NotificationModule:CallLeg";
67
+ static readonly STEP_SCHEMA_ID = "75c59745-35fb-44b9-b3f2-7563101fdcec";
68
+ static readonly STEP_SCHEMA_ACTION_ID = "7b941398-8279-400c-b752-b4c72ed46007";
69
+ static readonly AUTO_LINK_PARENT = false;
70
+ readonly actionName: string;
71
+ readonly schemaActionId: string;
72
+ readonly entity: string;
73
+ constructor(record: OdinRecord<any> | {
74
+ id: string;
75
+ entity: string;
76
+ type?: string;
77
+ }, properties: UpdateAgentCallLegOnIncomingCallAnsweredProperties, options?: {
78
+ journeyId?: string;
79
+ stageKey?: string;
80
+ });
81
+ }
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /**
3
+ * UpdateAgentCallLegOnIncomingCallAnswered Action DTO
4
+ *
5
+ * Update agent call leg on incoming call answered
6
+ *
7
+ * @module NotificationModule
8
+ * @entity CallLeg
9
+ * @actionKey UpdateAgentCallLegOnIncomingCallAnswered
10
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallAnswered
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.UpdateAgentCallLegOnIncomingCallAnsweredDto = void 0;
16
+ const core_1 = require("@d19n/odin-types/dist/core");
17
+ /**
18
+ * UpdateAgentCallLegOnIncomingCallAnswered
19
+ *
20
+ * Update agent call leg on incoming call answered
21
+ *
22
+ * @actionType UPDATE - Updates an existing CallLeg record
23
+ * @module NotificationModule
24
+ * @entity CallLeg
25
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallAnswered
26
+ * @permission schema.action.updateagentcalllegonincomingcallanswered.trigger
27
+ * @benchmark This action is tracked for performance benchmarks
28
+ */
29
+ class UpdateAgentCallLegOnIncomingCallAnsweredDto 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 = 'UpdateAgentCallLegOnIncomingCallAnswered';
40
+ this.schemaActionId = '7b941398-8279-400c-b752-b4c72ed46007';
41
+ this.entity = 'NotificationModule:CallLeg';
42
+ }
43
+ }
44
+ exports.UpdateAgentCallLegOnIncomingCallAnsweredDto = UpdateAgentCallLegOnIncomingCallAnsweredDto;
45
+ /** Used by SDK generators to identify action type */
46
+ UpdateAgentCallLegOnIncomingCallAnsweredDto.ACTION_TYPE = 'UPDATE';
47
+ UpdateAgentCallLegOnIncomingCallAnsweredDto.ACTION_KEY = 'UpdateAgentCallLegOnIncomingCallAnswered';
48
+ UpdateAgentCallLegOnIncomingCallAnsweredDto.MODULE_NAME = 'NotificationModule';
49
+ UpdateAgentCallLegOnIncomingCallAnsweredDto.ENTITIES = ['CallLeg'];
50
+ UpdateAgentCallLegOnIncomingCallAnsweredDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallAnswered';
51
+ UpdateAgentCallLegOnIncomingCallAnsweredDto.PERMISSION = 'schema.action.updateagentcalllegonincomingcallanswered.trigger';
52
+ /** Step metadata - entity this action targets */
53
+ UpdateAgentCallLegOnIncomingCallAnsweredDto.STEP_ENTITY = 'NotificationModule:CallLeg';
54
+ UpdateAgentCallLegOnIncomingCallAnsweredDto.STEP_SCHEMA_ID = '75c59745-35fb-44b9-b3f2-7563101fdcec';
55
+ UpdateAgentCallLegOnIncomingCallAnsweredDto.STEP_SCHEMA_ACTION_ID = '7b941398-8279-400c-b752-b4c72ed46007';
56
+ UpdateAgentCallLegOnIncomingCallAnsweredDto.AUTO_LINK_PARENT = false;
@@ -0,0 +1,81 @@
1
+ /**
2
+ * UpdateAgentCallLegOnIncomingCallCanceled Action DTO
3
+ *
4
+ * Update agent call leg on incoming call canceled
5
+ *
6
+ * @module NotificationModule
7
+ * @entity CallLeg
8
+ * @actionKey UpdateAgentCallLegOnIncomingCallCanceled
9
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallCanceled
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 UpdateAgentCallLegOnIncomingCallCanceled updated events
16
+ *
17
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallCanceled
18
+ */
19
+ export interface UpdateAgentCallLegOnIncomingCallCanceledMessage extends OdinRecordUpdatedEvent<UpdateAgentCallLegOnIncomingCallCanceledDto, UpdateAgentCallLegOnIncomingCallCanceledProperties> {
20
+ }
21
+ /**
22
+ * Properties for UpdateAgentCallLegOnIncomingCallCanceled action
23
+ *
24
+ * @property Required fields: 2
25
+ * @property Optional fields: 0
26
+ */
27
+ export interface UpdateAgentCallLegOnIncomingCallCanceledProperties {
28
+ /**
29
+ * EndedAt
30
+ *
31
+ * Data field for CallLeg records. Used by Communications team.
32
+ * @type {DATE_TIME}
33
+ * @required
34
+ */
35
+ EndedAt: string;
36
+ /**
37
+ * Status
38
+ *
39
+ * Status indicator for CallLeg records. Tracks lifecycle state. Used by Communications team.
40
+ * @type {ENUM}
41
+ * @required
42
+ */
43
+ Status: string;
44
+ }
45
+ /**
46
+ * UpdateAgentCallLegOnIncomingCallCanceled
47
+ *
48
+ * Update agent call leg on incoming call canceled
49
+ *
50
+ * @actionType UPDATE - Updates an existing CallLeg record
51
+ * @module NotificationModule
52
+ * @entity CallLeg
53
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallCanceled
54
+ * @permission schema.action.updateagentcalllegonincomingcallcanceled.trigger
55
+ * @benchmark This action is tracked for performance benchmarks
56
+ */
57
+ export declare class UpdateAgentCallLegOnIncomingCallCanceledDto extends OdinRecordUpdateDto<UpdateAgentCallLegOnIncomingCallCanceledProperties> {
58
+ /** Used by SDK generators to identify action type */
59
+ static readonly ACTION_TYPE = "UPDATE";
60
+ static readonly ACTION_KEY = "UpdateAgentCallLegOnIncomingCallCanceled";
61
+ static readonly MODULE_NAME = "NotificationModule";
62
+ static readonly ENTITIES: string[];
63
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallCanceled";
64
+ static readonly PERMISSION = "schema.action.updateagentcalllegonincomingcallcanceled.trigger";
65
+ /** Step metadata - entity this action targets */
66
+ static readonly STEP_ENTITY = "NotificationModule:CallLeg";
67
+ static readonly STEP_SCHEMA_ID = "75c59745-35fb-44b9-b3f2-7563101fdcec";
68
+ static readonly STEP_SCHEMA_ACTION_ID = "2c07942e-ade3-4060-9eb9-33832f38b14c";
69
+ static readonly AUTO_LINK_PARENT = false;
70
+ readonly actionName: string;
71
+ readonly schemaActionId: string;
72
+ readonly entity: string;
73
+ constructor(record: OdinRecord<any> | {
74
+ id: string;
75
+ entity: string;
76
+ type?: string;
77
+ }, properties: UpdateAgentCallLegOnIncomingCallCanceledProperties, options?: {
78
+ journeyId?: string;
79
+ stageKey?: string;
80
+ });
81
+ }
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /**
3
+ * UpdateAgentCallLegOnIncomingCallCanceled Action DTO
4
+ *
5
+ * Update agent call leg on incoming call canceled
6
+ *
7
+ * @module NotificationModule
8
+ * @entity CallLeg
9
+ * @actionKey UpdateAgentCallLegOnIncomingCallCanceled
10
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallCanceled
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.UpdateAgentCallLegOnIncomingCallCanceledDto = void 0;
16
+ const core_1 = require("@d19n/odin-types/dist/core");
17
+ /**
18
+ * UpdateAgentCallLegOnIncomingCallCanceled
19
+ *
20
+ * Update agent call leg on incoming call canceled
21
+ *
22
+ * @actionType UPDATE - Updates an existing CallLeg record
23
+ * @module NotificationModule
24
+ * @entity CallLeg
25
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallCanceled
26
+ * @permission schema.action.updateagentcalllegonincomingcallcanceled.trigger
27
+ * @benchmark This action is tracked for performance benchmarks
28
+ */
29
+ class UpdateAgentCallLegOnIncomingCallCanceledDto 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 = 'UpdateAgentCallLegOnIncomingCallCanceled';
40
+ this.schemaActionId = '2c07942e-ade3-4060-9eb9-33832f38b14c';
41
+ this.entity = 'NotificationModule:CallLeg';
42
+ }
43
+ }
44
+ exports.UpdateAgentCallLegOnIncomingCallCanceledDto = UpdateAgentCallLegOnIncomingCallCanceledDto;
45
+ /** Used by SDK generators to identify action type */
46
+ UpdateAgentCallLegOnIncomingCallCanceledDto.ACTION_TYPE = 'UPDATE';
47
+ UpdateAgentCallLegOnIncomingCallCanceledDto.ACTION_KEY = 'UpdateAgentCallLegOnIncomingCallCanceled';
48
+ UpdateAgentCallLegOnIncomingCallCanceledDto.MODULE_NAME = 'NotificationModule';
49
+ UpdateAgentCallLegOnIncomingCallCanceledDto.ENTITIES = ['CallLeg'];
50
+ UpdateAgentCallLegOnIncomingCallCanceledDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallCanceled';
51
+ UpdateAgentCallLegOnIncomingCallCanceledDto.PERMISSION = 'schema.action.updateagentcalllegonincomingcallcanceled.trigger';
52
+ /** Step metadata - entity this action targets */
53
+ UpdateAgentCallLegOnIncomingCallCanceledDto.STEP_ENTITY = 'NotificationModule:CallLeg';
54
+ UpdateAgentCallLegOnIncomingCallCanceledDto.STEP_SCHEMA_ID = '75c59745-35fb-44b9-b3f2-7563101fdcec';
55
+ UpdateAgentCallLegOnIncomingCallCanceledDto.STEP_SCHEMA_ACTION_ID = '2c07942e-ade3-4060-9eb9-33832f38b14c';
56
+ UpdateAgentCallLegOnIncomingCallCanceledDto.AUTO_LINK_PARENT = false;
@@ -0,0 +1,89 @@
1
+ /**
2
+ * UpdateAgentCallLegOnIncomingCallCompleted Action DTO
3
+ *
4
+ * Update agent call leg on incoming call completed
5
+ *
6
+ * @module NotificationModule
7
+ * @entity CallLeg
8
+ * @actionKey UpdateAgentCallLegOnIncomingCallCompleted
9
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallCompleted
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 UpdateAgentCallLegOnIncomingCallCompleted updated events
16
+ *
17
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallCompleted
18
+ */
19
+ export interface UpdateAgentCallLegOnIncomingCallCompletedMessage extends OdinRecordUpdatedEvent<UpdateAgentCallLegOnIncomingCallCompletedDto, UpdateAgentCallLegOnIncomingCallCompletedProperties> {
20
+ }
21
+ /**
22
+ * Properties for UpdateAgentCallLegOnIncomingCallCompleted action
23
+ *
24
+ * @property Required fields: 3
25
+ * @property Optional fields: 0
26
+ */
27
+ export interface UpdateAgentCallLegOnIncomingCallCompletedProperties {
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
+ * @required
50
+ */
51
+ Duration: number;
52
+ }
53
+ /**
54
+ * UpdateAgentCallLegOnIncomingCallCompleted
55
+ *
56
+ * Update agent call leg on incoming call completed
57
+ *
58
+ * @actionType UPDATE - Updates an existing CallLeg record
59
+ * @module NotificationModule
60
+ * @entity CallLeg
61
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallCompleted
62
+ * @permission schema.action.updateagentcalllegonincomingcallcompleted.trigger
63
+ * @benchmark This action is tracked for performance benchmarks
64
+ */
65
+ export declare class UpdateAgentCallLegOnIncomingCallCompletedDto extends OdinRecordUpdateDto<UpdateAgentCallLegOnIncomingCallCompletedProperties> {
66
+ /** Used by SDK generators to identify action type */
67
+ static readonly ACTION_TYPE = "UPDATE";
68
+ static readonly ACTION_KEY = "UpdateAgentCallLegOnIncomingCallCompleted";
69
+ static readonly MODULE_NAME = "NotificationModule";
70
+ static readonly ENTITIES: string[];
71
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallCompleted";
72
+ static readonly PERMISSION = "schema.action.updateagentcalllegonincomingcallcompleted.trigger";
73
+ /** Step metadata - entity this action targets */
74
+ static readonly STEP_ENTITY = "NotificationModule:CallLeg";
75
+ static readonly STEP_SCHEMA_ID = "75c59745-35fb-44b9-b3f2-7563101fdcec";
76
+ static readonly STEP_SCHEMA_ACTION_ID = "6d3ee2f2-a677-43c8-8cdd-14f6c5a376cf";
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: UpdateAgentCallLegOnIncomingCallCompletedProperties, options?: {
86
+ journeyId?: string;
87
+ stageKey?: string;
88
+ });
89
+ }
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /**
3
+ * UpdateAgentCallLegOnIncomingCallCompleted Action DTO
4
+ *
5
+ * Update agent call leg on incoming call completed
6
+ *
7
+ * @module NotificationModule
8
+ * @entity CallLeg
9
+ * @actionKey UpdateAgentCallLegOnIncomingCallCompleted
10
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallCompleted
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.UpdateAgentCallLegOnIncomingCallCompletedDto = void 0;
16
+ const core_1 = require("@d19n/odin-types/dist/core");
17
+ /**
18
+ * UpdateAgentCallLegOnIncomingCallCompleted
19
+ *
20
+ * Update agent call leg on incoming 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.UpdateAgentCallLegOnIncomingCallCompleted
26
+ * @permission schema.action.updateagentcalllegonincomingcallcompleted.trigger
27
+ * @benchmark This action is tracked for performance benchmarks
28
+ */
29
+ class UpdateAgentCallLegOnIncomingCallCompletedDto 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 = 'UpdateAgentCallLegOnIncomingCallCompleted';
40
+ this.schemaActionId = '6d3ee2f2-a677-43c8-8cdd-14f6c5a376cf';
41
+ this.entity = 'NotificationModule:CallLeg';
42
+ }
43
+ }
44
+ exports.UpdateAgentCallLegOnIncomingCallCompletedDto = UpdateAgentCallLegOnIncomingCallCompletedDto;
45
+ /** Used by SDK generators to identify action type */
46
+ UpdateAgentCallLegOnIncomingCallCompletedDto.ACTION_TYPE = 'UPDATE';
47
+ UpdateAgentCallLegOnIncomingCallCompletedDto.ACTION_KEY = 'UpdateAgentCallLegOnIncomingCallCompleted';
48
+ UpdateAgentCallLegOnIncomingCallCompletedDto.MODULE_NAME = 'NotificationModule';
49
+ UpdateAgentCallLegOnIncomingCallCompletedDto.ENTITIES = ['CallLeg'];
50
+ UpdateAgentCallLegOnIncomingCallCompletedDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallCompleted';
51
+ UpdateAgentCallLegOnIncomingCallCompletedDto.PERMISSION = 'schema.action.updateagentcalllegonincomingcallcompleted.trigger';
52
+ /** Step metadata - entity this action targets */
53
+ UpdateAgentCallLegOnIncomingCallCompletedDto.STEP_ENTITY = 'NotificationModule:CallLeg';
54
+ UpdateAgentCallLegOnIncomingCallCompletedDto.STEP_SCHEMA_ID = '75c59745-35fb-44b9-b3f2-7563101fdcec';
55
+ UpdateAgentCallLegOnIncomingCallCompletedDto.STEP_SCHEMA_ACTION_ID = '6d3ee2f2-a677-43c8-8cdd-14f6c5a376cf';
56
+ UpdateAgentCallLegOnIncomingCallCompletedDto.AUTO_LINK_PARENT = false;
@@ -0,0 +1,81 @@
1
+ /**
2
+ * UpdateAgentCallLegOnIncomingCallRinging Action DTO
3
+ *
4
+ * Update agent call leg on incoming call ringing
5
+ *
6
+ * @module NotificationModule
7
+ * @entity CallLeg
8
+ * @actionKey UpdateAgentCallLegOnIncomingCallRinging
9
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallRinging
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 UpdateAgentCallLegOnIncomingCallRinging updated events
16
+ *
17
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallRinging
18
+ */
19
+ export interface UpdateAgentCallLegOnIncomingCallRingingMessage extends OdinRecordUpdatedEvent<UpdateAgentCallLegOnIncomingCallRingingDto, UpdateAgentCallLegOnIncomingCallRingingProperties> {
20
+ }
21
+ /**
22
+ * Properties for UpdateAgentCallLegOnIncomingCallRinging action
23
+ *
24
+ * @property Required fields: 2
25
+ * @property Optional fields: 0
26
+ */
27
+ export interface UpdateAgentCallLegOnIncomingCallRingingProperties {
28
+ /**
29
+ * RingingAt
30
+ *
31
+ * Data field for CallLeg records. Used by Communications team.
32
+ * @type {DATE_TIME}
33
+ * @required
34
+ */
35
+ RingingAt: string;
36
+ /**
37
+ * Status
38
+ *
39
+ * Status indicator for CallLeg records. Tracks lifecycle state. Used by Communications team.
40
+ * @type {ENUM}
41
+ * @required
42
+ */
43
+ Status: string;
44
+ }
45
+ /**
46
+ * UpdateAgentCallLegOnIncomingCallRinging
47
+ *
48
+ * Update agent call leg on incoming call ringing
49
+ *
50
+ * @actionType UPDATE - Updates an existing CallLeg record
51
+ * @module NotificationModule
52
+ * @entity CallLeg
53
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallRinging
54
+ * @permission schema.action.updateagentcalllegonincomingcallringing.trigger
55
+ * @benchmark This action is tracked for performance benchmarks
56
+ */
57
+ export declare class UpdateAgentCallLegOnIncomingCallRingingDto extends OdinRecordUpdateDto<UpdateAgentCallLegOnIncomingCallRingingProperties> {
58
+ /** Used by SDK generators to identify action type */
59
+ static readonly ACTION_TYPE = "UPDATE";
60
+ static readonly ACTION_KEY = "UpdateAgentCallLegOnIncomingCallRinging";
61
+ static readonly MODULE_NAME = "NotificationModule";
62
+ static readonly ENTITIES: string[];
63
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallRinging";
64
+ static readonly PERMISSION = "schema.action.updateagentcalllegonincomingcallringing.trigger";
65
+ /** Step metadata - entity this action targets */
66
+ static readonly STEP_ENTITY = "NotificationModule:CallLeg";
67
+ static readonly STEP_SCHEMA_ID = "75c59745-35fb-44b9-b3f2-7563101fdcec";
68
+ static readonly STEP_SCHEMA_ACTION_ID = "a16ff881-91e5-449d-b5e2-c9556dd2e850";
69
+ static readonly AUTO_LINK_PARENT = false;
70
+ readonly actionName: string;
71
+ readonly schemaActionId: string;
72
+ readonly entity: string;
73
+ constructor(record: OdinRecord<any> | {
74
+ id: string;
75
+ entity: string;
76
+ type?: string;
77
+ }, properties: UpdateAgentCallLegOnIncomingCallRingingProperties, options?: {
78
+ journeyId?: string;
79
+ stageKey?: string;
80
+ });
81
+ }
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /**
3
+ * UpdateAgentCallLegOnIncomingCallRinging Action DTO
4
+ *
5
+ * Update agent call leg on incoming call ringing
6
+ *
7
+ * @module NotificationModule
8
+ * @entity CallLeg
9
+ * @actionKey UpdateAgentCallLegOnIncomingCallRinging
10
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallRinging
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.UpdateAgentCallLegOnIncomingCallRingingDto = void 0;
16
+ const core_1 = require("@d19n/odin-types/dist/core");
17
+ /**
18
+ * UpdateAgentCallLegOnIncomingCallRinging
19
+ *
20
+ * Update agent call leg on incoming call ringing
21
+ *
22
+ * @actionType UPDATE - Updates an existing CallLeg record
23
+ * @module NotificationModule
24
+ * @entity CallLeg
25
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallRinging
26
+ * @permission schema.action.updateagentcalllegonincomingcallringing.trigger
27
+ * @benchmark This action is tracked for performance benchmarks
28
+ */
29
+ class UpdateAgentCallLegOnIncomingCallRingingDto 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 = 'UpdateAgentCallLegOnIncomingCallRinging';
40
+ this.schemaActionId = 'a16ff881-91e5-449d-b5e2-c9556dd2e850';
41
+ this.entity = 'NotificationModule:CallLeg';
42
+ }
43
+ }
44
+ exports.UpdateAgentCallLegOnIncomingCallRingingDto = UpdateAgentCallLegOnIncomingCallRingingDto;
45
+ /** Used by SDK generators to identify action type */
46
+ UpdateAgentCallLegOnIncomingCallRingingDto.ACTION_TYPE = 'UPDATE';
47
+ UpdateAgentCallLegOnIncomingCallRingingDto.ACTION_KEY = 'UpdateAgentCallLegOnIncomingCallRinging';
48
+ UpdateAgentCallLegOnIncomingCallRingingDto.MODULE_NAME = 'NotificationModule';
49
+ UpdateAgentCallLegOnIncomingCallRingingDto.ENTITIES = ['CallLeg'];
50
+ UpdateAgentCallLegOnIncomingCallRingingDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallRinging';
51
+ UpdateAgentCallLegOnIncomingCallRingingDto.PERMISSION = 'schema.action.updateagentcalllegonincomingcallringing.trigger';
52
+ /** Step metadata - entity this action targets */
53
+ UpdateAgentCallLegOnIncomingCallRingingDto.STEP_ENTITY = 'NotificationModule:CallLeg';
54
+ UpdateAgentCallLegOnIncomingCallRingingDto.STEP_SCHEMA_ID = '75c59745-35fb-44b9-b3f2-7563101fdcec';
55
+ UpdateAgentCallLegOnIncomingCallRingingDto.STEP_SCHEMA_ACTION_ID = 'a16ff881-91e5-449d-b5e2-c9556dd2e850';
56
+ UpdateAgentCallLegOnIncomingCallRingingDto.AUTO_LINK_PARENT = false;