@d19n/youfibre-odin-sdk 2.0.375 → 2.0.377

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.
Files changed (39) hide show
  1. package/README.md +5 -2
  2. package/dist/actions-v2/SetContactYouFibreTvInterestDto.d.ts +72 -0
  3. package/dist/actions-v2/SetContactYouFibreTvInterestDto.js +56 -0
  4. package/dist/actions-v2/UpdateWorkOrderWithdrawEquipmentChargeDto.d.ts +5 -5
  5. package/dist/api-sdk-v2/DocumentApi.d.ts +2 -0
  6. package/dist/api-sdk-v2/DocumentApi.js +6 -0
  7. package/dist/api-sdk-v2/DocumentValueApi.d.ts +48 -0
  8. package/dist/api-sdk-v2/DocumentValueApi.js +155 -0
  9. package/dist/api-sdk-v2/QaBatchApi.d.ts +2 -0
  10. package/dist/api-sdk-v2/QaBatchApi.js +6 -0
  11. package/dist/api-sdk-v2/QaBatchSummaryApi.d.ts +48 -0
  12. package/dist/api-sdk-v2/QaBatchSummaryApi.js +155 -0
  13. package/dist/db-sdk-v2/DocumentDb.d.ts +2 -0
  14. package/dist/db-sdk-v2/DocumentDb.js +6 -0
  15. package/dist/db-sdk-v2/DocumentValueDb.d.ts +120 -0
  16. package/dist/db-sdk-v2/DocumentValueDb.js +204 -0
  17. package/dist/db-sdk-v2/QaBatchDb.d.ts +2 -0
  18. package/dist/db-sdk-v2/QaBatchDb.js +6 -0
  19. package/dist/db-sdk-v2/QaBatchSummaryDb.d.ts +120 -0
  20. package/dist/db-sdk-v2/QaBatchSummaryDb.js +204 -0
  21. package/dist/entities-v2/Contact.d.ts +9 -1
  22. package/dist/entities-v2/Contact.js +2 -0
  23. package/dist/entities-v2/Document.d.ts +167 -2
  24. package/dist/entities-v2/Document.js +19 -1
  25. package/dist/entities-v2/DocumentProcessing.d.ts +2 -0
  26. package/dist/entities-v2/DocumentProcessing.js +2 -0
  27. package/dist/entities-v2/DocumentValue.d.ts +213 -0
  28. package/dist/entities-v2/DocumentValue.js +130 -0
  29. package/dist/entities-v2/QaBatch.d.ts +46 -1
  30. package/dist/entities-v2/QaBatch.js +25 -1
  31. package/dist/entities-v2/QaBatchSummary.d.ts +219 -0
  32. package/dist/entities-v2/QaBatchSummary.js +124 -0
  33. package/dist/entities-v2/QaReport.d.ts +17 -1
  34. package/dist/entities-v2/QaReport.js +4 -0
  35. package/dist/entities-v2/Recontract.d.ts +2 -0
  36. package/dist/entities-v2/Recontract.js +2 -0
  37. package/dist/records-v2/ContactRecord.d.ts +28 -0
  38. package/dist/records-v2/ContactRecord.js +37 -0
  39. package/package.json +1 -1
