@d19n/youfibre-odin-sdk 2.0.44 → 2.0.47-beta.0
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 +14 -3
- package/dist/actions-v2/AssignCaseTransitionDto.d.ts +141 -2
- package/dist/actions-v2/AssignCaseTransitionDto.js +90 -4
- package/dist/actions-v2/CaseDefaultStageEscalatedDto.d.ts +152 -19
- package/dist/actions-v2/CaseDefaultStageEscalatedDto.js +101 -23
- package/dist/actions-v2/EscalateCaseActionBrskDto.d.ts +91 -0
- package/dist/actions-v2/EscalateCaseActionBrskDto.js +56 -0
- package/dist/actions-v2/EscalateCaseActionYfDto.d.ts +82 -0
- package/dist/actions-v2/EscalateCaseActionYfDto.js +56 -0
- package/dist/actions-v2/EscalateCaseActionYfcsDto.d.ts +89 -0
- package/dist/actions-v2/EscalateCaseActionYfcsDto.js +56 -0
- package/dist/actions-v2/UpdateAddressDataSetDto.d.ts +8 -1
- package/dist/actions-v2/UpdateExternalServiceIdDto.d.ts +73 -0
- package/dist/actions-v2/UpdateExternalServiceIdDto.js +56 -0
- package/dist/actions-v2/UpdateTeamDto.d.ts +3 -3
- package/dist/api-sdk-v2/CrmDatasetApi.d.ts +2 -0
- package/dist/api-sdk-v2/CrmDatasetApi.js +6 -0
- package/dist/api-sdk-v2/ExchangeApi.d.ts +2 -0
- package/dist/api-sdk-v2/ExchangeApi.js +6 -0
- package/dist/db-sdk-v2/CrmDatasetDb.d.ts +2 -0
- package/dist/db-sdk-v2/CrmDatasetDb.js +6 -0
- package/dist/db-sdk-v2/ExchangeDb.d.ts +2 -0
- package/dist/db-sdk-v2/ExchangeDb.js +6 -0
- package/dist/entities-v2/Address.d.ts +8 -1
- package/dist/entities-v2/Address.js +2 -0
- package/dist/entities-v2/Config.d.ts +8 -8
- package/dist/entities-v2/Config.js +4 -4
- package/dist/entities-v2/CrmDataset.d.ts +3 -0
- package/dist/entities-v2/Exchange.d.ts +7 -0
- package/dist/entities-v2/Exchange.js +5 -1
- package/dist/entities-v2/Team.d.ts +12 -10
- package/dist/entities-v2/Team.js +13 -11
- package/dist/records-v2/AddressRecord.d.ts +27 -0
- package/dist/records-v2/AddressRecord.js +29 -0
- package/dist/records-v2/CaseRecord.d.ts +207 -13
- package/dist/records-v2/CaseRecord.js +312 -16
- package/dist/records-v2/CrmDatasetRecord.d.ts +20 -0
- package/dist/records-v2/CrmDatasetRecord.js +33 -0
- package/dist/records-v2/ExchangeRecord.d.ts +20 -0
- package/dist/records-v2/ExchangeRecord.js +33 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -352,7 +352,7 @@ This SDK includes **164** entities across **12** modules.
|
|
|
352
352
|
|
|
353
353
|
## Actions
|
|
354
354
|
|
|
355
|
-
This SDK includes **
|
|
355
|
+
This SDK includes **594** actions.
|
|
356
356
|
|
|
357
357
|
### Action Types
|
|
358
358
|
|
|
@@ -694,6 +694,7 @@ This SDK includes **590** actions.
|
|
|
694
694
|
|--------|------|-------|
|
|
695
695
|
| `AddressCreate` | CREATE | k1.t-hEOJjsDb.CrmModule.Address.Create.AddressCreate |
|
|
696
696
|
| `AddressUpdate` | UPDATE | k1.t-hEOJjsDb.CrmModule.Address.Update.AddressUpdate |
|
|
697
|
+
| `UpdateExternalServiceId` | UPDATE | k1.t-hEOJjsDb.CrmModule.Address.Update.UpdateExternalServiceId |
|
|
697
698
|
|
|
698
699
|
#### Case
|
|
699
700
|
|
|
@@ -702,9 +703,9 @@ This SDK includes **590** actions.
|
|
|
702
703
|
| `AllowCsatForCase` | UPDATE | k1.t-hEOJjsDb.SupportModule.Case.Update.AllowCsatForCase |
|
|
703
704
|
| `AssignCaseByUser` | UPDATE | k1.t-hEOJjsDb.SupportModule.Case.Update.AssignCaseByUser |
|
|
704
705
|
| `AssignCase` | UPDATE | k1.t-hEOJjsDb.SupportModule.Case.Update.AssignCase |
|
|
705
|
-
| `AssignCaseTransition` |
|
|
706
|
+
| `AssignCaseTransition` | MULTI_STEP_FLOW | k1.t-hEOJjsDb.SupportModule.Case.Update.AssignCase |
|
|
706
707
|
| `AssignCaseWithNoteFlow` | MULTI_STEP_FLOW | k1.t-hEOJjsDb.SupportModule.Case.Update.AssignCase |
|
|
707
|
-
| `CaseDefaultStageEscalated` | STAGE_TRANSITION | k1.t-hEOJjsDb.SupportModule.Case.Update.
|
|
708
|
+
| `CaseDefaultStageEscalated` | STAGE_TRANSITION | k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionYF |
|
|
708
709
|
| `CaseDefaultStageSolved` | STAGE_TRANSITION | k1.t-hEOJjsDb.SupportModule.Case.Update.AllowCsatForCase |
|
|
709
710
|
| `Casedefaultstageblocked` | STAGE_TRANSITION | k1.t-hEOJjsDb.SupportModule.Case.Update.MoveCaseToBlockedAction |
|
|
710
711
|
| `ChangeCaseChannel` | UPDATE | k1.t-hEOJjsDb.SupportModule.Case.Update.ChangeCaseChannel |
|
|
@@ -714,7 +715,10 @@ This SDK includes **590** actions.
|
|
|
714
715
|
| `CreateCaseWithDpa` | CREATE | k1.t-hEOJjsDb.SupportModule.Case.Create.CreateCaseWithDpa |
|
|
715
716
|
| `EditCaseForm` | UPDATE | k1.t-hEOJjsDb.SupportModule.Case.Update.EditCaseForm |
|
|
716
717
|
| `EditProviders` | UPDATE | k1.t-hEOJjsDb.SupportModule.Case.Update.EditProviders |
|
|
718
|
+
| `EscalateCaseActionBrsk` | UPDATE | k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionBrsk |
|
|
717
719
|
| `EscalateCaseAction` | UPDATE | k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseAction |
|
|
720
|
+
| `EscalateCaseActionYf` | UPDATE | k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionYF |
|
|
721
|
+
| `EscalateCaseActionYfcs` | UPDATE | k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionYFCS |
|
|
718
722
|
| `EscalateCaseTransition` | STAGE_TRANSITION | k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseAction |
|
|
719
723
|
| `ExceptionInput` | UPDATE | k1.t-hEOJjsDb.SupportModule.Case.Update.ExceptionInput |
|
|
720
724
|
| `MarkCaseClosed` | UPDATE | k1.t-hEOJjsDb.SupportModule.Case.Update.MarkCaseClosed |
|
|
@@ -765,6 +769,13 @@ This SDK includes **590** actions.
|
|
|
765
769
|
|
|
766
770
|
**MovetoClosed Target Stages:** `CaseDefaultStageClosed`
|
|
767
771
|
|
|
772
|
+
**AssignCaseTransition Steps:**
|
|
773
|
+
|
|
774
|
+
| Step Method | Type | Signature |
|
|
775
|
+
|-------------|------|-----------|
|
|
776
|
+
| `assignCase` | UPDATE | `(id, properties, options?)` |
|
|
777
|
+
| `escalateCaseActionBrsk` | UPDATE | `(id, properties, options?)` |
|
|
778
|
+
|
|
768
779
|
**AssignCaseWithNoteFlow Steps:**
|
|
769
780
|
|
|
770
781
|
| Step Method | Type | Signature |
|
|
@@ -11,7 +11,146 @@
|
|
|
11
11
|
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
12
12
|
*/
|
|
13
13
|
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
14
|
-
|
|
14
|
+
/**
|
|
15
|
+
* Properties for AssignCase action
|
|
16
|
+
*
|
|
17
|
+
* @property Required fields: 0
|
|
18
|
+
* @property Optional fields: 2
|
|
19
|
+
*/
|
|
20
|
+
export interface AssignCaseProperties {
|
|
21
|
+
/**
|
|
22
|
+
* Team
|
|
23
|
+
*
|
|
24
|
+
* Reference identifier for Case relationships. Used for data integrity.
|
|
25
|
+
* @type {LOOKUP}
|
|
26
|
+
*/
|
|
27
|
+
TeamId?: string | null;
|
|
28
|
+
/**
|
|
29
|
+
* Owner
|
|
30
|
+
*
|
|
31
|
+
* Reference identifier for Case relationships. Used for data integrity.
|
|
32
|
+
* @type {LOOKUP}
|
|
33
|
+
*/
|
|
34
|
+
OwnerId?: string | null;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Assign Owner
|
|
38
|
+
*
|
|
39
|
+
* Assign the case to a User
|
|
40
|
+
*
|
|
41
|
+
* @actionType UPDATE - Updates an existing Case record
|
|
42
|
+
* @module SupportModule
|
|
43
|
+
* @entity Case
|
|
44
|
+
* @entityType DEFAULT (Default)
|
|
45
|
+
* @event k1.t-hEOJjsDb.SupportModule.Case.Update.AssignCase
|
|
46
|
+
* @permission schema.action.assigncase.trigger
|
|
47
|
+
* @category WORKFLOW
|
|
48
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
49
|
+
* @benchmarkTags assignment, case, customer-service, entity:case
|
|
50
|
+
*/
|
|
51
|
+
export declare class AssignCaseDto extends OdinRecordUpdateDto<AssignCaseProperties> {
|
|
52
|
+
/** Used by SDK generators to identify action type */
|
|
53
|
+
static readonly ACTION_TYPE = "UPDATE";
|
|
54
|
+
static readonly ACTION_KEY = "AssignCase";
|
|
55
|
+
static readonly MODULE_NAME = "SupportModule";
|
|
56
|
+
static readonly ENTITIES: string[];
|
|
57
|
+
static readonly ENTITY_TYPE = "DEFAULT";
|
|
58
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.SupportModule.Case.Update.AssignCase";
|
|
59
|
+
static readonly PERMISSION = "schema.action.assigncase.trigger";
|
|
60
|
+
/** Step metadata - entity this action targets */
|
|
61
|
+
static readonly STEP_ENTITY = "SupportModule:Case";
|
|
62
|
+
static readonly STEP_SCHEMA_ID = "be8173eb-269b-4a67-be0c-11ce6af5d561";
|
|
63
|
+
static readonly STEP_SCHEMA_ACTION_ID = "1b9ad25e-fe28-42fd-8198-b89d9df26bb1";
|
|
64
|
+
static readonly STEP_SCHEMA_TYPE_ID = "2d18d4c3-b4f8-4633-bfb0-ff0d62fbaecf";
|
|
65
|
+
static readonly STEP_TYPE = "DEFAULT";
|
|
66
|
+
static readonly AUTO_LINK_PARENT = false;
|
|
67
|
+
readonly actionName: string;
|
|
68
|
+
readonly schemaActionId: string;
|
|
69
|
+
readonly entity: string;
|
|
70
|
+
constructor(record: OdinRecord<any> | {
|
|
71
|
+
id: string;
|
|
72
|
+
entity: string;
|
|
73
|
+
type?: string;
|
|
74
|
+
}, properties: AssignCaseProperties, options?: {
|
|
75
|
+
journeyId?: string;
|
|
76
|
+
stageKey?: string;
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Properties for EscalateCaseActionBrsk action
|
|
81
|
+
*
|
|
82
|
+
* @property Required fields: 1
|
|
83
|
+
* @property Optional fields: 4
|
|
84
|
+
*/
|
|
85
|
+
export interface EscalateCaseActionBrskProperties {
|
|
86
|
+
/**
|
|
87
|
+
* Team
|
|
88
|
+
*
|
|
89
|
+
* Reference identifier for Case relationships. Used for data integrity.
|
|
90
|
+
* @type {LOOKUP}
|
|
91
|
+
* @required
|
|
92
|
+
* @default null
|
|
93
|
+
*/
|
|
94
|
+
TeamId: string;
|
|
95
|
+
/**
|
|
96
|
+
* Providers
|
|
97
|
+
*
|
|
98
|
+
* Providers
|
|
99
|
+
* @type {ENUM}
|
|
100
|
+
* @default Brsk
|
|
101
|
+
*/
|
|
102
|
+
Providers?: string | null;
|
|
103
|
+
/**
|
|
104
|
+
* Owner
|
|
105
|
+
*
|
|
106
|
+
* Reference identifier for Case relationships. Used for data integrity.
|
|
107
|
+
* @type {LOOKUP}
|
|
108
|
+
* @default null
|
|
109
|
+
* @hidden This field is not visible in the UI
|
|
110
|
+
*/
|
|
111
|
+
OwnerId?: string | null;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Escalate to Brsk Customer Services
|
|
115
|
+
*
|
|
116
|
+
* Escalate Case Action Brsk
|
|
117
|
+
*
|
|
118
|
+
* @actionType UPDATE - Updates an existing Case record
|
|
119
|
+
* @module SupportModule
|
|
120
|
+
* @entity Case
|
|
121
|
+
* @event k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionBrsk
|
|
122
|
+
* @permission schema.action.escalatecaseactionbrsk.trigger
|
|
123
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
124
|
+
*/
|
|
125
|
+
export declare class EscalateCaseActionBrskDto extends OdinRecordUpdateDto<EscalateCaseActionBrskProperties> {
|
|
126
|
+
/** Used by SDK generators to identify action type */
|
|
127
|
+
static readonly ACTION_TYPE = "UPDATE";
|
|
128
|
+
static readonly ACTION_KEY = "EscalateCaseActionBrsk";
|
|
129
|
+
static readonly MODULE_NAME = "SupportModule";
|
|
130
|
+
static readonly ENTITIES: string[];
|
|
131
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionBrsk";
|
|
132
|
+
static readonly PERMISSION = "schema.action.escalatecaseactionbrsk.trigger";
|
|
133
|
+
/** Step metadata - entity this action targets */
|
|
134
|
+
static readonly STEP_ENTITY = "SupportModule:Case";
|
|
135
|
+
static readonly STEP_SCHEMA_ID = "be8173eb-269b-4a67-be0c-11ce6af5d561";
|
|
136
|
+
static readonly STEP_SCHEMA_ACTION_ID = "52c9c00a-d2ae-422f-a326-dead7314c684";
|
|
137
|
+
static readonly AUTO_LINK_PARENT = false;
|
|
138
|
+
readonly actionName: string;
|
|
139
|
+
readonly schemaActionId: string;
|
|
140
|
+
readonly entity: string;
|
|
141
|
+
constructor(record: OdinRecord<any> | {
|
|
142
|
+
id: string;
|
|
143
|
+
entity: string;
|
|
144
|
+
type?: string;
|
|
145
|
+
}, properties: EscalateCaseActionBrskProperties, options?: {
|
|
146
|
+
journeyId?: string;
|
|
147
|
+
stageKey?: string;
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
declare type StepClassMap = {
|
|
151
|
+
AssignCaseDto: AssignCaseDto;
|
|
152
|
+
EscalateCaseActionBrskDto: EscalateCaseActionBrskDto;
|
|
153
|
+
};
|
|
15
154
|
/**
|
|
16
155
|
* Link definition for connecting steps in AssignCaseTransition
|
|
17
156
|
*/
|
|
@@ -103,7 +242,7 @@ export declare class AssignCaseTransitionDto extends OdinRecordUpdateDto<Record<
|
|
|
103
242
|
journeyId?: string;
|
|
104
243
|
});
|
|
105
244
|
/** Step classes that can be used with this action */
|
|
106
|
-
static readonly stepClasses: readonly [];
|
|
245
|
+
static readonly stepClasses: readonly ["AssignCaseDto", "EscalateCaseActionBrskDto"];
|
|
107
246
|
steps: StepClassMap[(typeof AssignCaseTransitionDto.stepClasses)[number]][];
|
|
108
247
|
}
|
|
109
248
|
export {};
|
|
@@ -12,8 +12,94 @@
|
|
|
12
12
|
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
13
|
*/
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.AssignCaseTransitionDto = exports.AssignCaseTransitionSteps = void 0;
|
|
15
|
+
exports.AssignCaseTransitionDto = exports.AssignCaseTransitionSteps = exports.EscalateCaseActionBrskDto = exports.AssignCaseDto = void 0;
|
|
16
16
|
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
|
+
/**
|
|
18
|
+
* Assign Owner
|
|
19
|
+
*
|
|
20
|
+
* Assign the case to a User
|
|
21
|
+
*
|
|
22
|
+
* @actionType UPDATE - Updates an existing Case record
|
|
23
|
+
* @module SupportModule
|
|
24
|
+
* @entity Case
|
|
25
|
+
* @entityType DEFAULT (Default)
|
|
26
|
+
* @event k1.t-hEOJjsDb.SupportModule.Case.Update.AssignCase
|
|
27
|
+
* @permission schema.action.assigncase.trigger
|
|
28
|
+
* @category WORKFLOW
|
|
29
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
30
|
+
* @benchmarkTags assignment, case, customer-service, entity:case
|
|
31
|
+
*/
|
|
32
|
+
class AssignCaseDto extends core_1.OdinRecordUpdateDto {
|
|
33
|
+
constructor(record, properties, options) {
|
|
34
|
+
super({
|
|
35
|
+
id: record.id,
|
|
36
|
+
entity: record.entity,
|
|
37
|
+
type: record.type,
|
|
38
|
+
properties,
|
|
39
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
40
|
+
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
41
|
+
});
|
|
42
|
+
this.actionName = 'AssignCase';
|
|
43
|
+
this.schemaActionId = '1b9ad25e-fe28-42fd-8198-b89d9df26bb1';
|
|
44
|
+
this.entity = 'SupportModule:Case';
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.AssignCaseDto = AssignCaseDto;
|
|
48
|
+
/** Used by SDK generators to identify action type */
|
|
49
|
+
AssignCaseDto.ACTION_TYPE = 'UPDATE';
|
|
50
|
+
AssignCaseDto.ACTION_KEY = 'AssignCase';
|
|
51
|
+
AssignCaseDto.MODULE_NAME = 'SupportModule';
|
|
52
|
+
AssignCaseDto.ENTITIES = ['Case'];
|
|
53
|
+
AssignCaseDto.ENTITY_TYPE = 'DEFAULT';
|
|
54
|
+
AssignCaseDto.EVENT_NAME = 'k1.t-hEOJjsDb.SupportModule.Case.Update.AssignCase';
|
|
55
|
+
AssignCaseDto.PERMISSION = 'schema.action.assigncase.trigger';
|
|
56
|
+
/** Step metadata - entity this action targets */
|
|
57
|
+
AssignCaseDto.STEP_ENTITY = 'SupportModule:Case';
|
|
58
|
+
AssignCaseDto.STEP_SCHEMA_ID = 'be8173eb-269b-4a67-be0c-11ce6af5d561';
|
|
59
|
+
AssignCaseDto.STEP_SCHEMA_ACTION_ID = '1b9ad25e-fe28-42fd-8198-b89d9df26bb1';
|
|
60
|
+
AssignCaseDto.STEP_SCHEMA_TYPE_ID = '2d18d4c3-b4f8-4633-bfb0-ff0d62fbaecf';
|
|
61
|
+
AssignCaseDto.STEP_TYPE = 'DEFAULT';
|
|
62
|
+
AssignCaseDto.AUTO_LINK_PARENT = false;
|
|
63
|
+
/**
|
|
64
|
+
* Escalate to Brsk Customer Services
|
|
65
|
+
*
|
|
66
|
+
* Escalate Case Action Brsk
|
|
67
|
+
*
|
|
68
|
+
* @actionType UPDATE - Updates an existing Case record
|
|
69
|
+
* @module SupportModule
|
|
70
|
+
* @entity Case
|
|
71
|
+
* @event k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionBrsk
|
|
72
|
+
* @permission schema.action.escalatecaseactionbrsk.trigger
|
|
73
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
74
|
+
*/
|
|
75
|
+
class EscalateCaseActionBrskDto extends core_1.OdinRecordUpdateDto {
|
|
76
|
+
constructor(record, properties, options) {
|
|
77
|
+
super({
|
|
78
|
+
id: record.id,
|
|
79
|
+
entity: record.entity,
|
|
80
|
+
type: record.type,
|
|
81
|
+
properties,
|
|
82
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
83
|
+
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
84
|
+
});
|
|
85
|
+
this.actionName = 'EscalateCaseActionBrsk';
|
|
86
|
+
this.schemaActionId = '52c9c00a-d2ae-422f-a326-dead7314c684';
|
|
87
|
+
this.entity = 'SupportModule:Case';
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
exports.EscalateCaseActionBrskDto = EscalateCaseActionBrskDto;
|
|
91
|
+
/** Used by SDK generators to identify action type */
|
|
92
|
+
EscalateCaseActionBrskDto.ACTION_TYPE = 'UPDATE';
|
|
93
|
+
EscalateCaseActionBrskDto.ACTION_KEY = 'EscalateCaseActionBrsk';
|
|
94
|
+
EscalateCaseActionBrskDto.MODULE_NAME = 'SupportModule';
|
|
95
|
+
EscalateCaseActionBrskDto.ENTITIES = ['Case'];
|
|
96
|
+
EscalateCaseActionBrskDto.EVENT_NAME = 'k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionBrsk';
|
|
97
|
+
EscalateCaseActionBrskDto.PERMISSION = 'schema.action.escalatecaseactionbrsk.trigger';
|
|
98
|
+
/** Step metadata - entity this action targets */
|
|
99
|
+
EscalateCaseActionBrskDto.STEP_ENTITY = 'SupportModule:Case';
|
|
100
|
+
EscalateCaseActionBrskDto.STEP_SCHEMA_ID = 'be8173eb-269b-4a67-be0c-11ce6af5d561';
|
|
101
|
+
EscalateCaseActionBrskDto.STEP_SCHEMA_ACTION_ID = '52c9c00a-d2ae-422f-a326-dead7314c684';
|
|
102
|
+
EscalateCaseActionBrskDto.AUTO_LINK_PARENT = false;
|
|
17
103
|
/**
|
|
18
104
|
* Type-safe step keys for AssignCaseTransition
|
|
19
105
|
*/
|
|
@@ -63,12 +149,12 @@ AssignCaseTransitionDto.HAS_STEP_LINKS = false;
|
|
|
63
149
|
AssignCaseTransitionDto.stepDefinitions = [
|
|
64
150
|
{
|
|
65
151
|
stepKey: 'step_1',
|
|
66
|
-
dtoClass: '
|
|
67
|
-
entity: '
|
|
152
|
+
dtoClass: 'AssignCaseDto',
|
|
153
|
+
entity: 'SupportModule:Case',
|
|
68
154
|
linksTo: null
|
|
69
155
|
}
|
|
70
156
|
];
|
|
71
157
|
/** Type-safe step key accessor */
|
|
72
158
|
AssignCaseTransitionDto.Steps = exports.AssignCaseTransitionSteps;
|
|
73
159
|
/** Step classes that can be used with this action */
|
|
74
|
-
AssignCaseTransitionDto.stepClasses = [];
|
|
160
|
+
AssignCaseTransitionDto.stepClasses = ['AssignCaseDto', 'EscalateCaseActionBrskDto'];
|
|
@@ -13,18 +13,81 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import { OdinRecord, OdinRecordCreateDto, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
15
15
|
/**
|
|
16
|
-
* Properties for
|
|
16
|
+
* Properties for EscalateCaseActionYF action
|
|
17
|
+
*
|
|
18
|
+
* @property Required fields: 0
|
|
19
|
+
* @property Optional fields: 4
|
|
20
|
+
*/
|
|
21
|
+
export interface EscalateCaseActionYfProperties {
|
|
22
|
+
/**
|
|
23
|
+
* Team
|
|
24
|
+
*
|
|
25
|
+
* Reference identifier for Case relationships. Used for data integrity.
|
|
26
|
+
* @type {LOOKUP}
|
|
27
|
+
* @default null
|
|
28
|
+
*/
|
|
29
|
+
TeamId?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* Owner
|
|
32
|
+
*
|
|
33
|
+
* Reference identifier for Case relationships. Used for data integrity.
|
|
34
|
+
* @type {LOOKUP}
|
|
35
|
+
* @default null
|
|
36
|
+
* @hidden This field is not visible in the UI
|
|
37
|
+
*/
|
|
38
|
+
OwnerId?: string | null;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Escalate to YouFibre
|
|
42
|
+
*
|
|
43
|
+
* Escalate Case Action YF
|
|
44
|
+
*
|
|
45
|
+
* @actionType UPDATE - Updates an existing Case record
|
|
46
|
+
* @module SupportModule
|
|
47
|
+
* @entity Case
|
|
48
|
+
* @event k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionYF
|
|
49
|
+
* @permission schema.action.escalatecaseactionyf.trigger
|
|
50
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
51
|
+
*/
|
|
52
|
+
export declare class EscalateCaseActionYfDto extends OdinRecordUpdateDto<EscalateCaseActionYfProperties> {
|
|
53
|
+
/** Used by SDK generators to identify action type */
|
|
54
|
+
static readonly ACTION_TYPE = "UPDATE";
|
|
55
|
+
static readonly ACTION_KEY = "EscalateCaseActionYF";
|
|
56
|
+
static readonly MODULE_NAME = "SupportModule";
|
|
57
|
+
static readonly ENTITIES: string[];
|
|
58
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionYF";
|
|
59
|
+
static readonly PERMISSION = "schema.action.escalatecaseactionyf.trigger";
|
|
60
|
+
/** Step metadata - entity this action targets */
|
|
61
|
+
static readonly STEP_ENTITY = "SupportModule:Case";
|
|
62
|
+
static readonly STEP_SCHEMA_ID = "be8173eb-269b-4a67-be0c-11ce6af5d561";
|
|
63
|
+
static readonly STEP_SCHEMA_ACTION_ID = "2d38b17f-7c51-4a9a-bea5-27873de882c6";
|
|
64
|
+
static readonly AUTO_LINK_PARENT = false;
|
|
65
|
+
readonly actionName: string;
|
|
66
|
+
readonly schemaActionId: string;
|
|
67
|
+
readonly entity: string;
|
|
68
|
+
constructor(record: OdinRecord<any> | {
|
|
69
|
+
id: string;
|
|
70
|
+
entity: string;
|
|
71
|
+
type?: string;
|
|
72
|
+
}, properties: EscalateCaseActionYfProperties, options?: {
|
|
73
|
+
journeyId?: string;
|
|
74
|
+
stageKey?: string;
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Properties for EscalateCaseActionBrsk action
|
|
17
79
|
*
|
|
18
80
|
* @property Required fields: 1
|
|
19
81
|
* @property Optional fields: 4
|
|
20
82
|
*/
|
|
21
|
-
export interface
|
|
83
|
+
export interface EscalateCaseActionBrskProperties {
|
|
22
84
|
/**
|
|
23
|
-
* Team
|
|
85
|
+
* Team
|
|
24
86
|
*
|
|
25
87
|
* Reference identifier for Case relationships. Used for data integrity.
|
|
26
88
|
* @type {LOOKUP}
|
|
27
89
|
* @required
|
|
90
|
+
* @default null
|
|
28
91
|
*/
|
|
29
92
|
TeamId: string;
|
|
30
93
|
/**
|
|
@@ -32,44 +95,112 @@ export interface EscalateCaseActionProperties {
|
|
|
32
95
|
*
|
|
33
96
|
* Providers
|
|
34
97
|
* @type {ENUM}
|
|
35
|
-
* @
|
|
98
|
+
* @default Brsk
|
|
36
99
|
*/
|
|
37
100
|
Providers?: string | null;
|
|
38
101
|
/**
|
|
39
|
-
*
|
|
102
|
+
* Owner
|
|
40
103
|
*
|
|
41
104
|
* Reference identifier for Case relationships. Used for data integrity.
|
|
42
105
|
* @type {LOOKUP}
|
|
106
|
+
* @default null
|
|
43
107
|
* @hidden This field is not visible in the UI
|
|
44
108
|
*/
|
|
45
109
|
OwnerId?: string | null;
|
|
46
110
|
}
|
|
47
111
|
/**
|
|
48
|
-
* Escalate
|
|
112
|
+
* Escalate to Brsk Customer Services
|
|
49
113
|
*
|
|
50
|
-
*
|
|
114
|
+
* Escalate Case Action Brsk
|
|
51
115
|
*
|
|
52
116
|
* @actionType UPDATE - Updates an existing Case record
|
|
53
117
|
* @module SupportModule
|
|
54
118
|
* @entity Case
|
|
55
|
-
* @event k1.t-hEOJjsDb.SupportModule.Case.Update.
|
|
56
|
-
* @permission schema.action.
|
|
57
|
-
* @
|
|
119
|
+
* @event k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionBrsk
|
|
120
|
+
* @permission schema.action.escalatecaseactionbrsk.trigger
|
|
121
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
122
|
+
*/
|
|
123
|
+
export declare class EscalateCaseActionBrskDto extends OdinRecordUpdateDto<EscalateCaseActionBrskProperties> {
|
|
124
|
+
/** Used by SDK generators to identify action type */
|
|
125
|
+
static readonly ACTION_TYPE = "UPDATE";
|
|
126
|
+
static readonly ACTION_KEY = "EscalateCaseActionBrsk";
|
|
127
|
+
static readonly MODULE_NAME = "SupportModule";
|
|
128
|
+
static readonly ENTITIES: string[];
|
|
129
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionBrsk";
|
|
130
|
+
static readonly PERMISSION = "schema.action.escalatecaseactionbrsk.trigger";
|
|
131
|
+
/** Step metadata - entity this action targets */
|
|
132
|
+
static readonly STEP_ENTITY = "SupportModule:Case";
|
|
133
|
+
static readonly STEP_SCHEMA_ID = "be8173eb-269b-4a67-be0c-11ce6af5d561";
|
|
134
|
+
static readonly STEP_SCHEMA_ACTION_ID = "52c9c00a-d2ae-422f-a326-dead7314c684";
|
|
135
|
+
static readonly AUTO_LINK_PARENT = false;
|
|
136
|
+
readonly actionName: string;
|
|
137
|
+
readonly schemaActionId: string;
|
|
138
|
+
readonly entity: string;
|
|
139
|
+
constructor(record: OdinRecord<any> | {
|
|
140
|
+
id: string;
|
|
141
|
+
entity: string;
|
|
142
|
+
type?: string;
|
|
143
|
+
}, properties: EscalateCaseActionBrskProperties, options?: {
|
|
144
|
+
journeyId?: string;
|
|
145
|
+
stageKey?: string;
|
|
146
|
+
});
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* Properties for EscalateCaseActionYFCS action
|
|
150
|
+
*
|
|
151
|
+
* @property Required fields: 0
|
|
152
|
+
* @property Optional fields: 5
|
|
153
|
+
*/
|
|
154
|
+
export interface EscalateCaseActionYfcsProperties {
|
|
155
|
+
/**
|
|
156
|
+
* Providers
|
|
157
|
+
*
|
|
158
|
+
* Providers
|
|
159
|
+
* @type {ENUM}
|
|
160
|
+
* @default Netomnia
|
|
161
|
+
*/
|
|
162
|
+
Providers?: string | null;
|
|
163
|
+
/**
|
|
164
|
+
* Team
|
|
165
|
+
*
|
|
166
|
+
* Reference identifier for Case relationships. Used for data integrity.
|
|
167
|
+
* @type {LOOKUP}
|
|
168
|
+
* @default null
|
|
169
|
+
*/
|
|
170
|
+
TeamId?: string | null;
|
|
171
|
+
/**
|
|
172
|
+
* Owner
|
|
173
|
+
*
|
|
174
|
+
* Reference identifier for Case relationships. Used for data integrity.
|
|
175
|
+
* @type {LOOKUP}
|
|
176
|
+
* @default null
|
|
177
|
+
*/
|
|
178
|
+
OwnerId?: string | null;
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* Escalate to YouFibre Customer Services
|
|
182
|
+
*
|
|
183
|
+
* Escalate Case Action YF CS
|
|
184
|
+
*
|
|
185
|
+
* @actionType UPDATE - Updates an existing Case record
|
|
186
|
+
* @module SupportModule
|
|
187
|
+
* @entity Case
|
|
188
|
+
* @event k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionYFCS
|
|
189
|
+
* @permission schema.action.escalatecaseactionyfcs.trigger
|
|
58
190
|
* @benchmark This action is tracked for performance benchmarks
|
|
59
|
-
* @benchmarkTags case, customer-service, escalation
|
|
60
191
|
*/
|
|
61
|
-
export declare class
|
|
192
|
+
export declare class EscalateCaseActionYfcsDto extends OdinRecordUpdateDto<EscalateCaseActionYfcsProperties> {
|
|
62
193
|
/** Used by SDK generators to identify action type */
|
|
63
194
|
static readonly ACTION_TYPE = "UPDATE";
|
|
64
|
-
static readonly ACTION_KEY = "
|
|
195
|
+
static readonly ACTION_KEY = "EscalateCaseActionYFCS";
|
|
65
196
|
static readonly MODULE_NAME = "SupportModule";
|
|
66
197
|
static readonly ENTITIES: string[];
|
|
67
|
-
static readonly EVENT_NAME = "k1.t-hEOJjsDb.SupportModule.Case.Update.
|
|
68
|
-
static readonly PERMISSION = "schema.action.
|
|
198
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionYFCS";
|
|
199
|
+
static readonly PERMISSION = "schema.action.escalatecaseactionyfcs.trigger";
|
|
69
200
|
/** Step metadata - entity this action targets */
|
|
70
201
|
static readonly STEP_ENTITY = "SupportModule:Case";
|
|
71
202
|
static readonly STEP_SCHEMA_ID = "be8173eb-269b-4a67-be0c-11ce6af5d561";
|
|
72
|
-
static readonly STEP_SCHEMA_ACTION_ID = "
|
|
203
|
+
static readonly STEP_SCHEMA_ACTION_ID = "a481332c-eb96-4e83-9679-7d345a1cb69b";
|
|
73
204
|
static readonly AUTO_LINK_PARENT = false;
|
|
74
205
|
readonly actionName: string;
|
|
75
206
|
readonly schemaActionId: string;
|
|
@@ -78,7 +209,7 @@ export declare class EscalateCaseActionDto extends OdinRecordUpdateDto<EscalateC
|
|
|
78
209
|
id: string;
|
|
79
210
|
entity: string;
|
|
80
211
|
type?: string;
|
|
81
|
-
}, properties:
|
|
212
|
+
}, properties: EscalateCaseActionYfcsProperties, options?: {
|
|
82
213
|
journeyId?: string;
|
|
83
214
|
stageKey?: string;
|
|
84
215
|
});
|
|
@@ -137,7 +268,9 @@ export declare class CreateNoteForCaseAssignmentDto extends OdinRecordCreateDto<
|
|
|
137
268
|
});
|
|
138
269
|
}
|
|
139
270
|
declare type StepClassMap = {
|
|
140
|
-
|
|
271
|
+
EscalateCaseActionYfDto: EscalateCaseActionYfDto;
|
|
272
|
+
EscalateCaseActionBrskDto: EscalateCaseActionBrskDto;
|
|
273
|
+
EscalateCaseActionYfcsDto: EscalateCaseActionYfcsDto;
|
|
141
274
|
CreateNoteForCaseAssignmentDto: CreateNoteForCaseAssignmentDto;
|
|
142
275
|
};
|
|
143
276
|
/**
|
|
@@ -242,7 +375,7 @@ export declare class CaseDefaultStageEscalatedDto extends OdinRecordUpdateDto<Re
|
|
|
242
375
|
journeyId?: string;
|
|
243
376
|
});
|
|
244
377
|
/** Step classes that can be used with this action */
|
|
245
|
-
static readonly stepClasses: readonly ["
|
|
378
|
+
static readonly stepClasses: readonly ["EscalateCaseActionYfDto", "EscalateCaseActionBrskDto", "EscalateCaseActionYfcsDto", "CreateNoteForCaseAssignmentDto"];
|
|
246
379
|
steps: StepClassMap[(typeof CaseDefaultStageEscalatedDto.stepClasses)[number]][];
|
|
247
380
|
}
|
|
248
381
|
export {};
|