bruce-models 7.1.53 → 7.1.54

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.
@@ -2734,6 +2734,89 @@ var Account;
2734
2734
  Account.GetDbRegionListCacheKey = GetDbRegionListCacheKey;
2735
2735
  })(Account || (Account = {}));
2736
2736
 
2737
+ var AccountAudit;
2738
+ (function (AccountAudit) {
2739
+ let EType;
2740
+ (function (EType) {
2741
+ EType["LOG"] = "L";
2742
+ EType["CREATE"] = "C";
2743
+ EType["UPDATE"] = "U";
2744
+ EType["DELETE"] = "D";
2745
+ })(EType = AccountAudit.EType || (AccountAudit.EType = {}));
2746
+ let ESeverity;
2747
+ (function (ESeverity) {
2748
+ ESeverity["DEBUG"] = "D";
2749
+ ESeverity["INFO"] = "I";
2750
+ ESeverity["WARN"] = "W";
2751
+ ESeverity["ERROR"] = "E";
2752
+ })(ESeverity = AccountAudit.ESeverity || (AccountAudit.ESeverity = {}));
2753
+ let EDetailLevel;
2754
+ (function (EDetailLevel) {
2755
+ EDetailLevel["SUMMARY"] = "summary";
2756
+ EDetailLevel["FULL"] = "full";
2757
+ })(EDetailLevel = AccountAudit.EDetailLevel || (AccountAudit.EDetailLevel = {}));
2758
+ let EAction;
2759
+ (function (EAction) {
2760
+ EAction["CREATED"] = "Created";
2761
+ EAction["UPDATED"] = "Updated";
2762
+ EAction["DELETED"] = "Deleted";
2763
+ })(EAction = AccountAudit.EAction || (AccountAudit.EAction = {}));
2764
+ let EOrderBy;
2765
+ (function (EOrderBy) {
2766
+ EOrderBy["ID"] = "ID";
2767
+ EOrderBy["LOGGED"] = "Logged";
2768
+ EOrderBy["CREATED"] = "Created";
2769
+ EOrderBy["CREATED_DATE"] = "CreatedDate";
2770
+ EOrderBy["SEVERITY"] = "Severity";
2771
+ EOrderBy["TYPE"] = "Type";
2772
+ EOrderBy["ACTION"] = "Action";
2773
+ EOrderBy["MESSAGE"] = "Message";
2774
+ EOrderBy["CONCEPT"] = "Concept";
2775
+ EOrderBy["SCOPE"] = "Scope";
2776
+ EOrderBy["USER_ID"] = "User.ID";
2777
+ })(EOrderBy = AccountAudit.EOrderBy || (AccountAudit.EOrderBy = {}));
2778
+ function GetConceptList(params) {
2779
+ return __awaiter(this, void 0, void 0, function* () {
2780
+ let { api, req: reqParams, concept, pageSize, pageIndex, lastSeenId, search, orderBy, sortOrder, recordId, detailLevel } = params;
2781
+ if (!api) {
2782
+ api = ENVIRONMENT.Api().GetBruceApi();
2783
+ }
2784
+ if (!concept) {
2785
+ throw new Error("Concept is required.");
2786
+ }
2787
+ const urlParams = new URLSearchParams();
2788
+ if (pageSize != null) {
2789
+ urlParams.append("PageSize", String(pageSize));
2790
+ }
2791
+ if (pageIndex != null) {
2792
+ urlParams.append("PageIndex", String(pageIndex));
2793
+ }
2794
+ if (lastSeenId != null) {
2795
+ urlParams.append("LastSeenID", String(lastSeenId));
2796
+ }
2797
+ if (search) {
2798
+ urlParams.append("Search", search);
2799
+ }
2800
+ if (orderBy) {
2801
+ urlParams.append("OrderBy", orderBy);
2802
+ }
2803
+ if (sortOrder) {
2804
+ urlParams.append("SortOrder", sortOrder);
2805
+ }
2806
+ if (recordId) {
2807
+ urlParams.append("RecordID", recordId);
2808
+ }
2809
+ if (detailLevel) {
2810
+ urlParams.append("DetailLevel", detailLevel);
2811
+ }
2812
+ const query = urlParams.toString();
2813
+ const route = `v3/accountAudits/concept/${Api.Encode(String(concept))}`;
2814
+ return api.GET(query ? `${route}?${query}` : route, Api.PrepReqParams(reqParams));
2815
+ });
2816
+ }
2817
+ AccountAudit.GetConceptList = GetConceptList;
2818
+ })(AccountAudit || (AccountAudit = {}));
2819
+
2737
2820
  /**
2738
2821
  * Account Features are a set of flags that can be enabled or disabled for an account.
2739
2822
  * These flags usually represent how data is stored and managed.
@@ -19019,7 +19102,7 @@ var UrlUtils;
19019
19102
  })(UrlUtils || (UrlUtils = {}));
19020
19103
 
19021
19104
  // This is updated with the package.json version on build.
19022
- const VERSION = "7.1.53";
19105
+ const VERSION = "7.1.54";
19023
19106
 
19024
- export { VERSION, Account, AccountConcept, AccountFeatures, AccountInvite, AccountLimits, AccountTemplate, AccountType, AnnDocument, AbstractApi, Api, ApiGetters, BruceApi, GlobalApi, GuardianApi, Assembly, Calculator, ChangeSet, ClientFile, 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, EntityTypeTrigger, ENVIRONMENT, ExportBrz, ExportUsd, ImportAssembly, ImportCad, ImportCsv, ImportGeoJson, ImportJson, ImportKml, ImportLcc, ImportedFile, Uploader, Markup, NAVIGATOR_CHAT_EVENT_ENTITY_HIGHLIGHT_APPLIED, NAVIGATOR_CHAT_EVENT_SCENE_CONTEXT_PREFETCHED, NavigatorChatClient, NavigatorMcpWebSocketClient, Plugin, 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 };
19107
+ export { VERSION, Account, AccountAudit, AccountConcept, AccountFeatures, AccountInvite, AccountLimits, AccountTemplate, AccountType, AnnDocument, AbstractApi, Api, ApiGetters, BruceApi, GlobalApi, GuardianApi, Assembly, Calculator, ChangeSet, ClientFile, 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, EntityTypeTrigger, ENVIRONMENT, ExportBrz, ExportUsd, ImportAssembly, ImportCad, ImportCsv, ImportGeoJson, ImportJson, ImportKml, ImportLcc, ImportedFile, Uploader, Markup, NAVIGATOR_CHAT_EVENT_ENTITY_HIGHLIGHT_APPLIED, NAVIGATOR_CHAT_EVENT_SCENE_CONTEXT_PREFETCHED, NavigatorChatClient, NavigatorMcpWebSocketClient, Plugin, 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 };
19025
19108
  //# sourceMappingURL=bruce-models.es5.js.map