auth0 6.1.0 → 6.3.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/cjs/management/Client.d.ts +3 -0
- package/dist/cjs/management/Client.js +93 -88
- package/dist/cjs/management/api/requests/requests.d.ts +203 -14
- package/dist/cjs/management/api/resources/agents/client/Client.d.ts +100 -0
- package/dist/cjs/management/api/resources/agents/client/Client.js +383 -0
- package/dist/cjs/management/api/resources/agents/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/agents/client/index.js +2 -0
- package/dist/cjs/management/api/resources/agents/exports.d.ts +2 -0
- package/dist/cjs/management/api/resources/agents/exports.js +21 -0
- package/dist/cjs/management/api/resources/agents/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/agents/index.js +17 -0
- package/dist/cjs/management/api/resources/clientGrants/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/clientGrants/client/Client.js +3 -1
- package/dist/cjs/management/api/resources/clientGrants/resources/organizations/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/clientGrants/resources/organizations/client/Client.js +3 -1
- package/dist/cjs/management/api/resources/clients/client/Client.d.ts +2 -2
- package/dist/cjs/management/api/resources/clients/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/connections/client/Client.d.ts +2 -1
- package/dist/cjs/management/api/resources/connections/client/Client.js +4 -2
- package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/client/Client.d.ts +46 -1
- package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/client/Client.js +140 -2
- package/dist/cjs/management/api/resources/eventStreams/resources/deliveries/client/Client.d.ts +1 -2
- package/dist/cjs/management/api/resources/eventStreams/resources/deliveries/client/Client.js +66 -54
- package/dist/cjs/management/api/resources/flows/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/flows/client/Client.js +6 -0
- package/dist/cjs/management/api/resources/flows/resources/executions/client/Client.d.ts +3 -0
- package/dist/cjs/management/api/resources/flows/resources/executions/client/Client.js +9 -1
- package/dist/cjs/management/api/resources/forms/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/forms/client/Client.js +6 -0
- package/dist/cjs/management/api/resources/groups/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/groups/client/Client.js +3 -1
- 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/keys/client/Client.d.ts +3 -0
- package/dist/cjs/management/api/resources/keys/client/Client.js +7 -2
- package/dist/cjs/management/api/resources/keys/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/keys/resources/index.js +2 -1
- package/dist/cjs/management/api/resources/keys/resources/networkAcls/client/Client.d.ts +67 -0
- package/dist/cjs/management/api/resources/keys/resources/networkAcls/client/Client.js +251 -0
- package/dist/cjs/management/api/resources/keys/resources/networkAcls/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/keys/resources/networkAcls/client/index.js +2 -0
- package/dist/cjs/management/api/resources/keys/resources/networkAcls/exports.d.ts +2 -0
- package/dist/cjs/management/api/resources/keys/resources/networkAcls/exports.js +21 -0
- package/dist/cjs/management/api/resources/keys/resources/networkAcls/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/keys/resources/networkAcls/index.js +17 -0
- package/dist/cjs/management/api/resources/organizations/client/Client.d.ts +6 -1
- package/dist/cjs/management/api/resources/organizations/client/Client.js +25 -16
- package/dist/cjs/management/api/resources/organizations/resources/clients/client/Client.d.ts +119 -0
- package/dist/cjs/management/api/resources/organizations/resources/clients/client/Client.js +422 -0
- package/dist/cjs/management/api/resources/organizations/resources/clients/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/clients/client/index.js +2 -0
- package/dist/cjs/management/api/resources/organizations/resources/clients/exports.d.ts +2 -0
- package/dist/cjs/management/api/resources/organizations/resources/clients/exports.js +21 -0
- package/dist/cjs/management/api/resources/organizations/resources/clients/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/clients/index.js +17 -0
- package/dist/cjs/management/api/resources/organizations/resources/enabledConnections/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/enabledConnections/client/Client.js +3 -0
- package/dist/cjs/management/api/resources/organizations/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/index.js +2 -1
- package/dist/cjs/management/api/resources/organizations/resources/members/client/Client.d.ts +2 -1
- package/dist/cjs/management/api/resources/organizations/resources/members/client/Client.js +4 -2
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/roles/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/roles/client/Client.js +2 -0
- package/dist/cjs/management/api/resources/organizations/resources/roles/client/Client.d.ts +3 -0
- package/dist/cjs/management/api/resources/organizations/resources/roles/client/Client.js +7 -2
- package/dist/cjs/management/api/resources/organizations/resources/roles/resources/groups/client/Client.d.ts +34 -0
- package/dist/cjs/management/api/resources/organizations/resources/roles/resources/groups/client/Client.js +145 -0
- package/dist/cjs/management/api/resources/organizations/resources/roles/resources/groups/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/roles/resources/groups/client/index.js +2 -0
- package/dist/cjs/management/api/resources/organizations/resources/roles/resources/groups/exports.d.ts +2 -0
- package/dist/cjs/management/api/resources/organizations/resources/roles/resources/groups/exports.js +21 -0
- package/dist/cjs/management/api/resources/organizations/resources/roles/resources/groups/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/roles/resources/groups/index.js +17 -0
- package/dist/cjs/management/api/resources/organizations/resources/roles/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/roles/resources/index.js +2 -1
- package/dist/cjs/management/api/resources/organizations/resources/roles/resources/members/client/Client.d.ts +5 -0
- package/dist/cjs/management/api/resources/organizations/resources/roles/resources/members/client/Client.js +5 -0
- package/dist/cjs/management/api/resources/roles/client/Client.d.ts +3 -1
- package/dist/cjs/management/api/resources/roles/client/Client.js +6 -2
- package/dist/cjs/management/api/resources/roles/resources/users/client/Client.d.ts +3 -0
- package/dist/cjs/management/api/resources/roles/resources/users/client/Client.js +5 -1
- package/dist/cjs/management/api/resources/users/resources/groups/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/users/resources/groups/client/Client.js +3 -1
- package/dist/cjs/management/api/resources/users/resources/permissions/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/users/resources/permissions/client/Client.js +2 -0
- package/dist/cjs/management/api/resources/users/resources/refreshToken/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/users/resources/refreshToken/client/Client.js +3 -1
- package/dist/cjs/management/api/resources/users/resources/roles/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/users/resources/roles/client/Client.js +2 -0
- package/dist/cjs/management/api/resources/users/resources/sessions/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/users/resources/sessions/client/Client.js +3 -1
- package/dist/cjs/management/api/types/types.d.ts +387 -34
- package/dist/cjs/management/api/types/types.js +92 -15
- 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/requests/requests.d.mts +203 -14
- package/dist/esm/management/api/resources/agents/client/Client.d.mts +100 -0
- package/dist/esm/management/api/resources/agents/client/Client.mjs +346 -0
- package/dist/esm/management/api/resources/agents/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/agents/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/agents/exports.d.mts +2 -0
- package/dist/esm/management/api/resources/agents/exports.mjs +3 -0
- package/dist/esm/management/api/resources/agents/index.d.mts +1 -0
- package/dist/esm/management/api/resources/agents/index.mjs +1 -0
- package/dist/esm/management/api/resources/clientGrants/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/clientGrants/client/Client.mjs +3 -1
- package/dist/esm/management/api/resources/clientGrants/resources/organizations/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/clientGrants/resources/organizations/client/Client.mjs +3 -1
- package/dist/esm/management/api/resources/clients/client/Client.d.mts +2 -2
- package/dist/esm/management/api/resources/clients/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/connections/client/Client.d.mts +2 -1
- package/dist/esm/management/api/resources/connections/client/Client.mjs +4 -2
- package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/client/Client.d.mts +46 -1
- package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/client/Client.mjs +140 -2
- package/dist/esm/management/api/resources/eventStreams/resources/deliveries/client/Client.d.mts +1 -2
- package/dist/esm/management/api/resources/eventStreams/resources/deliveries/client/Client.mjs +66 -54
- package/dist/esm/management/api/resources/flows/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/flows/client/Client.mjs +6 -0
- package/dist/esm/management/api/resources/flows/resources/executions/client/Client.d.mts +3 -0
- package/dist/esm/management/api/resources/flows/resources/executions/client/Client.mjs +9 -1
- package/dist/esm/management/api/resources/forms/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/forms/client/Client.mjs +6 -0
- package/dist/esm/management/api/resources/groups/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/groups/client/Client.mjs +3 -1
- 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/keys/client/Client.d.mts +3 -0
- package/dist/esm/management/api/resources/keys/client/Client.mjs +5 -0
- package/dist/esm/management/api/resources/keys/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/keys/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/keys/resources/networkAcls/client/Client.d.mts +67 -0
- package/dist/esm/management/api/resources/keys/resources/networkAcls/client/Client.mjs +214 -0
- package/dist/esm/management/api/resources/keys/resources/networkAcls/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/keys/resources/networkAcls/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/keys/resources/networkAcls/exports.d.mts +2 -0
- package/dist/esm/management/api/resources/keys/resources/networkAcls/exports.mjs +3 -0
- package/dist/esm/management/api/resources/keys/resources/networkAcls/index.d.mts +1 -0
- package/dist/esm/management/api/resources/keys/resources/networkAcls/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/client/Client.d.mts +6 -1
- package/dist/esm/management/api/resources/organizations/client/Client.mjs +11 -2
- package/dist/esm/management/api/resources/organizations/resources/clients/client/Client.d.mts +119 -0
- package/dist/esm/management/api/resources/organizations/resources/clients/client/Client.mjs +385 -0
- package/dist/esm/management/api/resources/organizations/resources/clients/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/clients/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/resources/clients/exports.d.mts +2 -0
- package/dist/esm/management/api/resources/organizations/resources/clients/exports.mjs +3 -0
- package/dist/esm/management/api/resources/organizations/resources/clients/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/clients/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/resources/enabledConnections/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/enabledConnections/client/Client.mjs +3 -0
- package/dist/esm/management/api/resources/organizations/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/resources/members/client/Client.d.mts +2 -1
- package/dist/esm/management/api/resources/organizations/resources/members/client/Client.mjs +4 -2
- package/dist/esm/management/api/resources/organizations/resources/members/resources/roles/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/roles/client/Client.mjs +2 -0
- package/dist/esm/management/api/resources/organizations/resources/roles/client/Client.d.mts +3 -0
- package/dist/esm/management/api/resources/organizations/resources/roles/client/Client.mjs +5 -0
- package/dist/esm/management/api/resources/organizations/resources/roles/resources/groups/client/Client.d.mts +34 -0
- package/dist/esm/management/api/resources/organizations/resources/roles/resources/groups/client/Client.mjs +108 -0
- package/dist/esm/management/api/resources/organizations/resources/roles/resources/groups/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/roles/resources/groups/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/resources/roles/resources/groups/exports.d.mts +2 -0
- package/dist/esm/management/api/resources/organizations/resources/roles/resources/groups/exports.mjs +3 -0
- package/dist/esm/management/api/resources/organizations/resources/roles/resources/groups/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/roles/resources/groups/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/resources/roles/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/roles/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/resources/roles/resources/members/client/Client.d.mts +5 -0
- package/dist/esm/management/api/resources/organizations/resources/roles/resources/members/client/Client.mjs +5 -0
- package/dist/esm/management/api/resources/roles/client/Client.d.mts +3 -1
- package/dist/esm/management/api/resources/roles/client/Client.mjs +6 -2
- package/dist/esm/management/api/resources/roles/resources/users/client/Client.d.mts +3 -0
- package/dist/esm/management/api/resources/roles/resources/users/client/Client.mjs +5 -1
- package/dist/esm/management/api/resources/users/resources/groups/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/users/resources/groups/client/Client.mjs +3 -1
- package/dist/esm/management/api/resources/users/resources/permissions/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/users/resources/permissions/client/Client.mjs +2 -0
- package/dist/esm/management/api/resources/users/resources/refreshToken/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/users/resources/refreshToken/client/Client.mjs +3 -1
- package/dist/esm/management/api/resources/users/resources/roles/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/users/resources/roles/client/Client.mjs +2 -0
- package/dist/esm/management/api/resources/users/resources/sessions/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/users/resources/sessions/client/Client.mjs +3 -1
- package/dist/esm/management/api/types/types.d.mts +387 -34
- package/dist/esm/management/api/types/types.mjs +77 -0
- package/dist/esm/management/version.d.mts +1 -1
- package/dist/esm/management/version.mjs +1 -1
- package/package.json +56 -12
- package/reference.md +3088 -1844
|
@@ -0,0 +1,67 @@
|
|
|
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 NetworkAclsClient {
|
|
6
|
+
type Options = BaseClientOptions;
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare class NetworkAclsClient {
|
|
11
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<NetworkAclsClient.Options>;
|
|
12
|
+
constructor(options: NetworkAclsClient.Options);
|
|
13
|
+
/**
|
|
14
|
+
* Retrieve all keys used to verify HTTP Message Signatures on Network ACL rules, ordered by creation time descending.
|
|
15
|
+
*
|
|
16
|
+
* @param {NetworkAclsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
17
|
+
*
|
|
18
|
+
* @throws {@link Management.BadRequestError}
|
|
19
|
+
* @throws {@link Management.UnauthorizedError}
|
|
20
|
+
* @throws {@link Management.ForbiddenError}
|
|
21
|
+
* @throws {@link Management.NotFoundError}
|
|
22
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* await client.keys.networkAcls.list()
|
|
26
|
+
*/
|
|
27
|
+
list(requestOptions?: NetworkAclsClient.RequestOptions): core.HttpResponsePromise<Management.GetAllKeysNetworkAclsResponseContent>;
|
|
28
|
+
private __list;
|
|
29
|
+
/**
|
|
30
|
+
* Create a new key used to verify HTTP Message Signatures on Network ACL rules.
|
|
31
|
+
*
|
|
32
|
+
* @param {Management.CreateKeysNetworkAclsRequestContent} request
|
|
33
|
+
* @param {NetworkAclsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
34
|
+
*
|
|
35
|
+
* @throws {@link Management.BadRequestError}
|
|
36
|
+
* @throws {@link Management.UnauthorizedError}
|
|
37
|
+
* @throws {@link Management.ForbiddenError}
|
|
38
|
+
* @throws {@link Management.ConflictError}
|
|
39
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* await client.keys.networkAcls.create({
|
|
43
|
+
* name: "name",
|
|
44
|
+
* alg: "hmac-sha256",
|
|
45
|
+
* value: "value"
|
|
46
|
+
* })
|
|
47
|
+
*/
|
|
48
|
+
create(request: Management.CreateKeysNetworkAclsRequestContent, requestOptions?: NetworkAclsClient.RequestOptions): core.HttpResponsePromise<Management.CreateKeysNetworkAclsResponseContent>;
|
|
49
|
+
private __create;
|
|
50
|
+
/**
|
|
51
|
+
* Retrieve a specific key used to verify HTTP Message Signatures on Network ACL rules.
|
|
52
|
+
*
|
|
53
|
+
* @param {string} id - ID of the Network ACL Key to retrieve.
|
|
54
|
+
* @param {NetworkAclsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link Management.BadRequestError}
|
|
57
|
+
* @throws {@link Management.UnauthorizedError}
|
|
58
|
+
* @throws {@link Management.ForbiddenError}
|
|
59
|
+
* @throws {@link Management.NotFoundError}
|
|
60
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
61
|
+
*
|
|
62
|
+
* @example
|
|
63
|
+
* await client.keys.networkAcls.get("id")
|
|
64
|
+
*/
|
|
65
|
+
get(id: string, requestOptions?: NetworkAclsClient.RequestOptions): core.HttpResponsePromise<Management.NetworkAclKey>;
|
|
66
|
+
private __get;
|
|
67
|
+
}
|
|
@@ -0,0 +1,214 @@
|
|
|
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 NetworkAclsClient {
|
|
19
|
+
constructor(options) {
|
|
20
|
+
this._options = normalizeClientOptionsWithAuth(options);
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Retrieve all keys used to verify HTTP Message Signatures on Network ACL rules, ordered by creation time descending.
|
|
24
|
+
*
|
|
25
|
+
* @param {NetworkAclsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
26
|
+
*
|
|
27
|
+
* @throws {@link Management.BadRequestError}
|
|
28
|
+
* @throws {@link Management.UnauthorizedError}
|
|
29
|
+
* @throws {@link Management.ForbiddenError}
|
|
30
|
+
* @throws {@link Management.NotFoundError}
|
|
31
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* await client.keys.networkAcls.list()
|
|
35
|
+
*/
|
|
36
|
+
list(requestOptions) {
|
|
37
|
+
return core.HttpResponsePromise.fromPromise(this.__list(requestOptions));
|
|
38
|
+
}
|
|
39
|
+
__list(requestOptions) {
|
|
40
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
41
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
42
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
43
|
+
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);
|
|
44
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
45
|
+
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, "keys/network-acls"),
|
|
46
|
+
method: "GET",
|
|
47
|
+
headers: _headers,
|
|
48
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
49
|
+
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,
|
|
50
|
+
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,
|
|
51
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
52
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
53
|
+
logging: this._options.logging,
|
|
54
|
+
});
|
|
55
|
+
if (_response.ok) {
|
|
56
|
+
return {
|
|
57
|
+
data: _response.body,
|
|
58
|
+
rawResponse: _response.rawResponse,
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
if (_response.error.reason === "status-code") {
|
|
62
|
+
switch (_response.error.statusCode) {
|
|
63
|
+
case 400:
|
|
64
|
+
throw new Management.BadRequestError(_response.error.body, _response.rawResponse);
|
|
65
|
+
case 401:
|
|
66
|
+
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
67
|
+
case 403:
|
|
68
|
+
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
69
|
+
case 404:
|
|
70
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
71
|
+
case 429:
|
|
72
|
+
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
73
|
+
default:
|
|
74
|
+
throw new errors.ManagementError({
|
|
75
|
+
statusCode: _response.error.statusCode,
|
|
76
|
+
body: _response.error.body,
|
|
77
|
+
rawResponse: _response.rawResponse,
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/keys/network-acls");
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Create a new key used to verify HTTP Message Signatures on Network ACL rules.
|
|
86
|
+
*
|
|
87
|
+
* @param {Management.CreateKeysNetworkAclsRequestContent} request
|
|
88
|
+
* @param {NetworkAclsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link Management.BadRequestError}
|
|
91
|
+
* @throws {@link Management.UnauthorizedError}
|
|
92
|
+
* @throws {@link Management.ForbiddenError}
|
|
93
|
+
* @throws {@link Management.ConflictError}
|
|
94
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
95
|
+
*
|
|
96
|
+
* @example
|
|
97
|
+
* await client.keys.networkAcls.create({
|
|
98
|
+
* name: "name",
|
|
99
|
+
* alg: "hmac-sha256",
|
|
100
|
+
* value: "value"
|
|
101
|
+
* })
|
|
102
|
+
*/
|
|
103
|
+
create(request, requestOptions) {
|
|
104
|
+
return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions));
|
|
105
|
+
}
|
|
106
|
+
__create(request, requestOptions) {
|
|
107
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
108
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
109
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
110
|
+
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);
|
|
111
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
112
|
+
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, "keys/network-acls"),
|
|
113
|
+
method: "POST",
|
|
114
|
+
headers: _headers,
|
|
115
|
+
contentType: "application/json",
|
|
116
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
117
|
+
requestType: "json",
|
|
118
|
+
body: request,
|
|
119
|
+
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,
|
|
120
|
+
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,
|
|
121
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
122
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
123
|
+
logging: this._options.logging,
|
|
124
|
+
});
|
|
125
|
+
if (_response.ok) {
|
|
126
|
+
return {
|
|
127
|
+
data: _response.body,
|
|
128
|
+
rawResponse: _response.rawResponse,
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
if (_response.error.reason === "status-code") {
|
|
132
|
+
switch (_response.error.statusCode) {
|
|
133
|
+
case 400:
|
|
134
|
+
throw new Management.BadRequestError(_response.error.body, _response.rawResponse);
|
|
135
|
+
case 401:
|
|
136
|
+
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
137
|
+
case 403:
|
|
138
|
+
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
139
|
+
case 409:
|
|
140
|
+
throw new Management.ConflictError(_response.error.body, _response.rawResponse);
|
|
141
|
+
case 429:
|
|
142
|
+
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
143
|
+
default:
|
|
144
|
+
throw new errors.ManagementError({
|
|
145
|
+
statusCode: _response.error.statusCode,
|
|
146
|
+
body: _response.error.body,
|
|
147
|
+
rawResponse: _response.rawResponse,
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/keys/network-acls");
|
|
152
|
+
});
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Retrieve a specific key used to verify HTTP Message Signatures on Network ACL rules.
|
|
156
|
+
*
|
|
157
|
+
* @param {string} id - ID of the Network ACL Key to retrieve.
|
|
158
|
+
* @param {NetworkAclsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
159
|
+
*
|
|
160
|
+
* @throws {@link Management.BadRequestError}
|
|
161
|
+
* @throws {@link Management.UnauthorizedError}
|
|
162
|
+
* @throws {@link Management.ForbiddenError}
|
|
163
|
+
* @throws {@link Management.NotFoundError}
|
|
164
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
165
|
+
*
|
|
166
|
+
* @example
|
|
167
|
+
* await client.keys.networkAcls.get("id")
|
|
168
|
+
*/
|
|
169
|
+
get(id, requestOptions) {
|
|
170
|
+
return core.HttpResponsePromise.fromPromise(this.__get(id, requestOptions));
|
|
171
|
+
}
|
|
172
|
+
__get(id, requestOptions) {
|
|
173
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
174
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
175
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
176
|
+
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);
|
|
177
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
178
|
+
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, `keys/network-acls/${core.url.encodePathParam(id)}`),
|
|
179
|
+
method: "GET",
|
|
180
|
+
headers: _headers,
|
|
181
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
182
|
+
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,
|
|
183
|
+
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,
|
|
184
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
185
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
186
|
+
logging: this._options.logging,
|
|
187
|
+
});
|
|
188
|
+
if (_response.ok) {
|
|
189
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
190
|
+
}
|
|
191
|
+
if (_response.error.reason === "status-code") {
|
|
192
|
+
switch (_response.error.statusCode) {
|
|
193
|
+
case 400:
|
|
194
|
+
throw new Management.BadRequestError(_response.error.body, _response.rawResponse);
|
|
195
|
+
case 401:
|
|
196
|
+
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
197
|
+
case 403:
|
|
198
|
+
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
199
|
+
case 404:
|
|
200
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
201
|
+
case 429:
|
|
202
|
+
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
203
|
+
default:
|
|
204
|
+
throw new errors.ManagementError({
|
|
205
|
+
statusCode: _response.error.statusCode,
|
|
206
|
+
body: _response.error.body,
|
|
207
|
+
rawResponse: _response.rawResponse,
|
|
208
|
+
});
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/keys/network-acls/{id}");
|
|
212
|
+
});
|
|
213
|
+
}
|
|
214
|
+
}
|
|
@@ -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 @@ import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.mjs
|
|
|
3
3
|
import * as core from "../../../../core/index.mjs";
|
|
4
4
|
import * as Management from "../../../index.mjs";
|
|
5
5
|
import { ClientGrantsClient } from "../resources/clientGrants/client/Client.mjs";
|
|
6
|
+
import { ClientsClient } from "../resources/clients/client/Client.mjs";
|
|
6
7
|
import { ConnectionsClient } from "../resources/connections/client/Client.mjs";
|
|
7
8
|
import { DiscoveryDomainsClient } from "../resources/discoveryDomains/client/Client.mjs";
|
|
8
9
|
import { EnabledConnectionsClient } from "../resources/enabledConnections/client/Client.mjs";
|
|
@@ -18,6 +19,7 @@ export declare namespace OrganizationsClient {
|
|
|
18
19
|
export declare class OrganizationsClient {
|
|
19
20
|
protected readonly _options: NormalizedClientOptionsWithAuth<OrganizationsClient.Options>;
|
|
20
21
|
protected _clientGrants: ClientGrantsClient | undefined;
|
|
22
|
+
protected _clients: ClientsClient | undefined;
|
|
21
23
|
protected _connections: ConnectionsClient | undefined;
|
|
22
24
|
protected _discoveryDomains: DiscoveryDomainsClient | undefined;
|
|
23
25
|
protected _enabledConnections: EnabledConnectionsClient | undefined;
|
|
@@ -27,6 +29,7 @@ export declare class OrganizationsClient {
|
|
|
27
29
|
protected _roles: RolesClient | undefined;
|
|
28
30
|
constructor(options: OrganizationsClient.Options);
|
|
29
31
|
get clientGrants(): ClientGrantsClient;
|
|
32
|
+
get clients(): ClientsClient;
|
|
30
33
|
get connections(): ConnectionsClient;
|
|
31
34
|
get discoveryDomains(): DiscoveryDomainsClient;
|
|
32
35
|
get enabledConnections(): EnabledConnectionsClient;
|
|
@@ -63,9 +66,11 @@ export declare class OrganizationsClient {
|
|
|
63
66
|
*
|
|
64
67
|
* @example
|
|
65
68
|
* await client.organizations.list({
|
|
69
|
+
* include_totals: true,
|
|
66
70
|
* from: "from",
|
|
67
71
|
* take: 1,
|
|
68
|
-
* sort: "sort"
|
|
72
|
+
* sort: "sort",
|
|
73
|
+
* include_client_association_for: "include_client_association_for"
|
|
69
74
|
* })
|
|
70
75
|
*/
|
|
71
76
|
list(request?: Management.ListOrganizationsRequestParameters, requestOptions?: OrganizationsClient.RequestOptions): Promise<core.Page<Management.Organization, Management.ListOrganizationsPaginatedResponseContent>>;
|
|
@@ -16,6 +16,7 @@ import { handleNonStatusCodeError } from "../../../../errors/handleNonStatusCode
|
|
|
16
16
|
import * as errors from "../../../../errors/index.mjs";
|
|
17
17
|
import * as Management from "../../../index.mjs";
|
|
18
18
|
import { ClientGrantsClient } from "../resources/clientGrants/client/Client.mjs";
|
|
19
|
+
import { ClientsClient } from "../resources/clients/client/Client.mjs";
|
|
19
20
|
import { ConnectionsClient } from "../resources/connections/client/Client.mjs";
|
|
20
21
|
import { DiscoveryDomainsClient } from "../resources/discoveryDomains/client/Client.mjs";
|
|
21
22
|
import { EnabledConnectionsClient } from "../resources/enabledConnections/client/Client.mjs";
|
|
@@ -31,6 +32,10 @@ export class OrganizationsClient {
|
|
|
31
32
|
var _a;
|
|
32
33
|
return ((_a = this._clientGrants) !== null && _a !== void 0 ? _a : (this._clientGrants = new ClientGrantsClient(this._options)));
|
|
33
34
|
}
|
|
35
|
+
get clients() {
|
|
36
|
+
var _a;
|
|
37
|
+
return ((_a = this._clients) !== null && _a !== void 0 ? _a : (this._clients = new ClientsClient(this._options)));
|
|
38
|
+
}
|
|
34
39
|
get connections() {
|
|
35
40
|
var _a;
|
|
36
41
|
return ((_a = this._connections) !== null && _a !== void 0 ? _a : (this._connections = new ConnectionsClient(this._options)));
|
|
@@ -88,20 +93,24 @@ export class OrganizationsClient {
|
|
|
88
93
|
*
|
|
89
94
|
* @example
|
|
90
95
|
* await client.organizations.list({
|
|
96
|
+
* include_totals: true,
|
|
91
97
|
* from: "from",
|
|
92
98
|
* take: 1,
|
|
93
|
-
* sort: "sort"
|
|
99
|
+
* sort: "sort",
|
|
100
|
+
* include_client_association_for: "include_client_association_for"
|
|
94
101
|
* })
|
|
95
102
|
*/
|
|
96
103
|
list() {
|
|
97
104
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
98
105
|
const list = core.HttpResponsePromise.interceptFunction((request) => __awaiter(this, void 0, void 0, function* () {
|
|
99
106
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
100
|
-
const { from: from_, take = 50, sort } = request;
|
|
107
|
+
const { include_totals: includeTotals = true, from: from_, take = 50, sort, include_client_association_for: includeClientAssociationFor, } = request;
|
|
101
108
|
const _queryParams = {
|
|
109
|
+
include_totals: includeTotals,
|
|
102
110
|
from: from_,
|
|
103
111
|
take,
|
|
104
112
|
sort,
|
|
113
|
+
include_client_association_for: includeClientAssociationFor,
|
|
105
114
|
};
|
|
106
115
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
107
116
|
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);
|
|
@@ -0,0 +1,119 @@
|
|
|
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 ClientsClient {
|
|
6
|
+
type Options = BaseClientOptions;
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare class ClientsClient {
|
|
11
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<ClientsClient.Options>;
|
|
12
|
+
constructor(options: ClientsClient.Options);
|
|
13
|
+
/**
|
|
14
|
+
* List all clients associated with an organization, using checkpoint pagination.
|
|
15
|
+
* <ul>
|
|
16
|
+
* <li>
|
|
17
|
+
* <b>Note</b>: The first time you call this endpoint, omit the <code>from</code> parameter. If there are more results, a <code>next</code> value is included in the response. You can use this for subsequent API calls. When <code>next</code> is no longer included in the response, no further results are remaining.
|
|
18
|
+
* </li>
|
|
19
|
+
* </ul>
|
|
20
|
+
*
|
|
21
|
+
* @param {string} id - ID of the organization.
|
|
22
|
+
* @param {Management.ListOrganizationClientsRequestParameters} request
|
|
23
|
+
* @param {ClientsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
24
|
+
*
|
|
25
|
+
* @throws {@link Management.BadRequestError}
|
|
26
|
+
* @throws {@link Management.UnauthorizedError}
|
|
27
|
+
* @throws {@link Management.ForbiddenError}
|
|
28
|
+
* @throws {@link Management.NotFoundError}
|
|
29
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* await client.organizations.clients.list("id", {
|
|
33
|
+
* from: "from",
|
|
34
|
+
* take: 1
|
|
35
|
+
* })
|
|
36
|
+
*/
|
|
37
|
+
list(id: string, request?: Management.ListOrganizationClientsRequestParameters, requestOptions?: ClientsClient.RequestOptions): Promise<core.Page<Management.OrganizationClient, Management.ListOrganizationClientsResponseContent>>;
|
|
38
|
+
/**
|
|
39
|
+
* Associate one or more clients with an organization.
|
|
40
|
+
*
|
|
41
|
+
* @param {string} id - ID of the organization.
|
|
42
|
+
* @param {Management.CreateOrganizationClientsRequestContent} request
|
|
43
|
+
* @param {ClientsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link Management.BadRequestError}
|
|
46
|
+
* @throws {@link Management.UnauthorizedError}
|
|
47
|
+
* @throws {@link Management.ForbiddenError}
|
|
48
|
+
* @throws {@link Management.NotFoundError}
|
|
49
|
+
* @throws {@link Management.ConflictError}
|
|
50
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* await client.organizations.clients.create("id", {
|
|
54
|
+
* clients: [{
|
|
55
|
+
* client_id: "client_id",
|
|
56
|
+
* use_for_member_access: true
|
|
57
|
+
* }]
|
|
58
|
+
* })
|
|
59
|
+
*/
|
|
60
|
+
create(id: string, request: Management.CreateOrganizationClientsRequestContent, requestOptions?: ClientsClient.RequestOptions): core.HttpResponsePromise<Management.CreateOrganizationClientsResponseContent>;
|
|
61
|
+
private __create;
|
|
62
|
+
/**
|
|
63
|
+
* Remove one or more client associations from an organization.
|
|
64
|
+
*
|
|
65
|
+
* @param {string} id - ID of the organization.
|
|
66
|
+
* @param {Management.DeleteOrganizationClientsRequestContent} request
|
|
67
|
+
* @param {ClientsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link Management.BadRequestError}
|
|
70
|
+
* @throws {@link Management.UnauthorizedError}
|
|
71
|
+
* @throws {@link Management.ForbiddenError}
|
|
72
|
+
* @throws {@link Management.NotFoundError}
|
|
73
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* await client.organizations.clients.delete("id", {
|
|
77
|
+
* clients: ["clients"]
|
|
78
|
+
* })
|
|
79
|
+
*/
|
|
80
|
+
delete(id: string, request: Management.DeleteOrganizationClientsRequestContent, requestOptions?: ClientsClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
81
|
+
private __delete;
|
|
82
|
+
/**
|
|
83
|
+
* Get a specific client association for an organization.
|
|
84
|
+
*
|
|
85
|
+
* @param {string} id - ID of the organization.
|
|
86
|
+
* @param {string} client_id - ID of the client association to retrieve.
|
|
87
|
+
* @param {ClientsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link Management.BadRequestError}
|
|
90
|
+
* @throws {@link Management.UnauthorizedError}
|
|
91
|
+
* @throws {@link Management.ForbiddenError}
|
|
92
|
+
* @throws {@link Management.NotFoundError}
|
|
93
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
94
|
+
*
|
|
95
|
+
* @example
|
|
96
|
+
* await client.organizations.clients.get("id", "client_id")
|
|
97
|
+
*/
|
|
98
|
+
get(id: string, client_id: string, requestOptions?: ClientsClient.RequestOptions): core.HttpResponsePromise<Management.GetOrganizationClientResponseContent>;
|
|
99
|
+
private __get;
|
|
100
|
+
/**
|
|
101
|
+
* Update an organization client association.
|
|
102
|
+
*
|
|
103
|
+
* @param {string} id - ID of the organization.
|
|
104
|
+
* @param {string} client_id - ID of the client association to update.
|
|
105
|
+
* @param {Management.UpdateOrganizationClientRequestContent} request
|
|
106
|
+
* @param {ClientsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
107
|
+
*
|
|
108
|
+
* @throws {@link Management.BadRequestError}
|
|
109
|
+
* @throws {@link Management.UnauthorizedError}
|
|
110
|
+
* @throws {@link Management.ForbiddenError}
|
|
111
|
+
* @throws {@link Management.NotFoundError}
|
|
112
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
113
|
+
*
|
|
114
|
+
* @example
|
|
115
|
+
* await client.organizations.clients.update("id", "client_id")
|
|
116
|
+
*/
|
|
117
|
+
update(id: string, client_id: string, request?: Management.UpdateOrganizationClientRequestContent, requestOptions?: ClientsClient.RequestOptions): core.HttpResponsePromise<Management.UpdateOrganizationClientResponseContent>;
|
|
118
|
+
private __update;
|
|
119
|
+
}
|