@@ -0,0 +1,213 @@
1
+ /**
2
+ * DocumentValue Entity Definition
3
+ *
4
+ * One extracted value of a document: the field, the value, where it came from (section, quote, page), the model's confidence, and its review state. Linked to the Document.
5
+ *
6
+ * @module AiModule
7
+ * @entity DocumentValue
8
+ * @schemaId 96afdaae-fb15-4a46-bb1c-67ef9509e02d
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 { DocumentProperties } from './Document';
15
+ /**
16
+ * Available types for DocumentValue records
17
+ */
18
+ export declare enum DocumentValueEntityTypes {
19
+ /** This is the default record type */
20
+ DEFAULT = "DEFAULT"
21
+ }
22
+ /**
23
+ * Valid values for DocumentValue.Kind
24
+ *
25
+ * The type of the value, from the field list.
26
+ *
27
+ * @remarks Available options:
28
+ * - `BOOLEAN` - Boolean
29
+ * - `DATE` - Date
30
+ * - `MONEY` - Money
31
+ * - `NUMBER` - Number
32
+ * - `PARTY` - Party
33
+ * - `TEXT` - Text
34
+ */
35
+ export declare enum DocumentValueKind {
36
+ BOOLEAN = "BOOLEAN",
37
+ DATE = "DATE",
38
+ MONEY = "MONEY",
39
+ NUMBER = "NUMBER",
40
+ PARTY = "PARTY",
41
+ TEXT = "TEXT"
42
+ }
43
+ /**
44
+ * Valid values for DocumentValue.ReviewState
45
+ *
46
+ * Where the value stands with a person: needs review, confirmed, corrected, or not found in the document.
47
+ *
48
+ * @remarks Available options:
49
+ * - `CONFIRMED` - Confirmed
50
+ * - `CORRECTED` - Corrected
51
+ * - `NEEDS_REVIEW` - Needs review
52
+ * - `NOT_FOUND` - Not found
53
+ */
54
+ export declare enum DocumentValueReviewState {
55
+ CONFIRMED = "CONFIRMED",
56
+ CORRECTED = "CORRECTED",
57
+ NEEDS_REVIEW = "NEEDS_REVIEW",
58
+ NOT_FOUND = "NOT_FOUND"
59
+ }
60
+ /**
61
+ * Property keys for DocumentValue
62
+ * Use these constants instead of string literals for type safety
63
+ */
64
+ export declare enum DocumentValuePropertyKeys {
65
+ /** The field name from the field list for the document type, e.g. GoverningLaw, PaymentDays. */
66
+ Field = "Field",
67
+ /** The type of the value, from the field list. */
68
+ Kind = "Kind",
69
+ /** The value as text, after any correction. Blank when the document does not state it (see ReviewState NOT_FOUND). */
70
+ Value = "Value",
71
+ /** What the model extracted, kept beside a correction. Equal to Value until a person corrects it. */
72
+ ModelValue = "ModelValue",
73
+ /** The field list the value was extracted with, e.g. NDA. */
74
+ SchemaName = "SchemaName",
75
+ /** The version of that field list. */
76
+ SchemaVersion = "SchemaVersion",
77
+ /** How sure the model was, 0 to 1. */
78
+ Confidence = "Confidence",
79
+ /** The id of the section in sections.json the value was read from. */
80
+ SectionId = "SectionId",
81
+ /** The passage, copied word for word from that section, the value rests on; checked against the stored text before the row is written. */
82
+ Quote = "Quote",
83
+ /** The page of the section. */
84
+ Page = "Page",
85
+ /** Where the value stands with a person: needs review, confirmed, corrected, or not found in the document. */
86
+ ReviewState = "ReviewState",
87
+ /** The user who confirmed or corrected the value. */
88
+ ReviewedBy = "ReviewedBy",
89
+ /** When the value was confirmed or corrected. */
90
+ ReviewedAt = "ReviewedAt"
91
+ }
92
+ /**
93
+ * Properties for DocumentValue records
94
+ *
95
+ * @see AiModule:DocumentValue
96
+ */
97
+ export interface DocumentValueProperties {
98
+ /** The field name from the field list for the document type, e.g. GoverningLaw, PaymentDays.
99
+ *
100
+ * @type {TEXT}
101
+ * @default
102
+ */
103
+ Field: string;
104
+ /** The type of the value, from the field list.
105
+ *
106
+ * @type {ENUM}
107
+ * @default
108
+ * @enum {DocumentValueKind}
109
+ */
110
+ Kind: DocumentValueKind;
111
+ /** The value as text, after any correction. Blank when the document does not state it (see ReviewState NOT_FOUND).
112
+ *
113
+ * @type {TEXT}
114
+ * @default
115
+ */
116
+ Value: string;
117
+ /** What the model extracted, kept beside a correction. Equal to Value until a person corrects it.
118
+ *
119
+ * @type {TEXT}
120
+ * @default
121
+ */
122
+ ModelValue: string;
123
+ /** The field list the value was extracted with, e.g. NDA.
124
+ *
125
+ * @type {TEXT}
126
+ * @default
127
+ */
128
+ SchemaName: string;
129
+ /** The version of that field list.
130
+ *
131
+ * @type {NUMBER}
132
+ * @default
133
+ */
134
+ SchemaVersion: number;
135
+ /** How sure the model was, 0 to 1.
136
+ *
137
+ * @type {NUMBER}
138
+ * @default
139
+ */
140
+ Confidence: number;
141
+ /** The id of the section in sections.json the value was read from.
142
+ *
143
+ * @type {TEXT}
144
+ * @default
145
+ */
146
+ SectionId: string;
147
+ /** The passage, copied word for word from that section, the value rests on; checked against the stored text before the row is written.
148
+ *
149
+ * @type {TEXT_LONG}
150
+ * @default
151
+ */
152
+ Quote: string;
153
+ /** The page of the section.
154
+ *
155
+ * @type {NUMBER}
156
+ * @default
157
+ */
158
+ Page: number;
159
+ /** Where the value stands with a person: needs review, confirmed, corrected, or not found in the document.
160
+ *
161
+ * @type {ENUM}
162
+ * @default NEEDS_REVIEW
163
+ * @enum {DocumentValueReviewState}
164
+ */
165
+ ReviewState: DocumentValueReviewState;
166
+ /** The user who confirmed or corrected the value.
167
+ *
168
+ * @type {TEXT}
169
+ * @default
170
+ */
171
+ ReviewedBy: string;
172
+ /** When the value was confirmed or corrected.
173
+ *
174
+ * @type {DATE_TIME}
175
+ * @default
176
+ */
177
+ ReviewedAt: string;
178
+ }
179
+ /**
180
+ * DocumentValue entity from AiModule
181
+ *
182
+ * One extracted value of a document: the field, the value, where it came from (section, quote, page), the model's confidence, and its review state. Linked to the Document.
183
+ *
184
+ * @module AiModule
185
+ * @entity DocumentValue
186
+ * @schemaId 96afdaae-fb15-4a46-bb1c-67ef9509e02d
187
+ * @recordPrefix DOV
188
+ * @capabilities searchable, updateable, undeletable, triggerable
189
+ */
190
+ export declare class DocumentValue extends OdinRecord<DocumentValueProperties> {
191
+ entity: 'AiModule:DocumentValue';
192
+ type: DocumentValueEntityTypes;
193
+ schemaId: '96afdaae-fb15-4a46-bb1c-67ef9509e02d';
194
+ properties: DocumentValueProperties;
195
+ /** Linked Document records (Document__DocumentValue) */
196
+ Document: OdinLink<LinkedOdinRecord<DocumentProperties>>;
197
+ }
198
+ /**
199
+ * RabbitMQ routing keys for DocumentValue events
200
+ */
201
+ export declare const ROUTING_KEY_DOCUMENT_VALUE_CREATED = "AiModule.DocumentValue.SubDbRecordCreated";
202
+ export declare const ROUTING_KEY_DOCUMENT_VALUE_UPDATED = "AiModule.DocumentValue.SubDbRecordUpdated";
203
+ export declare const ROUTING_KEY_DOCUMENT_VALUE_DELETED = "AiModule.DocumentValue.SubDbRecordDeleted";
204
+ /**
205
+ * Type-specific routing keys for DocumentValue events
206
+ * Subscribe to these for events on specific entity types only
207
+ */
208
+ /** This is the default record type created */
209
+ export declare const ROUTING_KEY_DOCUMENT_VALUE_DEFAULT_CREATED = "AiModule.DocumentValue.DEFAULT.SubDbRecordCreated";
210
+ /** This is the default record type updated */
211
+ export declare const ROUTING_KEY_DOCUMENT_VALUE_DEFAULT_UPDATED = "AiModule.DocumentValue.DEFAULT.SubDbRecordUpdated";
212
+ /** This is the default record type deleted */
213
+ export declare const ROUTING_KEY_DOCUMENT_VALUE_DEFAULT_DELETED = "AiModule.DocumentValue.DEFAULT.SubDbRecordDeleted";
@@ -0,0 +1,130 @@
1
+ "use strict";
2
+ /**
3
+ * DocumentValue Entity Definition
4
+ *
5
+ * One extracted value of a document: the field, the value, where it came from (section, quote, page), the model's confidence, and its review state. Linked to the Document.
6
+ *
7
+ * @module AiModule
8
+ * @entity DocumentValue
9
+ * @schemaId 96afdaae-fb15-4a46-bb1c-67ef9509e02d
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_DOCUMENT_VALUE_DEFAULT_DELETED = exports.ROUTING_KEY_DOCUMENT_VALUE_DEFAULT_UPDATED = exports.ROUTING_KEY_DOCUMENT_VALUE_DEFAULT_CREATED = exports.ROUTING_KEY_DOCUMENT_VALUE_DELETED = exports.ROUTING_KEY_DOCUMENT_VALUE_UPDATED = exports.ROUTING_KEY_DOCUMENT_VALUE_CREATED = exports.DocumentValue = exports.DocumentValuePropertyKeys = exports.DocumentValueReviewState = exports.DocumentValueKind = exports.DocumentValueEntityTypes = void 0;
16
+ const core_1 = require("@d19n/odin-types/dist/core");
17
+ /**
18
+ * Available types for DocumentValue records
19
+ */
20
+ var DocumentValueEntityTypes;
21
+ (function (DocumentValueEntityTypes) {
22
+ /** This is the default record type */
23
+ DocumentValueEntityTypes["DEFAULT"] = "DEFAULT";
24
+ })(DocumentValueEntityTypes = exports.DocumentValueEntityTypes || (exports.DocumentValueEntityTypes = {}));
25
+ /**
26
+ * Valid values for DocumentValue.Kind
27
+ *
28
+ * The type of the value, from the field list.
29
+ *
30
+ * @remarks Available options:
31
+ * - `BOOLEAN` - Boolean
32
+ * - `DATE` - Date
33
+ * - `MONEY` - Money
34
+ * - `NUMBER` - Number
35
+ * - `PARTY` - Party
36
+ * - `TEXT` - Text
37
+ */
38
+ var DocumentValueKind;
39
+ (function (DocumentValueKind) {
40
+ DocumentValueKind["BOOLEAN"] = "BOOLEAN";
41
+ DocumentValueKind["DATE"] = "DATE";
42
+ DocumentValueKind["MONEY"] = "MONEY";
43
+ DocumentValueKind["NUMBER"] = "NUMBER";
44
+ DocumentValueKind["PARTY"] = "PARTY";
45
+ DocumentValueKind["TEXT"] = "TEXT";
46
+ })(DocumentValueKind = exports.DocumentValueKind || (exports.DocumentValueKind = {}));
47
+ /**
48
+ * Valid values for DocumentValue.ReviewState
49
+ *
50
+ * Where the value stands with a person: needs review, confirmed, corrected, or not found in the document.
51
+ *
52
+ * @remarks Available options:
53
+ * - `CONFIRMED` - Confirmed
54
+ * - `CORRECTED` - Corrected
55
+ * - `NEEDS_REVIEW` - Needs review
56
+ * - `NOT_FOUND` - Not found
57
+ */
58
+ var DocumentValueReviewState;
59
+ (function (DocumentValueReviewState) {
60
+ DocumentValueReviewState["CONFIRMED"] = "CONFIRMED";
61
+ DocumentValueReviewState["CORRECTED"] = "CORRECTED";
62
+ DocumentValueReviewState["NEEDS_REVIEW"] = "NEEDS_REVIEW";
63
+ DocumentValueReviewState["NOT_FOUND"] = "NOT_FOUND";
64
+ })(DocumentValueReviewState = exports.DocumentValueReviewState || (exports.DocumentValueReviewState = {}));
65
+ /**
66
+ * Property keys for DocumentValue
67
+ * Use these constants instead of string literals for type safety
68
+ */
69
+ var DocumentValuePropertyKeys;
70
+ (function (DocumentValuePropertyKeys) {
71
+ /** The field name from the field list for the document type, e.g. GoverningLaw, PaymentDays. */
72
+ DocumentValuePropertyKeys["Field"] = "Field";
73
+ /** The type of the value, from the field list. */
74
+ DocumentValuePropertyKeys["Kind"] = "Kind";
75
+ /** The value as text, after any correction. Blank when the document does not state it (see ReviewState NOT_FOUND). */
76
+ DocumentValuePropertyKeys["Value"] = "Value";
77
+ /** What the model extracted, kept beside a correction. Equal to Value until a person corrects it. */
78
+ DocumentValuePropertyKeys["ModelValue"] = "ModelValue";
79
+ /** The field list the value was extracted with, e.g. NDA. */
80
+ DocumentValuePropertyKeys["SchemaName"] = "SchemaName";
81
+ /** The version of that field list. */
82
+ DocumentValuePropertyKeys["SchemaVersion"] = "SchemaVersion";
83
+ /** How sure the model was, 0 to 1. */
84
+ DocumentValuePropertyKeys["Confidence"] = "Confidence";
85
+ /** The id of the section in sections.json the value was read from. */
86
+ DocumentValuePropertyKeys["SectionId"] = "SectionId";
87
+ /** The passage, copied word for word from that section, the value rests on; checked against the stored text before the row is written. */
88
+ DocumentValuePropertyKeys["Quote"] = "Quote";
89
+ /** The page of the section. */
90
+ DocumentValuePropertyKeys["Page"] = "Page";
91
+ /** Where the value stands with a person: needs review, confirmed, corrected, or not found in the document. */
92
+ DocumentValuePropertyKeys["ReviewState"] = "ReviewState";
93
+ /** The user who confirmed or corrected the value. */
94
+ DocumentValuePropertyKeys["ReviewedBy"] = "ReviewedBy";
95
+ /** When the value was confirmed or corrected. */
96
+ DocumentValuePropertyKeys["ReviewedAt"] = "ReviewedAt";
97
+ })(DocumentValuePropertyKeys = exports.DocumentValuePropertyKeys || (exports.DocumentValuePropertyKeys = {}));
98
+ /**
99
+ * DocumentValue entity from AiModule
100
+ *
101
+ * One extracted value of a document: the field, the value, where it came from (section, quote, page), the model's confidence, and its review state. Linked to the Document.
102
+ *
103
+ * @module AiModule
104
+ * @entity DocumentValue
105
+ * @schemaId 96afdaae-fb15-4a46-bb1c-67ef9509e02d
106
+ * @recordPrefix DOV
107
+ * @capabilities searchable, updateable, undeletable, triggerable
108
+ */
109
+ class DocumentValue extends core_1.OdinRecord {
110
+ }
111
+ exports.DocumentValue = DocumentValue;
112
+ // ============================================
113
+ // RABBITMQ EVENT ROUTING KEYS
114
+ // ============================================
115
+ /**
116
+ * RabbitMQ routing keys for DocumentValue events
117
+ */
118
+ exports.ROUTING_KEY_DOCUMENT_VALUE_CREATED = 'AiModule.DocumentValue.SubDbRecordCreated';
119
+ exports.ROUTING_KEY_DOCUMENT_VALUE_UPDATED = 'AiModule.DocumentValue.SubDbRecordUpdated';
120
+ exports.ROUTING_KEY_DOCUMENT_VALUE_DELETED = 'AiModule.DocumentValue.SubDbRecordDeleted';
121
+ /**
122
+ * Type-specific routing keys for DocumentValue events
123
+ * Subscribe to these for events on specific entity types only
124
+ */
125
+ /** This is the default record type created */
126
+ exports.ROUTING_KEY_DOCUMENT_VALUE_DEFAULT_CREATED = 'AiModule.DocumentValue.DEFAULT.SubDbRecordCreated';
127
+ /** This is the default record type updated */
128
+ exports.ROUTING_KEY_DOCUMENT_VALUE_DEFAULT_UPDATED = 'AiModule.DocumentValue.DEFAULT.SubDbRecordUpdated';
129
+ /** This is the default record type deleted */
130
+ exports.ROUTING_KEY_DOCUMENT_VALUE_DEFAULT_DELETED = 'AiModule.DocumentValue.DEFAULT.SubDbRecordDeleted';
@@ -12,6 +12,7 @@
12
12
  */
