@d19n/youfibre-odin-sdk 2.0.366 → 2.0.368
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 +9 -26
- package/dist/EntityRegistry.d.ts +0 -8
- package/dist/EntityRegistry.js +0 -8
- package/dist/OdinApiClient.d.ts +0 -16
- package/dist/OdinApiClient.js +0 -32
- package/dist/OdinDbClient.d.ts +0 -16
- package/dist/OdinDbClient.js +0 -32
- package/dist/accessors-v2/index.d.ts +0 -4
- package/dist/accessors-v2/index.js +2 -10
- package/dist/actions-v2/CancelNotStartedReplacementAmcoWorkOrderDto.d.ts +68 -0
- package/dist/actions-v2/CancelNotStartedReplacementAmcoWorkOrderDto.js +60 -0
- package/dist/actions-v2/CancelOrderForEtfPaidDto.d.ts +67 -0
- package/dist/actions-v2/CancelOrderForEtfPaidDto.js +59 -0
- package/dist/actions-v2/CreateOutboundDialCampaignDto.d.ts +8 -1
- package/dist/actions-v2/CreateOutboundDialSessionDto.d.ts +15 -1
- package/dist/actions-v2/UpdateOutboundDialSessionDto.d.ts +15 -1
- package/dist/actions-v2/UpdateoutbounddialcampaignDto.d.ts +8 -1
- package/dist/api-sdk-v2/QaReportAmendmentApi.d.ts +48 -0
- package/dist/api-sdk-v2/QaReportAmendmentApi.js +155 -0
- package/dist/api-sdk-v2/QaReportApi.d.ts +2 -0
- package/dist/api-sdk-v2/QaReportApi.js +6 -0
- package/dist/db-accessors-v2/index.d.ts +0 -4
- package/dist/db-accessors-v2/index.js +2 -10
- package/dist/db-sdk-v2/QaReportAmendmentDb.d.ts +120 -0
- package/dist/db-sdk-v2/QaReportAmendmentDb.js +204 -0
- package/dist/db-sdk-v2/QaReportDb.d.ts +2 -0
- package/dist/db-sdk-v2/QaReportDb.js +6 -0
- package/dist/entities-v2/Address.d.ts +10 -1
- package/dist/entities-v2/Address.js +2 -0
- package/dist/entities-v2/HomeMove.d.ts +23 -1
- package/dist/entities-v2/HomeMove.js +17 -1
- package/dist/entities-v2/OrderItem.d.ts +2 -0
- package/dist/entities-v2/OrderItem.js +2 -0
- package/dist/entities-v2/OutboundDialCampaign.d.ts +9 -1
- package/dist/entities-v2/OutboundDialCampaign.js +2 -0
- package/dist/entities-v2/OutboundDialSession.d.ts +17 -1
- package/dist/entities-v2/OutboundDialSession.js +4 -0
- package/dist/entities-v2/QaReport.d.ts +70 -1
- package/dist/entities-v2/QaReport.js +31 -1
- package/dist/entities-v2/QaReportAmendment.d.ts +209 -0
- package/dist/entities-v2/QaReportAmendment.js +120 -0
- package/dist/records-v2/OrderRecord.d.ts +25 -0
- package/dist/records-v2/OrderRecord.js +29 -0
- package/dist/records-v2/WorkOrderRecord.d.ts +25 -0
- package/dist/records-v2/WorkOrderRecord.js +29 -0
- package/dist/records-v2/index.d.ts +0 -4
- package/dist/records-v2/index.js +2 -14
- package/package.json +1 -1
- package/dist/accessors-v2/QaAutoFailAccessor.d.ts +0 -112
- package/dist/accessors-v2/QaAutoFailAccessor.js +0 -191
- package/dist/accessors-v2/QaRubricAccessor.d.ts +0 -112
- package/dist/accessors-v2/QaRubricAccessor.js +0 -191
- package/dist/accessors-v2/QaRubricItemAccessor.d.ts +0 -112
- package/dist/accessors-v2/QaRubricItemAccessor.js +0 -191
- package/dist/accessors-v2/QaRubricSectionAccessor.d.ts +0 -112
- package/dist/accessors-v2/QaRubricSectionAccessor.js +0 -191
- package/dist/actions-v2/UpdateQaAutoFailDto.d.ts +0 -102
- package/dist/actions-v2/UpdateQaAutoFailDto.js +0 -56
- package/dist/actions-v2/UpdateQaRubricDto.d.ts +0 -103
- package/dist/actions-v2/UpdateQaRubricDto.js +0 -56
- package/dist/actions-v2/UpdateQaRubricItemDto.d.ts +0 -157
- package/dist/actions-v2/UpdateQaRubricItemDto.js +0 -56
- package/dist/actions-v2/UpdateQaRubricSectionDto.d.ts +0 -87
- package/dist/actions-v2/UpdateQaRubricSectionDto.js +0 -56
- package/dist/db-accessors-v2/QaAutoFailDbAccessor.d.ts +0 -180
- package/dist/db-accessors-v2/QaAutoFailDbAccessor.js +0 -265
- package/dist/db-accessors-v2/QaRubricDbAccessor.d.ts +0 -180
- package/dist/db-accessors-v2/QaRubricDbAccessor.js +0 -265
- package/dist/db-accessors-v2/QaRubricItemDbAccessor.d.ts +0 -180
- package/dist/db-accessors-v2/QaRubricItemDbAccessor.js +0 -265
- package/dist/db-accessors-v2/QaRubricSectionDbAccessor.d.ts +0 -180
- package/dist/db-accessors-v2/QaRubricSectionDbAccessor.js +0 -265
- package/dist/records-v2/QaAutoFailRecord.d.ts +0 -205
- package/dist/records-v2/QaAutoFailRecord.js +0 -275
- package/dist/records-v2/QaRubricItemRecord.d.ts +0 -205
- package/dist/records-v2/QaRubricItemRecord.js +0 -275
- package/dist/records-v2/QaRubricRecord.d.ts +0 -225
- package/dist/records-v2/QaRubricRecord.js +0 -308
- package/dist/records-v2/QaRubricSectionRecord.d.ts +0 -225
- package/dist/records-v2/QaRubricSectionRecord.js +0 -308
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* QaReportAmendment Entity Definition
|
|
3
|
+
*
|
|
4
|
+
* One change a manager made to a QA report: an item verdict or an auto-fail ruling, with the model's original beside it, the recomputed points, the reason, who and when. Written only by the amend route in youfibre-api-support; never edited by hand.
|
|
5
|
+
*
|
|
6
|
+
* @module SupportModule
|
|
7
|
+
* @entity QaReportAmendment
|
|
8
|
+
* @schemaId 295e0792-d5cb-44ba-8cbc-f78105341ab5
|
|
9
|
+
*
|
|
10
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
11
|
+
* Generated from Odin schema definition
|
|
12
|
+
*/
|
|
13
|
+
import { OdinRecord, OdinLink, LinkedOdinRecord } from '@d19n/odin-types/dist/core';
|
|
14
|
+
import { QaReportProperties } from './QaReport';
|
|
15
|
+
/**
|
|
16
|
+
* Available types for QaReportAmendment records
|
|
17
|
+
*/
|
|
18
|
+
export declare enum QaReportAmendmentEntityTypes {
|
|
19
|
+
/** This is the default record type */
|
|
20
|
+
DEFAULT = "DEFAULT"
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Valid values for QaReportAmendment.Kind
|
|
24
|
+
*
|
|
25
|
+
* ITEM for a scored rubric item, AUTO_FAIL for an auto-fail ruling.
|
|
26
|
+
*
|
|
27
|
+
* @remarks Available options:
|
|
28
|
+
* - `AUTO_FAIL` - Auto-fail
|
|
29
|
+
* - `ITEM` - Item
|
|
30
|
+
*/
|
|
31
|
+
export declare enum QaReportAmendmentKind {
|
|
32
|
+
AUTO_FAIL = "AUTO_FAIL",
|
|
33
|
+
ITEM = "ITEM"
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Valid values for QaReportAmendment.Superseded
|
|
37
|
+
*
|
|
38
|
+
* NO while this change is the live one; YES once a later amendment or a restore replaced it. Rows are never deleted.
|
|
39
|
+
*
|
|
40
|
+
* @remarks Available options:
|
|
41
|
+
* - `NO` - No
|
|
42
|
+
* - `YES` - Yes
|
|
43
|
+
*/
|
|
44
|
+
export declare enum QaReportAmendmentSuperseded {
|
|
45
|
+
NO = "NO",
|
|
46
|
+
YES = "YES"
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Property keys for QaReportAmendment
|
|
50
|
+
* Use these constants instead of string literals for type safety
|
|
51
|
+
*/
|
|
52
|
+
export declare enum QaReportAmendmentPropertyKeys {
|
|
53
|
+
/** The QA report this change belongs to. */
|
|
54
|
+
ReportId = "ReportId",
|
|
55
|
+
/** ITEM for a scored rubric item, AUTO_FAIL for an auto-fail ruling. */
|
|
56
|
+
Kind = "Kind",
|
|
57
|
+
/** The rubric item key (e.g. chat.standard_greeting) or the auto-fail code (e.g. AF4). */
|
|
58
|
+
ItemKey = "ItemKey",
|
|
59
|
+
/** The item number in the report. Empty for an auto-fail. */
|
|
60
|
+
ItemNumber = "ItemNumber",
|
|
61
|
+
/** What the model said: YES, PARTIAL, NO or NA for an item; TRIGGERED or RULED_OUT for an auto-fail. */
|
|
62
|
+
AiVerdict = "AiVerdict",
|
|
63
|
+
/** The points the model awarded the item. Empty for an auto-fail. */
|
|
64
|
+
AiPoints = "AiPoints",
|
|
65
|
+
/** The verdict after the amendment, same vocabulary as the model verdict. */
|
|
66
|
+
Verdict = "Verdict",
|
|
67
|
+
/** The points after the amendment, recomputed by the scoring rule. Empty for an auto-fail. */
|
|
68
|
+
Points = "Points",
|
|
69
|
+
/** The evidence text after the amendment, when the manager changed it. Empty when the model's text was kept. */
|
|
70
|
+
Evidence = "Evidence",
|
|
71
|
+
/** The rationale text after the amendment, when the manager changed it. Empty when the model's text was kept. */
|
|
72
|
+
Rationale = "Rationale",
|
|
73
|
+
/** Why the model was wrong, in the manager's words. Required by the route. */
|
|
74
|
+
Reason = "Reason",
|
|
75
|
+
/** Display name of the manager. */
|
|
76
|
+
AmendedBy = "AmendedBy",
|
|
77
|
+
/** When the change was made. */
|
|
78
|
+
AmendedAt = "AmendedAt",
|
|
79
|
+
/** NO while this change is the live one; YES once a later amendment or a restore replaced it. Rows are never deleted. */
|
|
80
|
+
Superseded = "Superseded"
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Properties for QaReportAmendment records
|
|
84
|
+
*
|
|
85
|
+
* @see SupportModule:QaReportAmendment
|
|
86
|
+
*/
|
|
87
|
+
export interface QaReportAmendmentProperties {
|
|
88
|
+
/** The QA report this change belongs to.
|
|
89
|
+
*
|
|
90
|
+
* @type {LOOKUP}
|
|
91
|
+
* @default
|
|
92
|
+
*/
|
|
93
|
+
ReportId: string;
|
|
94
|
+
/** ITEM for a scored rubric item, AUTO_FAIL for an auto-fail ruling.
|
|
95
|
+
*
|
|
96
|
+
* @type {ENUM}
|
|
97
|
+
* @default
|
|
98
|
+
* @enum {QaReportAmendmentKind}
|
|
99
|
+
*/
|
|
100
|
+
Kind: QaReportAmendmentKind;
|
|
101
|
+
/** The rubric item key (e.g. chat.standard_greeting) or the auto-fail code (e.g. AF4).
|
|
102
|
+
*
|
|
103
|
+
* @type {TEXT}
|
|
104
|
+
* @default
|
|
105
|
+
*/
|
|
106
|
+
ItemKey: string;
|
|
107
|
+
/** The item number in the report. Empty for an auto-fail.
|
|
108
|
+
*
|
|
109
|
+
* @type {NUMBER}
|
|
110
|
+
* @default
|
|
111
|
+
*/
|
|
112
|
+
ItemNumber: number;
|
|
113
|
+
/** What the model said: YES, PARTIAL, NO or NA for an item; TRIGGERED or RULED_OUT for an auto-fail.
|
|
114
|
+
*
|
|
115
|
+
* @type {TEXT}
|
|
116
|
+
* @default
|
|
117
|
+
*/
|
|
118
|
+
AiVerdict: string;
|
|
119
|
+
/** The points the model awarded the item. Empty for an auto-fail.
|
|
120
|
+
*
|
|
121
|
+
* @type {NUMBER}
|
|
122
|
+
* @default
|
|
123
|
+
*/
|
|
124
|
+
AiPoints: number;
|
|
125
|
+
/** The verdict after the amendment, same vocabulary as the model verdict.
|
|
126
|
+
*
|
|
127
|
+
* @type {TEXT}
|
|
128
|
+
* @default
|
|
129
|
+
*/
|
|
130
|
+
Verdict: string;
|
|
131
|
+
/** The points after the amendment, recomputed by the scoring rule. Empty for an auto-fail.
|
|
132
|
+
*
|
|
133
|
+
* @type {NUMBER}
|
|
134
|
+
* @default
|
|
135
|
+
*/
|
|
136
|
+
Points: number;
|
|
137
|
+
/** The evidence text after the amendment, when the manager changed it. Empty when the model's text was kept.
|
|
138
|
+
*
|
|
139
|
+
* @type {TEXT_LONG}
|
|
140
|
+
* @default
|
|
141
|
+
*/
|
|
142
|
+
Evidence: string;
|
|
143
|
+
/** The rationale text after the amendment, when the manager changed it. Empty when the model's text was kept.
|
|
144
|
+
*
|
|
145
|
+
* @type {TEXT_LONG}
|
|
146
|
+
* @default
|
|
147
|
+
*/
|
|
148
|
+
Rationale: string;
|
|
149
|
+
/** Why the model was wrong, in the manager's words. Required by the route.
|
|
150
|
+
*
|
|
151
|
+
* @type {TEXT_LONG}
|
|
152
|
+
* @default
|
|
153
|
+
*/
|
|
154
|
+
Reason: string;
|
|
155
|
+
/** Display name of the manager.
|
|
156
|
+
*
|
|
157
|
+
* @type {TEXT}
|
|
158
|
+
* @default
|
|
159
|
+
*/
|
|
160
|
+
AmendedBy: string;
|
|
161
|
+
/** When the change was made.
|
|
162
|
+
*
|
|
163
|
+
* @type {DATE_TIME}
|
|
164
|
+
* @default
|
|
165
|
+
*/
|
|
166
|
+
AmendedAt: string;
|
|
167
|
+
/** NO while this change is the live one; YES once a later amendment or a restore replaced it. Rows are never deleted.
|
|
168
|
+
*
|
|
169
|
+
* @type {ENUM}
|
|
170
|
+
* @default NO
|
|
171
|
+
* @enum {QaReportAmendmentSuperseded}
|
|
172
|
+
*/
|
|
173
|
+
Superseded: QaReportAmendmentSuperseded;
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* QaReportAmendment entity from SupportModule
|
|
177
|
+
*
|
|
178
|
+
* One change a manager made to a QA report: an item verdict or an auto-fail ruling, with the model's original beside it, the recomputed points, the reason, who and when. Written only by the amend route in youfibre-api-support; never edited by hand.
|
|
179
|
+
*
|
|
180
|
+
* @module SupportModule
|
|
181
|
+
* @entity QaReportAmendment
|
|
182
|
+
* @schemaId 295e0792-d5cb-44ba-8cbc-f78105341ab5
|
|
183
|
+
* @recordPrefix QRA
|
|
184
|
+
* @capabilities searchable, updateable, undeletable, triggerable
|
|
185
|
+
*/
|
|
186
|
+
export declare class QaReportAmendment extends OdinRecord<QaReportAmendmentProperties> {
|
|
187
|
+
entity: 'SupportModule:QaReportAmendment';
|
|
188
|
+
type: QaReportAmendmentEntityTypes;
|
|
189
|
+
schemaId: '295e0792-d5cb-44ba-8cbc-f78105341ab5';
|
|
190
|
+
properties: QaReportAmendmentProperties;
|
|
191
|
+
/** Linked QaReport records (QaReport__Amendment) */
|
|
192
|
+
QaReport: OdinLink<LinkedOdinRecord<QaReportProperties>>;
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* RabbitMQ routing keys for QaReportAmendment events
|
|
196
|
+
*/
|
|
197
|
+
export declare const ROUTING_KEY_QA_REPORT_AMENDMENT_CREATED = "SupportModule.QaReportAmendment.SubDbRecordCreated";
|
|
198
|
+
export declare const ROUTING_KEY_QA_REPORT_AMENDMENT_UPDATED = "SupportModule.QaReportAmendment.SubDbRecordUpdated";
|
|
199
|
+
export declare const ROUTING_KEY_QA_REPORT_AMENDMENT_DELETED = "SupportModule.QaReportAmendment.SubDbRecordDeleted";
|
|
200
|
+
/**
|
|
201
|
+
* Type-specific routing keys for QaReportAmendment events
|
|
202
|
+
* Subscribe to these for events on specific entity types only
|
|
203
|
+
*/
|
|
204
|
+
/** This is the default record type created */
|
|
205
|
+
export declare const ROUTING_KEY_QA_REPORT_AMENDMENT_DEFAULT_CREATED = "SupportModule.QaReportAmendment.DEFAULT.SubDbRecordCreated";
|
|
206
|
+
/** This is the default record type updated */
|
|
207
|
+
export declare const ROUTING_KEY_QA_REPORT_AMENDMENT_DEFAULT_UPDATED = "SupportModule.QaReportAmendment.DEFAULT.SubDbRecordUpdated";
|
|
208
|
+
/** This is the default record type deleted */
|
|
209
|
+
export declare const ROUTING_KEY_QA_REPORT_AMENDMENT_DEFAULT_DELETED = "SupportModule.QaReportAmendment.DEFAULT.SubDbRecordDeleted";
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* QaReportAmendment Entity Definition
|
|
4
|
+
*
|
|
5
|
+
* One change a manager made to a QA report: an item verdict or an auto-fail ruling, with the model's original beside it, the recomputed points, the reason, who and when. Written only by the amend route in youfibre-api-support; never edited by hand.
|
|
6
|
+
*
|
|
7
|
+
* @module SupportModule
|
|
8
|
+
* @entity QaReportAmendment
|
|
9
|
+
* @schemaId 295e0792-d5cb-44ba-8cbc-f78105341ab5
|
|
10
|
+
*
|
|
11
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
12
|
+
* Generated from Odin schema definition
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.ROUTING_KEY_QA_REPORT_AMENDMENT_DEFAULT_DELETED = exports.ROUTING_KEY_QA_REPORT_AMENDMENT_DEFAULT_UPDATED = exports.ROUTING_KEY_QA_REPORT_AMENDMENT_DEFAULT_CREATED = exports.ROUTING_KEY_QA_REPORT_AMENDMENT_DELETED = exports.ROUTING_KEY_QA_REPORT_AMENDMENT_UPDATED = exports.ROUTING_KEY_QA_REPORT_AMENDMENT_CREATED = exports.QaReportAmendment = exports.QaReportAmendmentPropertyKeys = exports.QaReportAmendmentSuperseded = exports.QaReportAmendmentKind = exports.QaReportAmendmentEntityTypes = void 0;
|
|
16
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
|
+
/**
|
|
18
|
+
* Available types for QaReportAmendment records
|
|
19
|
+
*/
|
|
20
|
+
var QaReportAmendmentEntityTypes;
|
|
21
|
+
(function (QaReportAmendmentEntityTypes) {
|
|
22
|
+
/** This is the default record type */
|
|
23
|
+
QaReportAmendmentEntityTypes["DEFAULT"] = "DEFAULT";
|
|
24
|
+
})(QaReportAmendmentEntityTypes = exports.QaReportAmendmentEntityTypes || (exports.QaReportAmendmentEntityTypes = {}));
|
|
25
|
+
/**
|
|
26
|
+
* Valid values for QaReportAmendment.Kind
|
|
27
|
+
*
|
|
28
|
+
* ITEM for a scored rubric item, AUTO_FAIL for an auto-fail ruling.
|
|
29
|
+
*
|
|
30
|
+
* @remarks Available options:
|
|
31
|
+
* - `AUTO_FAIL` - Auto-fail
|
|
32
|
+
* - `ITEM` - Item
|
|
33
|
+
*/
|
|
34
|
+
var QaReportAmendmentKind;
|
|
35
|
+
(function (QaReportAmendmentKind) {
|
|
36
|
+
QaReportAmendmentKind["AUTO_FAIL"] = "AUTO_FAIL";
|
|
37
|
+
QaReportAmendmentKind["ITEM"] = "ITEM";
|
|
38
|
+
})(QaReportAmendmentKind = exports.QaReportAmendmentKind || (exports.QaReportAmendmentKind = {}));
|
|
39
|
+
/**
|
|
40
|
+
* Valid values for QaReportAmendment.Superseded
|
|
41
|
+
*
|
|
42
|
+
* NO while this change is the live one; YES once a later amendment or a restore replaced it. Rows are never deleted.
|
|
43
|
+
*
|
|
44
|
+
* @remarks Available options:
|
|
45
|
+
* - `NO` - No
|
|
46
|
+
* - `YES` - Yes
|
|
47
|
+
*/
|
|
48
|
+
var QaReportAmendmentSuperseded;
|
|
49
|
+
(function (QaReportAmendmentSuperseded) {
|
|
50
|
+
QaReportAmendmentSuperseded["NO"] = "NO";
|
|
51
|
+
QaReportAmendmentSuperseded["YES"] = "YES";
|
|
52
|
+
})(QaReportAmendmentSuperseded = exports.QaReportAmendmentSuperseded || (exports.QaReportAmendmentSuperseded = {}));
|
|
53
|
+
/**
|
|
54
|
+
* Property keys for QaReportAmendment
|
|
55
|
+
* Use these constants instead of string literals for type safety
|
|
56
|
+
*/
|
|
57
|
+
var QaReportAmendmentPropertyKeys;
|
|
58
|
+
(function (QaReportAmendmentPropertyKeys) {
|
|
59
|
+
/** The QA report this change belongs to. */
|
|
60
|
+
QaReportAmendmentPropertyKeys["ReportId"] = "ReportId";
|
|
61
|
+
/** ITEM for a scored rubric item, AUTO_FAIL for an auto-fail ruling. */
|
|
62
|
+
QaReportAmendmentPropertyKeys["Kind"] = "Kind";
|
|
63
|
+
/** The rubric item key (e.g. chat.standard_greeting) or the auto-fail code (e.g. AF4). */
|
|
64
|
+
QaReportAmendmentPropertyKeys["ItemKey"] = "ItemKey";
|
|
65
|
+
/** The item number in the report. Empty for an auto-fail. */
|
|
66
|
+
QaReportAmendmentPropertyKeys["ItemNumber"] = "ItemNumber";
|
|
67
|
+
/** What the model said: YES, PARTIAL, NO or NA for an item; TRIGGERED or RULED_OUT for an auto-fail. */
|
|
68
|
+
QaReportAmendmentPropertyKeys["AiVerdict"] = "AiVerdict";
|
|
69
|
+
/** The points the model awarded the item. Empty for an auto-fail. */
|
|
70
|
+
QaReportAmendmentPropertyKeys["AiPoints"] = "AiPoints";
|
|
71
|
+
/** The verdict after the amendment, same vocabulary as the model verdict. */
|
|
72
|
+
QaReportAmendmentPropertyKeys["Verdict"] = "Verdict";
|
|
73
|
+
/** The points after the amendment, recomputed by the scoring rule. Empty for an auto-fail. */
|
|
74
|
+
QaReportAmendmentPropertyKeys["Points"] = "Points";
|
|
75
|
+
/** The evidence text after the amendment, when the manager changed it. Empty when the model's text was kept. */
|
|
76
|
+
QaReportAmendmentPropertyKeys["Evidence"] = "Evidence";
|
|
77
|
+
/** The rationale text after the amendment, when the manager changed it. Empty when the model's text was kept. */
|
|
78
|
+
QaReportAmendmentPropertyKeys["Rationale"] = "Rationale";
|
|
79
|
+
/** Why the model was wrong, in the manager's words. Required by the route. */
|
|
80
|
+
QaReportAmendmentPropertyKeys["Reason"] = "Reason";
|
|
81
|
+
/** Display name of the manager. */
|
|
82
|
+
QaReportAmendmentPropertyKeys["AmendedBy"] = "AmendedBy";
|
|
83
|
+
/** When the change was made. */
|
|
84
|
+
QaReportAmendmentPropertyKeys["AmendedAt"] = "AmendedAt";
|
|
85
|
+
/** NO while this change is the live one; YES once a later amendment or a restore replaced it. Rows are never deleted. */
|
|
86
|
+
QaReportAmendmentPropertyKeys["Superseded"] = "Superseded";
|
|
87
|
+
})(QaReportAmendmentPropertyKeys = exports.QaReportAmendmentPropertyKeys || (exports.QaReportAmendmentPropertyKeys = {}));
|
|
88
|
+
/**
|
|
89
|
+
* QaReportAmendment entity from SupportModule
|
|
90
|
+
*
|
|
91
|
+
* One change a manager made to a QA report: an item verdict or an auto-fail ruling, with the model's original beside it, the recomputed points, the reason, who and when. Written only by the amend route in youfibre-api-support; never edited by hand.
|
|
92
|
+
*
|
|
93
|
+
* @module SupportModule
|
|
94
|
+
* @entity QaReportAmendment
|
|
95
|
+
* @schemaId 295e0792-d5cb-44ba-8cbc-f78105341ab5
|
|
96
|
+
* @recordPrefix QRA
|
|
97
|
+
* @capabilities searchable, updateable, undeletable, triggerable
|
|
98
|
+
*/
|
|
99
|
+
class QaReportAmendment extends core_1.OdinRecord {
|
|
100
|
+
}
|
|
101
|
+
exports.QaReportAmendment = QaReportAmendment;
|
|
102
|
+
// ============================================
|
|
103
|
+
// RABBITMQ EVENT ROUTING KEYS
|
|
104
|
+
// ============================================
|
|
105
|
+
/**
|
|
106
|
+
* RabbitMQ routing keys for QaReportAmendment events
|
|
107
|
+
*/
|
|
108
|
+
exports.ROUTING_KEY_QA_REPORT_AMENDMENT_CREATED = 'SupportModule.QaReportAmendment.SubDbRecordCreated';
|
|
109
|
+
exports.ROUTING_KEY_QA_REPORT_AMENDMENT_UPDATED = 'SupportModule.QaReportAmendment.SubDbRecordUpdated';
|
|
110
|
+
exports.ROUTING_KEY_QA_REPORT_AMENDMENT_DELETED = 'SupportModule.QaReportAmendment.SubDbRecordDeleted';
|
|
111
|
+
/**
|
|
112
|
+
* Type-specific routing keys for QaReportAmendment events
|
|
113
|
+
* Subscribe to these for events on specific entity types only
|
|
114
|
+
*/
|
|
115
|
+
/** This is the default record type created */
|
|
116
|
+
exports.ROUTING_KEY_QA_REPORT_AMENDMENT_DEFAULT_CREATED = 'SupportModule.QaReportAmendment.DEFAULT.SubDbRecordCreated';
|
|
117
|
+
/** This is the default record type updated */
|
|
118
|
+
exports.ROUTING_KEY_QA_REPORT_AMENDMENT_DEFAULT_UPDATED = 'SupportModule.QaReportAmendment.DEFAULT.SubDbRecordUpdated';
|
|
119
|
+
/** This is the default record type deleted */
|
|
120
|
+
exports.ROUTING_KEY_QA_REPORT_AMENDMENT_DEFAULT_DELETED = 'SupportModule.QaReportAmendment.DEFAULT.SubDbRecordDeleted';
|
|
@@ -1535,6 +1535,31 @@ export declare class OrderRecord<TProps = OrderProperties> {
|
|
|
1535
1535
|
cancelActiveOrder(options?: {
|
|
1536
1536
|
journeyId?: string;
|
|
1537
1537
|
}): CancelActiveOrderFlowBuilder;
|
|
1538
|
+
/**
|
|
1539
|
+
* CancelOrderForEtfPaid
|
|
1540
|
+
*
|
|
1541
|
+
* Transitions this Order record to a new pipeline stage.
|
|
1542
|
+
* Returns an ActionBuilder - call .execute() to transition or .dryRun() for debugging.
|
|
1543
|
+
*
|
|
1544
|
+
* @remarks Transitions to stage: OrderStageCancelled
|
|
1545
|
+
*
|
|
1546
|
+
* @param options - Optional settings
|
|
1547
|
+
* @param options.journeyId - Associate with a journey
|
|
1548
|
+
* @returns ActionBuilder - call .execute() to transition or .dryRun() for payload
|
|
1549
|
+
* @throws Error if called on a new (unsaved) record
|
|
1550
|
+
*
|
|
1551
|
+
* @example
|
|
1552
|
+
* ```typescript
|
|
1553
|
+
* const record = await odinClient.orders.get(id);
|
|
1554
|
+
* await record.cancelOrderForEtfPaid().execute();
|
|
1555
|
+
*
|
|
1556
|
+
* // Dry run (for debugging)
|
|
1557
|
+
* const payload = record.cancelOrderForEtfPaid().dryRun();
|
|
1558
|
+
* ```
|
|
1559
|
+
*/
|
|
1560
|
+
cancelOrderForEtfPaid(options?: {
|
|
1561
|
+
journeyId?: string;
|
|
1562
|
+
}): ActionBuilder;
|
|
1538
1563
|
/**
|
|
1539
1564
|
* CancelOrderForRecontract
|
|
1540
1565
|
*
|
|
@@ -2377,6 +2377,35 @@ class OrderRecord {
|
|
|
2377
2377
|
throw new Error('cancelActiveOrder requires an existing record. Use accessor.get() first.');
|
|
2378
2378
|
return new CancelActiveOrderFlowBuilder(this, this._provider, this._pendingLinks, options);
|
|
2379
2379
|
}
|
|
2380
|
+
/**
|
|
2381
|
+
* CancelOrderForEtfPaid
|
|
2382
|
+
*
|
|
2383
|
+
* Transitions this Order record to a new pipeline stage.
|
|
2384
|
+
* Returns an ActionBuilder - call .execute() to transition or .dryRun() for debugging.
|
|
2385
|
+
*
|
|
2386
|
+
* @remarks Transitions to stage: OrderStageCancelled
|
|
2387
|
+
*
|
|
2388
|
+
* @param options - Optional settings
|
|
2389
|
+
* @param options.journeyId - Associate with a journey
|
|
2390
|
+
* @returns ActionBuilder - call .execute() to transition or .dryRun() for payload
|
|
2391
|
+
* @throws Error if called on a new (unsaved) record
|
|
2392
|
+
*
|
|
2393
|
+
* @example
|
|
2394
|
+
* ```typescript
|
|
2395
|
+
* const record = await odinClient.orders.get(id);
|
|
2396
|
+
* await record.cancelOrderForEtfPaid().execute();
|
|
2397
|
+
*
|
|
2398
|
+
* // Dry run (for debugging)
|
|
2399
|
+
* const payload = record.cancelOrderForEtfPaid().dryRun();
|
|
2400
|
+
* ```
|
|
2401
|
+
*/
|
|
2402
|
+
cancelOrderForEtfPaid(options) {
|
|
2403
|
+
var _a;
|
|
2404
|
+
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
2405
|
+
throw new Error('cancelOrderForEtfPaid requires an existing record. Use accessor.get() first.');
|
|
2406
|
+
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'CancelOrderForEtfPaid', associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, stageKey: 'OrderStageCancelled' }, options);
|
|
2407
|
+
return new ActionBuilder(this._provider, 'OrderModule', 'Order', payload, () => { this._pendingLinks = []; });
|
|
2408
|
+
}
|
|
2380
2409
|
/**
|
|
2381
2410
|
* CancelOrderForRecontract
|
|
2382
2411
|
*
|
|
@@ -4789,6 +4789,31 @@ export declare class WorkOrderRecord<TProps = WorkOrderProperties> {
|
|
|
4789
4789
|
cancelNotStartedDispatchAmcoWorkOrder(options?: {
|
|
4790
4790
|
journeyId?: string;
|
|
4791
4791
|
}): ActionBuilder;
|
|
4792
|
+
/**
|
|
4793
|
+
* CancelNotStartedReplacementAmcoWorkOrder
|
|
4794
|
+
*
|
|
4795
|
+
* Transitions this WorkOrder record to a new pipeline stage.
|
|
4796
|
+
* Returns an ActionBuilder - call .execute() to transition or .dryRun() for debugging.
|
|
4797
|
+
*
|
|
4798
|
+
* @remarks Transitions to stage: ReplacementAmcoStageCancelled
|
|
4799
|
+
*
|
|
4800
|
+
* @param options - Optional settings
|
|
4801
|
+
* @param options.journeyId - Associate with a journey
|
|
4802
|
+
* @returns ActionBuilder - call .execute() to transition or .dryRun() for payload
|
|
4803
|
+
* @throws Error if called on a new (unsaved) record
|
|
4804
|
+
*
|
|
4805
|
+
* @example
|
|
4806
|
+
* ```typescript
|
|
4807
|
+
* const record = await odinClient.workOrders.get(id);
|
|
4808
|
+
* await record.cancelNotStartedReplacementAmcoWorkOrder().execute();
|
|
4809
|
+
*
|
|
4810
|
+
* // Dry run (for debugging)
|
|
4811
|
+
* const payload = record.cancelNotStartedReplacementAmcoWorkOrder().dryRun();
|
|
4812
|
+
* ```
|
|
4813
|
+
*/
|
|
4814
|
+
cancelNotStartedReplacementAmcoWorkOrder(options?: {
|
|
4815
|
+
journeyId?: string;
|
|
4816
|
+
}): ActionBuilder;
|
|
4792
4817
|
/**
|
|
4793
4818
|
* CancelPrePullWorkOrderFlowSupplier
|
|
4794
4819
|
*
|
|
@@ -7454,6 +7454,35 @@ class WorkOrderRecord {
|
|
|
7454
7454
|
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'CancelNotStartedDispatchAmcoWorkOrder', associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, stageKey: 'DispatchAmcoStageCancelled' }, options);
|
|
7455
7455
|
return new ActionBuilder(this._provider, 'FieldServiceModule', 'WorkOrder', payload, () => { this._pendingLinks = []; });
|
|
7456
7456
|
}
|
|
7457
|
+
/**
|
|
7458
|
+
* CancelNotStartedReplacementAmcoWorkOrder
|
|
7459
|
+
*
|
|
7460
|
+
* Transitions this WorkOrder record to a new pipeline stage.
|
|
7461
|
+
* Returns an ActionBuilder - call .execute() to transition or .dryRun() for debugging.
|
|
7462
|
+
*
|
|
7463
|
+
* @remarks Transitions to stage: ReplacementAmcoStageCancelled
|
|
7464
|
+
*
|
|
7465
|
+
* @param options - Optional settings
|
|
7466
|
+
* @param options.journeyId - Associate with a journey
|
|
7467
|
+
* @returns ActionBuilder - call .execute() to transition or .dryRun() for payload
|
|
7468
|
+
* @throws Error if called on a new (unsaved) record
|
|
7469
|
+
*
|
|
7470
|
+
* @example
|
|
7471
|
+
* ```typescript
|
|
7472
|
+
* const record = await odinClient.workOrders.get(id);
|
|
7473
|
+
* await record.cancelNotStartedReplacementAmcoWorkOrder().execute();
|
|
7474
|
+
*
|
|
7475
|
+
* // Dry run (for debugging)
|
|
7476
|
+
* const payload = record.cancelNotStartedReplacementAmcoWorkOrder().dryRun();
|
|
7477
|
+
* ```
|
|
7478
|
+
*/
|
|
7479
|
+
cancelNotStartedReplacementAmcoWorkOrder(options) {
|
|
7480
|
+
var _a;
|
|
7481
|
+
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
7482
|
+
throw new Error('cancelNotStartedReplacementAmcoWorkOrder requires an existing record. Use accessor.get() first.');
|
|
7483
|
+
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'CancelNotStartedReplacementAmcoWorkOrder', associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, stageKey: 'ReplacementAmcoStageCancelled' }, options);
|
|
7484
|
+
return new ActionBuilder(this._provider, 'FieldServiceModule', 'WorkOrder', payload, () => { this._pendingLinks = []; });
|
|
7485
|
+
}
|
|
7457
7486
|
/**
|
|
7458
7487
|
* CancelPrePullWorkOrderFlowSupplier
|
|
7459
7488
|
*
|
|
@@ -131,10 +131,6 @@ export { PriceBookRecord, isPriceBookRecord } from './PriceBookRecord';
|
|
|
131
131
|
export { ScheduleSlotRecord, isScheduleSlotRecord } from './ScheduleSlotRecord';
|
|
132
132
|
export { AgentStatusRecord, isAgentStatusRecord } from './AgentStatusRecord';
|
|
133
133
|
export { NotificationTemplateRecord, isNotificationTemplateRecord } from './NotificationTemplateRecord';
|
|
134
|
-
export { QaAutoFailRecord, isQaAutoFailRecord } from './QaAutoFailRecord';
|
|
135
|
-
export { QaRubricRecord, isQaRubricRecord } from './QaRubricRecord';
|
|
136
|
-
export { QaRubricItemRecord, isQaRubricItemRecord } from './QaRubricItemRecord';
|
|
137
|
-
export { QaRubricSectionRecord, isQaRubricSectionRecord } from './QaRubricSectionRecord';
|
|
138
134
|
export { ServiceRecord, isServiceRecord } from './ServiceRecord';
|
|
139
135
|
export { SmsTemplateRecord, isSmsTemplateRecord } from './SmsTemplateRecord';
|
|
140
136
|
export { VisitRecord, isVisitRecord } from './VisitRecord';
|
package/dist/records-v2/index.js
CHANGED
|
@@ -15,8 +15,8 @@ exports.isUgExternalAuditRecord = exports.UgExternalAuditRecord = exports.isPaym
|
|
|
15
15
|
exports.isCustomerDeviceOntRecord = exports.CustomerDeviceOntRecord = exports.isCustomerDeviceConfigurationRecord = exports.CustomerDeviceConfigurationRecord = exports.isCustomerDeviceRecord = exports.CustomerDeviceRecord = exports.isConversationSummaryFeedbackRecord = exports.ConversationSummaryFeedbackRecord = exports.isContactIdentityRecord = exports.ContactIdentityRecord = exports.isConfigRecord = exports.ConfigRecord = exports.isMessageRecord = exports.MessageRecord = exports.isOrderKciRecord = exports.OrderKciRecord = exports.isRewardRecord = exports.RewardRecord = exports.isContactRecord = exports.ContactRecord = exports.isCallRecord = exports.CallRecord = exports.isTwilioCallEventRecord = exports.TwilioCallEventRecord = exports.isProductRecord = exports.ProductRecord = exports.isBrskEntityMigrationErrorRecord = exports.BrskEntityMigrationErrorRecord = exports.isBngProvisionRecord = exports.BngProvisionRecord = exports.isPgFileAllocationRecord = exports.PgFileAllocationRecord = exports.isAppointmentRecord = exports.AppointmentRecord = exports.isEmailRecord = exports.EmailRecord = exports.isCallLegRecord = exports.CallLegRecord = exports.isAffiliateCodeRecord = exports.AffiliateCodeRecord = exports.isActivityLogRecord = exports.ActivityLogRecord = exports.isAccountCreditRecord = exports.AccountCreditRecord = exports.isYfFieldVisitOutcomeFormRecord = exports.YfFieldVisitOutcomeFormRecord = exports.isRemediationOutcomeFormRecord = exports.RemediationOutcomeFormRecord = exports.isOhExternalAuditRecord = exports.OhExternalAuditRecord = void 0;
|
|
16
16
|
exports.isOutboundDialSessionRecord = exports.OutboundDialSessionRecord = exports.isOutboundDialCampaignRecord = exports.OutboundDialCampaignRecord = exports.isReferralRecord = exports.ReferralRecord = exports.isOrderCheckRecord = exports.OrderCheckRecord = exports.isCampaignRecord = exports.CampaignRecord = exports.isOneTouchSwitchRecord = exports.OneTouchSwitchRecord = exports.isOfferTemplateRecord = exports.OfferTemplateRecord = exports.isReturnsRecord = exports.ReturnsRecord = exports.isNetworkDeviceRecord = exports.NetworkDeviceRecord = exports.isModifyServiceRequestRecord = exports.ModifyServiceRequestRecord = exports.isLeadRecord = exports.LeadRecord = exports.isInvoiceItemRecord = exports.InvoiceItemRecord = exports.isImpersonationTrackerRecord = exports.ImpersonationTrackerRecord = exports.isHomeMoveRecord = exports.HomeMoveRecord = exports.isActivityRecord = exports.ActivityRecord = exports.isFileRecord = exports.FileRecord = exports.isFieldServiceProductRecord = exports.FieldServiceProductRecord = exports.isFieldServiceDispatchedProductRecord = exports.FieldServiceDispatchedProductRecord = exports.isExchangeRecord = exports.ExchangeRecord = exports.isEquipmentReturnItemRecord = exports.EquipmentReturnItemRecord = exports.isEquipmentReturnRecord = exports.EquipmentReturnRecord = exports.isEmailTemplateRecord = exports.EmailTemplateRecord = exports.isEmailSenderRecord = exports.EmailSenderRecord = exports.isDocumentProcessingRecord = exports.DocumentProcessingRecord = exports.isDocumentRecord = exports.DocumentRecord = void 0;
|
|
17
17
|
exports.isTwilioUserUpdateRecord = exports.TwilioUserUpdateRecord = exports.isTwilioTaskQueueRecord = exports.TwilioTaskQueueRecord = exports.isTwilioActivityRecord = exports.TwilioActivityRecord = exports.isTimeSlotRecord = exports.TimeSlotRecord = exports.isTeamRecord = exports.TeamRecord = exports.isSalesTerritoryRecord = exports.SalesTerritoryRecord = exports.isRegionRecord = exports.RegionRecord = exports.isVoiceConfigurationRecord = exports.VoiceConfigurationRecord = exports.isOrderItemRecord = exports.OrderItemRecord = exports.isRecontractRecord = exports.RecontractRecord = exports.isQaReportRecord = exports.QaReportRecord = exports.isPushNotificationRecord = exports.PushNotificationRecord = exports.isPgWebhookRecord = exports.PgWebhookRecord = exports.isPgWebhookAttemptRecord = exports.PgWebhookAttemptRecord = exports.isPgAccountValidationRecord = exports.PgAccountValidationRecord = exports.isPgTransactionRecord = exports.PgTransactionRecord = exports.isPgSortCodeSubstitutionRecord = exports.PgSortCodeSubstitutionRecord = exports.isPgVocalinkRecord = exports.PgVocalinkRecord = exports.isPgDirectDebitFileRecord = exports.PgDirectDebitFileRecord = exports.isPgReportEventRecord = exports.PgReportEventRecord = exports.isPgPaymentMethodRecord = exports.PgPaymentMethodRecord = exports.isPgLogRecord = exports.PgLogRecord = exports.isPgDisputeRecord = exports.PgDisputeRecord = exports.isPgContactRecord = exports.PgContactRecord = exports.isSmsMessageRecord = exports.SmsMessageRecord = void 0;
|
|
18
|
-
exports.
|
|
19
|
-
exports.isCustomerPhonePortingRecord = exports.CustomerPhonePortingRecord =
|
|
18
|
+
exports.isVisitRecord = exports.VisitRecord = exports.isSmsTemplateRecord = exports.SmsTemplateRecord = exports.isServiceRecord = exports.ServiceRecord = exports.isNotificationTemplateRecord = exports.NotificationTemplateRecord = exports.isAgentStatusRecord = exports.AgentStatusRecord = exports.isScheduleSlotRecord = exports.ScheduleSlotRecord = exports.isPriceBookRecord = exports.PriceBookRecord = exports.isOverlayRealA55Record = exports.OverlayRealA55Record = exports.isOfferRecord = exports.OfferRecord = exports.isServiceAppointmentRecord = exports.ServiceAppointmentRecord = exports.isOutageRecord = exports.OutageRecord = exports.isSiteSpecificRiskAssessmentOutcomeFormRecord = exports.SiteSpecificRiskAssessmentOutcomeFormRecord = exports.isRemediationRequiredReasonRecord = exports.RemediationRequiredReasonRecord = exports.isKnowledgeArticleRecord = exports.KnowledgeArticleRecord = exports.isInvoiceRecord = exports.InvoiceRecord = exports.isDiscountRecord = exports.DiscountRecord = exports.isCustomerDeviceAtaRecord = exports.CustomerDeviceAtaRecord = exports.isCreditNoteRecord = exports.CreditNoteRecord = exports.isOutboundDialCampaignCaseRecord = exports.OutboundDialCampaignCaseRecord = exports.isYfWifiSurveyRecord = exports.YfWifiSurveyRecord = exports.isYfAgentLocationRecord = exports.YfAgentLocationRecord = exports.isWorkOrderStatusUpdateRecord = exports.WorkOrderStatusUpdateRecord = exports.isWayleaveAuditRecord = exports.WayleaveAuditRecord = exports.isUserRecord = exports.UserRecord = exports.isTwilioWorkerRecord = exports.TwilioWorkerRecord = void 0;
|
|
19
|
+
exports.isCustomerPhonePortingRecord = exports.CustomerPhonePortingRecord = void 0;
|
|
20
20
|
var OrderRecord_1 = require("./OrderRecord");
|
|
21
21
|
Object.defineProperty(exports, "OrderRecord", { enumerable: true, get: function () { return OrderRecord_1.OrderRecord; } });
|
|
22
22
|
Object.defineProperty(exports, "isOrderRecord", { enumerable: true, get: function () { return OrderRecord_1.isOrderRecord; } });
|
|
@@ -383,18 +383,6 @@ Object.defineProperty(exports, "isAgentStatusRecord", { enumerable: true, get: f
|
|
|
383
383
|
var NotificationTemplateRecord_1 = require("./NotificationTemplateRecord");
|
|
384
384
|
Object.defineProperty(exports, "NotificationTemplateRecord", { enumerable: true, get: function () { return NotificationTemplateRecord_1.NotificationTemplateRecord; } });
|
|
385
385
|
Object.defineProperty(exports, "isNotificationTemplateRecord", { enumerable: true, get: function () { return NotificationTemplateRecord_1.isNotificationTemplateRecord; } });
|
|
386
|
-
var QaAutoFailRecord_1 = require("./QaAutoFailRecord");
|
|
387
|
-
Object.defineProperty(exports, "QaAutoFailRecord", { enumerable: true, get: function () { return QaAutoFailRecord_1.QaAutoFailRecord; } });
|
|
388
|
-
Object.defineProperty(exports, "isQaAutoFailRecord", { enumerable: true, get: function () { return QaAutoFailRecord_1.isQaAutoFailRecord; } });
|
|
389
|
-
var QaRubricRecord_1 = require("./QaRubricRecord");
|
|
390
|
-
Object.defineProperty(exports, "QaRubricRecord", { enumerable: true, get: function () { return QaRubricRecord_1.QaRubricRecord; } });
|
|
391
|
-
Object.defineProperty(exports, "isQaRubricRecord", { enumerable: true, get: function () { return QaRubricRecord_1.isQaRubricRecord; } });
|
|
392
|
-
var QaRubricItemRecord_1 = require("./QaRubricItemRecord");
|
|
393
|
-
Object.defineProperty(exports, "QaRubricItemRecord", { enumerable: true, get: function () { return QaRubricItemRecord_1.QaRubricItemRecord; } });
|
|
394
|
-
Object.defineProperty(exports, "isQaRubricItemRecord", { enumerable: true, get: function () { return QaRubricItemRecord_1.isQaRubricItemRecord; } });
|
|
395
|
-
var QaRubricSectionRecord_1 = require("./QaRubricSectionRecord");
|
|
396
|
-
Object.defineProperty(exports, "QaRubricSectionRecord", { enumerable: true, get: function () { return QaRubricSectionRecord_1.QaRubricSectionRecord; } });
|
|
397
|
-
Object.defineProperty(exports, "isQaRubricSectionRecord", { enumerable: true, get: function () { return QaRubricSectionRecord_1.isQaRubricSectionRecord; } });
|
|
398
386
|
var ServiceRecord_1 = require("./ServiceRecord");
|
|
399
387
|
Object.defineProperty(exports, "ServiceRecord", { enumerable: true, get: function () { return ServiceRecord_1.ServiceRecord; } });
|
|
400
388
|
Object.defineProperty(exports, "isServiceRecord", { enumerable: true, get: function () { return ServiceRecord_1.isServiceRecord; } });
|
package/package.json
CHANGED
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* QaAutoFail Accessor
|
|
3
|
-
*
|
|
4
|
-
* Provides typed access to QaAutoFail records via API.
|
|
5
|
-
* Returns wrapped records with typed action methods.
|
|
6
|
-
*
|
|
7
|
-
* @example
|
|
8
|
-
* ```typescript
|
|
9
|
-
* // Get existing record
|
|
10
|
-
* const record = await accessor.get(id);
|
|
11
|
-
* await record.updateQaAutoFail({ ... });
|
|
12
|
-
*
|
|
13
|
-
* // Create new record
|
|
14
|
-
* const newRecord = accessor.new();
|
|
15
|
-
* await newRecord.createQaAutoFail({ ... });
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
19
|
-
*/
|
|
20
|
-
import { OdinSearchV2 } from '@d19n/odin-types/dist/core';
|
|
21
|
-
import { ApiProvider } from '@d19n/odin-sdk-generator/dist/api.provider';
|
|
22
|
-
import { OauthParams } from '@d19n/odin-sdk-generator/dist/odin-sdk-types';
|
|
23
|
-
import { QueryBuilder } from '@d19n/odin-sdk-generator/dist/query-builder';
|
|
24
|
-
import { QaAutoFailProperties } from '../entities-v2/QaAutoFail';
|
|
25
|
-
import { QaAutoFailRecord } from '../records-v2/QaAutoFailRecord';
|
|
26
|
-
/** List response with wrapped records */
|
|
27
|
-
export interface QaAutoFailListResponse {
|
|
28
|
-
data: QaAutoFailRecord[];
|
|
29
|
-
hasMore: boolean;
|
|
30
|
-
totalRecords: number;
|
|
31
|
-
}
|
|
32
|
-
/** Search response with wrapped records */
|
|
33
|
-
export interface QaAutoFailSearchResponse {
|
|
34
|
-
records: QaAutoFailRecord[];
|
|
35
|
-
totalRecords: number;
|
|
36
|
-
hasMore: boolean;
|
|
37
|
-
aggregations?: Record<string, any>;
|
|
38
|
-
}
|
|
39
|
-
export declare class QaAutoFailAccessor {
|
|
40
|
-
private readonly _provider;
|
|
41
|
-
private readonly _moduleName;
|
|
42
|
-
private readonly _entityName;
|
|
43
|
-
constructor(provider: ApiProvider);
|
|
44
|
-
constructor(authParams: OauthParams);
|
|
45
|
-
constructor(authToken: string, host?: string);
|
|
46
|
-
get moduleName(): string;
|
|
47
|
-
get entityName(): string;
|
|
48
|
-
/**
|
|
49
|
-
* Create a new empty QaAutoFail record instance for create operations.
|
|
50
|
-
* Pre-generates an ID that can be referenced before the record is saved.
|
|
51
|
-
*
|
|
52
|
-
* @param id - Optional ID to use (auto-generated UUID if not provided)
|
|
53
|
-
* @returns A new record wrapper with pre-generated ID
|
|
54
|
-
*
|
|
55
|
-
* @example
|
|
56
|
-
* ```typescript
|
|
57
|
-
* // Auto-generated ID
|
|
58
|
-
* const note = odinClient.notes.new();
|
|
59
|
-
* console.log(note.id); // UUID available immediately
|
|
60
|
-
*
|
|
61
|
-
* // Custom ID
|
|
62
|
-
* const order = odinClient.orders.new("custom-id-123");
|
|
63
|
-
*
|
|
64
|
-
* // Reference ID before save
|
|
65
|
-
* const account = odinClient.accounts.new();
|
|
66
|
-
* const contact = odinClient.contacts.new();
|
|
67
|
-
* await contact
|
|
68
|
-
* .link({ id: account.id, entity: "CrmModule:Account" })
|
|
69
|
-
* .createContact({ FirstName: "John" });
|
|
70
|
-
* ```
|
|
71
|
-
*/
|
|
72
|
-
new(id?: string): QaAutoFailRecord;
|
|
73
|
-
/**
|
|
74
|
-
* Get a single QaAutoFail record by ID
|
|
75
|
-
*/
|
|
76
|
-
get(id: string): Promise<QaAutoFailRecord>;
|
|
77
|
-
/**
|
|
78
|
-
* Get multiple QaAutoFail records by IDs
|
|
79
|
-
*/
|
|
80
|
-
getMany(ids: string[]): Promise<QaAutoFailRecord[]>;
|
|
81
|
-
/**
|
|
82
|
-
* Search QaAutoFail records
|
|
83
|
-
*/
|
|
84
|
-
search(params: Partial<OdinSearchV2>): Promise<QaAutoFailSearchResponse>;
|
|
85
|
-
/**
|
|
86
|
-
* Search all QaAutoFail records with automatic pagination
|
|
87
|
-
*/
|
|
88
|
-
searchAll(params: Partial<OdinSearchV2>): Promise<QaAutoFailRecord[]>;
|
|
89
|
-
/**
|
|
90
|
-
* Async generator for paginating through all matching records.
|
|
91
|
-
* Yields batches of wrapped records.
|
|
92
|
-
*/
|
|
93
|
-
paginate(params: Partial<OdinSearchV2>): AsyncGenerator<QaAutoFailRecord[]>;
|
|
94
|
-
/**
|
|
95
|
-
* Create a fluent query builder for QaAutoFail records
|
|
96
|
-
*
|
|
97
|
-
* @example
|
|
98
|
-
* ```typescript
|
|
99
|
-
* const results = await accessor
|
|
100
|
-
* .query()
|
|
101
|
-
* .where('Status', 'in', ['Active', 'Pending'])
|
|
102
|
-
* .where('CreatedAt', 'gte', '2025-01-01')
|
|
103
|
-
* .select('id', 'title', 'properties.*')
|
|
104
|
-
* .sortBy('createdAt', 'desc')
|
|
105
|
-
* .limit(100)
|
|
106
|
-
* .execute();
|
|
107
|
-
* ```
|
|
108
|
-
*/
|
|
109
|
-
query(): QueryBuilder<QaAutoFailProperties, QaAutoFailRecord>;
|
|
110
|
-
/** Access the underlying ApiProvider */
|
|
111
|
-
get provider(): ApiProvider;
|
|
112
|
-
}
|