auth0 5.2.0 → 5.3.1
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/LICENSE +1 -1
- package/dist/cjs/management/Client.d.ts +3 -0
- package/dist/cjs/management/Client.js +59 -54
- package/dist/cjs/management/api/errors/PreconditionFailedError.d.ts +5 -0
- package/dist/cjs/management/api/errors/PreconditionFailedError.js +54 -0
- package/dist/cjs/management/api/errors/index.d.ts +1 -0
- package/dist/cjs/management/api/errors/index.js +1 -0
- package/dist/cjs/management/api/requests/requests.d.ts +212 -134
- package/dist/cjs/management/api/requests/requests.js +0 -108
- package/dist/cjs/management/api/resources/actions/client/Client.d.ts +3 -0
- package/dist/cjs/management/api/resources/actions/client/Client.js +9 -4
- package/dist/cjs/management/api/resources/actions/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/actions/resources/index.js +2 -1
- package/dist/cjs/management/api/resources/actions/resources/modules/client/Client.d.ts +149 -0
- package/dist/cjs/management/api/resources/actions/resources/modules/client/Client.js +569 -0
- package/dist/cjs/management/api/resources/actions/resources/modules/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/actions/resources/modules/client/index.js +2 -0
- package/dist/cjs/management/api/resources/actions/resources/modules/index.d.ts +2 -0
- package/dist/cjs/management/api/resources/actions/resources/modules/index.js +18 -0
- package/dist/cjs/management/api/resources/actions/resources/modules/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/actions/resources/modules/resources/index.js +37 -0
- package/dist/cjs/management/api/resources/actions/resources/modules/resources/versions/client/Client.d.ts +69 -0
- package/dist/cjs/management/api/resources/actions/resources/modules/resources/versions/client/Client.js +275 -0
- package/dist/cjs/management/api/resources/actions/resources/modules/resources/versions/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/actions/resources/modules/resources/versions/client/index.js +2 -0
- package/dist/cjs/management/api/resources/actions/resources/modules/resources/versions/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/actions/resources/modules/resources/versions/index.js +17 -0
- package/dist/cjs/management/api/resources/actions/resources/versions/client/Client.d.ts +2 -2
- package/dist/cjs/management/api/resources/actions/resources/versions/client/Client.js +1 -1
- package/dist/cjs/management/api/resources/clientGrants/client/Client.d.ts +17 -0
- package/dist/cjs/management/api/resources/clientGrants/client/Client.js +61 -0
- package/dist/cjs/management/api/resources/connections/client/Client.d.ts +7 -3
- package/dist/cjs/management/api/resources/connections/client/Client.js +9 -5
- package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/client/Client.d.ts +18 -0
- package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/client/Client.js +80 -0
- package/dist/cjs/management/api/resources/deviceCredentials/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/deviceCredentials/client/Client.js +2 -1
- package/dist/cjs/management/api/resources/eventStreams/client/Client.d.ts +1 -2
- package/dist/cjs/management/api/resources/eventStreams/client/Client.js +59 -50
- package/dist/cjs/management/api/resources/flows/client/Client.d.ts +2 -2
- package/dist/cjs/management/api/resources/flows/client/Client.js +1 -1
- package/dist/cjs/management/api/resources/flows/resources/executions/client/Client.d.ts +4 -4
- package/dist/cjs/management/api/resources/flows/resources/executions/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/groups/client/Client.d.ts +56 -0
- package/dist/cjs/management/api/resources/groups/client/Client.js +224 -0
- package/dist/cjs/management/api/resources/groups/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/groups/client/index.js +2 -0
- package/dist/cjs/management/api/resources/groups/index.d.ts +2 -0
- package/dist/cjs/management/api/resources/groups/index.js +18 -0
- package/dist/cjs/management/api/resources/groups/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/groups/resources/index.js +37 -0
- package/dist/cjs/management/api/resources/groups/resources/members/client/Client.d.ts +34 -0
- package/dist/cjs/management/api/resources/groups/resources/members/client/Client.js +148 -0
- package/dist/cjs/management/api/resources/groups/resources/members/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/groups/resources/members/client/index.js +2 -0
- package/dist/cjs/management/api/resources/groups/resources/members/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/groups/resources/members/index.js +17 -0
- package/dist/cjs/management/api/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/index.js +2 -1
- package/dist/cjs/management/api/resources/organizations/resources/discoveryDomains/client/Client.d.ts +20 -1
- package/dist/cjs/management/api/resources/organizations/resources/discoveryDomains/client/Client.js +66 -1
- package/dist/cjs/management/api/resources/prompts/resources/rendering/client/Client.d.ts +1 -1
- package/dist/cjs/management/api/resources/refreshTokens/client/Client.d.ts +18 -0
- package/dist/cjs/management/api/resources/refreshTokens/client/Client.js +67 -0
- package/dist/cjs/management/api/resources/roles/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/roles/client/Client.js +3 -0
- package/dist/cjs/management/api/resources/tokenExchangeProfiles/client/Client.d.ts +2 -1
- package/dist/cjs/management/api/resources/tokenExchangeProfiles/client/Client.js +3 -2
- package/dist/cjs/management/api/resources/users/client/Client.d.ts +3 -0
- package/dist/cjs/management/api/resources/users/client/Client.js +23 -18
- package/dist/cjs/management/api/resources/users/resources/groups/client/Client.d.ts +34 -0
- package/dist/cjs/management/api/resources/users/resources/groups/client/Client.js +148 -0
- package/dist/cjs/management/api/resources/users/resources/groups/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/users/resources/groups/client/index.js +2 -0
- package/dist/cjs/management/api/resources/users/resources/groups/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/users/resources/groups/index.js +17 -0
- package/dist/cjs/management/api/resources/users/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/users/resources/index.js +2 -1
- package/dist/cjs/management/api/types/types.d.ts +5277 -1396
- package/dist/cjs/management/api/types/types.js +2143 -442
- package/dist/cjs/management/version.d.ts +1 -1
- package/dist/cjs/management/version.js +1 -1
- package/dist/esm/management/Client.d.mts +3 -0
- package/dist/esm/management/Client.mjs +5 -0
- package/dist/esm/management/api/errors/PreconditionFailedError.d.mts +5 -0
- package/dist/esm/management/api/errors/PreconditionFailedError.mjs +17 -0
- package/dist/esm/management/api/errors/index.d.mts +1 -0
- package/dist/esm/management/api/errors/index.mjs +1 -0
- package/dist/esm/management/api/requests/requests.d.mts +212 -134
- package/dist/esm/management/api/requests/requests.mjs +1 -107
- package/dist/esm/management/api/resources/actions/client/Client.d.mts +3 -0
- package/dist/esm/management/api/resources/actions/client/Client.mjs +5 -0
- package/dist/esm/management/api/resources/actions/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/actions/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/actions/resources/modules/client/Client.d.mts +149 -0
- package/dist/esm/management/api/resources/actions/resources/modules/client/Client.mjs +532 -0
- package/dist/esm/management/api/resources/actions/resources/modules/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/actions/resources/modules/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/actions/resources/modules/index.d.mts +2 -0
- package/dist/esm/management/api/resources/actions/resources/modules/index.mjs +2 -0
- package/dist/esm/management/api/resources/actions/resources/modules/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/actions/resources/modules/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/actions/resources/modules/resources/versions/client/Client.d.mts +69 -0
- package/dist/esm/management/api/resources/actions/resources/modules/resources/versions/client/Client.mjs +238 -0
- package/dist/esm/management/api/resources/actions/resources/modules/resources/versions/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/actions/resources/modules/resources/versions/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/actions/resources/modules/resources/versions/index.d.mts +1 -0
- package/dist/esm/management/api/resources/actions/resources/modules/resources/versions/index.mjs +1 -0
- package/dist/esm/management/api/resources/actions/resources/versions/client/Client.d.mts +2 -2
- package/dist/esm/management/api/resources/actions/resources/versions/client/Client.mjs +1 -1
- package/dist/esm/management/api/resources/clientGrants/client/Client.d.mts +17 -0
- package/dist/esm/management/api/resources/clientGrants/client/Client.mjs +61 -0
- package/dist/esm/management/api/resources/connections/client/Client.d.mts +7 -3
- package/dist/esm/management/api/resources/connections/client/Client.mjs +9 -5
- package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/client/Client.d.mts +18 -0
- package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/client/Client.mjs +80 -0
- package/dist/esm/management/api/resources/deviceCredentials/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/deviceCredentials/client/Client.mjs +2 -1
- package/dist/esm/management/api/resources/eventStreams/client/Client.d.mts +1 -2
- package/dist/esm/management/api/resources/eventStreams/client/Client.mjs +59 -50
- package/dist/esm/management/api/resources/flows/client/Client.d.mts +2 -2
- package/dist/esm/management/api/resources/flows/client/Client.mjs +1 -1
- package/dist/esm/management/api/resources/flows/resources/executions/client/Client.d.mts +4 -4
- package/dist/esm/management/api/resources/flows/resources/executions/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/groups/client/Client.d.mts +56 -0
- package/dist/esm/management/api/resources/groups/client/Client.mjs +187 -0
- package/dist/esm/management/api/resources/groups/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/groups/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/groups/index.d.mts +2 -0
- package/dist/esm/management/api/resources/groups/index.mjs +2 -0
- package/dist/esm/management/api/resources/groups/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/groups/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/groups/resources/members/client/Client.d.mts +34 -0
- package/dist/esm/management/api/resources/groups/resources/members/client/Client.mjs +111 -0
- package/dist/esm/management/api/resources/groups/resources/members/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/groups/resources/members/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/groups/resources/members/index.d.mts +1 -0
- package/dist/esm/management/api/resources/groups/resources/members/index.mjs +1 -0
- package/dist/esm/management/api/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/resources/discoveryDomains/client/Client.d.mts +20 -1
- package/dist/esm/management/api/resources/organizations/resources/discoveryDomains/client/Client.mjs +66 -1
- package/dist/esm/management/api/resources/prompts/resources/rendering/client/Client.d.mts +1 -1
- package/dist/esm/management/api/resources/refreshTokens/client/Client.d.mts +18 -0
- package/dist/esm/management/api/resources/refreshTokens/client/Client.mjs +67 -0
- package/dist/esm/management/api/resources/roles/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/roles/client/Client.mjs +3 -0
- package/dist/esm/management/api/resources/tokenExchangeProfiles/client/Client.d.mts +2 -1
- package/dist/esm/management/api/resources/tokenExchangeProfiles/client/Client.mjs +3 -2
- package/dist/esm/management/api/resources/users/client/Client.d.mts +3 -0
- package/dist/esm/management/api/resources/users/client/Client.mjs +5 -0
- package/dist/esm/management/api/resources/users/resources/groups/client/Client.d.mts +34 -0
- package/dist/esm/management/api/resources/users/resources/groups/client/Client.mjs +111 -0
- package/dist/esm/management/api/resources/users/resources/groups/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/users/resources/groups/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/users/resources/groups/index.d.mts +1 -0
- package/dist/esm/management/api/resources/users/resources/groups/index.mjs +1 -0
- package/dist/esm/management/api/resources/users/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/users/resources/index.mjs +1 -0
- package/dist/esm/management/api/types/types.d.mts +5277 -1396
- package/dist/esm/management/api/types/types.mjs +2133 -438
- package/dist/esm/management/version.d.mts +1 -1
- package/dist/esm/management/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +1572 -185
|
@@ -14,6 +14,7 @@ export * as eventStreams from "./eventStreams/index.mjs";
|
|
|
14
14
|
export * from "./eventStreams/types/index.mjs";
|
|
15
15
|
export * as flows from "./flows/index.mjs";
|
|
16
16
|
export * as forms from "./forms/index.mjs";
|
|
17
|
+
export * as groups from "./groups/index.mjs";
|
|
17
18
|
export * as guardian from "./guardian/index.mjs";
|
|
18
19
|
export * as hooks from "./hooks/index.mjs";
|
|
19
20
|
export * as jobs from "./jobs/index.mjs";
|
|
@@ -31,7 +31,7 @@ export declare class DiscoveryDomainsClient {
|
|
|
31
31
|
*/
|
|
32
32
|
list(id: string, request?: Management.ListOrganizationDiscoveryDomainsRequestParameters, requestOptions?: DiscoveryDomainsClient.RequestOptions): Promise<core.Page<Management.OrganizationDiscoveryDomain, Management.ListOrganizationDiscoveryDomainsResponseContent>>;
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* Create a new discovery domain for an organization.
|
|
35
35
|
*
|
|
36
36
|
* @param {string} id - ID of the organization.
|
|
37
37
|
* @param {Management.CreateOrganizationDiscoveryDomainRequestContent} request
|
|
@@ -51,6 +51,25 @@ export declare class DiscoveryDomainsClient {
|
|
|
51
51
|
*/
|
|
52
52
|
create(id: string, request: Management.CreateOrganizationDiscoveryDomainRequestContent, requestOptions?: DiscoveryDomainsClient.RequestOptions): core.HttpResponsePromise<Management.CreateOrganizationDiscoveryDomainResponseContent>;
|
|
53
53
|
private __create;
|
|
54
|
+
/**
|
|
55
|
+
* Retrieve details about a single organization discovery domain specified by domain name.
|
|
56
|
+
*
|
|
57
|
+
*
|
|
58
|
+
* @param {string} id - ID of the organization.
|
|
59
|
+
* @param {string} discovery_domain - Domain name of the discovery domain.
|
|
60
|
+
* @param {DiscoveryDomainsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link Management.BadRequestError}
|
|
63
|
+
* @throws {@link Management.UnauthorizedError}
|
|
64
|
+
* @throws {@link Management.ForbiddenError}
|
|
65
|
+
* @throws {@link Management.NotFoundError}
|
|
66
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* await client.organizations.discoveryDomains.getByName("id", "discovery_domain")
|
|
70
|
+
*/
|
|
71
|
+
getByName(id: string, discovery_domain: string, requestOptions?: DiscoveryDomainsClient.RequestOptions): core.HttpResponsePromise<Management.GetOrganizationDiscoveryDomainByNameResponseContent>;
|
|
72
|
+
private __getByName;
|
|
54
73
|
/**
|
|
55
74
|
* Retrieve details about a single organization discovery domain specified by ID.
|
|
56
75
|
*
|
package/dist/esm/management/api/resources/organizations/resources/discoveryDomains/client/Client.mjs
CHANGED
|
@@ -104,7 +104,7 @@ export class DiscoveryDomainsClient {
|
|
|
104
104
|
});
|
|
105
105
|
}
|
|
106
106
|
/**
|
|
107
|
-
*
|
|
107
|
+
* Create a new discovery domain for an organization.
|
|
108
108
|
*
|
|
109
109
|
* @param {string} id - ID of the organization.
|
|
110
110
|
* @param {Management.CreateOrganizationDiscoveryDomainRequestContent} request
|
|
@@ -175,6 +175,71 @@ export class DiscoveryDomainsClient {
|
|
|
175
175
|
return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/organizations/{id}/discovery-domains");
|
|
176
176
|
});
|
|
177
177
|
}
|
|
178
|
+
/**
|
|
179
|
+
* Retrieve details about a single organization discovery domain specified by domain name.
|
|
180
|
+
*
|
|
181
|
+
*
|
|
182
|
+
* @param {string} id - ID of the organization.
|
|
183
|
+
* @param {string} discovery_domain - Domain name of the discovery domain.
|
|
184
|
+
* @param {DiscoveryDomainsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
185
|
+
*
|
|
186
|
+
* @throws {@link Management.BadRequestError}
|
|
187
|
+
* @throws {@link Management.UnauthorizedError}
|
|
188
|
+
* @throws {@link Management.ForbiddenError}
|
|
189
|
+
* @throws {@link Management.NotFoundError}
|
|
190
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
191
|
+
*
|
|
192
|
+
* @example
|
|
193
|
+
* await client.organizations.discoveryDomains.getByName("id", "discovery_domain")
|
|
194
|
+
*/
|
|
195
|
+
getByName(id, discovery_domain, requestOptions) {
|
|
196
|
+
return core.HttpResponsePromise.fromPromise(this.__getByName(id, discovery_domain, requestOptions));
|
|
197
|
+
}
|
|
198
|
+
__getByName(id, discovery_domain, requestOptions) {
|
|
199
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
200
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
201
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
202
|
+
let _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
203
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
204
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, `organizations/${core.url.encodePathParam(id)}/discovery-domains/name/${core.url.encodePathParam(discovery_domain)}`),
|
|
205
|
+
method: "GET",
|
|
206
|
+
headers: _headers,
|
|
207
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
208
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
209
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
210
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
211
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
212
|
+
logging: this._options.logging,
|
|
213
|
+
});
|
|
214
|
+
if (_response.ok) {
|
|
215
|
+
return {
|
|
216
|
+
data: _response.body,
|
|
217
|
+
rawResponse: _response.rawResponse,
|
|
218
|
+
};
|
|
219
|
+
}
|
|
220
|
+
if (_response.error.reason === "status-code") {
|
|
221
|
+
switch (_response.error.statusCode) {
|
|
222
|
+
case 400:
|
|
223
|
+
throw new Management.BadRequestError(_response.error.body, _response.rawResponse);
|
|
224
|
+
case 401:
|
|
225
|
+
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
226
|
+
case 403:
|
|
227
|
+
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
228
|
+
case 404:
|
|
229
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
230
|
+
case 429:
|
|
231
|
+
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
232
|
+
default:
|
|
233
|
+
throw new errors.ManagementError({
|
|
234
|
+
statusCode: _response.error.statusCode,
|
|
235
|
+
body: _response.error.body,
|
|
236
|
+
rawResponse: _response.rawResponse,
|
|
237
|
+
});
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/organizations/{id}/discovery-domains/name/{discovery_domain}");
|
|
241
|
+
});
|
|
242
|
+
}
|
|
178
243
|
/**
|
|
179
244
|
* Retrieve details about a single organization discovery domain specified by ID.
|
|
180
245
|
*
|
|
@@ -34,7 +34,7 @@ export declare class RenderingClient {
|
|
|
34
34
|
* rendering_mode: "advanced"
|
|
35
35
|
* })
|
|
36
36
|
*/
|
|
37
|
-
list(request?: Management.ListAculsRequestParameters, requestOptions?: RenderingClient.RequestOptions): Promise<core.Page<Management.
|
|
37
|
+
list(request?: Management.ListAculsRequestParameters, requestOptions?: RenderingClient.RequestOptions): Promise<core.Page<Management.ListAculsResponseContentItem, Management.ListAculsOffsetPaginatedResponseContent>>;
|
|
38
38
|
/**
|
|
39
39
|
* Learn more about <a href='https://auth0.com/docs/customize/login-pages/advanced-customizations/getting-started/configure-acul-screens'>configuring render settings</a> for advanced customization.
|
|
40
40
|
*
|
|
@@ -42,4 +42,22 @@ export declare class RefreshTokensClient {
|
|
|
42
42
|
*/
|
|
43
43
|
delete(id: string, requestOptions?: RefreshTokensClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
44
44
|
private __delete;
|
|
45
|
+
/**
|
|
46
|
+
* Update a refresh token by its ID.
|
|
47
|
+
*
|
|
48
|
+
* @param {string} id - ID of the refresh token to update.
|
|
49
|
+
* @param {Management.UpdateRefreshTokenRequestContent} request
|
|
50
|
+
* @param {RefreshTokensClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link Management.BadRequestError}
|
|
53
|
+
* @throws {@link Management.UnauthorizedError}
|
|
54
|
+
* @throws {@link Management.ForbiddenError}
|
|
55
|
+
* @throws {@link Management.NotFoundError}
|
|
56
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* await client.refreshTokens.update("id")
|
|
60
|
+
*/
|
|
61
|
+
update(id: string, request?: Management.UpdateRefreshTokenRequestContent, requestOptions?: RefreshTokensClient.RequestOptions): core.HttpResponsePromise<Management.UpdateRefreshTokenResponseContent>;
|
|
62
|
+
private __update;
|
|
45
63
|
}
|
|
@@ -136,4 +136,71 @@ export class RefreshTokensClient {
|
|
|
136
136
|
return handleNonStatusCodeError(_response.error, _response.rawResponse, "DELETE", "/refresh-tokens/{id}");
|
|
137
137
|
});
|
|
138
138
|
}
|
|
139
|
+
/**
|
|
140
|
+
* Update a refresh token by its ID.
|
|
141
|
+
*
|
|
142
|
+
* @param {string} id - ID of the refresh token to update.
|
|
143
|
+
* @param {Management.UpdateRefreshTokenRequestContent} request
|
|
144
|
+
* @param {RefreshTokensClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
145
|
+
*
|
|
146
|
+
* @throws {@link Management.BadRequestError}
|
|
147
|
+
* @throws {@link Management.UnauthorizedError}
|
|
148
|
+
* @throws {@link Management.ForbiddenError}
|
|
149
|
+
* @throws {@link Management.NotFoundError}
|
|
150
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
151
|
+
*
|
|
152
|
+
* @example
|
|
153
|
+
* await client.refreshTokens.update("id")
|
|
154
|
+
*/
|
|
155
|
+
update(id, request = {}, requestOptions) {
|
|
156
|
+
return core.HttpResponsePromise.fromPromise(this.__update(id, request, requestOptions));
|
|
157
|
+
}
|
|
158
|
+
__update(id_1) {
|
|
159
|
+
return __awaiter(this, arguments, void 0, function* (id, request = {}, requestOptions) {
|
|
160
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
161
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
162
|
+
let _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
163
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
164
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, `refresh-tokens/${core.url.encodePathParam(id)}`),
|
|
165
|
+
method: "PATCH",
|
|
166
|
+
headers: _headers,
|
|
167
|
+
contentType: "application/json",
|
|
168
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
169
|
+
requestType: "json",
|
|
170
|
+
body: request,
|
|
171
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
172
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
173
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
174
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
175
|
+
logging: this._options.logging,
|
|
176
|
+
});
|
|
177
|
+
if (_response.ok) {
|
|
178
|
+
return {
|
|
179
|
+
data: _response.body,
|
|
180
|
+
rawResponse: _response.rawResponse,
|
|
181
|
+
};
|
|
182
|
+
}
|
|
183
|
+
if (_response.error.reason === "status-code") {
|
|
184
|
+
switch (_response.error.statusCode) {
|
|
185
|
+
case 400:
|
|
186
|
+
throw new Management.BadRequestError(_response.error.body, _response.rawResponse);
|
|
187
|
+
case 401:
|
|
188
|
+
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
189
|
+
case 403:
|
|
190
|
+
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
191
|
+
case 404:
|
|
192
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
193
|
+
case 429:
|
|
194
|
+
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
195
|
+
default:
|
|
196
|
+
throw new errors.ManagementError({
|
|
197
|
+
statusCode: _response.error.statusCode,
|
|
198
|
+
body: _response.error.body,
|
|
199
|
+
rawResponse: _response.rawResponse,
|
|
200
|
+
});
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "PATCH", "/refresh-tokens/{id}");
|
|
204
|
+
});
|
|
205
|
+
}
|
|
139
206
|
}
|
|
@@ -49,6 +49,7 @@ export declare class RolesClient {
|
|
|
49
49
|
* @throws {@link Management.BadRequestError}
|
|
50
50
|
* @throws {@link Management.UnauthorizedError}
|
|
51
51
|
* @throws {@link Management.ForbiddenError}
|
|
52
|
+
* @throws {@link Management.ConflictError}
|
|
52
53
|
* @throws {@link Management.TooManyRequestsError}
|
|
53
54
|
*
|
|
54
55
|
* @example
|
|
@@ -132,6 +132,7 @@ export class RolesClient {
|
|
|
132
132
|
* @throws {@link Management.BadRequestError}
|
|
133
133
|
* @throws {@link Management.UnauthorizedError}
|
|
134
134
|
* @throws {@link Management.ForbiddenError}
|
|
135
|
+
* @throws {@link Management.ConflictError}
|
|
135
136
|
* @throws {@link Management.TooManyRequestsError}
|
|
136
137
|
*
|
|
137
138
|
* @example
|
|
@@ -172,6 +173,8 @@ export class RolesClient {
|
|
|
172
173
|
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
173
174
|
case 403:
|
|
174
175
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
176
|
+
case 409:
|
|
177
|
+
throw new Management.ConflictError(_response.error.body, _response.rawResponse);
|
|
175
178
|
case 429:
|
|
176
179
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
177
180
|
default:
|
|
@@ -56,7 +56,8 @@ export declare class TokenExchangeProfilesClient {
|
|
|
56
56
|
* await client.tokenExchangeProfiles.create({
|
|
57
57
|
* name: "name",
|
|
58
58
|
* subject_token_type: "subject_token_type",
|
|
59
|
-
* action_id: "action_id"
|
|
59
|
+
* action_id: "action_id",
|
|
60
|
+
* type: "custom_authentication"
|
|
60
61
|
* })
|
|
61
62
|
*/
|
|
62
63
|
create(request: Management.CreateTokenExchangeProfileRequestContent, requestOptions?: TokenExchangeProfilesClient.RequestOptions): core.HttpResponsePromise<Management.CreateTokenExchangeProfileResponseContent>;
|
|
@@ -127,7 +127,8 @@ export class TokenExchangeProfilesClient {
|
|
|
127
127
|
* await client.tokenExchangeProfiles.create({
|
|
128
128
|
* name: "name",
|
|
129
129
|
* subject_token_type: "subject_token_type",
|
|
130
|
-
* action_id: "action_id"
|
|
130
|
+
* action_id: "action_id",
|
|
131
|
+
* type: "custom_authentication"
|
|
131
132
|
* })
|
|
132
133
|
*/
|
|
133
134
|
create(request, requestOptions) {
|
|
@@ -145,7 +146,7 @@ export class TokenExchangeProfilesClient {
|
|
|
145
146
|
contentType: "application/json",
|
|
146
147
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
147
148
|
requestType: "json",
|
|
148
|
-
body:
|
|
149
|
+
body: request,
|
|
149
150
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
150
151
|
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
151
152
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -7,6 +7,7 @@ import { AuthenticatorsClient } from "../resources/authenticators/client/Client.
|
|
|
7
7
|
import { ConnectedAccountsClient } from "../resources/connectedAccounts/client/Client.mjs";
|
|
8
8
|
import { EnrollmentsClient } from "../resources/enrollments/client/Client.mjs";
|
|
9
9
|
import { FederatedConnectionsTokensetsClient } from "../resources/federatedConnectionsTokensets/client/Client.mjs";
|
|
10
|
+
import { GroupsClient } from "../resources/groups/client/Client.mjs";
|
|
10
11
|
import { IdentitiesClient } from "../resources/identities/client/Client.mjs";
|
|
11
12
|
import { LogsClient } from "../resources/logs/client/Client.mjs";
|
|
12
13
|
import { MultifactorClient } from "../resources/multifactor/client/Client.mjs";
|
|
@@ -28,6 +29,7 @@ export declare class UsersClient {
|
|
|
28
29
|
protected _connectedAccounts: ConnectedAccountsClient | undefined;
|
|
29
30
|
protected _enrollments: EnrollmentsClient | undefined;
|
|
30
31
|
protected _federatedConnectionsTokensets: FederatedConnectionsTokensetsClient | undefined;
|
|
32
|
+
protected _groups: GroupsClient | undefined;
|
|
31
33
|
protected _identities: IdentitiesClient | undefined;
|
|
32
34
|
protected _logs: LogsClient | undefined;
|
|
33
35
|
protected _multifactor: MultifactorClient | undefined;
|
|
@@ -43,6 +45,7 @@ export declare class UsersClient {
|
|
|
43
45
|
get connectedAccounts(): ConnectedAccountsClient;
|
|
44
46
|
get enrollments(): EnrollmentsClient;
|
|
45
47
|
get federatedConnectionsTokensets(): FederatedConnectionsTokensetsClient;
|
|
48
|
+
get groups(): GroupsClient;
|
|
46
49
|
get identities(): IdentitiesClient;
|
|
47
50
|
get logs(): LogsClient;
|
|
48
51
|
get multifactor(): MultifactorClient;
|
|
@@ -20,6 +20,7 @@ import { AuthenticatorsClient } from "../resources/authenticators/client/Client.
|
|
|
20
20
|
import { ConnectedAccountsClient } from "../resources/connectedAccounts/client/Client.mjs";
|
|
21
21
|
import { EnrollmentsClient } from "../resources/enrollments/client/Client.mjs";
|
|
22
22
|
import { FederatedConnectionsTokensetsClient } from "../resources/federatedConnectionsTokensets/client/Client.mjs";
|
|
23
|
+
import { GroupsClient } from "../resources/groups/client/Client.mjs";
|
|
23
24
|
import { IdentitiesClient } from "../resources/identities/client/Client.mjs";
|
|
24
25
|
import { LogsClient } from "../resources/logs/client/Client.mjs";
|
|
25
26
|
import { MultifactorClient } from "../resources/multifactor/client/Client.mjs";
|
|
@@ -53,6 +54,10 @@ export class UsersClient {
|
|
|
53
54
|
var _a;
|
|
54
55
|
return ((_a = this._federatedConnectionsTokensets) !== null && _a !== void 0 ? _a : (this._federatedConnectionsTokensets = new FederatedConnectionsTokensetsClient(this._options)));
|
|
55
56
|
}
|
|
57
|
+
get groups() {
|
|
58
|
+
var _a;
|
|
59
|
+
return ((_a = this._groups) !== null && _a !== void 0 ? _a : (this._groups = new GroupsClient(this._options)));
|
|
60
|
+
}
|
|
56
61
|
get identities() {
|
|
57
62
|
var _a;
|
|
58
63
|
return ((_a = this._identities) !== null && _a !== void 0 ? _a : (this._identities = new IdentitiesClient(this._options)));
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient.mjs";
|
|
2
|
+
import { type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClient.mjs";
|
|
3
|
+
import * as core from "../../../../../../core/index.mjs";
|
|
4
|
+
import * as Management from "../../../../../index.mjs";
|
|
5
|
+
export declare namespace GroupsClient {
|
|
6
|
+
type Options = BaseClientOptions;
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare class GroupsClient {
|
|
11
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<GroupsClient.Options>;
|
|
12
|
+
constructor(options: GroupsClient.Options);
|
|
13
|
+
/**
|
|
14
|
+
* List all groups to which this user belongs.
|
|
15
|
+
*
|
|
16
|
+
* @param {string} id - ID of the user to list groups for.
|
|
17
|
+
* @param {Management.GetUserGroupsRequestParameters} request
|
|
18
|
+
* @param {GroupsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
19
|
+
*
|
|
20
|
+
* @throws {@link Management.BadRequestError}
|
|
21
|
+
* @throws {@link Management.UnauthorizedError}
|
|
22
|
+
* @throws {@link Management.ForbiddenError}
|
|
23
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* await client.users.groups.get("id", {
|
|
27
|
+
* fields: "fields",
|
|
28
|
+
* include_fields: true,
|
|
29
|
+
* from: "from",
|
|
30
|
+
* take: 1
|
|
31
|
+
* })
|
|
32
|
+
*/
|
|
33
|
+
get(id: string, request?: Management.GetUserGroupsRequestParameters, requestOptions?: GroupsClient.RequestOptions): Promise<core.Page<Management.UserGroupsResponseSchema, Management.GetUserGroupsPaginatedResponseContent>>;
|
|
34
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
import { normalizeClientOptionsWithAuth } from "../../../../../../BaseClient.mjs";
|
|
12
|
+
import * as core from "../../../../../../core/index.mjs";
|
|
13
|
+
import { mergeHeaders } from "../../../../../../core/headers.mjs";
|
|
14
|
+
import * as environments from "../../../../../../environments.mjs";
|
|
15
|
+
import { handleNonStatusCodeError } from "../../../../../../errors/handleNonStatusCodeError.mjs";
|
|
16
|
+
import * as errors from "../../../../../../errors/index.mjs";
|
|
17
|
+
import * as Management from "../../../../../index.mjs";
|
|
18
|
+
export class GroupsClient {
|
|
19
|
+
constructor(options) {
|
|
20
|
+
this._options = normalizeClientOptionsWithAuth(options);
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* List all groups to which this user belongs.
|
|
24
|
+
*
|
|
25
|
+
* @param {string} id - ID of the user to list groups for.
|
|
26
|
+
* @param {Management.GetUserGroupsRequestParameters} request
|
|
27
|
+
* @param {GroupsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
28
|
+
*
|
|
29
|
+
* @throws {@link Management.BadRequestError}
|
|
30
|
+
* @throws {@link Management.UnauthorizedError}
|
|
31
|
+
* @throws {@link Management.ForbiddenError}
|
|
32
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* await client.users.groups.get("id", {
|
|
36
|
+
* fields: "fields",
|
|
37
|
+
* include_fields: true,
|
|
38
|
+
* from: "from",
|
|
39
|
+
* take: 1
|
|
40
|
+
* })
|
|
41
|
+
*/
|
|
42
|
+
get(id_1) {
|
|
43
|
+
return __awaiter(this, arguments, void 0, function* (id, request = {}, requestOptions) {
|
|
44
|
+
const list = core.HttpResponsePromise.interceptFunction((request) => __awaiter(this, void 0, void 0, function* () {
|
|
45
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
46
|
+
const { fields, include_fields: includeFields, from: from_, take = 50 } = request;
|
|
47
|
+
const _queryParams = {};
|
|
48
|
+
if (fields !== undefined) {
|
|
49
|
+
_queryParams["fields"] = fields;
|
|
50
|
+
}
|
|
51
|
+
if (includeFields !== undefined) {
|
|
52
|
+
_queryParams["include_fields"] = (_a = includeFields === null || includeFields === void 0 ? void 0 : includeFields.toString()) !== null && _a !== void 0 ? _a : null;
|
|
53
|
+
}
|
|
54
|
+
if (from_ !== undefined) {
|
|
55
|
+
_queryParams["from"] = from_;
|
|
56
|
+
}
|
|
57
|
+
if (take !== undefined) {
|
|
58
|
+
_queryParams["take"] = (_b = take === null || take === void 0 ? void 0 : take.toString()) !== null && _b !== void 0 ? _b : null;
|
|
59
|
+
}
|
|
60
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
61
|
+
let _headers = mergeHeaders(_authRequest.headers, (_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
62
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
63
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ManagementEnvironment.Default, `users/${core.url.encodePathParam(id)}/groups`),
|
|
64
|
+
method: "GET",
|
|
65
|
+
headers: _headers,
|
|
66
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
67
|
+
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 60) * 1000,
|
|
68
|
+
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
69
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
70
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
71
|
+
logging: this._options.logging,
|
|
72
|
+
});
|
|
73
|
+
if (_response.ok) {
|
|
74
|
+
return {
|
|
75
|
+
data: _response.body,
|
|
76
|
+
rawResponse: _response.rawResponse,
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
if (_response.error.reason === "status-code") {
|
|
80
|
+
switch (_response.error.statusCode) {
|
|
81
|
+
case 400:
|
|
82
|
+
throw new Management.BadRequestError(_response.error.body, _response.rawResponse);
|
|
83
|
+
case 401:
|
|
84
|
+
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
85
|
+
case 403:
|
|
86
|
+
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
87
|
+
case 429:
|
|
88
|
+
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
89
|
+
default:
|
|
90
|
+
throw new errors.ManagementError({
|
|
91
|
+
statusCode: _response.error.statusCode,
|
|
92
|
+
body: _response.error.body,
|
|
93
|
+
rawResponse: _response.rawResponse,
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/users/{id}/groups");
|
|
98
|
+
}));
|
|
99
|
+
const dataWithRawResponse = yield list(request).withRawResponse();
|
|
100
|
+
return new core.Page({
|
|
101
|
+
response: dataWithRawResponse.data,
|
|
102
|
+
rawResponse: dataWithRawResponse.rawResponse,
|
|
103
|
+
hasNextPage: (response) => (response === null || response === void 0 ? void 0 : response.next) != null && !(typeof (response === null || response === void 0 ? void 0 : response.next) === "string" && (response === null || response === void 0 ? void 0 : response.next) === ""),
|
|
104
|
+
getItems: (response) => { var _a; return (_a = response === null || response === void 0 ? void 0 : response.groups) !== null && _a !== void 0 ? _a : []; },
|
|
105
|
+
loadPage: (response) => {
|
|
106
|
+
return list(core.setObjectProperty(request, "from", response === null || response === void 0 ? void 0 : response.next));
|
|
107
|
+
},
|
|
108
|
+
});
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.mjs";
|
|
@@ -3,6 +3,7 @@ export * as authenticators from "./authenticators/index.mjs";
|
|
|
3
3
|
export * as connectedAccounts from "./connectedAccounts/index.mjs";
|
|
4
4
|
export * as enrollments from "./enrollments/index.mjs";
|
|
5
5
|
export * as federatedConnectionsTokensets from "./federatedConnectionsTokensets/index.mjs";
|
|
6
|
+
export * as groups from "./groups/index.mjs";
|
|
6
7
|
export * as identities from "./identities/index.mjs";
|
|
7
8
|
export * as logs from "./logs/index.mjs";
|
|
8
9
|
export * as multifactor from "./multifactor/index.mjs";
|
|
@@ -3,6 +3,7 @@ export * as authenticators from "./authenticators/index.mjs";
|
|
|
3
3
|
export * as connectedAccounts from "./connectedAccounts/index.mjs";
|
|
4
4
|
export * as enrollments from "./enrollments/index.mjs";
|
|
5
5
|
export * as federatedConnectionsTokensets from "./federatedConnectionsTokensets/index.mjs";
|
|
6
|
+
export * as groups from "./groups/index.mjs";
|
|
6
7
|
export * as identities from "./identities/index.mjs";
|
|
7
8
|
export * as logs from "./logs/index.mjs";
|
|
8
9
|
export * as multifactor from "./multifactor/index.mjs";
|