13
13
  import { OdinRecord, OdinLink, LinkedOdinRecord } from '@d19n/odin-types/dist/core';
14
14
  import { QaReportProperties } from './QaReport';
15
+ import { QaBatchSummaryProperties } from './QaBatchSummary';
15
16
  /**
16
17
  * Available types for QaBatch records
17
18
  */
@@ -36,6 +37,19 @@ export declare enum QaBatchStatus {
36
37
  RUNNING = "RUNNING",
37
38
  STOPPED = "STOPPED"
38
39
  }
40
+ /**
41
+ * Valid values for QaBatch.Scope
42
+ *
43
+ * AGENT: one agent's cases. TEAM: the cases of every agent in a team, the target split equally across them.
44
+ *
45
+ * @remarks Available options:
46
+ * - `AGENT` - Agent
47
+ * - `TEAM` - Team
48
+ */
49
+ export declare enum QaBatchScope {
50
+ AGENT = "AGENT",
51
+ TEAM = "TEAM"
52
+ }
39
53
  /**
40
54
  * Property keys for QaBatch
41
55
  * Use these constants instead of string literals for type safety
@@ -76,7 +90,13 @@ export declare enum QaBatchPropertyKeys {
76
90
  /** When the runner wrote its last count. */
77
91
  FinishedAt = "FinishedAt",
