@d19n/youfibre-odin-sdk 2.0.233-beta.2 → 2.0.233-beta.4
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 +11 -2
- package/dist/actions-v2/CreateCampaignOutboundCallDto.d.ts +1 -9
- package/dist/actions-v2/CreateOutboundCallDto.d.ts +4 -4
- package/dist/actions-v2/MoveMsrToCompleteDto.d.ts +115 -0
- package/dist/actions-v2/MoveMsrToCompleteDto.js +80 -0
- package/dist/actions-v2/MoveMsrToFailedDto.d.ts +115 -0
- package/dist/actions-v2/MoveMsrToFailedDto.js +80 -0
- package/dist/actions-v2/MoveMsrToInProgressDto.d.ts +209 -0
- package/dist/actions-v2/MoveMsrToInProgressDto.js +118 -0
- package/dist/actions-v2/UpdateCallAnalyticsDto.d.ts +1 -9
- package/dist/actions-v2/UpdateCallInsightsDto.d.ts +8 -1
- package/dist/actions-v2/UpdateCallOnInboundCallAnsweredDto.d.ts +8 -1
- package/dist/actions-v2/UpdateCallOnTaskRouterAssignDto.d.ts +8 -1
- package/dist/api-sdk-v2/ContractBuyOutApi.d.ts +2 -0
- package/dist/api-sdk-v2/ContractBuyOutApi.js +6 -0
- package/dist/api-sdk-v2/PaymentMethodRefundApi.d.ts +2 -0
- package/dist/api-sdk-v2/PaymentMethodRefundApi.js +6 -0
- package/dist/db-sdk-v2/ContractBuyOutDb.d.ts +2 -0
- package/dist/db-sdk-v2/ContractBuyOutDb.js +6 -0
- package/dist/db-sdk-v2/PaymentMethodRefundDb.d.ts +2 -0
- package/dist/db-sdk-v2/PaymentMethodRefundDb.js +6 -0
- package/dist/entities-v2/Call.d.ts +14 -61
- package/dist/entities-v2/Call.js +5 -29
- package/dist/entities-v2/ChurnRequest.d.ts +0 -2
- package/dist/entities-v2/ChurnRequest.js +0 -2
- package/dist/entities-v2/ContractBuyOut.d.ts +7 -0
- package/dist/entities-v2/ContractBuyOut.js +5 -1
- package/dist/entities-v2/File.d.ts +74 -0
- package/dist/entities-v2/File.js +9 -1
- package/dist/entities-v2/ModifyServiceRequest.d.ts +10 -11
- package/dist/entities-v2/ModifyServiceRequest.js +10 -10
- package/dist/entities-v2/Order.d.ts +63 -0
- package/dist/entities-v2/Order.js +50 -2
- package/dist/entities-v2/PaymentMethodRefund.d.ts +3 -0
- package/dist/records-v2/ContractBuyOutRecord.d.ts +20 -0
- package/dist/records-v2/ContractBuyOutRecord.js +33 -0
- package/dist/records-v2/FileRecord.d.ts +19 -3
- package/dist/records-v2/FileRecord.js +17 -1
- package/dist/records-v2/ModifyServiceRequestRecord.d.ts +137 -1
- package/dist/records-v2/ModifyServiceRequestRecord.js +193 -1
- package/dist/records-v2/PaymentMethodRefundRecord.d.ts +20 -0
- package/dist/records-v2/PaymentMethodRefundRecord.js +33 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -184,7 +184,7 @@ This SDK includes **171** entities across **12** modules.
|
|
|
184
184
|
|--------|-------------|-------|
|
|
185
185
|
| **Activity** | Activity Entity Definition | EVENT, NOTIFICATION, TASK |
|
|
186
186
|
| **Config** | Config Entity Definition | DEFAULT |
|
|
187
|
-
| **File** | File Entity Definition | AFP_INVOICE,
|
|
187
|
+
| **File** | File Entity Definition | AFP_INVOICE, CBO_FINAL_BILL, CSV... |
|
|
188
188
|
|
|
189
189
|
### AuditModule
|
|
190
190
|
|
|
@@ -359,7 +359,7 @@ This SDK includes **171** entities across **12** modules.
|
|
|
359
359
|
|
|
360
360
|
## Actions
|
|
361
361
|
|
|
362
|
-
This SDK includes **
|
|
362
|
+
This SDK includes **745** actions.
|
|
363
363
|
|
|
364
364
|
### Action Types
|
|
365
365
|
|
|
@@ -1499,8 +1499,17 @@ This SDK includes **742** actions.
|
|
|
1499
1499
|
| Action | Type | Event |
|
|
1500
1500
|
|--------|------|-------|
|
|
1501
1501
|
| `CreateModifyServiceRequest` | CREATE | k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Create.CreateModifyServiceRequest |
|
|
1502
|
+
| `MoveMsrToComplete` | STAGE_TRANSITION | k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToComplete |
|
|
1503
|
+
| `MoveMsrToFailed` | STAGE_TRANSITION | k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToFailed |
|
|
1504
|
+
| `MoveMsrToInProgress` | STAGE_TRANSITION | k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Update.UpdateModifyServiceRequest |
|
|
1502
1505
|
| `UpdateModifyServiceRequest` | UPDATE | k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Update.UpdateModifyServiceRequest |
|
|
1503
1506
|
|
|
1507
|
+
**MoveMsrToComplete Target Stages:** `ModifyServiceRequestStateStageCompleted`
|
|
1508
|
+
|
|
1509
|
+
**MoveMsrToFailed Target Stages:** `ModifyServiceRequestStateStageFailed`
|
|
1510
|
+
|
|
1511
|
+
**MoveMsrToInProgress Target Stages:** `ModifyServiceRequestStateStageInProgress`
|
|
1512
|
+
|
|
1504
1513
|
#### NetworkDevice
|
|
1505
1514
|
|
|
1506
1515
|
| Action | Type | Event |
|
|
@@ -21,7 +21,7 @@ export interface CreateCampaignOutboundCallMessage extends OdinRecordCreatedEven
|
|
|
21
21
|
/**
|
|
22
22
|
* Properties for CreateCampaignOutboundCall action
|
|
23
23
|
*
|
|
24
|
-
* @property Required fields:
|
|
24
|
+
* @property Required fields: 15
|
|
25
25
|
* @property Optional fields: 1
|
|
26
26
|
*/
|
|
27
27
|
export interface CreateCampaignOutboundCallProperties {
|
|
@@ -57,14 +57,6 @@ export interface CreateCampaignOutboundCallProperties {
|
|
|
57
57
|
* @required
|
|
58
58
|
*/
|
|
59
59
|
OutboundDialSessionId: string;
|
|
60
|
-
/**
|
|
61
|
-
* DialOrigin
|
|
62
|
-
*
|
|
63
|
-
* DialOrigin
|
|
64
|
-
* @type {ENUM}
|
|
65
|
-
* @required
|
|
66
|
-
*/
|
|
67
|
-
DialOrigin: string;
|
|
68
60
|
/**
|
|
69
61
|
* From
|
|
70
62
|
*
|
|
@@ -144,12 +144,12 @@ export interface CreateOutboundCallProperties {
|
|
|
144
144
|
*/
|
|
145
145
|
OutboundDialSessionId?: string | null;
|
|
146
146
|
/**
|
|
147
|
-
*
|
|
147
|
+
* ContactId
|
|
148
148
|
*
|
|
149
|
-
*
|
|
150
|
-
* @type {
|
|
149
|
+
* Reference identifier for Call relationships. Used for data integrity.
|
|
150
|
+
* @type {LOOKUP}
|
|
151
151
|
*/
|
|
152
|
-
|
|
152
|
+
ContactId?: string | null;
|
|
153
153
|
}
|
|
154
154
|
/**
|
|
155
155
|
* Builder for CreateOutboundCall action
|
|
@@ -0,0 +1,115 @@
|
|
|
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
|
+
declare type StepClassMap = {};
|
|
16
|
+
/**
|
|
17
|
+
* Link definition for connecting steps in MoveMsrToComplete
|
|
18
|
+
*/
|
|
19
|
+
export interface MoveMsrToCompleteStepLink {
|
|
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 MoveMsrToComplete
|
|
34
|
+
*/
|
|
35
|
+
export interface MoveMsrToCompleteStepDefinition {
|
|
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: MoveMsrToCompleteStepLink[] | null;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Type-safe step keys for MoveMsrToComplete
|
|
47
|
+
*/
|
|
48
|
+
export declare const MoveMsrToCompleteSteps: {
|
|
49
|
+
readonly step_1: "step_1";
|
|
50
|
+
};
|
|
51
|
+
export declare type MoveMsrToCompleteStepKey = typeof MoveMsrToCompleteSteps[keyof typeof MoveMsrToCompleteSteps];
|
|
52
|
+
/**
|
|
53
|
+
* RabbitMQ message payload for MoveMsrToComplete step flow events
|
|
54
|
+
*
|
|
55
|
+
* @event k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToComplete
|
|
56
|
+
*/
|
|
57
|
+
export interface MoveMsrToCompleteMessage extends OdinRecordUpdatedEvent<MoveMsrToCompleteDto, {}> {
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Properties for MoveMsrToComplete action
|
|
61
|
+
*
|
|
62
|
+
*/
|
|
63
|
+
export interface MoveMsrToCompleteProperties {
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* MoveMsrToComplete
|
|
67
|
+
*
|
|
68
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
69
|
+
* @module ServiceModule
|
|
70
|
+
* @entity ModifyServiceRequest
|
|
71
|
+
* @entityType DEFAULT (Default)
|
|
72
|
+
* @targetStages ModifyServiceRequestStateStageCompleted
|
|
73
|
+
* @event k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToComplete
|
|
74
|
+
* @permission schema.action.movemsrtocomplete.trigger
|
|
75
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
76
|
+
*/
|
|
77
|
+
export declare class MoveMsrToCompleteDto 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 = "MoveMsrToComplete";
|
|
81
|
+
static readonly MODULE_NAME = "ServiceModule";
|
|
82
|
+
static readonly ENTITIES: string[];
|
|
83
|
+
static readonly ENTITY_TYPE = "DEFAULT";
|
|
84
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToComplete";
|
|
85
|
+
static readonly SCHEMA_ACTION_ID = "da6a8b9e-c53f-4e8c-b321-0d506bc99a2a";
|
|
86
|
+
static readonly PERMISSION = "schema.action.movemsrtocomplete.trigger";
|
|
87
|
+
static readonly TARGET_STAGES: readonly ["ModifyServiceRequestStateStageCompleted"];
|
|
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: MoveMsrToCompleteStepDefinition[];
|
|
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 MoveMsrToCompleteDto.stepClasses)[number]][];
|
|
114
|
+
}
|
|
115
|
+
export {};
|
|
@@ -0,0 +1,80 @@
|
|
|
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 = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* Type-safe step keys for MoveMsrToComplete
|
|
20
|
+
*/
|
|
21
|
+
exports.MoveMsrToCompleteSteps = {
|
|
22
|
+
step_1: 'step_1',
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* MoveMsrToComplete
|
|
26
|
+
*
|
|
27
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
28
|
+
* @module ServiceModule
|
|
29
|
+
* @entity ModifyServiceRequest
|
|
30
|
+
* @entityType DEFAULT (Default)
|
|
31
|
+
* @targetStages ModifyServiceRequestStateStageCompleted
|
|
32
|
+
* @event k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToComplete
|
|
33
|
+
* @permission schema.action.movemsrtocomplete.trigger
|
|
34
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
35
|
+
*/
|
|
36
|
+
class MoveMsrToCompleteDto 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 = 'MoveMsrToComplete';
|
|
46
|
+
this.schemaActionId = 'da6a8b9e-c53f-4e8c-b321-0d506bc99a2a';
|
|
47
|
+
this.entity = 'ServiceModule:ModifyServiceRequest';
|
|
48
|
+
this.stageKey = 'ModifyServiceRequestStateStageCompleted';
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.MoveMsrToCompleteDto = MoveMsrToCompleteDto;
|
|
52
|
+
/** Used by SDK generators to identify action type */
|
|
53
|
+
MoveMsrToCompleteDto.ACTION_TYPE = 'UPDATE';
|
|
54
|
+
MoveMsrToCompleteDto.ACTION_KEY = 'MoveMsrToComplete';
|
|
55
|
+
MoveMsrToCompleteDto.MODULE_NAME = 'ServiceModule';
|
|
56
|
+
MoveMsrToCompleteDto.ENTITIES = ['ModifyServiceRequest'];
|
|
57
|
+
MoveMsrToCompleteDto.ENTITY_TYPE = 'DEFAULT';
|
|
58
|
+
MoveMsrToCompleteDto.EVENT_NAME = 'k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToComplete';
|
|
59
|
+
MoveMsrToCompleteDto.SCHEMA_ACTION_ID = 'da6a8b9e-c53f-4e8c-b321-0d506bc99a2a';
|
|
60
|
+
MoveMsrToCompleteDto.PERMISSION = 'schema.action.movemsrtocomplete.trigger';
|
|
61
|
+
MoveMsrToCompleteDto.TARGET_STAGES = ['ModifyServiceRequestStateStageCompleted'];
|
|
62
|
+
MoveMsrToCompleteDto.IS_STAGE_TRANSITION = true;
|
|
63
|
+
MoveMsrToCompleteDto.IS_MULTI_STEP_FLOW = false;
|
|
64
|
+
MoveMsrToCompleteDto.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
|
+
MoveMsrToCompleteDto.stepDefinitions = [
|
|
70
|
+
{
|
|
71
|
+
stepKey: 'step_1',
|
|
72
|
+
dtoClass: 'unknown',
|
|
73
|
+
entity: 'unknown',
|
|
74
|
+
linksTo: null
|
|
75
|
+
}
|
|
76
|
+
];
|
|
77
|
+
/** Type-safe step key accessor */
|
|
78
|
+
MoveMsrToCompleteDto.Steps = exports.MoveMsrToCompleteSteps;
|
|
79
|
+
/** Step classes that can be used with this action */
|
|
80
|
+
MoveMsrToCompleteDto.stepClasses = [];
|
|
@@ -0,0 +1,115 @@
|
|
|
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
|
+
declare type StepClassMap = {};
|
|
16
|
+
/**
|
|
17
|
+
* Link definition for connecting steps in MoveMsrToFailed
|
|
18
|
+
*/
|
|
19
|
+
export interface MoveMsrToFailedStepLink {
|
|
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 MoveMsrToFailed
|
|
34
|
+
*/
|
|
35
|
+
export interface MoveMsrToFailedStepDefinition {
|
|
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: MoveMsrToFailedStepLink[] | null;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Type-safe step keys for MoveMsrToFailed
|
|
47
|
+
*/
|
|
48
|
+
export declare const MoveMsrToFailedSteps: {
|
|
49
|
+
readonly step_1: "step_1";
|
|
50
|
+
};
|
|
51
|
+
export declare type MoveMsrToFailedStepKey = typeof MoveMsrToFailedSteps[keyof typeof MoveMsrToFailedSteps];
|
|
52
|
+
/**
|
|
53
|
+
* RabbitMQ message payload for MoveMsrToFailed step flow events
|
|
54
|
+
*
|
|
55
|
+
* @event k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToFailed
|
|
56
|
+
*/
|
|
57
|
+
export interface MoveMsrToFailedMessage extends OdinRecordUpdatedEvent<MoveMsrToFailedDto, {}> {
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Properties for MoveMsrToFailed action
|
|
61
|
+
*
|
|
62
|
+
*/
|
|
63
|
+
export interface MoveMsrToFailedProperties {
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* MoveMsrToFailed
|
|
67
|
+
*
|
|
68
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
69
|
+
* @module ServiceModule
|
|
70
|
+
* @entity ModifyServiceRequest
|
|
71
|
+
* @entityType DEFAULT (Default)
|
|
72
|
+
* @targetStages ModifyServiceRequestStateStageFailed
|
|
73
|
+
* @event k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToFailed
|
|
74
|
+
* @permission schema.action.movemsrtofailed.trigger
|
|
75
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
76
|
+
*/
|
|
77
|
+
export declare class MoveMsrToFailedDto 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 = "MoveMsrToFailed";
|
|
81
|
+
static readonly MODULE_NAME = "ServiceModule";
|
|
82
|
+
static readonly ENTITIES: string[];
|
|
83
|
+
static readonly ENTITY_TYPE = "DEFAULT";
|
|
84
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToFailed";
|
|
85
|
+
static readonly SCHEMA_ACTION_ID = "17a1011e-d474-423a-b392-9edc4b95c839";
|
|
86
|
+
static readonly PERMISSION = "schema.action.movemsrtofailed.trigger";
|
|
87
|
+
static readonly TARGET_STAGES: readonly ["ModifyServiceRequestStateStageFailed"];
|
|
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: MoveMsrToFailedStepDefinition[];
|
|
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 MoveMsrToFailedDto.stepClasses)[number]][];
|
|
114
|
+
}
|
|
115
|
+
export {};
|
|
@@ -0,0 +1,80 @@
|
|
|
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 = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* Type-safe step keys for MoveMsrToFailed
|
|
20
|
+
*/
|
|
21
|
+
exports.MoveMsrToFailedSteps = {
|
|
22
|
+
step_1: 'step_1',
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* MoveMsrToFailed
|
|
26
|
+
*
|
|
27
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
28
|
+
* @module ServiceModule
|
|
29
|
+
* @entity ModifyServiceRequest
|
|
30
|
+
* @entityType DEFAULT (Default)
|
|
31
|
+
* @targetStages ModifyServiceRequestStateStageFailed
|
|
32
|
+
* @event k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToFailed
|
|
33
|
+
* @permission schema.action.movemsrtofailed.trigger
|
|
34
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
35
|
+
*/
|
|
36
|
+
class MoveMsrToFailedDto 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 = 'MoveMsrToFailed';
|
|
46
|
+
this.schemaActionId = '17a1011e-d474-423a-b392-9edc4b95c839';
|
|
47
|
+
this.entity = 'ServiceModule:ModifyServiceRequest';
|
|
48
|
+
this.stageKey = 'ModifyServiceRequestStateStageFailed';
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.MoveMsrToFailedDto = MoveMsrToFailedDto;
|
|
52
|
+
/** Used by SDK generators to identify action type */
|
|
53
|
+
MoveMsrToFailedDto.ACTION_TYPE = 'UPDATE';
|
|
54
|
+
MoveMsrToFailedDto.ACTION_KEY = 'MoveMsrToFailed';
|
|
55
|
+
MoveMsrToFailedDto.MODULE_NAME = 'ServiceModule';
|
|
56
|
+
MoveMsrToFailedDto.ENTITIES = ['ModifyServiceRequest'];
|
|
57
|
+
MoveMsrToFailedDto.ENTITY_TYPE = 'DEFAULT';
|
|
58
|
+
MoveMsrToFailedDto.EVENT_NAME = 'k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToFailed';
|
|
59
|
+
MoveMsrToFailedDto.SCHEMA_ACTION_ID = '17a1011e-d474-423a-b392-9edc4b95c839';
|
|
60
|
+
MoveMsrToFailedDto.PERMISSION = 'schema.action.movemsrtofailed.trigger';
|
|
61
|
+
MoveMsrToFailedDto.TARGET_STAGES = ['ModifyServiceRequestStateStageFailed'];
|
|
62
|
+
MoveMsrToFailedDto.IS_STAGE_TRANSITION = true;
|
|
63
|
+
MoveMsrToFailedDto.IS_MULTI_STEP_FLOW = false;
|
|
64
|
+
MoveMsrToFailedDto.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
|
+
MoveMsrToFailedDto.stepDefinitions = [
|
|
70
|
+
{
|
|
71
|
+
stepKey: 'step_1',
|
|
72
|
+
dtoClass: 'unknown',
|
|
73
|
+
entity: 'unknown',
|
|
74
|
+
linksTo: null
|
|
75
|
+
}
|
|
76
|
+
];
|
|
77
|
+
/** Type-safe step key accessor */
|
|
78
|
+
MoveMsrToFailedDto.Steps = exports.MoveMsrToFailedSteps;
|
|
79
|
+
/** Step classes that can be used with this action */
|
|
80
|
+
MoveMsrToFailedDto.stepClasses = [];
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MoveMsrToInProgress Action DTO
|
|
3
|
+
*
|
|
4
|
+
* MoveMsrToInProgress
|
|
5
|
+
*
|
|
6
|
+
* @module ServiceModule
|
|
7
|
+
* @entity ModifyServiceRequest
|
|
8
|
+
* @entityType DEFAULT
|
|
9
|
+
* @actionKey MoveMsrToInProgress
|
|
10
|
+
* @event k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToInProgress
|
|
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 = "c33f6215-f398-4d02-a35a-ebcde2ee2669";
|
|
93
|
+
static readonly STEP_SCHEMA_ACTION_ID = "f4fb3994-062a-46f6-ad1b-badfa0bf3afa";
|
|
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 MoveMsrToInProgress
|
|
112
|
+
*/
|
|
113
|
+
export interface MoveMsrToInProgressStepLink {
|
|
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 MoveMsrToInProgress
|
|
128
|
+
*/
|
|
129
|
+
export interface MoveMsrToInProgressStepDefinition {
|
|
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: MoveMsrToInProgressStepLink[] | null;
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Type-safe step keys for MoveMsrToInProgress
|
|
141
|
+
*/
|
|
142
|
+
export declare const MoveMsrToInProgressSteps: {
|
|
143
|
+
readonly step_1: "step_1";
|
|
144
|
+
};
|
|
145
|
+
export declare type MoveMsrToInProgressStepKey = typeof MoveMsrToInProgressSteps[keyof typeof MoveMsrToInProgressSteps];
|
|
146
|
+
/**
|
|
147
|
+
* RabbitMQ message payload for MoveMsrToInProgress step flow events
|
|
148
|
+
*
|
|
149
|
+
* @event k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToInProgress
|
|
150
|
+
*/
|
|
151
|
+
export interface MoveMsrToInProgressMessage extends OdinRecordUpdatedEvent<MoveMsrToInProgressDto, {}> {
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Properties for MoveMsrToInProgress action
|
|
155
|
+
*
|
|
156
|
+
*/
|
|
157
|
+
export interface MoveMsrToInProgressProperties {
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* MoveMsrToInProgress
|
|
161
|
+
*
|
|
162
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
163
|
+
* @module ServiceModule
|
|
164
|
+
* @entity ModifyServiceRequest
|
|
165
|
+
* @entityType DEFAULT (Default)
|
|
166
|
+
* @targetStages ModifyServiceRequestStateStageInProgress
|
|
167
|
+
* @event k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToInProgress
|
|
168
|
+
* @permission schema.action.movemsrtoinprogress.trigger
|
|
169
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
170
|
+
*/
|
|
171
|
+
export declare class MoveMsrToInProgressDto 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 = "MoveMsrToInProgress";
|
|
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.MoveMsrToInProgress";
|
|
179
|
+
static readonly SCHEMA_ACTION_ID = "cf0fd460-97b3-43a6-abf4-6438c9f42f94";
|
|
180
|
+
static readonly PERMISSION = "schema.action.movemsrtoinprogress.trigger";
|
|
181
|
+
static readonly TARGET_STAGES: readonly ["ModifyServiceRequestStateStageInProgress"];
|
|
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: MoveMsrToInProgressStepDefinition[];
|
|
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 MoveMsrToInProgressDto.stepClasses)[number]][];
|
|
208
|
+
}
|
|
209
|
+
export {};
|