diff --git a/classes/index.Admin.AdminApiClient.html b/classes/index.Admin.AdminApiClient.html
index 9cdf1cba..6f1bb645 100644
--- a/classes/index.Admin.AdminApiClient.html
+++ b/classes/index.Admin.AdminApiClient.html
@@ -1,6 +1,6 @@
Index
Constructors
constructor
- new AdminApiClient(options?): AdminApiClient
Parameters
Optional
options: {
config?: DeepPartial<{
CAMUNDA_CONSOLE_BASE_URL: undefined | string;
CAMUNDA_CONSOLE_CLIENT_ID: undefined | string;
CAMUNDA_CONSOLE_CLIENT_SECRET: undefined | string;
CAMUNDA_CONSOLE_OAUTH_AUDIENCE: string;
CAMUNDA_CUSTOM_CERT_CHAIN_PATH: undefined | string;
CAMUNDA_CUSTOM_PRIVATE_KEY_PATH: undefined | string;
CAMUNDA_CUSTOM_ROOT_CERT_PATH: undefined | string;
CAMUNDA_CUSTOM_ROOT_CERT_STRING: undefined | string;
CAMUNDA_CUSTOM_USER_AGENT_STRING: undefined | string;
CAMUNDA_MODELER_BASE_URL: string;
CAMUNDA_MODELER_OAUTH_AUDIENCE: undefined | string;
CAMUNDA_OAUTH_DISABLED: boolean;
CAMUNDA_OAUTH_TOKEN_REFRESH_THRESHOLD_MS: number;
CAMUNDA_OAUTH_URL: undefined | string;
CAMUNDA_OPERATE_BASE_URL: undefined | string;
CAMUNDA_OPERATE_OAUTH_AUDIENCE: string;
CAMUNDA_OPTIMIZE_BASE_URL: undefined | string;
CAMUNDA_OPTIMIZE_OAUTH_AUDIENCE: string;
CAMUNDA_SECURE_CONNECTION: boolean;
CAMUNDA_TASKLIST_BASE_URL: undefined | string;
CAMUNDA_TASKLIST_OAUTH_AUDIENCE: string;
CAMUNDA_TENANT_ID: undefined | string;
CAMUNDA_TOKEN_CACHE_DIR: undefined | string;
CAMUNDA_TOKEN_DISK_CACHE_DISABLE: boolean;
CAMUNDA_TOKEN_SCOPE: undefined | string;
CAMUNDA_ZEEBE_OAUTH_AUDIENCE: string;
ZEEBE_ADDRESS: string;
ZEEBE_CLIENT_ID: undefined | string;
ZEEBE_CLIENT_SECRET: undefined | string;
zeebeGrpcSettings: {
GRPC_HTTP2_MAX_PINGS_WITHOUT_DATA: number;
GRPC_HTTP2_MIN_PING_INTERVAL_WITHOUT_DATA_MS: number;
GRPC_HTTP2_MIN_TIME_BETWEEN_PINGS_MS: number;
GRPC_INITIAL_RECONNECT_BACKOFF_MS: string | number;
GRPC_KEEPALIVE_PERMIT_WITHOUT_CALLS: number;
GRPC_KEEPALIVE_TIMEOUT_MS: number;
GRPC_KEEPALIVE_TIME_MS: number;
GRPC_MAX_RECONNECT_BACKOFF_MS: string | number;
GRPC_MIN_RECONNECT_BACKOFF_MS: string | number;
ZEEBE_CLIENT_LOG_LEVEL: string;
ZEEBE_CLIENT_LOG_TYPE: string;
ZEEBE_GRPC_CLIENT_CONNECTION_TOLERANCE_MS: number;
ZEEBE_GRPC_CLIENT_EAGER_CONNECT: boolean;
ZEEBE_GRPC_CLIENT_INITIAL_CONNECTION_TOLERANCE_MS: undefined | number;
ZEEBE_GRPC_CLIENT_MAX_RETRIES: number;
ZEEBE_GRPC_CLIENT_MAX_RETRY_TIMEOUT_SECONDS: number;
ZEEBE_GRPC_CLIENT_RETRY: boolean;
ZEEBE_GRPC_WORKER_LONGPOLL_SECONDS: number;
ZEEBE_GRPC_WORKER_POLL_INTERVAL_MS: number;
};
}>;
oAuthProvider?: IOAuthProvider;
}Optional
config?: DeepPartial<{
CAMUNDA_CONSOLE_BASE_URL: undefined | string;
CAMUNDA_CONSOLE_CLIENT_ID: undefined | string;
CAMUNDA_CONSOLE_CLIENT_SECRET: undefined | string;
CAMUNDA_CONSOLE_OAUTH_AUDIENCE: string;
CAMUNDA_CUSTOM_CERT_CHAIN_PATH: undefined | string;
CAMUNDA_CUSTOM_PRIVATE_KEY_PATH: undefined | string;
CAMUNDA_CUSTOM_ROOT_CERT_PATH: undefined | string;
CAMUNDA_CUSTOM_ROOT_CERT_STRING: undefined | string;
CAMUNDA_CUSTOM_USER_AGENT_STRING: undefined | string;
CAMUNDA_MODELER_BASE_URL: string;
CAMUNDA_MODELER_OAUTH_AUDIENCE: undefined | string;
CAMUNDA_OAUTH_DISABLED: boolean;
CAMUNDA_OAUTH_TOKEN_REFRESH_THRESHOLD_MS: number;
CAMUNDA_OAUTH_URL: undefined | string;
CAMUNDA_OPERATE_BASE_URL: undefined | string;
CAMUNDA_OPERATE_OAUTH_AUDIENCE: string;
CAMUNDA_OPTIMIZE_BASE_URL: undefined | string;
CAMUNDA_OPTIMIZE_OAUTH_AUDIENCE: string;
CAMUNDA_SECURE_CONNECTION: boolean;
CAMUNDA_TASKLIST_BASE_URL: undefined | string;
CAMUNDA_TASKLIST_OAUTH_AUDIENCE: string;
CAMUNDA_TENANT_ID: undefined | string;
CAMUNDA_TOKEN_CACHE_DIR: undefined | string;
CAMUNDA_TOKEN_DISK_CACHE_DISABLE: boolean;
CAMUNDA_TOKEN_SCOPE: undefined | string;
CAMUNDA_ZEEBE_OAUTH_AUDIENCE: string;
ZEEBE_ADDRESS: string;
ZEEBE_CLIENT_ID: undefined | string;
ZEEBE_CLIENT_SECRET: undefined | string;
zeebeGrpcSettings: {
GRPC_HTTP2_MAX_PINGS_WITHOUT_DATA: number;
GRPC_HTTP2_MIN_PING_INTERVAL_WITHOUT_DATA_MS: number;
GRPC_HTTP2_MIN_TIME_BETWEEN_PINGS_MS: number;
GRPC_INITIAL_RECONNECT_BACKOFF_MS: string | number;
GRPC_KEEPALIVE_PERMIT_WITHOUT_CALLS: number;
GRPC_KEEPALIVE_TIMEOUT_MS: number;
GRPC_KEEPALIVE_TIME_MS: number;
GRPC_MAX_RECONNECT_BACKOFF_MS: string | number;
GRPC_MIN_RECONNECT_BACKOFF_MS: string | number;
ZEEBE_CLIENT_LOG_LEVEL: string;
ZEEBE_CLIENT_LOG_TYPE: string;
ZEEBE_GRPC_CLIENT_CONNECTION_TOLERANCE_MS: number;
ZEEBE_GRPC_CLIENT_EAGER_CONNECT: boolean;
ZEEBE_GRPC_CLIENT_INITIAL_CONNECTION_TOLERANCE_MS: undefined | number;
ZEEBE_GRPC_CLIENT_MAX_RETRIES: number;
ZEEBE_GRPC_CLIENT_MAX_RETRY_TIMEOUT_SECONDS: number;
ZEEBE_GRPC_CLIENT_RETRY: boolean;
ZEEBE_GRPC_WORKER_LONGPOLL_SECONDS: number;
ZEEBE_GRPC_WORKER_POLL_INTERVAL_MS: number;
};
}>
Properties
Private
rest
rest: Promise<Got>
Private
userAgentString
userAgentString: string
Methods
createClient
- createClient(req): Promise<CreatedClusterClient>
Parameters
- req: {
clientName: string;
clusterUuid: string;
permissions: string[];
}clientName: string
clusterUuid: string
permissions: string[]
createCluster
- createCluster(createClusterRequest): Promise<{
clusterId: string;
}> Returns Promise<{
clusterId: string;
}>
createMember
- createMember(email, orgRoles): Promise<null>
Returns Promise<null>
createSecret
- createSecret(__namedParameters): Promise<null>
Parameters
- __namedParameters: {
clusterUuid: string;
secretName: string;
secretValue: string;
}clusterUuid: string
secretName: string
secretValue: string
Returns Promise<null>
deleteClient
- deleteClient(clusterUuid, clientId): Promise<null>
Parameters
- clusterUuid: string
- clientId: string
Returns Promise<null>
deleteCluster
- deleteCluster(clusterUuid): Promise<null>
Returns Promise<null>
deleteMember
- deleteMember(email): Promise<null>
Returns Promise<null>
deleteSecret
- deleteSecret(clusterUuid, secretName): Promise<null>
Parameters
- clusterUuid: string
- secretName: string
Returns Promise<null>
Constructors
constructor
- new AdminApiClient(options?): AdminApiClient
Parameters
Optional
options: {
config?: DeepPartial<{
CAMUNDA_CONSOLE_BASE_URL: undefined | string;
CAMUNDA_CONSOLE_CLIENT_ID: undefined | string;
CAMUNDA_CONSOLE_CLIENT_SECRET: undefined | string;
CAMUNDA_CONSOLE_OAUTH_AUDIENCE: string;
CAMUNDA_CUSTOM_CERT_CHAIN_PATH: undefined | string;
CAMUNDA_CUSTOM_PRIVATE_KEY_PATH: undefined | string;
CAMUNDA_CUSTOM_ROOT_CERT_PATH: undefined | string;
CAMUNDA_CUSTOM_ROOT_CERT_STRING: undefined | string;
CAMUNDA_CUSTOM_USER_AGENT_STRING: undefined | string;
CAMUNDA_MODELER_BASE_URL: string;
CAMUNDA_MODELER_OAUTH_AUDIENCE: undefined | string;
CAMUNDA_OAUTH_DISABLED: boolean;
CAMUNDA_OAUTH_TOKEN_REFRESH_THRESHOLD_MS: number;
CAMUNDA_OAUTH_URL: undefined | string;
CAMUNDA_OPERATE_BASE_URL: undefined | string;
CAMUNDA_OPERATE_OAUTH_AUDIENCE: string;
CAMUNDA_OPTIMIZE_BASE_URL: undefined | string;
CAMUNDA_OPTIMIZE_OAUTH_AUDIENCE: string;
CAMUNDA_SECURE_CONNECTION: boolean;
CAMUNDA_TASKLIST_BASE_URL: undefined | string;
CAMUNDA_TASKLIST_OAUTH_AUDIENCE: string;
CAMUNDA_TENANT_ID: undefined | string;
CAMUNDA_TOKEN_CACHE_DIR: undefined | string;
CAMUNDA_TOKEN_DISK_CACHE_DISABLE: boolean;
CAMUNDA_TOKEN_SCOPE: undefined | string;
CAMUNDA_ZEEBE_OAUTH_AUDIENCE: string;
ZEEBE_ADDRESS: string;
ZEEBE_CLIENT_ID: undefined | string;
ZEEBE_CLIENT_SECRET: undefined | string;
zeebeGrpcSettings: {
GRPC_HTTP2_MAX_PINGS_WITHOUT_DATA: number;
GRPC_HTTP2_MIN_PING_INTERVAL_WITHOUT_DATA_MS: number;
GRPC_HTTP2_MIN_TIME_BETWEEN_PINGS_MS: number;
GRPC_INITIAL_RECONNECT_BACKOFF_MS: string | number;
GRPC_KEEPALIVE_PERMIT_WITHOUT_CALLS: number;
GRPC_KEEPALIVE_TIMEOUT_MS: number;
GRPC_KEEPALIVE_TIME_MS: number;
GRPC_MAX_RECONNECT_BACKOFF_MS: string | number;
GRPC_MIN_RECONNECT_BACKOFF_MS: string | number;
ZEEBE_CLIENT_LOG_LEVEL: string;
ZEEBE_CLIENT_LOG_TYPE: string;
ZEEBE_GRPC_CLIENT_CONNECTION_TOLERANCE_MS: number;
ZEEBE_GRPC_CLIENT_EAGER_CONNECT: boolean;
ZEEBE_GRPC_CLIENT_INITIAL_CONNECTION_TOLERANCE_MS: undefined | number;
ZEEBE_GRPC_CLIENT_MAX_RETRIES: number;
ZEEBE_GRPC_CLIENT_MAX_RETRY_TIMEOUT_SECONDS: number;
ZEEBE_GRPC_CLIENT_RETRY: boolean;
ZEEBE_GRPC_WORKER_LONGPOLL_SECONDS: number;
ZEEBE_GRPC_WORKER_POLL_INTERVAL_MS: number;
};
}>;
oAuthProvider?: IOAuthProvider;
}Optional
config?: DeepPartial<{
CAMUNDA_CONSOLE_BASE_URL: undefined | string;
CAMUNDA_CONSOLE_CLIENT_ID: undefined | string;
CAMUNDA_CONSOLE_CLIENT_SECRET: undefined | string;
CAMUNDA_CONSOLE_OAUTH_AUDIENCE: string;
CAMUNDA_CUSTOM_CERT_CHAIN_PATH: undefined | string;
CAMUNDA_CUSTOM_PRIVATE_KEY_PATH: undefined | string;
CAMUNDA_CUSTOM_ROOT_CERT_PATH: undefined | string;
CAMUNDA_CUSTOM_ROOT_CERT_STRING: undefined | string;
CAMUNDA_CUSTOM_USER_AGENT_STRING: undefined | string;
CAMUNDA_MODELER_BASE_URL: string;
CAMUNDA_MODELER_OAUTH_AUDIENCE: undefined | string;
CAMUNDA_OAUTH_DISABLED: boolean;
CAMUNDA_OAUTH_TOKEN_REFRESH_THRESHOLD_MS: number;
CAMUNDA_OAUTH_URL: undefined | string;
CAMUNDA_OPERATE_BASE_URL: undefined | string;
CAMUNDA_OPERATE_OAUTH_AUDIENCE: string;
CAMUNDA_OPTIMIZE_BASE_URL: undefined | string;
CAMUNDA_OPTIMIZE_OAUTH_AUDIENCE: string;
CAMUNDA_SECURE_CONNECTION: boolean;
CAMUNDA_TASKLIST_BASE_URL: undefined | string;
CAMUNDA_TASKLIST_OAUTH_AUDIENCE: string;
CAMUNDA_TENANT_ID: undefined | string;
CAMUNDA_TOKEN_CACHE_DIR: undefined | string;
CAMUNDA_TOKEN_DISK_CACHE_DISABLE: boolean;
CAMUNDA_TOKEN_SCOPE: undefined | string;
CAMUNDA_ZEEBE_OAUTH_AUDIENCE: string;
ZEEBE_ADDRESS: string;
ZEEBE_CLIENT_ID: undefined | string;
ZEEBE_CLIENT_SECRET: undefined | string;
zeebeGrpcSettings: {
GRPC_HTTP2_MAX_PINGS_WITHOUT_DATA: number;
GRPC_HTTP2_MIN_PING_INTERVAL_WITHOUT_DATA_MS: number;
GRPC_HTTP2_MIN_TIME_BETWEEN_PINGS_MS: number;
GRPC_INITIAL_RECONNECT_BACKOFF_MS: string | number;
GRPC_KEEPALIVE_PERMIT_WITHOUT_CALLS: number;
GRPC_KEEPALIVE_TIMEOUT_MS: number;
GRPC_KEEPALIVE_TIME_MS: number;
GRPC_MAX_RECONNECT_BACKOFF_MS: string | number;
GRPC_MIN_RECONNECT_BACKOFF_MS: string | number;
ZEEBE_CLIENT_LOG_LEVEL: string;
ZEEBE_CLIENT_LOG_TYPE: string;
ZEEBE_GRPC_CLIENT_CONNECTION_TOLERANCE_MS: number;
ZEEBE_GRPC_CLIENT_EAGER_CONNECT: boolean;
ZEEBE_GRPC_CLIENT_INITIAL_CONNECTION_TOLERANCE_MS: undefined | number;
ZEEBE_GRPC_CLIENT_MAX_RETRIES: number;
ZEEBE_GRPC_CLIENT_MAX_RETRY_TIMEOUT_SECONDS: number;
ZEEBE_GRPC_CLIENT_RETRY: boolean;
ZEEBE_GRPC_WORKER_LONGPOLL_SECONDS: number;
ZEEBE_GRPC_WORKER_POLL_INTERVAL_MS: number;
};
}>
Properties
Private
rest
rest: Promise<Got>
Private
userAgentString
userAgentString: string
Methods
createClient
- createClient(req): Promise<CreatedClusterClient>
Parameters
- req: {
clientName: string;
clusterUuid: string;
permissions: string[];
}clientName: string
clusterUuid: string
permissions: string[]
createCluster
- createCluster(createClusterRequest): Promise<{
clusterId: string;
}> Returns Promise<{
clusterId: string;
}>
createMember
- createMember(email, orgRoles): Promise<null>
Returns Promise<null>
createSecret
- createSecret(__namedParameters): Promise<null>
Parameters
- __namedParameters: {
clusterUuid: string;
secretName: string;
secretValue: string;
}clusterUuid: string
secretName: string
secretValue: string
Returns Promise<null>
deleteClient
- deleteClient(clusterUuid, clientId): Promise<null>
Parameters
- clusterUuid: string
- clientId: string
Returns Promise<null>
deleteCluster
- deleteCluster(clusterUuid): Promise<null>
Returns Promise<null>
deleteMember
- deleteMember(email): Promise<null>
Returns Promise<null>
deleteSecret
- deleteSecret(clusterUuid, secretName): Promise<null>
Parameters
- clusterUuid: string
- secretName: string
Returns Promise<null>
Private
getHeaders
- getHeaders(): Promise<{
accept: string;
authorization: string;
content-type: string;
user-agent: string;
}> Returns Promise<{
accept: string;
authorization: string;
content-type: string;
user-agent: string;
}>
getSecrets
- getSecrets(clusterUuid): Promise<{
[key: string]: string;
}> Returns Promise<{
[key: string]: string;
}>
whitelistIPs
- whitelistIPs(clusterUuid, ipwhitelist): Promise<null>
Parameters
- clusterUuid: string
- ipwhitelist: [{
description: string;
ip: string;
}]
Returns Promise<null>
\ No newline at end of file
+
Throws
This class provides methods to interact with the Camunda Admin API.
Throws
An error that may occur during API operations.
-