78
92
  /** Why the run FAILED, when it did. */
79
- Error = "Error"
93
+ Error = "Error",
94
+ /** AGENT: one agent's cases. TEAM: the cases of every agent in a team, the target split equally across them. */
95
+ Scope = "Scope",
96
+ /** The IdentityModule:Team the run is for, when Scope is TEAM. */
97
+ TeamId = "TeamId",
98
+ /** The team's name at the time of the run. */
99
+ TeamName = "TeamName"
80
100
  }
81
101
  /**
82
102
  * Properties for QaBatch records
@@ -193,6 +213,25 @@ export interface QaBatchProperties {
193
213
  * @default
194
214
  */
195
215
  Error: string;
216
+ /** AGENT: one agent's cases. TEAM: the cases of every agent in a team, the target split equally across them.
217
+ *
218
+ * @type {ENUM}
219
+ * @default AGENT
220
+ * @enum {QaBatchScope}
221
+ */
222
+ Scope: QaBatchScope;
223
+ /** The IdentityModule:Team the run is for, when Scope is TEAM.
224
+ *
225
+ * @type {TEXT}
226
+ * @default
227
+ */
228
+ TeamId: string;
229
+ /** The team's name at the time of the run.
230
+ *
231
+ * @type {TEXT}
232
+ * @default
233
+ */
234
+ TeamName: string;
196
235
  }
