@d19n/youfibre-odin-sdk 2.0.240 → 2.0.241

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -356,7 +356,7 @@ This SDK includes **168** entities across **12** modules.
356
356
 
357
357
  ## Actions
358
358
 
359
- This SDK includes **722** actions.
359
+ This SDK includes **726** actions.
360
360
 
361
361
  ### Action Types
362
362
 
@@ -1477,8 +1477,20 @@ This SDK includes **722** actions.
1477
1477
  | Action | Type | Event |
1478
1478
  |--------|------|-------|
1479
1479
  | `CreateModifyServiceRequest` | CREATE | k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Create.CreateModifyServiceRequest |
1480
+ | `MoveMsrToComplete` | STAGE_TRANSITION | k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Update.UpdateModifyServiceRequest |
1481
+ | `MoveMsrToFailed` | STAGE_TRANSITION | k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Update.UpdateModifyServiceRequest |
1482
+ | `MoveMsrToHeld` | STAGE_TRANSITION | k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Update.UpdateModifyServiceRequest |
1483
+ | `MoveMsrToInProgress` | STAGE_TRANSITION | k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Update.UpdateModifyServiceRequest |
1480
1484
  | `UpdateModifyServiceRequest` | UPDATE | k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Update.UpdateModifyServiceRequest |
1481
1485
 
1486
+ **MoveMsrToComplete Target Stages:** `ModifyServiceRequestStateStageCompleted`
1487
+
1488
+ **MoveMsrToFailed Target Stages:** `ModifyServiceRequestStateStageFailed`
1489
+
1490
+ **MoveMsrToHeld Target Stages:** `ModifyServiceRequestStateStageHeld`
1491
+
1492
+ **MoveMsrToInProgress Target Stages:** `ModifyServiceRequestStateStageInProgress`
1493
+
1482
1494
  #### NetworkDevice
1483
1495
 
1484
1496
  | Action | Type | Event |
