@d19n/youfibre-odin-sdk 2.0.138 → 2.0.140

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/README.md +5 -9
  2. package/dist/actions-v2/{UpdateAgentCallLegOnOutboundCallFailedDto.d.ts → UpdateAgentCallLegOnOutboundDialActionDto.d.ts} +19 -19
  3. package/dist/actions-v2/UpdateAgentCallLegOnOutboundDialActionDto.js +56 -0
  4. package/dist/actions-v2/{UpdateCallOnNumberCallStatusCompletedDto.d.ts → UpdateCallOnNumberCallStatusDto.d.ts} +28 -36
  5. package/dist/actions-v2/UpdateCallOnNumberCallStatusDto.js +56 -0
  6. package/dist/actions-v2/UpdateCallOnOutboundDialActionDto.d.ts +89 -0
  7. package/dist/actions-v2/UpdateCallOnOutboundDialActionDto.js +56 -0
  8. package/dist/actions-v2/{UpdateCustomerCallLegOnNumberCallStatusCompletedDto.d.ts → UpdateCustomerCallLegOnNumberCallStatusDto.d.ts} +28 -29
  9. package/dist/actions-v2/UpdateCustomerCallLegOnNumberCallStatusDto.js +56 -0
  10. package/dist/records-v2/CallLegRecord.d.ts +14 -149
  11. package/dist/records-v2/CallLegRecord.js +18 -163
  12. package/dist/records-v2/CallRecord.d.ts +32 -5
  13. package/dist/records-v2/CallRecord.js +35 -6
  14. package/package.json +1 -1
  15. package/dist/actions-v2/UpdateAgentCallLegOnOutboundCallCompletedDto.d.ts +0 -88
  16. package/dist/actions-v2/UpdateAgentCallLegOnOutboundCallCompletedDto.js +0 -56
  17. package/dist/actions-v2/UpdateAgentCallLegOnOutboundCallFailedDto.js +0 -56
  18. package/dist/actions-v2/UpdateAgentCallLegOnOutboundCallNoAnswerDto.d.ts +0 -88
  19. package/dist/actions-v2/UpdateAgentCallLegOnOutboundCallNoAnswerDto.js +0 -56
  20. package/dist/actions-v2/UpdateCallOnNumberCallStatusCompletedDto.js +0 -56
  21. package/dist/actions-v2/UpdateCustomerCallLegOnIncomingCallCanceledDto.d.ts +0 -81
  22. package/dist/actions-v2/UpdateCustomerCallLegOnIncomingCallCanceledDto.js +0 -56
  23. package/dist/actions-v2/UpdateCustomerCallLegOnIncomingCallFailedDto.d.ts +0 -81
  24. package/dist/actions-v2/UpdateCustomerCallLegOnIncomingCallFailedDto.js +0 -56
  25. package/dist/actions-v2/UpdateCustomerCallLegOnIncomingCallNoAnswerDto.d.ts +0 -81
  26. package/dist/actions-v2/UpdateCustomerCallLegOnIncomingCallNoAnswerDto.js +0 -56
  27. package/dist/actions-v2/UpdateCustomerCallLegOnNumberCallStatusCompletedDto.js +0 -56