197
236
  /**
198
237
  * QaBatch entity from SupportModule
@@ -212,6 +251,8 @@ export declare class QaBatch extends OdinRecord<QaBatchProperties> {
212
251
  properties: QaBatchProperties;
213
252
  /** Linked QaReport records (QaBatch__Report) */
214
253
  QaReport: OdinLink<LinkedOdinRecord<QaReportProperties>>;
254
+ /** Linked QaBatchSummary records (QaBatch__Summary) */
255
+ QaBatchSummary: OdinLink<LinkedOdinRecord<QaBatchSummaryProperties>>;
215
256
  }
216
257
  /**
217
258
  * RabbitMQ routing keys for QaBatch events
@@ -233,3 +274,7 @@ export declare const ROUTING_KEY_QA_BATCH_DEFAULT_DELETED = "SupportModule.QaBat
233
274
  export declare const ROUTING_KEY_LINK_QA_BATCH_REPORT_CREATED = "SupportModule.QaBatch.QaReport.SubDbRecordAssociationCreated";
234
275
  /** Event: QaBatch__Report link deleted */
235
276
  export declare const ROUTING_KEY_LINK_QA_BATCH_REPORT_DELETED = "SupportModule.QaBatch.QaReport.SubDbRecordAssociationDeleted";
277
+ /** Event: QaBatch__Summary link created */
278
+ export declare const ROUTING_KEY_LINK_QA_BATCH_SUMMARY_CREATED = "SupportModule.QaBatch.QaBatchSummary.SubDbRecordAssociationCreated";
279
+ /** Event: QaBatch__Summary link deleted */
280
+ export declare const ROUTING_KEY_LINK_QA_BATCH_SUMMARY_DELETED = "SupportModule.QaBatch.QaBatchSummary.SubDbRecordAssociationDeleted";
@@ -12,7 +12,7 @@
12
12
  * Generated from Odin schema definition
