@d19n/youfibre-odin-sdk 2.0.128 → 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 (30) hide show
  1. package/README.md +21 -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/UpdateCallOnInboundCallFailedDto.d.ts +97 -0
  17. package/dist/actions-v2/UpdateCallOnInboundCallFailedDto.js +56 -0
  18. package/dist/actions-v2/UpdateCallOnInboundCallNoAnswerDto.d.ts +97 -0
  19. package/dist/actions-v2/UpdateCallOnInboundCallNoAnswerDto.js +56 -0
  20. package/dist/actions-v2/UpdateCustomerCallLegOnIncomingCallNoAnswerDto.d.ts +63 -0
  21. package/dist/actions-v2/UpdateCustomerCallLegOnIncomingCallNoAnswerDto.js +56 -0
  22. package/dist/entities-v2/AccountCredit.d.ts +1 -1
  23. package/dist/entities-v2/AccountCredit.js +1 -1
  24. package/dist/records-v2/AccountCreditRecord.d.ts +125 -0
  25. package/dist/records-v2/AccountCreditRecord.js +145 -0
  26. package/dist/records-v2/CallLegRecord.d.ts +82 -0
  27. package/dist/records-v2/CallLegRecord.js +95 -0
  28. package/dist/records-v2/CallRecord.d.ts +54 -0
  29. package/dist/records-v2/CallRecord.js +58 -0
  30. package/package.json +1 -1
