@d19n/youfibre-odin-sdk 2.0.335 → 2.0.337
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 +31 -2
- package/dist/EntityRegistry.d.ts +8 -0
- package/dist/EntityRegistry.js +8 -0
- package/dist/OdinApiClient.d.ts +16 -0
- package/dist/OdinApiClient.js +32 -0
- package/dist/OdinDbClient.d.ts +16 -0
- package/dist/OdinDbClient.js +32 -0
- package/dist/accessors-v2/QaAutoFailAccessor.d.ts +112 -0
- package/dist/accessors-v2/QaAutoFailAccessor.js +191 -0
- package/dist/accessors-v2/QaRubricAccessor.d.ts +112 -0
- package/dist/accessors-v2/QaRubricAccessor.js +191 -0
- package/dist/accessors-v2/QaRubricItemAccessor.d.ts +112 -0
- package/dist/accessors-v2/QaRubricItemAccessor.js +191 -0
- package/dist/accessors-v2/QaRubricSectionAccessor.d.ts +112 -0
- package/dist/accessors-v2/QaRubricSectionAccessor.js +191 -0
- package/dist/accessors-v2/index.d.ts +4 -0
- package/dist/accessors-v2/index.js +10 -2
- package/dist/actions-v2/CreateContactSalesAppDto.d.ts +2 -25
- package/dist/actions-v2/CreateInstallDayBeforeWifiEducationDto.d.ts +63 -0
- package/dist/actions-v2/CreateInstallDayBeforeWifiEducationDto.js +59 -0
- package/dist/actions-v2/CreateLeadSalesAppDto.d.ts +10 -2
- package/dist/actions-v2/CreateTransactionalEmailDto.d.ts +8 -1
- package/dist/actions-v2/UpdateQaAutoFailDto.d.ts +102 -0
- package/dist/actions-v2/UpdateQaAutoFailDto.js +56 -0
- package/dist/actions-v2/UpdateQaRubricDto.d.ts +103 -0
- package/dist/actions-v2/UpdateQaRubricDto.js +56 -0
- package/dist/actions-v2/UpdateQaRubricItemDto.d.ts +157 -0
- package/dist/actions-v2/UpdateQaRubricItemDto.js +56 -0
- package/dist/actions-v2/UpdateQaRubricSectionDto.d.ts +87 -0
- package/dist/actions-v2/UpdateQaRubricSectionDto.js +56 -0
- package/dist/api-sdk-v2/QaAutoFailApi.d.ts +48 -0
- package/dist/api-sdk-v2/QaAutoFailApi.js +155 -0
- package/dist/api-sdk-v2/QaRubricApi.d.ts +50 -0
- package/dist/api-sdk-v2/QaRubricApi.js +161 -0
- package/dist/api-sdk-v2/QaRubricItemApi.d.ts +48 -0
- package/dist/api-sdk-v2/QaRubricItemApi.js +155 -0
- package/dist/api-sdk-v2/QaRubricSectionApi.d.ts +50 -0
- package/dist/api-sdk-v2/QaRubricSectionApi.js +161 -0
- package/dist/db-accessors-v2/QaAutoFailDbAccessor.d.ts +180 -0
- package/dist/db-accessors-v2/QaAutoFailDbAccessor.js +265 -0
- package/dist/db-accessors-v2/QaRubricDbAccessor.d.ts +180 -0
- package/dist/db-accessors-v2/QaRubricDbAccessor.js +265 -0
- package/dist/db-accessors-v2/QaRubricItemDbAccessor.d.ts +180 -0
- package/dist/db-accessors-v2/QaRubricItemDbAccessor.js +265 -0
- package/dist/db-accessors-v2/QaRubricSectionDbAccessor.d.ts +180 -0
- package/dist/db-accessors-v2/QaRubricSectionDbAccessor.js +265 -0
- package/dist/db-accessors-v2/index.d.ts +4 -0
- package/dist/db-accessors-v2/index.js +10 -2
- package/dist/db-sdk-v2/QaAutoFailDb.d.ts +120 -0
- package/dist/db-sdk-v2/QaAutoFailDb.js +204 -0
- package/dist/db-sdk-v2/QaRubricDb.d.ts +122 -0
- package/dist/db-sdk-v2/QaRubricDb.js +210 -0
- package/dist/db-sdk-v2/QaRubricItemDb.d.ts +120 -0
- package/dist/db-sdk-v2/QaRubricItemDb.js +204 -0
- package/dist/db-sdk-v2/QaRubricSectionDb.d.ts +122 -0
- package/dist/db-sdk-v2/QaRubricSectionDb.js +210 -0
- package/dist/entities-v2/QaAutoFail.d.ts +117 -0
- package/dist/entities-v2/QaAutoFail.js +76 -0
- package/dist/entities-v2/QaReport.d.ts +41 -1
- package/dist/entities-v2/QaReport.js +10 -0
- package/dist/entities-v2/QaRubric.d.ts +152 -0
- package/dist/entities-v2/QaRubric.js +114 -0
- package/dist/entities-v2/QaRubricItem.d.ts +199 -0
- package/dist/entities-v2/QaRubricItem.js +110 -0
- package/dist/entities-v2/QaRubricSection.d.ts +108 -0
- package/dist/entities-v2/QaRubricSection.js +76 -0
- package/dist/records-v2/EmailRecord.d.ts +29 -0
- package/dist/records-v2/EmailRecord.js +36 -0
- package/dist/records-v2/QaAutoFailRecord.d.ts +205 -0
- package/dist/records-v2/QaAutoFailRecord.js +275 -0
- package/dist/records-v2/QaRubricItemRecord.d.ts +205 -0
- package/dist/records-v2/QaRubricItemRecord.js +275 -0
- package/dist/records-v2/QaRubricRecord.d.ts +225 -0
- package/dist/records-v2/QaRubricRecord.js +308 -0
- package/dist/records-v2/QaRubricSectionRecord.d.ts +225 -0
- package/dist/records-v2/QaRubricSectionRecord.js +308 -0
- package/dist/records-v2/index.d.ts +4 -0
- package/dist/records-v2/index.js +13 -1
- package/package.json +1 -1
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UpdateQaAutoFail Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Edit a QaAutoFail record from the Odin record page (DATA-398 QA rubrics).
|
|
5
|
+
*
|
|
6
|
+
* @module SupportModule
|
|
7
|
+
* @entity QaAutoFail
|
|
8
|
+
* @actionKey UpdateQaAutoFail
|
|
9
|
+
* @event k1.t-hEOJjsDb.SupportModule.QaAutoFail.Update.UpdateQaAutoFail
|
|
10
|
+
*
|
|
11
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
12
|
+
*/
|
|
13
|
+
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
14
|
+
/**
|
|
15
|
+
* RabbitMQ message payload for UpdateQaAutoFail updated events
|
|
16
|
+
*
|
|
17
|
+
* @event k1.t-hEOJjsDb.SupportModule.QaAutoFail.Update.UpdateQaAutoFail
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateQaAutoFailMessage extends OdinRecordUpdatedEvent<UpdateQaAutoFailDto, UpdateQaAutoFailProperties> {
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Properties for UpdateQaAutoFail action
|
|
23
|
+
*
|
|
24
|
+
* @property Required fields: 2
|
|
25
|
+
* @property Optional fields: 3
|
|
26
|
+
*/
|
|
27
|
+
export interface UpdateQaAutoFailProperties {
|
|
28
|
+
/**
|
|
29
|
+
* Code
|
|
30
|
+
*
|
|
31
|
+
* Auto-fail identifier, AF1…AF12. Stable across versions.
|
|
32
|
+
* @type {TEXT}
|
|
33
|
+
* @required
|
|
34
|
+
*/
|
|
35
|
+
Code: string;
|
|
36
|
+
/**
|
|
37
|
+
* Title
|
|
38
|
+
*
|
|
39
|
+
* Short auto-fail title, e.g. "GDPR / confidentiality violation".
|
|
40
|
+
* @type {TEXT}
|
|
41
|
+
* @required
|
|
42
|
+
*/
|
|
43
|
+
Title: string;
|
|
44
|
+
/**
|
|
45
|
+
* Description
|
|
46
|
+
*
|
|
47
|
+
* What triggers this auto-fail.
|
|
48
|
+
* @type {TEXT_LONG}
|
|
49
|
+
*/
|
|
50
|
+
Description?: string | null;
|
|
51
|
+
/**
|
|
52
|
+
* Active
|
|
53
|
+
*
|
|
54
|
+
* Whether this auto-fail applies on this channel (e.g. hanging-up is off for chat/email, on for call).
|
|
55
|
+
* @type {BOOLEAN}
|
|
56
|
+
*/
|
|
57
|
+
Active?: boolean | null;
|
|
58
|
+
/**
|
|
59
|
+
* Position
|
|
60
|
+
*
|
|
61
|
+
* Display order.
|
|
62
|
+
* @type {NUMBER}
|
|
63
|
+
*/
|
|
64
|
+
Position?: number | null;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Edit auto-fail
|
|
68
|
+
*
|
|
69
|
+
* Edit a QaAutoFail record from the Odin record page (DATA-398 QA rubrics).
|
|
70
|
+
*
|
|
71
|
+
* @actionType UPDATE - Updates an existing QaAutoFail record
|
|
72
|
+
* @module SupportModule
|
|
73
|
+
* @entity QaAutoFail
|
|
74
|
+
* @event k1.t-hEOJjsDb.SupportModule.QaAutoFail.Update.UpdateQaAutoFail
|
|
75
|
+
* @permission schema.action.updateqaautofail.trigger
|
|
76
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
77
|
+
*/
|
|
78
|
+
export declare class UpdateQaAutoFailDto extends OdinRecordUpdateDto<UpdateQaAutoFailProperties> {
|
|
79
|
+
/** Used by SDK generators to identify action type */
|
|
80
|
+
static readonly ACTION_TYPE = "UPDATE";
|
|
81
|
+
static readonly ACTION_KEY = "UpdateQaAutoFail";
|
|
82
|
+
static readonly MODULE_NAME = "SupportModule";
|
|
83
|
+
static readonly ENTITIES: string[];
|
|
84
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.SupportModule.QaAutoFail.Update.UpdateQaAutoFail";
|
|
85
|
+
static readonly PERMISSION = "schema.action.updateqaautofail.trigger";
|
|
86
|
+
/** Step metadata - entity this action targets */
|
|
87
|
+
static readonly STEP_ENTITY = "SupportModule:QaAutoFail";
|
|
88
|
+
static readonly STEP_SCHEMA_ID = "4cc79871-e82d-4aef-a880-e71ce8ca7355";
|
|
89
|
+
static readonly STEP_SCHEMA_ACTION_ID = "84c3aa81-5c39-4cd0-a9e2-7609357cc777";
|
|
90
|
+
static readonly AUTO_LINK_PARENT = false;
|
|
91
|
+
readonly actionName: string;
|
|
92
|
+
readonly schemaActionId: string;
|
|
93
|
+
readonly entity: string;
|
|
94
|
+
constructor(record: OdinRecord<any> | {
|
|
95
|
+
id: string;
|
|
96
|
+
entity: string;
|
|
97
|
+
type?: string;
|
|
98
|
+
}, properties: UpdateQaAutoFailProperties, options?: {
|
|
99
|
+
journeyId?: string;
|
|
100
|
+
stageKey?: string;
|
|
101
|
+
});
|
|
102
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* UpdateQaAutoFail Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Edit a QaAutoFail record from the Odin record page (DATA-398 QA rubrics).
|
|
6
|
+
*
|
|
7
|
+
* @module SupportModule
|
|
8
|
+
* @entity QaAutoFail
|
|
9
|
+
* @actionKey UpdateQaAutoFail
|
|
10
|
+
* @event k1.t-hEOJjsDb.SupportModule.QaAutoFail.Update.UpdateQaAutoFail
|
|
11
|
+
*
|
|
12
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.UpdateQaAutoFailDto = void 0;
|
|
16
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
|
+
/**
|
|
18
|
+
* Edit auto-fail
|
|
19
|
+
*
|
|
20
|
+
* Edit a QaAutoFail record from the Odin record page (DATA-398 QA rubrics).
|
|
21
|
+
*
|
|
22
|
+
* @actionType UPDATE - Updates an existing QaAutoFail record
|
|
23
|
+
* @module SupportModule
|
|
24
|
+
* @entity QaAutoFail
|
|
25
|
+
* @event k1.t-hEOJjsDb.SupportModule.QaAutoFail.Update.UpdateQaAutoFail
|
|
26
|
+
* @permission schema.action.updateqaautofail.trigger
|
|
27
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
28
|
+
*/
|
|
29
|
+
class UpdateQaAutoFailDto extends core_1.OdinRecordUpdateDto {
|
|
30
|
+
constructor(record, properties, options) {
|
|
31
|
+
super({
|
|
32
|
+
id: record.id,
|
|
33
|
+
entity: record.entity,
|
|
34
|
+
type: record.type,
|
|
35
|
+
properties,
|
|
36
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
37
|
+
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
38
|
+
});
|
|
39
|
+
this.actionName = 'UpdateQaAutoFail';
|
|
40
|
+
this.schemaActionId = '84c3aa81-5c39-4cd0-a9e2-7609357cc777';
|
|
41
|
+
this.entity = 'SupportModule:QaAutoFail';
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.UpdateQaAutoFailDto = UpdateQaAutoFailDto;
|
|
45
|
+
/** Used by SDK generators to identify action type */
|
|
46
|
+
UpdateQaAutoFailDto.ACTION_TYPE = 'UPDATE';
|
|
47
|
+
UpdateQaAutoFailDto.ACTION_KEY = 'UpdateQaAutoFail';
|
|
48
|
+
UpdateQaAutoFailDto.MODULE_NAME = 'SupportModule';
|
|
49
|
+
UpdateQaAutoFailDto.ENTITIES = ['QaAutoFail'];
|
|
50
|
+
UpdateQaAutoFailDto.EVENT_NAME = 'k1.t-hEOJjsDb.SupportModule.QaAutoFail.Update.UpdateQaAutoFail';
|
|
51
|
+
UpdateQaAutoFailDto.PERMISSION = 'schema.action.updateqaautofail.trigger';
|
|
52
|
+
/** Step metadata - entity this action targets */
|
|
53
|
+
UpdateQaAutoFailDto.STEP_ENTITY = 'SupportModule:QaAutoFail';
|
|
54
|
+
UpdateQaAutoFailDto.STEP_SCHEMA_ID = '4cc79871-e82d-4aef-a880-e71ce8ca7355';
|
|
55
|
+
UpdateQaAutoFailDto.STEP_SCHEMA_ACTION_ID = '84c3aa81-5c39-4cd0-a9e2-7609357cc777';
|
|
56
|
+
UpdateQaAutoFailDto.AUTO_LINK_PARENT = false;
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UpdateQaRubric Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Edit a QaRubric record from the Odin record page (DATA-398 QA rubrics).
|
|
5
|
+
*
|
|
6
|
+
* @module SupportModule
|
|
7
|
+
* @entity QaRubric
|
|
8
|
+
* @actionKey UpdateQaRubric
|
|
9
|
+
* @event k1.t-hEOJjsDb.SupportModule.QaRubric.Update.UpdateQaRubric
|
|
10
|
+
*
|
|
11
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
12
|
+
*/
|
|
13
|
+
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
14
|
+
/**
|
|
15
|
+
* RabbitMQ message payload for UpdateQaRubric updated events
|
|
16
|
+
*
|
|
17
|
+
* @event k1.t-hEOJjsDb.SupportModule.QaRubric.Update.UpdateQaRubric
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateQaRubricMessage extends OdinRecordUpdatedEvent<UpdateQaRubricDto, UpdateQaRubricProperties> {
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Properties for UpdateQaRubric action
|
|
23
|
+
*
|
|
24
|
+
* @property Required fields: 3
|
|
25
|
+
* @property Optional fields: 2
|
|
26
|
+
*/
|
|
27
|
+
export interface UpdateQaRubricProperties {
|
|
28
|
+
/**
|
|
29
|
+
* Channel
|
|
30
|
+
*
|
|
31
|
+
* Which support channel this rubric scores. Each channel has its own rubric.
|
|
32
|
+
* @type {ENUM}
|
|
33
|
+
* @required
|
|
34
|
+
*/
|
|
35
|
+
Channel: string;
|
|
36
|
+
/**
|
|
37
|
+
* Version
|
|
38
|
+
*
|
|
39
|
+
* Version number within a channel. A new draft increments it; publishing archives the previous.
|
|
40
|
+
* @type {NUMBER}
|
|
41
|
+
* @required
|
|
42
|
+
*/
|
|
43
|
+
Version: number;
|
|
44
|
+
/**
|
|
45
|
+
* Status
|
|
46
|
+
*
|
|
47
|
+
* DRAFT while being edited, ACTIVE once published (one per channel), ARCHIVED when superseded.
|
|
48
|
+
* @type {ENUM}
|
|
49
|
+
* @required
|
|
50
|
+
*/
|
|
51
|
+
Status: string;
|
|
52
|
+
/**
|
|
53
|
+
* Benchmark %
|
|
54
|
+
*
|
|
55
|
+
* The pass benchmark for this rubric, as a percentage. Currently 95.
|
|
56
|
+
* @type {NUMBER}
|
|
57
|
+
*/
|
|
58
|
+
Benchmark?: number | null;
|
|
59
|
+
/**
|
|
60
|
+
* Effective From
|
|
61
|
+
*
|
|
62
|
+
* When this version became the active rubric for its channel.
|
|
63
|
+
* @type {DATE_TIME}
|
|
64
|
+
*/
|
|
65
|
+
EffectiveFrom?: string | null;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Edit rubric
|
|
69
|
+
*
|
|
70
|
+
* Edit a QaRubric record from the Odin record page (DATA-398 QA rubrics).
|
|
71
|
+
*
|
|
72
|
+
* @actionType UPDATE - Updates an existing QaRubric record
|
|
73
|
+
* @module SupportModule
|
|
74
|
+
* @entity QaRubric
|
|
75
|
+
* @event k1.t-hEOJjsDb.SupportModule.QaRubric.Update.UpdateQaRubric
|
|
76
|
+
* @permission schema.action.updateqarubric.trigger
|
|
77
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
78
|
+
*/
|
|
79
|
+
export declare class UpdateQaRubricDto extends OdinRecordUpdateDto<UpdateQaRubricProperties> {
|
|
80
|
+
/** Used by SDK generators to identify action type */
|
|
81
|
+
static readonly ACTION_TYPE = "UPDATE";
|
|
82
|
+
static readonly ACTION_KEY = "UpdateQaRubric";
|
|
83
|
+
static readonly MODULE_NAME = "SupportModule";
|
|
84
|
+
static readonly ENTITIES: string[];
|
|
85
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.SupportModule.QaRubric.Update.UpdateQaRubric";
|
|
86
|
+
static readonly PERMISSION = "schema.action.updateqarubric.trigger";
|
|
87
|
+
/** Step metadata - entity this action targets */
|
|
88
|
+
static readonly STEP_ENTITY = "SupportModule:QaRubric";
|
|
89
|
+
static readonly STEP_SCHEMA_ID = "f0d32cd1-f8f6-4269-953a-78e1643148ee";
|
|
90
|
+
static readonly STEP_SCHEMA_ACTION_ID = "1495a4b9-e61a-4c01-8518-c0dfe6df01fe";
|
|
91
|
+
static readonly AUTO_LINK_PARENT = false;
|
|
92
|
+
readonly actionName: string;
|
|
93
|
+
readonly schemaActionId: string;
|
|
94
|
+
readonly entity: string;
|
|
95
|
+
constructor(record: OdinRecord<any> | {
|
|
96
|
+
id: string;
|
|
97
|
+
entity: string;
|
|
98
|
+
type?: string;
|
|
99
|
+
}, properties: UpdateQaRubricProperties, options?: {
|
|
100
|
+
journeyId?: string;
|
|
101
|
+
stageKey?: string;
|
|
102
|
+
});
|
|
103
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* UpdateQaRubric Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Edit a QaRubric record from the Odin record page (DATA-398 QA rubrics).
|
|
6
|
+
*
|
|
7
|
+
* @module SupportModule
|
|
8
|
+
* @entity QaRubric
|
|
9
|
+
* @actionKey UpdateQaRubric
|
|
10
|
+
* @event k1.t-hEOJjsDb.SupportModule.QaRubric.Update.UpdateQaRubric
|
|
11
|
+
*
|
|
12
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.UpdateQaRubricDto = void 0;
|
|
16
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
|
+
/**
|
|
18
|
+
* Edit rubric
|
|
19
|
+
*
|
|
20
|
+
* Edit a QaRubric record from the Odin record page (DATA-398 QA rubrics).
|
|
21
|
+
*
|
|
22
|
+
* @actionType UPDATE - Updates an existing QaRubric record
|
|
23
|
+
* @module SupportModule
|
|
24
|
+
* @entity QaRubric
|
|
25
|
+
* @event k1.t-hEOJjsDb.SupportModule.QaRubric.Update.UpdateQaRubric
|
|
26
|
+
* @permission schema.action.updateqarubric.trigger
|
|
27
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
28
|
+
*/
|
|
29
|
+
class UpdateQaRubricDto extends core_1.OdinRecordUpdateDto {
|
|
30
|
+
constructor(record, properties, options) {
|
|
31
|
+
super({
|
|
32
|
+
id: record.id,
|
|
33
|
+
entity: record.entity,
|
|
34
|
+
type: record.type,
|
|
35
|
+
properties,
|
|
36
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
37
|
+
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
38
|
+
});
|
|
39
|
+
this.actionName = 'UpdateQaRubric';
|
|
40
|
+
this.schemaActionId = '1495a4b9-e61a-4c01-8518-c0dfe6df01fe';
|
|
41
|
+
this.entity = 'SupportModule:QaRubric';
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.UpdateQaRubricDto = UpdateQaRubricDto;
|
|
45
|
+
/** Used by SDK generators to identify action type */
|
|
46
|
+
UpdateQaRubricDto.ACTION_TYPE = 'UPDATE';
|
|
47
|
+
UpdateQaRubricDto.ACTION_KEY = 'UpdateQaRubric';
|
|
48
|
+
UpdateQaRubricDto.MODULE_NAME = 'SupportModule';
|
|
49
|
+
UpdateQaRubricDto.ENTITIES = ['QaRubric'];
|
|
50
|
+
UpdateQaRubricDto.EVENT_NAME = 'k1.t-hEOJjsDb.SupportModule.QaRubric.Update.UpdateQaRubric';
|
|
51
|
+
UpdateQaRubricDto.PERMISSION = 'schema.action.updateqarubric.trigger';
|
|
52
|
+
/** Step metadata - entity this action targets */
|
|
53
|
+
UpdateQaRubricDto.STEP_ENTITY = 'SupportModule:QaRubric';
|
|
54
|
+
UpdateQaRubricDto.STEP_SCHEMA_ID = 'f0d32cd1-f8f6-4269-953a-78e1643148ee';
|
|
55
|
+
UpdateQaRubricDto.STEP_SCHEMA_ACTION_ID = '1495a4b9-e61a-4c01-8518-c0dfe6df01fe';
|
|
56
|
+
UpdateQaRubricDto.AUTO_LINK_PARENT = false;
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UpdateQaRubricItem Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Edit a QaRubricItem record from the Odin record page (DATA-398 QA rubrics).
|
|
5
|
+
*
|
|
6
|
+
* @module SupportModule
|
|
7
|
+
* @entity QaRubricItem
|
|
8
|
+
* @actionKey UpdateQaRubricItem
|
|
9
|
+
* @event k1.t-hEOJjsDb.SupportModule.QaRubricItem.Update.UpdateQaRubricItem
|
|
10
|
+
*
|
|
11
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
12
|
+
*/
|
|
13
|
+
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
14
|
+
/**
|
|
15
|
+
* RabbitMQ message payload for UpdateQaRubricItem updated events
|
|
16
|
+
*
|
|
17
|
+
* @event k1.t-hEOJjsDb.SupportModule.QaRubricItem.Update.UpdateQaRubricItem
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateQaRubricItemMessage extends OdinRecordUpdatedEvent<UpdateQaRubricItemDto, UpdateQaRubricItemProperties> {
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Properties for UpdateQaRubricItem action
|
|
23
|
+
*
|
|
24
|
+
* @property Required fields: 1
|
|
25
|
+
* @property Optional fields: 12
|
|
26
|
+
*/
|
|
27
|
+
export interface UpdateQaRubricItemProperties {
|
|
28
|
+
/**
|
|
29
|
+
* Title
|
|
30
|
+
*
|
|
31
|
+
* The item title, e.g. "Friendly & Professional".
|
|
32
|
+
* @type {TEXT}
|
|
33
|
+
* @required
|
|
34
|
+
*/
|
|
35
|
+
Title: string;
|
|
36
|
+
/**
|
|
37
|
+
* Item Key
|
|
38
|
+
*
|
|
39
|
+
* Stable machine key, unique within a channel (e.g. chat.standard_greeting). Analytics aggregate on this — it must not change when items are reordered or reworded.
|
|
40
|
+
* @type {TEXT}
|
|
41
|
+
*/
|
|
42
|
+
ItemKey?: string | null;
|
|
43
|
+
/**
|
|
44
|
+
* Item Number
|
|
45
|
+
*
|
|
46
|
+
* Display number within the rubric (1..15 or 1..17). Presentation only — never the identity.
|
|
47
|
+
* @type {NUMBER}
|
|
48
|
+
*/
|
|
49
|
+
ItemNumber?: number | null;
|
|
50
|
+
/**
|
|
51
|
+
* Weight %
|
|
52
|
+
*
|
|
53
|
+
* Item weight in points. Awarded in full on Yes and N/A; Partial awards a flat 2; No awards 0.
|
|
54
|
+
* @type {NUMBER}
|
|
55
|
+
*/
|
|
56
|
+
Weight?: number | null;
|
|
57
|
+
/**
|
|
58
|
+
* Scorecard Criterion
|
|
59
|
+
*
|
|
60
|
+
* The verbatim source criterion from the YouFibre evaluation scorecard.
|
|
61
|
+
* @type {TEXT_LONG}
|
|
62
|
+
*/
|
|
63
|
+
ScorecardCriterion?: string | null;
|
|
64
|
+
/**
|
|
65
|
+
* Guidance — Yes
|
|
66
|
+
*
|
|
67
|
+
* When to award Yes (full weight).
|
|
68
|
+
* @type {TEXT_LONG}
|
|
69
|
+
*/
|
|
70
|
+
GuidanceYes?: string | null;
|
|
71
|
+
/**
|
|
72
|
+
* Guidance — Partial
|
|
73
|
+
*
|
|
74
|
+
* When to award Partial (flat 2 points). Blank if Partial is not permitted on this item.
|
|
75
|
+
* @type {TEXT_LONG}
|
|
76
|
+
*/
|
|
77
|
+
GuidancePartial?: string | null;
|
|
78
|
+
/**
|
|
79
|
+
* Guidance — No
|
|
80
|
+
*
|
|
81
|
+
* When to award No (0 points).
|
|
82
|
+
* @type {TEXT_LONG}
|
|
83
|
+
*/
|
|
84
|
+
GuidanceNo?: string | null;
|
|
85
|
+
/**
|
|
86
|
+
* Guidance — N/A
|
|
87
|
+
*
|
|
88
|
+
* When the item does not apply (full weight). Blank if N/A is not permitted on this item.
|
|
89
|
+
* @type {TEXT_LONG}
|
|
90
|
+
*/
|
|
91
|
+
GuidanceNa?: string | null;
|
|
92
|
+
/**
|
|
93
|
+
* Partial Allowed
|
|
94
|
+
*
|
|
95
|
+
* Whether a Partial verdict is permitted on this item. False = Yes/No only.
|
|
96
|
+
* @type {BOOLEAN}
|
|
97
|
+
*/
|
|
98
|
+
PartialAllowed?: boolean | null;
|
|
99
|
+
/**
|
|
100
|
+
* N/A Allowed
|
|
101
|
+
*
|
|
102
|
+
* Whether an N/A verdict is permitted on this item.
|
|
103
|
+
* @type {BOOLEAN}
|
|
104
|
+
*/
|
|
105
|
+
NaAllowed?: boolean | null;
|
|
106
|
+
/**
|
|
107
|
+
* Evaluability
|
|
108
|
+
*
|
|
109
|
+
* Call-only: whether the item is fully readable from the transcript, partly needs the audio, or is audio-only. Not applicable for chat/email.
|
|
110
|
+
* @type {ENUM}
|
|
111
|
+
*/
|
|
112
|
+
EvaluabilityClass?: string | null;
|
|
113
|
+
/**
|
|
114
|
+
* Cross-item Note
|
|
115
|
+
*
|
|
116
|
+
* How this item interacts with others (e.g. FCR item 13 and escalation item 14). Blank if none.
|
|
117
|
+
* @type {TEXT_LONG}
|
|
118
|
+
*/
|
|
119
|
+
CrossItemNote?: string | null;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Edit item
|
|
123
|
+
*
|
|
124
|
+
* Edit a QaRubricItem record from the Odin record page (DATA-398 QA rubrics).
|
|
125
|
+
*
|
|
126
|
+
* @actionType UPDATE - Updates an existing QaRubricItem record
|
|
127
|
+
* @module SupportModule
|
|
128
|
+
* @entity QaRubricItem
|
|
129
|
+
* @event k1.t-hEOJjsDb.SupportModule.QaRubricItem.Update.UpdateQaRubricItem
|
|
130
|
+
* @permission schema.action.updateqarubricitem.trigger
|
|
131
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
132
|
+
*/
|
|
133
|
+
export declare class UpdateQaRubricItemDto extends OdinRecordUpdateDto<UpdateQaRubricItemProperties> {
|
|
134
|
+
/** Used by SDK generators to identify action type */
|
|
135
|
+
static readonly ACTION_TYPE = "UPDATE";
|
|
136
|
+
static readonly ACTION_KEY = "UpdateQaRubricItem";
|
|
137
|
+
static readonly MODULE_NAME = "SupportModule";
|
|
138
|
+
static readonly ENTITIES: string[];
|
|
139
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.SupportModule.QaRubricItem.Update.UpdateQaRubricItem";
|
|
140
|
+
static readonly PERMISSION = "schema.action.updateqarubricitem.trigger";
|
|
141
|
+
/** Step metadata - entity this action targets */
|
|
142
|
+
static readonly STEP_ENTITY = "SupportModule:QaRubricItem";
|
|
143
|
+
static readonly STEP_SCHEMA_ID = "39cd8d89-43cd-4c2f-831d-13298aabafdc";
|
|
144
|
+
static readonly STEP_SCHEMA_ACTION_ID = "0fa0c8c4-071e-4bba-875b-44de6100eb7c";
|
|
145
|
+
static readonly AUTO_LINK_PARENT = false;
|
|
146
|
+
readonly actionName: string;
|
|
147
|
+
readonly schemaActionId: string;
|
|
148
|
+
readonly entity: string;
|
|
149
|
+
constructor(record: OdinRecord<any> | {
|
|
150
|
+
id: string;
|
|
151
|
+
entity: string;
|
|
152
|
+
type?: string;
|
|
153
|
+
}, properties: UpdateQaRubricItemProperties, options?: {
|
|
154
|
+
journeyId?: string;
|
|
155
|
+
stageKey?: string;
|
|
156
|
+
});
|
|
157
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* UpdateQaRubricItem Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Edit a QaRubricItem record from the Odin record page (DATA-398 QA rubrics).
|
|
6
|
+
*
|
|
7
|
+
* @module SupportModule
|
|
8
|
+
* @entity QaRubricItem
|
|
9
|
+
* @actionKey UpdateQaRubricItem
|
|
10
|
+
* @event k1.t-hEOJjsDb.SupportModule.QaRubricItem.Update.UpdateQaRubricItem
|
|
11
|
+
*
|
|
12
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.UpdateQaRubricItemDto = void 0;
|
|
16
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
|
+
/**
|
|
18
|
+
* Edit item
|
|
19
|
+
*
|
|
20
|
+
* Edit a QaRubricItem record from the Odin record page (DATA-398 QA rubrics).
|
|
21
|
+
*
|
|
22
|
+
* @actionType UPDATE - Updates an existing QaRubricItem record
|
|
23
|
+
* @module SupportModule
|
|
24
|
+
* @entity QaRubricItem
|
|
25
|
+
* @event k1.t-hEOJjsDb.SupportModule.QaRubricItem.Update.UpdateQaRubricItem
|
|
26
|
+
* @permission schema.action.updateqarubricitem.trigger
|
|
27
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
28
|
+
*/
|
|
29
|
+
class UpdateQaRubricItemDto extends core_1.OdinRecordUpdateDto {
|
|
30
|
+
constructor(record, properties, options) {
|
|
31
|
+
super({
|
|
32
|
+
id: record.id,
|
|
33
|
+
entity: record.entity,
|
|
34
|
+
type: record.type,
|
|
35
|
+
properties,
|
|
36
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
37
|
+
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
38
|
+
});
|
|
39
|
+
this.actionName = 'UpdateQaRubricItem';
|
|
40
|
+
this.schemaActionId = '0fa0c8c4-071e-4bba-875b-44de6100eb7c';
|
|
41
|
+
this.entity = 'SupportModule:QaRubricItem';
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.UpdateQaRubricItemDto = UpdateQaRubricItemDto;
|
|
45
|
+
/** Used by SDK generators to identify action type */
|
|
46
|
+
UpdateQaRubricItemDto.ACTION_TYPE = 'UPDATE';
|
|
47
|
+
UpdateQaRubricItemDto.ACTION_KEY = 'UpdateQaRubricItem';
|
|
48
|
+
UpdateQaRubricItemDto.MODULE_NAME = 'SupportModule';
|
|
49
|
+
UpdateQaRubricItemDto.ENTITIES = ['QaRubricItem'];
|
|
50
|
+
UpdateQaRubricItemDto.EVENT_NAME = 'k1.t-hEOJjsDb.SupportModule.QaRubricItem.Update.UpdateQaRubricItem';
|
|
51
|
+
UpdateQaRubricItemDto.PERMISSION = 'schema.action.updateqarubricitem.trigger';
|
|
52
|
+
/** Step metadata - entity this action targets */
|
|
53
|
+
UpdateQaRubricItemDto.STEP_ENTITY = 'SupportModule:QaRubricItem';
|
|
54
|
+
UpdateQaRubricItemDto.STEP_SCHEMA_ID = '39cd8d89-43cd-4c2f-831d-13298aabafdc';
|
|
55
|
+
UpdateQaRubricItemDto.STEP_SCHEMA_ACTION_ID = '0fa0c8c4-071e-4bba-875b-44de6100eb7c';
|
|
56
|
+
UpdateQaRubricItemDto.AUTO_LINK_PARENT = false;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UpdateQaRubricSection Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Edit a QaRubricSection record from the Odin record page (DATA-398 QA rubrics).
|
|
5
|
+
*
|
|
6
|
+
* @module SupportModule
|
|
7
|
+
* @entity QaRubricSection
|
|
8
|
+
* @actionKey UpdateQaRubricSection
|
|
9
|
+
* @event k1.t-hEOJjsDb.SupportModule.QaRubricSection.Update.UpdateQaRubricSection
|
|
10
|
+
*
|
|
11
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
12
|
+
*/
|
|
13
|
+
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
14
|
+
/**
|
|
15
|
+
* RabbitMQ message payload for UpdateQaRubricSection updated events
|
|
16
|
+
*
|
|
17
|
+
* @event k1.t-hEOJjsDb.SupportModule.QaRubricSection.Update.UpdateQaRubricSection
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateQaRubricSectionMessage extends OdinRecordUpdatedEvent<UpdateQaRubricSectionDto, UpdateQaRubricSectionProperties> {
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Properties for UpdateQaRubricSection action
|
|
23
|
+
*
|
|
24
|
+
* @property Required fields: 1
|
|
25
|
+
* @property Optional fields: 2
|
|
26
|
+
*/
|
|
27
|
+
export interface UpdateQaRubricSectionProperties {
|
|
28
|
+
/**
|
|
29
|
+
* Name
|
|
30
|
+
*
|
|
31
|
+
* Section name, e.g. Ticket Identity, Behavioural, Call Handling.
|
|
32
|
+
* @type {TEXT}
|
|
33
|
+
* @required
|
|
34
|
+
*/
|
|
35
|
+
Name: string;
|
|
36
|
+
/**
|
|
37
|
+
* Weight %
|
|
38
|
+
*
|
|
39
|
+
* The section total as a percentage of the 100-point score (e.g. Behavioural 55).
|
|
40
|
+
* @type {NUMBER}
|
|
41
|
+
*/
|
|
42
|
+
Weight?: number | null;
|
|
43
|
+
/**
|
|
44
|
+
* Position
|
|
45
|
+
*
|
|
46
|
+
* Display order of the section within the rubric.
|
|
47
|
+
* @type {NUMBER}
|
|
48
|
+
*/
|
|
49
|
+
Position?: number | null;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Edit section
|
|
53
|
+
*
|
|
54
|
+
* Edit a QaRubricSection record from the Odin record page (DATA-398 QA rubrics).
|
|
55
|
+
*
|
|
56
|
+
* @actionType UPDATE - Updates an existing QaRubricSection record
|
|
57
|
+
* @module SupportModule
|
|
58
|
+
* @entity QaRubricSection
|
|
59
|
+
* @event k1.t-hEOJjsDb.SupportModule.QaRubricSection.Update.UpdateQaRubricSection
|
|
60
|
+
* @permission schema.action.updateqarubricsection.trigger
|
|
61
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
62
|
+
*/
|
|
63
|
+
export declare class UpdateQaRubricSectionDto extends OdinRecordUpdateDto<UpdateQaRubricSectionProperties> {
|
|
64
|
+
/** Used by SDK generators to identify action type */
|
|
65
|
+
static readonly ACTION_TYPE = "UPDATE";
|
|
66
|
+
static readonly ACTION_KEY = "UpdateQaRubricSection";
|
|
67
|
+
static readonly MODULE_NAME = "SupportModule";
|
|
68
|
+
static readonly ENTITIES: string[];
|
|
69
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.SupportModule.QaRubricSection.Update.UpdateQaRubricSection";
|
|
70
|
+
static readonly PERMISSION = "schema.action.updateqarubricsection.trigger";
|
|
71
|
+
/** Step metadata - entity this action targets */
|
|
72
|
+
static readonly STEP_ENTITY = "SupportModule:QaRubricSection";
|
|
73
|
+
static readonly STEP_SCHEMA_ID = "880a4a28-6b84-4827-8367-1b368692387a";
|
|
74
|
+
static readonly STEP_SCHEMA_ACTION_ID = "a5743d11-2e6f-4b4d-b478-a3f2c880fa67";
|
|
75
|
+
static readonly AUTO_LINK_PARENT = false;
|
|
76
|
+
readonly actionName: string;
|
|
77
|
+
readonly schemaActionId: string;
|
|
78
|
+
readonly entity: string;
|
|
79
|
+
constructor(record: OdinRecord<any> | {
|
|
80
|
+
id: string;
|
|
81
|
+
entity: string;
|
|
82
|
+
type?: string;
|
|
83
|
+
}, properties: UpdateQaRubricSectionProperties, options?: {
|
|
84
|
+
journeyId?: string;
|
|
85
|
+
stageKey?: string;
|
|
86
|
+
});
|
|
87
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* UpdateQaRubricSection Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Edit a QaRubricSection record from the Odin record page (DATA-398 QA rubrics).
|
|
6
|
+
*
|
|
7
|
+
* @module SupportModule
|
|
8
|
+
* @entity QaRubricSection
|
|
9
|
+
* @actionKey UpdateQaRubricSection
|
|
10
|
+
* @event k1.t-hEOJjsDb.SupportModule.QaRubricSection.Update.UpdateQaRubricSection
|
|
11
|
+
*
|
|
12
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.UpdateQaRubricSectionDto = void 0;
|
|
16
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
|
+
/**
|
|
18
|
+
* Edit section
|
|
19
|
+
*
|
|
20
|
+
* Edit a QaRubricSection record from the Odin record page (DATA-398 QA rubrics).
|
|
21
|
+
*
|
|
22
|
+
* @actionType UPDATE - Updates an existing QaRubricSection record
|
|
23
|
+
* @module SupportModule
|
|
24
|
+
* @entity QaRubricSection
|
|
25
|
+
* @event k1.t-hEOJjsDb.SupportModule.QaRubricSection.Update.UpdateQaRubricSection
|
|
26
|
+
* @permission schema.action.updateqarubricsection.trigger
|
|
27
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
28
|
+
*/
|
|
29
|
+
class UpdateQaRubricSectionDto extends core_1.OdinRecordUpdateDto {
|
|
30
|
+
constructor(record, properties, options) {
|
|
31
|
+
super({
|
|
32
|
+
id: record.id,
|
|
33
|
+
entity: record.entity,
|
|
34
|
+
type: record.type,
|
|
35
|
+
properties,
|
|
36
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
37
|
+
stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
|
|
38
|
+
});
|
|
39
|
+
this.actionName = 'UpdateQaRubricSection';
|
|
40
|
+
this.schemaActionId = 'a5743d11-2e6f-4b4d-b478-a3f2c880fa67';
|
|
41
|
+
this.entity = 'SupportModule:QaRubricSection';
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.UpdateQaRubricSectionDto = UpdateQaRubricSectionDto;
|
|
45
|
+
/** Used by SDK generators to identify action type */
|
|
46
|
+
UpdateQaRubricSectionDto.ACTION_TYPE = 'UPDATE';
|
|
47
|
+
UpdateQaRubricSectionDto.ACTION_KEY = 'UpdateQaRubricSection';
|
|
48
|
+
UpdateQaRubricSectionDto.MODULE_NAME = 'SupportModule';
|
|
49
|
+
UpdateQaRubricSectionDto.ENTITIES = ['QaRubricSection'];
|
|
50
|
+
UpdateQaRubricSectionDto.EVENT_NAME = 'k1.t-hEOJjsDb.SupportModule.QaRubricSection.Update.UpdateQaRubricSection';
|
|
51
|
+
UpdateQaRubricSectionDto.PERMISSION = 'schema.action.updateqarubricsection.trigger';
|
|
52
|
+
/** Step metadata - entity this action targets */
|
|
53
|
+
UpdateQaRubricSectionDto.STEP_ENTITY = 'SupportModule:QaRubricSection';
|
|
54
|
+
UpdateQaRubricSectionDto.STEP_SCHEMA_ID = '880a4a28-6b84-4827-8367-1b368692387a';
|
|
55
|
+
UpdateQaRubricSectionDto.STEP_SCHEMA_ACTION_ID = 'a5743d11-2e6f-4b4d-b478-a3f2c880fa67';
|
|
56
|
+
UpdateQaRubricSectionDto.AUTO_LINK_PARENT = false;
|