@d19n/youfibre-odin-sdk 2.0.233-beta.4 → 2.0.233-beta.6
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 +6 -3
- package/dist/actions-v2/MoveMsrToCompleteDto.d.ts +96 -2
- package/dist/actions-v2/MoveMsrToCompleteDto.js +42 -4
- package/dist/actions-v2/MoveMsrToFailedDto.d.ts +96 -2
- package/dist/actions-v2/MoveMsrToFailedDto.js +42 -4
- package/dist/actions-v2/MoveMsrToHeldDto.d.ts +115 -0
- package/dist/actions-v2/MoveMsrToHeldDto.js +80 -0
- package/dist/actions-v2/UpdateCallAnalyticsDto.d.ts +1 -17
- package/dist/actions-v2/UpdateCallOnInboundCallAnsweredDto.d.ts +10 -3
- package/dist/actions-v2/UpdateCallOnInboundCallCompletedDto.d.ts +8 -1
- package/dist/actions-v2/UpdateCallOnNumberCallStatusDto.d.ts +4 -4
- package/dist/actions-v2/UpdateCallOnOutboundDialActionDto.d.ts +2 -2
- package/dist/entities-v2/Call.d.ts +21 -35
- package/dist/entities-v2/Call.js +6 -10
- package/dist/records-v2/ModifyServiceRequestRecord.d.ts +177 -30
- package/dist/records-v2/ModifyServiceRequestRecord.js +279 -40
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -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 **746** actions.
|
|
363
363
|
|
|
364
364
|
### Action Types
|
|
365
365
|
|
|
@@ -1499,8 +1499,9 @@ This SDK includes **745** 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.
|
|
1503
|
-
| `MoveMsrToFailed` | STAGE_TRANSITION | k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.
|
|
1502
|
+
| `MoveMsrToComplete` | STAGE_TRANSITION | k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Update.UpdateModifyServiceRequest |
|
|
1503
|
+
| `MoveMsrToFailed` | STAGE_TRANSITION | k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Update.UpdateModifyServiceRequest |
|
|
1504
|
+
| `MoveMsrToHeld` | STAGE_TRANSITION | k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToHeld |
|
|
1504
1505
|
| `MoveMsrToInProgress` | STAGE_TRANSITION | k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Update.UpdateModifyServiceRequest |
|
|
1505
1506
|
| `UpdateModifyServiceRequest` | UPDATE | k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Update.UpdateModifyServiceRequest |
|
|
1506
1507
|
|
|
@@ -1508,6 +1509,8 @@ This SDK includes **745** actions.
|
|
|
1508
1509
|
|
|
1509
1510
|
**MoveMsrToFailed Target Stages:** `ModifyServiceRequestStateStageFailed`
|
|
1510
1511
|
|
|
1512
|
+
**MoveMsrToHeld Target Stages:** `ModifyServiceRequestStateStageHeld`
|
|
1513
|
+
|
|
1511
1514
|
**MoveMsrToInProgress Target Stages:** `ModifyServiceRequestStateStageInProgress`
|
|
1512
1515
|
|
|
1513
1516
|
#### NetworkDevice
|
|
@@ -12,7 +12,101 @@
|
|
|
12
12
|
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
13
|
*/
|
|
14
14
|
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
15
|
-
|
|
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
|
+
};
|
|
16
110
|
/**
|
|
17
111
|
* Link definition for connecting steps in MoveMsrToComplete
|
|
18
112
|
*/
|
|
@@ -109,7 +203,7 @@ export declare class MoveMsrToCompleteDto extends OdinRecordUpdateDto<Record<str
|
|
|
109
203
|
journeyId?: string;
|
|
110
204
|
});
|
|
111
205
|
/** Step classes that can be used with this action */
|
|
112
|
-
static readonly stepClasses: readonly [];
|
|
206
|
+
static readonly stepClasses: readonly ["UpdateModifyServiceRequestDto"];
|
|
113
207
|
steps: StepClassMap[(typeof MoveMsrToCompleteDto.stepClasses)[number]][];
|
|
114
208
|
}
|
|
115
209
|
export {};
|
|
@@ -13,8 +13,46 @@
|
|
|
13
13
|
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.MoveMsrToCompleteDto = exports.MoveMsrToCompleteSteps = void 0;
|
|
16
|
+
exports.MoveMsrToCompleteDto = exports.MoveMsrToCompleteSteps = exports.UpdateModifyServiceRequestDto = void 0;
|
|
17
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 = 'f4fb3994-062a-46f6-ad1b-badfa0bf3afa';
|
|
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 = 'c33f6215-f398-4d02-a35a-ebcde2ee2669';
|
|
54
|
+
UpdateModifyServiceRequestDto.STEP_SCHEMA_ACTION_ID = 'f4fb3994-062a-46f6-ad1b-badfa0bf3afa';
|
|
55
|
+
UpdateModifyServiceRequestDto.AUTO_LINK_PARENT = false;
|
|
18
56
|
/**
|
|
19
57
|
* Type-safe step keys for MoveMsrToComplete
|
|
20
58
|
*/
|
|
@@ -69,12 +107,12 @@ MoveMsrToCompleteDto.HAS_STEP_LINKS = false;
|
|
|
69
107
|
MoveMsrToCompleteDto.stepDefinitions = [
|
|
70
108
|
{
|
|
71
109
|
stepKey: 'step_1',
|
|
72
|
-
dtoClass: '
|
|
73
|
-
entity: '
|
|
110
|
+
dtoClass: 'UpdateModifyServiceRequestDto',
|
|
111
|
+
entity: 'ServiceModule:ModifyServiceRequest',
|
|
74
112
|
linksTo: null
|
|
75
113
|
}
|
|
76
114
|
];
|
|
77
115
|
/** Type-safe step key accessor */
|
|
78
116
|
MoveMsrToCompleteDto.Steps = exports.MoveMsrToCompleteSteps;
|
|
79
117
|
/** Step classes that can be used with this action */
|
|
80
|
-
MoveMsrToCompleteDto.stepClasses = [];
|
|
118
|
+
MoveMsrToCompleteDto.stepClasses = ['UpdateModifyServiceRequestDto'];
|
|
@@ -12,7 +12,101 @@
|
|
|
12
12
|
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
13
|
*/
|
|
14
14
|
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
15
|
-
|
|
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
|
+
};
|
|
16
110
|
/**
|
|
17
111
|
* Link definition for connecting steps in MoveMsrToFailed
|
|
18
112
|
*/
|
|
@@ -109,7 +203,7 @@ export declare class MoveMsrToFailedDto extends OdinRecordUpdateDto<Record<strin
|
|
|
109
203
|
journeyId?: string;
|
|
110
204
|
});
|
|
111
205
|
/** Step classes that can be used with this action */
|
|
112
|
-
static readonly stepClasses: readonly [];
|
|
206
|
+
static readonly stepClasses: readonly ["UpdateModifyServiceRequestDto"];
|
|
113
207
|
steps: StepClassMap[(typeof MoveMsrToFailedDto.stepClasses)[number]][];
|
|
114
208
|
}
|
|
115
209
|
export {};
|
|
@@ -13,8 +13,46 @@
|
|
|
13
13
|
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.MoveMsrToFailedDto = exports.MoveMsrToFailedSteps = void 0;
|
|
16
|
+
exports.MoveMsrToFailedDto = exports.MoveMsrToFailedSteps = exports.UpdateModifyServiceRequestDto = void 0;
|
|
17
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 = 'f4fb3994-062a-46f6-ad1b-badfa0bf3afa';
|
|
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 = 'c33f6215-f398-4d02-a35a-ebcde2ee2669';
|
|
54
|
+
UpdateModifyServiceRequestDto.STEP_SCHEMA_ACTION_ID = 'f4fb3994-062a-46f6-ad1b-badfa0bf3afa';
|
|
55
|
+
UpdateModifyServiceRequestDto.AUTO_LINK_PARENT = false;
|
|
18
56
|
/**
|
|
19
57
|
* Type-safe step keys for MoveMsrToFailed
|
|
20
58
|
*/
|
|
@@ -69,12 +107,12 @@ MoveMsrToFailedDto.HAS_STEP_LINKS = false;
|
|
|
69
107
|
MoveMsrToFailedDto.stepDefinitions = [
|
|
70
108
|
{
|
|
71
109
|
stepKey: 'step_1',
|
|
72
|
-
dtoClass: '
|
|
73
|
-
entity: '
|
|
110
|
+
dtoClass: 'UpdateModifyServiceRequestDto',
|
|
111
|
+
entity: 'ServiceModule:ModifyServiceRequest',
|
|
74
112
|
linksTo: null
|
|
75
113
|
}
|
|
76
114
|
];
|
|
77
115
|
/** Type-safe step key accessor */
|
|
78
116
|
MoveMsrToFailedDto.Steps = exports.MoveMsrToFailedSteps;
|
|
79
117
|
/** Step classes that can be used with this action */
|
|
80
|
-
MoveMsrToFailedDto.stepClasses = [];
|
|
118
|
+
MoveMsrToFailedDto.stepClasses = ['UpdateModifyServiceRequestDto'];
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MoveMsrToHeld Action DTO
|
|
3
|
+
*
|
|
4
|
+
* MoveMsrToHeld
|
|
5
|
+
*
|
|
6
|
+
* @module ServiceModule
|
|
7
|
+
* @entity ModifyServiceRequest
|
|
8
|
+
* @entityType DEFAULT
|
|
9
|
+
* @actionKey MoveMsrToHeld
|
|
10
|
+
* @event k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToHeld
|
|
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 MoveMsrToHeld
|
|
18
|
+
*/
|
|
19
|
+
export interface MoveMsrToHeldStepLink {
|
|
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 MoveMsrToHeld
|
|
34
|
+
*/
|
|
35
|
+
export interface MoveMsrToHeldStepDefinition {
|
|
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: MoveMsrToHeldStepLink[] | null;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Type-safe step keys for MoveMsrToHeld
|
|
47
|
+
*/
|
|
48
|
+
export declare const MoveMsrToHeldSteps: {
|
|
49
|
+
readonly step_1: "step_1";
|
|
50
|
+
};
|
|
51
|
+
export declare type MoveMsrToHeldStepKey = typeof MoveMsrToHeldSteps[keyof typeof MoveMsrToHeldSteps];
|
|
52
|
+
/**
|
|
53
|
+
* RabbitMQ message payload for MoveMsrToHeld step flow events
|
|
54
|
+
*
|
|
55
|
+
* @event k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToHeld
|
|
56
|
+
*/
|
|
57
|
+
export interface MoveMsrToHeldMessage extends OdinRecordUpdatedEvent<MoveMsrToHeldDto, {}> {
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Properties for MoveMsrToHeld action
|
|
61
|
+
*
|
|
62
|
+
*/
|
|
63
|
+
export interface MoveMsrToHeldProperties {
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* MoveMsrToHeld
|
|
67
|
+
*
|
|
68
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
69
|
+
* @module ServiceModule
|
|
70
|
+
* @entity ModifyServiceRequest
|
|
71
|
+
* @entityType DEFAULT (Default)
|
|
72
|
+
* @targetStages ModifyServiceRequestStateStageHeld
|
|
73
|
+
* @event k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToHeld
|
|
74
|
+
* @permission schema.action.movemsrtoheld.trigger
|
|
75
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
76
|
+
*/
|
|
77
|
+
export declare class MoveMsrToHeldDto 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 = "MoveMsrToHeld";
|
|
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.MoveMsrToHeld";
|
|
85
|
+
static readonly SCHEMA_ACTION_ID = "a2331418-7935-4f84-a449-7691942cb218";
|
|
86
|
+
static readonly PERMISSION = "schema.action.movemsrtoheld.trigger";
|
|
87
|
+
static readonly TARGET_STAGES: readonly ["ModifyServiceRequestStateStageHeld"];
|
|
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: MoveMsrToHeldStepDefinition[];
|
|
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 MoveMsrToHeldDto.stepClasses)[number]][];
|
|
114
|
+
}
|
|
115
|
+
export {};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* MoveMsrToHeld Action DTO
|
|
4
|
+
*
|
|
5
|
+
* MoveMsrToHeld
|
|
6
|
+
*
|
|
7
|
+
* @module ServiceModule
|
|
8
|
+
* @entity ModifyServiceRequest
|
|
9
|
+
* @entityType DEFAULT
|
|
10
|
+
* @actionKey MoveMsrToHeld
|
|
11
|
+
* @event k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToHeld
|
|
12
|
+
*
|
|
13
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.MoveMsrToHeldDto = exports.MoveMsrToHeldSteps = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* Type-safe step keys for MoveMsrToHeld
|
|
20
|
+
*/
|
|
21
|
+
exports.MoveMsrToHeldSteps = {
|
|
22
|
+
step_1: 'step_1',
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* MoveMsrToHeld
|
|
26
|
+
*
|
|
27
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
28
|
+
* @module ServiceModule
|
|
29
|
+
* @entity ModifyServiceRequest
|
|
30
|
+
* @entityType DEFAULT (Default)
|
|
31
|
+
* @targetStages ModifyServiceRequestStateStageHeld
|
|
32
|
+
* @event k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToHeld
|
|
33
|
+
* @permission schema.action.movemsrtoheld.trigger
|
|
34
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
35
|
+
*/
|
|
36
|
+
class MoveMsrToHeldDto 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 = 'MoveMsrToHeld';
|
|
46
|
+
this.schemaActionId = 'a2331418-7935-4f84-a449-7691942cb218';
|
|
47
|
+
this.entity = 'ServiceModule:ModifyServiceRequest';
|
|
48
|
+
this.stageKey = 'ModifyServiceRequestStateStageHeld';
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.MoveMsrToHeldDto = MoveMsrToHeldDto;
|
|
52
|
+
/** Used by SDK generators to identify action type */
|
|
53
|
+
MoveMsrToHeldDto.ACTION_TYPE = 'UPDATE';
|
|
54
|
+
MoveMsrToHeldDto.ACTION_KEY = 'MoveMsrToHeld';
|
|
55
|
+
MoveMsrToHeldDto.MODULE_NAME = 'ServiceModule';
|
|
56
|
+
MoveMsrToHeldDto.ENTITIES = ['ModifyServiceRequest'];
|
|
57
|
+
MoveMsrToHeldDto.ENTITY_TYPE = 'DEFAULT';
|
|
58
|
+
MoveMsrToHeldDto.EVENT_NAME = 'k1.t-hEOJjsDb.ServiceModule.ModifyServiceRequest.Transition.MoveMsrToHeld';
|
|
59
|
+
MoveMsrToHeldDto.SCHEMA_ACTION_ID = 'a2331418-7935-4f84-a449-7691942cb218';
|
|
60
|
+
MoveMsrToHeldDto.PERMISSION = 'schema.action.movemsrtoheld.trigger';
|
|
61
|
+
MoveMsrToHeldDto.TARGET_STAGES = ['ModifyServiceRequestStateStageHeld'];
|
|
62
|
+
MoveMsrToHeldDto.IS_STAGE_TRANSITION = true;
|
|
63
|
+
MoveMsrToHeldDto.IS_MULTI_STEP_FLOW = false;
|
|
64
|
+
MoveMsrToHeldDto.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
|
+
MoveMsrToHeldDto.stepDefinitions = [
|
|
70
|
+
{
|
|
71
|
+
stepKey: 'step_1',
|
|
72
|
+
dtoClass: 'unknown',
|
|
73
|
+
entity: 'unknown',
|
|
74
|
+
linksTo: null
|
|
75
|
+
}
|
|
76
|
+
];
|
|
77
|
+
/** Type-safe step key accessor */
|
|
78
|
+
MoveMsrToHeldDto.Steps = exports.MoveMsrToHeldSteps;
|
|
79
|
+
/** Step classes that can be used with this action */
|
|
80
|
+
MoveMsrToHeldDto.stepClasses = [];
|
|
@@ -21,7 +21,7 @@ export interface UpdateCallAnalyticsMessage extends OdinRecordUpdatedEvent<Updat
|
|
|
21
21
|
/**
|
|
22
22
|
* Properties for UpdateCallAnalytics action
|
|
23
23
|
*
|
|
24
|
-
* @property Required fields:
|
|
24
|
+
* @property Required fields: 4
|
|
25
25
|
* @property Optional fields: 1
|
|
26
26
|
*/
|
|
27
27
|
export interface UpdateCallAnalyticsProperties {
|
|
@@ -41,14 +41,6 @@ export interface UpdateCallAnalyticsProperties {
|
|
|
41
41
|
* @required
|
|
42
42
|
*/
|
|
43
43
|
TimeInProgress: string;
|
|
44
|
-
/**
|
|
45
|
-
* TimeInInitiated
|
|
46
|
-
*
|
|
47
|
-
* TimeInInitiated (Communications - Call)
|
|
48
|
-
* @type {TEXT}
|
|
49
|
-
* @required
|
|
50
|
-
*/
|
|
51
|
-
TimeInInitiated: string;
|
|
52
44
|
/**
|
|
53
45
|
* CustomerHoldTotalSec
|
|
54
46
|
*
|
|
@@ -65,14 +57,6 @@ export interface UpdateCallAnalyticsProperties {
|
|
|
65
57
|
* @required
|
|
66
58
|
*/
|
|
67
59
|
AgentHoldTotalSec: string;
|
|
68
|
-
/**
|
|
69
|
-
* RingingTimeTotalSec
|
|
70
|
-
*
|
|
71
|
-
* RingingTimeTotalSec
|
|
72
|
-
* @type {TEXT}
|
|
73
|
-
* @required
|
|
74
|
-
*/
|
|
75
|
-
RingingTimeTotalSec: string;
|
|
76
60
|
/**
|
|
77
61
|
* Time in IVR
|
|
78
62
|
*
|
|
@@ -22,7 +22,7 @@ export interface UpdateCallOnInboundCallAnsweredMessage extends OdinRecordUpdate
|
|
|
22
22
|
* Properties for UpdateCallOnInboundCallAnswered action
|
|
23
23
|
*
|
|
24
24
|
* @property Required fields: 4
|
|
25
|
-
* @property Optional fields:
|
|
25
|
+
* @property Optional fields: 4
|
|
26
26
|
*/
|
|
27
27
|
export interface UpdateCallOnInboundCallAnsweredProperties {
|
|
28
28
|
/**
|
|
@@ -53,10 +53,10 @@ export interface UpdateCallOnInboundCallAnsweredProperties {
|
|
|
53
53
|
* QueueTime
|
|
54
54
|
*
|
|
55
55
|
* Seconds spent in queue (Communications - Call)
|
|
56
|
-
* @type {
|
|
56
|
+
* @type {TEXT}
|
|
57
57
|
* @required
|
|
58
58
|
*/
|
|
59
|
-
QueueTime:
|
|
59
|
+
QueueTime: string;
|
|
60
60
|
/**
|
|
61
61
|
* RingingDuration
|
|
62
62
|
*
|
|
@@ -78,6 +78,13 @@ export interface UpdateCallOnInboundCallAnsweredProperties {
|
|
|
78
78
|
* @type {DATE_TIME}
|
|
79
79
|
*/
|
|
80
80
|
QueueEntryTime?: string | null;
|
|
81
|
+
/**
|
|
82
|
+
* To
|
|
83
|
+
*
|
|
84
|
+
* Data field for Call records. Used by Communications team.
|
|
85
|
+
* @type {TEXT}
|
|
86
|
+
*/
|
|
87
|
+
To?: string | null;
|
|
81
88
|
}
|
|
82
89
|
/**
|
|
83
90
|
* UpdateCallOnInboundCallAnswered
|
|
@@ -22,7 +22,7 @@ export interface UpdateCallOnInboundCallCompletedMessage extends OdinRecordUpdat
|
|
|
22
22
|
* Properties for UpdateCallOnInboundCallCompleted action
|
|
23
23
|
*
|
|
24
24
|
* @property Required fields: 3
|
|
25
|
-
* @property Optional fields:
|
|
25
|
+
* @property Optional fields: 2
|
|
26
26
|
*/
|
|
27
27
|
export interface UpdateCallOnInboundCallCompletedProperties {
|
|
28
28
|
/**
|
|
@@ -56,6 +56,13 @@ export interface UpdateCallOnInboundCallCompletedProperties {
|
|
|
56
56
|
* @type {DATE_TIME}
|
|
57
57
|
*/
|
|
58
58
|
EndTime?: string | null;
|
|
59
|
+
/**
|
|
60
|
+
* RecordingStatus
|
|
61
|
+
*
|
|
62
|
+
* RecordingStatus (Communications - Call)
|
|
63
|
+
* @type {TEXT}
|
|
64
|
+
*/
|
|
65
|
+
RecordingStatus?: string | null;
|
|
59
66
|
}
|
|
60
67
|
/**
|
|
61
68
|
* UpdateCallOnInboundCallCompleted
|