13
13
  */
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.ROUTING_KEY_LINK_QA_BATCH_REPORT_DELETED = exports.ROUTING_KEY_LINK_QA_BATCH_REPORT_CREATED = exports.ROUTING_KEY_QA_BATCH_DEFAULT_DELETED = exports.ROUTING_KEY_QA_BATCH_DEFAULT_UPDATED = exports.ROUTING_KEY_QA_BATCH_DEFAULT_CREATED = exports.ROUTING_KEY_QA_BATCH_DELETED = exports.ROUTING_KEY_QA_BATCH_UPDATED = exports.ROUTING_KEY_QA_BATCH_CREATED = exports.QaBatch = exports.QaBatchPropertyKeys = exports.QaBatchStatus = exports.QaBatchEntityTypes = void 0;
15
+ exports.ROUTING_KEY_LINK_QA_BATCH_SUMMARY_DELETED = exports.ROUTING_KEY_LINK_QA_BATCH_SUMMARY_CREATED = exports.ROUTING_KEY_LINK_QA_BATCH_REPORT_DELETED = exports.ROUTING_KEY_LINK_QA_BATCH_REPORT_CREATED = exports.ROUTING_KEY_QA_BATCH_DEFAULT_DELETED = exports.ROUTING_KEY_QA_BATCH_DEFAULT_UPDATED = exports.ROUTING_KEY_QA_BATCH_DEFAULT_CREATED = exports.ROUTING_KEY_QA_BATCH_DELETED = exports.ROUTING_KEY_QA_BATCH_UPDATED = exports.ROUTING_KEY_QA_BATCH_CREATED = exports.QaBatch = exports.QaBatchPropertyKeys = exports.QaBatchScope = exports.QaBatchStatus = exports.QaBatchEntityTypes = void 0;
16
16
  const core_1 = require("@d19n/odin-types/dist/core");
