@thunderid/node 1.4.0 → 1.6.0
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/ThunderIDNodeClient.d.ts +33 -0
- package/dist/ThunderIDNodeClient.d.ts.map +1 -1
- package/dist/cjs/index.cjs +1034 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1031 -2
- package/dist/models/management.d.ts +337 -0
- package/dist/models/management.d.ts.map +1 -0
- package/dist/utils/createManagementClient.d.ts +13 -0
- package/dist/utils/createManagementClient.d.ts.map +1 -0
- package/dist/utils/managementCollections.d.ts +26 -0
- package/dist/utils/managementCollections.d.ts.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,337 @@
|
|
|
1
|
+
import { AccountLifecycleOptions, AccountLifecycleResult, AdministrationOptions, Agent, AgentListResponse, AgentRoleListResponse, AgentTypeDetails, AgentTypeListResponse, ApiFetcher, ApiFilteringParams, Application, ApplicationListResponse, ApplyGatewayConfigurationRequest, CaptureConfigurationVersionRequest, CimdPreviewResponse, ConfigurationExportRequest, ConfigurationExportResponse, ConfigurationImportRequest, ConfigurationImportResponse, ConfigurationVersion, Connection, ConnectionCategory, ConnectionListResponse, ConnectionMetaResponse, ConnectionRequest, ConnectionSummary, ConnectionType, ConnectionTypeWithUsages, ConnectionUsagesResponse, CreateActionRequest, CreateAgentRequest, CreateAgentTypeRequest, CreateApplicationRequest, CreateGroupRequest, CreateManagedUserRequest, CreateNotificationTemplateRequest, CreateOrganizationUnitRequest, CreateResourceRequest, CreateResourceServerRequest, CreateRoleRequest, CreateUserByPathRequest, DeleteImportedConfigurationRequest, DeleteImportedConfigurationResponse, DesignLayout, DesignLayoutListResponse, DesignLayoutRequest, DesignResolveResponse, DesignResolveType, DesignTheme, DesignThemeListResponse, DesignThemeRequest, Gateway, GatewayAppliedConfiguration, GatewayAppliedVersion, GatewayApplyResult, GatewayConfigurationDiff, GatewayRegistration, Group, GroupListResponse, GroupMember, GroupMemberListResponse, LanguageListResponse, LanguageTranslationsResponse, ManagedAction, ManagedActionKind, ManagedActionListResponse, ManagedFlowDefinition, ManagedFlowListResponse, ManagedFlowRequest, ManagedFlowVersion, ManagedFlowVersionListResponse, ManagedResource, ManagedResourceListResponse, ManagedTranslation, ManagedUser, ManagedUserListResponse, ManagedUserTypeListResponse, ManagementRequestConfig, MembershipGroupListResponse, NotificationChannel, NotificationTemplate, NotificationTemplateListResponse, OrganizationUnit, OrganizationUnitGroupListResponse, OrganizationUnitListResponse, OrganizationUnitReference, OrganizationUnitRoleListResponse, OrganizationUnitUserListResponse, RegenerateClientSecretResult, RegenerateFlowSecretResult, RegisterGatewayRequest, ResolvedOverlay, ResourceEndpointKey, ResourceServer, ResourceServerListResponse, ResourceUsagesResponse, RevertGatewayConfigurationRequest, Role, RoleAssigneeType, RoleAssignmentInput, RoleAssignmentListResponse, RoleListResponse, Secret, SecretListResponse, SecretRequest, SecretUpdateRequest, ServerConfigLayers, SetTranslationRequest, SetTranslationsRequest, SharingPolicy, SharingPolicyListResponse, SharingPolicyRequest, SharingPolicyUpdateRequest, UpdateActionRequest, UpdateAgentRequest, UpdateAgentTypeRequest, UpdateApplicationRequest, UpdateGatewayRequest, UpdateGroupRequest, UpdateManagedUserRequest, UpdateNotificationTemplateRequest, UpdateOrganizationUnitByPathRequest, UpdateOrganizationUnitRequest, UpdateResourceRequest, UpdateResourceServerRequest, UpdateRoleRequest, Variable, VariableListResponse, VariableRequest, VariableUpdateRequest } from '@thunderid/javascript';
|
|
2
|
+
/**
|
|
3
|
+
* The management resource collections the server-side management client addresses.
|
|
4
|
+
*/
|
|
5
|
+
export type ManagementResourceKey = Extract<ResourceEndpointKey, 'agents' | 'agentTypes' | 'applications' | 'configurationVersions' | 'connections' | 'design' | 'export' | 'flows' | 'gateways' | 'groups' | 'i18n' | 'import' | 'notificationTemplates' | 'organizationUnits' | 'resourceServers' | 'roles' | 'secrets' | 'serverConfig' | 'users' | 'userTypes' | 'variables'>;
|
|
6
|
+
/**
|
|
7
|
+
* Per-call options accepted by every management operation.
|
|
8
|
+
*/
|
|
9
|
+
export interface ManagementCallOptions {
|
|
10
|
+
/**
|
|
11
|
+
* Transport for this call. Takes precedence over the SDK's default `fetch`. The SDK still sets the
|
|
12
|
+
* `Authorization` header; a fetcher cannot be used to drop or replace the session's bearer token.
|
|
13
|
+
*/
|
|
14
|
+
fetcher?: ApiFetcher;
|
|
15
|
+
/**
|
|
16
|
+
* Aborts the request.
|
|
17
|
+
*/
|
|
18
|
+
signal?: AbortSignal;
|
|
19
|
+
/**
|
|
20
|
+
* Explicit collection URL for this call. Takes precedence over a `config.endpoints` override, which
|
|
21
|
+
* takes precedence over `{baseUrl}/{collection}`. A single resource is addressed as this URL followed
|
|
22
|
+
* by its identifier.
|
|
23
|
+
*/
|
|
24
|
+
url?: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Options for a paginated list.
|
|
28
|
+
*/
|
|
29
|
+
export type ManagementListOptions = ManagementCallOptions & Pick<ApiFilteringParams, 'limit' | 'offset'>;
|
|
30
|
+
/**
|
|
31
|
+
* Options for a paginated, filterable listing of variables or secrets.
|
|
32
|
+
*/
|
|
33
|
+
export type ManagementValueListOptions = ManagementCallOptions & ApiFilteringParams & {
|
|
34
|
+
names?: string[];
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Options of an account lifecycle operation, such as suspending a user.
|
|
38
|
+
*/
|
|
39
|
+
export type ManagementLifecycleOptions = ManagementCallOptions & AccountLifecycleOptions;
|
|
40
|
+
/**
|
|
41
|
+
* Options of an operation on an action, which belongs to a resource server or, when `resourceId` is given,
|
|
42
|
+
* to one of its resources.
|
|
43
|
+
*/
|
|
44
|
+
export type ManagementActionOptions = ManagementCallOptions & {
|
|
45
|
+
resourceId?: string;
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* Member reference accepted when adding or removing group members.
|
|
49
|
+
*/
|
|
50
|
+
export type ManagementGroupMemberInput = Pick<GroupMember, 'id' | 'type'>;
|
|
51
|
+
/**
|
|
52
|
+
* Resolves the URL inputs and bearer token for one management request. Implemented by
|
|
53
|
+
* `ThunderIDNodeClient`, which reads the access token of the bound session on every call.
|
|
54
|
+
*
|
|
55
|
+
* @param key - The resource collection the request targets.
|
|
56
|
+
* @param explicitUrl - A collection URL passed to the call, if any.
|
|
57
|
+
*/
|
|
58
|
+
export type ManagementRequestConfigResolver = (key: ManagementResourceKey, explicitUrl?: string) => Promise<Pick<ManagementRequestConfig, 'baseUrl' | 'url'> & {
|
|
59
|
+
headers: {
|
|
60
|
+
Authorization: string;
|
|
61
|
+
};
|
|
62
|
+
}>;
|
|
63
|
+
/**
|
|
64
|
+
* Server-side management operations bound to one session. Every request is authorized with that
|
|
65
|
+
* session's access token, read at the time of the call, so the token is never copied, cached, or
|
|
66
|
+
* exposed to the caller.
|
|
67
|
+
*
|
|
68
|
+
* Resources returned here are server records (`ManagedUser`, `Group`, `Role`, `Agent`), never the
|
|
69
|
+
* signed-in user. Failures are raised as `ThunderIDAPIError`, with HTTP 403 and 404 carrying the
|
|
70
|
+
* `<operation>-ForbiddenError-001` and `<operation>-NotFoundError-001` codes.
|
|
71
|
+
*/
|
|
72
|
+
export interface ThunderIDNodeManagementClient {
|
|
73
|
+
agentTypes: {
|
|
74
|
+
create(payload: CreateAgentTypeRequest, options?: ManagementCallOptions): Promise<AgentTypeDetails>;
|
|
75
|
+
delete(agentTypeId: string, options?: ManagementCallOptions): Promise<void>;
|
|
76
|
+
get(agentTypeId: string, options?: ManagementCallOptions): Promise<AgentTypeDetails>;
|
|
77
|
+
list(options?: ManagementListOptions): Promise<AgentTypeListResponse>;
|
|
78
|
+
update(agentTypeId: string, payload: UpdateAgentTypeRequest, options?: ManagementCallOptions): Promise<AgentTypeDetails>;
|
|
79
|
+
};
|
|
80
|
+
agents: {
|
|
81
|
+
create(payload: CreateAgentRequest, options?: ManagementCallOptions): Promise<Agent>;
|
|
82
|
+
delete(agentId: string, options?: ManagementCallOptions): Promise<void>;
|
|
83
|
+
get(agentId: string, options?: ManagementCallOptions): Promise<Agent>;
|
|
84
|
+
list(options?: ManagementCallOptions & ApiFilteringParams): Promise<AgentListResponse>;
|
|
85
|
+
listGroups(agentId: string, options?: ManagementListOptions): Promise<MembershipGroupListResponse>;
|
|
86
|
+
listRoles(agentId: string, options?: ManagementListOptions): Promise<AgentRoleListResponse>;
|
|
87
|
+
suspend(agentId: string, options?: ManagementLifecycleOptions): Promise<AccountLifecycleResult>;
|
|
88
|
+
unlock(agentId: string, options?: ManagementLifecycleOptions): Promise<AccountLifecycleResult>;
|
|
89
|
+
unsuspend(agentId: string, options?: ManagementLifecycleOptions): Promise<AccountLifecycleResult>;
|
|
90
|
+
update(agentId: string, payload: UpdateAgentRequest, options?: ManagementCallOptions): Promise<Agent>;
|
|
91
|
+
};
|
|
92
|
+
applications: {
|
|
93
|
+
create(payload: CreateApplicationRequest, options?: ManagementCallOptions): Promise<Application>;
|
|
94
|
+
createSharingPolicy(applicationId: string, payload: SharingPolicyRequest, options?: ManagementCallOptions): Promise<SharingPolicy>;
|
|
95
|
+
/**
|
|
96
|
+
* Deletes the application, through the server's deletion flow when `administrationMode` is `flow`.
|
|
97
|
+
*/
|
|
98
|
+
delete(applicationId: string, options?: ManagementCallOptions & AdministrationOptions): Promise<void>;
|
|
99
|
+
deleteSharingPolicy(applicationId: string, policyId: string, options?: ManagementCallOptions): Promise<void>;
|
|
100
|
+
get(applicationId: string, options?: ManagementCallOptions): Promise<Application>;
|
|
101
|
+
getOverlayRules(applicationId: string, ouId: string, options?: ManagementCallOptions): Promise<ResolvedOverlay>;
|
|
102
|
+
getSharingPolicy(applicationId: string, policyId: string, options?: ManagementCallOptions): Promise<SharingPolicy>;
|
|
103
|
+
list(options?: ManagementListOptions): Promise<ApplicationListResponse>;
|
|
104
|
+
listSharingPolicies(applicationId: string, options?: ManagementListOptions): Promise<SharingPolicyListResponse>;
|
|
105
|
+
/**
|
|
106
|
+
* Reads a client ID metadata document through the server. The preview is an endpoint of its own
|
|
107
|
+
* under `baseUrl`, so a collection `url` passed to the call does not apply.
|
|
108
|
+
*/
|
|
109
|
+
previewCimdDocument(clientId: string, options?: ManagementCallOptions): Promise<CimdPreviewResponse>;
|
|
110
|
+
/**
|
|
111
|
+
* Issues a new client secret. The secret is returned once and cannot be read again.
|
|
112
|
+
*/
|
|
113
|
+
regenerateClientSecret(applicationId: string, options?: ManagementCallOptions & AdministrationOptions): Promise<RegenerateClientSecretResult>;
|
|
114
|
+
/**
|
|
115
|
+
* Issues a new flow secret. The secret is returned once and cannot be read again.
|
|
116
|
+
*/
|
|
117
|
+
regenerateFlowSecret(applicationId: string, options?: ManagementCallOptions): Promise<RegenerateFlowSecretResult>;
|
|
118
|
+
suspend(applicationId: string, options?: ManagementLifecycleOptions): Promise<AccountLifecycleResult>;
|
|
119
|
+
unsuspend(applicationId: string, options?: ManagementLifecycleOptions): Promise<AccountLifecycleResult>;
|
|
120
|
+
update(applicationId: string, payload: UpdateApplicationRequest, options?: ManagementCallOptions): Promise<Application>;
|
|
121
|
+
updateSharingPolicy(applicationId: string, policyId: string, payload: SharingPolicyUpdateRequest, options?: ManagementCallOptions): Promise<SharingPolicy>;
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* Captured configuration versions, and the import and export of declarative resources.
|
|
125
|
+
*/
|
|
126
|
+
configuration: {
|
|
127
|
+
captureVersion(payload?: CaptureConfigurationVersionRequest, options?: ManagementCallOptions): Promise<ConfigurationVersion>;
|
|
128
|
+
deleteImported(payload: DeleteImportedConfigurationRequest, options?: ManagementCallOptions): Promise<DeleteImportedConfigurationResponse>;
|
|
129
|
+
export(payload: ConfigurationExportRequest, options?: ManagementCallOptions): Promise<ConfigurationExportResponse>;
|
|
130
|
+
getVersion(version: string, options?: ManagementCallOptions): Promise<ConfigurationVersion>;
|
|
131
|
+
import(payload: ConfigurationImportRequest, options?: ManagementCallOptions): Promise<ConfigurationImportResponse>;
|
|
132
|
+
listVersions(options?: ManagementCallOptions): Promise<ConfigurationVersion[]>;
|
|
133
|
+
};
|
|
134
|
+
connections: {
|
|
135
|
+
create(type: ConnectionType, payload: ConnectionRequest, options?: ManagementCallOptions): Promise<Connection>;
|
|
136
|
+
delete(type: ConnectionType, connectionId: string, options?: ManagementCallOptions): Promise<void>;
|
|
137
|
+
get(type: ConnectionType, connectionId: string, options?: ManagementCallOptions): Promise<Connection>;
|
|
138
|
+
getMeta(options?: ManagementCallOptions & {
|
|
139
|
+
vendor?: ConnectionType;
|
|
140
|
+
}): Promise<ConnectionMetaResponse>;
|
|
141
|
+
/**
|
|
142
|
+
* A page of connections across every type.
|
|
143
|
+
*/
|
|
144
|
+
list(options?: ManagementListOptions & {
|
|
145
|
+
category?: ConnectionCategory;
|
|
146
|
+
}): Promise<ConnectionListResponse>;
|
|
147
|
+
/**
|
|
148
|
+
* Every connection of one type.
|
|
149
|
+
*/
|
|
150
|
+
listByType(type: ConnectionType, options?: ManagementCallOptions): Promise<ConnectionSummary[]>;
|
|
151
|
+
listUsages(type: ConnectionTypeWithUsages, connectionId: string, options?: ManagementCallOptions): Promise<ConnectionUsagesResponse>;
|
|
152
|
+
update(type: ConnectionType, connectionId: string, payload: ConnectionRequest, options?: ManagementCallOptions): Promise<Connection>;
|
|
153
|
+
};
|
|
154
|
+
design: {
|
|
155
|
+
createLayout(payload: DesignLayoutRequest, options?: ManagementCallOptions): Promise<DesignLayout>;
|
|
156
|
+
createTheme(payload: DesignThemeRequest, options?: ManagementCallOptions): Promise<DesignTheme>;
|
|
157
|
+
deleteLayout(layoutId: string, options?: ManagementCallOptions): Promise<void>;
|
|
158
|
+
deleteTheme(themeId: string, options?: ManagementCallOptions): Promise<void>;
|
|
159
|
+
getLayout(layoutId: string, options?: ManagementCallOptions): Promise<DesignLayout>;
|
|
160
|
+
getTheme(themeId: string, options?: ManagementCallOptions): Promise<DesignTheme>;
|
|
161
|
+
listLayoutUsages(layoutId: string, options?: ManagementListOptions): Promise<ResourceUsagesResponse>;
|
|
162
|
+
listLayouts(options?: ManagementListOptions): Promise<DesignLayoutListResponse>;
|
|
163
|
+
listThemeUsages(themeId: string, options?: ManagementListOptions): Promise<ResourceUsagesResponse>;
|
|
164
|
+
listThemes(options?: ManagementListOptions): Promise<DesignThemeListResponse>;
|
|
165
|
+
resolve(type: DesignResolveType, id: string, options?: ManagementCallOptions): Promise<DesignResolveResponse>;
|
|
166
|
+
updateLayout(layoutId: string, payload: DesignLayoutRequest, options?: ManagementCallOptions): Promise<DesignLayout>;
|
|
167
|
+
updateTheme(themeId: string, payload: DesignThemeRequest, options?: ManagementCallOptions): Promise<DesignTheme>;
|
|
168
|
+
};
|
|
169
|
+
flows: {
|
|
170
|
+
create(payload: ManagedFlowRequest, options?: ManagementCallOptions): Promise<ManagedFlowDefinition>;
|
|
171
|
+
delete(flowId: string, options?: ManagementCallOptions): Promise<void>;
|
|
172
|
+
get(flowId: string, options?: ManagementCallOptions): Promise<ManagedFlowDefinition>;
|
|
173
|
+
getVersion(flowId: string, version: number, options?: ManagementCallOptions): Promise<ManagedFlowVersion>;
|
|
174
|
+
list(options?: ManagementListOptions & {
|
|
175
|
+
flowType?: string;
|
|
176
|
+
}): Promise<ManagedFlowListResponse>;
|
|
177
|
+
listUsages(flowId: string, options?: ManagementCallOptions): Promise<ResourceUsagesResponse>;
|
|
178
|
+
listVersions(flowId: string, options?: ManagementCallOptions): Promise<ManagedFlowVersionListResponse>;
|
|
179
|
+
restoreVersion(flowId: string, version: number, options?: ManagementCallOptions): Promise<ManagedFlowDefinition>;
|
|
180
|
+
update(flowId: string, payload: ManagedFlowRequest, options?: ManagementCallOptions): Promise<ManagedFlowDefinition>;
|
|
181
|
+
};
|
|
182
|
+
gateways: {
|
|
183
|
+
applyConfiguration(gatewayId: string, payload?: ApplyGatewayConfigurationRequest, options?: ManagementCallOptions): Promise<GatewayApplyResult>;
|
|
184
|
+
create(payload: RegisterGatewayRequest, options?: ManagementCallOptions): Promise<GatewayRegistration>;
|
|
185
|
+
createSecret(gatewayId: string, payload: SecretRequest, options?: ManagementCallOptions): Promise<Secret>;
|
|
186
|
+
createVariable(gatewayId: string, payload: VariableRequest, options?: ManagementCallOptions): Promise<Variable>;
|
|
187
|
+
delete(gatewayId: string, options?: ManagementCallOptions): Promise<void>;
|
|
188
|
+
deleteSecret(gatewayId: string, name: string, options?: ManagementCallOptions): Promise<void>;
|
|
189
|
+
deleteVariable(gatewayId: string, name: string, options?: ManagementCallOptions): Promise<void>;
|
|
190
|
+
get(gatewayId: string, options?: ManagementCallOptions): Promise<Gateway>;
|
|
191
|
+
getAppliedConfiguration(gatewayId: string, options?: ManagementCallOptions): Promise<GatewayAppliedConfiguration>;
|
|
192
|
+
getAppliedVersion(gatewayId: string, options?: ManagementCallOptions): Promise<GatewayAppliedVersion>;
|
|
193
|
+
getConfigurationDiff(gatewayId: string, options?: ManagementCallOptions & {
|
|
194
|
+
version?: string;
|
|
195
|
+
}): Promise<GatewayConfigurationDiff>;
|
|
196
|
+
getSecret(gatewayId: string, name: string, options?: ManagementCallOptions): Promise<Secret>;
|
|
197
|
+
getVariable(gatewayId: string, name: string, options?: ManagementCallOptions): Promise<Variable>;
|
|
198
|
+
list(options?: ManagementCallOptions): Promise<Gateway[]>;
|
|
199
|
+
listSecrets(gatewayId: string, options?: ManagementValueListOptions): Promise<SecretListResponse>;
|
|
200
|
+
listVariables(gatewayId: string, options?: ManagementValueListOptions): Promise<VariableListResponse>;
|
|
201
|
+
revertConfiguration(gatewayId: string, payload?: RevertGatewayConfigurationRequest, options?: ManagementCallOptions): Promise<GatewayApplyResult>;
|
|
202
|
+
update(gatewayId: string, payload: UpdateGatewayRequest, options?: ManagementCallOptions): Promise<Gateway>;
|
|
203
|
+
updateSecret(gatewayId: string, name: string, payload: SecretUpdateRequest, options?: ManagementCallOptions): Promise<Secret>;
|
|
204
|
+
updateVariable(gatewayId: string, name: string, payload: VariableUpdateRequest, options?: ManagementCallOptions): Promise<Variable>;
|
|
205
|
+
};
|
|
206
|
+
groups: {
|
|
207
|
+
addMembers(groupId: string, members: ManagementGroupMemberInput[], options?: ManagementCallOptions): Promise<Group>;
|
|
208
|
+
create(payload: CreateGroupRequest, options?: ManagementCallOptions): Promise<Group>;
|
|
209
|
+
delete(groupId: string, options?: ManagementCallOptions): Promise<void>;
|
|
210
|
+
get(groupId: string, options?: ManagementCallOptions): Promise<Group>;
|
|
211
|
+
list(options?: ManagementListOptions): Promise<GroupListResponse>;
|
|
212
|
+
listMembers(groupId: string, options?: ManagementListOptions): Promise<GroupMemberListResponse>;
|
|
213
|
+
removeMembers(groupId: string, members: ManagementGroupMemberInput[], options?: ManagementCallOptions): Promise<Group>;
|
|
214
|
+
update(groupId: string, payload: UpdateGroupRequest, options?: ManagementCallOptions): Promise<Group>;
|
|
215
|
+
};
|
|
216
|
+
i18n: {
|
|
217
|
+
deleteTranslation(language: string, namespace: string, key: string, options?: ManagementCallOptions): Promise<void>;
|
|
218
|
+
deleteTranslations(language: string, options?: ManagementCallOptions): Promise<void>;
|
|
219
|
+
listLanguages(options?: ManagementCallOptions): Promise<LanguageListResponse>;
|
|
220
|
+
resolveTranslation(language: string, namespace: string, key: string, options?: ManagementCallOptions): Promise<ManagedTranslation>;
|
|
221
|
+
resolveTranslations(language: string, options?: ManagementCallOptions & {
|
|
222
|
+
namespace?: string;
|
|
223
|
+
}): Promise<LanguageTranslationsResponse>;
|
|
224
|
+
setTranslation(language: string, namespace: string, key: string, payload: SetTranslationRequest, options?: ManagementCallOptions): Promise<ManagedTranslation>;
|
|
225
|
+
setTranslations(language: string, payload: SetTranslationsRequest, options?: ManagementCallOptions): Promise<LanguageTranslationsResponse>;
|
|
226
|
+
};
|
|
227
|
+
notificationTemplates: {
|
|
228
|
+
create(channel: NotificationChannel, payload: CreateNotificationTemplateRequest, options?: ManagementCallOptions): Promise<NotificationTemplate>;
|
|
229
|
+
delete(channel: NotificationChannel, templateId: string, options?: ManagementCallOptions): Promise<void>;
|
|
230
|
+
get(channel: NotificationChannel, templateId: string, options?: ManagementCallOptions): Promise<NotificationTemplate>;
|
|
231
|
+
list(channel: NotificationChannel, options?: ManagementListOptions): Promise<NotificationTemplateListResponse>;
|
|
232
|
+
update(channel: NotificationChannel, templateId: string, payload: UpdateNotificationTemplateRequest, options?: ManagementCallOptions): Promise<NotificationTemplate>;
|
|
233
|
+
};
|
|
234
|
+
/**
|
|
235
|
+
* Organization units. A unit is addressed by its identifier, or by its handle path (`engineering/platform`)
|
|
236
|
+
* through the `ByPath` operations and an {@link OrganizationUnitReference}.
|
|
237
|
+
*/
|
|
238
|
+
organizationUnits: {
|
|
239
|
+
create(payload: CreateOrganizationUnitRequest, options?: ManagementCallOptions): Promise<OrganizationUnit>;
|
|
240
|
+
delete(ouId: string, options?: ManagementCallOptions): Promise<void>;
|
|
241
|
+
deleteByPath(path: string, options?: ManagementCallOptions): Promise<void>;
|
|
242
|
+
get(ouId: string, options?: ManagementCallOptions): Promise<OrganizationUnit>;
|
|
243
|
+
getByPath(path: string, options?: ManagementCallOptions): Promise<OrganizationUnit>;
|
|
244
|
+
list(options?: ManagementCallOptions & ApiFilteringParams): Promise<OrganizationUnitListResponse>;
|
|
245
|
+
listChildren(unit: OrganizationUnitReference, options?: ManagementCallOptions & ApiFilteringParams): Promise<OrganizationUnitListResponse>;
|
|
246
|
+
listGroups(unit: OrganizationUnitReference, options?: ManagementListOptions): Promise<OrganizationUnitGroupListResponse>;
|
|
247
|
+
listRoles(unit: OrganizationUnitReference, options?: ManagementListOptions): Promise<OrganizationUnitRoleListResponse>;
|
|
248
|
+
listUsers(unit: OrganizationUnitReference, options?: ManagementListOptions): Promise<OrganizationUnitUserListResponse>;
|
|
249
|
+
update(ouId: string, payload: UpdateOrganizationUnitRequest, options?: ManagementCallOptions): Promise<OrganizationUnit>;
|
|
250
|
+
updateByPath(path: string, payload: UpdateOrganizationUnitByPathRequest, options?: ManagementCallOptions): Promise<OrganizationUnit>;
|
|
251
|
+
};
|
|
252
|
+
/**
|
|
253
|
+
* Resource servers, their resources, and the actions on either.
|
|
254
|
+
*/
|
|
255
|
+
resourceServers: {
|
|
256
|
+
create(payload: CreateResourceServerRequest, options?: ManagementCallOptions): Promise<ResourceServer>;
|
|
257
|
+
createAction(resourceServerId: string, payload: CreateActionRequest, options?: ManagementActionOptions): Promise<ManagedAction>;
|
|
258
|
+
createResource(resourceServerId: string, payload: CreateResourceRequest, options?: ManagementCallOptions): Promise<ManagedResource>;
|
|
259
|
+
delete(resourceServerId: string, options?: ManagementCallOptions): Promise<void>;
|
|
260
|
+
deleteAction(resourceServerId: string, actionId: string, options?: ManagementActionOptions & AdministrationOptions): Promise<void>;
|
|
261
|
+
deleteResource(resourceServerId: string, resourceId: string, options?: ManagementCallOptions): Promise<void>;
|
|
262
|
+
get(resourceServerId: string, options?: ManagementCallOptions): Promise<ResourceServer>;
|
|
263
|
+
getAction(resourceServerId: string, actionId: string, options?: ManagementActionOptions): Promise<ManagedAction>;
|
|
264
|
+
getResource(resourceServerId: string, resourceId: string, options?: ManagementCallOptions): Promise<ManagedResource>;
|
|
265
|
+
list(options?: ManagementListOptions): Promise<ResourceServerListResponse>;
|
|
266
|
+
listActions(resourceServerId: string, options?: ManagementListOptions & {
|
|
267
|
+
kind?: ManagedActionKind;
|
|
268
|
+
resourceId?: string;
|
|
269
|
+
}): Promise<ManagedActionListResponse>;
|
|
270
|
+
listResources(resourceServerId: string, options?: ManagementListOptions & {
|
|
271
|
+
parentId?: string;
|
|
272
|
+
}): Promise<ManagedResourceListResponse>;
|
|
273
|
+
update(resourceServerId: string, payload: UpdateResourceServerRequest, options?: ManagementCallOptions): Promise<ResourceServer>;
|
|
274
|
+
updateAction(resourceServerId: string, actionId: string, payload: UpdateActionRequest, options?: ManagementActionOptions): Promise<ManagedAction>;
|
|
275
|
+
updateResource(resourceServerId: string, resourceId: string, payload: UpdateResourceRequest, options?: ManagementCallOptions): Promise<ManagedResource>;
|
|
276
|
+
};
|
|
277
|
+
roles: {
|
|
278
|
+
addAssignments(roleId: string, assignments: RoleAssignmentInput[], options?: ManagementCallOptions): Promise<void>;
|
|
279
|
+
create(payload: CreateRoleRequest, options?: ManagementCallOptions): Promise<Role>;
|
|
280
|
+
delete(roleId: string, options?: ManagementCallOptions): Promise<void>;
|
|
281
|
+
get(roleId: string, options?: ManagementCallOptions): Promise<Role>;
|
|
282
|
+
list(options?: ManagementListOptions): Promise<RoleListResponse>;
|
|
283
|
+
listAssignments(roleId: string, options?: ManagementListOptions & {
|
|
284
|
+
type?: RoleAssigneeType;
|
|
285
|
+
}): Promise<RoleAssignmentListResponse>;
|
|
286
|
+
removeAssignments(roleId: string, assignments: RoleAssignmentInput[], options?: ManagementCallOptions): Promise<void>;
|
|
287
|
+
update(roleId: string, payload: UpdateRoleRequest, options?: ManagementCallOptions): Promise<Role>;
|
|
288
|
+
};
|
|
289
|
+
/**
|
|
290
|
+
* Server-level secrets. A secret's value is write-only: it is never returned, and never logged.
|
|
291
|
+
*/
|
|
292
|
+
secrets: {
|
|
293
|
+
create(payload: SecretRequest, options?: ManagementCallOptions): Promise<Secret>;
|
|
294
|
+
delete(name: string, options?: ManagementCallOptions): Promise<void>;
|
|
295
|
+
get(name: string, options?: ManagementCallOptions): Promise<Secret>;
|
|
296
|
+
list(options?: ManagementValueListOptions): Promise<SecretListResponse>;
|
|
297
|
+
update(name: string, payload: SecretUpdateRequest, options?: ManagementCallOptions): Promise<Secret>;
|
|
298
|
+
};
|
|
299
|
+
serverConfig: {
|
|
300
|
+
get<T = unknown>(name: string, options?: ManagementCallOptions): Promise<ServerConfigLayers<T>>;
|
|
301
|
+
list(options?: ManagementCallOptions): Promise<string[]>;
|
|
302
|
+
update<T = unknown>(name: string, payload: T, options?: ManagementCallOptions): Promise<ServerConfigLayers<T>>;
|
|
303
|
+
};
|
|
304
|
+
userTypes: {
|
|
305
|
+
list(options?: ManagementListOptions): Promise<ManagedUserTypeListResponse>;
|
|
306
|
+
};
|
|
307
|
+
users: {
|
|
308
|
+
create(payload: CreateManagedUserRequest, options?: ManagementCallOptions): Promise<ManagedUser>;
|
|
309
|
+
createByPath(path: string, payload: CreateUserByPathRequest, options?: ManagementCallOptions): Promise<ManagedUser>;
|
|
310
|
+
createSharingPolicy(userId: string, payload: SharingPolicyRequest, options?: ManagementCallOptions): Promise<SharingPolicy>;
|
|
311
|
+
delete(userId: string, options?: ManagementCallOptions): Promise<void>;
|
|
312
|
+
deleteSharingPolicy(userId: string, policyId: string, options?: ManagementCallOptions): Promise<void>;
|
|
313
|
+
get(userId: string, options?: ManagementCallOptions): Promise<ManagedUser>;
|
|
314
|
+
getOverlayRules(userId: string, ouId: string, options?: ManagementCallOptions): Promise<ResolvedOverlay>;
|
|
315
|
+
getSharingPolicy(userId: string, policyId: string, options?: ManagementCallOptions): Promise<SharingPolicy>;
|
|
316
|
+
list(options?: ManagementCallOptions & ApiFilteringParams): Promise<ManagedUserListResponse>;
|
|
317
|
+
listByPath(path: string, options?: ManagementListOptions): Promise<ManagedUserListResponse>;
|
|
318
|
+
listGroups(userId: string, options?: ManagementListOptions): Promise<MembershipGroupListResponse>;
|
|
319
|
+
listSharingPolicies(userId: string, options?: ManagementListOptions): Promise<SharingPolicyListResponse>;
|
|
320
|
+
suspend(userId: string, options?: ManagementLifecycleOptions): Promise<AccountLifecycleResult>;
|
|
321
|
+
unlock(userId: string, options?: ManagementLifecycleOptions): Promise<AccountLifecycleResult>;
|
|
322
|
+
unsuspend(userId: string, options?: ManagementLifecycleOptions): Promise<AccountLifecycleResult>;
|
|
323
|
+
update(userId: string, payload: UpdateManagedUserRequest, options?: ManagementCallOptions): Promise<ManagedUser>;
|
|
324
|
+
updateSharingPolicy(userId: string, policyId: string, payload: SharingPolicyUpdateRequest, options?: ManagementCallOptions): Promise<SharingPolicy>;
|
|
325
|
+
};
|
|
326
|
+
/**
|
|
327
|
+
* Server-level variables.
|
|
328
|
+
*/
|
|
329
|
+
variables: {
|
|
330
|
+
create(payload: VariableRequest, options?: ManagementCallOptions): Promise<Variable>;
|
|
331
|
+
delete(name: string, options?: ManagementCallOptions): Promise<void>;
|
|
332
|
+
get(name: string, options?: ManagementCallOptions): Promise<Variable>;
|
|
333
|
+
list(options?: ManagementValueListOptions): Promise<VariableListResponse>;
|
|
334
|
+
update(name: string, payload: VariableUpdateRequest, options?: ManagementCallOptions): Promise<Variable>;
|
|
335
|
+
};
|
|
336
|
+
}
|
|
337
|
+
//# sourceMappingURL=management.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"management.d.ts","sourceRoot":"","sources":["../../src/models/management.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,uBAAuB,EACvB,sBAAsB,EACtB,qBAAqB,EACrB,KAAK,EACL,iBAAiB,EACjB,qBAAqB,EACrB,gBAAgB,EAChB,qBAAqB,EACrB,UAAU,EACV,kBAAkB,EAClB,WAAW,EACX,uBAAuB,EACvB,gCAAgC,EAChC,kCAAkC,EAClC,mBAAmB,EACnB,0BAA0B,EAC1B,2BAA2B,EAC3B,0BAA0B,EAC1B,2BAA2B,EAC3B,oBAAoB,EACpB,UAAU,EACV,kBAAkB,EAClB,sBAAsB,EACtB,sBAAsB,EACtB,iBAAiB,EACjB,iBAAiB,EACjB,cAAc,EACd,wBAAwB,EACxB,wBAAwB,EACxB,mBAAmB,EACnB,kBAAkB,EAClB,sBAAsB,EACtB,wBAAwB,EACxB,kBAAkB,EAClB,wBAAwB,EACxB,iCAAiC,EACjC,6BAA6B,EAC7B,qBAAqB,EACrB,2BAA2B,EAC3B,iBAAiB,EACjB,uBAAuB,EACvB,kCAAkC,EAClC,mCAAmC,EACnC,YAAY,EACZ,wBAAwB,EACxB,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,EACjB,WAAW,EACX,uBAAuB,EACvB,kBAAkB,EAClB,OAAO,EACP,2BAA2B,EAC3B,qBAAqB,EACrB,kBAAkB,EAClB,wBAAwB,EACxB,mBAAmB,EACnB,KAAK,EACL,iBAAiB,EAC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M,EAAE,OAAO,CAAC,EAAE,qBAAqB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;QACrE,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,qBAAqB,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;QACtE,IAAI,CAAC,OAAO,CAAC,EAAE,0BAA0B,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAC1E,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,qBAAqB,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;KAC1G,CAAC;CACH"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ManagementRequestConfigResolver, ThunderIDNodeManagementClient } from '../models/management';
|
|
2
|
+
/**
|
|
3
|
+
* Builds the server-side management client for one session.
|
|
4
|
+
*
|
|
5
|
+
* Each operation resolves its request config through `resolve` at call time, so the access token is
|
|
6
|
+
* read fresh for every request and never held by the returned object.
|
|
7
|
+
*
|
|
8
|
+
* @param resolve - Supplies the base URL, collection URL, and `Authorization` header for a request.
|
|
9
|
+
* @returns The session-bound management operations.
|
|
10
|
+
*/
|
|
11
|
+
declare const createManagementClient: (resolve: ManagementRequestConfigResolver) => ThunderIDNodeManagementClient;
|
|
12
|
+
export default createManagementClient;
|
|
13
|
+
//# sourceMappingURL=createManagementClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createManagementClient.d.ts","sourceRoot":"","sources":["../../src/utils/createManagementClient.ts"],"names":[],"mappings":"AAmLA,OAAO,EAEL,+BAA+B,EAE/B,6BAA6B,EAC9B,MAAM,sBAAsB,CAAC;AAqB9B;;;;;;;;GAQG;AACH,QAAA,MAAM,sBAAsB,GAAI,SAAS,+BAA+B,KAAG,6BA0tB1E,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { ResourceEndpointConfig, ResourceEndpointKey } from '@thunderid/javascript';
|
|
2
|
+
/**
|
|
3
|
+
* The management collections a browser may reach through a server-side management relay, keyed by
|
|
4
|
+
* their `endpoints` override key, with the path each one has under `baseUrl`.
|
|
5
|
+
*/
|
|
6
|
+
export declare const MANAGEMENT_COLLECTIONS: Readonly<Record<Extract<ResourceEndpointKey, 'agents' | 'agentTypes' | 'applications' | 'configurationVersions' | 'connections' | 'design' | 'export' | 'flows' | 'gateways' | 'groups' | 'i18n' | 'import' | 'notificationTemplates' | 'organizationUnits' | 'resourceServers' | 'roles' | 'secrets' | 'serverConfig' | 'users' | 'userTypes' | 'variables'>, string>>;
|
|
7
|
+
export type ManagementCollectionKey = keyof typeof MANAGEMENT_COLLECTIONS;
|
|
8
|
+
export declare const MANAGEMENT_COLLECTION_KEYS: ManagementCollectionKey[];
|
|
9
|
+
/**
|
|
10
|
+
* The collection URLs a management request may target for this configuration: each collection's
|
|
11
|
+
* `endpoints` override, or `{baseUrl}/{path}` and the organization-scoped `{baseUrl}/o/{path}`.
|
|
12
|
+
*/
|
|
13
|
+
export declare const getManagementCollectionUrls: (config: (ResourceEndpointConfig & {
|
|
14
|
+
baseUrl?: string;
|
|
15
|
+
}) | undefined) => URL[];
|
|
16
|
+
/**
|
|
17
|
+
* Whether `target` addresses one of the management collections, or a resource or sub-resource under
|
|
18
|
+
* one. The comparison runs on the parsed URL, so dot segments are resolved before it, and an
|
|
19
|
+
* encoded slash, backslash or dot, which an upstream could decode into a different path, is refused.
|
|
20
|
+
*
|
|
21
|
+
* @param target - The absolute URL the browser asked for.
|
|
22
|
+
* @param collections - The allowed collection URLs, from {@link getManagementCollectionUrls}.
|
|
23
|
+
* @returns The parsed URL when it is allowed, otherwise `undefined`.
|
|
24
|
+
*/
|
|
25
|
+
export declare const matchManagementUrl: (target: unknown, collections: URL[]) => URL | undefined;
|
|
26
|
+
//# sourceMappingURL=managementCollections.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"managementCollections.d.ts","sourceRoot":"","sources":["../../src/utils/managementCollections.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAC,sBAAsB,EAAE,mBAAmB,EAAC,MAAM,uBAAuB,CAAC;AAKvF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,EAAE,QAAQ,CAC3C,MAAM,CACJ,OAAO,CACL,mBAAmB,EACjB,QAAQ,GACR,YAAY,GACZ,cAAc,GACd,uBAAuB,GACvB,aAAa,GACb,QAAQ,GACR,QAAQ,GACR,OAAO,GACP,UAAU,GACV,QAAQ,GACR,MAAM,GACN,QAAQ,GACR,uBAAuB,GACvB,mBAAmB,GACnB,iBAAiB,GACjB,OAAO,GACP,SAAS,GACT,cAAc,GACd,OAAO,GACP,WAAW,GACX,WAAW,CACd,EACD,MAAM,CACP,CAuBF,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,MAAM,OAAO,sBAAsB,CAAC;AAE1E,eAAO,MAAM,0BAA0B,EAAE,uBAAuB,EAElC,CAAC;AAE/B;;;GAGG;AACH,eAAO,MAAM,2BAA2B,GACtC,QAAQ,CAAC,sBAAsB,GAAG;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAC,CAAC,GAAG,SAAS,KAChE,GAAG,EAsBL,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,kBAAkB,GAAI,QAAQ,OAAO,EAAE,aAAa,GAAG,EAAE,KAAG,GAAG,GAAG,SAgC9E,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thunderid/node",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"description": "Node.js runtime SDK for ThunderID",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"thunderid",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"vitest": "4.1.11"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@thunderid/javascript": "^1.
|
|
47
|
+
"@thunderid/javascript": "^1.7.0",
|
|
48
48
|
"base64url": "3.0.1",
|
|
49
49
|
"cross-fetch": "4.1.0",
|
|
50
50
|
"fast-sha256": "1.3.0",
|