@@ -0,0 +1,209 @@
1
+ /**
2
+ * MoveMsrToComplete Action DTO
3
+ *
4
+ * MoveMsrToComplete
5
+ *
6
+ * @module ServiceModule
7
+ * @entity ModifyServiceRequest
8
+ * @entityType DEFAULT
9
+ * @actionKey MoveMsrToComplete
10
+ * @event k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToComplete
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
15
+ /**
16
+ * Properties for UpdateModifyServiceRequest action
17
+ *
18
+ * @property Required fields: 0
19
+ * @property Optional fields: 7
20
+ */
21
+ export interface UpdateModifyServiceRequestProperties {
22
+ /**
23
+ * Service ID
24
+ *
25
+ * The ID of the service being modified
26
+ * @type {TEXT}
27
+ */
28
+ ServiceId?: string | null;
29
+ /**
30
+ * SKU Previous
31
+ *
32
+ * The previous SKU being modified from (Used for Line Profile mapping)
33
+ * @type {TEXT}
34
+ */
35
+ SkuPrevious?: string | null;
36
+ /**
37
+ * SKU Next
38
+ *
39
+ * The next SKU being modified to (Used for Line Profile mapping)
40
+ * @type {TEXT}
41
+ */
42
+ SkuNext?: string | null;
43
+ /**
44
+ * FNO Modify Status
45
+ *
46
+ * FNO Modify Status
47
+ * @type {ENUM}
48
+ */
49
+ FnoModifyStatus?: string | null;
50
+ /**
51
+ * FNO Comment
52
+ *
53
+ * FNO Comment
54
+ * @type {TEXT_LONG}
55
+ */
56
+ FnoComment?: string | null;
57
+ /**
58
+ * ISP Modify Status
59
+ *
60
+ * ISP Modify Status
61
+ * @type {ENUM}
62
+ */
63
+ IspModifyStatus?: string | null;
64
+ /**
65
+ * ISP Comment
66
+ *
67
+ * ISP Comment
68
+ * @type {TEXT_LONG}
69
+ */
70
+ IspComment?: string | null;
71
+ }
72
+ /**
73
+ * UpdateModifyServiceRequest
74
+ *
75
+ * @actionType UPDATE - Updates an existing ModifyServiceRequest record
76
+ * @module ServiceModule
77
+ * @entity ModifyServiceRequest
78
+ * @event k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Update.UpdateModifyServiceRequest
79
+ * @permission schema.action.updatemodifyservicerequest.trigger
80
+ * @benchmark This action is tracked for performance benchmarks
81
+ */
82
+ export declare class UpdateModifyServiceRequestDto extends OdinRecordUpdateDto<UpdateModifyServiceRequestProperties> {
83
+ /** Used by SDK generators to identify action type */
84
+ static readonly ACTION_TYPE = "UPDATE";
85
+ static readonly ACTION_KEY = "UpdateModifyServiceRequest";
86
+ static readonly MODULE_NAME = "ServiceModule";
87
+ static readonly ENTITIES: string[];
88
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Update.UpdateModifyServiceRequest";
89
+ static readonly PERMISSION = "schema.action.updatemodifyservicerequest.trigger";
90
+ /** Step metadata - entity this action targets */
91
+ static readonly STEP_ENTITY = "ServiceModule:ModifyServiceRequest";
92
+ static readonly STEP_SCHEMA_ID = "e3ee21c4-f2bf-4931-867d-e02e70699221";
93
+ static readonly STEP_SCHEMA_ACTION_ID = "1065703e-e4d3-4010-bab0-4b0c08534c1d";
94
+ static readonly AUTO_LINK_PARENT = false;
95
+ readonly actionName: string;
96
+ readonly schemaActionId: string;
97
+ readonly entity: string;
98
+ constructor(record: OdinRecord<any> | {
99
+ id: string;
100
+ entity: string;
101
+ type?: string;
102
+ }, properties: UpdateModifyServiceRequestProperties, options?: {
103
+ journeyId?: string;
104
+ stageKey?: string;
105
+ });
106
+ }
107
+ declare type StepClassMap = {
108
+ UpdateModifyServiceRequestDto: UpdateModifyServiceRequestDto;
109
+ };
110
+ /**
111
+ * Link definition for connecting steps in MoveMsrToComplete
112
+ */
113
+ export interface MoveMsrToCompleteStepLink {
114
+ /**
115
+ * The stepKey of the target step to link TO
116
+ * Must reference another step's stepKey in the same flow
117
+ */
118
+ stepKey: string;
119
+ /**
120
+ * The schema association ID (UUID) defining the relationship
121
+ * Use the association.id from the schema association definition
122
+ * @example "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
123
+ */
124
+ schemaAssociationId: string;
125
+ }
126
+ /**
127
+ * Step definition with linking metadata for MoveMsrToComplete
128
+ */
129
+ export interface MoveMsrToCompleteStepDefinition {
130
+ /** Unique identifier for this step */
131
+ stepKey: string;
132
+ /** The DTO class name for this step */
133
+ dtoClass: string;
134
+ /** The entity this step creates (Module:Entity format) */
135
+ entity: string;
136
+ /** Links to create after this step executes */
137
+ linksTo: MoveMsrToCompleteStepLink[] | null;
138
+ }
139
+ /**
140
+ * Type-safe step keys for MoveMsrToComplete
141
+ */
142
+ export declare const MoveMsrToCompleteSteps: {
143
+ readonly step_1: "step_1";
144
+ };
145
+ export declare type MoveMsrToCompleteStepKey = typeof MoveMsrToCompleteSteps[keyof typeof MoveMsrToCompleteSteps];
146
+ /**
147
+ * RabbitMQ message payload for MoveMsrToComplete step flow events
148
+ *
149
+ * @event k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToComplete
150
+ */
151
+ export interface MoveMsrToCompleteMessage extends OdinRecordUpdatedEvent<MoveMsrToCompleteDto, {}> {
152
+ }
153
+ /**
154
+ * Properties for MoveMsrToComplete action
155
+ *
156
+ */
157
+ export interface MoveMsrToCompleteProperties {
158
+ }
159
+ /**
160
+ * MoveMsrToComplete
161
+ *
162
+ * @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
163
+ * @module ServiceModule
164
+ * @entity ModifyServiceRequest
165
+ * @entityType DEFAULT (Default)
166
+ * @targetStages ModifyServiceRequestStateStageCompleted
167
+ * @event k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToComplete
168
+ * @permission schema.action.movemsrtocomplete.trigger
169
+ * @benchmark This action is tracked for performance benchmarks
170
+ */
171
+ export declare class MoveMsrToCompleteDto extends OdinRecordUpdateDto<Record<string, any>> {
172
+ /** Used by SDK generators to identify action type */
173
+ static readonly ACTION_TYPE = "UPDATE";
174
+ static readonly ACTION_KEY = "MoveMsrToComplete";
175
+ static readonly MODULE_NAME = "ServiceModule";
176
+ static readonly ENTITIES: string[];
177
+ static readonly ENTITY_TYPE = "DEFAULT";
178
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToComplete";
179
+ static readonly SCHEMA_ACTION_ID = "0ed0ba7e-f75e-4765-a7fa-557b25e4dcc6";
180
+ static readonly PERMISSION = "schema.action.movemsrtocomplete.trigger";
181
+ static readonly TARGET_STAGES: readonly ["ModifyServiceRequestStateStageCompleted"];
182
+ static readonly IS_STAGE_TRANSITION = true;
183
+ static readonly IS_MULTI_STEP_FLOW = false;
184
+ static readonly HAS_STEP_LINKS = false;
185
+ /**
186
+ * Step definitions with linking metadata
187
+ * Used by SDK and backend for auto-linking after step execution
188
+ */
189
+ static readonly stepDefinitions: MoveMsrToCompleteStepDefinition[];
190
+ /** Type-safe step key accessor */
191
+ static readonly Steps: {
192
+ readonly step_1: "step_1";
193
+ };
194
+ readonly actionName: string;
195
+ readonly schemaActionId: string;
196
+ readonly entity: string;
197
+ readonly stageKey: string;
198
+ constructor(record: OdinRecord<any> | {
199
+ id: string;
200
+ entity: string;
201
+ type?: string;
202
+ }, options?: {
203
+ journeyId?: string;
204
+ });
205
+ /** Step classes that can be used with this action */
206
+ static readonly stepClasses: readonly ["UpdateModifyServiceRequestDto"];
207
+ steps: StepClassMap[(typeof MoveMsrToCompleteDto.stepClasses)[number]][];
208
+ }
209
+ export {};
@@ -0,0 +1,118 @@
1
+ "use strict";
2
+ /**
3
+ * MoveMsrToComplete Action DTO
4
+ *
5
+ * MoveMsrToComplete
6
+ *
7
+ * @module ServiceModule
8
+ * @entity ModifyServiceRequest
9
+ * @entityType DEFAULT
10
+ * @actionKey MoveMsrToComplete
11
+ * @event k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToComplete
12
+ *
13
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.MoveMsrToCompleteDto = exports.MoveMsrToCompleteSteps = exports.UpdateModifyServiceRequestDto = void 0;
17
+ const core_1 = require("@d19n/odin-types/dist/core");
18
+ /**
19
+ * UpdateModifyServiceRequest
20
+ *
21
+ * @actionType UPDATE - Updates an existing ModifyServiceRequest record
22
+ * @module ServiceModule
23
+ * @entity ModifyServiceRequest
24
+ * @event k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Update.UpdateModifyServiceRequest
25
+ * @permission schema.action.updatemodifyservicerequest.trigger
26
+ * @benchmark This action is tracked for performance benchmarks
27
+ */
28
+ class UpdateModifyServiceRequestDto extends core_1.OdinRecordUpdateDto {
29
+ constructor(record, properties, options) {
30
+ super({
31
+ id: record.id,
32
+ entity: record.entity,
33
+ type: record.type,
34
+ properties,
35
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
36
+ stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
37
+ });
38
+ this.actionName = 'UpdateModifyServiceRequest';
39
+ this.schemaActionId = '1065703e-e4d3-4010-bab0-4b0c08534c1d';
40
+ this.entity = 'ServiceModule:ModifyServiceRequest';
41
+ }
42
+ }
43
+ exports.UpdateModifyServiceRequestDto = UpdateModifyServiceRequestDto;
44
+ /** Used by SDK generators to identify action type */
45
+ UpdateModifyServiceRequestDto.ACTION_TYPE = 'UPDATE';
46
+ UpdateModifyServiceRequestDto.ACTION_KEY = 'UpdateModifyServiceRequest';
47
+ UpdateModifyServiceRequestDto.MODULE_NAME = 'ServiceModule';
48
+ UpdateModifyServiceRequestDto.ENTITIES = ['ModifyServiceRequest'];
49
+ UpdateModifyServiceRequestDto.EVENT_NAME = 'k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Update.UpdateModifyServiceRequest';
50
+ UpdateModifyServiceRequestDto.PERMISSION = 'schema.action.updatemodifyservicerequest.trigger';
51
+ /** Step metadata - entity this action targets */
52
+ UpdateModifyServiceRequestDto.STEP_ENTITY = 'ServiceModule:ModifyServiceRequest';
53
+ UpdateModifyServiceRequestDto.STEP_SCHEMA_ID = 'e3ee21c4-f2bf-4931-867d-e02e70699221';
54
+ UpdateModifyServiceRequestDto.STEP_SCHEMA_ACTION_ID = '1065703e-e4d3-4010-bab0-4b0c08534c1d';
55
+ UpdateModifyServiceRequestDto.AUTO_LINK_PARENT = false;
56
+ /**
57
+ * Type-safe step keys for MoveMsrToComplete
58
+ */
59
+ exports.MoveMsrToCompleteSteps = {
60
+ step_1: 'step_1',
61
+ };
62
+ /**
63
+ * MoveMsrToComplete
64
+ *
65
+ * @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
66
+ * @module ServiceModule
67
+ * @entity ModifyServiceRequest
68
+ * @entityType DEFAULT (Default)
69
+ * @targetStages ModifyServiceRequestStateStageCompleted
70
+ * @event k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToComplete
71
+ * @permission schema.action.movemsrtocomplete.trigger
72
+ * @benchmark This action is tracked for performance benchmarks
73
+ */
74
+ class MoveMsrToCompleteDto extends core_1.OdinRecordUpdateDto {
75
+ constructor(record, options) {
76
+ super({
77
+ id: record.id,
78
+ entity: record.entity,
79
+ type: record.type,
80
+ properties: {},
81
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
82
+ });
83
+ this.actionName = 'MoveMsrToComplete';
84
+ this.schemaActionId = '0ed0ba7e-f75e-4765-a7fa-557b25e4dcc6';
85
+ this.entity = 'ServiceModule:ModifyServiceRequest';
86
+ this.stageKey = 'ModifyServiceRequestStateStageCompleted';
87
+ }
88
+ }
89
+ exports.MoveMsrToCompleteDto = MoveMsrToCompleteDto;
90
+ /** Used by SDK generators to identify action type */
91
+ MoveMsrToCompleteDto.ACTION_TYPE = 'UPDATE';
92
+ MoveMsrToCompleteDto.ACTION_KEY = 'MoveMsrToComplete';
93
+ MoveMsrToCompleteDto.MODULE_NAME = 'ServiceModule';
94
+ MoveMsrToCompleteDto.ENTITIES = ['ModifyServiceRequest'];
95
+ MoveMsrToCompleteDto.ENTITY_TYPE = 'DEFAULT';
96
+ MoveMsrToCompleteDto.EVENT_NAME = 'k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToComplete';
97
+ MoveMsrToCompleteDto.SCHEMA_ACTION_ID = '0ed0ba7e-f75e-4765-a7fa-557b25e4dcc6';
98
+ MoveMsrToCompleteDto.PERMISSION = 'schema.action.movemsrtocomplete.trigger';
99
+ MoveMsrToCompleteDto.TARGET_STAGES = ['ModifyServiceRequestStateStageCompleted'];
100
+ MoveMsrToCompleteDto.IS_STAGE_TRANSITION = true;
101
+ MoveMsrToCompleteDto.IS_MULTI_STEP_FLOW = false;
102
+ MoveMsrToCompleteDto.HAS_STEP_LINKS = false;
103
+ /**
104
+ * Step definitions with linking metadata
105
+ * Used by SDK and backend for auto-linking after step execution
106
+ */
107
+ MoveMsrToCompleteDto.stepDefinitions = [
108
+ {
109
+ stepKey: 'step_1',
110
+ dtoClass: 'UpdateModifyServiceRequestDto',
111
+ entity: 'ServiceModule:ModifyServiceRequest',
112
+ linksTo: null
113
+ }
114
+ ];
115
+ /** Type-safe step key accessor */
116
+ MoveMsrToCompleteDto.Steps = exports.MoveMsrToCompleteSteps;
117
+ /** Step classes that can be used with this action */
118
+ MoveMsrToCompleteDto.stepClasses = ['UpdateModifyServiceRequestDto'];
@@ -0,0 +1,209 @@
1
+ /**
2
+ * MoveMsrToFailed Action DTO
3
+ *
4
+ * MoveMsrToFailed
5
+ *
6
+ * @module ServiceModule
7
+ * @entity ModifyServiceRequest
8
+ * @entityType DEFAULT
9
+ * @actionKey MoveMsrToFailed
10
+ * @event k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToFailed
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
15
+ /**
16
+ * Properties for UpdateModifyServiceRequest action
17
+ *
18
+ * @property Required fields: 0
19
+ * @property Optional fields: 7
20
+ */
21
+ export interface UpdateModifyServiceRequestProperties {
22
+ /**
23
+ * Service ID
24
+ *
25
+ * The ID of the service being modified
26
+ * @type {TEXT}
27
+ */
28
+ ServiceId?: string | null;
29
+ /**
30
+ * SKU Previous
31
+ *
32
+ * The previous SKU being modified from (Used for Line Profile mapping)
33
+ * @type {TEXT}
34
+ */
35
+ SkuPrevious?: string | null;
36
+ /**
37
+ * SKU Next
38
+ *
39
+ * The next SKU being modified to (Used for Line Profile mapping)
40
+ * @type {TEXT}
41
+ */
42
+ SkuNext?: string | null;
43
+ /**
44
+ * FNO Modify Status
45
+ *
46
+ * FNO Modify Status
47
+ * @type {ENUM}
48
+ */
49
+ FnoModifyStatus?: string | null;
50
+ /**
51
+ * FNO Comment
52
+ *
53
+ * FNO Comment
54
+ * @type {TEXT_LONG}
55
+ */
56
+ FnoComment?: string | null;
57
+ /**
58
+ * ISP Modify Status
59
+ *
60
+ * ISP Modify Status
61
+ * @type {ENUM}
62
+ */
63
+ IspModifyStatus?: string | null;
64
+ /**
65
+ * ISP Comment
66
+ *
67
+ * ISP Comment
68
+ * @type {TEXT_LONG}
69
+ */
70
+ IspComment?: string | null;
71
+ }
72
+ /**
73
+ * UpdateModifyServiceRequest
74
+ *
75
+ * @actionType UPDATE - Updates an existing ModifyServiceRequest record
76
+ * @module ServiceModule
77
+ * @entity ModifyServiceRequest
78
+ * @event k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Update.UpdateModifyServiceRequest
79
+ * @permission schema.action.updatemodifyservicerequest.trigger
80
+ * @benchmark This action is tracked for performance benchmarks
81
+ */
82
+ export declare class UpdateModifyServiceRequestDto extends OdinRecordUpdateDto<UpdateModifyServiceRequestProperties> {
83
+ /** Used by SDK generators to identify action type */
84
+ static readonly ACTION_TYPE = "UPDATE";
85
+ static readonly ACTION_KEY = "UpdateModifyServiceRequest";
86
+ static readonly MODULE_NAME = "ServiceModule";
87
+ static readonly ENTITIES: string[];
88
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Update.UpdateModifyServiceRequest";
89
+ static readonly PERMISSION = "schema.action.updatemodifyservicerequest.trigger";
90
+ /** Step metadata - entity this action targets */
91
+ static readonly STEP_ENTITY = "ServiceModule:ModifyServiceRequest";
92
+ static readonly STEP_SCHEMA_ID = "e3ee21c4-f2bf-4931-867d-e02e70699221";
93
+ static readonly STEP_SCHEMA_ACTION_ID = "1065703e-e4d3-4010-bab0-4b0c08534c1d";
94
+ static readonly AUTO_LINK_PARENT = false;
95
+ readonly actionName: string;
96
+ readonly schemaActionId: string;
97
+ readonly entity: string;
98
+ constructor(record: OdinRecord<any> | {
99
+ id: string;
100
+ entity: string;
101
+ type?: string;
102
+ }, properties: UpdateModifyServiceRequestProperties, options?: {
103
+ journeyId?: string;
104
+ stageKey?: string;
105
+ });
106
+ }
107
+ declare type StepClassMap = {
108
+ UpdateModifyServiceRequestDto: UpdateModifyServiceRequestDto;
109
+ };
110
+ /**
111
+ * Link definition for connecting steps in MoveMsrToFailed
112
+ */
113
+ export interface MoveMsrToFailedStepLink {
114
+ /**
115
+ * The stepKey of the target step to link TO
116
+ * Must reference another step's stepKey in the same flow
117
+ */
118
+ stepKey: string;
119
+ /**
120
+ * The schema association ID (UUID) defining the relationship
121
+ * Use the association.id from the schema association definition
122
+ * @example "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
123
+ */
124
+ schemaAssociationId: string;
125
+ }
126
+ /**
127
+ * Step definition with linking metadata for MoveMsrToFailed
128
+ */
129
+ export interface MoveMsrToFailedStepDefinition {
130
+ /** Unique identifier for this step */
131
+ stepKey: string;
132
+ /** The DTO class name for this step */
133
+ dtoClass: string;
134
+ /** The entity this step creates (Module:Entity format) */
135
+ entity: string;
136
+ /** Links to create after this step executes */
137
+ linksTo: MoveMsrToFailedStepLink[] | null;
138
+ }
139
+ /**
140
+ * Type-safe step keys for MoveMsrToFailed
141
+ */
142
+ export declare const MoveMsrToFailedSteps: {
143
+ readonly step_1: "step_1";
144
+ };
145
+ export declare type MoveMsrToFailedStepKey = typeof MoveMsrToFailedSteps[keyof typeof MoveMsrToFailedSteps];
146
+ /**
147
+ * RabbitMQ message payload for MoveMsrToFailed step flow events
148
+ *
149
+ * @event k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToFailed
150
+ */
151
+ export interface MoveMsrToFailedMessage extends OdinRecordUpdatedEvent<MoveMsrToFailedDto, {}> {
152
+ }
153
+ /**
154
+ * Properties for MoveMsrToFailed action
155
+ *
156
+ */
157
+ export interface MoveMsrToFailedProperties {
158
+ }
159
+ /**
160
+ * MoveMsrToFailed
161
+ *
162
+ * @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
163
+ * @module ServiceModule
164
+ * @entity ModifyServiceRequest
165
+ * @entityType DEFAULT (Default)
166
+ * @targetStages ModifyServiceRequestStateStageFailed
167
+ * @event k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToFailed
168
+ * @permission schema.action.movemsrtofailed.trigger
169
+ * @benchmark This action is tracked for performance benchmarks
170
+ */
171
+ export declare class MoveMsrToFailedDto extends OdinRecordUpdateDto<Record<string, any>> {
172
+ /** Used by SDK generators to identify action type */
173
+ static readonly ACTION_TYPE = "UPDATE";
174
+ static readonly ACTION_KEY = "MoveMsrToFailed";
175
+ static readonly MODULE_NAME = "ServiceModule";
176
+ static readonly ENTITIES: string[];
177
+ static readonly ENTITY_TYPE = "DEFAULT";
178
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToFailed";
179
+ static readonly SCHEMA_ACTION_ID = "32465a7c-9129-468a-b6ab-24567cfed5c6";
180
+ static readonly PERMISSION = "schema.action.movemsrtofailed.trigger";
181
+ static readonly TARGET_STAGES: readonly ["ModifyServiceRequestStateStageFailed"];
182
+ static readonly IS_STAGE_TRANSITION = true;
183
+ static readonly IS_MULTI_STEP_FLOW = false;
184
+ static readonly HAS_STEP_LINKS = false;
185
+ /**
186
+ * Step definitions with linking metadata
187
+ * Used by SDK and backend for auto-linking after step execution
188
+ */
189
+ static readonly stepDefinitions: MoveMsrToFailedStepDefinition[];
190
+ /** Type-safe step key accessor */
191
+ static readonly Steps: {
192
+ readonly step_1: "step_1";
193
+ };
194
+ readonly actionName: string;
195
+ readonly schemaActionId: string;
196
+ readonly entity: string;
197
+ readonly stageKey: string;
198
+ constructor(record: OdinRecord<any> | {
199
+ id: string;
200
+ entity: string;
201
+ type?: string;
202
+ }, options?: {
203
+ journeyId?: string;
204
+ });
205
+ /** Step classes that can be used with this action */
206
+ static readonly stepClasses: readonly ["UpdateModifyServiceRequestDto"];
207
+ steps: StepClassMap[(typeof MoveMsrToFailedDto.stepClasses)[number]][];
208
+ }
209
+ export {};
@@ -0,0 +1,118 @@
1
+ "use strict";
2
+ /**
3
+ * MoveMsrToFailed Action DTO
4
+ *
5
+ * MoveMsrToFailed
6
+ *
7
+ * @module ServiceModule
8
+ * @entity ModifyServiceRequest
9
+ * @entityType DEFAULT
10
+ * @actionKey MoveMsrToFailed
11
+ * @event k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToFailed
12
+ *
13
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.MoveMsrToFailedDto = exports.MoveMsrToFailedSteps = exports.UpdateModifyServiceRequestDto = void 0;
17
+ const core_1 = require("@d19n/odin-types/dist/core");
18
+ /**
19
+ * UpdateModifyServiceRequest
20
+ *
21
+ * @actionType UPDATE - Updates an existing ModifyServiceRequest record
22
+ * @module ServiceModule
23
+ * @entity ModifyServiceRequest
24
+ * @event k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Update.UpdateModifyServiceRequest
25
+ * @permission schema.action.updatemodifyservicerequest.trigger
26
+ * @benchmark This action is tracked for performance benchmarks
27
+ */
28
+ class UpdateModifyServiceRequestDto extends core_1.OdinRecordUpdateDto {
29
+ constructor(record, properties, options) {
30
+ super({
31
+ id: record.id,
32
+ entity: record.entity,
33
+ type: record.type,
34
+ properties,
35
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
36
+ stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
37
+ });
38
+ this.actionName = 'UpdateModifyServiceRequest';
39
+ this.schemaActionId = '1065703e-e4d3-4010-bab0-4b0c08534c1d';
40
+ this.entity = 'ServiceModule:ModifyServiceRequest';
41
+ }
42
+ }
43
+ exports.UpdateModifyServiceRequestDto = UpdateModifyServiceRequestDto;
44
+ /** Used by SDK generators to identify action type */
45
+ UpdateModifyServiceRequestDto.ACTION_TYPE = 'UPDATE';
46
+ UpdateModifyServiceRequestDto.ACTION_KEY = 'UpdateModifyServiceRequest';
47
+ UpdateModifyServiceRequestDto.MODULE_NAME = 'ServiceModule';
48
+ UpdateModifyServiceRequestDto.ENTITIES = ['ModifyServiceRequest'];
49
+ UpdateModifyServiceRequestDto.EVENT_NAME = 'k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Update.UpdateModifyServiceRequest';
50
+ UpdateModifyServiceRequestDto.PERMISSION = 'schema.action.updatemodifyservicerequest.trigger';
51
+ /** Step metadata - entity this action targets */
52
+ UpdateModifyServiceRequestDto.STEP_ENTITY = 'ServiceModule:ModifyServiceRequest';
53
+ UpdateModifyServiceRequestDto.STEP_SCHEMA_ID = 'e3ee21c4-f2bf-4931-867d-e02e70699221';
54
+ UpdateModifyServiceRequestDto.STEP_SCHEMA_ACTION_ID = '1065703e-e4d3-4010-bab0-4b0c08534c1d';
55
+ UpdateModifyServiceRequestDto.AUTO_LINK_PARENT = false;
56
+ /**
57
+ * Type-safe step keys for MoveMsrToFailed
58
+ */
59
+ exports.MoveMsrToFailedSteps = {
60
+ step_1: 'step_1',
61
+ };
62
+ /**
63
+ * MoveMsrToFailed
64
+ *
65
+ * @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
66
+ * @module ServiceModule
67
+ * @entity ModifyServiceRequest
68
+ * @entityType DEFAULT (Default)
69
+ * @targetStages ModifyServiceRequestStateStageFailed
70
+ * @event k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToFailed
71
+ * @permission schema.action.movemsrtofailed.trigger
72
+ * @benchmark This action is tracked for performance benchmarks
73
+ */
74
+ class MoveMsrToFailedDto extends core_1.OdinRecordUpdateDto {
75
+ constructor(record, options) {
76
+ super({
77
+ id: record.id,
78
+ entity: record.entity,
79
+ type: record.type,
80
+ properties: {},
81
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
82
+ });
83
+ this.actionName = 'MoveMsrToFailed';
84
+ this.schemaActionId = '32465a7c-9129-468a-b6ab-24567cfed5c6';
85
+ this.entity = 'ServiceModule:ModifyServiceRequest';
86
+ this.stageKey = 'ModifyServiceRequestStateStageFailed';
87
+ }
88
+ }
89
+ exports.MoveMsrToFailedDto = MoveMsrToFailedDto;
90
+ /** Used by SDK generators to identify action type */
91
+ MoveMsrToFailedDto.ACTION_TYPE = 'UPDATE';
92
+ MoveMsrToFailedDto.ACTION_KEY = 'MoveMsrToFailed';
93
+ MoveMsrToFailedDto.MODULE_NAME = 'ServiceModule';
94
+ MoveMsrToFailedDto.ENTITIES = ['ModifyServiceRequest'];
95
+ MoveMsrToFailedDto.ENTITY_TYPE = 'DEFAULT';
96
+ MoveMsrToFailedDto.EVENT_NAME = 'k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToFailed';
97
+ MoveMsrToFailedDto.SCHEMA_ACTION_ID = '32465a7c-9129-468a-b6ab-24567cfed5c6';
98
+ MoveMsrToFailedDto.PERMISSION = 'schema.action.movemsrtofailed.trigger';
99
+ MoveMsrToFailedDto.TARGET_STAGES = ['ModifyServiceRequestStateStageFailed'];
100
+ MoveMsrToFailedDto.IS_STAGE_TRANSITION = true;
101
+ MoveMsrToFailedDto.IS_MULTI_STEP_FLOW = false;
102
+ MoveMsrToFailedDto.HAS_STEP_LINKS = false;
103
+ /**
104
+ * Step definitions with linking metadata
105
+ * Used by SDK and backend for auto-linking after step execution
106
+ */
107
+ MoveMsrToFailedDto.stepDefinitions = [
108
+ {
109
+ stepKey: 'step_1',
110
+ dtoClass: 'UpdateModifyServiceRequestDto',
111
+ entity: 'ServiceModule:ModifyServiceRequest',
112
+ linksTo: null
113
+ }
114
+ ];
115
+ /** Type-safe step key accessor */
116
+ MoveMsrToFailedDto.Steps = exports.MoveMsrToFailedSteps;
117
+ /** Step classes that can be used with this action */
118
+ MoveMsrToFailedDto.stepClasses = ['UpdateModifyServiceRequestDto'];