@@ -1,81 +0,0 @@
1
- /**
2
- * UpdateCustomerCallLegOnIncomingCallFailed Action DTO
3
- *
4
- * Update agent call leg on incoming call failed
5
- *
6
- * @module NotificationModule
7
- * @entity CallLeg
8
- * @actionKey UpdateCustomerCallLegOnIncomingCallFailed
9
- * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallFailed
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 UpdateCustomerCallLegOnIncomingCallFailed updated events
16
- *
17
- * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallFailed
18
- */
19
- export interface UpdateCustomerCallLegOnIncomingCallFailedMessage extends OdinRecordUpdatedEvent<UpdateCustomerCallLegOnIncomingCallFailedDto, UpdateCustomerCallLegOnIncomingCallFailedProperties> {
20
- }
21
- /**
22
- * Properties for UpdateCustomerCallLegOnIncomingCallFailed action
23
- *
24
- * @property Required fields: 2
25
- * @property Optional fields: 0
26
- */
27
- export interface UpdateCustomerCallLegOnIncomingCallFailedProperties {
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
- * UpdateCustomerCallLegOnIncomingCallFailed
47
- *
48
- * Update agent call leg on incoming call failed
49
- *
50
- * @actionType UPDATE - Updates an existing CallLeg record
51
- * @module NotificationModule
52
- * @entity CallLeg
53
- * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallFailed
54
- * @permission schema.action.updatecustomercalllegonincomingcallfailed.trigger
55
- * @benchmark This action is tracked for performance benchmarks
56
- */
57
- export declare class UpdateCustomerCallLegOnIncomingCallFailedDto extends OdinRecordUpdateDto<UpdateCustomerCallLegOnIncomingCallFailedProperties> {
58
- /** Used by SDK generators to identify action type */
59
- static readonly ACTION_TYPE = "UPDATE";
60
- static readonly ACTION_KEY = "UpdateCustomerCallLegOnIncomingCallFailed";
61
- static readonly MODULE_NAME = "NotificationModule";
62
- static readonly ENTITIES: string[];
63
- static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallFailed";
64
- static readonly PERMISSION = "schema.action.updatecustomercalllegonincomingcallfailed.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 = "9570a7ac-effe-4002-a933-6f92a3914321";
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: UpdateCustomerCallLegOnIncomingCallFailedProperties, options?: {
78
- journeyId?: string;
79
- stageKey?: string;
80
- });
81
- }
@@ -1,56 +0,0 @@
1
- "use strict";
2
- /**
3
- * UpdateCustomerCallLegOnIncomingCallFailed Action DTO
4
- *
5
- * Update agent call leg on incoming call failed
6
- *
7
- * @module NotificationModule
8
- * @entity CallLeg
9
- * @actionKey UpdateCustomerCallLegOnIncomingCallFailed
10
- * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallFailed
11
- *
12
- * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
- */
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.UpdateCustomerCallLegOnIncomingCallFailedDto = void 0;
16
- const core_1 = require("@d19n/odin-types/dist/core");
17
- /**
18
- * UpdateCustomerCallLegOnIncomingCallFailed
19
- *
20
- * Update agent call leg on incoming 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.UpdateCustomerCallLegOnIncomingCallFailed
26
- * @permission schema.action.updatecustomercalllegonincomingcallfailed.trigger
27
- * @benchmark This action is tracked for performance benchmarks
28
- */
29
- class UpdateCustomerCallLegOnIncomingCallFailedDto 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 = 'UpdateCustomerCallLegOnIncomingCallFailed';
40
- this.schemaActionId = '9570a7ac-effe-4002-a933-6f92a3914321';
41
- this.entity = 'NotificationModule:CallLeg';
42
- }
43
- }
44
- exports.UpdateCustomerCallLegOnIncomingCallFailedDto = UpdateCustomerCallLegOnIncomingCallFailedDto;
45
- /** Used by SDK generators to identify action type */
46
- UpdateCustomerCallLegOnIncomingCallFailedDto.ACTION_TYPE = 'UPDATE';
47
- UpdateCustomerCallLegOnIncomingCallFailedDto.ACTION_KEY = 'UpdateCustomerCallLegOnIncomingCallFailed';
48
- UpdateCustomerCallLegOnIncomingCallFailedDto.MODULE_NAME = 'NotificationModule';
49
- UpdateCustomerCallLegOnIncomingCallFailedDto.ENTITIES = ['CallLeg'];
50
- UpdateCustomerCallLegOnIncomingCallFailedDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallFailed';
51
- UpdateCustomerCallLegOnIncomingCallFailedDto.PERMISSION = 'schema.action.updatecustomercalllegonincomingcallfailed.trigger';
52
- /** Step metadata - entity this action targets */
53
- UpdateCustomerCallLegOnIncomingCallFailedDto.STEP_ENTITY = 'NotificationModule:CallLeg';
54
- UpdateCustomerCallLegOnIncomingCallFailedDto.STEP_SCHEMA_ID = '75c59745-35fb-44b9-b3f2-7563101fdcec';
55
- UpdateCustomerCallLegOnIncomingCallFailedDto.STEP_SCHEMA_ACTION_ID = '9570a7ac-effe-4002-a933-6f92a3914321';
56
- UpdateCustomerCallLegOnIncomingCallFailedDto.AUTO_LINK_PARENT = false;
@@ -1,81 +0,0 @@
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
- * @property Required fields: 2
25
- * @property Optional fields: 0
26
- */
27
- export interface UpdateCustomerCallLegOnIncomingCallNoAnswerProperties {
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
- * UpdateCustomerCallLegOnIncomingCallNoAnswer
47
- *
48
- * Update customer call leg on incoming call no answer
49
- *
50
- * @actionType UPDATE - Updates an existing CallLeg record
51
- * @module NotificationModule
52
- * @entity CallLeg
53
- * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallNoAnswer
54
- * @permission schema.action.updatecustomercalllegonincomingcallnoanswer.trigger
55
- * @benchmark This action is tracked for performance benchmarks
56
- */
57
- export declare class UpdateCustomerCallLegOnIncomingCallNoAnswerDto extends OdinRecordUpdateDto<UpdateCustomerCallLegOnIncomingCallNoAnswerProperties> {
58
- /** Used by SDK generators to identify action type */
59
- static readonly ACTION_TYPE = "UPDATE";
60
- static readonly ACTION_KEY = "UpdateCustomerCallLegOnIncomingCallNoAnswer";
61
- static readonly MODULE_NAME = "NotificationModule";
62
- static readonly ENTITIES: string[];
63
- static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallNoAnswer";
64
- static readonly PERMISSION = "schema.action.updatecustomercalllegonincomingcallnoanswer.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 = "bb4bc0f1-8641-49bd-857c-470bf34b8f9b";
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: UpdateCustomerCallLegOnIncomingCallNoAnswerProperties, options?: {
78
- journeyId?: string;
79
- stageKey?: string;
80
- });
81
- }
@@ -1,56 +0,0 @@
1
- "use strict";
2
- /**
3
- * UpdateCustomerCallLegOnIncomingCallNoAnswer Action DTO
4
- *
5
- * Update customer call leg on incoming call no answer
6
- *
7
- * @module NotificationModule
8
- * @entity CallLeg
9
- * @actionKey UpdateCustomerCallLegOnIncomingCallNoAnswer
10
- * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallNoAnswer
11
- *
12
- * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
- */
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.UpdateCustomerCallLegOnIncomingCallNoAnswerDto = void 0;
16
- const core_1 = require("@d19n/odin-types/dist/core");
17
- /**
18
- * UpdateCustomerCallLegOnIncomingCallNoAnswer
19
- *
20
- * Update customer call leg on incoming call no answer
21
- *
22
- * @actionType UPDATE - Updates an existing CallLeg record
23
- * @module NotificationModule
24
- * @entity CallLeg
25
- * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallNoAnswer
26
- * @permission schema.action.updatecustomercalllegonincomingcallnoanswer.trigger
27
- * @benchmark This action is tracked for performance benchmarks
28
- */
29
- class UpdateCustomerCallLegOnIncomingCallNoAnswerDto 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 = 'UpdateCustomerCallLegOnIncomingCallNoAnswer';
40
- this.schemaActionId = 'bb4bc0f1-8641-49bd-857c-470bf34b8f9b';
41
- this.entity = 'NotificationModule:CallLeg';
42
- }
43
- }
44
- exports.UpdateCustomerCallLegOnIncomingCallNoAnswerDto = UpdateCustomerCallLegOnIncomingCallNoAnswerDto;
45
- /** Used by SDK generators to identify action type */
46
- UpdateCustomerCallLegOnIncomingCallNoAnswerDto.ACTION_TYPE = 'UPDATE';
47
- UpdateCustomerCallLegOnIncomingCallNoAnswerDto.ACTION_KEY = 'UpdateCustomerCallLegOnIncomingCallNoAnswer';
48
- UpdateCustomerCallLegOnIncomingCallNoAnswerDto.MODULE_NAME = 'NotificationModule';
49
- UpdateCustomerCallLegOnIncomingCallNoAnswerDto.ENTITIES = ['CallLeg'];
50
- UpdateCustomerCallLegOnIncomingCallNoAnswerDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallNoAnswer';
51
- UpdateCustomerCallLegOnIncomingCallNoAnswerDto.PERMISSION = 'schema.action.updatecustomercalllegonincomingcallnoanswer.trigger';
52
- /** Step metadata - entity this action targets */
53
- UpdateCustomerCallLegOnIncomingCallNoAnswerDto.STEP_ENTITY = 'NotificationModule:CallLeg';
54
- UpdateCustomerCallLegOnIncomingCallNoAnswerDto.STEP_SCHEMA_ID = '75c59745-35fb-44b9-b3f2-7563101fdcec';
55
- UpdateCustomerCallLegOnIncomingCallNoAnswerDto.STEP_SCHEMA_ACTION_ID = 'bb4bc0f1-8641-49bd-857c-470bf34b8f9b';
56
- UpdateCustomerCallLegOnIncomingCallNoAnswerDto.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;