@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
package/README.md CHANGED
@@ -353,7 +353,7 @@ This SDK includes **165** entities across **12** modules.
353
353
 
354
354
  ## Actions
355
355
 
356
- This SDK includes **661** actions.
356
+ This SDK includes **671** actions.
357
357
 
358
358
  ### Action Types
359
359
 
@@ -1126,8 +1126,23 @@ This SDK includes **661** actions.
1126
1126
  | Action | Type | Event |
1127
1127
  |--------|------|-------|
1128
1128
  | `CreateAccountCredit` | CREATE | k1.t-hEOJjsDb.BillingModule.AccountCredit.Create.CreateAccountCredit |
1129
+ | `MoveAccountCreditToCancelled` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.AccountCredit.Transition.MoveAccountCreditToCancelled |
1130
+ | `MoveAccountCreditToComplete` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.AccountCredit.Transition.MoveAccountCreditToComplete |
1131
+ | `MoveAccountCreditToInProgress` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.AccountCredit.Transition.MoveAccountCreditToInProgress |
1132
+ | `MoveAccountCreditToPending` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.AccountCredit.Transition.MoveAccountCreditToPending |
1133
+ | `MoveAccountCreditToVoid` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.AccountCredit.Transition.MoveAccountCreditToVoid |
1129
1134
  | `UpdateAccountCreditBalance` | UPDATE | k1.t-hEOJjsDb.BillingModule.AccountCredit.Update.UpdateAccountCreditBalance |
1130
1135
 
1136
+ **MoveAccountCreditToCancelled Target Stages:** `AccountCreditStageCancelled`
1137
+
1138
+ **MoveAccountCreditToComplete Target Stages:** `AccountCreditStageComplete`
1139
+
1140
+ **MoveAccountCreditToInProgress Target Stages:** `AccountCreditStageInProgress`
1141
+
1142
+ **MoveAccountCreditToPending Target Stages:** `AccountCreditStagePending`
1143
+
1144
+ **MoveAccountCreditToVoid Target Stages:** `AccountCreditStageVoid`
1145
+
1131
1146
  #### ActivityLog
1132
1147
 
1133
1148
  | Action | Type | Event |
@@ -1149,6 +1164,8 @@ This SDK includes **661** actions.
1149
1164
  | `UpdateAgentCallLegOnIncomingCallAnswered` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallAnswered |
1150
1165
  | `UpdateAgentCallLegOnIncomingCallCanceled` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallCanceled |
1151
1166
  | `UpdateAgentCallLegOnIncomingCallCompleted` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallCompleted |
1167
+ | `UpdateAgentCallLegOnIncomingCallFailed` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallFailed |
1168
+ | `UpdateAgentCallLegOnIncomingCallNoAnswer` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallNoAnswer |
1152
1169
  | `UpdateAgentCallLegOnIncomingCallRinging` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallRinging |
1153
1170
  | `UpdateAgentCallLegOnOutboundCallAnswered` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallAnswered |
1154
1171
  | `UpdateAgentCallLegOnOutboundCallCompleted` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallCompleted |
@@ -1156,6 +1173,7 @@ This SDK includes **661** actions.
1156
1173
  | `UpdateAgentCallLegOnOutboundCallNoAnswer` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnOutboundCallNoAnswer |
1157
1174
  | `UpdateCall` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCall |
1158
1175
  | `UpdateCustomerCallLegOnIncomingCallAnswered` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallAnswered |
1176
+ | `UpdateCustomerCallLegOnIncomingCallNoAnswer` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnIncomingCallNoAnswer |
1159
1177
  | `UpdateCustomerCallLegOnNumberCallStatusCompleted` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnNumberCallStatusCompleted |
1160
1178
  | `UpdateCustomerCallLegOnOutboundCallAnswered` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnOutboundCallAnswered |
1161
1179
  | `UpdateCustomerCallLegOnOutboundCallCompleted` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateCustomerCallLegOnOutboundCallCompleted |
@@ -1225,7 +1243,9 @@ This SDK includes **661** actions.
1225
1243
  | `UpdateCallOnInboundCallAnswered` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnInboundCallAnswered |
1226
1244
  | `UpdateCallOnInboundCallCanceled` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnInboundCallCanceled |
1227
1245
  | `UpdateCallOnInboundCallCompleted` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnInboundCallCompleted |
