@d19n/youfibre-odin-sdk 2.0.86 → 2.0.87
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 +5 -5
- package/dist/actions-v2/CaseTransitionBlockedToEscalatedDto.d.ts +17 -157
- package/dist/actions-v2/CaseTransitionBlockedToEscalatedDto.js +21 -101
- package/dist/actions-v2/CaseTransitionEscalatedToEscalatedDto.d.ts +17 -157
- package/dist/actions-v2/CaseTransitionEscalatedToEscalatedDto.js +21 -101
- package/dist/actions-v2/CaseTransitionPendingAgentToEscalatedDto.d.ts +17 -157
- package/dist/actions-v2/CaseTransitionPendingAgentToEscalatedDto.js +21 -101
- package/dist/actions-v2/CaseTransitionPendingReplyToEscalatedDto.d.ts +17 -157
- package/dist/actions-v2/CaseTransitionPendingReplyToEscalatedDto.js +21 -101
- package/dist/actions-v2/CasteTransitionOpenToEscalatedDto.d.ts +17 -157
- package/dist/actions-v2/CasteTransitionOpenToEscalatedDto.js +21 -101
- package/dist/actions-v2/CreateContactDto.d.ts +1 -1
- package/dist/actions-v2/CreateLeadFromAddressDto.d.ts +1 -1
- package/dist/actions-v2/UpdateContactDto.d.ts +1 -1
- package/dist/actions-v2/UpdateInstallScheduleDto.d.ts +9 -10
- package/dist/actions-v2/UpdateLeadDto.d.ts +8 -1
- package/dist/entities-v2/Call.d.ts +46 -1
- package/dist/entities-v2/Call.js +31 -1
- package/dist/entities-v2/Contact.d.ts +9 -9
- package/dist/entities-v2/Contact.js +2 -2
- package/dist/entities-v2/Lead.d.ts +8 -1
- package/dist/entities-v2/Lead.js +2 -0
- package/dist/entities-v2/Order.d.ts +36 -32
- package/dist/entities-v2/Order.js +29 -25
- package/dist/records-v2/CaseRecord.d.ts +98 -188
- package/dist/records-v2/CaseRecord.js +123 -333
- package/dist/runner.js +16 -16
- package/package.json +26 -26
|
@@ -13,21 +13,21 @@
|
|
|
13
13
|
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.CaseTransitionEscalatedToEscalatedDto = exports.CaseTransitionEscalatedToEscalatedSteps = exports.
|
|
16
|
+
exports.CaseTransitionEscalatedToEscalatedDto = exports.CaseTransitionEscalatedToEscalatedSteps = exports.EscalateCaseActionDto = void 0;
|
|
17
17
|
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
18
|
/**
|
|
19
|
-
* Escalate
|
|
19
|
+
* Escalate Case
|
|
20
20
|
*
|
|
21
|
-
*
|
|
21
|
+
* Escalates a Case
|
|
22
22
|
*
|
|
23
23
|
* @actionType UPDATE - Updates an existing Case record
|
|
24
24
|
* @module SupportModule
|
|
25
25
|
* @entity Case
|
|
26
|
-
* @event k1.t-hEOJjsDb.SupportModule.Case.Update.
|
|
27
|
-
* @permission schema.action.
|
|
26
|
+
* @event k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseAction
|
|
27
|
+
* @permission schema.action.escalatecaseaction.trigger
|
|
28
28
|
* @benchmark This action is tracked for performance benchmarks
|
|
29
29
|
*/
|
|
30
|
-
class
|
|
30
|
+
class EscalateCaseActionDto extends core_1.OdinRecordUpdateDto {
|
|
31
31
|
constructor(record, properties, options) {
|
|
32
32
|
super({
|
|
33
33
|
id: record.id,
|
|
@@ -37,104 +37,24 @@ class EscalateCaseActionBrskDto extends core_1.OdinRecordUpdateDto {
|
|
|
37
37
|
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
38
38
|
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
39
39
|
});
|
|
40
|
-
this.actionName = '
|
|
41
|
-
this.schemaActionId = '
|
|
40
|
+
this.actionName = 'EscalateCaseAction';
|
|
41
|
+
this.schemaActionId = 'a4b43ce6-affe-45ac-a42a-cc2069090496';
|
|
42
42
|
this.entity = 'SupportModule:Case';
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
-
exports.
|
|
45
|
+
exports.EscalateCaseActionDto = EscalateCaseActionDto;
|
|
46
46
|
/** Used by SDK generators to identify action type */
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
47
|
+
EscalateCaseActionDto.ACTION_TYPE = 'UPDATE';
|
|
48
|
+
EscalateCaseActionDto.ACTION_KEY = 'EscalateCaseAction';
|
|
49
|
+
EscalateCaseActionDto.MODULE_NAME = 'SupportModule';
|
|
50
|
+
EscalateCaseActionDto.ENTITIES = ['Case'];
|
|
51
|
+
EscalateCaseActionDto.EVENT_NAME = 'k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseAction';
|
|
52
|
+
EscalateCaseActionDto.PERMISSION = 'schema.action.escalatecaseaction.trigger';
|
|
53
53
|
/** Step metadata - entity this action targets */
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* Escalate to YouFibre
|
|
60
|
-
*
|
|
61
|
-
* Escalate Case Action YF
|
|
62
|
-
*
|
|
63
|
-
* @actionType UPDATE - Updates an existing Case record
|
|
64
|
-
* @module SupportModule
|
|
65
|
-
* @entity Case
|
|
66
|
-
* @event k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionYF
|
|
67
|
-
* @permission schema.action.escalatecaseactionyf.trigger
|
|
68
|
-
* @benchmark This action is tracked for performance benchmarks
|
|
69
|
-
*/
|
|
70
|
-
class EscalateCaseActionYfDto extends core_1.OdinRecordUpdateDto {
|
|
71
|
-
constructor(record, properties, options) {
|
|
72
|
-
super({
|
|
73
|
-
id: record.id,
|
|
74
|
-
entity: record.entity,
|
|
75
|
-
type: record.type,
|
|
76
|
-
properties,
|
|
77
|
-
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
78
|
-
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
79
|
-
});
|
|
80
|
-
this.actionName = 'EscalateCaseActionYF';
|
|
81
|
-
this.schemaActionId = '998149b0-4e63-476b-87c3-ce5acf691671';
|
|
82
|
-
this.entity = 'SupportModule:Case';
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
exports.EscalateCaseActionYfDto = EscalateCaseActionYfDto;
|
|
86
|
-
/** Used by SDK generators to identify action type */
|
|
87
|
-
EscalateCaseActionYfDto.ACTION_TYPE = 'UPDATE';
|
|
88
|
-
EscalateCaseActionYfDto.ACTION_KEY = 'EscalateCaseActionYF';
|
|
89
|
-
EscalateCaseActionYfDto.MODULE_NAME = 'SupportModule';
|
|
90
|
-
EscalateCaseActionYfDto.ENTITIES = ['Case'];
|
|
91
|
-
EscalateCaseActionYfDto.EVENT_NAME = 'k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionYF';
|
|
92
|
-
EscalateCaseActionYfDto.PERMISSION = 'schema.action.escalatecaseactionyf.trigger';
|
|
93
|
-
/** Step metadata - entity this action targets */
|
|
94
|
-
EscalateCaseActionYfDto.STEP_ENTITY = 'SupportModule:Case';
|
|
95
|
-
EscalateCaseActionYfDto.STEP_SCHEMA_ID = 'bb540d25-53bf-491b-9d03-f3d42f755b3a';
|
|
96
|
-
EscalateCaseActionYfDto.STEP_SCHEMA_ACTION_ID = '998149b0-4e63-476b-87c3-ce5acf691671';
|
|
97
|
-
EscalateCaseActionYfDto.AUTO_LINK_PARENT = false;
|
|
98
|
-
/**
|
|
99
|
-
* Escalate to YouFibre Customer Services
|
|
100
|
-
*
|
|
101
|
-
* Escalate Case Action YF CS
|
|
102
|
-
*
|
|
103
|
-
* @actionType UPDATE - Updates an existing Case record
|
|
104
|
-
* @module SupportModule
|
|
105
|
-
* @entity Case
|
|
106
|
-
* @event k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionYFCS
|
|
107
|
-
* @permission schema.action.escalatecaseactionyfcs.trigger
|
|
108
|
-
* @benchmark This action is tracked for performance benchmarks
|
|
109
|
-
*/
|
|
110
|
-
class EscalateCaseActionYfcsDto extends core_1.OdinRecordUpdateDto {
|
|
111
|
-
constructor(record, properties, options) {
|
|
112
|
-
super({
|
|
113
|
-
id: record.id,
|
|
114
|
-
entity: record.entity,
|
|
115
|
-
type: record.type,
|
|
116
|
-
properties,
|
|
117
|
-
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
118
|
-
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
119
|
-
});
|
|
120
|
-
this.actionName = 'EscalateCaseActionYFCS';
|
|
121
|
-
this.schemaActionId = '4c151dc1-6d27-4ebf-b1e5-f5eda95574a3';
|
|
122
|
-
this.entity = 'SupportModule:Case';
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
exports.EscalateCaseActionYfcsDto = EscalateCaseActionYfcsDto;
|
|
126
|
-
/** Used by SDK generators to identify action type */
|
|
127
|
-
EscalateCaseActionYfcsDto.ACTION_TYPE = 'UPDATE';
|
|
128
|
-
EscalateCaseActionYfcsDto.ACTION_KEY = 'EscalateCaseActionYFCS';
|
|
129
|
-
EscalateCaseActionYfcsDto.MODULE_NAME = 'SupportModule';
|
|
130
|
-
EscalateCaseActionYfcsDto.ENTITIES = ['Case'];
|
|
131
|
-
EscalateCaseActionYfcsDto.EVENT_NAME = 'k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionYFCS';
|
|
132
|
-
EscalateCaseActionYfcsDto.PERMISSION = 'schema.action.escalatecaseactionyfcs.trigger';
|
|
133
|
-
/** Step metadata - entity this action targets */
|
|
134
|
-
EscalateCaseActionYfcsDto.STEP_ENTITY = 'SupportModule:Case';
|
|
135
|
-
EscalateCaseActionYfcsDto.STEP_SCHEMA_ID = 'bb540d25-53bf-491b-9d03-f3d42f755b3a';
|
|
136
|
-
EscalateCaseActionYfcsDto.STEP_SCHEMA_ACTION_ID = '4c151dc1-6d27-4ebf-b1e5-f5eda95574a3';
|
|
137
|
-
EscalateCaseActionYfcsDto.AUTO_LINK_PARENT = false;
|
|
54
|
+
EscalateCaseActionDto.STEP_ENTITY = 'SupportModule:Case';
|
|
55
|
+
EscalateCaseActionDto.STEP_SCHEMA_ID = 'bb540d25-53bf-491b-9d03-f3d42f755b3a';
|
|
56
|
+
EscalateCaseActionDto.STEP_SCHEMA_ACTION_ID = 'a4b43ce6-affe-45ac-a42a-cc2069090496';
|
|
57
|
+
EscalateCaseActionDto.AUTO_LINK_PARENT = false;
|
|
138
58
|
/**
|
|
139
59
|
* Type-safe step keys for CaseTransitionEscalatedToEscalated
|
|
140
60
|
*/
|
|
@@ -191,7 +111,7 @@ CaseTransitionEscalatedToEscalatedDto.HAS_STEP_LINKS = false;
|
|
|
191
111
|
CaseTransitionEscalatedToEscalatedDto.stepDefinitions = [
|
|
192
112
|
{
|
|
193
113
|
stepKey: 'step_1',
|
|
194
|
-
dtoClass: '
|
|
114
|
+
dtoClass: 'EscalateCaseActionDto',
|
|
195
115
|
entity: 'SupportModule:Case',
|
|
196
116
|
linksTo: null
|
|
197
117
|
}
|
|
@@ -199,4 +119,4 @@ CaseTransitionEscalatedToEscalatedDto.stepDefinitions = [
|
|
|
199
119
|
/** Type-safe step key accessor */
|
|
200
120
|
CaseTransitionEscalatedToEscalatedDto.Steps = exports.CaseTransitionEscalatedToEscalatedSteps;
|
|
201
121
|
/** Step classes that can be used with this action */
|
|
202
|
-
CaseTransitionEscalatedToEscalatedDto.stepClasses = ['
|
|
122
|
+
CaseTransitionEscalatedToEscalatedDto.stepClasses = ['EscalateCaseActionDto'];
|
|
@@ -13,14 +13,14 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import { OdinRecord, OdinRecordCreateDto, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
15
15
|
/**
|
|
16
|
-
* Properties for
|
|
16
|
+
* Properties for EscalateCaseAction action
|
|
17
17
|
*
|
|
18
18
|
* @property Required fields: 1
|
|
19
|
-
* @property Optional fields:
|
|
19
|
+
* @property Optional fields: 3
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface EscalateCaseActionProperties {
|
|
22
22
|
/**
|
|
23
|
-
* Team
|
|
23
|
+
* Team to Escalate To
|
|
24
24
|
*
|
|
25
25
|
* Reference identifier for Case relationships. Used for data integrity.
|
|
26
26
|
* @type {LOOKUP}
|
|
@@ -28,176 +28,38 @@ export interface EscalateCaseActionBrskProperties {
|
|
|
28
28
|
*/
|
|
29
29
|
TeamId: string;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
* Providers
|
|
34
|
-
* @type {ENUM}
|
|
35
|
-
* @default Brsk
|
|
36
|
-
*/
|
|
37
|
-
Providers?: string | null;
|
|
38
|
-
/**
|
|
39
|
-
* Owner
|
|
40
|
-
*
|
|
41
|
-
* Reference identifier for Case relationships. Used for data integrity.
|
|
42
|
-
* @type {LOOKUP}
|
|
43
|
-
* @default null
|
|
44
|
-
* @hidden This field is not visible in the UI
|
|
45
|
-
*/
|
|
46
|
-
OwnerId?: string | null;
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* Escalate to Brsk Customer Services
|
|
50
|
-
*
|
|
51
|
-
* Escalate Case Action Brsk
|
|
52
|
-
*
|
|
53
|
-
* @actionType UPDATE - Updates an existing Case record
|
|
54
|
-
* @module SupportModule
|
|
55
|
-
* @entity Case
|
|
56
|
-
* @event k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionBrsk
|
|
57
|
-
* @permission schema.action.escalatecaseactionbrsk.trigger
|
|
58
|
-
* @benchmark This action is tracked for performance benchmarks
|
|
59
|
-
*/
|
|
60
|
-
export declare class EscalateCaseActionBrskDto extends OdinRecordUpdateDto<EscalateCaseActionBrskProperties> {
|
|
61
|
-
/** Used by SDK generators to identify action type */
|
|
62
|
-
static readonly ACTION_TYPE = "UPDATE";
|
|
63
|
-
static readonly ACTION_KEY = "EscalateCaseActionBrsk";
|
|
64
|
-
static readonly MODULE_NAME = "SupportModule";
|
|
65
|
-
static readonly ENTITIES: string[];
|
|
66
|
-
static readonly EVENT_NAME = "k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionBrsk";
|
|
67
|
-
static readonly PERMISSION = "schema.action.escalatecaseactionbrsk.trigger";
|
|
68
|
-
/** Step metadata - entity this action targets */
|
|
69
|
-
static readonly STEP_ENTITY = "SupportModule:Case";
|
|
70
|
-
static readonly STEP_SCHEMA_ID = "bb540d25-53bf-491b-9d03-f3d42f755b3a";
|
|
71
|
-
static readonly STEP_SCHEMA_ACTION_ID = "b07ab8ef-4ab0-469d-8914-68fabf511161";
|
|
72
|
-
static readonly AUTO_LINK_PARENT = false;
|
|
73
|
-
readonly actionName: string;
|
|
74
|
-
readonly schemaActionId: string;
|
|
75
|
-
readonly entity: string;
|
|
76
|
-
constructor(record: OdinRecord<any> | {
|
|
77
|
-
id: string;
|
|
78
|
-
entity: string;
|
|
79
|
-
type?: string;
|
|
80
|
-
}, properties: EscalateCaseActionBrskProperties, options?: {
|
|
81
|
-
journeyId?: string;
|
|
82
|
-
stageKey?: string;
|
|
83
|
-
});
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* Properties for EscalateCaseActionYF action
|
|
87
|
-
*
|
|
88
|
-
* @property Required fields: 0
|
|
89
|
-
* @property Optional fields: 4
|
|
90
|
-
*/
|
|
91
|
-
export interface EscalateCaseActionYfProperties {
|
|
92
|
-
/**
|
|
93
|
-
* Team
|
|
94
|
-
*
|
|
95
|
-
* Reference identifier for Case relationships. Used for data integrity.
|
|
96
|
-
* @type {LOOKUP}
|
|
97
|
-
*/
|
|
98
|
-
TeamId?: string | null;
|
|
99
|
-
/**
|
|
100
|
-
* Owner
|
|
31
|
+
* OwnerId
|
|
101
32
|
*
|
|
102
33
|
* Reference identifier for Case relationships. Used for data integrity.
|
|
103
34
|
* @type {LOOKUP}
|
|
104
|
-
* @default null
|
|
105
35
|
* @hidden This field is not visible in the UI
|
|
106
36
|
*/
|
|
107
37
|
OwnerId?: string | null;
|
|
108
38
|
}
|
|
109
39
|
/**
|
|
110
|
-
* Escalate
|
|
111
|
-
*
|
|
112
|
-
* Escalate Case Action YF
|
|
113
|
-
*
|
|
114
|
-
* @actionType UPDATE - Updates an existing Case record
|
|
115
|
-
* @module SupportModule
|
|
116
|
-
* @entity Case
|
|
117
|
-
* @event k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionYF
|
|
118
|
-
* @permission schema.action.escalatecaseactionyf.trigger
|
|
119
|
-
* @benchmark This action is tracked for performance benchmarks
|
|
120
|
-
*/
|
|
121
|
-
export declare class EscalateCaseActionYfDto extends OdinRecordUpdateDto<EscalateCaseActionYfProperties> {
|
|
122
|
-
/** Used by SDK generators to identify action type */
|
|
123
|
-
static readonly ACTION_TYPE = "UPDATE";
|
|
124
|
-
static readonly ACTION_KEY = "EscalateCaseActionYF";
|
|
125
|
-
static readonly MODULE_NAME = "SupportModule";
|
|
126
|
-
static readonly ENTITIES: string[];
|
|
127
|
-
static readonly EVENT_NAME = "k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionYF";
|
|
128
|
-
static readonly PERMISSION = "schema.action.escalatecaseactionyf.trigger";
|
|
129
|
-
/** Step metadata - entity this action targets */
|
|
130
|
-
static readonly STEP_ENTITY = "SupportModule:Case";
|
|
131
|
-
static readonly STEP_SCHEMA_ID = "bb540d25-53bf-491b-9d03-f3d42f755b3a";
|
|
132
|
-
static readonly STEP_SCHEMA_ACTION_ID = "998149b0-4e63-476b-87c3-ce5acf691671";
|
|
133
|
-
static readonly AUTO_LINK_PARENT = false;
|
|
134
|
-
readonly actionName: string;
|
|
135
|
-
readonly schemaActionId: string;
|
|
136
|
-
readonly entity: string;
|
|
137
|
-
constructor(record: OdinRecord<any> | {
|
|
138
|
-
id: string;
|
|
139
|
-
entity: string;
|
|
140
|
-
type?: string;
|
|
141
|
-
}, properties: EscalateCaseActionYfProperties, options?: {
|
|
142
|
-
journeyId?: string;
|
|
143
|
-
stageKey?: string;
|
|
144
|
-
});
|
|
145
|
-
}
|
|
146
|
-
/**
|
|
147
|
-
* Properties for EscalateCaseActionYFCS action
|
|
148
|
-
*
|
|
149
|
-
* @property Required fields: 0
|
|
150
|
-
* @property Optional fields: 5
|
|
151
|
-
*/
|
|
152
|
-
export interface EscalateCaseActionYfcsProperties {
|
|
153
|
-
/**
|
|
154
|
-
* Providers
|
|
155
|
-
*
|
|
156
|
-
* Providers
|
|
157
|
-
* @type {ENUM}
|
|
158
|
-
* @default Netomnia
|
|
159
|
-
*/
|
|
160
|
-
Providers?: string | null;
|
|
161
|
-
/**
|
|
162
|
-
* Team
|
|
163
|
-
*
|
|
164
|
-
* Reference identifier for Case relationships. Used for data integrity.
|
|
165
|
-
* @type {LOOKUP}
|
|
166
|
-
*/
|
|
167
|
-
TeamId?: string | null;
|
|
168
|
-
/**
|
|
169
|
-
* Owner
|
|
170
|
-
*
|
|
171
|
-
* Reference identifier for Case relationships. Used for data integrity.
|
|
172
|
-
* @type {LOOKUP}
|
|
173
|
-
* @default null
|
|
174
|
-
*/
|
|
175
|
-
OwnerId?: string | null;
|
|
176
|
-
}
|
|
177
|
-
/**
|
|
178
|
-
* Escalate to YouFibre Customer Services
|
|
40
|
+
* Escalate Case
|
|
179
41
|
*
|
|
180
|
-
*
|
|
42
|
+
* Escalates a Case
|
|
181
43
|
*
|
|
182
44
|
* @actionType UPDATE - Updates an existing Case record
|
|
183
45
|
* @module SupportModule
|
|
184
46
|
* @entity Case
|
|
185
|
-
* @event k1.t-hEOJjsDb.SupportModule.Case.Update.
|
|
186
|
-
* @permission schema.action.
|
|
47
|
+
* @event k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseAction
|
|
48
|
+
* @permission schema.action.escalatecaseaction.trigger
|
|
187
49
|
* @benchmark This action is tracked for performance benchmarks
|
|
188
50
|
*/
|
|
189
|
-
export declare class
|
|
51
|
+
export declare class EscalateCaseActionDto extends OdinRecordUpdateDto<EscalateCaseActionProperties> {
|
|
190
52
|
/** Used by SDK generators to identify action type */
|
|
191
53
|
static readonly ACTION_TYPE = "UPDATE";
|
|
192
|
-
static readonly ACTION_KEY = "
|
|
54
|
+
static readonly ACTION_KEY = "EscalateCaseAction";
|
|
193
55
|
static readonly MODULE_NAME = "SupportModule";
|
|
194
56
|
static readonly ENTITIES: string[];
|
|
195
|
-
static readonly EVENT_NAME = "k1.t-hEOJjsDb.SupportModule.Case.Update.
|
|
196
|
-
static readonly PERMISSION = "schema.action.
|
|
57
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseAction";
|
|
58
|
+
static readonly PERMISSION = "schema.action.escalatecaseaction.trigger";
|
|
197
59
|
/** Step metadata - entity this action targets */
|
|
198
60
|
static readonly STEP_ENTITY = "SupportModule:Case";
|
|
199
61
|
static readonly STEP_SCHEMA_ID = "bb540d25-53bf-491b-9d03-f3d42f755b3a";
|
|
200
|
-
static readonly STEP_SCHEMA_ACTION_ID = "
|
|
62
|
+
static readonly STEP_SCHEMA_ACTION_ID = "a4b43ce6-affe-45ac-a42a-cc2069090496";
|
|
201
63
|
static readonly AUTO_LINK_PARENT = false;
|
|
202
64
|
readonly actionName: string;
|
|
203
65
|
readonly schemaActionId: string;
|
|
@@ -206,7 +68,7 @@ export declare class EscalateCaseActionYfcsDto extends OdinRecordUpdateDto<Escal
|
|
|
206
68
|
id: string;
|
|
207
69
|
entity: string;
|
|
208
70
|
type?: string;
|
|
209
|
-
}, properties:
|
|
71
|
+
}, properties: EscalateCaseActionProperties, options?: {
|
|
210
72
|
journeyId?: string;
|
|
211
73
|
stageKey?: string;
|
|
212
74
|
});
|
|
@@ -263,9 +125,7 @@ export declare class CreateNoteForCaseAssignmentDto extends OdinRecordCreateDto<
|
|
|
263
125
|
});
|
|
264
126
|
}
|
|
265
127
|
declare type StepClassMap = {
|
|
266
|
-
|
|
267
|
-
EscalateCaseActionYfDto: EscalateCaseActionYfDto;
|
|
268
|
-
EscalateCaseActionYfcsDto: EscalateCaseActionYfcsDto;
|
|
128
|
+
EscalateCaseActionDto: EscalateCaseActionDto;
|
|
269
129
|
CreateNoteForCaseAssignmentDto: CreateNoteForCaseAssignmentDto;
|
|
270
130
|
};
|
|
271
131
|
/**
|
|
@@ -366,7 +226,7 @@ export declare class CaseTransitionPendingAgentToEscalatedDto extends OdinRecord
|
|
|
366
226
|
journeyId?: string;
|
|
367
227
|
});
|
|
368
228
|
/** Step classes that can be used with this action */
|
|
369
|
-
static readonly stepClasses: readonly ["
|
|
229
|
+
static readonly stepClasses: readonly ["EscalateCaseActionDto", "CreateNoteForCaseAssignmentDto"];
|
|
370
230
|
steps: StepClassMap[(typeof CaseTransitionPendingAgentToEscalatedDto.stepClasses)[number]][];
|
|
371
231
|
}
|
|
372
232
|
export {};
|
|
@@ -13,21 +13,21 @@
|
|
|
13
13
|
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.CaseTransitionPendingAgentToEscalatedDto = exports.CaseTransitionPendingAgentToEscalatedSteps = exports.CreateNoteForCaseAssignmentDto = exports.
|
|
16
|
+
exports.CaseTransitionPendingAgentToEscalatedDto = exports.CaseTransitionPendingAgentToEscalatedSteps = exports.CreateNoteForCaseAssignmentDto = exports.EscalateCaseActionDto = void 0;
|
|
17
17
|
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
18
|
/**
|
|
19
|
-
* Escalate
|
|
19
|
+
* Escalate Case
|
|
20
20
|
*
|
|
21
|
-
*
|
|
21
|
+
* Escalates a Case
|
|
22
22
|
*
|
|
23
23
|
* @actionType UPDATE - Updates an existing Case record
|
|
24
24
|
* @module SupportModule
|
|
25
25
|
* @entity Case
|
|
26
|
-
* @event k1.t-hEOJjsDb.SupportModule.Case.Update.
|
|
27
|
-
* @permission schema.action.
|
|
26
|
+
* @event k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseAction
|
|
27
|
+
* @permission schema.action.escalatecaseaction.trigger
|
|
28
28
|
* @benchmark This action is tracked for performance benchmarks
|
|
29
29
|
*/
|
|
30
|
-
class
|
|
30
|
+
class EscalateCaseActionDto extends core_1.OdinRecordUpdateDto {
|
|
31
31
|
constructor(record, properties, options) {
|
|
32
32
|
super({
|
|
33
33
|
id: record.id,
|
|
@@ -37,104 +37,24 @@ class EscalateCaseActionBrskDto extends core_1.OdinRecordUpdateDto {
|
|
|
37
37
|
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
38
38
|
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
39
39
|
});
|
|
40
|
-
this.actionName = '
|
|
41
|
-
this.schemaActionId = '
|
|
40
|
+
this.actionName = 'EscalateCaseAction';
|
|
41
|
+
this.schemaActionId = 'a4b43ce6-affe-45ac-a42a-cc2069090496';
|
|
42
42
|
this.entity = 'SupportModule:Case';
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
-
exports.
|
|
45
|
+
exports.EscalateCaseActionDto = EscalateCaseActionDto;
|
|
46
46
|
/** Used by SDK generators to identify action type */
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
47
|
+
EscalateCaseActionDto.ACTION_TYPE = 'UPDATE';
|
|
48
|
+
EscalateCaseActionDto.ACTION_KEY = 'EscalateCaseAction';
|
|
49
|
+
EscalateCaseActionDto.MODULE_NAME = 'SupportModule';
|
|
50
|
+
EscalateCaseActionDto.ENTITIES = ['Case'];
|
|
51
|
+
EscalateCaseActionDto.EVENT_NAME = 'k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseAction';
|
|
52
|
+
EscalateCaseActionDto.PERMISSION = 'schema.action.escalatecaseaction.trigger';
|
|
53
53
|
/** Step metadata - entity this action targets */
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* Escalate to YouFibre
|
|
60
|
-
*
|
|
61
|
-
* Escalate Case Action YF
|
|
62
|
-
*
|
|
63
|
-
* @actionType UPDATE - Updates an existing Case record
|
|
64
|
-
* @module SupportModule
|
|
65
|
-
* @entity Case
|
|
66
|
-
* @event k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionYF
|
|
67
|
-
* @permission schema.action.escalatecaseactionyf.trigger
|
|
68
|
-
* @benchmark This action is tracked for performance benchmarks
|
|
69
|
-
*/
|
|
70
|
-
class EscalateCaseActionYfDto extends core_1.OdinRecordUpdateDto {
|
|
71
|
-
constructor(record, properties, options) {
|
|
72
|
-
super({
|
|
73
|
-
id: record.id,
|
|
74
|
-
entity: record.entity,
|
|
75
|
-
type: record.type,
|
|
76
|
-
properties,
|
|
77
|
-
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
78
|
-
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
79
|
-
});
|
|
80
|
-
this.actionName = 'EscalateCaseActionYF';
|
|
81
|
-
this.schemaActionId = '998149b0-4e63-476b-87c3-ce5acf691671';
|
|
82
|
-
this.entity = 'SupportModule:Case';
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
exports.EscalateCaseActionYfDto = EscalateCaseActionYfDto;
|
|
86
|
-
/** Used by SDK generators to identify action type */
|
|
87
|
-
EscalateCaseActionYfDto.ACTION_TYPE = 'UPDATE';
|
|
88
|
-
EscalateCaseActionYfDto.ACTION_KEY = 'EscalateCaseActionYF';
|
|
89
|
-
EscalateCaseActionYfDto.MODULE_NAME = 'SupportModule';
|
|
90
|
-
EscalateCaseActionYfDto.ENTITIES = ['Case'];
|
|
91
|
-
EscalateCaseActionYfDto.EVENT_NAME = 'k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionYF';
|
|
92
|
-
EscalateCaseActionYfDto.PERMISSION = 'schema.action.escalatecaseactionyf.trigger';
|
|
93
|
-
/** Step metadata - entity this action targets */
|
|
94
|
-
EscalateCaseActionYfDto.STEP_ENTITY = 'SupportModule:Case';
|
|
95
|
-
EscalateCaseActionYfDto.STEP_SCHEMA_ID = 'bb540d25-53bf-491b-9d03-f3d42f755b3a';
|
|
96
|
-
EscalateCaseActionYfDto.STEP_SCHEMA_ACTION_ID = '998149b0-4e63-476b-87c3-ce5acf691671';
|
|
97
|
-
EscalateCaseActionYfDto.AUTO_LINK_PARENT = false;
|
|
98
|
-
/**
|
|
99
|
-
* Escalate to YouFibre Customer Services
|
|
100
|
-
*
|
|
101
|
-
* Escalate Case Action YF CS
|
|
102
|
-
*
|
|
103
|
-
* @actionType UPDATE - Updates an existing Case record
|
|
104
|
-
* @module SupportModule
|
|
105
|
-
* @entity Case
|
|
106
|
-
* @event k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionYFCS
|
|
107
|
-
* @permission schema.action.escalatecaseactionyfcs.trigger
|
|
108
|
-
* @benchmark This action is tracked for performance benchmarks
|
|
109
|
-
*/
|
|
110
|
-
class EscalateCaseActionYfcsDto extends core_1.OdinRecordUpdateDto {
|
|
111
|
-
constructor(record, properties, options) {
|
|
112
|
-
super({
|
|
113
|
-
id: record.id,
|
|
114
|
-
entity: record.entity,
|
|
115
|
-
type: record.type,
|
|
116
|
-
properties,
|
|
117
|
-
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
118
|
-
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
119
|
-
});
|
|
120
|
-
this.actionName = 'EscalateCaseActionYFCS';
|
|
121
|
-
this.schemaActionId = '4c151dc1-6d27-4ebf-b1e5-f5eda95574a3';
|
|
122
|
-
this.entity = 'SupportModule:Case';
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
exports.EscalateCaseActionYfcsDto = EscalateCaseActionYfcsDto;
|
|
126
|
-
/** Used by SDK generators to identify action type */
|
|
127
|
-
EscalateCaseActionYfcsDto.ACTION_TYPE = 'UPDATE';
|
|
128
|
-
EscalateCaseActionYfcsDto.ACTION_KEY = 'EscalateCaseActionYFCS';
|
|
129
|
-
EscalateCaseActionYfcsDto.MODULE_NAME = 'SupportModule';
|
|
130
|
-
EscalateCaseActionYfcsDto.ENTITIES = ['Case'];
|
|
131
|
-
EscalateCaseActionYfcsDto.EVENT_NAME = 'k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionYFCS';
|
|
132
|
-
EscalateCaseActionYfcsDto.PERMISSION = 'schema.action.escalatecaseactionyfcs.trigger';
|
|
133
|
-
/** Step metadata - entity this action targets */
|
|
134
|
-
EscalateCaseActionYfcsDto.STEP_ENTITY = 'SupportModule:Case';
|
|
135
|
-
EscalateCaseActionYfcsDto.STEP_SCHEMA_ID = 'bb540d25-53bf-491b-9d03-f3d42f755b3a';
|
|
136
|
-
EscalateCaseActionYfcsDto.STEP_SCHEMA_ACTION_ID = '4c151dc1-6d27-4ebf-b1e5-f5eda95574a3';
|
|
137
|
-
EscalateCaseActionYfcsDto.AUTO_LINK_PARENT = false;
|
|
54
|
+
EscalateCaseActionDto.STEP_ENTITY = 'SupportModule:Case';
|
|
55
|
+
EscalateCaseActionDto.STEP_SCHEMA_ID = 'bb540d25-53bf-491b-9d03-f3d42f755b3a';
|
|
56
|
+
EscalateCaseActionDto.STEP_SCHEMA_ACTION_ID = 'a4b43ce6-affe-45ac-a42a-cc2069090496';
|
|
57
|
+
EscalateCaseActionDto.AUTO_LINK_PARENT = false;
|
|
138
58
|
/**
|
|
139
59
|
* CreateNoteForCaseAssignment
|
|
140
60
|
*
|
|
@@ -232,7 +152,7 @@ CaseTransitionPendingAgentToEscalatedDto.HAS_STEP_LINKS = false;
|
|
|
232
152
|
CaseTransitionPendingAgentToEscalatedDto.stepDefinitions = [
|
|
233
153
|
{
|
|
234
154
|
stepKey: 'escalate_case',
|
|
235
|
-
dtoClass: '
|
|
155
|
+
dtoClass: 'EscalateCaseActionDto',
|
|
236
156
|
entity: 'SupportModule:Case',
|
|
237
157
|
linksTo: null
|
|
238
158
|
},
|
|
@@ -246,4 +166,4 @@ CaseTransitionPendingAgentToEscalatedDto.stepDefinitions = [
|
|
|
246
166
|
/** Type-safe step key accessor */
|
|
247
167
|
CaseTransitionPendingAgentToEscalatedDto.Steps = exports.CaseTransitionPendingAgentToEscalatedSteps;
|
|
248
168
|
/** Step classes that can be used with this action */
|
|
249
|
-
CaseTransitionPendingAgentToEscalatedDto.stepClasses = ['
|
|
169
|
+
CaseTransitionPendingAgentToEscalatedDto.stepClasses = ['EscalateCaseActionDto', 'CreateNoteForCaseAssignmentDto'];
|