@hahnpro/hpc-api 2026.8.4 → 2026.8.6
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/CHANGELOG.md +4 -0
- package/package.json +2 -2
- package/src/lib/api.d.ts +2 -1
- package/src/lib/api.js +1 -0
- package/src/lib/interfaces/authz/audited.interface.d.ts +6 -0
- package/src/lib/interfaces/authz/audited.interface.js +2 -0
- package/src/lib/interfaces/authz/capability-bundle-capability.interface.d.ts +8 -0
- package/src/lib/interfaces/authz/capability-bundle-capability.interface.js +2 -0
- package/src/lib/interfaces/authz/capability-bundle.interface.d.ts +18 -0
- package/src/lib/interfaces/authz/capability-bundle.interface.js +10 -0
- package/src/lib/interfaces/authz/capability.interface.d.ts +75 -0
- package/src/lib/interfaces/authz/capability.interface.js +72 -0
- package/src/lib/interfaces/authz/feature-capability.interface.d.ts +8 -0
- package/src/lib/interfaces/authz/feature-capability.interface.js +2 -0
- package/src/lib/interfaces/authz/feature.interface.d.ts +21 -0
- package/src/lib/interfaces/authz/feature.interface.js +13 -0
- package/src/lib/interfaces/authz/index.d.ts +23 -0
- package/src/lib/interfaces/authz/index.js +19 -0
- package/src/lib/interfaces/authz/localized-text.interface.d.ts +4 -0
- package/src/lib/interfaces/authz/localized-text.interface.js +2 -0
- package/src/lib/interfaces/authz/org-group-capability-bundle.interface.d.ts +7 -0
- package/src/lib/interfaces/authz/org-group-capability-bundle.interface.js +2 -0
- package/src/lib/interfaces/authz/org-group-capability.interface.d.ts +7 -0
- package/src/lib/interfaces/authz/org-group-capability.interface.js +2 -0
- package/src/lib/interfaces/authz/org-group-member.interface.d.ts +6 -0
- package/src/lib/interfaces/authz/org-group-member.interface.js +2 -0
- package/src/lib/interfaces/authz/org-group.interface.d.ts +32 -0
- package/src/lib/interfaces/authz/org-group.interface.js +20 -0
- package/src/lib/interfaces/authz/org-subscription.interface.d.ts +16 -0
- package/src/lib/interfaces/authz/org-subscription.interface.js +9 -0
- package/src/lib/interfaces/authz/plan-feature.interface.d.ts +8 -0
- package/src/lib/interfaces/authz/plan-feature.interface.js +2 -0
- package/src/lib/interfaces/authz/plan.interface.d.ts +15 -0
- package/src/lib/interfaces/authz/plan.interface.js +7 -0
- package/src/lib/interfaces/authz/service-account-capability-bundle.interface.d.ts +7 -0
- package/src/lib/interfaces/authz/service-account-capability-bundle.interface.js +2 -0
- package/src/lib/interfaces/authz/service-account-capability.interface.d.ts +7 -0
- package/src/lib/interfaces/authz/service-account-capability.interface.js +2 -0
- package/src/lib/interfaces/authz/sql-pagination.interface.d.ts +18 -0
- package/src/lib/interfaces/authz/sql-pagination.interface.js +2 -0
- package/src/lib/interfaces/index.d.ts +3 -1
- package/src/lib/interfaces/index.js +2 -0
- package/src/lib/interfaces/timeseries.interface.d.ts +5 -0
- package/src/lib/interfaces/websockets.interface.d.ts +6 -0
- package/src/lib/mock/api.mock.d.ts +2 -0
- package/src/lib/mock/api.mock.js +2 -0
- package/src/lib/mock/authz/authz.mock.service.d.ts +21 -0
- package/src/lib/mock/authz/authz.mock.service.js +26 -0
- package/src/lib/mock/authz/capability-bundle.mock.service.d.ts +6 -0
- package/src/lib/mock/authz/capability-bundle.mock.service.js +13 -0
- package/src/lib/mock/authz/capability.mock.service.d.ts +6 -0
- package/src/lib/mock/authz/capability.mock.service.js +13 -0
- package/src/lib/mock/authz/index.d.ts +1 -0
- package/src/lib/mock/authz/index.js +5 -0
- package/src/lib/mock/authz/org-group-capability-bundle.mock.service.d.ts +9 -0
- package/src/lib/mock/authz/org-group-capability-bundle.mock.service.js +22 -0
- package/src/lib/mock/authz/org-group-capability.mock.service.d.ts +9 -0
- package/src/lib/mock/authz/org-group-capability.mock.service.js +22 -0
- package/src/lib/mock/authz/org-group-member.mock.service.d.ts +8 -0
- package/src/lib/mock/authz/org-group-member.mock.service.js +19 -0
- package/src/lib/mock/authz/org-group.mock.service.d.ts +10 -0
- package/src/lib/mock/authz/org-group.mock.service.js +25 -0
- package/src/lib/mock/authz/org-subscription.mock.service.d.ts +10 -0
- package/src/lib/mock/authz/org-subscription.mock.service.js +25 -0
- package/src/lib/mock/authz/user-capabilities-and-permissions.mock.service.d.ts +9 -0
- package/src/lib/mock/authz/user-capabilities-and-permissions.mock.service.js +16 -0
- package/src/lib/mock/index.d.ts +1 -0
- package/src/lib/mock/index.js +1 -0
- package/src/lib/mock/task.mock.service.d.ts +2 -0
- package/src/lib/mock/task.mock.service.js +9 -0
- package/src/lib/services/authz/authz.service.d.ts +21 -0
- package/src/lib/services/authz/authz.service.js +26 -0
- package/src/lib/services/authz/capability-bundle.service.d.ts +7 -0
- package/src/lib/services/authz/capability-bundle.service.js +13 -0
- package/src/lib/services/authz/capability.service.d.ts +7 -0
- package/src/lib/services/authz/capability.service.js +13 -0
- package/src/lib/services/authz/index.d.ts +1 -0
- package/src/lib/services/authz/index.js +5 -0
- package/src/lib/services/authz/org-group-capability-bundle.service.d.ts +10 -0
- package/src/lib/services/authz/org-group-capability-bundle.service.js +22 -0
- package/src/lib/services/authz/org-group-capability.service.d.ts +10 -0
- package/src/lib/services/authz/org-group-capability.service.js +22 -0
- package/src/lib/services/authz/org-group-member.service.d.ts +9 -0
- package/src/lib/services/authz/org-group-member.service.js +19 -0
- package/src/lib/services/authz/org-group.service.d.ts +11 -0
- package/src/lib/services/authz/org-group.service.js +25 -0
- package/src/lib/services/authz/org-subscription.service.d.ts +11 -0
- package/src/lib/services/authz/org-subscription.service.js +25 -0
- package/src/lib/services/authz/user-capabilities-and-permissions.service.d.ts +9 -0
- package/src/lib/services/authz/user-capabilities-and-permissions.service.js +16 -0
- package/src/lib/services/index.d.ts +2 -0
- package/src/lib/services/index.js +5 -1
- package/src/lib/services/organizations.service.d.ts +2 -2
- package/src/lib/services/organizations.service.js +2 -2
- package/src/lib/services/task.service.d.ts +9 -0
- package/src/lib/services/task.service.js +3 -0
|
@@ -4,6 +4,7 @@ import { AiMockService } from './ai.mock.service';
|
|
|
4
4
|
import { AlertMockService } from './alert.mock.service';
|
|
5
5
|
import { AssetMockService } from './asset.mock.service';
|
|
6
6
|
import { AssetTypesMockService } from './assetTypes.mock.service';
|
|
7
|
+
import { AuthzMockService } from './authz';
|
|
7
8
|
import { ContentMockService } from './content.mock.service';
|
|
8
9
|
import { CrmMockService } from './crm.mock.service';
|
|
9
10
|
import { DataspaceMockService } from './dataspace.mock.service';
|
|
@@ -58,6 +59,7 @@ export declare class MockAPI implements API {
|
|
|
58
59
|
alerts: AlertMockService;
|
|
59
60
|
assets: AssetMockService;
|
|
60
61
|
assetTypes: AssetTypesMockService;
|
|
62
|
+
authz: AuthzMockService;
|
|
61
63
|
contents: ContentMockService;
|
|
62
64
|
crm: CrmMockService;
|
|
63
65
|
dataspace: DataspaceMockService;
|
package/src/lib/mock/api.mock.js
CHANGED
|
@@ -6,6 +6,7 @@ const ai_mock_service_1 = require("./ai.mock.service");
|
|
|
6
6
|
const alert_mock_service_1 = require("./alert.mock.service");
|
|
7
7
|
const asset_mock_service_1 = require("./asset.mock.service");
|
|
8
8
|
const assetTypes_mock_service_1 = require("./assetTypes.mock.service");
|
|
9
|
+
const authz_1 = require("./authz");
|
|
9
10
|
const content_mock_service_1 = require("./content.mock.service");
|
|
10
11
|
const crm_mock_service_1 = require("./crm.mock.service");
|
|
11
12
|
const dataspace_mock_service_1 = require("./dataspace.mock.service");
|
|
@@ -214,6 +215,7 @@ class MockAPI {
|
|
|
214
215
|
this.alerts = new alert_mock_service_1.AlertMockService([]);
|
|
215
216
|
this.assets = new asset_mock_service_1.AssetMockService(this, assets1, assetRevisions1);
|
|
216
217
|
this.assetTypes = new assetTypes_mock_service_1.AssetTypesMockService(assetTypes, []);
|
|
218
|
+
this.authz = new authz_1.AuthzMockService();
|
|
217
219
|
this.contents = new content_mock_service_1.ContentMockService(contents1, contentData);
|
|
218
220
|
this.crm = new crm_mock_service_1.CrmMockService();
|
|
219
221
|
this.dataspace = new dataspace_mock_service_1.DataspaceMockService();
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { AuthzService } from '../../services';
|
|
2
|
+
import { CapabilityBundleService } from '../../services/authz/capability-bundle.service';
|
|
3
|
+
import { CapabilityService } from '../../services/authz/capability.service';
|
|
4
|
+
import { OrgGroupCapabilityBundleService } from '../../services/authz/org-group-capability-bundle.service';
|
|
5
|
+
import { OrgGroupCapabilityService } from '../../services/authz/org-group-capability.service';
|
|
6
|
+
import { OrgGroupMemberService } from '../../services/authz/org-group-member.service';
|
|
7
|
+
import { OrgGroupService } from '../../services/authz/org-group.service';
|
|
8
|
+
import { OrgSubscriptionService } from '../../services/authz/org-subscription.service';
|
|
9
|
+
import { UserCapabilitiesAndPermissionsService } from '../../services/authz/user-capabilities-and-permissions.service';
|
|
10
|
+
import { APIBaseMock } from '../api-base.mock';
|
|
11
|
+
export declare class AuthzMockService extends APIBaseMock<never> implements AuthzService {
|
|
12
|
+
readonly capabilities: CapabilityService;
|
|
13
|
+
readonly capabilityBundles: CapabilityBundleService;
|
|
14
|
+
readonly orgGroups: OrgGroupService;
|
|
15
|
+
readonly orgGroupCapabilities: OrgGroupCapabilityService;
|
|
16
|
+
readonly orgGroupCapabilityBundles: OrgGroupCapabilityBundleService;
|
|
17
|
+
readonly orgGroupMembers: OrgGroupMemberService;
|
|
18
|
+
readonly orgSubscriptions: OrgSubscriptionService;
|
|
19
|
+
readonly userCapabilitiesAndPermissions: UserCapabilitiesAndPermissionsService;
|
|
20
|
+
constructor();
|
|
21
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AuthzMockService = void 0;
|
|
4
|
+
const api_base_mock_1 = require("../api-base.mock");
|
|
5
|
+
const capability_bundle_mock_service_1 = require("./capability-bundle.mock.service");
|
|
6
|
+
const capability_mock_service_1 = require("./capability.mock.service");
|
|
7
|
+
const org_group_capability_bundle_mock_service_1 = require("./org-group-capability-bundle.mock.service");
|
|
8
|
+
const org_group_capability_mock_service_1 = require("./org-group-capability.mock.service");
|
|
9
|
+
const org_group_member_mock_service_1 = require("./org-group-member.mock.service");
|
|
10
|
+
const org_group_mock_service_1 = require("./org-group.mock.service");
|
|
11
|
+
const org_subscription_mock_service_1 = require("./org-subscription.mock.service");
|
|
12
|
+
const user_capabilities_and_permissions_mock_service_1 = require("./user-capabilities-and-permissions.mock.service");
|
|
13
|
+
class AuthzMockService extends api_base_mock_1.APIBaseMock {
|
|
14
|
+
constructor() {
|
|
15
|
+
super(null);
|
|
16
|
+
this.capabilities = new capability_mock_service_1.CapabilityMockService();
|
|
17
|
+
this.capabilityBundles = new capability_bundle_mock_service_1.CapabilityBundleMockService();
|
|
18
|
+
this.orgGroups = new org_group_mock_service_1.OrgGroupMockService();
|
|
19
|
+
this.orgGroupCapabilities = new org_group_capability_mock_service_1.OrgGroupCapabilityMockService();
|
|
20
|
+
this.orgGroupCapabilityBundles = new org_group_capability_bundle_mock_service_1.OrgGroupCapabilityBundleMockService();
|
|
21
|
+
this.orgGroupMembers = new org_group_member_mock_service_1.OrgGroupMemberMockService();
|
|
22
|
+
this.orgSubscriptions = new org_subscription_mock_service_1.OrgSubscriptionMockService();
|
|
23
|
+
this.userCapabilitiesAndPermissions = new user_capabilities_and_permissions_mock_service_1.UserCapabilitiesAndPermissionsMockService();
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.AuthzMockService = AuthzMockService;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { APIBaseMock } from '../../mock/api-base.mock';
|
|
2
|
+
import { CapabilityBundleService } from '../../services/authz/capability-bundle.service';
|
|
3
|
+
export declare class CapabilityBundleMockService extends APIBaseMock<never> implements CapabilityBundleService {
|
|
4
|
+
constructor();
|
|
5
|
+
getCapabilityBundlesForOrg(): ReturnType<CapabilityBundleService['getCapabilityBundlesForOrg']>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CapabilityBundleMockService = void 0;
|
|
4
|
+
const api_base_mock_1 = require("../../mock/api-base.mock");
|
|
5
|
+
class CapabilityBundleMockService extends api_base_mock_1.APIBaseMock {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(null);
|
|
8
|
+
}
|
|
9
|
+
getCapabilityBundlesForOrg() {
|
|
10
|
+
throw new Error('Method not implemented.');
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.CapabilityBundleMockService = CapabilityBundleMockService;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { APIBaseMock } from '../../mock/api-base.mock';
|
|
2
|
+
import { CapabilityService } from '../../services/authz/capability.service';
|
|
3
|
+
export declare class CapabilityMockService extends APIBaseMock<never> implements CapabilityService {
|
|
4
|
+
constructor();
|
|
5
|
+
getCapabilitiesForOrg(): ReturnType<CapabilityService['getCapabilitiesForOrg']>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CapabilityMockService = void 0;
|
|
4
|
+
const api_base_mock_1 = require("../../mock/api-base.mock");
|
|
5
|
+
class CapabilityMockService extends api_base_mock_1.APIBaseMock {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(null);
|
|
8
|
+
}
|
|
9
|
+
getCapabilitiesForOrg() {
|
|
10
|
+
throw new Error('Method not implemented.');
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.CapabilityMockService = CapabilityMockService;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AuthzMockService } from './authz.mock.service';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AuthzMockService = void 0;
|
|
4
|
+
var authz_mock_service_1 = require("./authz.mock.service");
|
|
5
|
+
Object.defineProperty(exports, "AuthzMockService", { enumerable: true, get: function () { return authz_mock_service_1.AuthzMockService; } });
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { APIBaseMock } from '../../mock/api-base.mock';
|
|
2
|
+
import { OrgGroupCapabilityBundleService } from '../../services/authz/org-group-capability-bundle.service';
|
|
3
|
+
export declare class OrgGroupCapabilityBundleMockService extends APIBaseMock<never> implements OrgGroupCapabilityBundleService {
|
|
4
|
+
constructor();
|
|
5
|
+
getOrgGroupCapabilityBundles(): ReturnType<OrgGroupCapabilityBundleService['getOrgGroupCapabilityBundles']>;
|
|
6
|
+
getOrgGroupCapabilityBundle(): ReturnType<OrgGroupCapabilityBundleService['getOrgGroupCapabilityBundle']>;
|
|
7
|
+
createOrgGroupCapabilityBundle(): ReturnType<OrgGroupCapabilityBundleService['createOrgGroupCapabilityBundle']>;
|
|
8
|
+
deleteOrgGroupCapabilityBundle(): ReturnType<OrgGroupCapabilityBundleService['deleteOrgGroupCapabilityBundle']>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OrgGroupCapabilityBundleMockService = void 0;
|
|
4
|
+
const api_base_mock_1 = require("../../mock/api-base.mock");
|
|
5
|
+
class OrgGroupCapabilityBundleMockService extends api_base_mock_1.APIBaseMock {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(null);
|
|
8
|
+
}
|
|
9
|
+
getOrgGroupCapabilityBundles() {
|
|
10
|
+
throw new Error('Method not implemented.');
|
|
11
|
+
}
|
|
12
|
+
getOrgGroupCapabilityBundle() {
|
|
13
|
+
throw new Error('Method not implemented.');
|
|
14
|
+
}
|
|
15
|
+
createOrgGroupCapabilityBundle() {
|
|
16
|
+
throw new Error('Method not implemented.');
|
|
17
|
+
}
|
|
18
|
+
deleteOrgGroupCapabilityBundle() {
|
|
19
|
+
throw new Error('Method not implemented.');
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.OrgGroupCapabilityBundleMockService = OrgGroupCapabilityBundleMockService;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { APIBaseMock } from '../../mock/api-base.mock';
|
|
2
|
+
import { OrgGroupCapabilityService } from '../../services/authz/org-group-capability.service';
|
|
3
|
+
export declare class OrgGroupCapabilityMockService extends APIBaseMock<never> implements OrgGroupCapabilityService {
|
|
4
|
+
constructor();
|
|
5
|
+
getOrgGroupCapabilities(): ReturnType<OrgGroupCapabilityService['getOrgGroupCapabilities']>;
|
|
6
|
+
getOrgGroupCapability(): ReturnType<OrgGroupCapabilityService['getOrgGroupCapability']>;
|
|
7
|
+
createOrgGroupCapability(): ReturnType<OrgGroupCapabilityService['createOrgGroupCapability']>;
|
|
8
|
+
deleteOrgGroupCapability(): ReturnType<OrgGroupCapabilityService['deleteOrgGroupCapability']>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OrgGroupCapabilityMockService = void 0;
|
|
4
|
+
const api_base_mock_1 = require("../../mock/api-base.mock");
|
|
5
|
+
class OrgGroupCapabilityMockService extends api_base_mock_1.APIBaseMock {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(null);
|
|
8
|
+
}
|
|
9
|
+
getOrgGroupCapabilities() {
|
|
10
|
+
throw new Error('Method not implemented.');
|
|
11
|
+
}
|
|
12
|
+
getOrgGroupCapability() {
|
|
13
|
+
throw new Error('Method not implemented.');
|
|
14
|
+
}
|
|
15
|
+
createOrgGroupCapability() {
|
|
16
|
+
throw new Error('Method not implemented.');
|
|
17
|
+
}
|
|
18
|
+
deleteOrgGroupCapability() {
|
|
19
|
+
throw new Error('Method not implemented.');
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.OrgGroupCapabilityMockService = OrgGroupCapabilityMockService;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { APIBaseMock } from '../../mock/api-base.mock';
|
|
2
|
+
import { OrgGroupMemberService } from '../../services/authz/org-group-member.service';
|
|
3
|
+
export declare class OrgGroupMemberMockService extends APIBaseMock<never> implements OrgGroupMemberService {
|
|
4
|
+
constructor();
|
|
5
|
+
getOrgGroupMembers(): ReturnType<OrgGroupMemberService['getOrgGroupMembers']>;
|
|
6
|
+
addUserToOrgGroup(): ReturnType<OrgGroupMemberService['addUserToOrgGroup']>;
|
|
7
|
+
removeUserFromOrgGroup(): ReturnType<OrgGroupMemberService['removeUserFromOrgGroup']>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OrgGroupMemberMockService = void 0;
|
|
4
|
+
const api_base_mock_1 = require("../../mock/api-base.mock");
|
|
5
|
+
class OrgGroupMemberMockService extends api_base_mock_1.APIBaseMock {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(null);
|
|
8
|
+
}
|
|
9
|
+
getOrgGroupMembers() {
|
|
10
|
+
throw new Error('Method not implemented.');
|
|
11
|
+
}
|
|
12
|
+
addUserToOrgGroup() {
|
|
13
|
+
throw new Error('Method not implemented.');
|
|
14
|
+
}
|
|
15
|
+
removeUserFromOrgGroup() {
|
|
16
|
+
throw new Error('Method not implemented.');
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.OrgGroupMemberMockService = OrgGroupMemberMockService;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { APIBaseMock } from '../../mock/api-base.mock';
|
|
2
|
+
import { OrgGroupService } from '../../services/authz/org-group.service';
|
|
3
|
+
export declare class OrgGroupMockService extends APIBaseMock<never> implements OrgGroupService {
|
|
4
|
+
constructor();
|
|
5
|
+
getOrgGroupsByOrgId(): ReturnType<OrgGroupService['getOrgGroupsByOrgId']>;
|
|
6
|
+
getOrgGroupById(): ReturnType<OrgGroupService['getOrgGroupById']>;
|
|
7
|
+
createOrgGroup(): ReturnType<OrgGroupService['createOrgGroup']>;
|
|
8
|
+
updateOrgGroup(): ReturnType<OrgGroupService['updateOrgGroup']>;
|
|
9
|
+
deleteOrgGroup(): ReturnType<OrgGroupService['deleteOrgGroup']>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OrgGroupMockService = void 0;
|
|
4
|
+
const api_base_mock_1 = require("../../mock/api-base.mock");
|
|
5
|
+
class OrgGroupMockService extends api_base_mock_1.APIBaseMock {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(null);
|
|
8
|
+
}
|
|
9
|
+
getOrgGroupsByOrgId() {
|
|
10
|
+
throw new Error('Method not implemented.');
|
|
11
|
+
}
|
|
12
|
+
getOrgGroupById() {
|
|
13
|
+
throw new Error('Method not implemented.');
|
|
14
|
+
}
|
|
15
|
+
createOrgGroup() {
|
|
16
|
+
throw new Error('Method not implemented.');
|
|
17
|
+
}
|
|
18
|
+
updateOrgGroup() {
|
|
19
|
+
throw new Error('Method not implemented.');
|
|
20
|
+
}
|
|
21
|
+
deleteOrgGroup() {
|
|
22
|
+
throw new Error('Method not implemented.');
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
exports.OrgGroupMockService = OrgGroupMockService;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { APIBaseMock } from '../../mock/api-base.mock';
|
|
2
|
+
import { OrgSubscriptionService } from '../../services/authz/org-subscription.service';
|
|
3
|
+
export declare class OrgSubscriptionMockService extends APIBaseMock<never> implements OrgSubscriptionService {
|
|
4
|
+
constructor();
|
|
5
|
+
getOrgSubscriptionsByOrgId(): ReturnType<OrgSubscriptionService['getOrgSubscriptionsByOrgId']>;
|
|
6
|
+
getOrgSubscriptionById(): ReturnType<OrgSubscriptionService['getOrgSubscriptionById']>;
|
|
7
|
+
createOrgSubscription(): ReturnType<OrgSubscriptionService['createOrgSubscription']>;
|
|
8
|
+
updateOrgSubscription(): ReturnType<OrgSubscriptionService['updateOrgSubscription']>;
|
|
9
|
+
deleteOrgSubscription(): ReturnType<OrgSubscriptionService['deleteOrgSubscription']>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OrgSubscriptionMockService = void 0;
|
|
4
|
+
const api_base_mock_1 = require("../../mock/api-base.mock");
|
|
5
|
+
class OrgSubscriptionMockService extends api_base_mock_1.APIBaseMock {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(null);
|
|
8
|
+
}
|
|
9
|
+
getOrgSubscriptionsByOrgId() {
|
|
10
|
+
throw new Error('Method not implemented.');
|
|
11
|
+
}
|
|
12
|
+
getOrgSubscriptionById() {
|
|
13
|
+
throw new Error('Method not implemented.');
|
|
14
|
+
}
|
|
15
|
+
createOrgSubscription() {
|
|
16
|
+
throw new Error('Method not implemented.');
|
|
17
|
+
}
|
|
18
|
+
updateOrgSubscription() {
|
|
19
|
+
throw new Error('Method not implemented.');
|
|
20
|
+
}
|
|
21
|
+
deleteOrgSubscription() {
|
|
22
|
+
throw new Error('Method not implemented.');
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
exports.OrgSubscriptionMockService = OrgSubscriptionMockService;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Permission } from '../../interfaces';
|
|
2
|
+
import { CapabilityId } from '../../interfaces/authz';
|
|
3
|
+
import { UserCapabilitiesAndPermissionsService } from '../../services/authz/user-capabilities-and-permissions.service';
|
|
4
|
+
import { APIBaseMock } from '../api-base.mock';
|
|
5
|
+
export declare class UserCapabilitiesAndPermissionsMockService extends APIBaseMock<never> implements UserCapabilitiesAndPermissionsService {
|
|
6
|
+
constructor();
|
|
7
|
+
getUserCapabilitiesAndPermissions(): Promise<CapabilityId[]>;
|
|
8
|
+
getUserPermissions(): Promise<Permission[]>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UserCapabilitiesAndPermissionsMockService = void 0;
|
|
4
|
+
const api_base_mock_1 = require("../api-base.mock");
|
|
5
|
+
class UserCapabilitiesAndPermissionsMockService extends api_base_mock_1.APIBaseMock {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(null);
|
|
8
|
+
}
|
|
9
|
+
getUserCapabilitiesAndPermissions() {
|
|
10
|
+
throw new Error('Method not implemented.');
|
|
11
|
+
}
|
|
12
|
+
getUserPermissions() {
|
|
13
|
+
throw new Error('Method not implemented.');
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.UserCapabilitiesAndPermissionsMockService = UserCapabilitiesAndPermissionsMockService;
|
package/src/lib/mock/index.d.ts
CHANGED
package/src/lib/mock/index.js
CHANGED
|
@@ -69,3 +69,4 @@ var user_mock_service_1 = require("./user.mock.service");
|
|
|
69
69
|
Object.defineProperty(exports, "UserMockService", { enumerable: true, get: function () { return user_mock_service_1.UserMockService; } });
|
|
70
70
|
var vault_mock_service_1 = require("./vault.mock.service");
|
|
71
71
|
Object.defineProperty(exports, "VaultMockService", { enumerable: true, get: function () { return vault_mock_service_1.VaultMockService; } });
|
|
72
|
+
tslib_1.__exportStar(require("./authz"), exports);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { DeleteQuery, Paginated, RequestParameter, Task } from '../interfaces';
|
|
2
2
|
import { TaskService } from '../services';
|
|
3
|
+
import type { CreateAbsenceRequest } from '../services/task.service';
|
|
3
4
|
import { DataMockService } from './data.mock.service';
|
|
4
5
|
import { ShareMockService } from './share.mock.service';
|
|
5
6
|
import { TrashMockService } from './trash.mock.service';
|
|
@@ -13,6 +14,7 @@ declare class BaseService extends BaseService_base {
|
|
|
13
14
|
export declare class TaskMockService extends BaseService implements TaskService {
|
|
14
15
|
constructor(tasks: Task[]);
|
|
15
16
|
createTaskAttachedToAsset(dto: any): Promise<Task>;
|
|
17
|
+
createAbsence(dto: CreateAbsenceRequest): Promise<Task>;
|
|
16
18
|
deleteOne(taskId: string, deleteQuery?: DeleteQuery): Promise<Task>;
|
|
17
19
|
getMany(params?: RequestParameter): Promise<Paginated<Task>>;
|
|
18
20
|
findByName(name: string, options?: any): Promise<Paginated<Task>>;
|
|
@@ -15,6 +15,15 @@ class TaskMockService extends BaseService {
|
|
|
15
15
|
this.data.push(dto);
|
|
16
16
|
return Promise.resolve(dto);
|
|
17
17
|
}
|
|
18
|
+
async createAbsence(dto) {
|
|
19
|
+
return this.addOne({
|
|
20
|
+
...dto,
|
|
21
|
+
name: `Absence ${dto.startDate} - ${dto.endDate}`,
|
|
22
|
+
assignedTo: [],
|
|
23
|
+
readPermissions: [],
|
|
24
|
+
readWritePermissions: [],
|
|
25
|
+
});
|
|
26
|
+
}
|
|
18
27
|
deleteOne(taskId, deleteQuery = {}) {
|
|
19
28
|
const task = this.data.find((v) => v.id === taskId);
|
|
20
29
|
if (!task?.deletedAt && !deleteQuery.force) {
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { APIBase } from '../../api-base';
|
|
2
|
+
import { HttpClientService } from '../http-client.service';
|
|
3
|
+
import { CapabilityBundleService } from './capability-bundle.service';
|
|
4
|
+
import { CapabilityService } from './capability.service';
|
|
5
|
+
import { OrgGroupCapabilityBundleService } from './org-group-capability-bundle.service';
|
|
6
|
+
import { OrgGroupCapabilityService } from './org-group-capability.service';
|
|
7
|
+
import { OrgGroupMemberService } from './org-group-member.service';
|
|
8
|
+
import { OrgGroupService } from './org-group.service';
|
|
9
|
+
import { OrgSubscriptionService } from './org-subscription.service';
|
|
10
|
+
import { UserCapabilitiesAndPermissionsService } from './user-capabilities-and-permissions.service';
|
|
11
|
+
export declare class AuthzService extends APIBase {
|
|
12
|
+
readonly capabilities: CapabilityService;
|
|
13
|
+
readonly capabilityBundles: CapabilityBundleService;
|
|
14
|
+
readonly orgGroups: OrgGroupService;
|
|
15
|
+
readonly orgGroupCapabilities: OrgGroupCapabilityService;
|
|
16
|
+
readonly orgGroupCapabilityBundles: OrgGroupCapabilityBundleService;
|
|
17
|
+
readonly orgGroupMembers: OrgGroupMemberService;
|
|
18
|
+
readonly orgSubscriptions: OrgSubscriptionService;
|
|
19
|
+
readonly userCapabilitiesAndPermissions: UserCapabilitiesAndPermissionsService;
|
|
20
|
+
constructor(httpClient: HttpClientService);
|
|
21
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AuthzService = void 0;
|
|
4
|
+
const api_base_1 = require("../../api-base");
|
|
5
|
+
const capability_bundle_service_1 = require("./capability-bundle.service");
|
|
6
|
+
const capability_service_1 = require("./capability.service");
|
|
7
|
+
const org_group_capability_bundle_service_1 = require("./org-group-capability-bundle.service");
|
|
8
|
+
const org_group_capability_service_1 = require("./org-group-capability.service");
|
|
9
|
+
const org_group_member_service_1 = require("./org-group-member.service");
|
|
10
|
+
const org_group_service_1 = require("./org-group.service");
|
|
11
|
+
const org_subscription_service_1 = require("./org-subscription.service");
|
|
12
|
+
const user_capabilities_and_permissions_service_1 = require("./user-capabilities-and-permissions.service");
|
|
13
|
+
class AuthzService extends api_base_1.APIBase {
|
|
14
|
+
constructor(httpClient) {
|
|
15
|
+
super(httpClient, '/authz');
|
|
16
|
+
this.capabilities = new capability_service_1.CapabilityService(httpClient);
|
|
17
|
+
this.capabilityBundles = new capability_bundle_service_1.CapabilityBundleService(httpClient);
|
|
18
|
+
this.orgGroups = new org_group_service_1.OrgGroupService(httpClient);
|
|
19
|
+
this.orgGroupCapabilities = new org_group_capability_service_1.OrgGroupCapabilityService(httpClient);
|
|
20
|
+
this.orgGroupCapabilityBundles = new org_group_capability_bundle_service_1.OrgGroupCapabilityBundleService(httpClient);
|
|
21
|
+
this.orgGroupMembers = new org_group_member_service_1.OrgGroupMemberService(httpClient);
|
|
22
|
+
this.orgSubscriptions = new org_subscription_service_1.OrgSubscriptionService(httpClient);
|
|
23
|
+
this.userCapabilitiesAndPermissions = new user_capabilities_and_permissions_service_1.UserCapabilitiesAndPermissionsService(httpClient);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.AuthzService = AuthzService;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { APIBase } from '../../api-base';
|
|
2
|
+
import type { CapabilityBundle, SqlPagination } from '../../interfaces/authz';
|
|
3
|
+
import { HttpClientService } from '../http-client.service';
|
|
4
|
+
export declare class CapabilityBundleService extends APIBase {
|
|
5
|
+
constructor(httpClient: HttpClientService);
|
|
6
|
+
getCapabilityBundlesForOrg(orgId: string, sqlPagination?: SqlPagination): Promise<CapabilityBundle[]>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CapabilityBundleService = void 0;
|
|
4
|
+
const api_base_1 = require("../../api-base");
|
|
5
|
+
class CapabilityBundleService extends api_base_1.APIBase {
|
|
6
|
+
constructor(httpClient) {
|
|
7
|
+
super(httpClient, '/authz/capability-bundles');
|
|
8
|
+
}
|
|
9
|
+
getCapabilityBundlesForOrg(orgId, sqlPagination = {}) {
|
|
10
|
+
return this.httpClient.get(`${this.basePath}/${orgId}`, { params: sqlPagination });
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.CapabilityBundleService = CapabilityBundleService;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { APIBase } from '../../api-base';
|
|
2
|
+
import type { Capability, SqlPagination } from '../../interfaces/authz';
|
|
3
|
+
import { HttpClientService } from '../http-client.service';
|
|
4
|
+
export declare class CapabilityService extends APIBase {
|
|
5
|
+
constructor(httpClient: HttpClientService);
|
|
6
|
+
getCapabilitiesForOrg(orgId: string, sqlPagination?: SqlPagination): Promise<Capability[]>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CapabilityService = void 0;
|
|
4
|
+
const api_base_1 = require("../../api-base");
|
|
5
|
+
class CapabilityService extends api_base_1.APIBase {
|
|
6
|
+
constructor(httpClient) {
|
|
7
|
+
super(httpClient, '/authz/capabilities');
|
|
8
|
+
}
|
|
9
|
+
getCapabilitiesForOrg(orgId, sqlPagination = {}) {
|
|
10
|
+
return this.httpClient.get(`${this.basePath}/${orgId}`, { params: sqlPagination });
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.CapabilityService = CapabilityService;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AuthzService } from './authz.service';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AuthzService = void 0;
|
|
4
|
+
var authz_service_1 = require("./authz.service");
|
|
5
|
+
Object.defineProperty(exports, "AuthzService", { enumerable: true, get: function () { return authz_service_1.AuthzService; } });
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { APIBase } from '../../api-base';
|
|
2
|
+
import type { CapabilityBundleId, CreateOrgGroupCapabilityBundle, OrgGroupCapabilityBundle, SqlPagination } from '../../interfaces/authz';
|
|
3
|
+
import { HttpClientService } from '../http-client.service';
|
|
4
|
+
export declare class OrgGroupCapabilityBundleService extends APIBase {
|
|
5
|
+
constructor(httpClient: HttpClientService);
|
|
6
|
+
getOrgGroupCapabilityBundles(orgGroupId: string, sqlPagination?: SqlPagination): Promise<OrgGroupCapabilityBundle[]>;
|
|
7
|
+
getOrgGroupCapabilityBundle(orgGroupId: string, capabilityBundleId: CapabilityBundleId): Promise<OrgGroupCapabilityBundle>;
|
|
8
|
+
createOrgGroupCapabilityBundle(createOrgGroupCapabilityBundle: CreateOrgGroupCapabilityBundle): Promise<OrgGroupCapabilityBundle>;
|
|
9
|
+
deleteOrgGroupCapabilityBundle(orgGroupId: string, capabilityBundleId: CapabilityBundleId): Promise<void>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OrgGroupCapabilityBundleService = void 0;
|
|
4
|
+
const api_base_1 = require("../../api-base");
|
|
5
|
+
class OrgGroupCapabilityBundleService extends api_base_1.APIBase {
|
|
6
|
+
constructor(httpClient) {
|
|
7
|
+
super(httpClient, '/authz/org-group-capabilities-bundles');
|
|
8
|
+
}
|
|
9
|
+
getOrgGroupCapabilityBundles(orgGroupId, sqlPagination = {}) {
|
|
10
|
+
return this.httpClient.get(`${this.basePath}/${orgGroupId}`, { params: sqlPagination });
|
|
11
|
+
}
|
|
12
|
+
getOrgGroupCapabilityBundle(orgGroupId, capabilityBundleId) {
|
|
13
|
+
return this.httpClient.get(`${this.basePath}/${orgGroupId}/${capabilityBundleId}`);
|
|
14
|
+
}
|
|
15
|
+
createOrgGroupCapabilityBundle(createOrgGroupCapabilityBundle) {
|
|
16
|
+
return this.httpClient.post(this.basePath, createOrgGroupCapabilityBundle);
|
|
17
|
+
}
|
|
18
|
+
deleteOrgGroupCapabilityBundle(orgGroupId, capabilityBundleId) {
|
|
19
|
+
return this.httpClient.delete(`${this.basePath}/${orgGroupId}/${capabilityBundleId}`);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.OrgGroupCapabilityBundleService = OrgGroupCapabilityBundleService;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { APIBase } from '../../api-base';
|
|
2
|
+
import type { CapabilityId, CreateOrgGroupCapability, OrgGroupCapability, SqlPagination } from '../../interfaces/authz';
|
|
3
|
+
import { HttpClientService } from '../http-client.service';
|
|
4
|
+
export declare class OrgGroupCapabilityService extends APIBase {
|
|
5
|
+
constructor(httpClient: HttpClientService);
|
|
6
|
+
getOrgGroupCapabilities(orgGroupId: string, sqlPagination?: SqlPagination): Promise<OrgGroupCapability[]>;
|
|
7
|
+
getOrgGroupCapability(orgGroupId: string, capabilityId: CapabilityId): Promise<OrgGroupCapability>;
|
|
8
|
+
createOrgGroupCapability(createOrgGroupCapability: CreateOrgGroupCapability): Promise<OrgGroupCapability>;
|
|
9
|
+
deleteOrgGroupCapability(orgGroupId: string, capabilityId: CapabilityId): Promise<void>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OrgGroupCapabilityService = void 0;
|
|
4
|
+
const api_base_1 = require("../../api-base");
|
|
5
|
+
class OrgGroupCapabilityService extends api_base_1.APIBase {
|
|
6
|
+
constructor(httpClient) {
|
|
7
|
+
super(httpClient, '/authz/org-group-capabilities');
|
|
8
|
+
}
|
|
9
|
+
getOrgGroupCapabilities(orgGroupId, sqlPagination = {}) {
|
|
10
|
+
return this.httpClient.get(`${this.basePath}/${orgGroupId}`, { params: sqlPagination });
|
|
11
|
+
}
|
|
12
|
+
getOrgGroupCapability(orgGroupId, capabilityId) {
|
|
13
|
+
return this.httpClient.get(`${this.basePath}/${orgGroupId}/${capabilityId}`);
|
|
14
|
+
}
|
|
15
|
+
createOrgGroupCapability(createOrgGroupCapability) {
|
|
16
|
+
return this.httpClient.post(this.basePath, createOrgGroupCapability);
|
|
17
|
+
}
|
|
18
|
+
deleteOrgGroupCapability(orgGroupId, capabilityId) {
|
|
19
|
+
return this.httpClient.delete(`${this.basePath}/${orgGroupId}/${capabilityId}`);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.OrgGroupCapabilityService = OrgGroupCapabilityService;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { APIBase } from '../../api-base';
|
|
2
|
+
import type { CreateOrgGroupMember, SqlPagination, SqlPaginationResult } from '../../interfaces/authz';
|
|
3
|
+
import { HttpClientService } from '../http-client.service';
|
|
4
|
+
export declare class OrgGroupMemberService extends APIBase {
|
|
5
|
+
constructor(httpClient: HttpClientService);
|
|
6
|
+
getOrgGroupMembers(orgGroupId: string, sqlPagination?: SqlPagination): Promise<SqlPaginationResult<string>>;
|
|
7
|
+
addUserToOrgGroup(createOrgGroupMember: CreateOrgGroupMember): Promise<void>;
|
|
8
|
+
removeUserFromOrgGroup(orgGroupId: string, userId: string): Promise<void>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OrgGroupMemberService = void 0;
|
|
4
|
+
const api_base_1 = require("../../api-base");
|
|
5
|
+
class OrgGroupMemberService extends api_base_1.APIBase {
|
|
6
|
+
constructor(httpClient) {
|
|
7
|
+
super(httpClient, '/authz/org-group-members');
|
|
8
|
+
}
|
|
9
|
+
getOrgGroupMembers(orgGroupId, sqlPagination = {}) {
|
|
10
|
+
return this.httpClient.get(`${this.basePath}/${orgGroupId}`, { params: sqlPagination });
|
|
11
|
+
}
|
|
12
|
+
addUserToOrgGroup(createOrgGroupMember) {
|
|
13
|
+
return this.httpClient.post(this.basePath, createOrgGroupMember);
|
|
14
|
+
}
|
|
15
|
+
removeUserFromOrgGroup(orgGroupId, userId) {
|
|
16
|
+
return this.httpClient.delete(`${this.basePath}/${orgGroupId}/${userId}`);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.OrgGroupMemberService = OrgGroupMemberService;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { APIBase } from '../../api-base';
|
|
2
|
+
import type { CreateOrgGroup, OrgGroup, SqlPagination, SqlPaginationResult, UpdateOrgGroup } from '../../interfaces/authz';
|
|
3
|
+
import { HttpClientService } from '../http-client.service';
|
|
4
|
+
export declare class OrgGroupService extends APIBase {
|
|
5
|
+
constructor(httpClient: HttpClientService);
|
|
6
|
+
getOrgGroupsByOrgId(orgId: string, sqlPagination?: SqlPagination): Promise<SqlPaginationResult<OrgGroup>>;
|
|
7
|
+
getOrgGroupById(orgGroupId: string): Promise<OrgGroup>;
|
|
8
|
+
createOrgGroup(createOrgGroup: CreateOrgGroup): Promise<OrgGroup>;
|
|
9
|
+
updateOrgGroup(orgGroupId: string, updateOrgGroup: UpdateOrgGroup): Promise<OrgGroup>;
|
|
10
|
+
deleteOrgGroup(orgGroupId: string): Promise<void>;
|
|
11
|
+
}
|