1246
+ | `UpdateCallOnInboundCallFailed` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnInboundCallFailed |
1228
1247
  | `UpdateCallOnInboundCallInitiated` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnInboundCallInitiated |
1248
+ | `UpdateCallOnInboundCallNoAnswer` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnInboundCallNoAnswer |
1229
1249
  | `UpdateCallOnInboundCallRinging` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnInboundCallRinging |
1230
1250
  | `UpdateCallOnNumberCallStatusCompleted` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnNumberCallStatusCompleted |
1231
1251
  | `UpdateCallOnOutboundCallAnswered` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundCallAnswered |
@@ -0,0 +1,115 @@
1
+ /**
2
+ * MoveAccountCreditToCancelled Action DTO
3
+ *
4
+ * MoveAccountCreditToCancelled
5
+ *
6
+ * @module BillingModule
7
+ * @entity AccountCredit
8
+ * @entityType DEFAULT
9
+ * @actionKey MoveAccountCreditToCancelled
10
+ * @event k1.t-hEOJjsDb.BillingModule.AccountCredit.Transition.MoveAccountCreditToCancelled
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 MoveAccountCreditToCancelled
18
+ */
19
+ export interface MoveAccountCreditToCancelledStepLink {
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 MoveAccountCreditToCancelled
34
+ */
35
+ export interface MoveAccountCreditToCancelledStepDefinition {
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: MoveAccountCreditToCancelledStepLink[] | null;
44
+ }
45
+ /**
46
+ * Type-safe step keys for MoveAccountCreditToCancelled
47
+ */
48
+ export declare const MoveAccountCreditToCancelledSteps: {
49
+ readonly step_1: "step_1";
50
+ };
51
+ export declare type MoveAccountCreditToCancelledStepKey = typeof MoveAccountCreditToCancelledSteps[keyof typeof MoveAccountCreditToCancelledSteps];
52
+ /**
53
+ * RabbitMQ message payload for MoveAccountCreditToCancelled step flow events
54
+ *
55
+ * @event k1.t-hEOJjsDb.BillingModule.AccountCredit.Transition.MoveAccountCreditToCancelled
56
+ */
57
+ export interface MoveAccountCreditToCancelledMessage extends OdinRecordUpdatedEvent<MoveAccountCreditToCancelledDto, {}> {
58
+ }
59
+ /**
60
+ * Properties for MoveAccountCreditToCancelled action
61
+ *
62
+ */
63
+ export interface MoveAccountCreditToCancelledProperties {
64
+ }
65
+ /**
66
+ * MoveAccountCreditToCancelled
67
+ *
68
+ * @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
69
+ * @module BillingModule
70
+ * @entity AccountCredit
71
+ * @entityType DEFAULT (Default)
72
+ * @targetStages AccountCreditStageCancelled
73
+ * @event k1.t-hEOJjsDb.BillingModule.AccountCredit.Transition.MoveAccountCreditToCancelled
74
+ * @permission schema.action.moveaccountcredittocancelled.trigger
75
+ * @benchmark This action is tracked for performance benchmarks
76
+ */
77
+ export declare class MoveAccountCreditToCancelledDto 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 = "MoveAccountCreditToCancelled";
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.MoveAccountCreditToCancelled";
85
+ static readonly SCHEMA_ACTION_ID = "7d4138f2-2571-497f-9440-e12506bfad25";
86
+ static readonly PERMISSION = "schema.action.moveaccountcredittocancelled.trigger";
87
+ static readonly TARGET_STAGES: readonly ["AccountCreditStageCancelled"];
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: MoveAccountCreditToCancelledStepDefinition[];
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 MoveAccountCreditToCancelledDto.stepClasses)[number]][];
114
+ }
115
+ export {};
@@ -0,0 +1,80 @@
1
+ "use strict";
2
+ /**
3
+ * MoveAccountCreditToCancelled Action DTO
4
+ *
5
+ * MoveAccountCreditToCancelled
6
+ *
7
+ * @module BillingModule
8
+ * @entity AccountCredit
9
+ * @entityType DEFAULT
10
+ * @actionKey MoveAccountCreditToCancelled
11
+ * @event k1.t-hEOJjsDb.BillingModule.AccountCredit.Transition.MoveAccountCreditToCancelled
12
+ *
13
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.MoveAccountCreditToCancelledDto = exports.MoveAccountCreditToCancelledSteps = void 0;
17
+ const core_1 = require("@d19n/odin-types/dist/core");
18
+ /**
19
+ * Type-safe step keys for MoveAccountCreditToCancelled
20
+ */
21
+ exports.MoveAccountCreditToCancelledSteps = {
22
+ step_1: 'step_1',
23
+ };
24
+ /**
25
+ * MoveAccountCreditToCancelled
26
+ *
27
+ * @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
28
+ * @module BillingModule
29
+ * @entity AccountCredit
30
+ * @entityType DEFAULT (Default)
31
+ * @targetStages AccountCreditStageCancelled
32
+ * @event k1.t-hEOJjsDb.BillingModule.AccountCredit.Transition.MoveAccountCreditToCancelled
33
+ * @permission schema.action.moveaccountcredittocancelled.trigger
34
+ * @benchmark This action is tracked for performance benchmarks
35
+ */
36
+ class MoveAccountCreditToCancelledDto 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 = 'MoveAccountCreditToCancelled';
46
+ this.schemaActionId = '7d4138f2-2571-497f-9440-e12506bfad25';
47
+ this.entity = 'BillingModule:AccountCredit';
48
+ this.stageKey = 'AccountCreditStageCancelled';
49
+ }
50
+ }
51
+ exports.MoveAccountCreditToCancelledDto = MoveAccountCreditToCancelledDto;
52
+ /** Used by SDK generators to identify action type */
53
+ MoveAccountCreditToCancelledDto.ACTION_TYPE = 'UPDATE';
54
+ MoveAccountCreditToCancelledDto.ACTION_KEY = 'MoveAccountCreditToCancelled';
55
+ MoveAccountCreditToCancelledDto.MODULE_NAME = 'BillingModule';
56
+ MoveAccountCreditToCancelledDto.ENTITIES = ['AccountCredit'];
57
+ MoveAccountCreditToCancelledDto.ENTITY_TYPE = 'DEFAULT';
58
+ MoveAccountCreditToCancelledDto.EVENT_NAME = 'k1.t-hEOJjsDb.BillingModule.AccountCredit.Transition.MoveAccountCreditToCancelled';
59
+ MoveAccountCreditToCancelledDto.SCHEMA_ACTION_ID = '7d4138f2-2571-497f-9440-e12506bfad25';
60
+ MoveAccountCreditToCancelledDto.PERMISSION = 'schema.action.moveaccountcredittocancelled.trigger';
61
+ MoveAccountCreditToCancelledDto.TARGET_STAGES = ['AccountCreditStageCancelled'];
62
+ MoveAccountCreditToCancelledDto.IS_STAGE_TRANSITION = true;
63
+ MoveAccountCreditToCancelledDto.IS_MULTI_STEP_FLOW = false;
64
+ MoveAccountCreditToCancelledDto.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
+ MoveAccountCreditToCancelledDto.stepDefinitions = [
70
+ {
71
+ stepKey: 'step_1',
72
+ dtoClass: 'unknown',
73
+ entity: 'unknown',
74
+ linksTo: null
75
+ }
76
+ ];
77
+ /** Type-safe step key accessor */
78
+ MoveAccountCreditToCancelledDto.Steps = exports.MoveAccountCreditToCancelledSteps;
79
+ /** Step classes that can be used with this action */
80
+ MoveAccountCreditToCancelledDto.stepClasses = [];
@@ -0,0 +1,115 @@
1
+ /**
2
+ * MoveAccountCreditToComplete Action DTO
3
+ *
4
+ * MoveAccountCreditToComplete
5
+ *
6
+ * @module BillingModule
7
+ * @entity AccountCredit
8
+ * @entityType DEFAULT
9
+ * @actionKey MoveAccountCreditToComplete
10
+ * @event k1.t-hEOJjsDb.BillingModule.AccountCredit.Transition.MoveAccountCreditToComplete
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 MoveAccountCreditToComplete
18
+ */
19
+ export interface MoveAccountCreditToCompleteStepLink {
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 MoveAccountCreditToComplete
34
+ */
35
+ export interface MoveAccountCreditToCompleteStepDefinition {
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: MoveAccountCreditToCompleteStepLink[] | null;
44
+ }
45
+ /**
46
+ * Type-safe step keys for MoveAccountCreditToComplete
47
+ */
48
+ export declare const MoveAccountCreditToCompleteSteps: {
49
+ readonly step_1: "step_1";
50
+ };
51
+ export declare type MoveAccountCreditToCompleteStepKey = typeof MoveAccountCreditToCompleteSteps[keyof typeof MoveAccountCreditToCompleteSteps];
52
+ /**
53
+ * RabbitMQ message payload for MoveAccountCreditToComplete step flow events
54
+ *
55
+ * @event k1.t-hEOJjsDb.BillingModule.AccountCredit.Transition.MoveAccountCreditToComplete
56
+ */
57
+ export interface MoveAccountCreditToCompleteMessage extends OdinRecordUpdatedEvent<MoveAccountCreditToCompleteDto, {}> {
58
+ }
59
+ /**
60
+ * Properties for MoveAccountCreditToComplete action
61
+ *
62
+ */
63
+ export interface MoveAccountCreditToCompleteProperties {
64
+ }
65
+ /**
66
+ * MoveAccountCreditToComplete
67
+ *
68
+ * @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
69
+ * @module BillingModule
70
+ * @entity AccountCredit
71
+ * @entityType DEFAULT (Default)
72
+ * @targetStages AccountCreditStageComplete
73
+ * @event k1.t-hEOJjsDb.BillingModule.AccountCredit.Transition.MoveAccountCreditToComplete
74
+ * @permission schema.action.moveaccountcredittocomplete.trigger
75
+ * @benchmark This action is tracked for performance benchmarks
76
+ */
77
+ export declare class MoveAccountCreditToCompleteDto 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 = "MoveAccountCreditToComplete";
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.MoveAccountCreditToComplete";
85
+ static readonly SCHEMA_ACTION_ID = "db45fdb7-29cf-44bc-b202-94c1d08645bc";
86
+ static readonly PERMISSION = "schema.action.moveaccountcredittocomplete.trigger";
87
+ static readonly TARGET_STAGES: readonly ["AccountCreditStageComplete"];
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: MoveAccountCreditToCompleteStepDefinition[];
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 MoveAccountCreditToCompleteDto.stepClasses)[number]][];
114
+ }
115
+ export {};
@@ -0,0 +1,80 @@
1
+ "use strict";
2
+ /**
3
+ * MoveAccountCreditToComplete Action DTO
4
+ *
5
+ * MoveAccountCreditToComplete
6
+ *
7
+ * @module BillingModule
8
+ * @entity AccountCredit
9
+ * @entityType DEFAULT
10
+ * @actionKey MoveAccountCreditToComplete
11
+ * @event k1.t-hEOJjsDb.BillingModule.AccountCredit.Transition.MoveAccountCreditToComplete
12
+ *
13
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.MoveAccountCreditToCompleteDto = exports.MoveAccountCreditToCompleteSteps = void 0;
17
+ const core_1 = require("@d19n/odin-types/dist/core");
18
+ /**
19
+ * Type-safe step keys for MoveAccountCreditToComplete
20
+ */
21
+ exports.MoveAccountCreditToCompleteSteps = {
22
+ step_1: 'step_1',
23
+ };
24
+ /**
25
+ * MoveAccountCreditToComplete
26
+ *
27
+ * @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
28
+ * @module BillingModule
29
+ * @entity AccountCredit
30
+ * @entityType DEFAULT (Default)
31
+ * @targetStages AccountCreditStageComplete
32
+ * @event k1.t-hEOJjsDb.BillingModule.AccountCredit.Transition.MoveAccountCreditToComplete
33
+ * @permission schema.action.moveaccountcredittocomplete.trigger
34
+ * @benchmark This action is tracked for performance benchmarks
35
+ */
36
+ class MoveAccountCreditToCompleteDto 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 = 'MoveAccountCreditToComplete';
46
+ this.schemaActionId = 'db45fdb7-29cf-44bc-b202-94c1d08645bc';
47
+ this.entity = 'BillingModule:AccountCredit';
48
+ this.stageKey = 'AccountCreditStageComplete';
49
+ }
50
+ }
51
+ exports.MoveAccountCreditToCompleteDto = MoveAccountCreditToCompleteDto;
52
+ /** Used by SDK generators to identify action type */
53
+ MoveAccountCreditToCompleteDto.ACTION_TYPE = 'UPDATE';
54
+ MoveAccountCreditToCompleteDto.ACTION_KEY = 'MoveAccountCreditToComplete';
55
+ MoveAccountCreditToCompleteDto.MODULE_NAME = 'BillingModule';
56
+ MoveAccountCreditToCompleteDto.ENTITIES = ['AccountCredit'];
57
+ MoveAccountCreditToCompleteDto.ENTITY_TYPE = 'DEFAULT';
58
+ MoveAccountCreditToCompleteDto.EVENT_NAME = 'k1.t-hEOJjsDb.BillingModule.AccountCredit.Transition.MoveAccountCreditToComplete';
59
+ MoveAccountCreditToCompleteDto.SCHEMA_ACTION_ID = 'db45fdb7-29cf-44bc-b202-94c1d08645bc';
60
+ MoveAccountCreditToCompleteDto.PERMISSION = 'schema.action.moveaccountcredittocomplete.trigger';
61
+ MoveAccountCreditToCompleteDto.TARGET_STAGES = ['AccountCreditStageComplete'];
62
+ MoveAccountCreditToCompleteDto.IS_STAGE_TRANSITION = true;
63
+ MoveAccountCreditToCompleteDto.IS_MULTI_STEP_FLOW = false;
64
+ MoveAccountCreditToCompleteDto.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
+ MoveAccountCreditToCompleteDto.stepDefinitions = [
70
+ {
71
+ stepKey: 'step_1',
72
+ dtoClass: 'unknown',
73
+ entity: 'unknown',
74
+ linksTo: null
75
+ }
76
+ ];
77
+ /** Type-safe step key accessor */
78
+ MoveAccountCreditToCompleteDto.Steps = exports.MoveAccountCreditToCompleteSteps;
79
+ /** Step classes that can be used with this action */
80
+ MoveAccountCreditToCompleteDto.stepClasses = [];
@@ -0,0 +1,115 @@
1
+ /**
2
+ * MoveAccountCreditToInProgress Action DTO
3
+ *
4
+ * MoveAccountCreditToInProgress
5
+ *
6
+ * @module BillingModule
7
+ * @entity AccountCredit
8
+ * @entityType DEFAULT
9
+ * @actionKey MoveAccountCreditToInProgress
10
+ * @event k1.t-hEOJjsDb.BillingModule.AccountCredit.Transition.MoveAccountCreditToInProgress
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 MoveAccountCreditToInProgress
18
+ */
19
+ export interface MoveAccountCreditToInProgressStepLink {
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 MoveAccountCreditToInProgress
34
+ */
35
+ export interface MoveAccountCreditToInProgressStepDefinition {
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: MoveAccountCreditToInProgressStepLink[] | null;
44
+ }
45
+ /**
46
+ * Type-safe step keys for MoveAccountCreditToInProgress
47
+ */
48
+ export declare const MoveAccountCreditToInProgressSteps: {
49
+ readonly step_1: "step_1";
50
+ };
51
+ export declare type MoveAccountCreditToInProgressStepKey = typeof MoveAccountCreditToInProgressSteps[keyof typeof MoveAccountCreditToInProgressSteps];
52
+ /**
53
+ * RabbitMQ message payload for MoveAccountCreditToInProgress step flow events
54
+ *
55
+ * @event k1.t-hEOJjsDb.BillingModule.AccountCredit.Transition.MoveAccountCreditToInProgress
56
+ */
57
+ export interface MoveAccountCreditToInProgressMessage extends OdinRecordUpdatedEvent<MoveAccountCreditToInProgressDto, {}> {
58
+ }
59
+ /**
60
+ * Properties for MoveAccountCreditToInProgress action
61
+ *
62
+ */
63
+ export interface MoveAccountCreditToInProgressProperties {
64
+ }
65
+ /**
66
+ * MoveAccountCreditToInProgress
67
+ *
68
+ * @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
69
+ * @module BillingModule
70
+ * @entity AccountCredit
71
+ * @entityType DEFAULT (Default)
72
+ * @targetStages AccountCreditStageInProgress
73
+ * @event k1.t-hEOJjsDb.BillingModule.AccountCredit.Transition.MoveAccountCreditToInProgress
74
+ * @permission schema.action.moveaccountcredittoinprogress.trigger
75
+ * @benchmark This action is tracked for performance benchmarks
76
+ */
77
+ export declare class MoveAccountCreditToInProgressDto 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 = "MoveAccountCreditToInProgress";
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.MoveAccountCreditToInProgress";
85
+ static readonly SCHEMA_ACTION_ID = "c66ea367-99b5-441b-815b-aacdaf2d6c36";
86
+ static readonly PERMISSION = "schema.action.moveaccountcredittoinprogress.trigger";
87
+ static readonly TARGET_STAGES: readonly ["AccountCreditStageInProgress"];
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: MoveAccountCreditToInProgressStepDefinition[];
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 MoveAccountCreditToInProgressDto.stepClasses)[number]][];
114
+ }
115
+ export {};
@@ -0,0 +1,80 @@
1
+ "use strict";
2
+ /**
3
+ * MoveAccountCreditToInProgress Action DTO
4
+ *
5
+ * MoveAccountCreditToInProgress
6
+ *
7
+ * @module BillingModule
8
+ * @entity AccountCredit
9
+ * @entityType DEFAULT
10
+ * @actionKey MoveAccountCreditToInProgress
11
+ * @event k1.t-hEOJjsDb.BillingModule.AccountCredit.Transition.MoveAccountCreditToInProgress
12
+ *
13
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.MoveAccountCreditToInProgressDto = exports.MoveAccountCreditToInProgressSteps = void 0;
17
+ const core_1 = require("@d19n/odin-types/dist/core");
18
+ /**
19
+ * Type-safe step keys for MoveAccountCreditToInProgress
20
+ */
21
+ exports.MoveAccountCreditToInProgressSteps = {
22
+ step_1: 'step_1',
23
+ };
24
+ /**
25
+ * MoveAccountCreditToInProgress
26
+ *
27
+ * @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
28
+ * @module BillingModule
29
+ * @entity AccountCredit
30
+ * @entityType DEFAULT (Default)
31
+ * @targetStages AccountCreditStageInProgress
32
+ * @event k1.t-hEOJjsDb.BillingModule.AccountCredit.Transition.MoveAccountCreditToInProgress
33
+ * @permission schema.action.moveaccountcredittoinprogress.trigger
34
+ * @benchmark This action is tracked for performance benchmarks
35
+ */
36
+ class MoveAccountCreditToInProgressDto 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 = 'MoveAccountCreditToInProgress';
46
+ this.schemaActionId = 'c66ea367-99b5-441b-815b-aacdaf2d6c36';
47
+ this.entity = 'BillingModule:AccountCredit';
48
+ this.stageKey = 'AccountCreditStageInProgress';
49
+ }
50
+ }
51
+ exports.MoveAccountCreditToInProgressDto = MoveAccountCreditToInProgressDto;
52
+ /** Used by SDK generators to identify action type */
53
+ MoveAccountCreditToInProgressDto.ACTION_TYPE = 'UPDATE';
54
+ MoveAccountCreditToInProgressDto.ACTION_KEY = 'MoveAccountCreditToInProgress';
55
+ MoveAccountCreditToInProgressDto.MODULE_NAME = 'BillingModule';
56
+ MoveAccountCreditToInProgressDto.ENTITIES = ['AccountCredit'];
57
+ MoveAccountCreditToInProgressDto.ENTITY_TYPE = 'DEFAULT';
58
+ MoveAccountCreditToInProgressDto.EVENT_NAME = 'k1.t-hEOJjsDb.BillingModule.AccountCredit.Transition.MoveAccountCreditToInProgress';
59
+ MoveAccountCreditToInProgressDto.SCHEMA_ACTION_ID = 'c66ea367-99b5-441b-815b-aacdaf2d6c36';
60
+ MoveAccountCreditToInProgressDto.PERMISSION = 'schema.action.moveaccountcredittoinprogress.trigger';
61
+ MoveAccountCreditToInProgressDto.TARGET_STAGES = ['AccountCreditStageInProgress'];
62
+ MoveAccountCreditToInProgressDto.IS_STAGE_TRANSITION = true;
63
+ MoveAccountCreditToInProgressDto.IS_MULTI_STEP_FLOW = false;
64
+ MoveAccountCreditToInProgressDto.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
+ MoveAccountCreditToInProgressDto.stepDefinitions = [
70
+ {
71
+ stepKey: 'step_1',
72
+ dtoClass: 'unknown',
73
+ entity: 'unknown',
74
+ linksTo: null
75
+ }
76
+ ];
77
+ /** Type-safe step key accessor */
78
+ MoveAccountCreditToInProgressDto.Steps = exports.MoveAccountCreditToInProgressSteps;
79
+ /** Step classes that can be used with this action */
80
+ MoveAccountCreditToInProgressDto.stepClasses = [];