bruce-models 7.1.97 → 7.1.98
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 +12 -4
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +12 -4
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/bruce-models.js +1 -1
- package/dist/lib/entity/entity-type-trigger.js +11 -3
- package/dist/lib/entity/entity-type-trigger.js.map +1 -1
- package/dist/types/bruce-models.d.ts +1 -1
- package/dist/types/entity/entity-type-trigger.d.ts +6 -2
- package/package.json +1 -1
package/dist/bruce-models.es5.js
CHANGED
|
@@ -16983,13 +16983,21 @@ var EntityTypeTrigger;
|
|
|
16983
16983
|
EType["DataLabQuery"] = "DataLabQuery";
|
|
16984
16984
|
EType["WorkflowTicket"] = "WorkflowTicket";
|
|
16985
16985
|
})(EType = EntityTypeTrigger.EType || (EntityTypeTrigger.EType = {}));
|
|
16986
|
+
/**
|
|
16987
|
+
* Builds the Settings payload for a WorkflowTicket trigger.
|
|
16988
|
+
* @param params
|
|
16989
|
+
*/
|
|
16986
16990
|
function BuildWorkflowTicketSettings(params) {
|
|
16987
16991
|
var _a;
|
|
16988
16992
|
const settings = Object.assign(Object.assign({}, ((_a = params.extraSettings) !== null && _a !== void 0 ? _a : {})), { Condition: params.condition, WorkflowTicket: {
|
|
16989
|
-
"Workflow.ItemType.ID": params.workflowItemTypeId
|
|
16990
|
-
"Workflow.Queue.ID": params.queueId,
|
|
16991
|
-
"Workflow.ItemStatus.ID": params.statusId
|
|
16993
|
+
"Workflow.ItemType.ID": params.workflowItemTypeId
|
|
16992
16994
|
} });
|
|
16995
|
+
if (params.queueId != null && params.queueId !== "") {
|
|
16996
|
+
settings.WorkflowTicket["Workflow.Queue.ID"] = params.queueId;
|
|
16997
|
+
}
|
|
16998
|
+
if (params.statusId != null && params.statusId !== "") {
|
|
16999
|
+
settings.WorkflowTicket["Workflow.ItemStatus.ID"] = params.statusId;
|
|
17000
|
+
}
|
|
16993
17001
|
if (params.description != null && params.description !== "") {
|
|
16994
17002
|
settings.WorkflowTicket.Description = params.description;
|
|
16995
17003
|
}
|
|
@@ -23649,7 +23657,7 @@ var UrlUtils;
|
|
|
23649
23657
|
})(UrlUtils || (UrlUtils = {}));
|
|
23650
23658
|
|
|
23651
23659
|
// This is updated with the package.json version on build.
|
|
23652
|
-
const VERSION = "7.1.
|
|
23660
|
+
const VERSION = "7.1.98";
|
|
23653
23661
|
|
|
23654
23662
|
export { VERSION, Account, AccountAudit, AccountConcept, AccountFeatures, AccountInvite, AccountLimits, AccountTemplate, AccountType, AnnDocument, AbstractApi, Api, ApiGetters, BruceApi, GlobalApi, GuardianApi, Assembly, Calculator, ChangeSet, ClientFile, ClientFileValueMap, Bounds, BruceEvent, BruceVariable, CacheControl, Camera, Cartes, Carto, Color, DelayQueue, GeoJson, Geometry, LRUCache, UTC, CustomForm, DashboardView, DataFeed, DataLab, DataLabGroup, DataSource, DataTransform, Comment, Entity, EntityAttachment, EntityAttachmentType, EntityAttribute, EntityComment, EntityCoords, EntityHistoricData, EntityLink, EntityLod, EntityLodCategory, EntityRelation, EntityRelationType, EntitySource, EntityTableView, EntityTag, EntityType, EntityTypeRelation, EntityTypeTrigger, Ontology, OntologyDocument, ENVIRONMENT, ExportBrz, ExportCsv, ExportNsx, ExportUsd, Hexbin, ImportAssembly, ImportCad, ImportCsv, ImportGeoJson, ImportJson, ImportKml, ImportLcc, ImportTif, ImportedFile, Uploader, Markup, UIMarkup, NAVIGATOR_CHAT_EVENT_ENTITY_HIGHLIGHT_APPLIED, NAVIGATOR_CHAT_EVENT_SCENE_CONTEXT_PREFETCHED, NavigatorChatClient, NavigatorMcpWebSocketClient, Plugin, PluginAiTool, ProgramKey, MenuItem, ProjectView, ProjectViewBookmark, ProjectViewBookmarkGroup, ProjectViewLegacy, ProjectViewLegacyBookmark, ProjectViewLegacyTile, ProjectViewTile, ZoomControl, Scenario, HostingLocation, MessageBroker, PendingAction, RecordChangeFeed, Style, Tileset, Tracking, Permission, Session, User, UserGroup, UserMfaMethod, EncryptUtils, MathUtils, ObjectUtils, PathUtils, UrlUtils };
|
|
23655
23663
|
//# sourceMappingURL=bruce-models.es5.js.map
|