@hahnpro/hpc-api 2026.9.8 → 2026.9.10
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 +1 -1
- package/src/lib/api.d.ts +1 -1
- package/src/lib/interfaces/ai.interface.d.ts +25 -7
- package/src/lib/interfaces/ai.interface.js +6 -0
- package/src/lib/interfaces/authz/capability-bundle.interface.d.ts +8 -2
- package/src/lib/interfaces/authz/capability-bundle.interface.js +11 -1
- package/src/lib/interfaces/authz/capability.interface.d.ts +13 -11
- package/src/lib/interfaces/authz/capability.interface.js +19 -13
- package/src/lib/interfaces/authz/feature.interface.d.ts +6 -2
- package/src/lib/interfaces/authz/feature.interface.js +9 -2
- package/src/lib/interfaces/authz/plan.interface.d.ts +6 -2
- package/src/lib/interfaces/authz/plan.interface.js +5 -1
- package/src/lib/interfaces/index.d.ts +1 -1
- package/src/lib/interfaces/nats.interface.d.ts +10 -0
- package/src/lib/interfaces/nats.interface.js +10 -0
- package/src/lib/mock/api.mock.d.ts +2 -2
- package/src/lib/mock/api.mock.js +1 -1
- package/src/lib/mock/authz/authorization.mock.service.d.ts +10 -0
- package/src/lib/mock/authz/authorization.mock.service.js +22 -0
- package/src/lib/mock/authz/authz.mock.service.d.ts +2 -6
- package/src/lib/mock/authz/authz.mock.service.js +2 -6
- package/src/lib/mock/authz/org-group-capability-bundle.mock.service.d.ts +4 -4
- package/src/lib/mock/authz/org-group-capability-bundle.mock.service.js +4 -4
- package/src/lib/mock/authz/org-group-capability.mock.service.d.ts +4 -4
- package/src/lib/mock/authz/org-group-capability.mock.service.js +4 -4
- package/src/lib/mock/authz/org-group-member.mock.service.d.ts +3 -3
- package/src/lib/mock/authz/org-group-member.mock.service.js +3 -3
- package/src/lib/mock/authz/org-group.mock.service.d.ts +5 -5
- package/src/lib/mock/authz/org-group.mock.service.js +5 -5
- package/src/lib/mock/authz/org-subscription.mock.service.d.ts +2 -5
- package/src/lib/mock/authz/org-subscription.mock.service.js +2 -11
- package/src/lib/mock/timeseries-value-feed-management.mock.service.js +5 -1
- package/src/lib/mock/timeseries.mock.service.d.ts +1 -1
- package/src/lib/mock/timeseries.mock.service.js +4 -3
- package/src/lib/services/authz/authorization.service.d.ts +11 -0
- package/src/lib/services/authz/authorization.service.js +22 -0
- package/src/lib/services/authz/authz.service.d.ts +2 -6
- package/src/lib/services/authz/authz.service.js +2 -6
- package/src/lib/services/authz/org-group-capability-bundle.service.d.ts +5 -4
- package/src/lib/services/authz/org-group-capability-bundle.service.js +11 -8
- package/src/lib/services/authz/org-group-capability.service.d.ts +5 -4
- package/src/lib/services/authz/org-group-capability.service.js +11 -8
- package/src/lib/services/authz/org-group-member.service.d.ts +4 -3
- package/src/lib/services/authz/org-group-member.service.js +9 -6
- package/src/lib/services/authz/org-group.service.d.ts +6 -5
- package/src/lib/services/authz/org-group.service.js +10 -10
- package/src/lib/services/authz/org-subscription.service.d.ts +4 -6
- package/src/lib/services/authz/org-subscription.service.js +4 -13
- package/src/lib/services/http-client.service.js +1 -2
- package/src/lib/services/timeseries.service.d.ts +1 -1
- package/src/lib/services/timeseries.service.js +2 -2
- package/src/lib/mock/authz/capability-bundle.mock.service.d.ts +0 -6
- package/src/lib/mock/authz/capability-bundle.mock.service.js +0 -13
- package/src/lib/mock/authz/capability.mock.service.d.ts +0 -6
- package/src/lib/mock/authz/capability.mock.service.js +0 -13
- package/src/lib/mock/authz/user-capabilities-and-permissions.mock.service.d.ts +0 -9
- package/src/lib/mock/authz/user-capabilities-and-permissions.mock.service.js +0 -16
- package/src/lib/services/authz/capability-bundle.service.d.ts +0 -7
- package/src/lib/services/authz/capability-bundle.service.js +0 -13
- package/src/lib/services/authz/capability.service.d.ts +0 -7
- package/src/lib/services/authz/capability.service.js +0 -13
- package/src/lib/services/authz/user-capabilities-and-permissions.service.d.ts +0 -9
- package/src/lib/services/authz/user-capabilities-and-permissions.service.js +0 -16
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
package/src/lib/api.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { QueueOptions } from './queue';
|
|
2
1
|
import type { TimeSeriesValueFeedManagementApi } from './interfaces';
|
|
2
|
+
import { QueueOptions } from './queue';
|
|
3
3
|
import { AiService, AlertService, AssetService, AssetTypesService, AuthzService, ContentService, CrmService, DataspaceService, EndpointService, EventService, FlangeSkillControlService, FlowDeploymentService, FlowFunctionService, FlowModuleService, FlowService, HttpClientService, LabelService, LogbookService, NotificationRuleService, NotificationService, ObjectReferenceService, OrganizationsAdministrationService, OrganizationsResourcesService, OrganizationsService, ProxyService, SearchService, TaskService, TimeSeriesService, UserService, VaultService } from './services';
|
|
4
4
|
export declare class API {
|
|
5
5
|
readonly httpClient?: HttpClientService;
|
|
@@ -59,6 +59,7 @@ export declare enum ReferenceType {
|
|
|
59
59
|
EVENT = "event",
|
|
60
60
|
LOGBOOK_ENTRY = "logbook-entry",
|
|
61
61
|
TASK = "task",
|
|
62
|
+
TIMESERIES = "timeseries",
|
|
62
63
|
WEB_SOURCE = "web-source"
|
|
63
64
|
}
|
|
64
65
|
export declare enum AgentId {
|
|
@@ -76,7 +77,8 @@ export declare enum AgentId {
|
|
|
76
77
|
RESEARCH_INSTRUCTION_BUILDER = "research-instruction-builder-agent",
|
|
77
78
|
AXALTA_ASSET_IDENTIFIER = "axalta-asset-identifier-agent",
|
|
78
79
|
AXALTA_MESSAGE = "axalta-message-agent",
|
|
79
|
-
TRIAGE = "triage-agent"
|
|
80
|
+
TRIAGE = "triage-agent",
|
|
81
|
+
HAWIC = "hawic-agent"
|
|
80
82
|
}
|
|
81
83
|
export declare const ATTACHMENT_CAPABLE_AGENT_IDS: AgentId[];
|
|
82
84
|
export declare enum ToolName {
|
|
@@ -125,7 +127,10 @@ export declare enum ToolName {
|
|
|
125
127
|
WEB_SEARCH = "web_search",
|
|
126
128
|
USE_SKILL = "useSkill",
|
|
127
129
|
READ_SKILL_FILE = "readSkillFile",
|
|
128
|
-
RUN_SKILL_SCRIPT = "runSkillScript"
|
|
130
|
+
RUN_SKILL_SCRIPT = "runSkillScript",
|
|
131
|
+
SEARCH_TIME_SERIES = "searchTimeSeries",
|
|
132
|
+
TIME_SERIES_SELECTION = "timeSeriesSelection",
|
|
133
|
+
RETRIEVE_TIME_SERIES_VALUES = "retrieveTimeSeriesValues"
|
|
129
134
|
}
|
|
130
135
|
export declare enum ReturnToReferrerTool {
|
|
131
136
|
ASSET_IDENTIFIER = "returnToReferrer_asset-identifier-agent",
|
|
@@ -149,7 +154,8 @@ export declare enum AiAssistantId {
|
|
|
149
154
|
CRM = "crm-assistant",
|
|
150
155
|
INCIDENT = "incident-assistant",
|
|
151
156
|
REPORT = "report-assistant",
|
|
152
|
-
AXALTA_INCIDENT = "axalta-incident-assistant"
|
|
157
|
+
AXALTA_INCIDENT = "axalta-incident-assistant",
|
|
158
|
+
HAWIC = "hawic-assistant"
|
|
153
159
|
}
|
|
154
160
|
export type ToolNameType = ToolName | HandOffTool | ReturnToReferrerTool;
|
|
155
161
|
export interface AiAssistant {
|
|
@@ -194,8 +200,9 @@ interface AssistantLabels {
|
|
|
194
200
|
}
|
|
195
201
|
interface SelectionMessage {
|
|
196
202
|
message: string;
|
|
197
|
-
resourceType
|
|
198
|
-
moreMatches
|
|
203
|
+
resourceType?: ReferenceType;
|
|
204
|
+
moreMatches?: boolean;
|
|
205
|
+
isMultiSelect: boolean;
|
|
199
206
|
choices: ResourceSelectionOption[];
|
|
200
207
|
}
|
|
201
208
|
interface BaseMessage {
|
|
@@ -302,10 +309,21 @@ export interface LogbookEntryResourceSelectionOption extends BaseResourceSelecti
|
|
|
302
309
|
date: string;
|
|
303
310
|
duration?: number;
|
|
304
311
|
}
|
|
312
|
+
export interface TimeSeriesSelectionOption extends BaseResourceSelectionOption {
|
|
313
|
+
resourceType: ReferenceType.TIMESERIES;
|
|
314
|
+
name: string;
|
|
315
|
+
assetRef: string;
|
|
316
|
+
assetName?: string;
|
|
317
|
+
metrics?: string[];
|
|
318
|
+
}
|
|
305
319
|
export interface GenericResourceSelectionOption extends BaseResourceSelectionOption {
|
|
306
|
-
resourceType: Exclude<ReferenceType, ReferenceType.ASSET | ReferenceType.DOCUMENT | ReferenceType.LOGBOOK_ENTRY>;
|
|
320
|
+
resourceType: Exclude<ReferenceType, ReferenceType.ASSET | ReferenceType.DOCUMENT | ReferenceType.LOGBOOK_ENTRY | ReferenceType.TIMESERIES>;
|
|
321
|
+
}
|
|
322
|
+
export type ResourceSelectionOption = AssetResourceSelectionOption | DocumentResourceSelectionOption | LogbookEntryResourceSelectionOption | TimeSeriesSelectionOption | GenericResourceSelectionOption;
|
|
323
|
+
export interface MultiChoiceSelectionResult {
|
|
324
|
+
selected: ResourceSelectionOption[];
|
|
307
325
|
}
|
|
308
|
-
export type
|
|
326
|
+
export type ChoiceSelectionResult = ResourceSelectionOption | MultiChoiceSelectionResult | ResourceSelectionRejected;
|
|
309
327
|
export declare enum OneShotTaskId {
|
|
310
328
|
ASSET_ASSISTANT_PARTIAL_SUMMARY = "ASSET_ASSISTANT_PARTIAL_SUMMARY"
|
|
311
329
|
}
|
|
@@ -68,6 +68,7 @@ var ReferenceType;
|
|
|
68
68
|
ReferenceType["EVENT"] = "event";
|
|
69
69
|
ReferenceType["LOGBOOK_ENTRY"] = "logbook-entry";
|
|
70
70
|
ReferenceType["TASK"] = "task";
|
|
71
|
+
ReferenceType["TIMESERIES"] = "timeseries";
|
|
71
72
|
ReferenceType["WEB_SOURCE"] = "web-source";
|
|
72
73
|
})(ReferenceType || (exports.ReferenceType = ReferenceType = {}));
|
|
73
74
|
var AgentId;
|
|
@@ -87,6 +88,7 @@ var AgentId;
|
|
|
87
88
|
AgentId["AXALTA_ASSET_IDENTIFIER"] = "axalta-asset-identifier-agent";
|
|
88
89
|
AgentId["AXALTA_MESSAGE"] = "axalta-message-agent";
|
|
89
90
|
AgentId["TRIAGE"] = "triage-agent";
|
|
91
|
+
AgentId["HAWIC"] = "hawic-agent";
|
|
90
92
|
})(AgentId || (exports.AgentId = AgentId = {}));
|
|
91
93
|
exports.ATTACHMENT_CAPABLE_AGENT_IDS = [AgentId.ASSET, AgentId.ASSET_WEB, AgentId.CRM, AgentId.REPORT, AgentId.MESSAGE];
|
|
92
94
|
var ToolName;
|
|
@@ -137,6 +139,9 @@ var ToolName;
|
|
|
137
139
|
ToolName["USE_SKILL"] = "useSkill";
|
|
138
140
|
ToolName["READ_SKILL_FILE"] = "readSkillFile";
|
|
139
141
|
ToolName["RUN_SKILL_SCRIPT"] = "runSkillScript";
|
|
142
|
+
ToolName["SEARCH_TIME_SERIES"] = "searchTimeSeries";
|
|
143
|
+
ToolName["TIME_SERIES_SELECTION"] = "timeSeriesSelection";
|
|
144
|
+
ToolName["RETRIEVE_TIME_SERIES_VALUES"] = "retrieveTimeSeriesValues";
|
|
140
145
|
})(ToolName || (exports.ToolName = ToolName = {}));
|
|
141
146
|
var ReturnToReferrerTool;
|
|
142
147
|
(function (ReturnToReferrerTool) {
|
|
@@ -164,6 +169,7 @@ var AiAssistantId;
|
|
|
164
169
|
AiAssistantId["INCIDENT"] = "incident-assistant";
|
|
165
170
|
AiAssistantId["REPORT"] = "report-assistant";
|
|
166
171
|
AiAssistantId["AXALTA_INCIDENT"] = "axalta-incident-assistant";
|
|
172
|
+
AiAssistantId["HAWIC"] = "hawic-assistant";
|
|
167
173
|
})(AiAssistantId || (exports.AiAssistantId = AiAssistantId = {}));
|
|
168
174
|
var OneShotTaskId;
|
|
169
175
|
(function (OneShotTaskId) {
|
|
@@ -7,12 +7,18 @@ export declare enum CapabilityBundleId {
|
|
|
7
7
|
ASSET_VIEWER = "asset-viewer",
|
|
8
8
|
CONTENT_EDITOR = "content-editor",
|
|
9
9
|
CONTENT_VIEWER = "content-viewer",
|
|
10
|
-
FLANGE_SKILL_CONTROL = "flange-skill-control",
|
|
11
10
|
FLOW_EDITOR = "flow-editor",
|
|
12
11
|
FLOW_VIEWER = "flow-viewer",
|
|
12
|
+
NOTIFICATION_EDITOR = "notification-editor",
|
|
13
|
+
NOTIFICATION_VIEWER = "notification-viewer",
|
|
14
|
+
PROJECT_MANAGER = "project-manager",
|
|
13
15
|
TIME_SERIES_EDITOR = "time-series-editor",
|
|
14
16
|
TIME_SERIES_VIEWER = "time-series-viewer",
|
|
15
|
-
|
|
17
|
+
ORGANIZATION_DEFAULT_CAPABILITIES = "organization-default-capabilities",
|
|
18
|
+
ORGANIZATION_MANAGEMENT = "organization-management",
|
|
19
|
+
FLANGE_SKILL_CONTROL = "flange-skill-control",
|
|
20
|
+
HAWIC_DIRECT_MARKETERS = "hawic-direct-marketers",
|
|
21
|
+
WIND_X = "wind-x"
|
|
16
22
|
}
|
|
17
23
|
export interface CreateCapabilityBundle {
|
|
18
24
|
id: CapabilityBundleId;
|
|
@@ -11,12 +11,22 @@ var CapabilityBundleId;
|
|
|
11
11
|
// Contents
|
|
12
12
|
CapabilityBundleId["CONTENT_EDITOR"] = "content-editor";
|
|
13
13
|
CapabilityBundleId["CONTENT_VIEWER"] = "content-viewer";
|
|
14
|
-
CapabilityBundleId["FLANGE_SKILL_CONTROL"] = "flange-skill-control";
|
|
15
14
|
// Flows
|
|
16
15
|
CapabilityBundleId["FLOW_EDITOR"] = "flow-editor";
|
|
17
16
|
CapabilityBundleId["FLOW_VIEWER"] = "flow-viewer";
|
|
17
|
+
// Notifications
|
|
18
|
+
CapabilityBundleId["NOTIFICATION_EDITOR"] = "notification-editor";
|
|
19
|
+
CapabilityBundleId["NOTIFICATION_VIEWER"] = "notification-viewer";
|
|
20
|
+
// Project manager
|
|
21
|
+
CapabilityBundleId["PROJECT_MANAGER"] = "project-manager";
|
|
18
22
|
// Time series
|
|
19
23
|
CapabilityBundleId["TIME_SERIES_EDITOR"] = "time-series-editor";
|
|
20
24
|
CapabilityBundleId["TIME_SERIES_VIEWER"] = "time-series-viewer";
|
|
25
|
+
// User
|
|
26
|
+
CapabilityBundleId["ORGANIZATION_DEFAULT_CAPABILITIES"] = "organization-default-capabilities";
|
|
21
27
|
CapabilityBundleId["ORGANIZATION_MANAGEMENT"] = "organization-management";
|
|
28
|
+
// Others
|
|
29
|
+
CapabilityBundleId["FLANGE_SKILL_CONTROL"] = "flange-skill-control";
|
|
30
|
+
CapabilityBundleId["HAWIC_DIRECT_MARKETERS"] = "hawic-direct-marketers";
|
|
31
|
+
CapabilityBundleId["WIND_X"] = "wind-x";
|
|
22
32
|
})(CapabilityBundleId || (exports.CapabilityBundleId = CapabilityBundleId = {}));
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { Audited } from './audited.interface';
|
|
2
2
|
import type { LocalizedText, LocalizedTextPatch } from './localized-text.interface';
|
|
3
3
|
export declare enum CapabilityId {
|
|
4
|
-
SUPERUSER = "superuser",
|
|
5
4
|
ALERT_READ = "alert.read",
|
|
6
5
|
ALERT_CREATE = "alert.create",
|
|
7
6
|
ALERT_UPDATE = "alert.update",
|
|
@@ -41,11 +40,10 @@ export declare enum CapabilityId {
|
|
|
41
40
|
CONTENT_MANAGER = "content-manager",
|
|
42
41
|
CRM_IMPORT = "crm.import",
|
|
43
42
|
CRM_REMINDER_SEND = "crm.reminder.send",
|
|
43
|
+
CRM_MANAGER = "crm-manager",
|
|
44
44
|
DATASPACE_SHARE = "dataspace.share",
|
|
45
45
|
EDGE_DEVICE_READ = "edge-device.read",
|
|
46
46
|
EDGE_DEVICE_EXECUTE = "edge-device.execute",
|
|
47
|
-
FLANGE_SKILL_CONTROL = "flange-skill-control",
|
|
48
|
-
FLANGE_SKILL_CONTROL_UI = "flange-skill-control-ui",
|
|
49
47
|
FLOW_DEPLOYMENT_READ = "flow-deployment.read",
|
|
50
48
|
FLOW_DEPLOYMENT_CREATE = "flow-deployment.create",
|
|
51
49
|
FLOW_DEPLOYMENT_UPDATE = "flow-deployment.update",
|
|
@@ -75,11 +73,12 @@ export declare enum CapabilityId {
|
|
|
75
73
|
NOTIFICATION_CREATE = "notification.create",
|
|
76
74
|
NOTIFICATION_UPDATE = "notification.update",
|
|
77
75
|
NOTIFICATION_DELETE = "notification.delete",
|
|
78
|
-
|
|
76
|
+
NOTIFICATION_MANAGER = "notification-manager",
|
|
79
77
|
OBJECT_REFERENCE_READ = "object-reference.read",
|
|
80
78
|
OBJECT_REFERENCE_CREATE = "object-reference.create",
|
|
81
79
|
OBJECT_REFERENCE_UPDATE = "object-reference.update",
|
|
82
80
|
OBJECT_REFERENCE_DELETE = "object-reference.delete",
|
|
81
|
+
PROJECT_MANAGER = "project-manager",
|
|
83
82
|
TIME_SERIES_READ = "time-series.read",
|
|
84
83
|
TIME_SERIES_CREATE = "time-series.create",
|
|
85
84
|
TIME_SERIES_UPDATE = "time-series.update",
|
|
@@ -102,7 +101,6 @@ export declare enum CapabilityId {
|
|
|
102
101
|
ORG_GROUP_DELETE = "org-group.delete",
|
|
103
102
|
ORG_GROUP_MEMBER_READ = "org-group-member.read",
|
|
104
103
|
ORG_GROUP_MEMBER_CREATE = "org-group-member.create",
|
|
105
|
-
ORG_GROUP_MEMBER_UPDATE = "org-group-member.update",
|
|
106
104
|
ORG_GROUP_MEMBER_DELETE = "org-group-member.delete",
|
|
107
105
|
ORG_GROUP_CAPABILITY_READ = "org-group-capability.read",
|
|
108
106
|
ORG_GROUP_CAPABILITY_CREATE = "org-group-capability.create",
|
|
@@ -111,12 +109,12 @@ export declare enum CapabilityId {
|
|
|
111
109
|
ORG_GROUP_CAPABILITY_BUNDLE_CREATE = "org-group-capability-bundle.create",
|
|
112
110
|
ORG_GROUP_CAPABILITY_BUNDLE_DELETE = "org-group-capability-bundle.delete",
|
|
113
111
|
ORG_SUBSCRIPTION_READ = "org-subscription.read",
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
112
|
+
SUPERUSER = "superuser",
|
|
113
|
+
FLANGE_SKILL_CONTROL = "flange-skill-control",
|
|
114
|
+
HAWIC_DIRECT_MARKETERS = "hawic-direct-marketers",
|
|
115
|
+
WIND_X = "wind-x"
|
|
117
116
|
}
|
|
118
117
|
export declare enum CapabilityScope {
|
|
119
|
-
ADMINISTRATION = "administration",
|
|
120
118
|
ALERTS = "alerts",
|
|
121
119
|
ASSET_INTELLIGENCE = "asset-intelligence",
|
|
122
120
|
ASSETS = "assets",
|
|
@@ -126,14 +124,18 @@ export declare enum CapabilityScope {
|
|
|
126
124
|
CRM = "crm",
|
|
127
125
|
DATASPACE = "dataspace",
|
|
128
126
|
EDGE_DEVICES = "edge-devices",
|
|
129
|
-
FLANGE_SKILL_CONTROL = "flange-skill-control",
|
|
130
127
|
FLOWS = "flows",
|
|
131
128
|
LABELS = "labels",
|
|
132
129
|
NOTIFICATIONS = "notifications",
|
|
133
130
|
OBJECT_REFERENCES = "object-references",
|
|
131
|
+
PROJECT_MANAGER = "project-manager",
|
|
134
132
|
TIME_SERIES = "time-series",
|
|
135
133
|
USER = "user",
|
|
136
|
-
VAULT = "vault"
|
|
134
|
+
VAULT = "vault",
|
|
135
|
+
ADMINISTRATION = "administration",
|
|
136
|
+
FLANGE_SKILL_CONTROL = "flange-skill-control",
|
|
137
|
+
HAWIC = "hawic",
|
|
138
|
+
WIND_X = "wind-x"
|
|
137
139
|
}
|
|
138
140
|
export declare enum CapabilityType {
|
|
139
141
|
/**
|
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.CapabilityAction = exports.CapabilityType = exports.CapabilityScope = exports.CapabilityId = void 0;
|
|
4
4
|
var CapabilityId;
|
|
5
5
|
(function (CapabilityId) {
|
|
6
|
-
CapabilityId["SUPERUSER"] = "superuser";
|
|
7
6
|
// Alerts
|
|
8
7
|
CapabilityId["ALERT_READ"] = "alert.read";
|
|
9
8
|
CapabilityId["ALERT_CREATE"] = "alert.create";
|
|
@@ -54,16 +53,12 @@ var CapabilityId;
|
|
|
54
53
|
// CRM
|
|
55
54
|
CapabilityId["CRM_IMPORT"] = "crm.import";
|
|
56
55
|
CapabilityId["CRM_REMINDER_SEND"] = "crm.reminder.send";
|
|
56
|
+
CapabilityId["CRM_MANAGER"] = "crm-manager";
|
|
57
57
|
// Dataspace
|
|
58
58
|
CapabilityId["DATASPACE_SHARE"] = "dataspace.share";
|
|
59
59
|
// Edge devices
|
|
60
60
|
CapabilityId["EDGE_DEVICE_READ"] = "edge-device.read";
|
|
61
61
|
CapabilityId["EDGE_DEVICE_EXECUTE"] = "edge-device.execute";
|
|
62
|
-
// Flange Skill control
|
|
63
|
-
CapabilityId["FLANGE_SKILL_CONTROL"] = "flange-skill-control";
|
|
64
|
-
// TODO add and implement administrator role, power user role, ui role, app role
|
|
65
|
-
// Flange Skill control ui
|
|
66
|
-
CapabilityId["FLANGE_SKILL_CONTROL_UI"] = "flange-skill-control-ui";
|
|
67
62
|
// Flow deployment
|
|
68
63
|
CapabilityId["FLOW_DEPLOYMENT_READ"] = "flow-deployment.read";
|
|
69
64
|
CapabilityId["FLOW_DEPLOYMENT_CREATE"] = "flow-deployment.create";
|
|
@@ -100,12 +95,14 @@ var CapabilityId;
|
|
|
100
95
|
CapabilityId["NOTIFICATION_CREATE"] = "notification.create";
|
|
101
96
|
CapabilityId["NOTIFICATION_UPDATE"] = "notification.update";
|
|
102
97
|
CapabilityId["NOTIFICATION_DELETE"] = "notification.delete";
|
|
103
|
-
CapabilityId["
|
|
98
|
+
CapabilityId["NOTIFICATION_MANAGER"] = "notification-manager";
|
|
104
99
|
// Object references
|
|
105
100
|
CapabilityId["OBJECT_REFERENCE_READ"] = "object-reference.read";
|
|
106
101
|
CapabilityId["OBJECT_REFERENCE_CREATE"] = "object-reference.create";
|
|
107
102
|
CapabilityId["OBJECT_REFERENCE_UPDATE"] = "object-reference.update";
|
|
108
103
|
CapabilityId["OBJECT_REFERENCE_DELETE"] = "object-reference.delete";
|
|
104
|
+
// Project manager
|
|
105
|
+
CapabilityId["PROJECT_MANAGER"] = "project-manager";
|
|
109
106
|
// Time series
|
|
110
107
|
CapabilityId["TIME_SERIES_READ"] = "time-series.read";
|
|
111
108
|
CapabilityId["TIME_SERIES_CREATE"] = "time-series.create";
|
|
@@ -133,7 +130,6 @@ var CapabilityId;
|
|
|
133
130
|
CapabilityId["ORG_GROUP_DELETE"] = "org-group.delete";
|
|
134
131
|
CapabilityId["ORG_GROUP_MEMBER_READ"] = "org-group-member.read";
|
|
135
132
|
CapabilityId["ORG_GROUP_MEMBER_CREATE"] = "org-group-member.create";
|
|
136
|
-
CapabilityId["ORG_GROUP_MEMBER_UPDATE"] = "org-group-member.update";
|
|
137
133
|
CapabilityId["ORG_GROUP_MEMBER_DELETE"] = "org-group-member.delete";
|
|
138
134
|
CapabilityId["ORG_GROUP_CAPABILITY_READ"] = "org-group-capability.read";
|
|
139
135
|
CapabilityId["ORG_GROUP_CAPABILITY_CREATE"] = "org-group-capability.create";
|
|
@@ -142,13 +138,18 @@ var CapabilityId;
|
|
|
142
138
|
CapabilityId["ORG_GROUP_CAPABILITY_BUNDLE_CREATE"] = "org-group-capability-bundle.create";
|
|
143
139
|
CapabilityId["ORG_GROUP_CAPABILITY_BUNDLE_DELETE"] = "org-group-capability-bundle.delete";
|
|
144
140
|
CapabilityId["ORG_SUBSCRIPTION_READ"] = "org-subscription.read";
|
|
145
|
-
|
|
146
|
-
CapabilityId["
|
|
147
|
-
|
|
141
|
+
// Superuser
|
|
142
|
+
CapabilityId["SUPERUSER"] = "superuser";
|
|
143
|
+
// Flange Skill control
|
|
144
|
+
CapabilityId["FLANGE_SKILL_CONTROL"] = "flange-skill-control";
|
|
145
|
+
// TODO add and implement administrator role, power user role, ui role, app role
|
|
146
|
+
// Hawic
|
|
147
|
+
CapabilityId["HAWIC_DIRECT_MARKETERS"] = "hawic-direct-marketers";
|
|
148
|
+
// Wind-X
|
|
149
|
+
CapabilityId["WIND_X"] = "wind-x";
|
|
148
150
|
})(CapabilityId || (exports.CapabilityId = CapabilityId = {}));
|
|
149
151
|
var CapabilityScope;
|
|
150
152
|
(function (CapabilityScope) {
|
|
151
|
-
CapabilityScope["ADMINISTRATION"] = "administration";
|
|
152
153
|
// Services
|
|
153
154
|
CapabilityScope["ALERTS"] = "alerts";
|
|
154
155
|
CapabilityScope["ASSET_INTELLIGENCE"] = "asset-intelligence";
|
|
@@ -159,14 +160,19 @@ var CapabilityScope;
|
|
|
159
160
|
CapabilityScope["CRM"] = "crm";
|
|
160
161
|
CapabilityScope["DATASPACE"] = "dataspace";
|
|
161
162
|
CapabilityScope["EDGE_DEVICES"] = "edge-devices";
|
|
162
|
-
CapabilityScope["FLANGE_SKILL_CONTROL"] = "flange-skill-control";
|
|
163
163
|
CapabilityScope["FLOWS"] = "flows";
|
|
164
164
|
CapabilityScope["LABELS"] = "labels";
|
|
165
165
|
CapabilityScope["NOTIFICATIONS"] = "notifications";
|
|
166
166
|
CapabilityScope["OBJECT_REFERENCES"] = "object-references";
|
|
167
|
+
CapabilityScope["PROJECT_MANAGER"] = "project-manager";
|
|
167
168
|
CapabilityScope["TIME_SERIES"] = "time-series";
|
|
168
169
|
CapabilityScope["USER"] = "user";
|
|
169
170
|
CapabilityScope["VAULT"] = "vault";
|
|
171
|
+
// Others
|
|
172
|
+
CapabilityScope["ADMINISTRATION"] = "administration";
|
|
173
|
+
CapabilityScope["FLANGE_SKILL_CONTROL"] = "flange-skill-control";
|
|
174
|
+
CapabilityScope["HAWIC"] = "hawic";
|
|
175
|
+
CapabilityScope["WIND_X"] = "wind-x";
|
|
170
176
|
})(CapabilityScope || (exports.CapabilityScope = CapabilityScope = {}));
|
|
171
177
|
var CapabilityType;
|
|
172
178
|
(function (CapabilityType) {
|
|
@@ -3,23 +3,27 @@ import type { LocalizedText, LocalizedTextPatch } from './localized-text.interfa
|
|
|
3
3
|
export declare enum FeatureId {
|
|
4
4
|
ALERTS = "alerts",
|
|
5
5
|
ASSET_MANAGER = "asset-manager",
|
|
6
|
+
ASSET_MANAGER_READ_ONLY = "asset-manager-read-only",
|
|
6
7
|
ASSET_INTELLIGENCE = "asset-intelligence",
|
|
7
8
|
AUDIT = "audit",
|
|
8
9
|
CALENDAR = "calendar",
|
|
10
|
+
CALENDAR_EVENTS = "calendar-events",
|
|
11
|
+
CALENDAR_TASKS = "calendar-tasks",
|
|
9
12
|
CONTENT_MANAGER = "content-manager",
|
|
10
13
|
CRM = "crm",
|
|
11
14
|
DATASPACE = "dataspace",
|
|
12
15
|
EDGE_DEVICES = "edge-devices",
|
|
13
16
|
FLANGE_SKILL_CONTROL = "flange-skill-control",
|
|
14
17
|
FLOW_STUDIO = "flow-studio",
|
|
18
|
+
HAWIC_DIRECT_MARKETERS = "hawic-direct-marketers",
|
|
15
19
|
LABELS = "labels",
|
|
16
20
|
NOTIFICATIONS = "notifications",
|
|
17
21
|
OBJECT_REFERENCES = "object-references",
|
|
22
|
+
PROJECT_MANAGER = "project-manager",
|
|
18
23
|
TIME_SERIES_MANAGER = "time-series-manager",
|
|
19
24
|
ORGANIZATIONS = "organizations",
|
|
20
25
|
VAULT = "vault",
|
|
21
|
-
|
|
22
|
-
ORGANIZATION_MANAGEMENT_UI = "organization-management-ui",
|
|
26
|
+
WIND_X = "wind-x",
|
|
23
27
|
SUPERUSER = "superuser"
|
|
24
28
|
}
|
|
25
29
|
export interface CreateFeature {
|
|
@@ -7,12 +7,15 @@ var FeatureId;
|
|
|
7
7
|
FeatureId["ALERTS"] = "alerts";
|
|
8
8
|
// Assets
|
|
9
9
|
FeatureId["ASSET_MANAGER"] = "asset-manager";
|
|
10
|
+
FeatureId["ASSET_MANAGER_READ_ONLY"] = "asset-manager-read-only";
|
|
10
11
|
// Asset-Intelligence
|
|
11
12
|
FeatureId["ASSET_INTELLIGENCE"] = "asset-intelligence";
|
|
12
13
|
// Audit
|
|
13
14
|
FeatureId["AUDIT"] = "audit";
|
|
14
15
|
// Calendar
|
|
15
16
|
FeatureId["CALENDAR"] = "calendar";
|
|
17
|
+
FeatureId["CALENDAR_EVENTS"] = "calendar-events";
|
|
18
|
+
FeatureId["CALENDAR_TASKS"] = "calendar-tasks";
|
|
16
19
|
// Contents
|
|
17
20
|
FeatureId["CONTENT_MANAGER"] = "content-manager";
|
|
18
21
|
// CRM
|
|
@@ -25,20 +28,24 @@ var FeatureId;
|
|
|
25
28
|
FeatureId["FLANGE_SKILL_CONTROL"] = "flange-skill-control";
|
|
26
29
|
// Flows
|
|
27
30
|
FeatureId["FLOW_STUDIO"] = "flow-studio";
|
|
31
|
+
// Hawic Direct marketers
|
|
32
|
+
FeatureId["HAWIC_DIRECT_MARKETERS"] = "hawic-direct-marketers";
|
|
28
33
|
// Labels
|
|
29
34
|
FeatureId["LABELS"] = "labels";
|
|
30
35
|
// Notifications
|
|
31
36
|
FeatureId["NOTIFICATIONS"] = "notifications";
|
|
32
37
|
// Object references
|
|
33
38
|
FeatureId["OBJECT_REFERENCES"] = "object-references";
|
|
39
|
+
// Project Manager
|
|
40
|
+
FeatureId["PROJECT_MANAGER"] = "project-manager";
|
|
34
41
|
// Time Series
|
|
35
42
|
FeatureId["TIME_SERIES_MANAGER"] = "time-series-manager";
|
|
36
43
|
// User
|
|
37
44
|
FeatureId["ORGANIZATIONS"] = "organizations";
|
|
38
45
|
// Vault
|
|
39
46
|
FeatureId["VAULT"] = "vault";
|
|
47
|
+
// Wind-X
|
|
48
|
+
FeatureId["WIND_X"] = "wind-x";
|
|
40
49
|
// Organization Management
|
|
41
|
-
FeatureId["ORGANIZATION_MANAGEMENT"] = "organization-management";
|
|
42
|
-
FeatureId["ORGANIZATION_MANAGEMENT_UI"] = "organization-management-ui";
|
|
43
50
|
FeatureId["SUPERUSER"] = "superuser";
|
|
44
51
|
})(FeatureId || (exports.FeatureId = FeatureId = {}));
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import type { Audited } from './audited.interface';
|
|
2
2
|
import type { LocalizedText, LocalizedTextPatch } from './localized-text.interface';
|
|
3
3
|
export declare enum PlanId {
|
|
4
|
+
DEFAULT = "default",
|
|
4
5
|
DEVELOPER = "developer",
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
FLANGE_SKILL_CONTROL = "flange-skill-control",
|
|
7
|
+
HAWIC_DIRECT_MARKETERS = "hawic-direct-marketers",
|
|
8
|
+
HAWIC_OPERATOR_SERVICE = "hawic-operator-service",
|
|
9
|
+
WIND_X = "wind-x",
|
|
10
|
+
SUPERUSER = "superuser"
|
|
7
11
|
}
|
|
8
12
|
export interface CreatePlan {
|
|
9
13
|
id: PlanId;
|
|
@@ -3,7 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.PlanId = void 0;
|
|
4
4
|
var PlanId;
|
|
5
5
|
(function (PlanId) {
|
|
6
|
+
PlanId["DEFAULT"] = "default";
|
|
6
7
|
PlanId["DEVELOPER"] = "developer";
|
|
8
|
+
PlanId["FLANGE_SKILL_CONTROL"] = "flange-skill-control";
|
|
9
|
+
PlanId["HAWIC_DIRECT_MARKETERS"] = "hawic-direct-marketers";
|
|
10
|
+
PlanId["HAWIC_OPERATOR_SERVICE"] = "hawic-operator-service";
|
|
11
|
+
PlanId["WIND_X"] = "wind-x";
|
|
7
12
|
PlanId["SUPERUSER"] = "superuser";
|
|
8
|
-
PlanId["DEFAULT"] = "default";
|
|
9
13
|
})(PlanId || (exports.PlanId = PlanId = {}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { AiAssistant, AiSkill, AiSkillSummary, AudioTranscription, AssetResourceSelectionOption, AssistantMessage, DocumentResourceSelectionOption, ErrorMessage, GenericResourceSelectionOption, LogbookEntryResourceSelectionOption, Message, MessageAttachment, OneShotTaskResult, ResourceSelectionOption, ResourceSelectionRejected, SystemMessage, Thread, ThreadPopulated, ToolMessage, ToolNameType, UserMessage, } from './ai.interface';
|
|
1
|
+
export type { AiAssistant, AiSkill, AiSkillSummary, AudioTranscription, AssetResourceSelectionOption, AssistantMessage, ChoiceSelectionResult, DocumentResourceSelectionOption, ErrorMessage, GenericResourceSelectionOption, LogbookEntryResourceSelectionOption, Message, MessageAttachment, MultiChoiceSelectionResult, OneShotTaskResult, ResourceSelectionOption, ResourceSelectionRejected, TimeSeriesSelectionOption, SystemMessage, Thread, ThreadPopulated, ToolMessage, ToolNameType, UserMessage, } from './ai.interface';
|
|
2
2
|
export type { Alert, AlertCondition, TimeSeriesReference, UpdatedField } from './alert.interface';
|
|
3
3
|
export type { Api, Change, ChangeSubject, ObjectIdLike } from './api.interface';
|
|
4
4
|
export type { AddToProperty, Asset, AssetChange, AssetRevision, AssetSubject, AssetTimeSeriesValue, AssetType, AssetTypeRevision, AssetTypeSearchResult, Attachment, EventCause, EventLevelOverride, RemoveFromProperty, Template, } from './asset.interface';
|
|
@@ -2,6 +2,7 @@ export declare const NatsStreams: {
|
|
|
2
2
|
readonly Resource: "resource";
|
|
3
3
|
readonly Flows: "flows";
|
|
4
4
|
readonly Audit: "audit";
|
|
5
|
+
readonly Organizations: "organizations";
|
|
5
6
|
};
|
|
6
7
|
export declare const NatsConsumers: {
|
|
7
8
|
readonly resource: {
|
|
@@ -41,6 +42,10 @@ export declare const NatsConsumers: {
|
|
|
41
42
|
readonly ReferenceTargetRestored: "reference-target-restored";
|
|
42
43
|
readonly ReferenceCreateCommand: "reference-create-command";
|
|
43
44
|
};
|
|
45
|
+
readonly OrgGroupService: {
|
|
46
|
+
readonly DeleteGroupOfDeletedOrgs: "delete-group-of-deleted-orgs";
|
|
47
|
+
readonly DeleteSubsOfDeletedOrgs: "delete-subs-of-deleted-orgs";
|
|
48
|
+
};
|
|
44
49
|
};
|
|
45
50
|
readonly flows: {
|
|
46
51
|
readonly FlowTrigger: "flow-trigger";
|
|
@@ -53,6 +58,11 @@ export declare const NatsConsumers: {
|
|
|
53
58
|
readonly audit: {
|
|
54
59
|
readonly AuditLogger: "audit-logger";
|
|
55
60
|
};
|
|
61
|
+
readonly organizations: {
|
|
62
|
+
readonly OrgGroupMembers: {
|
|
63
|
+
readonly DeleteMemberships: "delete-org-group-memberships";
|
|
64
|
+
};
|
|
65
|
+
};
|
|
56
66
|
};
|
|
57
67
|
export declare const natsHpcPrefix = "com.hahnpro";
|
|
58
68
|
export declare const natsFlowsPrefix = "fs";
|
|
@@ -5,6 +5,7 @@ exports.NatsStreams = {
|
|
|
5
5
|
Resource: 'resource',
|
|
6
6
|
Flows: 'flows',
|
|
7
7
|
Audit: 'audit',
|
|
8
|
+
Organizations: 'organizations',
|
|
8
9
|
};
|
|
9
10
|
exports.NatsConsumers = {
|
|
10
11
|
[exports.NatsStreams.Resource]: {
|
|
@@ -44,6 +45,10 @@ exports.NatsConsumers = {
|
|
|
44
45
|
ReferenceTargetRestored: 'reference-target-restored',
|
|
45
46
|
ReferenceCreateCommand: 'reference-create-command',
|
|
46
47
|
},
|
|
48
|
+
OrgGroupService: {
|
|
49
|
+
DeleteGroupOfDeletedOrgs: 'delete-group-of-deleted-orgs',
|
|
50
|
+
DeleteSubsOfDeletedOrgs: 'delete-subs-of-deleted-orgs',
|
|
51
|
+
},
|
|
47
52
|
},
|
|
48
53
|
[exports.NatsStreams.Flows]: {
|
|
49
54
|
FlowTrigger: 'flow-trigger',
|
|
@@ -56,6 +61,11 @@ exports.NatsConsumers = {
|
|
|
56
61
|
[exports.NatsStreams.Audit]: {
|
|
57
62
|
AuditLogger: 'audit-logger',
|
|
58
63
|
},
|
|
64
|
+
[exports.NatsStreams.Organizations]: {
|
|
65
|
+
OrgGroupMembers: {
|
|
66
|
+
DeleteMemberships: 'delete-org-group-memberships',
|
|
67
|
+
},
|
|
68
|
+
},
|
|
59
69
|
};
|
|
60
70
|
exports.natsHpcPrefix = 'com.hahnpro';
|
|
61
71
|
exports.natsFlowsPrefix = 'fs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { API } from '../api';
|
|
2
|
-
import { Artifact, Asset, AssetRevision, AssetType, Content, Endpoint, Event, FlowDeployment, FlowDiagram, FlowDto, FlowFunctionDto, FlowFunctionRevision, FlowModule, FlowRevision, Label, LogbookEntry, Notification, ObjectReference, Organization, Secret, Task, TimeSeries, TimeSeriesValue, Translation, UserSettings, VaultSecret
|
|
2
|
+
import { Artifact, Asset, AssetRevision, AssetType, Content, Endpoint, Event, FlowDeployment, FlowDiagram, FlowDto, FlowFunctionDto, FlowFunctionRevision, FlowModule, FlowRevision, Label, LogbookEntry, Notification, ObjectReference, Organization, Secret, Task, TimeSeries, TimeSeriesValue, TimeSeriesValueFeed, Translation, UserSettings, VaultSecret } from '../interfaces';
|
|
3
3
|
import { AiMockService } from './ai.mock.service';
|
|
4
4
|
import { AlertMockService } from './alert.mock.service';
|
|
5
5
|
import { AssetMockService } from './asset.mock.service';
|
|
@@ -26,8 +26,8 @@ import { OrganizationsResourcesMockService } from './organizations-resources.moc
|
|
|
26
26
|
import { OrganizationsMockService } from './organizations.mock.service';
|
|
27
27
|
import { SearchMockService } from './search.mock.service';
|
|
28
28
|
import { TaskMockService } from './task.mock.service';
|
|
29
|
-
import { TimeseriesMockService } from './timeseries.mock.service';
|
|
30
29
|
import { TimeseriesValueFeedManagementMockService } from './timeseries-value-feed-management.mock.service';
|
|
30
|
+
import { TimeseriesMockService } from './timeseries.mock.service';
|
|
31
31
|
import { UserMockService } from './user.mock.service';
|
|
32
32
|
import { VaultMockService } from './vault.mock.service';
|
|
33
33
|
export interface MockAPIInitData {
|
package/src/lib/mock/api.mock.js
CHANGED
|
@@ -28,8 +28,8 @@ const organizations_resources_mock_service_1 = require("./organizations-resource
|
|
|
28
28
|
const organizations_mock_service_1 = require("./organizations.mock.service");
|
|
29
29
|
const search_mock_service_1 = require("./search.mock.service");
|
|
30
30
|
const task_mock_service_1 = require("./task.mock.service");
|
|
31
|
-
const timeseries_mock_service_1 = require("./timeseries.mock.service");
|
|
32
31
|
const timeseries_value_feed_management_mock_service_1 = require("./timeseries-value-feed-management.mock.service");
|
|
32
|
+
const timeseries_mock_service_1 = require("./timeseries.mock.service");
|
|
33
33
|
const user_mock_service_1 = require("./user.mock.service");
|
|
34
34
|
const vault_mock_service_1 = require("./vault.mock.service");
|
|
35
35
|
class MockAPI {
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Capability, CapabilityBundle, CapabilityId, Permission, SqlPagination, TokenOption } from '../../interfaces';
|
|
2
|
+
import { APIBaseMock } from '../../mock/api-base.mock';
|
|
3
|
+
import { AuthorizationService } from '../../services/authz/authorization.service';
|
|
4
|
+
export declare class AuthorizationMockService extends APIBaseMock<never> implements AuthorizationService {
|
|
5
|
+
constructor();
|
|
6
|
+
getOrgCapabilitiesForActiveSubscription(sqlPagination?: SqlPagination, options?: TokenOption): Promise<Capability[]>;
|
|
7
|
+
getOrgCapabilityBundlesForActiveSubscription(sqlPagination?: SqlPagination, options?: TokenOption): Promise<CapabilityBundle[]>;
|
|
8
|
+
getCapabilitiesForUsersActiveOrg(options?: TokenOption): Promise<CapabilityId[]>;
|
|
9
|
+
getPermissionsForUsersActiveOrg(options?: TokenOption): Promise<Permission[]>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AuthorizationMockService = void 0;
|
|
4
|
+
const api_base_mock_1 = require("../../mock/api-base.mock");
|
|
5
|
+
class AuthorizationMockService extends api_base_mock_1.APIBaseMock {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(null);
|
|
8
|
+
}
|
|
9
|
+
getOrgCapabilitiesForActiveSubscription(sqlPagination, options) {
|
|
10
|
+
throw new Error('Method not implemented.');
|
|
11
|
+
}
|
|
12
|
+
getOrgCapabilityBundlesForActiveSubscription(sqlPagination, options) {
|
|
13
|
+
throw new Error('Method not implemented.');
|
|
14
|
+
}
|
|
15
|
+
getCapabilitiesForUsersActiveOrg(options) {
|
|
16
|
+
throw new Error('Method not implemented.');
|
|
17
|
+
}
|
|
18
|
+
getPermissionsForUsersActiveOrg(options) {
|
|
19
|
+
throw new Error('Method not implemented.');
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.AuthorizationMockService = AuthorizationMockService;
|
|
@@ -1,21 +1,17 @@
|
|
|
1
1
|
import { AuthzService } from '../../services';
|
|
2
|
-
import {
|
|
3
|
-
import { CapabilityService } from '../../services/authz/capability.service';
|
|
2
|
+
import { AuthorizationService } from '../../services/authz/authorization.service';
|
|
4
3
|
import { OrgGroupCapabilityBundleService } from '../../services/authz/org-group-capability-bundle.service';
|
|
5
4
|
import { OrgGroupCapabilityService } from '../../services/authz/org-group-capability.service';
|
|
6
5
|
import { OrgGroupMemberService } from '../../services/authz/org-group-member.service';
|
|
7
6
|
import { OrgGroupService } from '../../services/authz/org-group.service';
|
|
8
7
|
import { OrgSubscriptionService } from '../../services/authz/org-subscription.service';
|
|
9
|
-
import { UserCapabilitiesAndPermissionsService } from '../../services/authz/user-capabilities-and-permissions.service';
|
|
10
8
|
import { APIBaseMock } from '../api-base.mock';
|
|
11
9
|
export declare class AuthzMockService extends APIBaseMock<never> implements AuthzService {
|
|
12
|
-
readonly
|
|
13
|
-
readonly capabilityBundles: CapabilityBundleService;
|
|
10
|
+
readonly authorization: AuthorizationService;
|
|
14
11
|
readonly orgGroups: OrgGroupService;
|
|
15
12
|
readonly orgGroupCapabilities: OrgGroupCapabilityService;
|
|
16
13
|
readonly orgGroupCapabilityBundles: OrgGroupCapabilityBundleService;
|
|
17
14
|
readonly orgGroupMembers: OrgGroupMemberService;
|
|
18
15
|
readonly orgSubscriptions: OrgSubscriptionService;
|
|
19
|
-
readonly userCapabilitiesAndPermissions: UserCapabilitiesAndPermissionsService;
|
|
20
16
|
constructor();
|
|
21
17
|
}
|