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.
@@ -2707,6 +2707,88 @@
2707
2707
  Account.GetDbRegionListCacheKey = GetDbRegionListCacheKey;
2708
2708
  })(exports.Account || (exports.Account = {}));
2709
2709
 
2710
+ (function (AccountAudit) {
2711
+ let EType;
2712
+ (function (EType) {
2713
+ EType["LOG"] = "L";
2714
+ EType["CREATE"] = "C";
2715
+ EType["UPDATE"] = "U";
2716
+ EType["DELETE"] = "D";
2717
+ })(EType = AccountAudit.EType || (AccountAudit.EType = {}));
2718
+ let ESeverity;
2719
+ (function (ESeverity) {
2720
+ ESeverity["DEBUG"] = "D";
2721
+ ESeverity["INFO"] = "I";
2722
+ ESeverity["WARN"] = "W";
2723
+ ESeverity["ERROR"] = "E";
2724
+ })(ESeverity = AccountAudit.ESeverity || (AccountAudit.ESeverity = {}));
2725
+ let EDetailLevel;
2726
+ (function (EDetailLevel) {
2727
+ EDetailLevel["SUMMARY"] = "summary";
2728
+ EDetailLevel["FULL"] = "full";
2729
+ })(EDetailLevel = AccountAudit.EDetailLevel || (AccountAudit.EDetailLevel = {}));
2730
+ let EAction;
2731
+ (function (EAction) {
2732
+ EAction["CREATED"] = "Created";
2733
+ EAction["UPDATED"] = "Updated";
2734
+ EAction["DELETED"] = "Deleted";
2735
+ })(EAction = AccountAudit.EAction || (AccountAudit.EAction = {}));
2736
+ let EOrderBy;
2737
+ (function (EOrderBy) {
2738
+ EOrderBy["ID"] = "ID";
2739
+ EOrderBy["LOGGED"] = "Logged";
2740
+ EOrderBy["CREATED"] = "Created";
2741
+ EOrderBy["CREATED_DATE"] = "CreatedDate";
2742
+ EOrderBy["SEVERITY"] = "Severity";
2743
+ EOrderBy["TYPE"] = "Type";
2744
+ EOrderBy["ACTION"] = "Action";
2745
+ EOrderBy["MESSAGE"] = "Message";
2746
+ EOrderBy["CONCEPT"] = "Concept";
2747
+ EOrderBy["SCOPE"] = "Scope";
2748
+ EOrderBy["USER_ID"] = "User.ID";
2749
+ })(EOrderBy = AccountAudit.EOrderBy || (AccountAudit.EOrderBy = {}));
2750
+ function GetConceptList(params) {
2751
+ return __awaiter(this, void 0, void 0, function* () {
2752
+ let { api, req: reqParams, concept, pageSize, pageIndex, lastSeenId, search, orderBy, sortOrder, recordId, detailLevel } = params;
2753
+ if (!api) {
2754
+ api = exports.ENVIRONMENT.Api().GetBruceApi();
2755
+ }
2756
+ if (!concept) {
2757
+ throw new Error("Concept is required.");
2758
+ }
2759
+ const urlParams = new URLSearchParams();
2760
+ if (pageSize != null) {
2761
+ urlParams.append("PageSize", String(pageSize));
2762
+ }
2763
+ if (pageIndex != null) {
2764
+ urlParams.append("PageIndex", String(pageIndex));
2765
+ }
2766
+ if (lastSeenId != null) {
2767
+ urlParams.append("LastSeenID", String(lastSeenId));
2768
+ }
2769
+ if (search) {
2770
+ urlParams.append("Search", search);
2771
+ }
2772
+ if (orderBy) {
2773
+ urlParams.append("OrderBy", orderBy);
2774
+ }
2775
+ if (sortOrder) {
2776
+ urlParams.append("SortOrder", sortOrder);
2777
+ }
2778
+ if (recordId) {
2779
+ urlParams.append("RecordID", recordId);
2780
+ }
2781
+ if (detailLevel) {
2782
+ urlParams.append("DetailLevel", detailLevel);
2783
+ }
2784
+ const query = urlParams.toString();
2785
+ const route = `v3/accountAudits/concept/${exports.Api.Encode(String(concept))}`;
2786
+ return api.GET(query ? `${route}?${query}` : route, exports.Api.PrepReqParams(reqParams));
2787
+ });
2788
+ }
2789
+ AccountAudit.GetConceptList = GetConceptList;
2790
+ })(exports.AccountAudit || (exports.AccountAudit = {}));
2791
+
2710
2792
  (function (AccountFeatures) {
2711
2793
  let EFeature;
2712
2794
  (function (EFeature) {
@@ -18678,7 +18760,7 @@
18678
18760
  })(exports.UrlUtils || (exports.UrlUtils = {}));
18679
18761
 
18680
18762
  // This is updated with the package.json version on build.
18681
- const VERSION = "7.1.53";
18763
+ const VERSION = "7.1.54";
18682
18764
 
18683
18765
  exports.VERSION = VERSION;
18684
18766
  exports.AbstractApi = AbstractApi;