@@ -0,0 +1,115 @@
1
+ /**
2
+ * MoveAccountCreditToPending Action DTO
3
+ *
4
+ * MoveAccountCreditToPending
5
+ *
6
+ * @module BillingModule
7
+ * @entity AccountCredit
8
+ * @entityType DEFAULT
9
+ * @actionKey MoveAccountCreditToPending
10
+ * @event k1.t-hEOJjsDb.BillingModule.AccountCredit.Transition.MoveAccountCreditToPending
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
15
+ declare type StepClassMap = {};
16
+ /**
17
+ * Link definition for connecting steps in MoveAccountCreditToPending
18
+ */
19
+ export interface MoveAccountCreditToPendingStepLink {
20
+ /**
21
+ * The stepKey of the target step to link TO
22
+ * Must reference another step's stepKey in the same flow
23
+ */
24
+ stepKey: string;
25
+ /**
26
+ * The schema association ID (UUID) defining the relationship
27
+ * Use the association.id from the schema association definition
28
+ * @example "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
29
+ */
30
+ schemaAssociationId: string;
31
+ }
32
+ /**
33
+ * Step definition with linking metadata for MoveAccountCreditToPending
34
+ */
35
+ export interface MoveAccountCreditToPendingStepDefinition {
36
+ /** Unique identifier for this step */
37
+ stepKey: string;
38
+ /** The DTO class name for this step */
39
+ dtoClass: string;
40
+ /** The entity this step creates (Module:Entity format) */
41
+ entity: string;
42
+ /** Links to create after this step executes */
43
+ linksTo: MoveAccountCreditToPendingStepLink[] | null;
44
+ }
45
+ /**
46
+ * Type-safe step keys for MoveAccountCreditToPending
47
+ */
48
+ export declare const MoveAccountCreditToPendingSteps: {
49
+ readonly step_1: "step_1";
50
+ };
51
+ export declare type MoveAccountCreditToPendingStepKey = typeof MoveAccountCreditToPendingSteps[keyof typeof MoveAccountCreditToPendingSteps];
52
+ /**
53
+ * RabbitMQ message payload for MoveAccountCreditToPending step flow events
54
+ *
55
+ * @event k1.t-hEOJjsDb.BillingModule.AccountCredit.Transition.MoveAccountCreditToPending
56
+ */
57
+ export interface MoveAccountCreditToPendingMessage extends OdinRecordUpdatedEvent<MoveAccountCreditToPendingDto, {}> {
58
+ }
59
+ /**
60
+ * Properties for MoveAccountCreditToPending action
61
+ *
62
+ */
63
+ export interface MoveAccountCreditToPendingProperties {
64
+ }
65
+ /**
66
+ * MoveAccountCreditToPending
67
+ *
68
+ * @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
69
+ * @module BillingModule
70
+ * @entity AccountCredit
71
+ * @entityType DEFAULT (Default)
72
+ * @targetStages AccountCreditStagePending
73
+ * @event k1.t-hEOJjsDb.BillingModule.AccountCredit.Transition.MoveAccountCreditToPending
74
+ * @permission schema.action.moveaccountcredittopending.trigger
75
+ * @benchmark This action is tracked for performance benchmarks
76
+ */
77
+ export declare class MoveAccountCreditToPendingDto extends OdinRecordUpdateDto<Record<string, any>> {
78
+ /** Used by SDK generators to identify action type */
79
+ static readonly ACTION_TYPE = "UPDATE";
80
+ static readonly ACTION_KEY = "MoveAccountCreditToPending";
81
+ static readonly MODULE_NAME = "BillingModule";
82
+ static readonly ENTITIES: string[];
83
+ static readonly ENTITY_TYPE = "DEFAULT";
84
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.BillingModule.AccountCredit.Transition.MoveAccountCreditToPending";
85
+ static readonly SCHEMA_ACTION_ID = "2946f141-2565-4756-ae8a-3178d5f841d3";
86
+ static readonly PERMISSION = "schema.action.moveaccountcredittopending.trigger";
87
+ static readonly TARGET_STAGES: readonly ["AccountCreditStagePending"];
88
+ static readonly IS_STAGE_TRANSITION = true;
89
+ static readonly IS_MULTI_STEP_FLOW = false;
90
+ static readonly HAS_STEP_LINKS = false;
91
+ /**
92
+ * Step definitions with linking metadata
93
+ * Used by SDK and backend for auto-linking after step execution
94
+ */
95
+ static readonly stepDefinitions: MoveAccountCreditToPendingStepDefinition[];
96
+ /** Type-safe step key accessor */
97
+ static readonly Steps: {
98
+ readonly step_1: "step_1";
99
+ };
100
+ readonly actionName: string;
101
+ readonly schemaActionId: string;
102
+ readonly entity: string;
103
+ readonly stageKey: string;
104
+ constructor(record: OdinRecord<any> | {
105
+ id: string;
106
+ entity: string;
107
+ type?: string;
108
+ }, options?: {
109
+ journeyId?: string;
110
+ });
111
+ /** Step classes that can be used with this action */
112
+ static readonly stepClasses: readonly [];
113
+ steps: StepClassMap[(typeof MoveAccountCreditToPendingDto.stepClasses)[number]][];
114
+ }
115
+ export {};
@@ -0,0 +1,80 @@
1
+ "use strict";
2
+ /**
3
+ * MoveAccountCreditToPending Action DTO
4
+ *
5
+ * MoveAccountCreditToPending
6
+ *
7
+ * @module BillingModule
8
+ * @entity AccountCredit
9
+ * @entityType DEFAULT
10
+ * @actionKey MoveAccountCreditToPending
11
+ * @event k1.t-hEOJjsDb.BillingModule.AccountCredit.Transition.MoveAccountCreditToPending
12
+ *
13
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.MoveAccountCreditToPendingDto = exports.MoveAccountCreditToPendingSteps = void 0;
17
+ const core_1 = require("@d19n/odin-types/dist/core");
18
+ /**
19
+ * Type-safe step keys for MoveAccountCreditToPending
20
+ */
21
+ exports.MoveAccountCreditToPendingSteps = {
22
+ step_1: 'step_1',
23
+ };
24
+ /**
25
+ * MoveAccountCreditToPending
26
+ *
27
+ * @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
28
+ * @module BillingModule
29
+ * @entity AccountCredit
30
+ * @entityType DEFAULT (Default)
31
+ * @targetStages AccountCreditStagePending
32
+ * @event k1.t-hEOJjsDb.BillingModule.AccountCredit.Transition.MoveAccountCreditToPending
33
+ * @permission schema.action.moveaccountcredittopending.trigger
34
+ * @benchmark This action is tracked for performance benchmarks
35
+ */
36
+ class MoveAccountCreditToPendingDto extends core_1.OdinRecordUpdateDto {
37
+ constructor(record, options) {
38
+ super({
39
+ id: record.id,
40
+ entity: record.entity,
41
+ type: record.type,
42
+ properties: {},
43
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
44
+ });
45
+ this.actionName = 'MoveAccountCreditToPending';
46
+ this.schemaActionId = '2946f141-2565-4756-ae8a-3178d5f841d3';
47
+ this.entity = 'BillingModule:AccountCredit';
48
+ this.stageKey = 'AccountCreditStagePending';
49
+ }
50
+ }
51
+ exports.MoveAccountCreditToPendingDto = MoveAccountCreditToPendingDto;
52
+ /** Used by SDK generators to identify action type */
53
+ MoveAccountCreditToPendingDto.ACTION_TYPE = 'UPDATE';
54
+ MoveAccountCreditToPendingDto.ACTION_KEY = 'MoveAccountCreditToPending';
55
+ MoveAccountCreditToPendingDto.MODULE_NAME = 'BillingModule';
56
+ MoveAccountCreditToPendingDto.ENTITIES = ['AccountCredit'];
57
+ MoveAccountCreditToPendingDto.ENTITY_TYPE = 'DEFAULT';
58
+ MoveAccountCreditToPendingDto.EVENT_NAME = 'k1.t-hEOJjsDb.BillingModule.AccountCredit.Transition.MoveAccountCreditToPending';
59
+ MoveAccountCreditToPendingDto.SCHEMA_ACTION_ID = '2946f141-2565-4756-ae8a-3178d5f841d3';
60
+ MoveAccountCreditToPendingDto.PERMISSION = 'schema.action.moveaccountcredittopending.trigger';
61
+ MoveAccountCreditToPendingDto.TARGET_STAGES = ['AccountCreditStagePending'];
62
+ MoveAccountCreditToPendingDto.IS_STAGE_TRANSITION = true;
63
+ MoveAccountCreditToPendingDto.IS_MULTI_STEP_FLOW = false;
64
+ MoveAccountCreditToPendingDto.HAS_STEP_LINKS = false;
65
+ /**
66
+ * Step definitions with linking metadata
67
+ * Used by SDK and backend for auto-linking after step execution
68
+ */
69
+ MoveAccountCreditToPendingDto.stepDefinitions = [
70
+ {
71
+ stepKey: 'step_1',
72
+ dtoClass: 'unknown',
73
+ entity: 'unknown',
74
+ linksTo: null
75
+ }
76
+ ];
77
+ /** Type-safe step key accessor */
78
+ MoveAccountCreditToPendingDto.Steps = exports.MoveAccountCreditToPendingSteps;
79
+ /** Step classes that can be used with this action */
80
+ MoveAccountCreditToPendingDto.stepClasses = [];
@@ -0,0 +1,115 @@
1
+ /**
2
+ * MoveAccountCreditToVoid Action DTO
3
+ *
4
+ * MoveAccountCreditToVoid
5
+ *
6
+ * @module BillingModule
7
+ * @entity AccountCredit
8
+ * @entityType DEFAULT
9
+ * @actionKey MoveAccountCreditToVoid
10
+ * @event k1.t-hEOJjsDb.BillingModule.AccountCredit.Transition.MoveAccountCreditToVoid
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
15
+ declare type StepClassMap = {};
16
+ /**
17
+ * Link definition for connecting steps in MoveAccountCreditToVoid
18
+ */
19
+ export interface MoveAccountCreditToVoidStepLink {
20
+ /**
21
+ * The stepKey of the target step to link TO
22
+ * Must reference another step's stepKey in the same flow
23
+ */
24
+ stepKey: string;
25
+ /**
26
+ * The schema association ID (UUID) defining the relationship
27
+ * Use the association.id from the schema association definition
28
+ * @example "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
29
+ */
30
+ schemaAssociationId: string;
31
+ }
32
+ /**
33
+ * Step definition with linking metadata for MoveAccountCreditToVoid
34
+ */
35
+ export interface MoveAccountCreditToVoidStepDefinition {
36
+ /** Unique identifier for this step */
37
+ stepKey: string;
38
+ /** The DTO class name for this step */
39
+ dtoClass: string;
40
+ /** The entity this step creates (Module:Entity format) */
41
+ entity: string;
42
+ /** Links to create after this step executes */
43
+ linksTo: MoveAccountCreditToVoidStepLink[] | null;
44
+ }
45
+ /**
46
+ * Type-safe step keys for MoveAccountCreditToVoid
47
+ */
48
+ export declare const MoveAccountCreditToVoidSteps: {
49
+ readonly step_1: "step_1";
50
+ };
51
+ export declare type MoveAccountCreditToVoidStepKey = typeof MoveAccountCreditToVoidSteps[keyof typeof MoveAccountCreditToVoidSteps];
52
+ /**
53
+ * RabbitMQ message payload for MoveAccountCreditToVoid step flow events
54
+ *
55
+ * @event k1.t-hEOJjsDb.BillingModule.AccountCredit.Transition.MoveAccountCreditToVoid
56
+ */
57
+ export interface MoveAccountCreditToVoidMessage extends OdinRecordUpdatedEvent<MoveAccountCreditToVoidDto, {}> {
58
+ }
59
+ /**
60
+ * Properties for MoveAccountCreditToVoid action
61
+ *
62
+ */
63
+ export interface MoveAccountCreditToVoidProperties {
64
+ }
65
+ /**
66
+ * MoveAccountCreditToVoid
67
+ *
68
+ * @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
69
+ * @module BillingModule
70
+ * @entity AccountCredit
71
+ * @entityType DEFAULT (Default)
72
+ * @targetStages AccountCreditStageVoid
73
+ * @event k1.t-hEOJjsDb.BillingModule.AccountCredit.Transition.MoveAccountCreditToVoid
74
+ * @permission schema.action.moveaccountcredittovoid.trigger
75
+ * @benchmark This action is tracked for performance benchmarks
76
+ */
77
+ export declare class MoveAccountCreditToVoidDto extends OdinRecordUpdateDto<Record<string, any>> {
78
+ /** Used by SDK generators to identify action type */
79
+ static readonly ACTION_TYPE = "UPDATE";
80
+ static readonly ACTION_KEY = "MoveAccountCreditToVoid";
81
+ static readonly MODULE_NAME = "BillingModule";
82
+ static readonly ENTITIES: string[];
83
+ static readonly ENTITY_TYPE = "DEFAULT";
84
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.BillingModule.AccountCredit.Transition.MoveAccountCreditToVoid";
85
+ static readonly SCHEMA_ACTION_ID = "96cc2da0-587a-45fc-885e-fa8d05899da2";
86
+ static readonly PERMISSION = "schema.action.moveaccountcredittovoid.trigger";
87
+ static readonly TARGET_STAGES: readonly ["AccountCreditStageVoid"];
88
+ static readonly IS_STAGE_TRANSITION = true;
89
+ static readonly IS_MULTI_STEP_FLOW = false;
90
+ static readonly HAS_STEP_LINKS = false;
91
+ /**
92
+ * Step definitions with linking metadata
93
+ * Used by SDK and backend for auto-linking after step execution
94
+ */
95
+ static readonly stepDefinitions: MoveAccountCreditToVoidStepDefinition[];
96
+ /** Type-safe step key accessor */
97
+ static readonly Steps: {
98
+ readonly step_1: "step_1";
99
+ };
100
+ readonly actionName: string;
101
+ readonly schemaActionId: string;
102
+ readonly entity: string;
103
+ readonly stageKey: string;
104
+ constructor(record: OdinRecord<any> | {
105
+ id: string;
106
+ entity: string;
107
+ type?: string;
108
+ }, options?: {
109
+ journeyId?: string;
110
+ });
111
+ /** Step classes that can be used with this action */
112
+ static readonly stepClasses: readonly [];
113
+ steps: StepClassMap[(typeof MoveAccountCreditToVoidDto.stepClasses)[number]][];
114
+ }
115
+ export {};
@@ -0,0 +1,80 @@
1
+ "use strict";
2
+ /**
3
+ * MoveAccountCreditToVoid Action DTO
4
+ *
5
+ * MoveAccountCreditToVoid
6
+ *
7
+ * @module BillingModule
8
+ * @entity AccountCredit
9
+ * @entityType DEFAULT
10
+ * @actionKey MoveAccountCreditToVoid
11
+ * @event k1.t-hEOJjsDb.BillingModule.AccountCredit.Transition.MoveAccountCreditToVoid
12
+ *
13
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.MoveAccountCreditToVoidDto = exports.MoveAccountCreditToVoidSteps = void 0;
17
+ const core_1 = require("@d19n/odin-types/dist/core");
18
+ /**
19
+ * Type-safe step keys for MoveAccountCreditToVoid
20
+ */
21
+ exports.MoveAccountCreditToVoidSteps = {
22
+ step_1: 'step_1',
23
+ };
24
+ /**
25
+ * MoveAccountCreditToVoid
26
+ *
27
+ * @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
28
+ * @module BillingModule
29
+ * @entity AccountCredit
30
+ * @entityType DEFAULT (Default)
31
+ * @targetStages AccountCreditStageVoid
32
+ * @event k1.t-hEOJjsDb.BillingModule.AccountCredit.Transition.MoveAccountCreditToVoid
33
+ * @permission schema.action.moveaccountcredittovoid.trigger
34
+ * @benchmark This action is tracked for performance benchmarks
35
+ */
36
+ class MoveAccountCreditToVoidDto extends core_1.OdinRecordUpdateDto {
37
+ constructor(record, options) {
38
+ super({
39
+ id: record.id,
40
+ entity: record.entity,
41
+ type: record.type,
42
+ properties: {},
43
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
44
+ });
45
+ this.actionName = 'MoveAccountCreditToVoid';
46
+ this.schemaActionId = '96cc2da0-587a-45fc-885e-fa8d05899da2';
47
+ this.entity = 'BillingModule:AccountCredit';
48
+ this.stageKey = 'AccountCreditStageVoid';
49
+ }
50
+ }
51
+ exports.MoveAccountCreditToVoidDto = MoveAccountCreditToVoidDto;
52
+ /** Used by SDK generators to identify action type */
53
+ MoveAccountCreditToVoidDto.ACTION_TYPE = 'UPDATE';
54
+ MoveAccountCreditToVoidDto.ACTION_KEY = 'MoveAccountCreditToVoid';
55
+ MoveAccountCreditToVoidDto.MODULE_NAME = 'BillingModule';
56
+ MoveAccountCreditToVoidDto.ENTITIES = ['AccountCredit'];
57
+ MoveAccountCreditToVoidDto.ENTITY_TYPE = 'DEFAULT';
58
+ MoveAccountCreditToVoidDto.EVENT_NAME = 'k1.t-hEOJjsDb.BillingModule.AccountCredit.Transition.MoveAccountCreditToVoid';
59
+ MoveAccountCreditToVoidDto.SCHEMA_ACTION_ID = '96cc2da0-587a-45fc-885e-fa8d05899da2';
60
+ MoveAccountCreditToVoidDto.PERMISSION = 'schema.action.moveaccountcredittovoid.trigger';
61
+ MoveAccountCreditToVoidDto.TARGET_STAGES = ['AccountCreditStageVoid'];
62
+ MoveAccountCreditToVoidDto.IS_STAGE_TRANSITION = true;
63
+ MoveAccountCreditToVoidDto.IS_MULTI_STEP_FLOW = false;
64
+ MoveAccountCreditToVoidDto.HAS_STEP_LINKS = false;
65
+ /**
66
+ * Step definitions with linking metadata
67
+ * Used by SDK and backend for auto-linking after step execution
68
+ */
69
+ MoveAccountCreditToVoidDto.stepDefinitions = [
70
+ {
71
+ stepKey: 'step_1',
72
+ dtoClass: 'unknown',
73
+ entity: 'unknown',
74
+ linksTo: null
75
+ }
76
+ ];
77
+ /** Type-safe step key accessor */
78
+ MoveAccountCreditToVoidDto.Steps = exports.MoveAccountCreditToVoidSteps;
79
+ /** Step classes that can be used with this action */
80
+ MoveAccountCreditToVoidDto.stepClasses = [];
@@ -0,0 +1,81 @@
1
+ /**
2
+ * UpdateAgentCallLegOnIncomingCallFailed Action DTO
3
+ *
4
+ * Update agent call leg on incoming call failed
5
+ *
6
+ * @module NotificationModule
7
+ * @entity CallLeg
8
+ * @actionKey UpdateAgentCallLegOnIncomingCallFailed
9
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallFailed
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 UpdateAgentCallLegOnIncomingCallFailed updated events
16
+ *
17
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallFailed
18
+ */
19
+ export interface UpdateAgentCallLegOnIncomingCallFailedMessage extends OdinRecordUpdatedEvent<UpdateAgentCallLegOnIncomingCallFailedDto, UpdateAgentCallLegOnIncomingCallFailedProperties> {
20
+ }
21
+ /**
22
+ * Properties for UpdateAgentCallLegOnIncomingCallFailed action
23
+ *
24
+ * @property Required fields: 2
25
+ * @property Optional fields: 0
26
+ */
27
+ export interface UpdateAgentCallLegOnIncomingCallFailedProperties {
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
+ * UpdateAgentCallLegOnIncomingCallFailed
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.UpdateAgentCallLegOnIncomingCallFailed
54
+ * @permission schema.action.updateagentcalllegonincomingcallfailed.trigger
55
+ * @benchmark This action is tracked for performance benchmarks
56
+ */
57
+ export declare class UpdateAgentCallLegOnIncomingCallFailedDto extends OdinRecordUpdateDto<UpdateAgentCallLegOnIncomingCallFailedProperties> {
58
+ /** Used by SDK generators to identify action type */
59
+ static readonly ACTION_TYPE = "UPDATE";
60
+ static readonly ACTION_KEY = "UpdateAgentCallLegOnIncomingCallFailed";
61
+ static readonly MODULE_NAME = "NotificationModule";
62
+ static readonly ENTITIES: string[];
63
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallFailed";
64
+ static readonly PERMISSION = "schema.action.updateagentcalllegonincomingcallfailed.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 = "defeaecf-d168-4532-b7fd-b16812809169";
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: UpdateAgentCallLegOnIncomingCallFailedProperties, options?: {
78
+ journeyId?: string;
79
+ stageKey?: string;
80
+ });
81
+ }
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /**
3
+ * UpdateAgentCallLegOnIncomingCallFailed Action DTO
4
+ *
5
+ * Update agent call leg on incoming call failed
6
+ *
7
+ * @module NotificationModule
8
+ * @entity CallLeg
9
+ * @actionKey UpdateAgentCallLegOnIncomingCallFailed
10
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallFailed
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.UpdateAgentCallLegOnIncomingCallFailedDto = void 0;
16
+ const core_1 = require("@d19n/odin-types/dist/core");
17
+ /**
18
+ * UpdateAgentCallLegOnIncomingCallFailed
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.UpdateAgentCallLegOnIncomingCallFailed
26
+ * @permission schema.action.updateagentcalllegonincomingcallfailed.trigger
27
+ * @benchmark This action is tracked for performance benchmarks
28
+ */
29
+ class UpdateAgentCallLegOnIncomingCallFailedDto 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 = 'UpdateAgentCallLegOnIncomingCallFailed';
40
+ this.schemaActionId = 'defeaecf-d168-4532-b7fd-b16812809169';
41
+ this.entity = 'NotificationModule:CallLeg';
42
+ }
43
+ }
44
+ exports.UpdateAgentCallLegOnIncomingCallFailedDto = UpdateAgentCallLegOnIncomingCallFailedDto;
45
+ /** Used by SDK generators to identify action type */
46
+ UpdateAgentCallLegOnIncomingCallFailedDto.ACTION_TYPE = 'UPDATE';
47
+ UpdateAgentCallLegOnIncomingCallFailedDto.ACTION_KEY = 'UpdateAgentCallLegOnIncomingCallFailed';
48
+ UpdateAgentCallLegOnIncomingCallFailedDto.MODULE_NAME = 'NotificationModule';
49
+ UpdateAgentCallLegOnIncomingCallFailedDto.ENTITIES = ['CallLeg'];
50
+ UpdateAgentCallLegOnIncomingCallFailedDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallFailed';
51
+ UpdateAgentCallLegOnIncomingCallFailedDto.PERMISSION = 'schema.action.updateagentcalllegonincomingcallfailed.trigger';
52
+ /** Step metadata - entity this action targets */
53
+ UpdateAgentCallLegOnIncomingCallFailedDto.STEP_ENTITY = 'NotificationModule:CallLeg';
54
+ UpdateAgentCallLegOnIncomingCallFailedDto.STEP_SCHEMA_ID = '75c59745-35fb-44b9-b3f2-7563101fdcec';
55
+ UpdateAgentCallLegOnIncomingCallFailedDto.STEP_SCHEMA_ACTION_ID = 'defeaecf-d168-4532-b7fd-b16812809169';
56
+ UpdateAgentCallLegOnIncomingCallFailedDto.AUTO_LINK_PARENT = false;
@@ -0,0 +1,81 @@
1
+ /**
2
+ * UpdateAgentCallLegOnIncomingCallNoAnswer Action DTO
3
+ *
4
+ * Update agent call leg on incoming call no answer
5
+ *
6
+ * @module NotificationModule
7
+ * @entity CallLeg
8
+ * @actionKey UpdateAgentCallLegOnIncomingCallNoAnswer
9
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallNoAnswer
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 UpdateAgentCallLegOnIncomingCallNoAnswer updated events
16
+ *
17
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallNoAnswer
18
+ */
19
+ export interface UpdateAgentCallLegOnIncomingCallNoAnswerMessage extends OdinRecordUpdatedEvent<UpdateAgentCallLegOnIncomingCallNoAnswerDto, UpdateAgentCallLegOnIncomingCallNoAnswerProperties> {
20
+ }
21
+ /**
22
+ * Properties for UpdateAgentCallLegOnIncomingCallNoAnswer action
23
+ *
24
+ * @property Required fields: 2
25
+ * @property Optional fields: 0
26
+ */
27
+ export interface UpdateAgentCallLegOnIncomingCallNoAnswerProperties {
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
+ * UpdateAgentCallLegOnIncomingCallNoAnswer
47
+ *
48
+ * Update agent 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.UpdateAgentCallLegOnIncomingCallNoAnswer
54
+ * @permission schema.action.updateagentcalllegonincomingcallnoanswer.trigger
55
+ * @benchmark This action is tracked for performance benchmarks
56
+ */
57
+ export declare class UpdateAgentCallLegOnIncomingCallNoAnswerDto extends OdinRecordUpdateDto<UpdateAgentCallLegOnIncomingCallNoAnswerProperties> {
58
+ /** Used by SDK generators to identify action type */
59
+ static readonly ACTION_TYPE = "UPDATE";
60
+ static readonly ACTION_KEY = "UpdateAgentCallLegOnIncomingCallNoAnswer";
61
+ static readonly MODULE_NAME = "NotificationModule";
62
+ static readonly ENTITIES: string[];
63
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallNoAnswer";
64
+ static readonly PERMISSION = "schema.action.updateagentcalllegonincomingcallnoanswer.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 = "578aaecd-96d4-4ef3-a192-a3a5df995fda";
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: UpdateAgentCallLegOnIncomingCallNoAnswerProperties, options?: {
78
+ journeyId?: string;
79
+ stageKey?: string;
80
+ });
81
+ }
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /**
3
+ * UpdateAgentCallLegOnIncomingCallNoAnswer Action DTO
4
+ *
5
+ * Update agent call leg on incoming call no answer
6
+ *
7
+ * @module NotificationModule
8
+ * @entity CallLeg
9
+ * @actionKey UpdateAgentCallLegOnIncomingCallNoAnswer
10
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallNoAnswer
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.UpdateAgentCallLegOnIncomingCallNoAnswerDto = void 0;
16
+ const core_1 = require("@d19n/odin-types/dist/core");
17
+ /**
18
+ * UpdateAgentCallLegOnIncomingCallNoAnswer
19
+ *
20
+ * Update agent 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.UpdateAgentCallLegOnIncomingCallNoAnswer
26
+ * @permission schema.action.updateagentcalllegonincomingcallnoanswer.trigger
27
+ * @benchmark This action is tracked for performance benchmarks
28
+ */
29
+ class UpdateAgentCallLegOnIncomingCallNoAnswerDto 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 = 'UpdateAgentCallLegOnIncomingCallNoAnswer';
40
+ this.schemaActionId = '578aaecd-96d4-4ef3-a192-a3a5df995fda';
41
+ this.entity = 'NotificationModule:CallLeg';
42
+ }
43
+ }
44
+ exports.UpdateAgentCallLegOnIncomingCallNoAnswerDto = UpdateAgentCallLegOnIncomingCallNoAnswerDto;
45
+ /** Used by SDK generators to identify action type */
46
+ UpdateAgentCallLegOnIncomingCallNoAnswerDto.ACTION_TYPE = 'UPDATE';
47
+ UpdateAgentCallLegOnIncomingCallNoAnswerDto.ACTION_KEY = 'UpdateAgentCallLegOnIncomingCallNoAnswer';
48
+ UpdateAgentCallLegOnIncomingCallNoAnswerDto.MODULE_NAME = 'NotificationModule';
49
+ UpdateAgentCallLegOnIncomingCallNoAnswerDto.ENTITIES = ['CallLeg'];
50
+ UpdateAgentCallLegOnIncomingCallNoAnswerDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallNoAnswer';
51
+ UpdateAgentCallLegOnIncomingCallNoAnswerDto.PERMISSION = 'schema.action.updateagentcalllegonincomingcallnoanswer.trigger';
52
+ /** Step metadata - entity this action targets */
53
+ UpdateAgentCallLegOnIncomingCallNoAnswerDto.STEP_ENTITY = 'NotificationModule:CallLeg';
54
+ UpdateAgentCallLegOnIncomingCallNoAnswerDto.STEP_SCHEMA_ID = '75c59745-35fb-44b9-b3f2-7563101fdcec';
55
+ UpdateAgentCallLegOnIncomingCallNoAnswerDto.STEP_SCHEMA_ACTION_ID = '578aaecd-96d4-4ef3-a192-a3a5df995fda';
56
+ UpdateAgentCallLegOnIncomingCallNoAnswerDto.AUTO_LINK_PARENT = false;