@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.
- package/README.md +5 -2
- package/dist/actions-v2/SetContactYouFibreTvInterestDto.d.ts +72 -0
- package/dist/actions-v2/SetContactYouFibreTvInterestDto.js +56 -0
- package/dist/actions-v2/UpdateWorkOrderWithdrawEquipmentChargeDto.d.ts +5 -5
- package/dist/api-sdk-v2/DocumentApi.d.ts +2 -0
- package/dist/api-sdk-v2/DocumentApi.js +6 -0
- package/dist/api-sdk-v2/DocumentValueApi.d.ts +48 -0
- package/dist/api-sdk-v2/DocumentValueApi.js +155 -0
- package/dist/api-sdk-v2/QaBatchApi.d.ts +2 -0
- package/dist/api-sdk-v2/QaBatchApi.js +6 -0
- package/dist/api-sdk-v2/QaBatchSummaryApi.d.ts +48 -0
- package/dist/api-sdk-v2/QaBatchSummaryApi.js +155 -0
- package/dist/db-sdk-v2/DocumentDb.d.ts +2 -0
- package/dist/db-sdk-v2/DocumentDb.js +6 -0
- package/dist/db-sdk-v2/DocumentValueDb.d.ts +120 -0
- package/dist/db-sdk-v2/DocumentValueDb.js +204 -0
- package/dist/db-sdk-v2/QaBatchDb.d.ts +2 -0
- package/dist/db-sdk-v2/QaBatchDb.js +6 -0
- package/dist/db-sdk-v2/QaBatchSummaryDb.d.ts +120 -0
- package/dist/db-sdk-v2/QaBatchSummaryDb.js +204 -0
- package/dist/entities-v2/Contact.d.ts +9 -1
- package/dist/entities-v2/Contact.js +2 -0
- package/dist/entities-v2/Document.d.ts +167 -2
- package/dist/entities-v2/Document.js +19 -1
- package/dist/entities-v2/DocumentProcessing.d.ts +2 -0
- package/dist/entities-v2/DocumentProcessing.js +2 -0
- package/dist/entities-v2/DocumentValue.d.ts +213 -0
- package/dist/entities-v2/DocumentValue.js +130 -0
- package/dist/entities-v2/QaBatch.d.ts +46 -1
- package/dist/entities-v2/QaBatch.js +25 -1
- package/dist/entities-v2/QaBatchSummary.d.ts +219 -0
- package/dist/entities-v2/QaBatchSummary.js +124 -0
- package/dist/entities-v2/QaReport.d.ts +17 -1
- package/dist/entities-v2/QaReport.js +4 -0
- package/dist/entities-v2/Recontract.d.ts +2 -0
- package/dist/entities-v2/Recontract.js +2 -0
- package/dist/records-v2/ContactRecord.d.ts +28 -0
- package/dist/records-v2/ContactRecord.js +37 -0
- package/package.json +1 -1
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.QaBatchSummaryDb = void 0;
|
|
13
|
+
const db_provider_1 = require("@d19n/odin-sdk-generator/dist/db.provider");
|
|
14
|
+
const db_record_link_manager_1 = require("@d19n/odin-sdk-generator/dist/db.record.link.manager");
|
|
15
|
+
/**
|
|
16
|
+
* @deprecated Use OdinDbClient.
|
|
17
|
+
*
|
|
18
|
+
* Migration:
|
|
19
|
+
* - Old: new QaBatchSummaryApi(authParams).get(id)
|
|
20
|
+
* - New: new odin.qabatchsummary.get(id)
|
|
21
|
+
*
|
|
22
|
+
* The new OdinDbClient returns typed record wrappers with action methods.
|
|
23
|
+
*
|
|
24
|
+
* Supports separate query options and provider options:
|
|
25
|
+
* - Constructor level: new QaBatchSummaryDb(principal, dbService, { omitPermissionsCheck: true })
|
|
26
|
+
* - Method level: await db.getByPrimaryKey(id, { entities: [] }, { omitPermissionsCheck: true })
|
|
27
|
+
*/
|
|
28
|
+
class QaBatchSummaryDb extends db_provider_1.DbProvider {
|
|
29
|
+
constructor(principal, dbService, defaultOptions) {
|
|
30
|
+
super(principal, dbService, defaultOptions);
|
|
31
|
+
this.moduleName = 'SupportModule';
|
|
32
|
+
this.entityName = 'QaBatchSummary';
|
|
33
|
+
this.principal = principal;
|
|
34
|
+
this.dbService = dbService;
|
|
35
|
+
// Link managers are lazy-loaded on first access
|
|
36
|
+
}
|
|
37
|
+
// ============================================
|
|
38
|
+
// LAZY-LOADED LINK MANAGERS (Public Getters)
|
|
39
|
+
// ============================================
|
|
40
|
+
// Usage remains identical: db.address.list(recordId)
|
|
41
|
+
get qabatch() {
|
|
42
|
+
if (!this._qabatch) {
|
|
43
|
+
this._qabatch = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'SupportModule:QaBatchSummary', 'SupportModule:QaBatch', 'QaBatch__Summary');
|
|
44
|
+
}
|
|
45
|
+
return this._qabatch;
|
|
46
|
+
}
|
|
47
|
+
// ============================================
|
|
48
|
+
// STANDARD METHODS
|
|
49
|
+
// ============================================
|
|
50
|
+
// Methods support separate query options and provider options for clean API
|
|
51
|
+
setRecord(sourceRecord) {
|
|
52
|
+
this.sourceRecord = sourceRecord;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Search records with manual pagination control
|
|
56
|
+
* @param params - Search parameters
|
|
57
|
+
* @param providerOptions - Provider options (HOW: omitPermissionsCheck)
|
|
58
|
+
*/
|
|
59
|
+
searchRecords(params, providerOptions) {
|
|
60
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
61
|
+
return yield this._searchRecords(this.moduleName, this.entityName, params, providerOptions);
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Search all records with automatic pagination
|
|
66
|
+
* @param params - Search parameters
|
|
67
|
+
* @param providerOptions - Provider options (HOW: omitPermissionsCheck)
|
|
68
|
+
*/
|
|
69
|
+
searchAllRecordsAndPaginate(params, providerOptions) {
|
|
70
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
71
|
+
return yield this._searchAllRecordsAndPaginate(this.moduleName, this.entityName, params, 0, providerOptions);
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Get a single record by primary key
|
|
76
|
+
* @param qaBatchSummaryId - Record ID
|
|
77
|
+
* @param queryOptions - Query options (WHAT: entities to include)
|
|
78
|
+
* @param providerOptions - Provider options (HOW: omitPermissionsCheck)
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* // Simple get
|
|
82
|
+
* const record = await db.getByPrimaryKey(id);
|
|
83
|
+
*
|
|
84
|
+
* // With related entities
|
|
85
|
+
* const record = await db.getByPrimaryKey(id, { entities: ['InvoiceItem', 'Transaction'] });
|
|
86
|
+
*
|
|
87
|
+
* // With permissions bypass
|
|
88
|
+
* const record = await db.getByPrimaryKey(id, {}, { omitPermissionsCheck: true });
|
|
89
|
+
*
|
|
90
|
+
* // Both options
|
|
91
|
+
* const record = await db.getByPrimaryKey(id, { entities: ['Invoice'] }, { omitPermissionsCheck: true });
|
|
92
|
+
*/
|
|
93
|
+
getByPrimaryKey(qaBatchSummaryId, queryOptions, providerOptions) {
|
|
94
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
95
|
+
const res = yield this._getByPrimaryKey(this.moduleName, this.entityName, qaBatchSummaryId, queryOptions, providerOptions);
|
|
96
|
+
if (res)
|
|
97
|
+
this.setRecord(res);
|
|
98
|
+
return res;
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Get multiple records by primary keys
|
|
103
|
+
* @param qaBatchSummaryIds - Array of record IDs
|
|
104
|
+
* @param queryOptions - Query options (WHAT: entities to include)
|
|
105
|
+
* @param providerOptions - Provider options (HOW: omitPermissionsCheck)
|
|
106
|
+
*/
|
|
107
|
+
getManyByPrimaryKey(qaBatchSummaryIds, queryOptions, providerOptions) {
|
|
108
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
109
|
+
return yield this._getManyByPrimaryKey(this.moduleName, this.entityName, qaBatchSummaryIds, queryOptions, providerOptions);
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* Upsert a single record
|
|
114
|
+
* @param upsertDto - Record to upsert
|
|
115
|
+
* @param providerOptions - Provider options (HOW: omitPermissionsCheck)
|
|
116
|
+
*/
|
|
117
|
+
upsert(upsertDto, providerOptions) {
|
|
118
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
119
|
+
const res = yield this._upsert(this.moduleName, this.entityName, [upsertDto], providerOptions);
|
|
120
|
+
return res[0];
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Upsert multiple records
|
|
125
|
+
* @param upsertDtos - Records to upsert
|
|
126
|
+
* @param providerOptions - Provider options (HOW: omitPermissionsCheck)
|
|
127
|
+
*/
|
|
128
|
+
upsertMany(upsertDtos, providerOptions) {
|
|
129
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
130
|
+
return yield this._upsert(this.moduleName, this.entityName, upsertDtos, providerOptions);
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Update a single record
|
|
135
|
+
* @param updateDto - Record to update
|
|
136
|
+
* @param providerOptions - Provider options (HOW: omitPermissionsCheck)
|
|
137
|
+
*/
|
|
138
|
+
update(updateDto, providerOptions) {
|
|
139
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
140
|
+
const res = yield this._update(this.moduleName, this.entityName, [updateDto], providerOptions);
|
|
141
|
+
return res[0];
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* Update multiple records
|
|
146
|
+
* @param updateDtos - Records to update
|
|
147
|
+
* @param providerOptions - Provider options (HOW: omitPermissionsCheck)
|
|
148
|
+
*/
|
|
149
|
+
updateMany(updateDtos, providerOptions) {
|
|
150
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
151
|
+
return yield this._update(this.moduleName, this.entityName, updateDtos, providerOptions);
|
|
152
|
+
});
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Delete one or many records
|
|
156
|
+
* @param qaBatchSummaryIds - Record IDs to delete
|
|
157
|
+
* @param providerOptions - Provider options (HOW: omitPermissionsCheck)
|
|
158
|
+
*/
|
|
159
|
+
delete(qaBatchSummaryIds, providerOptions) {
|
|
160
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
161
|
+
return yield this._delete(this.moduleName, this.entityName, qaBatchSummaryIds, providerOptions);
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* Restore one or many deleted records
|
|
166
|
+
* @param qaBatchSummaryIds - Record IDs to restore
|
|
167
|
+
* @param providerOptions - Provider options (HOW: omitPermissionsCheck)
|
|
168
|
+
*/
|
|
169
|
+
restore(qaBatchSummaryIds, providerOptions) {
|
|
170
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
171
|
+
return yield this._restore(this.moduleName, this.entityName, qaBatchSummaryIds, providerOptions);
|
|
172
|
+
});
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* Apply an action to a record
|
|
176
|
+
* @param actionName - The action key
|
|
177
|
+
* @param dto - The action DTO
|
|
178
|
+
* @param providerOptions - Provider options (HOW: omitPermissionsCheck)
|
|
179
|
+
*/
|
|
180
|
+
applyAction(actionName, dto, providerOptions) {
|
|
181
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
182
|
+
return yield this._applyAction(this.moduleName, this.entityName, dto, providerOptions);
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* Get version history for the current source record
|
|
187
|
+
* @param providerOptions - Provider options (HOW: omitPermissionsCheck)
|
|
188
|
+
*/
|
|
189
|
+
getVersions(providerOptions) {
|
|
190
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
191
|
+
return yield this._getVersions(this.moduleName, this.entityName, this.sourceRecord.id, providerOptions);
|
|
192
|
+
});
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* Get revision timeline for the current source record
|
|
196
|
+
* @param providerOptions - Provider options (HOW: omitPermissionsCheck)
|
|
197
|
+
*/
|
|
198
|
+
getRevisionTimeline(providerOptions) {
|
|
199
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
200
|
+
return yield this._getRevisionTimeline(this.moduleName, this.entityName, this.sourceRecord.id, providerOptions);
|
|
201
|
+
});
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
exports.QaBatchSummaryDb = QaBatchSummaryDb;
|
|
@@ -425,7 +425,9 @@ export declare enum ContactPropertyKeys {
|
|
|
425
425
|
/** When AppBiometricLoginStatus last changed (PORTAPP-3345). */
|
|
426
426
|
AppBiometricLoginStatusDate = "AppBiometricLoginStatusDate",
|
|
427
427
|
/** Every platform the customer has used the app on. A platform is added when the app first reports it and is never removed. Empty until the app reports one (PORTAPP-3483). */
|
|
428
|
-
AppDevicePlatforms = "AppDevicePlatforms"
|
|
428
|
+
AppDevicePlatforms = "AppDevicePlatforms",
|
|
429
|
+
/** Timestamp of when this contact expressed interest in the TV product. Set by SetContactYouFibreTvInterest (CORE-1523), called from the customer-portal endpoint (PORTAPP-3551). */
|
|
430
|
+
YouFibreTvInterest = "YouFibreTvInterest"
|
|
429
431
|
}
|
|
430
432
|
/**
|
|
431
433
|
* Properties for Contact records
|
|
@@ -828,6 +830,12 @@ export interface ContactProperties {
|
|
|
828
830
|
* @hidden This field is hidden in the UI
|
|
829
831
|
*/
|
|
830
832
|
AppDevicePlatforms: string;
|
|
833
|
+
/** Timestamp of when this contact expressed interest in the TV product. Set by SetContactYouFibreTvInterest (CORE-1523), called from the customer-portal endpoint (PORTAPP-3551).
|
|
834
|
+
*
|
|
835
|
+
* @type {DATE_TIME}
|
|
836
|
+
* @default
|
|
837
|
+
*/
|
|
838
|
+
YouFibreTvInterest: string;
|
|
831
839
|
}
|
|
832
840
|
/**
|
|
833
841
|
* Contact entity from CrmModule
|
|
@@ -411,6 +411,8 @@ var ContactPropertyKeys;
|
|
|
411
411
|
ContactPropertyKeys["AppBiometricLoginStatusDate"] = "AppBiometricLoginStatusDate";
|
|
412
412
|
/** Every platform the customer has used the app on. A platform is added when the app first reports it and is never removed. Empty until the app reports one (PORTAPP-3483). */
|
|
413
413
|
ContactPropertyKeys["AppDevicePlatforms"] = "AppDevicePlatforms";
|
|
414
|
+
/** Timestamp of when this contact expressed interest in the TV product. Set by SetContactYouFibreTvInterest (CORE-1523), called from the customer-portal endpoint (PORTAPP-3551). */
|
|
415
|
+
ContactPropertyKeys["YouFibreTvInterest"] = "YouFibreTvInterest";
|
|
414
416
|
})(ContactPropertyKeys = exports.ContactPropertyKeys || (exports.ContactPropertyKeys = {}));
|
|
415
417
|
/**
|
|
416
418
|
* Contact entity from CrmModule
|
|
@@ -14,6 +14,7 @@ import { OdinRecord, OdinLink, LinkedOdinRecord } from '@d19n/odin-types/dist/co
|
|
|
14
14
|
import { FileProperties } from './File';
|
|
15
15
|
import { DocumentProcessingProperties } from './DocumentProcessing';
|
|
16
16
|
import { ContractBuyOutProperties } from './ContractBuyOut';
|
|
17
|
+
import { DocumentValueProperties } from './DocumentValue';
|
|
17
18
|
/**
|
|
18
19
|
* Available types for Document records
|
|
19
20
|
*/
|
|
@@ -46,13 +47,15 @@ export declare enum DocumentEntityTypes {
|
|
|
46
47
|
* - `HTML`
|
|
47
48
|
* - `IMAGE` - Image
|
|
48
49
|
* - `PDF`
|
|
50
|
+
* - `WORD` - Word
|
|
49
51
|
*/
|
|
50
52
|
export declare enum DocumentFormat {
|
|
51
53
|
EMAIL = "EMAIL",
|
|
52
54
|
FORM_WITH_PHOTOS = "FORM_WITH_PHOTOS",
|
|
53
55
|
HTML = "HTML",
|
|
54
56
|
IMAGE = "IMAGE",
|
|
55
|
-
PDF = "PDF"
|
|
57
|
+
PDF = "PDF",
|
|
58
|
+
WORD = "WORD"
|
|
56
59
|
}
|
|
57
60
|
/**
|
|
58
61
|
* Valid values for Document.SubmittedVia
|
|
@@ -82,6 +85,8 @@ export declare enum DocumentSubmittedVia {
|
|
|
82
85
|
*
|
|
83
86
|
* @remarks Available options:
|
|
84
87
|
* - `CATALOGUED` - Catalogued
|
|
88
|
+
* - `CLASSIFIED` - Classified
|
|
89
|
+
* - `CLASSIFY_FAILED` - Classify failed
|
|
85
90
|
* - `DELETED` - Deleted
|
|
86
91
|
* - `DESCRIBED` - Described
|
|
87
92
|
* - `DESCRIBE_FAILED` - Describe failed
|
|
@@ -90,10 +95,13 @@ export declare enum DocumentSubmittedVia {
|
|
|
90
95
|
* - `EMBED_FAILED` - Embed failed
|
|
91
96
|
* - `READ` - Read
|
|
92
97
|
* - `READ_FAILED` - Read failed
|
|
98
|
+
* - `READ_PENDING` - Read pending
|
|
93
99
|
* - `READY` - Ready
|
|
94
100
|
*/
|
|
95
101
|
export declare enum DocumentCatalogStatus {
|
|
96
102
|
CATALOGUED = "CATALOGUED",
|
|
103
|
+
CLASSIFIED = "CLASSIFIED",
|
|
104
|
+
CLASSIFY_FAILED = "CLASSIFY_FAILED",
|
|
97
105
|
DELETED = "DELETED",
|
|
98
106
|
DESCRIBED = "DESCRIBED",
|
|
99
107
|
DESCRIBE_FAILED = "DESCRIBE_FAILED",
|
|
@@ -102,6 +110,7 @@ export declare enum DocumentCatalogStatus {
|
|
|
102
110
|
EMBED_FAILED = "EMBED_FAILED",
|
|
103
111
|
READ = "READ",
|
|
104
112
|
READ_FAILED = "READ_FAILED",
|
|
113
|
+
READ_PENDING = "READ_PENDING",
|
|
105
114
|
READY = "READY"
|
|
106
115
|
}
|
|
107
116
|
/**
|
|
@@ -189,7 +198,13 @@ export declare enum DocumentPropertyKeys {
|
|
|
189
198
|
/** The document's folder in the org files bucket (document-intelligence/<documentId>/), holding sections, fields, vectors and chat history. */
|
|
190
199
|
FolderKey = "FolderKey",
|
|
191
200
|
/** How many sections the read step produced; equals the number of vectors. */
|
|
192
|
-
SectionCount = "SectionCount"
|
|
201
|
+
SectionCount = "SectionCount",
|
|
202
|
+
/** The document type the model chose from the registry (CONTRACT, CORPORATE_DOCUMENT). The uploader's choice is the record type and is never changed by this. */
|
|
203
|
+
ClassifiedType = "ClassifiedType",
|
|
204
|
+
/** The sub-type the model chose from the registry (NDA, SUPPLY_AGREEMENT, ARTICLES_OF_ASSOCIATION, OTHER). The uploader's choice is SubType and is never changed by this. */
|
|
205
|
+
ClassifiedSubType = "ClassifiedSubType",
|
|
206
|
+
/** How sure the model was of its classification, 0 to 1. */
|
|
207
|
+
ClassificationConfidence = "ClassificationConfidence"
|
|
193
208
|
}
|
|
194
209
|
/**
|
|
195
210
|
* Properties for Document records
|
|
@@ -399,6 +414,24 @@ export interface DocumentProperties {
|
|
|
399
414
|
* @default
|
|
400
415
|
*/
|
|
401
416
|
SectionCount: number;
|
|
417
|
+
/** The document type the model chose from the registry (CONTRACT, CORPORATE_DOCUMENT). The uploader's choice is the record type and is never changed by this.
|
|
418
|
+
*
|
|
419
|
+
* @type {TEXT}
|
|
420
|
+
* @default
|
|
421
|
+
*/
|
|
422
|
+
ClassifiedType: string;
|
|
423
|
+
/** The sub-type the model chose from the registry (NDA, SUPPLY_AGREEMENT, ARTICLES_OF_ASSOCIATION, OTHER). The uploader's choice is SubType and is never changed by this.
|
|
424
|
+
*
|
|
425
|
+
* @type {TEXT}
|
|
426
|
+
* @default
|
|
427
|
+
*/
|
|
428
|
+
ClassifiedSubType: string;
|
|
429
|
+
/** How sure the model was of its classification, 0 to 1.
|
|
430
|
+
*
|
|
431
|
+
* @type {NUMBER}
|
|
432
|
+
* @default
|
|
433
|
+
*/
|
|
434
|
+
ClassificationConfidence: number;
|
|
402
435
|
}
|
|
403
436
|
/**
|
|
404
437
|
* Properties for CONTRACT Document records
|
|
@@ -608,6 +641,24 @@ export interface ContractDocumentProperties {
|
|
|
608
641
|
* @default
|
|
609
642
|
*/
|
|
610
643
|
SectionCount: number;
|
|
644
|
+
/** The document type the model chose from the registry (CONTRACT, CORPORATE_DOCUMENT). The uploader's choice is the record type and is never changed by this.
|
|
645
|
+
*
|
|
646
|
+
* @type {TEXT}
|
|
647
|
+
* @default
|
|
648
|
+
*/
|
|
649
|
+
ClassifiedType: string;
|
|
650
|
+
/** The sub-type the model chose from the registry (NDA, SUPPLY_AGREEMENT, ARTICLES_OF_ASSOCIATION, OTHER). The uploader's choice is SubType and is never changed by this.
|
|
651
|
+
*
|
|
652
|
+
* @type {TEXT}
|
|
653
|
+
* @default
|
|
654
|
+
*/
|
|
655
|
+
ClassifiedSubType: string;
|
|
656
|
+
/** How sure the model was of its classification, 0 to 1.
|
|
657
|
+
*
|
|
658
|
+
* @type {NUMBER}
|
|
659
|
+
* @default
|
|
660
|
+
*/
|
|
661
|
+
ClassificationConfidence: number;
|
|
611
662
|
}
|
|
612
663
|
/**
|
|
613
664
|
* Properties for CONTRACT_BUYOUT Document records
|
|
@@ -817,6 +868,24 @@ export interface ContractBuyoutDocumentProperties {
|
|
|
817
868
|
* @default
|
|
818
869
|
*/
|
|
819
870
|
SectionCount: number;
|
|
871
|
+
/** The document type the model chose from the registry (CONTRACT, CORPORATE_DOCUMENT). The uploader's choice is the record type and is never changed by this.
|
|
872
|
+
*
|
|
873
|
+
* @type {TEXT}
|
|
874
|
+
* @default
|
|
875
|
+
*/
|
|
876
|
+
ClassifiedType: string;
|
|
877
|
+
/** The sub-type the model chose from the registry (NDA, SUPPLY_AGREEMENT, ARTICLES_OF_ASSOCIATION, OTHER). The uploader's choice is SubType and is never changed by this.
|
|
878
|
+
*
|
|
879
|
+
* @type {TEXT}
|
|
880
|
+
* @default
|
|
881
|
+
*/
|
|
882
|
+
ClassifiedSubType: string;
|
|
883
|
+
/** How sure the model was of its classification, 0 to 1.
|
|
884
|
+
*
|
|
885
|
+
* @type {NUMBER}
|
|
886
|
+
* @default
|
|
887
|
+
*/
|
|
888
|
+
ClassificationConfidence: number;
|
|
820
889
|
}
|
|
821
890
|
/**
|
|
822
891
|
* Properties for CORPORATE_DOCUMENT Document records
|
|
@@ -1026,6 +1095,24 @@ export interface CorporateDocumentDocumentProperties {
|
|
|
1026
1095
|
* @default
|
|
1027
1096
|
*/
|
|
1028
1097
|
SectionCount: number;
|
|
1098
|
+
/** The document type the model chose from the registry (CONTRACT, CORPORATE_DOCUMENT). The uploader's choice is the record type and is never changed by this.
|
|
1099
|
+
*
|
|
1100
|
+
* @type {TEXT}
|
|
1101
|
+
* @default
|
|
1102
|
+
*/
|
|
1103
|
+
ClassifiedType: string;
|
|
1104
|
+
/** The sub-type the model chose from the registry (NDA, SUPPLY_AGREEMENT, ARTICLES_OF_ASSOCIATION, OTHER). The uploader's choice is SubType and is never changed by this.
|
|
1105
|
+
*
|
|
1106
|
+
* @type {TEXT}
|
|
1107
|
+
* @default
|
|
1108
|
+
*/
|
|
1109
|
+
ClassifiedSubType: string;
|
|
1110
|
+
/** How sure the model was of its classification, 0 to 1.
|
|
1111
|
+
*
|
|
1112
|
+
* @type {NUMBER}
|
|
1113
|
+
* @default
|
|
1114
|
+
*/
|
|
1115
|
+
ClassificationConfidence: number;
|
|
1029
1116
|
}
|
|
1030
1117
|
/**
|
|
1031
1118
|
* Properties for EMAIL_ATTACHMENT Document records
|
|
@@ -1235,6 +1322,24 @@ export interface EmailAttachmentDocumentProperties {
|
|
|
1235
1322
|
* @default
|
|
1236
1323
|
*/
|
|
1237
1324
|
SectionCount: number;
|
|
1325
|
+
/** The document type the model chose from the registry (CONTRACT, CORPORATE_DOCUMENT). The uploader's choice is the record type and is never changed by this.
|
|
1326
|
+
*
|
|
1327
|
+
* @type {TEXT}
|
|
1328
|
+
* @default
|
|
1329
|
+
*/
|
|
1330
|
+
ClassifiedType: string;
|
|
1331
|
+
/** The sub-type the model chose from the registry (NDA, SUPPLY_AGREEMENT, ARTICLES_OF_ASSOCIATION, OTHER). The uploader's choice is SubType and is never changed by this.
|
|
1332
|
+
*
|
|
1333
|
+
* @type {TEXT}
|
|
1334
|
+
* @default
|
|
1335
|
+
*/
|
|
1336
|
+
ClassifiedSubType: string;
|
|
1337
|
+
/** How sure the model was of its classification, 0 to 1.
|
|
1338
|
+
*
|
|
1339
|
+
* @type {NUMBER}
|
|
1340
|
+
* @default
|
|
1341
|
+
*/
|
|
1342
|
+
ClassificationConfidence: number;
|
|
1238
1343
|
}
|
|
1239
1344
|
/**
|
|
1240
1345
|
* Properties for INVOICE Document records
|
|
@@ -1444,6 +1549,24 @@ export interface InvoiceDocumentProperties {
|
|
|
1444
1549
|
* @default
|
|
1445
1550
|
*/
|
|
1446
1551
|
SectionCount: number;
|
|
1552
|
+
/** The document type the model chose from the registry (CONTRACT, CORPORATE_DOCUMENT). The uploader's choice is the record type and is never changed by this.
|
|
1553
|
+
*
|
|
1554
|
+
* @type {TEXT}
|
|
1555
|
+
* @default
|
|
1556
|
+
*/
|
|
1557
|
+
ClassifiedType: string;
|
|
1558
|
+
/** The sub-type the model chose from the registry (NDA, SUPPLY_AGREEMENT, ARTICLES_OF_ASSOCIATION, OTHER). The uploader's choice is SubType and is never changed by this.
|
|
1559
|
+
*
|
|
1560
|
+
* @type {TEXT}
|
|
1561
|
+
* @default
|
|
1562
|
+
*/
|
|
1563
|
+
ClassifiedSubType: string;
|
|
1564
|
+
/** How sure the model was of its classification, 0 to 1.
|
|
1565
|
+
*
|
|
1566
|
+
* @type {NUMBER}
|
|
1567
|
+
* @default
|
|
1568
|
+
*/
|
|
1569
|
+
ClassificationConfidence: number;
|
|
1447
1570
|
}
|
|
1448
1571
|
/**
|
|
1449
1572
|
* Properties for OTHER Document records
|
|
@@ -1653,6 +1776,24 @@ export interface OtherDocumentProperties {
|
|
|
1653
1776
|
* @default
|
|
1654
1777
|
*/
|
|
1655
1778
|
SectionCount: number;
|
|
1779
|
+
/** The document type the model chose from the registry (CONTRACT, CORPORATE_DOCUMENT). The uploader's choice is the record type and is never changed by this.
|
|
1780
|
+
*
|
|
1781
|
+
* @type {TEXT}
|
|
1782
|
+
* @default
|
|
1783
|
+
*/
|
|
1784
|
+
ClassifiedType: string;
|
|
1785
|
+
/** The sub-type the model chose from the registry (NDA, SUPPLY_AGREEMENT, ARTICLES_OF_ASSOCIATION, OTHER). The uploader's choice is SubType and is never changed by this.
|
|
1786
|
+
*
|
|
1787
|
+
* @type {TEXT}
|
|
1788
|
+
* @default
|
|
1789
|
+
*/
|
|
1790
|
+
ClassifiedSubType: string;
|
|
1791
|
+
/** How sure the model was of its classification, 0 to 1.
|
|
1792
|
+
*
|
|
1793
|
+
* @type {NUMBER}
|
|
1794
|
+
* @default
|
|
1795
|
+
*/
|
|
1796
|
+
ClassificationConfidence: number;
|
|
1656
1797
|
}
|
|
1657
1798
|
/**
|
|
1658
1799
|
* Properties for OUTCOME_FORM Document records
|
|
@@ -1862,6 +2003,24 @@ export interface OutcomeFormDocumentProperties {
|
|
|
1862
2003
|
* @default
|
|
1863
2004
|
*/
|
|
1864
2005
|
SectionCount: number;
|
|
2006
|
+
/** The document type the model chose from the registry (CONTRACT, CORPORATE_DOCUMENT). The uploader's choice is the record type and is never changed by this.
|
|
2007
|
+
*
|
|
2008
|
+
* @type {TEXT}
|
|
2009
|
+
* @default
|
|
2010
|
+
*/
|
|
2011
|
+
ClassifiedType: string;
|
|
2012
|
+
/** The sub-type the model chose from the registry (NDA, SUPPLY_AGREEMENT, ARTICLES_OF_ASSOCIATION, OTHER). The uploader's choice is SubType and is never changed by this.
|
|
2013
|
+
*
|
|
2014
|
+
* @type {TEXT}
|
|
2015
|
+
* @default
|
|
2016
|
+
*/
|
|
2017
|
+
ClassifiedSubType: string;
|
|
2018
|
+
/** How sure the model was of its classification, 0 to 1.
|
|
2019
|
+
*
|
|
2020
|
+
* @type {NUMBER}
|
|
2021
|
+
* @default
|
|
2022
|
+
*/
|
|
2023
|
+
ClassificationConfidence: number;
|
|
1865
2024
|
}
|
|
1866
2025
|
/**
|
|
1867
2026
|
* Document entity from AiModule
|
|
@@ -1885,6 +2044,8 @@ export declare class Document extends OdinRecord<DocumentProperties> {
|
|
|
1885
2044
|
DocumentProcessing: OdinLink<LinkedOdinRecord<DocumentProcessingProperties>>;
|
|
1886
2045
|
/** Linked ContractBuyOut records (ContractBuyOut__Document) */
|
|
1887
2046
|
ContractBuyOut: OdinLink<LinkedOdinRecord<ContractBuyOutProperties>>;
|
|
2047
|
+
/** Linked DocumentValue records (Document__DocumentValue) */
|
|
2048
|
+
DocumentValue: OdinLink<LinkedOdinRecord<DocumentValueProperties>>;
|
|
1888
2049
|
}
|
|
1889
2050
|
/**
|
|
1890
2051
|
* RabbitMQ routing keys for Document events
|
|
@@ -1952,3 +2113,7 @@ export declare const ROUTING_KEY_LINK_DOCUMENT_FILE_DELETED = "AiModule.Document
|
|
|
1952
2113
|
export declare const ROUTING_KEY_LINK_DOCUMENT_DOCUMENT_PROCESSING_CREATED = "AiModule.Document.DocumentProcessing.SubDbRecordAssociationCreated";
|
|
1953
2114
|
/** Event: Document__DocumentProcessing link deleted */
|
|
1954
2115
|
export declare const ROUTING_KEY_LINK_DOCUMENT_DOCUMENT_PROCESSING_DELETED = "AiModule.Document.DocumentProcessing.SubDbRecordAssociationDeleted";
|
|
2116
|
+
/** Event: Document__DocumentValue link created */
|
|
2117
|
+
export declare const ROUTING_KEY_LINK_DOCUMENT_DOCUMENT_VALUE_CREATED = "AiModule.Document.DocumentValue.SubDbRecordAssociationCreated";
|
|
2118
|
+
/** Event: Document__DocumentValue link deleted */
|
|
2119
|
+
export declare const ROUTING_KEY_LINK_DOCUMENT_DOCUMENT_VALUE_DELETED = "AiModule.Document.DocumentValue.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_DOCUMENT_DOCUMENT_PROCESSING_DELETED = exports.ROUTING_KEY_LINK_DOCUMENT_DOCUMENT_PROCESSING_CREATED = exports.ROUTING_KEY_LINK_DOCUMENT_FILE_DELETED = exports.ROUTING_KEY_LINK_DOCUMENT_FILE_CREATED = exports.ROUTING_KEY_DOCUMENT_OUTCOME_FORM_DELETED = exports.ROUTING_KEY_DOCUMENT_OUTCOME_FORM_UPDATED = exports.ROUTING_KEY_DOCUMENT_OUTCOME_FORM_CREATED = exports.ROUTING_KEY_DOCUMENT_OTHER_DELETED = exports.ROUTING_KEY_DOCUMENT_OTHER_UPDATED = exports.ROUTING_KEY_DOCUMENT_OTHER_CREATED = exports.ROUTING_KEY_DOCUMENT_INVOICE_DELETED = exports.ROUTING_KEY_DOCUMENT_INVOICE_UPDATED = exports.ROUTING_KEY_DOCUMENT_INVOICE_CREATED = exports.ROUTING_KEY_DOCUMENT_EMAIL_ATTACHMENT_DELETED = exports.ROUTING_KEY_DOCUMENT_EMAIL_ATTACHMENT_UPDATED = exports.ROUTING_KEY_DOCUMENT_EMAIL_ATTACHMENT_CREATED = exports.ROUTING_KEY_DOCUMENT_DEFAULT_DELETED = exports.ROUTING_KEY_DOCUMENT_DEFAULT_UPDATED = exports.ROUTING_KEY_DOCUMENT_DEFAULT_CREATED = exports.ROUTING_KEY_DOCUMENT_CORPORATE_DOCUMENT_DELETED = exports.ROUTING_KEY_DOCUMENT_CORPORATE_DOCUMENT_UPDATED = exports.ROUTING_KEY_DOCUMENT_CORPORATE_DOCUMENT_CREATED = exports.ROUTING_KEY_DOCUMENT_CONTRACT_BUYOUT_DELETED = exports.ROUTING_KEY_DOCUMENT_CONTRACT_BUYOUT_UPDATED = exports.ROUTING_KEY_DOCUMENT_CONTRACT_BUYOUT_CREATED = exports.ROUTING_KEY_DOCUMENT_CONTRACT_DELETED = exports.ROUTING_KEY_DOCUMENT_CONTRACT_UPDATED = exports.ROUTING_KEY_DOCUMENT_CONTRACT_CREATED = exports.ROUTING_KEY_DOCUMENT_DELETED = exports.ROUTING_KEY_DOCUMENT_UPDATED = exports.ROUTING_KEY_DOCUMENT_CREATED = exports.Document = exports.DocumentPropertyKeys = exports.DocumentFieldsReviewState = exports.DocumentCatalogStatus = exports.DocumentSubmittedVia = exports.DocumentFormat = exports.DocumentEntityTypes = void 0;
|
|
15
|
+
exports.ROUTING_KEY_LINK_DOCUMENT_DOCUMENT_VALUE_DELETED = exports.ROUTING_KEY_LINK_DOCUMENT_DOCUMENT_VALUE_CREATED = exports.ROUTING_KEY_LINK_DOCUMENT_DOCUMENT_PROCESSING_DELETED = exports.ROUTING_KEY_LINK_DOCUMENT_DOCUMENT_PROCESSING_CREATED = exports.ROUTING_KEY_LINK_DOCUMENT_FILE_DELETED = exports.ROUTING_KEY_LINK_DOCUMENT_FILE_CREATED = exports.ROUTING_KEY_DOCUMENT_OUTCOME_FORM_DELETED = exports.ROUTING_KEY_DOCUMENT_OUTCOME_FORM_UPDATED = exports.ROUTING_KEY_DOCUMENT_OUTCOME_FORM_CREATED = exports.ROUTING_KEY_DOCUMENT_OTHER_DELETED = exports.ROUTING_KEY_DOCUMENT_OTHER_UPDATED = exports.ROUTING_KEY_DOCUMENT_OTHER_CREATED = exports.ROUTING_KEY_DOCUMENT_INVOICE_DELETED = exports.ROUTING_KEY_DOCUMENT_INVOICE_UPDATED = exports.ROUTING_KEY_DOCUMENT_INVOICE_CREATED = exports.ROUTING_KEY_DOCUMENT_EMAIL_ATTACHMENT_DELETED = exports.ROUTING_KEY_DOCUMENT_EMAIL_ATTACHMENT_UPDATED = exports.ROUTING_KEY_DOCUMENT_EMAIL_ATTACHMENT_CREATED = exports.ROUTING_KEY_DOCUMENT_DEFAULT_DELETED = exports.ROUTING_KEY_DOCUMENT_DEFAULT_UPDATED = exports.ROUTING_KEY_DOCUMENT_DEFAULT_CREATED = exports.ROUTING_KEY_DOCUMENT_CORPORATE_DOCUMENT_DELETED = exports.ROUTING_KEY_DOCUMENT_CORPORATE_DOCUMENT_UPDATED = exports.ROUTING_KEY_DOCUMENT_CORPORATE_DOCUMENT_CREATED = exports.ROUTING_KEY_DOCUMENT_CONTRACT_BUYOUT_DELETED = exports.ROUTING_KEY_DOCUMENT_CONTRACT_BUYOUT_UPDATED = exports.ROUTING_KEY_DOCUMENT_CONTRACT_BUYOUT_CREATED = exports.ROUTING_KEY_DOCUMENT_CONTRACT_DELETED = exports.ROUTING_KEY_DOCUMENT_CONTRACT_UPDATED = exports.ROUTING_KEY_DOCUMENT_CONTRACT_CREATED = exports.ROUTING_KEY_DOCUMENT_DELETED = exports.ROUTING_KEY_DOCUMENT_UPDATED = exports.ROUTING_KEY_DOCUMENT_CREATED = exports.Document = exports.DocumentPropertyKeys = exports.DocumentFieldsReviewState = exports.DocumentCatalogStatus = exports.DocumentSubmittedVia = exports.DocumentFormat = exports.DocumentEntityTypes = void 0;
|
|
16
16
|
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
17
|
/**
|
|
18
18
|
* Available types for Document records
|
|
@@ -47,6 +47,7 @@ var DocumentEntityTypes;
|
|
|
47
47
|
* - `HTML`
|
|
48
48
|
* - `IMAGE` - Image
|
|
49
49
|
* - `PDF`
|
|
50
|
+
* - `WORD` - Word
|
|
50
51
|
*/
|
|
51
52
|
var DocumentFormat;
|
|
52
53
|
(function (DocumentFormat) {
|
|
@@ -55,6 +56,7 @@ var DocumentFormat;
|
|
|
55
56
|
DocumentFormat["HTML"] = "HTML";
|
|
56
57
|
DocumentFormat["IMAGE"] = "IMAGE";
|
|
57
58
|
DocumentFormat["PDF"] = "PDF";
|
|
59
|
+
DocumentFormat["WORD"] = "WORD";
|
|
58
60
|
})(DocumentFormat = exports.DocumentFormat || (exports.DocumentFormat = {}));
|
|
59
61
|
/**
|
|
60
62
|
* Valid values for Document.SubmittedVia
|
|
@@ -85,6 +87,8 @@ var DocumentSubmittedVia;
|
|
|
85
87
|
*
|
|
86
88
|
* @remarks Available options:
|
|
87
89
|
* - `CATALOGUED` - Catalogued
|
|
90
|
+
* - `CLASSIFIED` - Classified
|
|
91
|
+
* - `CLASSIFY_FAILED` - Classify failed
|
|
88
92
|
* - `DELETED` - Deleted
|
|
89
93
|
* - `DESCRIBED` - Described
|
|
90
94
|
* - `DESCRIBE_FAILED` - Describe failed
|
|
@@ -93,11 +97,14 @@ var DocumentSubmittedVia;
|
|
|
93
97
|
* - `EMBED_FAILED` - Embed failed
|
|
94
98
|
* - `READ` - Read
|
|
95
99
|
* - `READ_FAILED` - Read failed
|
|
100
|
+
* - `READ_PENDING` - Read pending
|
|
96
101
|
* - `READY` - Ready
|
|
97
102
|
*/
|
|
98
103
|
var DocumentCatalogStatus;
|
|
99
104
|
(function (DocumentCatalogStatus) {
|
|
100
105
|
DocumentCatalogStatus["CATALOGUED"] = "CATALOGUED";
|
|
106
|
+
DocumentCatalogStatus["CLASSIFIED"] = "CLASSIFIED";
|
|
107
|
+
DocumentCatalogStatus["CLASSIFY_FAILED"] = "CLASSIFY_FAILED";
|
|
101
108
|
DocumentCatalogStatus["DELETED"] = "DELETED";
|
|
102
109
|
DocumentCatalogStatus["DESCRIBED"] = "DESCRIBED";
|
|
103
110
|
DocumentCatalogStatus["DESCRIBE_FAILED"] = "DESCRIBE_FAILED";
|
|
@@ -106,6 +113,7 @@ var DocumentCatalogStatus;
|
|
|
106
113
|
DocumentCatalogStatus["EMBED_FAILED"] = "EMBED_FAILED";
|
|
107
114
|
DocumentCatalogStatus["READ"] = "READ";
|
|
108
115
|
DocumentCatalogStatus["READ_FAILED"] = "READ_FAILED";
|
|
116
|
+
DocumentCatalogStatus["READ_PENDING"] = "READ_PENDING";
|
|
109
117
|
DocumentCatalogStatus["READY"] = "READY";
|
|
110
118
|
})(DocumentCatalogStatus = exports.DocumentCatalogStatus || (exports.DocumentCatalogStatus = {}));
|
|
111
119
|
/**
|
|
@@ -196,6 +204,12 @@ var DocumentPropertyKeys;
|
|
|
196
204
|
DocumentPropertyKeys["FolderKey"] = "FolderKey";
|
|
197
205
|
/** How many sections the read step produced; equals the number of vectors. */
|
|
198
206
|
DocumentPropertyKeys["SectionCount"] = "SectionCount";
|
|
207
|
+
/** The document type the model chose from the registry (CONTRACT, CORPORATE_DOCUMENT). The uploader's choice is the record type and is never changed by this. */
|
|
208
|
+
DocumentPropertyKeys["ClassifiedType"] = "ClassifiedType";
|
|
209
|
+
/** The sub-type the model chose from the registry (NDA, SUPPLY_AGREEMENT, ARTICLES_OF_ASSOCIATION, OTHER). The uploader's choice is SubType and is never changed by this. */
|
|
210
|
+
DocumentPropertyKeys["ClassifiedSubType"] = "ClassifiedSubType";
|
|
211
|
+
/** How sure the model was of its classification, 0 to 1. */
|
|
212
|
+
DocumentPropertyKeys["ClassificationConfidence"] = "ClassificationConfidence";
|
|
199
213
|
})(DocumentPropertyKeys = exports.DocumentPropertyKeys || (exports.DocumentPropertyKeys = {}));
|
|
200
214
|
/**
|
|
201
215
|
* Document entity from AiModule
|
|
@@ -280,3 +294,7 @@ exports.ROUTING_KEY_LINK_DOCUMENT_FILE_DELETED = 'AiModule.Document.File.SubDbRe
|
|
|
280
294
|
exports.ROUTING_KEY_LINK_DOCUMENT_DOCUMENT_PROCESSING_CREATED = 'AiModule.Document.DocumentProcessing.SubDbRecordAssociationCreated';
|
|
281
295
|
/** Event: Document__DocumentProcessing link deleted */
|
|
282
296
|
exports.ROUTING_KEY_LINK_DOCUMENT_DOCUMENT_PROCESSING_DELETED = 'AiModule.Document.DocumentProcessing.SubDbRecordAssociationDeleted';
|
|
297
|
+
/** Event: Document__DocumentValue link created */
|
|
298
|
+
exports.ROUTING_KEY_LINK_DOCUMENT_DOCUMENT_VALUE_CREATED = 'AiModule.Document.DocumentValue.SubDbRecordAssociationCreated';
|
|
299
|
+
/** Event: Document__DocumentValue link deleted */
|
|
300
|
+
exports.ROUTING_KEY_LINK_DOCUMENT_DOCUMENT_VALUE_DELETED = 'AiModule.Document.DocumentValue.SubDbRecordAssociationDeleted';
|
|
@@ -28,6 +28,7 @@ export declare enum DocumentProcessingEntityTypes {
|
|
|
28
28
|
* @remarks Available options:
|
|
29
29
|
* - `CBO_FINAL_BILL_CHECK` - CBO final bill check
|
|
30
30
|
* - `CHAT` - Chat
|
|
31
|
+
* - `CLASSIFY` - Classify
|
|
31
32
|
* - `DESCRIBE` - Describe
|
|
32
33
|
* - `EMBED` - Embed
|
|
33
34
|
* - `EXTRACT_FIELDS` - Extract fields
|
|
@@ -38,6 +39,7 @@ export declare enum DocumentProcessingEntityTypes {
|
|
|
38
39
|
export declare enum DocumentProcessingUseCase {
|
|
39
40
|
CBO_FINAL_BILL_CHECK = "CBO_FINAL_BILL_CHECK",
|
|
40
41
|
CHAT = "CHAT",
|
|
42
|
+
CLASSIFY = "CLASSIFY",
|
|
41
43
|
DESCRIBE = "DESCRIBE",
|
|
42
44
|
EMBED = "EMBED",
|
|
43
45
|
EXTRACT_FIELDS = "EXTRACT_FIELDS",
|
|
@@ -30,6 +30,7 @@ var DocumentProcessingEntityTypes;
|
|
|
30
30
|
* @remarks Available options:
|
|
31
31
|
* - `CBO_FINAL_BILL_CHECK` - CBO final bill check
|
|
32
32
|
* - `CHAT` - Chat
|
|
33
|
+
* - `CLASSIFY` - Classify
|
|
33
34
|
* - `DESCRIBE` - Describe
|
|
34
35
|
* - `EMBED` - Embed
|
|
35
36
|
* - `EXTRACT_FIELDS` - Extract fields
|
|
@@ -41,6 +42,7 @@ var DocumentProcessingUseCase;
|
|
|
41
42
|
(function (DocumentProcessingUseCase) {
|
|
42
43
|
DocumentProcessingUseCase["CBO_FINAL_BILL_CHECK"] = "CBO_FINAL_BILL_CHECK";
|
|
43
44
|
DocumentProcessingUseCase["CHAT"] = "CHAT";
|
|
45
|
+
DocumentProcessingUseCase["CLASSIFY"] = "CLASSIFY";
|
|
44
46
|
DocumentProcessingUseCase["DESCRIBE"] = "DESCRIBE";
|
|
45
47
|
DocumentProcessingUseCase["EMBED"] = "EMBED";
|
|
46
48
|
DocumentProcessingUseCase["EXTRACT_FIELDS"] = "EXTRACT_FIELDS";
|