bruce-models 7.1.35 → 7.1.36
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/dist/bruce-models.es5.js +21 -1
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +21 -1
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/ann-document/ann-document.js +20 -0
- package/dist/lib/ann-document/ann-document.js.map +1 -1
- package/dist/lib/bruce-models.js +1 -1
- package/dist/types/ann-document/ann-document.d.ts +41 -1
- package/dist/types/bruce-models.d.ts +1 -1
- package/package.json +1 -1
package/dist/bruce-models.es5.js
CHANGED
|
@@ -2247,6 +2247,7 @@ var AnnDocument;
|
|
|
2247
2247
|
EHotspotSource["SVGTextExtraction"] = "SVGTextExtraction";
|
|
2248
2248
|
EHotspotSource["PDFTextExtraction"] = "PDFTextExtraction";
|
|
2249
2249
|
EHotspotSource["OCR"] = "OCR";
|
|
2250
|
+
EHotspotSource["AIImage"] = "AIImage";
|
|
2250
2251
|
})(EHotspotSource = AnnDocument.EHotspotSource || (AnnDocument.EHotspotSource = {}));
|
|
2251
2252
|
/**
|
|
2252
2253
|
* Returns an annotated document by ID.
|
|
@@ -2362,6 +2363,25 @@ var AnnDocument;
|
|
|
2362
2363
|
});
|
|
2363
2364
|
}
|
|
2364
2365
|
AnnDocument.SuggestHotspots = SuggestHotspots;
|
|
2366
|
+
/**
|
|
2367
|
+
* Uses the configured AI vision model to suggest hotspots from document view page images.
|
|
2368
|
+
*/
|
|
2369
|
+
function SuggestHotspotsAI(params) {
|
|
2370
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2371
|
+
let { api, docId, body, req: reqParams } = params;
|
|
2372
|
+
if (!docId) {
|
|
2373
|
+
throw ("Doc ID is required.");
|
|
2374
|
+
}
|
|
2375
|
+
if (!api) {
|
|
2376
|
+
api = ENVIRONMENT.Api().GetBruceApi();
|
|
2377
|
+
}
|
|
2378
|
+
if (!body) {
|
|
2379
|
+
body = {};
|
|
2380
|
+
}
|
|
2381
|
+
return api.POST(`documentView/${docId}/suggestHotspotsAI`, body, Api.PrepReqParams(reqParams));
|
|
2382
|
+
});
|
|
2383
|
+
}
|
|
2384
|
+
AnnDocument.SuggestHotspotsAI = SuggestHotspotsAI;
|
|
2365
2385
|
/**
|
|
2366
2386
|
* Returns cache identifier for an annotated document by ID.
|
|
2367
2387
|
* Example: {
|
|
@@ -18225,7 +18245,7 @@ var ChangeSet;
|
|
|
18225
18245
|
})(ChangeSet || (ChangeSet = {}));
|
|
18226
18246
|
|
|
18227
18247
|
// This is updated with the package.json version on build.
|
|
18228
|
-
const VERSION = "7.1.
|
|
18248
|
+
const VERSION = "7.1.36";
|
|
18229
18249
|
|
|
18230
18250
|
export { VERSION, Assembly, AnnDocument, CustomForm, AbstractApi, Api, BruceApi, GlobalApi, GuardianApi, ApiGetters, Calculator, Bounds, BruceEvent, CacheControl, Camera, Cartes, Carto, Color, DelayQueue, Geometry, UTC, BruceVariable, LRUCache, GeoJson, EntityAttachmentType, EntityAttachment, EntityComment, EntityLink, EntityLod, EntityLodCategory, EntityRelationType, EntityRelation, EntitySource, EntityTag, EntityTypeTrigger, EntityType, Entity, EntityCoords, EntityAttribute, EntityHistoricData, EntityTableView, DashboardView, Comment, ClientFile, ProgramKey, ZoomControl, MenuItem, ProjectViewBookmark, ProjectView, ProjectViewLegacyTile, ProjectViewTile, ProjectViewLegacy, ProjectViewLegacyBookmark, ProjectViewBookmarkGroup, PendingAction, MessageBroker, HostingLocation, Style, Tileset, Permission, Session, UserGroup, User, UserMfaMethod, Account, AccountInvite, AccountFeatures, AccountLimits, AccountTemplate, AccountType, EncryptUtils, MathUtils, ObjectUtils, PathUtils, UrlUtils, DataLab, DataTransform, DataLabGroup, DataFeed, ImportAssembly, ImportCad, ImportCsv, ImportJson, ImportGeoJson, ImportKml, ImportLcc, ImportedFile, ExportBrz, ExportUsd, Markup, Uploader, Plugin, ENVIRONMENT, DataSource, Scenario, Tracking, NAVIGATOR_CHAT_EVENT_ENTITY_HIGHLIGHT_APPLIED, NAVIGATOR_CHAT_EVENT_SCENE_CONTEXT_PREFETCHED, NavigatorChatClient, NavigatorMcpWebSocketClient, ChangeSet };
|
|
18231
18251
|
//# sourceMappingURL=bruce-models.es5.js.map
|