17
17
  /**
18
18
  * Available types for QaBatch records
@@ -40,6 +40,20 @@ var QaBatchStatus;
40
40
  QaBatchStatus["RUNNING"] = "RUNNING";
41
41
  QaBatchStatus["STOPPED"] = "STOPPED";
42
42
  })(QaBatchStatus = exports.QaBatchStatus || (exports.QaBatchStatus = {}));
43
+ /**
44
+ * Valid values for QaBatch.Scope
45
+ *
46
+ * AGENT: one agent's cases. TEAM: the cases of every agent in a team, the target split equally across them.
47
+ *
48
+ * @remarks Available options:
49
+ * - `AGENT` - Agent
50
+ * - `TEAM` - Team
51
+ */
52
+ var QaBatchScope;
53
+ (function (QaBatchScope) {
54
+ QaBatchScope["AGENT"] = "AGENT";
55
+ QaBatchScope["TEAM"] = "TEAM";
56
+ })(QaBatchScope = exports.QaBatchScope || (exports.QaBatchScope = {}));
43
57
  /**
44
58
  * Property keys for QaBatch
45
59
  * Use these constants instead of string literals for type safety
@@ -82,6 +96,12 @@ var QaBatchPropertyKeys;
82
96
  QaBatchPropertyKeys["FinishedAt"] = "FinishedAt";
83
97
  /** Why the run FAILED, when it did. */
84
98
  QaBatchPropertyKeys["Error"] = "Error";
99
+ /** AGENT: one agent's cases. TEAM: the cases of every agent in a team, the target split equally across them. */
100
+ QaBatchPropertyKeys["Scope"] = "Scope";
101
+ /** The IdentityModule:Team the run is for, when Scope is TEAM. */
102
+ QaBatchPropertyKeys["TeamId"] = "TeamId";
103
+ /** The team's name at the time of the run. */
104
+ QaBatchPropertyKeys["TeamName"] = "TeamName";
85
105
  })(QaBatchPropertyKeys = exports.QaBatchPropertyKeys || (exports.QaBatchPropertyKeys = {}));
86
106
  /**
87
107
  * QaBatch entity from SupportModule
@@ -120,3 +140,7 @@ exports.ROUTING_KEY_QA_BATCH_DEFAULT_DELETED = 'SupportModule.QaBatch.DEFAULT.Su
120
140
  exports.ROUTING_KEY_LINK_QA_BATCH_REPORT_CREATED = 'SupportModule.QaBatch.QaReport.SubDbRecordAssociationCreated';
121
141
  /** Event: QaBatch__Report link deleted */
122
142
  exports.ROUTING_KEY_LINK_QA_BATCH_REPORT_DELETED = 'SupportModule.QaBatch.QaReport.SubDbRecordAssociationDeleted';
143
+ /** Event: QaBatch__Summary link created */
144
+ exports.ROUTING_KEY_LINK_QA_BATCH_SUMMARY_CREATED = 'SupportModule.QaBatch.QaBatchSummary.SubDbRecordAssociationCreated';
145
+ /** Event: QaBatch__Summary link deleted */
146
+ exports.ROUTING_KEY_LINK_QA_BATCH_SUMMARY_DELETED = 'SupportModule.QaBatch.QaBatchSummary.SubDbRecordAssociationDeleted';