@azerothian/infisical 0.1.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/README.md +1038 -0
- package/dist/index.d.mts +3973 -0
- package/dist/index.d.ts +3973 -0
- package/dist/index.js +2839 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +2738 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +64 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/index.ts","../src/errors.ts","../src/http.ts","../src/client.ts","../src/auth-state.ts","../src/auth-manager.ts","../src/types/auth-modes.ts","../src/resources/base.ts","../src/resources/mfa.ts","../src/resources/mfa-sessions.ts","../src/resources/users.ts","../src/resources/password.ts","../src/resources/service-tokens.ts","../src/resources/organizations.ts","../src/resources/organization-identities.ts","../src/resources/secret-folders.ts","../src/resources/secret-imports.ts","../src/resources/pki-ca.ts","../src/resources/pki-templates.ts","../src/resources/pki-alerts.ts","../src/resources/pki-certificates.ts","../src/resources/secret-tags.ts","../src/resources/identities.ts","../src/resources/identity-access-tokens.ts","../src/resources/identity-universal-auth.ts","../src/resources/identity-token-auth.ts","../src/resources/identity-aws-auth.ts","../src/resources/identity-gcp-auth.ts","../src/resources/identity-azure-auth.ts","../src/resources/identity-kubernetes-auth.ts","../src/resources/identity-oidc-auth.ts","../src/resources/identity-jwt-auth.ts","../src/resources/identity-ldap-auth.ts","../src/resources/identity-tls-cert-auth.ts","../src/resources/identity-oci-auth.ts","../src/resources/identity-alicloud-auth.ts","../src/resources/projects.ts","../src/resources/webhooks.ts","../src/resources/secret-sharing.ts","../src/resources/secrets.ts","../src/resources/kms.ts","../src/resources/integration-auth.ts","../src/resources/app-connections.ts","../src/resources/secret-syncs.ts","../src/resources/admin.ts","../src/resources/org-admin.ts","../src/types/common.ts"],"sourcesContent":["export { InfisicalClient } from \"./client\";\nexport type { InfisicalClientConfig } from \"./client\";\nexport { HttpClient } from \"./http\";\nexport type { HttpClientConfig, FetchFunction } from \"./http\";\nexport {\n InfisicalApiError,\n InfisicalNetworkError,\n BadRequestError,\n UnauthorizedError,\n ForbiddenError,\n NotFoundError,\n ValidationError,\n RateLimitError,\n InternalServerError,\n AuthenticationError,\n} from \"./errors\";\nexport { AuthState } from \"./auth-state\";\nexport type { LoginResponse, RenewResult } from \"./auth-state\";\nexport { AuthManager } from \"./auth-manager\";\nexport type { LoginParams, LoginParamsOrFactory, IdentityAuthResources } from \"./auth-manager\";\nexport * from \"./types\";\nexport { MfaResource } from \"./resources/mfa\";\nexport { MfaSessionsResource } from \"./resources/mfa-sessions\";\nexport { UsersResource } from \"./resources/users\";\nexport { PasswordResource } from \"./resources/password\";\nexport { ServiceTokensResource } from \"./resources/service-tokens\";\nexport { OrganizationsResource } from \"./resources/organizations\";\nexport { OrganizationIdentitiesResource } from \"./resources/organization-identities\";\nexport { SecretFoldersResource } from \"./resources/secret-folders\";\nexport { SecretImportsResource } from \"./resources/secret-imports\";\nexport { PkiCaResource } from \"./resources/pki-ca\";\nexport { PkiTemplatesResource } from \"./resources/pki-templates\";\nexport { PkiAlertsResource } from \"./resources/pki-alerts\";\nexport { PkiCertificatesResource } from \"./resources/pki-certificates\";\nexport { SecretTagsResource } from \"./resources/secret-tags\";\nexport { IdentitiesResource } from \"./resources/identities\";\nexport { IdentityAccessTokensResource } from \"./resources/identity-access-tokens\";\nexport { IdentityUniversalAuthResource } from \"./resources/identity-universal-auth\";\nexport { IdentityTokenAuthResource } from \"./resources/identity-token-auth\";\nexport { IdentityAwsAuthResource } from \"./resources/identity-aws-auth\";\nexport { IdentityGcpAuthResource } from \"./resources/identity-gcp-auth\";\nexport { IdentityAzureAuthResource } from \"./resources/identity-azure-auth\";\nexport { IdentityKubernetesAuthResource } from \"./resources/identity-kubernetes-auth\";\nexport { IdentityOidcAuthResource } from \"./resources/identity-oidc-auth\";\nexport { IdentityJwtAuthResource } from \"./resources/identity-jwt-auth\";\nexport { IdentityLdapAuthResource } from \"./resources/identity-ldap-auth\";\nexport { IdentityTlsCertAuthResource } from \"./resources/identity-tls-cert-auth\";\nexport { IdentityOciAuthResource } from \"./resources/identity-oci-auth\";\nexport { IdentityAlicloudAuthResource } from \"./resources/identity-alicloud-auth\";\nexport { ProjectsResource } from \"./resources/projects\";\nexport { WebhooksResource } from \"./resources/webhooks\";\nexport { SecretSharingResource } from \"./resources/secret-sharing\";\nexport { SecretsResource } from \"./resources/secrets\";\nexport { KmsResource } from \"./resources/kms\";\nexport { IntegrationAuthResource } from \"./resources/integration-auth\";\nexport { AppConnectionsResource } from \"./resources/app-connections\";\nexport { SecretSyncsResource } from \"./resources/secret-syncs\";\nexport { AdminResource } from \"./resources/admin\";\nexport { OrgAdminResource } from \"./resources/org-admin\";\n","export class InfisicalApiError extends Error {\n readonly statusCode: number;\n readonly requestId?: string;\n readonly errorType?: string;\n readonly details?: unknown;\n\n constructor(\n message: string,\n options: {\n statusCode: number;\n requestId?: string;\n errorType?: string;\n details?: unknown;\n }\n ) {\n super(message);\n this.name = \"InfisicalApiError\";\n this.statusCode = options.statusCode;\n this.requestId = options.requestId;\n this.errorType = options.errorType;\n this.details = options.details;\n }\n}\n\ntype ApiErrorOptions = Omit<\n ConstructorParameters<typeof InfisicalApiError>[1],\n \"statusCode\"\n>;\n\nexport class BadRequestError extends InfisicalApiError {\n constructor(message: string, options?: ApiErrorOptions) {\n super(message, { statusCode: 400, ...options });\n this.name = \"BadRequestError\";\n }\n}\n\nexport class UnauthorizedError extends InfisicalApiError {\n constructor(message: string, options?: ApiErrorOptions) {\n super(message, { statusCode: 401, ...options });\n this.name = \"UnauthorizedError\";\n }\n}\n\nexport class ForbiddenError extends InfisicalApiError {\n constructor(message: string, options?: ApiErrorOptions) {\n super(message, { statusCode: 403, ...options });\n this.name = \"ForbiddenError\";\n }\n}\n\nexport class NotFoundError extends InfisicalApiError {\n constructor(message: string, options?: ApiErrorOptions) {\n super(message, { statusCode: 404, ...options });\n this.name = \"NotFoundError\";\n }\n}\n\nexport class ValidationError extends InfisicalApiError {\n constructor(message: string, options?: ApiErrorOptions) {\n super(message, { statusCode: 422, ...options });\n this.name = \"ValidationError\";\n }\n}\n\nexport class RateLimitError extends InfisicalApiError {\n constructor(message: string, options?: ApiErrorOptions) {\n super(message, { statusCode: 429, ...options });\n this.name = \"RateLimitError\";\n }\n}\n\nexport class InternalServerError extends InfisicalApiError {\n constructor(message: string, options?: ApiErrorOptions) {\n super(message, { statusCode: 500, ...options });\n this.name = \"InternalServerError\";\n }\n}\n\nexport class AuthenticationError extends Error {\n readonly currentMode: string | null;\n readonly allowedModes: readonly string[];\n\n constructor(\n message: string,\n options: { currentMode: string | null; allowedModes: readonly string[] }\n ) {\n super(message);\n this.name = \"AuthenticationError\";\n this.currentMode = options.currentMode;\n this.allowedModes = options.allowedModes;\n }\n}\n\nexport class InfisicalNetworkError extends Error {\n override readonly cause?: Error;\n\n constructor(message: string, options?: { cause?: Error }) {\n super(message);\n this.name = \"InfisicalNetworkError\";\n this.cause = options?.cause;\n }\n}\n","import {\n InfisicalApiError,\n InfisicalNetworkError,\n BadRequestError,\n UnauthorizedError,\n ForbiddenError,\n NotFoundError,\n ValidationError,\n RateLimitError,\n InternalServerError,\n} from \"./errors\";\nimport type { AuthConfig } from \"./types/auth\";\nimport type { AuthState } from \"./auth-state\";\n\nexport type FetchFunction = (\n input: string | URL | Request,\n init?: RequestInit\n) => Promise<Response>;\n\nexport interface HttpClientConfig {\n baseUrl: string;\n authState: AuthState;\n fetch: FetchFunction;\n timeout: number;\n headers?: Record<string, string>;\n}\n\nfunction buildQueryString(params?: Record<string, unknown>): string {\n if (!params) return \"\";\n const entries: string[] = [];\n for (const [key, value] of Object.entries(params)) {\n if (value === undefined || value === null) continue;\n if (Array.isArray(value)) {\n for (const item of value) {\n entries.push(\n `${encodeURIComponent(key)}=${encodeURIComponent(String(item))}`\n );\n }\n } else {\n entries.push(\n `${encodeURIComponent(key)}=${encodeURIComponent(String(value))}`\n );\n }\n }\n return entries.length > 0 ? `?${entries.join(\"&\")}` : \"\";\n}\n\nfunction getAuthHeader(auth: AuthConfig): Record<string, string> {\n switch (auth.mode) {\n case \"jwt\":\n return { Authorization: `Bearer ${auth.token}` };\n case \"apiKey\":\n return { \"X-API-KEY\": auth.apiKey };\n case \"serviceToken\":\n return { Authorization: `Bearer ${auth.serviceToken}` };\n case \"identityAccessToken\":\n return { Authorization: `Bearer ${auth.accessToken}` };\n }\n}\n\nfunction createApiError(\n statusCode: number,\n body: Record<string, unknown> | null,\n requestId?: string\n): InfisicalApiError {\n const message =\n (body?.[\"message\"] as string) ??\n (body?.[\"error\"] as string) ??\n `Request failed with status ${statusCode}`;\n const opts = {\n requestId,\n errorType: body?.[\"type\"] as string | undefined,\n details: (body?.[\"details\"] as unknown) ?? body,\n };\n switch (statusCode) {\n case 400:\n return new BadRequestError(message, opts);\n case 401:\n return new UnauthorizedError(message, opts);\n case 403:\n return new ForbiddenError(message, opts);\n case 404:\n return new NotFoundError(message, opts);\n case 422:\n return new ValidationError(message, opts);\n case 429:\n return new RateLimitError(message, opts);\n case 500:\n return new InternalServerError(message, opts);\n default:\n return new InfisicalApiError(message, { statusCode, ...opts });\n }\n}\n\nfunction isAbortError(error: unknown): boolean {\n return (\n error instanceof Error &&\n (error.name === \"AbortError\" ||\n (typeof DOMException !== \"undefined\" && error instanceof DOMException && error.name === \"AbortError\"))\n );\n}\n\nexport class HttpClient {\n private readonly config: HttpClientConfig;\n\n constructor(config: HttpClientConfig) {\n this.config = config;\n }\n\n private async request<T>(\n method: string,\n path: string,\n options?: {\n body?: unknown;\n query?: Record<string, unknown>;\n headers?: Record<string, string>;\n skipAuth?: boolean;\n }\n ): Promise<T> {\n if (!options?.skipAuth) {\n await this.config.authState.ensureValid();\n }\n const prefix = path.startsWith(\"/api/\") ? \"\" : \"/api/v2\";\n const url = `${this.config.baseUrl}${prefix}${path}${buildQueryString(options?.query)}`;\n const controller = new AbortController();\n const timeoutId = setTimeout(() => controller.abort(), this.config.timeout);\n\n const headers: Record<string, string> = {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n ...(!options?.skipAuth && this.config.authState.current ? getAuthHeader(this.config.authState.current) : {}),\n ...this.config.headers,\n ...options?.headers,\n };\n\n let response: Response;\n try {\n response = await this.config.fetch(url, {\n method,\n headers,\n body:\n options?.body !== undefined\n ? JSON.stringify(options.body)\n : undefined,\n signal: controller.signal,\n });\n } catch (error: unknown) {\n if (isAbortError(error)) {\n throw new InfisicalNetworkError(\n `Request timed out after ${this.config.timeout}ms`,\n { cause: error as Error }\n );\n }\n throw new InfisicalNetworkError(\"Network request failed\", {\n cause: error instanceof Error ? error : new Error(String(error)),\n });\n } finally {\n clearTimeout(timeoutId);\n }\n\n const requestId = response.headers.get(\"x-request-id\") ?? undefined;\n\n if (!response.ok) {\n // On 401, attempt to re-login and retry once\n if (\n response.status === 401 &&\n !options?.skipAuth &&\n this.config.authState.canRenew\n ) {\n await this.config.authState.forceRenew();\n\n const retryHeaders: Record<string, string> = {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n ...(this.config.authState.current ? getAuthHeader(this.config.authState.current) : {}),\n ...this.config.headers,\n ...options?.headers,\n };\n\n const retryController = new AbortController();\n const retryTimeoutId = setTimeout(\n () => retryController.abort(),\n this.config.timeout\n );\n\n let retryResponse: Response;\n try {\n retryResponse = await this.config.fetch(url, {\n method,\n headers: retryHeaders,\n body:\n options?.body !== undefined\n ? JSON.stringify(options.body)\n : undefined,\n signal: retryController.signal,\n });\n } catch (error: unknown) {\n if (isAbortError(error)) {\n throw new InfisicalNetworkError(\n `Request timed out after ${this.config.timeout}ms`,\n { cause: error as Error }\n );\n }\n throw new InfisicalNetworkError(\"Network request failed\", {\n cause: error instanceof Error ? error : new Error(String(error)),\n });\n } finally {\n clearTimeout(retryTimeoutId);\n }\n\n const retryRequestId =\n retryResponse.headers.get(\"x-request-id\") ?? undefined;\n\n if (!retryResponse.ok) {\n let retryBody: Record<string, unknown> | null = null;\n try {\n retryBody = (await retryResponse.json()) as Record<string, unknown>;\n } catch {\n const text = await retryResponse\n .text()\n .catch(() => \"Unknown error\");\n retryBody = { message: text };\n }\n throw createApiError(retryResponse.status, retryBody, retryRequestId);\n }\n\n if (retryResponse.status === 204) {\n return undefined as T;\n }\n\n const retryText = await retryResponse.text();\n if (!retryText) return undefined as T;\n return JSON.parse(retryText) as T;\n }\n\n let body: Record<string, unknown> | null = null;\n try {\n body = (await response.json()) as Record<string, unknown>;\n } catch {\n const text = await response.text().catch(() => \"Unknown error\");\n body = { message: text };\n }\n throw createApiError(response.status, body, requestId);\n }\n\n if (response.status === 204) {\n return undefined as T;\n }\n\n const text = await response.text();\n if (!text) return undefined as T;\n return JSON.parse(text) as T;\n }\n\n async get<T>(path: string, query?: Record<string, unknown>): Promise<T> {\n return this.request<T>(\"GET\", path, { query });\n }\n\n async post<T>(\n path: string,\n body?: unknown,\n query?: Record<string, unknown>\n ): Promise<T> {\n return this.request<T>(\"POST\", path, { body, query });\n }\n\n async postNoAuth<T>(\n path: string,\n body?: unknown,\n query?: Record<string, unknown>\n ): Promise<T> {\n return this.request<T>(\"POST\", path, { body, query, skipAuth: true });\n }\n\n async put<T>(\n path: string,\n body?: unknown,\n query?: Record<string, unknown>\n ): Promise<T> {\n return this.request<T>(\"PUT\", path, { body, query });\n }\n\n async patch<T>(\n path: string,\n body?: unknown,\n query?: Record<string, unknown>\n ): Promise<T> {\n return this.request<T>(\"PATCH\", path, { body, query });\n }\n\n async delete<T>(\n path: string,\n body?: unknown,\n query?: Record<string, unknown>\n ): Promise<T> {\n return this.request<T>(\"DELETE\", path, { body, query });\n }\n}\n","import { HttpClient } from \"./http\";\nimport crossFetch from \"cross-fetch\";\nimport type { FetchFunction } from \"./http\";\nimport { AuthState } from \"./auth-state\";\nimport type { LoginResponse } from \"./auth-state\";\nimport { AuthManager } from \"./auth-manager\";\nimport type { LoginParams, LoginParamsOrFactory } from \"./auth-manager\";\nimport type { AuthMode } from \"./types/auth-modes\";\nimport { MfaResource } from \"./resources/mfa\";\nimport { MfaSessionsResource } from \"./resources/mfa-sessions\";\nimport { UsersResource } from \"./resources/users\";\nimport { PasswordResource } from \"./resources/password\";\nimport { ServiceTokensResource } from \"./resources/service-tokens\";\nimport { OrganizationsResource } from \"./resources/organizations\";\nimport { OrganizationIdentitiesResource } from \"./resources/organization-identities\";\nimport { SecretFoldersResource } from \"./resources/secret-folders\";\nimport { SecretImportsResource } from \"./resources/secret-imports\";\nimport { PkiCaResource } from \"./resources/pki-ca\";\nimport { PkiTemplatesResource } from \"./resources/pki-templates\";\nimport { PkiAlertsResource } from \"./resources/pki-alerts\";\nimport { PkiCertificatesResource } from \"./resources/pki-certificates\";\nimport { SecretTagsResource } from \"./resources/secret-tags\";\nimport { IdentitiesResource } from \"./resources/identities\";\nimport { IdentityAccessTokensResource } from \"./resources/identity-access-tokens\";\nimport { IdentityUniversalAuthResource } from \"./resources/identity-universal-auth\";\nimport { IdentityTokenAuthResource } from \"./resources/identity-token-auth\";\nimport { IdentityAwsAuthResource } from \"./resources/identity-aws-auth\";\nimport { IdentityGcpAuthResource } from \"./resources/identity-gcp-auth\";\nimport { IdentityAzureAuthResource } from \"./resources/identity-azure-auth\";\nimport { IdentityKubernetesAuthResource } from \"./resources/identity-kubernetes-auth\";\nimport { IdentityOidcAuthResource } from \"./resources/identity-oidc-auth\";\nimport { IdentityJwtAuthResource } from \"./resources/identity-jwt-auth\";\nimport { IdentityLdapAuthResource } from \"./resources/identity-ldap-auth\";\nimport { IdentityTlsCertAuthResource } from \"./resources/identity-tls-cert-auth\";\nimport { IdentityOciAuthResource } from \"./resources/identity-oci-auth\";\nimport { IdentityAlicloudAuthResource } from \"./resources/identity-alicloud-auth\";\nimport { ProjectsResource } from \"./resources/projects\";\nimport { WebhooksResource } from \"./resources/webhooks\";\nimport { SecretSharingResource } from \"./resources/secret-sharing\";\nimport { SecretsResource } from \"./resources/secrets\";\nimport { KmsResource } from \"./resources/kms\";\nimport { IntegrationAuthResource } from \"./resources/integration-auth\";\nimport { AppConnectionsResource } from \"./resources/app-connections\";\nimport { SecretSyncsResource } from \"./resources/secret-syncs\";\nimport { AdminResource } from \"./resources/admin\";\nimport { OrgAdminResource } from \"./resources/org-admin\";\n\nexport interface InfisicalClientConfig {\n baseUrl?: string;\n fetch?: FetchFunction;\n timeout?: number;\n headers?: Record<string, string>;\n}\n\nexport class InfisicalClient {\n readonly mfa: MfaResource;\n readonly mfaSessions: MfaSessionsResource;\n readonly users: UsersResource;\n readonly password: PasswordResource;\n readonly serviceTokens: ServiceTokensResource;\n readonly organizations: OrganizationsResource;\n readonly organizationIdentities: OrganizationIdentitiesResource;\n readonly secretFolders: SecretFoldersResource;\n readonly secretImports: SecretImportsResource;\n readonly pki: {\n readonly ca: PkiCaResource;\n readonly templates: PkiTemplatesResource;\n readonly alerts: PkiAlertsResource;\n readonly certificates: PkiCertificatesResource;\n };\n readonly secretTags: SecretTagsResource;\n readonly identities: IdentitiesResource;\n readonly identityAccessTokens: IdentityAccessTokensResource;\n readonly identityAuth: {\n readonly universal: IdentityUniversalAuthResource;\n readonly token: IdentityTokenAuthResource;\n readonly aws: IdentityAwsAuthResource;\n readonly gcp: IdentityGcpAuthResource;\n readonly azure: IdentityAzureAuthResource;\n readonly kubernetes: IdentityKubernetesAuthResource;\n readonly oidc: IdentityOidcAuthResource;\n readonly jwt: IdentityJwtAuthResource;\n readonly ldap: IdentityLdapAuthResource;\n readonly tlsCert: IdentityTlsCertAuthResource;\n readonly oci: IdentityOciAuthResource;\n readonly alicloud: IdentityAlicloudAuthResource;\n };\n readonly projects: ProjectsResource;\n readonly webhooks: WebhooksResource;\n readonly secretSharing: SecretSharingResource;\n readonly secrets: SecretsResource;\n readonly kms: KmsResource;\n readonly integrationAuth: IntegrationAuthResource;\n readonly appConnections: AppConnectionsResource;\n readonly secretSyncs: SecretSyncsResource;\n readonly admin: AdminResource;\n readonly orgAdmin: OrgAdminResource;\n\n private readonly _authState: AuthState;\n private readonly _authManager: AuthManager;\n\n constructor(config: InfisicalClientConfig = {}) {\n this._authState = new AuthState();\n const http = new HttpClient({\n baseUrl: config.baseUrl ?? \"https://app.infisical.com\",\n authState: this._authState,\n fetch: config.fetch ?? crossFetch,\n timeout: config.timeout ?? 30_000,\n headers: config.headers,\n });\n\n const as = this._authState;\n\n this.mfa = new MfaResource(http, as);\n this.mfaSessions = new MfaSessionsResource(http, as);\n this.users = new UsersResource(http, as);\n this.password = new PasswordResource(http, as);\n this.serviceTokens = new ServiceTokensResource(http, as);\n this.organizations = new OrganizationsResource(http, as);\n this.organizationIdentities = new OrganizationIdentitiesResource(http, as);\n this.secretFolders = new SecretFoldersResource(http, as);\n this.secretImports = new SecretImportsResource(http, as);\n this.pki = {\n ca: new PkiCaResource(http, as),\n templates: new PkiTemplatesResource(http, as),\n alerts: new PkiAlertsResource(http, as),\n certificates: new PkiCertificatesResource(http, as),\n };\n this.secretTags = new SecretTagsResource(http, as);\n this.identities = new IdentitiesResource(http, as);\n this.identityAccessTokens = new IdentityAccessTokensResource(http, as);\n\n const identityAuthResources = {\n universal: new IdentityUniversalAuthResource(http, as),\n token: new IdentityTokenAuthResource(http, as),\n aws: new IdentityAwsAuthResource(http, as),\n gcp: new IdentityGcpAuthResource(http, as),\n azure: new IdentityAzureAuthResource(http, as),\n kubernetes: new IdentityKubernetesAuthResource(http, as),\n oidc: new IdentityOidcAuthResource(http, as),\n jwt: new IdentityJwtAuthResource(http, as),\n ldap: new IdentityLdapAuthResource(http, as),\n tlsCert: new IdentityTlsCertAuthResource(http, as),\n oci: new IdentityOciAuthResource(http, as),\n alicloud: new IdentityAlicloudAuthResource(http, as),\n };\n this.identityAuth = identityAuthResources;\n\n this._authManager = new AuthManager(this._authState, identityAuthResources);\n\n this.projects = new ProjectsResource(http, as);\n this.webhooks = new WebhooksResource(http, as);\n this.secretSharing = new SecretSharingResource(http, as);\n this.secrets = new SecretsResource(http, as);\n this.kms = new KmsResource(http, as);\n this.integrationAuth = new IntegrationAuthResource(http, as);\n this.appConnections = new AppConnectionsResource(http, as);\n this.secretSyncs = new SecretSyncsResource(http, as);\n this.admin = new AdminResource(http, as);\n this.orgAdmin = new OrgAdminResource(http, as);\n }\n\n async login(params: LoginParamsOrFactory): Promise<LoginResponse> {\n return this._authManager.login(params);\n }\n\n /**\n * Set a pre-existing identity access token directly (e.g., from external auth).\n * This bypasses the login flow and sets the token directly on the auth state.\n */\n setAccessToken(\n accessToken: string,\n expiresIn?: number,\n renewFn?: () => Promise<{ accessToken: string; expiresIn: number }>\n ): void {\n this._authState.setAuth(\n { mode: \"identityAccessToken\", accessToken },\n expiresIn\n );\n if (renewFn) {\n this._authState.setRenewFn(async () => {\n const result = await renewFn();\n return {\n auth: { mode: \"identityAccessToken\" as const, accessToken: result.accessToken },\n expiresIn: result.expiresIn,\n };\n });\n }\n }\n\n /**\n * Set a pre-existing JWT token directly (e.g., from bootstrap or user login).\n * Use this for admin operations that require JWT auth mode.\n */\n setJwtToken(\n token: string,\n expiresIn?: number,\n renewFn?: () => Promise<{ token: string; expiresIn: number }>\n ): void {\n this._authState.setAuth(\n { mode: \"jwt\", token },\n expiresIn\n );\n if (renewFn) {\n this._authState.setRenewFn(async () => {\n const result = await renewFn();\n return {\n auth: { mode: \"jwt\" as const, token: result.token },\n expiresIn: result.expiresIn,\n };\n });\n }\n }\n\n get isAuthenticated(): boolean {\n return this._authState.isAuthenticated;\n }\n\n get authMode(): AuthMode | null {\n return this._authState.mode as AuthMode | null;\n }\n\n logout(): void {\n this._authState.clearAuth();\n }\n}\n","import type { AuthConfig } from \"./types/auth\";\n\nexport interface LoginResponse {\n accessToken: string;\n expiresIn: number;\n accessTokenMaxTTL: number;\n tokenType: string;\n}\n\nexport interface RenewResult {\n auth: AuthConfig;\n expiresIn: number;\n}\n\nexport class AuthState {\n private _auth: AuthConfig | null = null;\n private _expiresAt: number | null = null;\n private _renewFn: (() => Promise<RenewResult>) | null = null;\n private _renewPromise: Promise<void> | null = null;\n\n setAuth(auth: AuthConfig, expiresIn?: number): void {\n this._auth = auth;\n this._expiresAt = expiresIn != null ? Date.now() + expiresIn * 1000 : null;\n }\n\n clearAuth(): void {\n this._auth = null;\n this._expiresAt = null;\n this._renewFn = null;\n this._renewPromise = null;\n }\n\n setRenewFn(fn: () => Promise<RenewResult>): void {\n this._renewFn = fn;\n }\n\n get current(): AuthConfig | null {\n return this._auth;\n }\n\n get isAuthenticated(): boolean {\n return this._auth !== null;\n }\n\n get mode(): AuthConfig[\"mode\"] | null {\n return this._auth?.mode ?? null;\n }\n\n get canRenew(): boolean {\n return this._renewFn !== null;\n }\n\n async forceRenew(): Promise<void> {\n if (!this._renewFn) return;\n\n if (this._renewPromise) {\n await this._renewPromise;\n return;\n }\n\n this._renewPromise = this._renew();\n try {\n await this._renewPromise;\n } finally {\n this._renewPromise = null;\n }\n }\n\n async ensureValid(): Promise<void> {\n if (!this._auth) return;\n if (this._expiresAt === null || this._renewFn === null) return;\n\n if (Date.now() >= this._expiresAt - 30_000) {\n if (this._renewPromise) {\n await this._renewPromise;\n return;\n }\n\n this._renewPromise = this._renew();\n try {\n await this._renewPromise;\n } finally {\n this._renewPromise = null;\n }\n }\n }\n\n private async _renew(): Promise<void> {\n const result = await this._renewFn!();\n this.setAuth(result.auth, result.expiresIn);\n }\n}\n","import type { AuthState, LoginResponse } from \"./auth-state\";\nimport type { IdentityUniversalAuthResource } from \"./resources/identity-universal-auth\";\nimport type { IdentityTokenAuthResource } from \"./resources/identity-token-auth\";\nimport type { IdentityAwsAuthResource } from \"./resources/identity-aws-auth\";\nimport type { IdentityGcpAuthResource } from \"./resources/identity-gcp-auth\";\nimport type { IdentityAzureAuthResource } from \"./resources/identity-azure-auth\";\nimport type { IdentityKubernetesAuthResource } from \"./resources/identity-kubernetes-auth\";\nimport type { IdentityOidcAuthResource } from \"./resources/identity-oidc-auth\";\nimport type { IdentityJwtAuthResource } from \"./resources/identity-jwt-auth\";\nimport type { IdentityLdapAuthResource } from \"./resources/identity-ldap-auth\";\nimport type { IdentityTlsCertAuthResource } from \"./resources/identity-tls-cert-auth\";\nimport type { IdentityOciAuthResource } from \"./resources/identity-oci-auth\";\nimport type { IdentityAlicloudAuthResource } from \"./resources/identity-alicloud-auth\";\nimport type { LoginUniversalAuthParams } from \"./types/identity-universal-auth\";\nimport type { LoginTokenAuthParams } from \"./types/identity-token-auth\";\nimport type { LoginAwsAuthParams } from \"./types/identity-aws-auth\";\nimport type { LoginGcpAuthParams } from \"./types/identity-gcp-auth\";\nimport type { LoginAzureAuthParams } from \"./types/identity-azure-auth\";\nimport type { LoginKubernetesAuthParams } from \"./types/identity-kubernetes-auth\";\nimport type { LoginOidcAuthParams } from \"./types/identity-oidc-auth\";\nimport type { LoginJwtAuthParams } from \"./types/identity-jwt-auth\";\nimport type { LoginLdapAuthParams } from \"./types/identity-ldap-auth\";\nimport type { LoginTlsCertAuthParams } from \"./types/identity-tls-cert-auth\";\nimport type { LoginOciAuthParams } from \"./types/identity-oci-auth\";\nimport type { LoginAlicloudAuthParams } from \"./types/identity-alicloud-auth\";\n\nexport type LoginParams =\n | { universalAuth: LoginUniversalAuthParams }\n | { tokenAuth: LoginTokenAuthParams }\n | { awsAuth: LoginAwsAuthParams }\n | { gcpAuth: LoginGcpAuthParams }\n | { azureAuth: LoginAzureAuthParams }\n | { kubernetesAuth: LoginKubernetesAuthParams }\n | { oidcAuth: LoginOidcAuthParams }\n | { jwtAuth: LoginJwtAuthParams }\n | { ldapAuth: LoginLdapAuthParams }\n | { tlsCertAuth: LoginTlsCertAuthParams }\n | { ociAuth: LoginOciAuthParams }\n | { alicloudAuth: LoginAlicloudAuthParams };\n\nexport type LoginParamsOrFactory = LoginParams | (() => Promise<LoginParams> | LoginParams);\n\nexport interface IdentityAuthResources {\n universal: IdentityUniversalAuthResource;\n token: IdentityTokenAuthResource;\n aws: IdentityAwsAuthResource;\n gcp: IdentityGcpAuthResource;\n azure: IdentityAzureAuthResource;\n kubernetes: IdentityKubernetesAuthResource;\n oidc: IdentityOidcAuthResource;\n jwt: IdentityJwtAuthResource;\n ldap: IdentityLdapAuthResource;\n tlsCert: IdentityTlsCertAuthResource;\n oci: IdentityOciAuthResource;\n alicloud: IdentityAlicloudAuthResource;\n}\n\nexport class AuthManager {\n private readonly authState: AuthState;\n private readonly resources: IdentityAuthResources;\n\n constructor(authState: AuthState, resources: IdentityAuthResources) {\n this.authState = authState;\n this.resources = resources;\n }\n\n async login(params: LoginParams | (() => Promise<LoginParams> | LoginParams)): Promise<LoginResponse> {\n const resolvedParams = typeof params === 'function' ? await params() : params;\n const loginFn = this.resolveLoginFn(resolvedParams);\n const response = await loginFn();\n this.authState.setAuth(\n { mode: \"identityAccessToken\", accessToken: response.accessToken },\n response.expiresIn\n );\n this.authState.setRenewFn(async () => {\n const renewParams = typeof params === 'function' ? await params() : params;\n const response = await this.resolveLoginFn(renewParams)();\n return {\n auth: { mode: \"identityAccessToken\" as const, accessToken: response.accessToken },\n expiresIn: response.expiresIn,\n };\n });\n return response;\n }\n\n private resolveLoginFn(params: LoginParams): () => Promise<LoginResponse> {\n if (\"universalAuth\" in params) {\n return () => this.resources.universal.login(params.universalAuth);\n }\n if (\"tokenAuth\" in params) {\n return () => this.resources.token.login(params.tokenAuth);\n }\n if (\"awsAuth\" in params) {\n return () => this.resources.aws.login(params.awsAuth);\n }\n if (\"gcpAuth\" in params) {\n return () => this.resources.gcp.login(params.gcpAuth);\n }\n if (\"azureAuth\" in params) {\n return () => this.resources.azure.login(params.azureAuth);\n }\n if (\"kubernetesAuth\" in params) {\n return () => this.resources.kubernetes.login(params.kubernetesAuth);\n }\n if (\"oidcAuth\" in params) {\n return () => this.resources.oidc.login(params.oidcAuth);\n }\n if (\"jwtAuth\" in params) {\n return () => this.resources.jwt.login(params.jwtAuth);\n }\n if (\"ldapAuth\" in params) {\n return () => this.resources.ldap.login(params.ldapAuth);\n }\n if (\"tlsCertAuth\" in params) {\n return () => this.resources.tlsCert.login(params.tlsCertAuth);\n }\n if (\"ociAuth\" in params) {\n return () => this.resources.oci.login(params.ociAuth);\n }\n if (\"alicloudAuth\" in params) {\n return () => this.resources.alicloud.login(params.alicloudAuth);\n }\n throw new Error(\"Invalid login params: no recognized auth method key\");\n }\n}\n","export type AuthMode = \"jwt\" | \"apiKey\" | \"serviceToken\" | \"identityAccessToken\";\n\nexport type ResourceCategory =\n | \"secrets\"\n | \"secretFolders\"\n | \"secretImports\"\n | \"projects\"\n | \"organizations\"\n | \"organizationIdentities\"\n | \"identities\"\n | \"identityAuth\"\n | \"identityAccessTokens\"\n | \"pki\"\n | \"kms\"\n | \"secretTags\"\n | \"appConnections\"\n | \"secretSyncs\"\n | \"integrationAuth\"\n | \"admin\"\n | \"orgAdmin\"\n | \"secretSharing\"\n | \"webhooks\"\n | \"users\"\n | \"mfa\"\n | \"mfaSessions\"\n | \"serviceTokens\"\n | \"password\";\n\nexport const RESOURCE_AUTH_MODES: Record<ResourceCategory, readonly AuthMode[]> = {\n secrets: [\"jwt\", \"serviceToken\", \"identityAccessToken\"],\n secretFolders: [\"jwt\", \"serviceToken\", \"identityAccessToken\"],\n secretImports: [\"jwt\", \"serviceToken\", \"identityAccessToken\"],\n projects: [\"jwt\", \"identityAccessToken\"],\n organizations: [\"jwt\", \"identityAccessToken\"],\n organizationIdentities: [\"jwt\", \"identityAccessToken\"],\n identities: [\"jwt\", \"identityAccessToken\"],\n identityAuth: [\"jwt\", \"identityAccessToken\"],\n identityAccessTokens: [\"jwt\", \"identityAccessToken\"],\n pki: [\"jwt\", \"identityAccessToken\"],\n kms: [\"jwt\", \"identityAccessToken\"],\n secretTags: [\"jwt\", \"identityAccessToken\"],\n appConnections: [\"jwt\", \"identityAccessToken\"],\n secretSyncs: [\"jwt\", \"identityAccessToken\"],\n integrationAuth: [\"jwt\", \"identityAccessToken\"],\n admin: [\"jwt\"],\n orgAdmin: [\"jwt\"],\n secretSharing: [\"jwt\"],\n webhooks: [\"jwt\"],\n users: [\"jwt\"],\n mfa: [\"jwt\"],\n mfaSessions: [\"jwt\"],\n serviceTokens: [\"jwt\"],\n password: [\"jwt\"],\n} as const;\n","import type { HttpClient } from \"../http\";\nimport type { AuthState } from \"../auth-state\";\nimport type { ResourceCategory } from \"../types/auth-modes\";\nimport { RESOURCE_AUTH_MODES } from \"../types/auth-modes\";\nimport { AuthenticationError } from \"../errors\";\n\nexport abstract class BaseResource {\n protected readonly http: HttpClient;\n protected readonly authState: AuthState;\n private readonly authCategory: ResourceCategory;\n\n constructor(http: HttpClient, authState: AuthState, authCategory: ResourceCategory) {\n this.http = http;\n this.authState = authState;\n this.authCategory = authCategory;\n }\n\n protected requireAuth(): void {\n const mode = this.authState.mode;\n if (!mode) {\n throw new AuthenticationError(\n \"Not authenticated. Call client.login() first.\",\n { currentMode: null, allowedModes: RESOURCE_AUTH_MODES[this.authCategory] }\n );\n }\n const allowed = RESOURCE_AUTH_MODES[this.authCategory];\n if (!allowed.includes(mode)) {\n throw new AuthenticationError(\n `Auth mode \"${mode}\" is not allowed for ${this.authCategory}. Allowed modes: ${allowed.join(\", \")}`,\n { currentMode: mode, allowedModes: allowed }\n );\n }\n }\n}\n","import { BaseResource } from \"./base\";\nimport type {\n ResendMfaTokenResponse,\n CheckTotpResponse,\n CheckWebAuthnResponse,\n VerifyMfaParams,\n VerifyMfaResponse,\n VerifyMfaRecoveryCodeParams,\n} from \"../types/mfa\";\nimport type { HttpClient } from \"../http\";\nimport type { AuthState } from \"../auth-state\";\n\nexport class MfaResource extends BaseResource {\n constructor(http: HttpClient, authState: AuthState) {\n super(http, authState, \"mfa\");\n }\n async resendToken(): Promise<ResendMfaTokenResponse> {\n this.requireAuth();\n return this.http.post<ResendMfaTokenResponse>(\"/auth/mfa/send\");\n }\n\n async checkTotp(): Promise<CheckTotpResponse> {\n this.requireAuth();\n return this.http.get<CheckTotpResponse>(\"/auth/mfa/check/totp\");\n }\n\n async checkWebAuthn(): Promise<CheckWebAuthnResponse> {\n this.requireAuth();\n return this.http.get<CheckWebAuthnResponse>(\"/auth/mfa/check/webauthn\");\n }\n\n async verify(params: VerifyMfaParams): Promise<VerifyMfaResponse> {\n this.requireAuth();\n return this.http.post<VerifyMfaResponse>(\"/auth/mfa/verify\", params);\n }\n\n async verifyRecoveryCode(\n params: VerifyMfaRecoveryCodeParams\n ): Promise<VerifyMfaResponse> {\n this.requireAuth();\n return this.http.post<VerifyMfaResponse>(\n \"/auth/mfa/verify/recovery-code\",\n params\n );\n }\n}\n","import { BaseResource } from \"./base\";\nimport type {\n VerifyMfaSessionParams,\n VerifyMfaSessionResponse,\n GetMfaSessionStatusParams,\n GetMfaSessionStatusResponse,\n} from \"../types/mfa-sessions\";\nimport type { HttpClient } from \"../http\";\nimport type { AuthState } from \"../auth-state\";\n\nexport class MfaSessionsResource extends BaseResource {\n constructor(http: HttpClient, authState: AuthState) {\n super(http, authState, \"mfaSessions\");\n }\n async verify(params: VerifyMfaSessionParams): Promise<VerifyMfaSessionResponse> {\n this.requireAuth();\n const { mfaSessionId, ...body } = params;\n return this.http.post<VerifyMfaSessionResponse>(\n `/mfa-sessions/${encodeURIComponent(mfaSessionId)}/verify`,\n body\n );\n }\n\n async getStatus(params: GetMfaSessionStatusParams): Promise<GetMfaSessionStatusResponse> {\n this.requireAuth();\n return this.http.get<GetMfaSessionStatusResponse>(\n `/mfa-sessions/${encodeURIComponent(params.mfaSessionId)}/status`\n );\n }\n}\n","import { BaseResource } from \"./base\";\nimport type {\n SendEmailVerificationCodeParams,\n VerifyEmailVerificationCodeParams,\n UpdateMfaParams,\n UpdateMfaResponse,\n UpdateNameParams,\n UpdateNameResponse,\n UpdateAuthMethodsParams,\n UpdateAuthMethodsResponse,\n RequestEmailChangeOtpParams,\n RequestEmailChangeOtpResponse,\n UpdateEmailParams,\n UpdateEmailResponse,\n ListOrganizationsResponse,\n ApiKey,\n CreateApiKeyParams,\n CreateApiKeyResponse,\n DeleteApiKeyResponse,\n AuthTokenSession,\n RevokeAllSessionsResponse,\n RevokeSessionResponse,\n GetMeResponse,\n DeleteMeResponse,\n} from \"../types/users\";\nimport type { HttpClient } from \"../http\";\nimport type { AuthState } from \"../auth-state\";\n\nexport class UsersResource extends BaseResource {\n constructor(http: HttpClient, authState: AuthState) {\n super(http, authState, \"users\");\n }\n async sendEmailVerificationCode(\n params: SendEmailVerificationCodeParams\n ): Promise<void> {\n this.requireAuth();\n await this.http.post(\"/users/me/emails/code\", params);\n }\n\n async verifyEmailVerificationCode(\n params: VerifyEmailVerificationCodeParams\n ): Promise<void> {\n this.requireAuth();\n await this.http.post(\"/users/me/emails/verify\", params);\n }\n\n async updateMfa(params: UpdateMfaParams): Promise<UpdateMfaResponse> {\n this.requireAuth();\n return this.http.patch<UpdateMfaResponse>(\"/users/me/mfa\", params);\n }\n\n async updateName(params: UpdateNameParams): Promise<UpdateNameResponse> {\n this.requireAuth();\n return this.http.patch<UpdateNameResponse>(\"/users/me/name\", params);\n }\n\n async updateAuthMethods(\n params: UpdateAuthMethodsParams\n ): Promise<UpdateAuthMethodsResponse> {\n this.requireAuth();\n return this.http.put<UpdateAuthMethodsResponse>(\n \"/users/me/auth-methods\",\n params\n );\n }\n\n async requestEmailChangeOtp(\n params: RequestEmailChangeOtpParams\n ): Promise<RequestEmailChangeOtpResponse> {\n this.requireAuth();\n return this.http.post<RequestEmailChangeOtpResponse>(\n \"/users/me/email-change/otp\",\n params\n );\n }\n\n async updateEmail(params: UpdateEmailParams): Promise<UpdateEmailResponse> {\n this.requireAuth();\n return this.http.patch<UpdateEmailResponse>(\"/users/me/email\", params);\n }\n\n async listOrganizations(): Promise<ListOrganizationsResponse> {\n this.requireAuth();\n return this.http.get<ListOrganizationsResponse>(\n \"/users/me/organizations\"\n );\n }\n\n async listApiKeys(): Promise<ApiKey[]> {\n this.requireAuth();\n return this.http.get<ApiKey[]>(\"/users/me/api-keys\");\n }\n\n async createApiKey(\n params: CreateApiKeyParams\n ): Promise<CreateApiKeyResponse> {\n this.requireAuth();\n return this.http.post<CreateApiKeyResponse>(\"/users/me/api-keys\", params);\n }\n\n async deleteApiKey(apiKeyDataId: string): Promise<DeleteApiKeyResponse> {\n this.requireAuth();\n return this.http.delete<DeleteApiKeyResponse>(\n `/users/me/api-keys/${encodeURIComponent(apiKeyDataId)}`\n );\n }\n\n async listSessions(): Promise<AuthTokenSession[]> {\n this.requireAuth();\n return this.http.get<AuthTokenSession[]>(\"/users/me/sessions\");\n }\n\n async revokeAllSessions(): Promise<RevokeAllSessionsResponse> {\n this.requireAuth();\n return this.http.delete<RevokeAllSessionsResponse>(\"/users/me/sessions\");\n }\n\n async revokeSession(sessionId: string): Promise<RevokeSessionResponse> {\n this.requireAuth();\n return this.http.delete<RevokeSessionResponse>(\n `/users/me/sessions/${encodeURIComponent(sessionId)}`\n );\n }\n\n async getMe(): Promise<GetMeResponse> {\n this.requireAuth();\n return this.http.get<GetMeResponse>(\"/users/me\");\n }\n\n async deleteMe(): Promise<DeleteMeResponse> {\n this.requireAuth();\n return this.http.delete<DeleteMeResponse>(\"/users/me\");\n }\n}\n","import { BaseResource } from \"./base\";\nimport type {\n ResetPasswordParams,\n ResetPasswordAuthenticatedParams,\n} from \"../types/password\";\nimport type { HttpClient } from \"../http\";\nimport type { AuthState } from \"../auth-state\";\n\nexport class PasswordResource extends BaseResource {\n constructor(http: HttpClient, authState: AuthState) {\n super(http, authState, \"password\");\n }\n async reset(params: ResetPasswordParams): Promise<void> {\n this.requireAuth();\n await this.http.post(\"/password/password-reset\", params);\n }\n\n async resetAuthenticated(\n params: ResetPasswordAuthenticatedParams\n ): Promise<void> {\n this.requireAuth();\n await this.http.post(\"/password/user/password-reset\", params);\n }\n}\n","import { BaseResource } from \"./base\";\nimport type {\n GetServiceTokenResponse,\n CreateServiceTokenParams,\n CreateServiceTokenResponse,\n DeleteServiceTokenResponse,\n} from \"../types/service-tokens\";\nimport type { HttpClient } from \"../http\";\nimport type { AuthState } from \"../auth-state\";\n\nexport class ServiceTokensResource extends BaseResource {\n constructor(http: HttpClient, authState: AuthState) {\n super(http, authState, \"serviceTokens\");\n }\n\n async get(): Promise<GetServiceTokenResponse> {\n this.requireAuth();\n return this.http.get<GetServiceTokenResponse>(\"/service-token\");\n }\n\n async create(\n params: CreateServiceTokenParams\n ): Promise<CreateServiceTokenResponse> {\n this.requireAuth();\n return this.http.post<CreateServiceTokenResponse>(\n \"/service-token\",\n params\n );\n }\n\n async delete(serviceTokenId: string): Promise<DeleteServiceTokenResponse> {\n this.requireAuth();\n return this.http.delete<DeleteServiceTokenResponse>(\n `/service-token/${encodeURIComponent(serviceTokenId)}`\n );\n }\n}\n","import { BaseResource } from \"./base\";\nimport type { HttpClient } from \"../http\";\nimport type { AuthState } from \"../auth-state\";\nimport type { ListOrganizationsResponse } from \"../types/users\";\nimport type {\n ListMembershipsParams,\n ListMembershipsResponse,\n ListOrgProjectsParams,\n ListOrgProjectsResponse,\n GetMembershipParams,\n GetMembershipResponse,\n UpdateMembershipParams,\n UpdateMembershipResponse,\n DeleteMembershipParams,\n DeleteMembershipResponse,\n BulkDeleteMembershipsParams,\n BulkDeleteMembershipsResponse,\n ListProjectMembershipsByOrgMembershipParams,\n ListProjectMembershipsByOrgMembershipResponse,\n CreateOrganizationParams,\n CreateOrganizationResponse,\n DeleteOrganizationParams,\n DeleteOrganizationResponse,\n UpgradePrivilegeSystemResponse,\n} from \"../types/organizations\";\n\nexport class OrganizationsResource extends BaseResource {\n constructor(http: HttpClient, authState: AuthState) {\n super(http, authState, \"organizations\");\n }\n\n async list(): Promise<ListOrganizationsResponse> {\n this.requireAuth();\n return this.http.get<ListOrganizationsResponse>(\"/api/v1/organization\");\n }\n\n async listMemberships(\n params: ListMembershipsParams\n ): Promise<ListMembershipsResponse> {\n this.requireAuth();\n return this.http.get<ListMembershipsResponse>(\n `/organizations/${encodeURIComponent(params.orgId)}/memberships`\n );\n }\n\n async listProjects(\n params: ListOrgProjectsParams\n ): Promise<ListOrgProjectsResponse> {\n this.requireAuth();\n return this.http.get<ListOrgProjectsResponse>(\n `/organizations/${encodeURIComponent(params.orgId)}/workspaces`\n );\n }\n\n async getMembership(\n params: GetMembershipParams\n ): Promise<GetMembershipResponse> {\n this.requireAuth();\n return this.http.get<GetMembershipResponse>(\n `/organizations/${encodeURIComponent(params.orgId)}/memberships/${encodeURIComponent(params.membershipId)}`\n );\n }\n\n async updateMembership(\n params: UpdateMembershipParams\n ): Promise<UpdateMembershipResponse> {\n this.requireAuth();\n const { orgId, membershipId, ...body } = params;\n return this.http.patch<UpdateMembershipResponse>(\n `/organizations/${encodeURIComponent(orgId)}/memberships/${encodeURIComponent(membershipId)}`,\n body\n );\n }\n\n async deleteMembership(\n params: DeleteMembershipParams\n ): Promise<DeleteMembershipResponse> {\n this.requireAuth();\n return this.http.delete<DeleteMembershipResponse>(\n `/organizations/${encodeURIComponent(params.orgId)}/memberships/${encodeURIComponent(params.membershipId)}`\n );\n }\n\n async bulkDeleteMemberships(\n params: BulkDeleteMembershipsParams\n ): Promise<BulkDeleteMembershipsResponse> {\n this.requireAuth();\n const { orgId, ...body } = params;\n return this.http.delete<BulkDeleteMembershipsResponse>(\n `/organizations/${encodeURIComponent(orgId)}/memberships`,\n body\n );\n }\n\n async listProjectMembershipsByOrgMembership(\n params: ListProjectMembershipsByOrgMembershipParams\n ): Promise<ListProjectMembershipsByOrgMembershipResponse> {\n this.requireAuth();\n return this.http.get<ListProjectMembershipsByOrgMembershipResponse>(\n `/organizations/${encodeURIComponent(params.orgId)}/memberships/${encodeURIComponent(params.membershipId)}/project-memberships`\n );\n }\n\n async create(\n params: CreateOrganizationParams\n ): Promise<CreateOrganizationResponse> {\n this.requireAuth();\n return this.http.post<CreateOrganizationResponse>(\n \"/organizations\",\n params\n );\n }\n\n async delete(\n params: DeleteOrganizationParams\n ): Promise<DeleteOrganizationResponse> {\n this.requireAuth();\n return this.http.delete<DeleteOrganizationResponse>(\n `/organizations/${encodeURIComponent(params.orgId)}`\n );\n }\n\n async upgradePrivilegeSystem(): Promise<UpgradePrivilegeSystemResponse> {\n this.requireAuth();\n return this.http.post<UpgradePrivilegeSystemResponse>(\n \"/organizations/privilege-system-upgrade\"\n );\n }\n}\n","import { BaseResource } from \"./base\";\nimport type {\n ListIdentityMembershipsParams,\n ListIdentityMembershipsResponse,\n} from \"../types/organization-identities\";\nimport type { HttpClient } from \"../http\";\nimport type { AuthState } from \"../auth-state\";\n\nexport class OrganizationIdentitiesResource extends BaseResource {\n constructor(http: HttpClient, authState: AuthState) {\n super(http, authState, \"organizationIdentities\");\n }\n\n async list(\n params: ListIdentityMembershipsParams\n ): Promise<ListIdentityMembershipsResponse> {\n this.requireAuth();\n const { orgId, ...query } = params;\n return this.http.get<ListIdentityMembershipsResponse>(\n `/organizations/${encodeURIComponent(orgId)}/identity-memberships`,\n { ...query } as Record<string, unknown>\n );\n }\n}\n","import { BaseResource } from \"./base\";\nimport type { HttpClient } from \"../http\";\nimport type { AuthState } from \"../auth-state\";\nimport type {\n CreateSecretFolderParams,\n CreateSecretFolderResponse,\n UpdateSecretFolderParams,\n UpdateSecretFolderResponse,\n UpdateSecretFolderBatchParams,\n UpdateSecretFolderBatchResponse,\n DeleteSecretFolderParams,\n DeleteSecretFolderResponse,\n ListSecretFoldersParams,\n ListSecretFoldersResponse,\n GetSecretFolderByIdParams,\n GetSecretFolderByIdResponse,\n} from \"../types/secret-folders\";\n\nexport class SecretFoldersResource extends BaseResource {\n constructor(http: HttpClient, authState: AuthState) {\n super(http, authState, \"secretFolders\");\n }\n async create(\n params: CreateSecretFolderParams\n ): Promise<CreateSecretFolderResponse> {\n this.requireAuth();\n return this.http.post<CreateSecretFolderResponse>(\"/folders\", params);\n }\n\n async update(\n params: UpdateSecretFolderParams\n ): Promise<UpdateSecretFolderResponse> {\n this.requireAuth();\n const { folderId, ...body } = params;\n return this.http.patch<UpdateSecretFolderResponse>(\n `/folders/${encodeURIComponent(folderId)}`,\n body\n );\n }\n\n async updateBatch(\n params: UpdateSecretFolderBatchParams\n ): Promise<UpdateSecretFolderBatchResponse> {\n this.requireAuth();\n return this.http.patch<UpdateSecretFolderBatchResponse>(\n \"/folders/batch\",\n params\n );\n }\n\n async delete(\n params: DeleteSecretFolderParams\n ): Promise<DeleteSecretFolderResponse> {\n this.requireAuth();\n const { folderIdOrName, ...body } = params;\n return this.http.delete<DeleteSecretFolderResponse>(\n `/folders/${encodeURIComponent(folderIdOrName)}`,\n body\n );\n }\n\n async list(\n params: ListSecretFoldersParams\n ): Promise<ListSecretFoldersResponse> {\n this.requireAuth();\n return this.http.get<ListSecretFoldersResponse>(\n \"/folders\",\n { ...params } as Record<string, unknown>\n );\n }\n\n async getById(\n params: GetSecretFolderByIdParams\n ): Promise<GetSecretFolderByIdResponse> {\n this.requireAuth();\n return this.http.get<GetSecretFolderByIdResponse>(\n `/folders/${encodeURIComponent(params.id)}`\n );\n }\n}\n","import { BaseResource } from \"./base\";\nimport type { HttpClient } from \"../http\";\nimport type { AuthState } from \"../auth-state\";\nimport type {\n CreateSecretImportParams,\n CreateSecretImportResponse,\n UpdateSecretImportParams,\n UpdateSecretImportResponse,\n DeleteSecretImportParams,\n DeleteSecretImportResponse,\n ResyncReplicationParams,\n ResyncReplicationResponse,\n ListSecretImportsParams,\n ListSecretImportsResponse,\n GetSecretImportParams,\n GetSecretImportResponse,\n GetRawSecretsFromImportsParams,\n GetRawSecretsFromImportsResponse,\n} from \"../types/secret-imports\";\n\nexport class SecretImportsResource extends BaseResource {\n constructor(http: HttpClient, authState: AuthState) {\n super(http, authState, \"secretImports\");\n }\n async create(\n params: CreateSecretImportParams\n ): Promise<CreateSecretImportResponse> {\n this.requireAuth();\n return this.http.post<CreateSecretImportResponse>(\n \"/secret-imports\",\n params\n );\n }\n\n async update(\n params: UpdateSecretImportParams\n ): Promise<UpdateSecretImportResponse> {\n this.requireAuth();\n const { secretImportId, ...body } = params;\n return this.http.patch<UpdateSecretImportResponse>(\n `/secret-imports/${encodeURIComponent(secretImportId)}`,\n body\n );\n }\n\n async delete(\n params: DeleteSecretImportParams\n ): Promise<DeleteSecretImportResponse> {\n this.requireAuth();\n const { secretImportId, ...body } = params;\n return this.http.delete<DeleteSecretImportResponse>(\n `/secret-imports/${encodeURIComponent(secretImportId)}`,\n body\n );\n }\n\n async resyncReplication(\n params: ResyncReplicationParams\n ): Promise<ResyncReplicationResponse> {\n this.requireAuth();\n const { secretImportId, ...body } = params;\n return this.http.post<ResyncReplicationResponse>(\n `/secret-imports/${encodeURIComponent(secretImportId)}/replication-resync`,\n body\n );\n }\n\n async list(\n params: ListSecretImportsParams\n ): Promise<ListSecretImportsResponse> {\n this.requireAuth();\n return this.http.get<ListSecretImportsResponse>(\n \"/secret-imports\",\n { ...params } as Record<string, unknown>\n );\n }\n\n async get(\n params: GetSecretImportParams\n ): Promise<GetSecretImportResponse> {\n this.requireAuth();\n return this.http.get<GetSecretImportResponse>(\n `/secret-imports/${encodeURIComponent(params.secretImportId)}`\n );\n }\n\n async getRawSecrets(\n params: GetRawSecretsFromImportsParams\n ): Promise<GetRawSecretsFromImportsResponse> {\n this.requireAuth();\n return this.http.get<GetRawSecretsFromImportsResponse>(\n \"/secret-imports/secrets\",\n { ...params } as Record<string, unknown>\n );\n }\n}\n","import { BaseResource } from \"./base\";\nimport type {\n ListCertificateAuthoritiesParams,\n ListCertificateAuthoritiesResponse,\n GetCaParams,\n GetCaResponse,\n CreateCaParams,\n CreateCaResponse,\n UpdateCaParams,\n UpdateCaResponse,\n DeleteCaParams,\n DeleteCaResponse,\n GetCaCsrParams,\n GetCaCsrResponse,\n GetCaCertificateParams,\n GetCaCertificateResponse,\n ListCaCertificatesParams,\n ListCaCertificatesResponse,\n GetCaCrlsParams,\n GetCaCrlsResponse,\n RenewCaParams,\n RenewCaResponse,\n SignIntermediateCaParams,\n SignIntermediateCaResponse,\n} from \"../types/pki-ca\";\nimport type { HttpClient } from \"../http\";\nimport type { AuthState } from \"../auth-state\";\n\nexport class PkiCaResource extends BaseResource {\n constructor(http: HttpClient, authState: AuthState) {\n super(http, authState, \"pki\");\n }\n\n async list(\n params: ListCertificateAuthoritiesParams\n ): Promise<ListCertificateAuthoritiesResponse> {\n this.requireAuth();\n return this.http.get<ListCertificateAuthoritiesResponse>(\n \"/pki/ca\",\n { ...params } as Record<string, unknown>\n );\n }\n\n async get(params: GetCaParams): Promise<GetCaResponse> {\n this.requireAuth();\n return this.http.get<GetCaResponse>(\n `/api/v1/pki/ca/${encodeURIComponent(params.caId)}`\n );\n }\n\n async create(params: CreateCaParams): Promise<CreateCaResponse> {\n this.requireAuth();\n return this.http.post<CreateCaResponse>(\n \"/api/v1/pki/ca\",\n params\n );\n }\n\n async update(params: UpdateCaParams): Promise<UpdateCaResponse> {\n this.requireAuth();\n const { caId, ...body } = params;\n return this.http.patch<UpdateCaResponse>(\n `/api/v1/pki/ca/${encodeURIComponent(caId)}`,\n body\n );\n }\n\n async delete(params: DeleteCaParams): Promise<DeleteCaResponse> {\n this.requireAuth();\n return this.http.delete<DeleteCaResponse>(\n `/api/v1/pki/ca/${encodeURIComponent(params.caId)}`\n );\n }\n\n async getCsr(params: GetCaCsrParams): Promise<GetCaCsrResponse> {\n this.requireAuth();\n return this.http.get<GetCaCsrResponse>(\n `/api/v1/pki/ca/${encodeURIComponent(params.caId)}/csr`\n );\n }\n\n async getCertificate(params: GetCaCertificateParams): Promise<GetCaCertificateResponse> {\n this.requireAuth();\n return this.http.get<GetCaCertificateResponse>(\n `/api/v1/pki/ca/${encodeURIComponent(params.caId)}/certificate`\n );\n }\n\n async listCertificates(params: ListCaCertificatesParams): Promise<ListCaCertificatesResponse> {\n this.requireAuth();\n return this.http.get<ListCaCertificatesResponse>(\n `/api/v1/pki/ca/${encodeURIComponent(params.caId)}/ca-certificates`\n );\n }\n\n async getCrls(params: GetCaCrlsParams): Promise<GetCaCrlsResponse> {\n this.requireAuth();\n return this.http.get<GetCaCrlsResponse>(\n `/api/v1/pki/ca/${encodeURIComponent(params.caId)}/crls`\n );\n }\n\n async renew(params: RenewCaParams): Promise<RenewCaResponse> {\n this.requireAuth();\n const { caId, ...body } = params;\n return this.http.post<RenewCaResponse>(\n `/api/v1/pki/ca/${encodeURIComponent(caId)}/renew`,\n body\n );\n }\n\n async signIntermediate(params: SignIntermediateCaParams): Promise<SignIntermediateCaResponse> {\n this.requireAuth();\n const { caId, ...body } = params;\n return this.http.post<SignIntermediateCaResponse>(\n `/api/v1/pki/ca/${encodeURIComponent(caId)}/sign-intermediate`,\n body\n );\n }\n}\n","import { BaseResource } from \"./base\";\nimport type {\n CreatePkiTemplateParams,\n CreatePkiTemplateResponse,\n UpdatePkiTemplateParams,\n UpdatePkiTemplateResponse,\n DeletePkiTemplateParams,\n DeletePkiTemplateResponse,\n GetPkiTemplateParams,\n GetPkiTemplateResponse,\n ListPkiTemplatesParams,\n ListPkiTemplatesResponse,\n IssueCertificateParams,\n IssueCertificateResponse,\n SignCertificateParams,\n SignCertificateResponse,\n} from \"../types/pki-templates\";\nimport type { HttpClient } from \"../http\";\nimport type { AuthState } from \"../auth-state\";\n\nexport class PkiTemplatesResource extends BaseResource {\n constructor(http: HttpClient, authState: AuthState) {\n super(http, authState, \"pki\");\n }\n\n async create(\n params: CreatePkiTemplateParams\n ): Promise<CreatePkiTemplateResponse> {\n this.requireAuth();\n return this.http.post<CreatePkiTemplateResponse>(\n \"/pki/certificate-templates\",\n params\n );\n }\n\n async update(\n params: UpdatePkiTemplateParams\n ): Promise<UpdatePkiTemplateResponse> {\n this.requireAuth();\n const { templateName, ...body } = params;\n return this.http.patch<UpdatePkiTemplateResponse>(\n `/pki/certificate-templates/${encodeURIComponent(templateName)}`,\n body\n );\n }\n\n async delete(\n params: DeletePkiTemplateParams\n ): Promise<DeletePkiTemplateResponse> {\n this.requireAuth();\n const { templateName, ...body } = params;\n return this.http.delete<DeletePkiTemplateResponse>(\n `/pki/certificate-templates/${encodeURIComponent(templateName)}`,\n body\n );\n }\n\n async get(\n params: GetPkiTemplateParams\n ): Promise<GetPkiTemplateResponse> {\n this.requireAuth();\n const { templateName, ...query } = params;\n return this.http.get<GetPkiTemplateResponse>(\n `/pki/certificate-templates/${encodeURIComponent(templateName)}`,\n { ...query } as Record<string, unknown>\n );\n }\n\n async list(\n params: ListPkiTemplatesParams\n ): Promise<ListPkiTemplatesResponse> {\n this.requireAuth();\n return this.http.get<ListPkiTemplatesResponse>(\n \"/pki/certificate-templates\",\n { ...params } as Record<string, unknown>\n );\n }\n\n async issueCertificate(\n params: IssueCertificateParams\n ): Promise<IssueCertificateResponse> {\n this.requireAuth();\n const { templateName, ...body } = params;\n return this.http.post<IssueCertificateResponse>(\n `/pki/certificate-templates/${encodeURIComponent(templateName)}/issue-certificate`,\n body\n );\n }\n\n async signCertificate(\n params: SignCertificateParams\n ): Promise<SignCertificateResponse> {\n this.requireAuth();\n const { templateName, ...body } = params;\n return this.http.post<SignCertificateResponse>(\n `/pki/certificate-templates/${encodeURIComponent(templateName)}/sign-certificate`,\n body\n );\n }\n}\n","import { BaseResource } from \"./base\";\nimport type {\n CreatePkiAlertParams,\n CreatePkiAlertResponse,\n ListPkiAlertsParams,\n ListPkiAlertsResponse,\n GetPkiAlertParams,\n GetPkiAlertResponse,\n UpdatePkiAlertParams,\n UpdatePkiAlertResponse,\n DeletePkiAlertParams,\n DeletePkiAlertResponse,\n ListPkiAlertCertificatesParams,\n ListPkiAlertCertificatesResponse,\n PreviewPkiAlertCertificatesParams,\n PreviewPkiAlertCertificatesResponse,\n} from \"../types/pki-alerts\";\nimport type { HttpClient } from \"../http\";\nimport type { AuthState } from \"../auth-state\";\n\nexport class PkiAlertsResource extends BaseResource {\n constructor(http: HttpClient, authState: AuthState) {\n super(http, authState, \"pki\");\n }\n\n async create(\n params: CreatePkiAlertParams\n ): Promise<CreatePkiAlertResponse> {\n this.requireAuth();\n return this.http.post<CreatePkiAlertResponse>(\"/pki/alerts\", params);\n }\n\n async list(\n params: ListPkiAlertsParams\n ): Promise<ListPkiAlertsResponse> {\n this.requireAuth();\n return this.http.get<ListPkiAlertsResponse>(\n \"/pki/alerts\",\n { ...params } as Record<string, unknown>\n );\n }\n\n async get(params: GetPkiAlertParams): Promise<GetPkiAlertResponse> {\n this.requireAuth();\n return this.http.get<GetPkiAlertResponse>(\n `/pki/alerts/${encodeURIComponent(params.alertId)}`\n );\n }\n\n async update(\n params: UpdatePkiAlertParams\n ): Promise<UpdatePkiAlertResponse> {\n this.requireAuth();\n const { alertId, ...body } = params;\n return this.http.patch<UpdatePkiAlertResponse>(\n `/pki/alerts/${encodeURIComponent(alertId)}`,\n body\n );\n }\n\n async delete(\n params: DeletePkiAlertParams\n ): Promise<DeletePkiAlertResponse> {\n this.requireAuth();\n return this.http.delete<DeletePkiAlertResponse>(\n `/pki/alerts/${encodeURIComponent(params.alertId)}`\n );\n }\n\n async listCertificates(\n params: ListPkiAlertCertificatesParams\n ): Promise<ListPkiAlertCertificatesResponse> {\n this.requireAuth();\n const { alertId, ...query } = params;\n return this.http.get<ListPkiAlertCertificatesResponse>(\n `/pki/alerts/${encodeURIComponent(alertId)}/certificates`,\n { ...query } as Record<string, unknown>\n );\n }\n\n async previewCertificates(\n params: PreviewPkiAlertCertificatesParams\n ): Promise<PreviewPkiAlertCertificatesResponse> {\n this.requireAuth();\n return this.http.post<PreviewPkiAlertCertificatesResponse>(\n \"/pki/alerts/preview/certificates\",\n params\n );\n }\n}\n","import { BaseResource } from \"./base\";\nimport type {\n CreateCertificateParams,\n CreateCertificateResponse,\n GetCertificateParams,\n GetCertificateResponse,\n GetCertificateBodyParams,\n GetCertificateBodyResponse,\n GetCertificateBundleParams,\n GetCertificateBundleResponse,\n GetCertificatePrivateKeyParams,\n GetCertificatePrivateKeyResponse,\n RenewCertificateParams,\n RenewCertificateResponse,\n RevokeCertificateParams,\n RevokeCertificateResponse,\n DeleteCertificateParams,\n DeleteCertificateResponse,\n UpdateCertificateConfigParams,\n UpdateCertificateConfigResponse,\n} from \"../types/pki-certificates\";\nimport type { HttpClient } from \"../http\";\nimport type { AuthState } from \"../auth-state\";\n\nexport class PkiCertificatesResource extends BaseResource {\n constructor(http: HttpClient, authState: AuthState) {\n super(http, authState, \"pki\");\n }\n\n async create(params: CreateCertificateParams): Promise<CreateCertificateResponse> {\n this.requireAuth();\n return this.http.post<CreateCertificateResponse>(\n \"/api/v1/pki/certificates\",\n params\n );\n }\n\n async get(params: GetCertificateParams): Promise<GetCertificateResponse> {\n this.requireAuth();\n return this.http.get<GetCertificateResponse>(\n `/api/v1/pki/certificates/${encodeURIComponent(params.certificateId)}`\n );\n }\n\n async getBody(params: GetCertificateBodyParams): Promise<GetCertificateBodyResponse> {\n this.requireAuth();\n return this.http.get<GetCertificateBodyResponse>(\n `/api/v1/pki/certificates/${encodeURIComponent(params.certificateId)}/certificate`\n );\n }\n\n async getBundle(params: GetCertificateBundleParams): Promise<GetCertificateBundleResponse> {\n this.requireAuth();\n return this.http.get<GetCertificateBundleResponse>(\n `/api/v1/pki/certificates/${encodeURIComponent(params.certificateId)}/bundle`\n );\n }\n\n async getPrivateKey(params: GetCertificatePrivateKeyParams): Promise<GetCertificatePrivateKeyResponse> {\n this.requireAuth();\n return this.http.get<GetCertificatePrivateKeyResponse>(\n `/api/v1/pki/certificates/${encodeURIComponent(params.certificateId)}/private-key`\n );\n }\n\n async renew(params: RenewCertificateParams): Promise<RenewCertificateResponse> {\n this.requireAuth();\n const { certificateId, ...body } = params;\n return this.http.post<RenewCertificateResponse>(\n `/api/v1/pki/certificates/${encodeURIComponent(certificateId)}/renew`,\n body\n );\n }\n\n async revoke(params: RevokeCertificateParams): Promise<RevokeCertificateResponse> {\n this.requireAuth();\n const { certificateId, ...body } = params;\n return this.http.post<RevokeCertificateResponse>(\n `/api/v1/pki/certificates/${encodeURIComponent(certificateId)}/revoke`,\n body\n );\n }\n\n async delete(params: DeleteCertificateParams): Promise<DeleteCertificateResponse> {\n this.requireAuth();\n return this.http.delete<DeleteCertificateResponse>(\n `/api/v1/pki/certificates/${encodeURIComponent(params.certificateId)}`\n );\n }\n\n async updateConfig(params: UpdateCertificateConfigParams): Promise<UpdateCertificateConfigResponse> {\n this.requireAuth();\n const { certificateId, ...body } = params;\n return this.http.patch<UpdateCertificateConfigResponse>(\n `/api/v1/pki/certificates/${encodeURIComponent(certificateId)}/config`,\n body\n );\n }\n}\n","import { BaseResource } from \"./base\";\nimport type { HttpClient } from \"../http\";\nimport type { AuthState } from \"../auth-state\";\nimport type {\n ListSecretTagsParams,\n ListSecretTagsResponse,\n GetSecretTagByIdParams,\n GetSecretTagByIdResponse,\n GetSecretTagBySlugParams,\n GetSecretTagBySlugResponse,\n CreateSecretTagParams,\n CreateSecretTagResponse,\n UpdateSecretTagParams,\n UpdateSecretTagResponse,\n DeleteSecretTagParams,\n DeleteSecretTagResponse,\n} from \"../types/secret-tags\";\n\nexport class SecretTagsResource extends BaseResource {\n constructor(http: HttpClient, authState: AuthState) {\n super(http, authState, \"secretTags\");\n }\n async list(params: ListSecretTagsParams): Promise<ListSecretTagsResponse> {\n this.requireAuth();\n return this.http.get<ListSecretTagsResponse>(\n `/api/v1/${encodeURIComponent(params.projectId)}/tags`\n );\n }\n\n async getById(params: GetSecretTagByIdParams): Promise<GetSecretTagByIdResponse> {\n this.requireAuth();\n return this.http.get<GetSecretTagByIdResponse>(\n `/api/v1/${encodeURIComponent(params.projectId)}/tags/${encodeURIComponent(params.tagId)}`\n );\n }\n\n async getBySlug(params: GetSecretTagBySlugParams): Promise<GetSecretTagBySlugResponse> {\n this.requireAuth();\n return this.http.get<GetSecretTagBySlugResponse>(\n `/api/v1/${encodeURIComponent(params.projectId)}/tags/slug/${encodeURIComponent(params.tagSlug)}`\n );\n }\n\n async create(params: CreateSecretTagParams): Promise<CreateSecretTagResponse> {\n this.requireAuth();\n const { projectId, ...body } = params;\n return this.http.post<CreateSecretTagResponse>(\n `/api/v1/${encodeURIComponent(projectId)}/tags`,\n body\n );\n }\n\n async update(params: UpdateSecretTagParams): Promise<UpdateSecretTagResponse> {\n this.requireAuth();\n const { projectId, tagId, ...body } = params;\n return this.http.patch<UpdateSecretTagResponse>(\n `/api/v1/${encodeURIComponent(projectId)}/tags/${encodeURIComponent(tagId)}`,\n body\n );\n }\n\n async delete(params: DeleteSecretTagParams): Promise<DeleteSecretTagResponse> {\n this.requireAuth();\n return this.http.delete<DeleteSecretTagResponse>(\n `/api/v1/${encodeURIComponent(params.projectId)}/tags/${encodeURIComponent(params.tagId)}`\n );\n }\n}\n","import { BaseResource } from \"./base\";\nimport type {\n CreateIdentityParams,\n CreateIdentityResponse,\n UpdateIdentityParams,\n UpdateIdentityResponse,\n DeleteIdentityParams,\n DeleteIdentityResponse,\n GetIdentityParams,\n GetIdentityResponse,\n ListIdentityProjectMembershipsParams,\n ListIdentityProjectMembershipsResponse,\n SearchIdentitiesParams,\n SearchIdentitiesResponse,\n} from \"../types/identities\";\nimport type { HttpClient } from \"../http\";\nimport type { AuthState } from \"../auth-state\";\n\nexport class IdentitiesResource extends BaseResource {\n constructor(http: HttpClient, authState: AuthState) {\n super(http, authState, \"identities\");\n }\n\n async create(params: CreateIdentityParams): Promise<CreateIdentityResponse> {\n this.requireAuth();\n return this.http.post<CreateIdentityResponse>(\n \"/api/v1/identities\",\n params\n );\n }\n\n async update(params: UpdateIdentityParams): Promise<UpdateIdentityResponse> {\n this.requireAuth();\n const { identityId, ...body } = params;\n return this.http.patch<UpdateIdentityResponse>(\n `/api/v1/identities/${encodeURIComponent(identityId)}`,\n body\n );\n }\n\n async delete(params: DeleteIdentityParams): Promise<DeleteIdentityResponse> {\n this.requireAuth();\n return this.http.delete<DeleteIdentityResponse>(\n `/api/v1/identities/${encodeURIComponent(params.identityId)}`\n );\n }\n\n async get(params: GetIdentityParams): Promise<GetIdentityResponse> {\n this.requireAuth();\n return this.http.get<GetIdentityResponse>(\n `/api/v1/identities/${encodeURIComponent(params.identityId)}`\n );\n }\n\n async listProjectMemberships(\n params: ListIdentityProjectMembershipsParams\n ): Promise<ListIdentityProjectMembershipsResponse> {\n this.requireAuth();\n return this.http.get<ListIdentityProjectMembershipsResponse>(\n `/api/v1/identities/${encodeURIComponent(params.identityId)}/identity-memberships`\n );\n }\n\n async search(params: SearchIdentitiesParams): Promise<SearchIdentitiesResponse> {\n this.requireAuth();\n const { organizationId, ...query } = params;\n return this.http.get<SearchIdentitiesResponse>(\n `/api/v1/organizations/${encodeURIComponent(organizationId)}/identities`,\n { ...query } as Record<string, unknown>\n );\n }\n}\n","import { BaseResource } from \"./base\";\nimport type {\n RenewAccessTokenParams,\n RenewAccessTokenResponse,\n RevokeAccessTokenParams,\n RevokeAccessTokenResponse,\n} from \"../types/identity-access-tokens\";\nimport type { HttpClient } from \"../http\";\nimport type { AuthState } from \"../auth-state\";\n\nexport class IdentityAccessTokensResource extends BaseResource {\n constructor(http: HttpClient, authState: AuthState) {\n super(http, authState, \"identityAccessTokens\");\n }\n\n async renew(params: RenewAccessTokenParams): Promise<RenewAccessTokenResponse> {\n this.requireAuth();\n return this.http.post<RenewAccessTokenResponse>(\n \"/api/v1/auth/token/renew\",\n params\n );\n }\n\n async revoke(params: RevokeAccessTokenParams): Promise<RevokeAccessTokenResponse> {\n this.requireAuth();\n return this.http.post<RevokeAccessTokenResponse>(\n \"/api/v1/auth/token/revoke\",\n params\n );\n }\n}\n","import { BaseResource } from \"./base\";\nimport type {\n LoginUniversalAuthParams,\n LoginUniversalAuthResponse,\n AttachUniversalAuthParams,\n AttachUniversalAuthResponse,\n UpdateUniversalAuthParams,\n UpdateUniversalAuthResponse,\n GetUniversalAuthParams,\n GetUniversalAuthResponse,\n RevokeUniversalAuthParams,\n RevokeUniversalAuthResponse,\n CreateUniversalAuthClientSecretParams,\n CreateUniversalAuthClientSecretResponse,\n ListUniversalAuthClientSecretsParams,\n ListUniversalAuthClientSecretsResponse,\n GetUniversalAuthClientSecretParams,\n GetUniversalAuthClientSecretResponse,\n RevokeUniversalAuthClientSecretParams,\n RevokeUniversalAuthClientSecretResponse,\n} from \"../types/identity-universal-auth\";\nimport type { HttpClient } from \"../http\";\nimport type { AuthState } from \"../auth-state\";\n\nexport class IdentityUniversalAuthResource extends BaseResource {\n constructor(http: HttpClient, authState: AuthState) {\n super(http, authState, \"identityAuth\");\n }\n\n async login(params: LoginUniversalAuthParams): Promise<LoginUniversalAuthResponse> {\n return this.http.postNoAuth<LoginUniversalAuthResponse>(\n \"/api/v1/auth/universal-auth/login\",\n params\n );\n }\n\n async attach(params: AttachUniversalAuthParams): Promise<AttachUniversalAuthResponse> {\n this.requireAuth();\n const { identityId, ...body } = params;\n return this.http.post<AttachUniversalAuthResponse>(\n `/api/v1/auth/universal-auth/identities/${encodeURIComponent(identityId)}`,\n body\n );\n }\n\n async update(params: UpdateUniversalAuthParams): Promise<UpdateUniversalAuthResponse> {\n this.requireAuth();\n const { identityId, ...body } = params;\n return this.http.patch<UpdateUniversalAuthResponse>(\n `/api/v1/auth/universal-auth/identities/${encodeURIComponent(identityId)}`,\n body\n );\n }\n\n async get(params: GetUniversalAuthParams): Promise<GetUniversalAuthResponse> {\n this.requireAuth();\n return this.http.get<GetUniversalAuthResponse>(\n `/api/v1/auth/universal-auth/identities/${encodeURIComponent(params.identityId)}`\n );\n }\n\n async revoke(params: RevokeUniversalAuthParams): Promise<RevokeUniversalAuthResponse> {\n this.requireAuth();\n return this.http.delete<RevokeUniversalAuthResponse>(\n `/api/v1/auth/universal-auth/identities/${encodeURIComponent(params.identityId)}`\n );\n }\n\n async createClientSecret(params: CreateUniversalAuthClientSecretParams): Promise<CreateUniversalAuthClientSecretResponse> {\n this.requireAuth();\n const { identityId, ...body } = params;\n return this.http.post<CreateUniversalAuthClientSecretResponse>(\n `/api/v1/auth/universal-auth/identities/${encodeURIComponent(identityId)}/client-secrets`,\n body\n );\n }\n\n async listClientSecrets(params: ListUniversalAuthClientSecretsParams): Promise<ListUniversalAuthClientSecretsResponse> {\n this.requireAuth();\n return this.http.get<ListUniversalAuthClientSecretsResponse>(\n `/api/v1/auth/universal-auth/identities/${encodeURIComponent(params.identityId)}/client-secrets`\n );\n }\n\n async getClientSecret(params: GetUniversalAuthClientSecretParams): Promise<GetUniversalAuthClientSecretResponse> {\n this.requireAuth();\n return this.http.get<GetUniversalAuthClientSecretResponse>(\n `/api/v1/auth/universal-auth/identities/${encodeURIComponent(params.identityId)}/client-secrets/${encodeURIComponent(params.clientSecretId)}`\n );\n }\n\n async revokeClientSecret(params: RevokeUniversalAuthClientSecretParams): Promise<RevokeUniversalAuthClientSecretResponse> {\n this.requireAuth();\n return this.http.delete<RevokeUniversalAuthClientSecretResponse>(\n `/api/v1/auth/universal-auth/identities/${encodeURIComponent(params.identityId)}/client-secrets/${encodeURIComponent(params.clientSecretId)}`\n );\n }\n}\n","import { BaseResource } from \"./base\";\nimport type {\n LoginTokenAuthParams,\n LoginTokenAuthResponse,\n AttachTokenAuthParams,\n AttachTokenAuthResponse,\n UpdateTokenAuthParams,\n UpdateTokenAuthResponse,\n GetTokenAuthParams,\n GetTokenAuthResponse,\n RevokeTokenAuthParams,\n RevokeTokenAuthResponse,\n CreateTokenAuthTokenParams,\n CreateTokenAuthTokenResponse,\n ListTokenAuthTokensParams,\n ListTokenAuthTokensResponse,\n GetTokenAuthTokenParams,\n GetTokenAuthTokenResponse,\n UpdateTokenAuthTokenParams,\n UpdateTokenAuthTokenResponse,\n RevokeTokenAuthTokenParams,\n RevokeTokenAuthTokenResponse,\n} from \"../types/identity-token-auth\";\nimport type { HttpClient } from \"../http\";\nimport type { AuthState } from \"../auth-state\";\n\nexport class IdentityTokenAuthResource extends BaseResource {\n constructor(http: HttpClient, authState: AuthState) {\n super(http, authState, \"identityAuth\");\n }\n\n async login(params: LoginTokenAuthParams): Promise<LoginTokenAuthResponse> {\n return this.http.postNoAuth<LoginTokenAuthResponse>(\n \"/api/v1/auth/token/login\",\n params\n );\n }\n\n async attach(params: AttachTokenAuthParams): Promise<AttachTokenAuthResponse> {\n this.requireAuth();\n const { identityId, ...body } = params;\n return this.http.post<AttachTokenAuthResponse>(\n `/api/v1/auth/token-auth/identities/${encodeURIComponent(identityId)}`,\n body\n );\n }\n\n async update(params: UpdateTokenAuthParams): Promise<UpdateTokenAuthResponse> {\n this.requireAuth();\n const { identityId, ...body } = params;\n return this.http.patch<UpdateTokenAuthResponse>(\n `/api/v1/auth/token-auth/identities/${encodeURIComponent(identityId)}`,\n body\n );\n }\n\n async get(params: GetTokenAuthParams): Promise<GetTokenAuthResponse> {\n this.requireAuth();\n return this.http.get<GetTokenAuthResponse>(\n `/api/v1/auth/token-auth/identities/${encodeURIComponent(params.identityId)}`\n );\n }\n\n async revoke(params: RevokeTokenAuthParams): Promise<RevokeTokenAuthResponse> {\n this.requireAuth();\n return this.http.delete<RevokeTokenAuthResponse>(\n `/api/v1/auth/token-auth/identities/${encodeURIComponent(params.identityId)}`\n );\n }\n\n async createToken(params: CreateTokenAuthTokenParams): Promise<CreateTokenAuthTokenResponse> {\n this.requireAuth();\n const { identityId, ...body } = params;\n return this.http.post<CreateTokenAuthTokenResponse>(\n `/api/v1/auth/token-auth/identities/${encodeURIComponent(identityId)}/tokens`,\n body\n );\n }\n\n async listTokens(params: ListTokenAuthTokensParams): Promise<ListTokenAuthTokensResponse> {\n this.requireAuth();\n const { identityId, ...query } = params;\n return this.http.get<ListTokenAuthTokensResponse>(\n `/api/v1/auth/token-auth/identities/${encodeURIComponent(identityId)}/tokens`,\n { ...query } as Record<string, unknown>\n );\n }\n\n async getToken(params: GetTokenAuthTokenParams): Promise<GetTokenAuthTokenResponse> {\n this.requireAuth();\n return this.http.get<GetTokenAuthTokenResponse>(\n `/api/v1/auth/token-auth/identities/${encodeURIComponent(params.identityId)}/tokens/${encodeURIComponent(params.tokenId)}`\n );\n }\n\n async updateToken(params: UpdateTokenAuthTokenParams): Promise<UpdateTokenAuthTokenResponse> {\n this.requireAuth();\n const { identityId, tokenId, ...body } = params;\n return this.http.patch<UpdateTokenAuthTokenResponse>(\n `/api/v1/auth/token-auth/identities/${encodeURIComponent(identityId)}/tokens/${encodeURIComponent(tokenId)}`,\n body\n );\n }\n\n async revokeToken(params: RevokeTokenAuthTokenParams): Promise<RevokeTokenAuthTokenResponse> {\n this.requireAuth();\n return this.http.delete<RevokeTokenAuthTokenResponse>(\n `/api/v1/auth/token-auth/identities/${encodeURIComponent(params.identityId)}/tokens/${encodeURIComponent(params.tokenId)}`\n );\n }\n}\n","import { BaseResource } from \"./base\";\nimport type {\n LoginAwsAuthParams,\n LoginAwsAuthResponse,\n AttachAwsAuthParams,\n AttachAwsAuthResponse,\n UpdateAwsAuthParams,\n UpdateAwsAuthResponse,\n GetAwsAuthParams,\n GetAwsAuthResponse,\n RevokeAwsAuthParams,\n RevokeAwsAuthResponse,\n} from \"../types/identity-aws-auth\";\nimport type { HttpClient } from \"../http\";\nimport type { AuthState } from \"../auth-state\";\n\nexport class IdentityAwsAuthResource extends BaseResource {\n constructor(http: HttpClient, authState: AuthState) {\n super(http, authState, \"identityAuth\");\n }\n\n async login(params: LoginAwsAuthParams): Promise<LoginAwsAuthResponse> {\n return this.http.postNoAuth<LoginAwsAuthResponse>(\n \"/api/v1/auth/aws-auth/login\",\n params\n );\n }\n\n async attach(params: AttachAwsAuthParams): Promise<AttachAwsAuthResponse> {\n this.requireAuth();\n const { identityId, ...body } = params;\n return this.http.post<AttachAwsAuthResponse>(\n `/api/v1/auth/aws-auth/identities/${encodeURIComponent(identityId)}`,\n body\n );\n }\n\n async update(params: UpdateAwsAuthParams): Promise<UpdateAwsAuthResponse> {\n this.requireAuth();\n const { identityId, ...body } = params;\n return this.http.patch<UpdateAwsAuthResponse>(\n `/api/v1/auth/aws-auth/identities/${encodeURIComponent(identityId)}`,\n body\n );\n }\n\n async get(params: GetAwsAuthParams): Promise<GetAwsAuthResponse> {\n this.requireAuth();\n return this.http.get<GetAwsAuthResponse>(\n `/api/v1/auth/aws-auth/identities/${encodeURIComponent(params.identityId)}`\n );\n }\n\n async revoke(params: RevokeAwsAuthParams): Promise<RevokeAwsAuthResponse> {\n this.requireAuth();\n return this.http.delete<RevokeAwsAuthResponse>(\n `/api/v1/auth/aws-auth/identities/${encodeURIComponent(params.identityId)}`\n );\n }\n}\n","import { BaseResource } from \"./base\";\nimport type {\n LoginGcpAuthParams,\n LoginGcpAuthResponse,\n AttachGcpAuthParams,\n AttachGcpAuthResponse,\n UpdateGcpAuthParams,\n UpdateGcpAuthResponse,\n GetGcpAuthParams,\n GetGcpAuthResponse,\n RevokeGcpAuthParams,\n RevokeGcpAuthResponse,\n} from \"../types/identity-gcp-auth\";\nimport type { HttpClient } from \"../http\";\nimport type { AuthState } from \"../auth-state\";\n\nexport class IdentityGcpAuthResource extends BaseResource {\n constructor(http: HttpClient, authState: AuthState) {\n super(http, authState, \"identityAuth\");\n }\n\n async login(params: LoginGcpAuthParams): Promise<LoginGcpAuthResponse> {\n return this.http.postNoAuth<LoginGcpAuthResponse>(\n \"/api/v1/auth/gcp-auth/login\",\n params\n );\n }\n\n async attach(params: AttachGcpAuthParams): Promise<AttachGcpAuthResponse> {\n this.requireAuth();\n const { identityId, ...body } = params;\n return this.http.post<AttachGcpAuthResponse>(\n `/api/v1/auth/gcp-auth/identities/${encodeURIComponent(identityId)}`,\n body\n );\n }\n\n async update(params: UpdateGcpAuthParams): Promise<UpdateGcpAuthResponse> {\n this.requireAuth();\n const { identityId, ...body } = params;\n return this.http.patch<UpdateGcpAuthResponse>(\n `/api/v1/auth/gcp-auth/identities/${encodeURIComponent(identityId)}`,\n body\n );\n }\n\n async get(params: GetGcpAuthParams): Promise<GetGcpAuthResponse> {\n this.requireAuth();\n return this.http.get<GetGcpAuthResponse>(\n `/api/v1/auth/gcp-auth/identities/${encodeURIComponent(params.identityId)}`\n );\n }\n\n async revoke(params: RevokeGcpAuthParams): Promise<RevokeGcpAuthResponse> {\n this.requireAuth();\n return this.http.delete<RevokeGcpAuthResponse>(\n `/api/v1/auth/gcp-auth/identities/${encodeURIComponent(params.identityId)}`\n );\n }\n}\n","import { BaseResource } from \"./base\";\nimport type {\n LoginAzureAuthParams,\n LoginAzureAuthResponse,\n AttachAzureAuthParams,\n AttachAzureAuthResponse,\n UpdateAzureAuthParams,\n UpdateAzureAuthResponse,\n GetAzureAuthParams,\n GetAzureAuthResponse,\n RevokeAzureAuthParams,\n RevokeAzureAuthResponse,\n} from \"../types/identity-azure-auth\";\nimport type { HttpClient } from \"../http\";\nimport type { AuthState } from \"../auth-state\";\n\nexport class IdentityAzureAuthResource extends BaseResource {\n constructor(http: HttpClient, authState: AuthState) {\n super(http, authState, \"identityAuth\");\n }\n\n async login(params: LoginAzureAuthParams): Promise<LoginAzureAuthResponse> {\n return this.http.postNoAuth<LoginAzureAuthResponse>(\n \"/api/v1/auth/azure-auth/login\",\n params\n );\n }\n\n async attach(params: AttachAzureAuthParams): Promise<AttachAzureAuthResponse> {\n this.requireAuth();\n const { identityId, ...body } = params;\n return this.http.post<AttachAzureAuthResponse>(\n `/api/v1/auth/azure-auth/identities/${encodeURIComponent(identityId)}`,\n body\n );\n }\n\n async update(params: UpdateAzureAuthParams): Promise<UpdateAzureAuthResponse> {\n this.requireAuth();\n const { identityId, ...body } = params;\n return this.http.patch<UpdateAzureAuthResponse>(\n `/api/v1/auth/azure-auth/identities/${encodeURIComponent(identityId)}`,\n body\n );\n }\n\n async get(params: GetAzureAuthParams): Promise<GetAzureAuthResponse> {\n this.requireAuth();\n return this.http.get<GetAzureAuthResponse>(\n `/api/v1/auth/azure-auth/identities/${encodeURIComponent(params.identityId)}`\n );\n }\n\n async revoke(params: RevokeAzureAuthParams): Promise<RevokeAzureAuthResponse> {\n this.requireAuth();\n return this.http.delete<RevokeAzureAuthResponse>(\n `/api/v1/auth/azure-auth/identities/${encodeURIComponent(params.identityId)}`\n );\n }\n}\n","import { BaseResource } from \"./base\";\nimport type {\n LoginKubernetesAuthParams,\n LoginKubernetesAuthResponse,\n AttachKubernetesAuthParams,\n AttachKubernetesAuthResponse,\n UpdateKubernetesAuthParams,\n UpdateKubernetesAuthResponse,\n GetKubernetesAuthParams,\n GetKubernetesAuthResponse,\n RevokeKubernetesAuthParams,\n RevokeKubernetesAuthResponse,\n} from \"../types/identity-kubernetes-auth\";\nimport type { HttpClient } from \"../http\";\nimport type { AuthState } from \"../auth-state\";\n\nexport class IdentityKubernetesAuthResource extends BaseResource {\n constructor(http: HttpClient, authState: AuthState) {\n super(http, authState, \"identityAuth\");\n }\n\n async login(params: LoginKubernetesAuthParams): Promise<LoginKubernetesAuthResponse> {\n return this.http.postNoAuth<LoginKubernetesAuthResponse>(\n \"/api/v1/auth/kubernetes-auth/login\",\n params\n );\n }\n\n async attach(params: AttachKubernetesAuthParams): Promise<AttachKubernetesAuthResponse> {\n this.requireAuth();\n const { identityId, ...body } = params;\n return this.http.post<AttachKubernetesAuthResponse>(\n `/api/v1/auth/kubernetes-auth/identities/${encodeURIComponent(identityId)}`,\n body\n );\n }\n\n async update(params: UpdateKubernetesAuthParams): Promise<UpdateKubernetesAuthResponse> {\n this.requireAuth();\n const { identityId, ...body } = params;\n return this.http.patch<UpdateKubernetesAuthResponse>(\n `/api/v1/auth/kubernetes-auth/identities/${encodeURIComponent(identityId)}`,\n body\n );\n }\n\n async get(params: GetKubernetesAuthParams): Promise<GetKubernetesAuthResponse> {\n this.requireAuth();\n return this.http.get<GetKubernetesAuthResponse>(\n `/api/v1/auth/kubernetes-auth/identities/${encodeURIComponent(params.identityId)}`\n );\n }\n\n async revoke(params: RevokeKubernetesAuthParams): Promise<RevokeKubernetesAuthResponse> {\n this.requireAuth();\n return this.http.delete<RevokeKubernetesAuthResponse>(\n `/api/v1/auth/kubernetes-auth/identities/${encodeURIComponent(params.identityId)}`\n );\n }\n}\n","import { BaseResource } from \"./base\";\nimport type {\n LoginOidcAuthParams,\n LoginOidcAuthResponse,\n AttachOidcAuthParams,\n AttachOidcAuthResponse,\n UpdateOidcAuthParams,\n UpdateOidcAuthResponse,\n GetOidcAuthParams,\n GetOidcAuthResponse,\n RevokeOidcAuthParams,\n RevokeOidcAuthResponse,\n} from \"../types/identity-oidc-auth\";\nimport type { HttpClient } from \"../http\";\nimport type { AuthState } from \"../auth-state\";\n\nexport class IdentityOidcAuthResource extends BaseResource {\n constructor(http: HttpClient, authState: AuthState) {\n super(http, authState, \"identityAuth\");\n }\n\n async login(params: LoginOidcAuthParams): Promise<LoginOidcAuthResponse> {\n return this.http.postNoAuth<LoginOidcAuthResponse>(\n \"/api/v1/auth/oidc-auth/login\",\n params\n );\n }\n\n async attach(params: AttachOidcAuthParams): Promise<AttachOidcAuthResponse> {\n this.requireAuth();\n const { identityId, ...body } = params;\n return this.http.post<AttachOidcAuthResponse>(\n `/api/v1/auth/oidc-auth/identities/${encodeURIComponent(identityId)}`,\n body\n );\n }\n\n async update(params: UpdateOidcAuthParams): Promise<UpdateOidcAuthResponse> {\n this.requireAuth();\n const { identityId, ...body } = params;\n return this.http.patch<UpdateOidcAuthResponse>(\n `/api/v1/auth/oidc-auth/identities/${encodeURIComponent(identityId)}`,\n body\n );\n }\n\n async get(params: GetOidcAuthParams): Promise<GetOidcAuthResponse> {\n this.requireAuth();\n return this.http.get<GetOidcAuthResponse>(\n `/api/v1/auth/oidc-auth/identities/${encodeURIComponent(params.identityId)}`\n );\n }\n\n async revoke(params: RevokeOidcAuthParams): Promise<RevokeOidcAuthResponse> {\n this.requireAuth();\n return this.http.delete<RevokeOidcAuthResponse>(\n `/api/v1/auth/oidc-auth/identities/${encodeURIComponent(params.identityId)}`\n );\n }\n}\n","import { BaseResource } from \"./base\";\nimport type {\n LoginJwtAuthParams,\n LoginJwtAuthResponse,\n AttachJwtAuthParams,\n AttachJwtAuthResponse,\n UpdateJwtAuthParams,\n UpdateJwtAuthResponse,\n GetJwtAuthParams,\n GetJwtAuthResponse,\n RevokeJwtAuthParams,\n RevokeJwtAuthResponse,\n} from \"../types/identity-jwt-auth\";\nimport type { HttpClient } from \"../http\";\nimport type { AuthState } from \"../auth-state\";\n\nexport class IdentityJwtAuthResource extends BaseResource {\n constructor(http: HttpClient, authState: AuthState) {\n super(http, authState, \"identityAuth\");\n }\n\n async login(params: LoginJwtAuthParams): Promise<LoginJwtAuthResponse> {\n return this.http.postNoAuth<LoginJwtAuthResponse>(\n \"/api/v1/auth/jwt-auth/login\",\n params\n );\n }\n\n async attach(params: AttachJwtAuthParams): Promise<AttachJwtAuthResponse> {\n this.requireAuth();\n const { identityId, ...body } = params;\n return this.http.post<AttachJwtAuthResponse>(\n `/api/v1/auth/jwt-auth/identities/${encodeURIComponent(identityId)}`,\n body\n );\n }\n\n async update(params: UpdateJwtAuthParams): Promise<UpdateJwtAuthResponse> {\n this.requireAuth();\n const { identityId, ...body } = params;\n return this.http.patch<UpdateJwtAuthResponse>(\n `/api/v1/auth/jwt-auth/identities/${encodeURIComponent(identityId)}`,\n body\n );\n }\n\n async get(params: GetJwtAuthParams): Promise<GetJwtAuthResponse> {\n this.requireAuth();\n return this.http.get<GetJwtAuthResponse>(\n `/api/v1/auth/jwt-auth/identities/${encodeURIComponent(params.identityId)}`\n );\n }\n\n async revoke(params: RevokeJwtAuthParams): Promise<RevokeJwtAuthResponse> {\n this.requireAuth();\n return this.http.delete<RevokeJwtAuthResponse>(\n `/api/v1/auth/jwt-auth/identities/${encodeURIComponent(params.identityId)}`\n );\n }\n}\n","import { BaseResource } from \"./base\";\nimport type {\n LoginLdapAuthParams,\n LoginLdapAuthResponse,\n AttachLdapAuthParams,\n AttachLdapAuthResponse,\n UpdateLdapAuthParams,\n UpdateLdapAuthResponse,\n GetLdapAuthParams,\n GetLdapAuthResponse,\n RevokeLdapAuthParams,\n RevokeLdapAuthResponse,\n} from \"../types/identity-ldap-auth\";\nimport type { HttpClient } from \"../http\";\nimport type { AuthState } from \"../auth-state\";\n\nexport class IdentityLdapAuthResource extends BaseResource {\n constructor(http: HttpClient, authState: AuthState) {\n super(http, authState, \"identityAuth\");\n }\n async login(params: LoginLdapAuthParams): Promise<LoginLdapAuthResponse> {\n return this.http.postNoAuth<LoginLdapAuthResponse>(\n \"/api/v1/auth/ldap-auth/login\",\n params\n );\n }\n\n async attach(params: AttachLdapAuthParams): Promise<AttachLdapAuthResponse> {\n this.requireAuth();\n const { identityId, ...body } = params;\n return this.http.post<AttachLdapAuthResponse>(\n `/api/v1/auth/ldap-auth/identities/${encodeURIComponent(identityId)}`,\n body\n );\n }\n\n async update(params: UpdateLdapAuthParams): Promise<UpdateLdapAuthResponse> {\n this.requireAuth();\n const { identityId, ...body } = params;\n return this.http.patch<UpdateLdapAuthResponse>(\n `/api/v1/auth/ldap-auth/identities/${encodeURIComponent(identityId)}`,\n body\n );\n }\n\n async get(params: GetLdapAuthParams): Promise<GetLdapAuthResponse> {\n this.requireAuth();\n return this.http.get<GetLdapAuthResponse>(\n `/api/v1/auth/ldap-auth/identities/${encodeURIComponent(params.identityId)}`\n );\n }\n\n async revoke(params: RevokeLdapAuthParams): Promise<RevokeLdapAuthResponse> {\n this.requireAuth();\n return this.http.delete<RevokeLdapAuthResponse>(\n `/api/v1/auth/ldap-auth/identities/${encodeURIComponent(params.identityId)}`\n );\n }\n}\n","import { BaseResource } from \"./base\";\nimport type {\n LoginTlsCertAuthParams,\n LoginTlsCertAuthResponse,\n AttachTlsCertAuthParams,\n AttachTlsCertAuthResponse,\n UpdateTlsCertAuthParams,\n UpdateTlsCertAuthResponse,\n GetTlsCertAuthParams,\n GetTlsCertAuthResponse,\n RevokeTlsCertAuthParams,\n RevokeTlsCertAuthResponse,\n} from \"../types/identity-tls-cert-auth\";\nimport type { HttpClient } from \"../http\";\nimport type { AuthState } from \"../auth-state\";\n\nexport class IdentityTlsCertAuthResource extends BaseResource {\n constructor(http: HttpClient, authState: AuthState) {\n super(http, authState, \"identityAuth\");\n }\n async login(params: LoginTlsCertAuthParams): Promise<LoginTlsCertAuthResponse> {\n return this.http.postNoAuth<LoginTlsCertAuthResponse>(\n \"/api/v1/auth/tls-cert-auth/login\",\n params\n );\n }\n\n async attach(params: AttachTlsCertAuthParams): Promise<AttachTlsCertAuthResponse> {\n this.requireAuth();\n const { identityId, ...body } = params;\n return this.http.post<AttachTlsCertAuthResponse>(\n `/api/v1/auth/tls-cert-auth/identities/${encodeURIComponent(identityId)}`,\n body\n );\n }\n\n async update(params: UpdateTlsCertAuthParams): Promise<UpdateTlsCertAuthResponse> {\n this.requireAuth();\n const { identityId, ...body } = params;\n return this.http.patch<UpdateTlsCertAuthResponse>(\n `/api/v1/auth/tls-cert-auth/identities/${encodeURIComponent(identityId)}`,\n body\n );\n }\n\n async get(params: GetTlsCertAuthParams): Promise<GetTlsCertAuthResponse> {\n this.requireAuth();\n return this.http.get<GetTlsCertAuthResponse>(\n `/api/v1/auth/tls-cert-auth/identities/${encodeURIComponent(params.identityId)}`\n );\n }\n\n async revoke(params: RevokeTlsCertAuthParams): Promise<RevokeTlsCertAuthResponse> {\n this.requireAuth();\n return this.http.delete<RevokeTlsCertAuthResponse>(\n `/api/v1/auth/tls-cert-auth/identities/${encodeURIComponent(params.identityId)}`\n );\n }\n}\n","import { BaseResource } from \"./base\";\nimport type {\n LoginOciAuthParams,\n LoginOciAuthResponse,\n AttachOciAuthParams,\n AttachOciAuthResponse,\n UpdateOciAuthParams,\n UpdateOciAuthResponse,\n GetOciAuthParams,\n GetOciAuthResponse,\n RevokeOciAuthParams,\n RevokeOciAuthResponse,\n} from \"../types/identity-oci-auth\";\nimport type { HttpClient } from \"../http\";\nimport type { AuthState } from \"../auth-state\";\n\nexport class IdentityOciAuthResource extends BaseResource {\n constructor(http: HttpClient, authState: AuthState) {\n super(http, authState, \"identityAuth\");\n }\n async login(params: LoginOciAuthParams): Promise<LoginOciAuthResponse> {\n return this.http.postNoAuth<LoginOciAuthResponse>(\n \"/api/v1/auth/oci-auth/login\",\n params\n );\n }\n\n async attach(params: AttachOciAuthParams): Promise<AttachOciAuthResponse> {\n this.requireAuth();\n const { identityId, ...body } = params;\n return this.http.post<AttachOciAuthResponse>(\n `/api/v1/auth/oci-auth/identities/${encodeURIComponent(identityId)}`,\n body\n );\n }\n\n async update(params: UpdateOciAuthParams): Promise<UpdateOciAuthResponse> {\n this.requireAuth();\n const { identityId, ...body } = params;\n return this.http.patch<UpdateOciAuthResponse>(\n `/api/v1/auth/oci-auth/identities/${encodeURIComponent(identityId)}`,\n body\n );\n }\n\n async get(params: GetOciAuthParams): Promise<GetOciAuthResponse> {\n this.requireAuth();\n return this.http.get<GetOciAuthResponse>(\n `/api/v1/auth/oci-auth/identities/${encodeURIComponent(params.identityId)}`\n );\n }\n\n async revoke(params: RevokeOciAuthParams): Promise<RevokeOciAuthResponse> {\n this.requireAuth();\n return this.http.delete<RevokeOciAuthResponse>(\n `/api/v1/auth/oci-auth/identities/${encodeURIComponent(params.identityId)}`\n );\n }\n}\n","import { BaseResource } from \"./base\";\nimport type {\n LoginAlicloudAuthParams,\n LoginAlicloudAuthResponse,\n AttachAlicloudAuthParams,\n AttachAlicloudAuthResponse,\n UpdateAlicloudAuthParams,\n UpdateAlicloudAuthResponse,\n GetAlicloudAuthParams,\n GetAlicloudAuthResponse,\n RevokeAlicloudAuthParams,\n RevokeAlicloudAuthResponse,\n} from \"../types/identity-alicloud-auth\";\nimport type { HttpClient } from \"../http\";\nimport type { AuthState } from \"../auth-state\";\n\nexport class IdentityAlicloudAuthResource extends BaseResource {\n constructor(http: HttpClient, authState: AuthState) {\n super(http, authState, \"identityAuth\");\n }\n async login(params: LoginAlicloudAuthParams): Promise<LoginAlicloudAuthResponse> {\n return this.http.postNoAuth<LoginAlicloudAuthResponse>(\n \"/api/v1/auth/alicloud-auth/login\",\n params\n );\n }\n\n async attach(params: AttachAlicloudAuthParams): Promise<AttachAlicloudAuthResponse> {\n this.requireAuth();\n const { identityId, ...body } = params;\n return this.http.post<AttachAlicloudAuthResponse>(\n `/api/v1/auth/alicloud-auth/identities/${encodeURIComponent(identityId)}`,\n body\n );\n }\n\n async update(params: UpdateAlicloudAuthParams): Promise<UpdateAlicloudAuthResponse> {\n this.requireAuth();\n const { identityId, ...body } = params;\n return this.http.patch<UpdateAlicloudAuthResponse>(\n `/api/v1/auth/alicloud-auth/identities/${encodeURIComponent(identityId)}`,\n body\n );\n }\n\n async get(params: GetAlicloudAuthParams): Promise<GetAlicloudAuthResponse> {\n this.requireAuth();\n return this.http.get<GetAlicloudAuthResponse>(\n `/api/v1/auth/alicloud-auth/identities/${encodeURIComponent(params.identityId)}`\n );\n }\n\n async revoke(params: RevokeAlicloudAuthParams): Promise<RevokeAlicloudAuthResponse> {\n this.requireAuth();\n return this.http.delete<RevokeAlicloudAuthResponse>(\n `/api/v1/auth/alicloud-auth/identities/${encodeURIComponent(params.identityId)}`\n );\n }\n}\n","import { BaseResource } from \"./base\";\nimport type { HttpClient } from \"../http\";\nimport type { AuthState } from \"../auth-state\";\nimport type {\n GetProjectParams,\n GetProjectResponse,\n UpdateProjectParams,\n UpdateProjectResponse,\n DeleteProjectParams,\n DeleteProjectResponse,\n ListProjectMembershipsParams,\n ListProjectMembershipsResponse,\n ListProjectEnvironmentsParams,\n ListProjectEnvironmentsResponse,\n CreateProjectEnvironmentParams,\n CreateProjectEnvironmentResponse,\n UpdateProjectEnvironmentParams,\n UpdateProjectEnvironmentResponse,\n DeleteProjectEnvironmentParams,\n DeleteProjectEnvironmentResponse,\n ListProjectRolesParams,\n ListProjectRolesResponse,\n ListProjectTagsParams,\n ListProjectTagsResponse,\n CreateProjectParams,\n CreateProjectResponse,\n ListProjectsParams,\n ListProjectsResponse,\n GetProjectBySlugParams,\n GetProjectBySlugResponse,\n} from \"../types/projects\";\n\nexport class ProjectsResource extends BaseResource {\n constructor(http: HttpClient, authState: AuthState) {\n super(http, authState, \"projects\");\n }\n async create(params: CreateProjectParams): Promise<CreateProjectResponse> {\n this.requireAuth();\n return this.http.post<CreateProjectResponse>(\n \"/api/v1/projects\",\n params\n );\n }\n\n async list(params?: ListProjectsParams): Promise<ListProjectsResponse> {\n this.requireAuth();\n return this.http.get<ListProjectsResponse>(\n \"/api/v1/projects\",\n { ...params } as Record<string, unknown>\n );\n }\n\n async get(params: GetProjectParams): Promise<GetProjectResponse> {\n this.requireAuth();\n return this.http.get<GetProjectResponse>(\n `/api/v1/workspace/${encodeURIComponent(params.projectId)}`\n );\n }\n\n async getBySlug(params: GetProjectBySlugParams): Promise<GetProjectBySlugResponse> {\n this.requireAuth();\n return this.http.get<GetProjectBySlugResponse>(\n `/api/v1/projects/slug/${encodeURIComponent(params.slug)}`\n );\n }\n\n async update(params: UpdateProjectParams): Promise<UpdateProjectResponse> {\n this.requireAuth();\n const { projectId, ...body } = params;\n return this.http.patch<UpdateProjectResponse>(\n `/api/v1/workspace/${encodeURIComponent(projectId)}`,\n body\n );\n }\n\n async delete(params: DeleteProjectParams): Promise<DeleteProjectResponse> {\n this.requireAuth();\n return this.http.delete<DeleteProjectResponse>(\n `/api/v1/workspace/${encodeURIComponent(params.projectId)}`\n );\n }\n\n async listMemberships(params: ListProjectMembershipsParams): Promise<ListProjectMembershipsResponse> {\n this.requireAuth();\n return this.http.get<ListProjectMembershipsResponse>(\n `/api/v1/workspace/${encodeURIComponent(params.projectId)}/memberships`\n );\n }\n\n async listEnvironments(params: ListProjectEnvironmentsParams): Promise<ListProjectEnvironmentsResponse> {\n this.requireAuth();\n return this.http.get<ListProjectEnvironmentsResponse>(\n `/api/v1/workspace/${encodeURIComponent(params.projectId)}/environments`\n );\n }\n\n async createEnvironment(params: CreateProjectEnvironmentParams): Promise<CreateProjectEnvironmentResponse> {\n this.requireAuth();\n const { projectId, ...body } = params;\n return this.http.post<CreateProjectEnvironmentResponse>(\n `/api/v1/workspace/${encodeURIComponent(projectId)}/environments`,\n body\n );\n }\n\n async updateEnvironment(params: UpdateProjectEnvironmentParams): Promise<UpdateProjectEnvironmentResponse> {\n this.requireAuth();\n const { projectId, environmentId, ...body } = params;\n return this.http.patch<UpdateProjectEnvironmentResponse>(\n `/api/v1/workspace/${encodeURIComponent(projectId)}/environments/${encodeURIComponent(environmentId)}`,\n body\n );\n }\n\n async deleteEnvironment(params: DeleteProjectEnvironmentParams): Promise<DeleteProjectEnvironmentResponse> {\n this.requireAuth();\n return this.http.delete<DeleteProjectEnvironmentResponse>(\n `/api/v1/workspace/${encodeURIComponent(params.projectId)}/environments/${encodeURIComponent(params.environmentId)}`\n );\n }\n\n async listRoles(params: ListProjectRolesParams): Promise<ListProjectRolesResponse> {\n this.requireAuth();\n return this.http.get<ListProjectRolesResponse>(\n `/api/v1/workspace/${encodeURIComponent(params.projectId)}/roles`\n );\n }\n\n async listTags(params: ListProjectTagsParams): Promise<ListProjectTagsResponse> {\n this.requireAuth();\n return this.http.get<ListProjectTagsResponse>(\n `/api/v1/workspace/${encodeURIComponent(params.projectId)}/tags`\n );\n }\n\n}\n","import { BaseResource } from \"./base\";\nimport type {\n CreateWebhookParams,\n CreateWebhookResponse,\n UpdateWebhookParams,\n UpdateWebhookResponse,\n DeleteWebhookParams,\n DeleteWebhookResponse,\n ListWebhooksParams,\n ListWebhooksResponse,\n TestWebhookParams,\n TestWebhookResponse,\n} from \"../types/webhooks\";\nimport type { HttpClient } from \"../http\";\nimport type { AuthState } from \"../auth-state\";\n\nexport class WebhooksResource extends BaseResource {\n constructor(http: HttpClient, authState: AuthState) {\n super(http, authState, \"webhooks\");\n }\n async create(params: CreateWebhookParams): Promise<CreateWebhookResponse> {\n this.requireAuth();\n return this.http.post<CreateWebhookResponse>(\n \"/api/v1/webhooks\",\n params\n );\n }\n\n async update(params: UpdateWebhookParams): Promise<UpdateWebhookResponse> {\n this.requireAuth();\n const { webhookId, ...body } = params;\n return this.http.patch<UpdateWebhookResponse>(\n `/api/v1/webhooks/${encodeURIComponent(webhookId)}`,\n body\n );\n }\n\n async delete(params: DeleteWebhookParams): Promise<DeleteWebhookResponse> {\n this.requireAuth();\n return this.http.delete<DeleteWebhookResponse>(\n `/api/v1/webhooks/${encodeURIComponent(params.webhookId)}`\n );\n }\n\n async list(params: ListWebhooksParams): Promise<ListWebhooksResponse> {\n this.requireAuth();\n return this.http.get<ListWebhooksResponse>(\n \"/api/v1/webhooks\",\n { ...params } as Record<string, unknown>\n );\n }\n\n async test(params: TestWebhookParams): Promise<TestWebhookResponse> {\n this.requireAuth();\n return this.http.post<TestWebhookResponse>(\n `/api/v1/webhooks/${encodeURIComponent(params.webhookId)}/test`\n );\n }\n}\n","import { BaseResource } from \"./base\";\nimport type { HttpClient } from \"../http\";\nimport type { AuthState } from \"../auth-state\";\nimport type {\n CreateSharedSecretParams,\n CreateSharedSecretResponse,\n GetSharedSecretParams,\n GetSharedSecretResponse,\n DeleteSharedSecretParams,\n DeleteSharedSecretResponse,\n ListSharedSecretsResponse,\n} from \"../types/secret-sharing\";\n\nexport class SecretSharingResource extends BaseResource {\n constructor(http: HttpClient, authState: AuthState) {\n super(http, authState, \"secretSharing\");\n }\n async create(params: CreateSharedSecretParams): Promise<CreateSharedSecretResponse> {\n this.requireAuth();\n return this.http.post<CreateSharedSecretResponse>(\n \"/api/v1/secret-sharing\",\n params\n );\n }\n\n async get(params: GetSharedSecretParams): Promise<GetSharedSecretResponse> {\n this.requireAuth();\n return this.http.get<GetSharedSecretResponse>(\n `/api/v1/secret-sharing/${encodeURIComponent(params.sharedSecretId)}`,\n { hashedHex: params.hashedHex }\n );\n }\n\n async delete(params: DeleteSharedSecretParams): Promise<DeleteSharedSecretResponse> {\n this.requireAuth();\n return this.http.delete<DeleteSharedSecretResponse>(\n `/api/v1/secret-sharing/${encodeURIComponent(params.sharedSecretId)}`\n );\n }\n\n async list(): Promise<ListSharedSecretsResponse> {\n this.requireAuth();\n return this.http.get<ListSharedSecretsResponse>(\n \"/api/v1/secret-sharing\"\n );\n }\n}\n","import { BaseResource } from \"./base\";\nimport type { HttpClient } from \"../http\";\nimport type { AuthState } from \"../auth-state\";\nimport type {\n GetSecretAccessListParams,\n GetSecretAccessListResponse,\n ListSecretsParams,\n ListSecretsResponse,\n GetSecretByNameParams,\n GetSecretByNameResponse,\n GetSecretByIdParams,\n GetSecretByIdResponse,\n CreateSecretParams,\n CreateSecretResponse,\n UpdateSecretParams,\n UpdateSecretResponse,\n DeleteSecretParams,\n DeleteSecretResponse,\n BatchCreateSecretsParams,\n BatchCreateSecretsResponse,\n BatchUpdateSecretsParams,\n BatchUpdateSecretsResponse,\n BatchDeleteSecretsParams,\n BatchDeleteSecretsResponse,\n MoveSecretsParams,\n MoveSecretsResponse,\n} from \"../types/secrets\";\n\nexport class SecretsResource extends BaseResource {\n constructor(http: HttpClient, authState: AuthState) {\n super(http, authState, \"secrets\");\n }\n async getAccessList(params: GetSecretAccessListParams): Promise<GetSecretAccessListResponse> {\n this.requireAuth();\n const { secretName, ...query } = params;\n return this.http.get<GetSecretAccessListResponse>(\n `/api/v1/secrets/${encodeURIComponent(secretName)}/access-list`,\n { ...query } as Record<string, unknown>\n );\n }\n\n async list(params: ListSecretsParams): Promise<ListSecretsResponse> {\n this.requireAuth();\n return this.http.get<ListSecretsResponse>(\n \"/api/v4/secrets\",\n { ...params } as Record<string, unknown>\n );\n }\n\n async getByName(params: GetSecretByNameParams): Promise<GetSecretByNameResponse> {\n this.requireAuth();\n const { secretName, ...query } = params;\n return this.http.get<GetSecretByNameResponse>(\n `/api/v4/secrets/${encodeURIComponent(secretName)}`,\n { ...query } as Record<string, unknown>\n );\n }\n\n async getById(params: GetSecretByIdParams): Promise<GetSecretByIdResponse> {\n this.requireAuth();\n return this.http.get<GetSecretByIdResponse>(\n `/api/v4/secrets/id/${encodeURIComponent(params.secretId)}`\n );\n }\n\n async create(params: CreateSecretParams): Promise<CreateSecretResponse> {\n this.requireAuth();\n const { secretName, ...body } = params;\n return this.http.post<CreateSecretResponse>(\n `/api/v4/secrets/${encodeURIComponent(secretName)}`,\n body\n );\n }\n\n async update(params: UpdateSecretParams): Promise<UpdateSecretResponse> {\n this.requireAuth();\n const { secretName, ...body } = params;\n return this.http.patch<UpdateSecretResponse>(\n `/api/v4/secrets/${encodeURIComponent(secretName)}`,\n body\n );\n }\n\n async delete(params: DeleteSecretParams): Promise<DeleteSecretResponse> {\n this.requireAuth();\n const { secretName, ...body } = params;\n return this.http.delete<DeleteSecretResponse>(\n `/api/v4/secrets/${encodeURIComponent(secretName)}`,\n body\n );\n }\n\n async batchCreate(params: BatchCreateSecretsParams): Promise<BatchCreateSecretsResponse> {\n this.requireAuth();\n return this.http.post<BatchCreateSecretsResponse>(\n \"/api/v4/secrets/batch\",\n params\n );\n }\n\n async batchUpdate(params: BatchUpdateSecretsParams): Promise<BatchUpdateSecretsResponse> {\n this.requireAuth();\n return this.http.patch<BatchUpdateSecretsResponse>(\n \"/api/v4/secrets/batch\",\n params\n );\n }\n\n async batchDelete(params: BatchDeleteSecretsParams): Promise<BatchDeleteSecretsResponse> {\n this.requireAuth();\n return this.http.delete<BatchDeleteSecretsResponse>(\n \"/api/v4/secrets/batch\",\n params\n );\n }\n\n async move(params: MoveSecretsParams): Promise<MoveSecretsResponse> {\n this.requireAuth();\n return this.http.post<MoveSecretsResponse>(\n \"/api/v4/secrets/move\",\n params\n );\n }\n}\n","import { BaseResource } from \"./base\";\nimport type {\n CreateKmsKeyParams,\n CreateKmsKeyResponse,\n UpdateKmsKeyParams,\n UpdateKmsKeyResponse,\n DeleteKmsKeyParams,\n DeleteKmsKeyResponse,\n GetKmsKeyParams,\n GetKmsKeyResponse,\n ListKmsKeysParams,\n ListKmsKeysResponse,\n KmsEncryptParams,\n KmsEncryptResponse,\n KmsDecryptParams,\n KmsDecryptResponse,\n GetKmsKeyByNameParams,\n GetKmsKeyByNameResponse,\n GetKmsPublicKeyParams,\n GetKmsPublicKeyResponse,\n GetKmsPrivateKeyParams,\n GetKmsPrivateKeyResponse,\n ListKmsSigningAlgorithmsParams,\n ListKmsSigningAlgorithmsResponse,\n KmsSignParams,\n KmsSignResponse,\n KmsVerifyParams,\n KmsVerifyResponse,\n} from \"../types/kms\";\nimport type { HttpClient } from \"../http\";\nimport type { AuthState } from \"../auth-state\";\n\nexport class KmsResource extends BaseResource {\n constructor(http: HttpClient, authState: AuthState) {\n super(http, authState, \"kms\");\n }\n async createKey(params: CreateKmsKeyParams): Promise<CreateKmsKeyResponse> {\n this.requireAuth();\n return this.http.post<CreateKmsKeyResponse>(\n \"/api/v1/kms/keys\",\n params\n );\n }\n\n async updateKey(params: UpdateKmsKeyParams): Promise<UpdateKmsKeyResponse> {\n this.requireAuth();\n const { keyId, ...body } = params;\n return this.http.patch<UpdateKmsKeyResponse>(\n `/api/v1/kms/keys/${encodeURIComponent(keyId)}`,\n body\n );\n }\n\n async deleteKey(params: DeleteKmsKeyParams): Promise<DeleteKmsKeyResponse> {\n this.requireAuth();\n return this.http.delete<DeleteKmsKeyResponse>(\n `/api/v1/kms/keys/${encodeURIComponent(params.keyId)}`\n );\n }\n\n async getKey(params: GetKmsKeyParams): Promise<GetKmsKeyResponse> {\n this.requireAuth();\n return this.http.get<GetKmsKeyResponse>(\n `/api/v1/kms/keys/${encodeURIComponent(params.keyId)}`\n );\n }\n\n async listKeys(params: ListKmsKeysParams): Promise<ListKmsKeysResponse> {\n this.requireAuth();\n return this.http.get<ListKmsKeysResponse>(\n \"/api/v1/kms/keys\",\n { ...params } as Record<string, unknown>\n );\n }\n\n async encrypt(params: KmsEncryptParams): Promise<KmsEncryptResponse> {\n this.requireAuth();\n const { keyId, ...body } = params;\n return this.http.post<KmsEncryptResponse>(\n `/api/v1/kms/keys/${encodeURIComponent(keyId)}/encrypt`,\n body\n );\n }\n\n async decrypt(params: KmsDecryptParams): Promise<KmsDecryptResponse> {\n this.requireAuth();\n const { keyId, ...body } = params;\n return this.http.post<KmsDecryptResponse>(\n `/api/v1/kms/keys/${encodeURIComponent(keyId)}/decrypt`,\n body\n );\n }\n\n async getKeyByName(params: GetKmsKeyByNameParams): Promise<GetKmsKeyByNameResponse> {\n this.requireAuth();\n const { keyName, ...query } = params;\n return this.http.get<GetKmsKeyByNameResponse>(\n `/api/v1/kms/keys/key-name/${encodeURIComponent(keyName)}`,\n { ...query } as Record<string, unknown>\n );\n }\n\n async getPublicKey(params: GetKmsPublicKeyParams): Promise<GetKmsPublicKeyResponse> {\n this.requireAuth();\n return this.http.get<GetKmsPublicKeyResponse>(\n `/api/v1/kms/keys/${encodeURIComponent(params.keyId)}/public-key`\n );\n }\n\n async getPrivateKey(params: GetKmsPrivateKeyParams): Promise<GetKmsPrivateKeyResponse> {\n this.requireAuth();\n return this.http.get<GetKmsPrivateKeyResponse>(\n `/api/v1/kms/keys/${encodeURIComponent(params.keyId)}/private-key`\n );\n }\n\n async listSigningAlgorithms(params: ListKmsSigningAlgorithmsParams): Promise<ListKmsSigningAlgorithmsResponse> {\n this.requireAuth();\n return this.http.get<ListKmsSigningAlgorithmsResponse>(\n `/api/v1/kms/keys/${encodeURIComponent(params.keyId)}/signing-algorithms`\n );\n }\n\n async sign(params: KmsSignParams): Promise<KmsSignResponse> {\n this.requireAuth();\n const { keyId, ...body } = params;\n return this.http.post<KmsSignResponse>(\n `/api/v1/kms/keys/${encodeURIComponent(keyId)}/sign`,\n body\n );\n }\n\n async verify(params: KmsVerifyParams): Promise<KmsVerifyResponse> {\n this.requireAuth();\n const { keyId, ...body } = params;\n return this.http.post<KmsVerifyResponse>(\n `/api/v1/kms/keys/${encodeURIComponent(keyId)}/verify`,\n body\n );\n }\n}\n","import { BaseResource } from \"./base\";\nimport type {\n CreateIntegrationAuthParams,\n CreateIntegrationAuthResponse,\n GetIntegrationAuthParams,\n GetIntegrationAuthResponse,\n DeleteIntegrationAuthParams,\n DeleteIntegrationAuthResponse,\n ListIntegrationAuthParams,\n ListIntegrationAuthResponse,\n} from \"../types/integration-auth\";\nimport type { HttpClient } from \"../http\";\nimport type { AuthState } from \"../auth-state\";\n\nexport class IntegrationAuthResource extends BaseResource {\n constructor(http: HttpClient, authState: AuthState) {\n super(http, authState, \"integrationAuth\");\n }\n\n async create(params: CreateIntegrationAuthParams): Promise<CreateIntegrationAuthResponse> {\n this.requireAuth();\n return this.http.post<CreateIntegrationAuthResponse>(\n \"/api/v1/integration-auth/access-token\",\n params\n );\n }\n\n async get(params: GetIntegrationAuthParams): Promise<GetIntegrationAuthResponse> {\n this.requireAuth();\n return this.http.get<GetIntegrationAuthResponse>(\n `/api/v1/integration-auth/${encodeURIComponent(params.integrationAuthId)}`\n );\n }\n\n async delete(params: DeleteIntegrationAuthParams): Promise<DeleteIntegrationAuthResponse> {\n this.requireAuth();\n return this.http.delete<DeleteIntegrationAuthResponse>(\n `/api/v1/integration-auth/${encodeURIComponent(params.integrationAuthId)}`\n );\n }\n\n async list(params: ListIntegrationAuthParams): Promise<ListIntegrationAuthResponse> {\n this.requireAuth();\n return this.http.get<ListIntegrationAuthResponse>(\n \"/api/v1/integration-auth\",\n { ...params } as Record<string, unknown>\n );\n }\n}\n","import { BaseResource } from \"./base\";\nimport type {\n CreateAppConnectionParams,\n CreateAppConnectionResponse,\n UpdateAppConnectionParams,\n UpdateAppConnectionResponse,\n DeleteAppConnectionParams,\n DeleteAppConnectionResponse,\n GetAppConnectionParams,\n GetAppConnectionResponse,\n ListAppConnectionsParams,\n ListAppConnectionsResponse,\n GetAppConnectionByNameParams,\n GetAppConnectionByNameResponse,\n CheckAppConnectionAvailabilityParams,\n CheckAppConnectionAvailabilityResponse,\n ListAllAppConnectionsResponse,\n} from \"../types/app-connections\";\nimport type { HttpClient } from \"../http\";\nimport type { AuthState } from \"../auth-state\";\n\nexport class AppConnectionsResource extends BaseResource {\n constructor(http: HttpClient, authState: AuthState) {\n super(http, authState, \"appConnections\");\n }\n\n async create(params: CreateAppConnectionParams): Promise<CreateAppConnectionResponse> {\n this.requireAuth();\n const { app, ...body } = params;\n return this.http.post<CreateAppConnectionResponse>(\n `/api/v1/app-connections/${encodeURIComponent(app)}`,\n body\n );\n }\n\n async update(params: UpdateAppConnectionParams): Promise<UpdateAppConnectionResponse> {\n this.requireAuth();\n const { app, connectionId, ...body } = params;\n return this.http.patch<UpdateAppConnectionResponse>(\n `/api/v1/app-connections/${encodeURIComponent(app)}/${encodeURIComponent(connectionId)}`,\n body\n );\n }\n\n async delete(params: DeleteAppConnectionParams): Promise<DeleteAppConnectionResponse> {\n this.requireAuth();\n return this.http.delete<DeleteAppConnectionResponse>(\n `/api/v1/app-connections/${encodeURIComponent(params.app)}/${encodeURIComponent(params.connectionId)}`\n );\n }\n\n async get(params: GetAppConnectionParams): Promise<GetAppConnectionResponse> {\n this.requireAuth();\n return this.http.get<GetAppConnectionResponse>(\n `/api/v1/app-connections/${encodeURIComponent(params.app)}/${encodeURIComponent(params.connectionId)}`\n );\n }\n\n async list(params: ListAppConnectionsParams): Promise<ListAppConnectionsResponse> {\n this.requireAuth();\n return this.http.get<ListAppConnectionsResponse>(\n `/api/v1/app-connections/${encodeURIComponent(params.app)}`\n );\n }\n\n async getByName(params: GetAppConnectionByNameParams): Promise<GetAppConnectionByNameResponse> {\n this.requireAuth();\n return this.http.get<GetAppConnectionByNameResponse>(\n `/api/v1/app-connections/${encodeURIComponent(params.app)}/connection-name/${encodeURIComponent(params.connectionName)}`\n );\n }\n\n async checkAvailability(params: CheckAppConnectionAvailabilityParams): Promise<CheckAppConnectionAvailabilityResponse> {\n this.requireAuth();\n return this.http.get<CheckAppConnectionAvailabilityResponse>(\n `/api/v1/app-connections/${encodeURIComponent(params.app)}/available`\n );\n }\n\n async listAll(): Promise<ListAllAppConnectionsResponse> {\n this.requireAuth();\n return this.http.get<ListAllAppConnectionsResponse>(\n \"/api/v1/app-connections/list\"\n );\n }\n}\n","import { BaseResource } from \"./base\";\nimport type { HttpClient } from \"../http\";\nimport type { AuthState } from \"../auth-state\";\nimport type {\n CreateSecretSyncParams,\n CreateSecretSyncResponse,\n UpdateSecretSyncParams,\n UpdateSecretSyncResponse,\n DeleteSecretSyncParams,\n DeleteSecretSyncResponse,\n GetSecretSyncParams,\n GetSecretSyncResponse,\n ListSecretSyncsParams,\n ListSecretSyncsResponse,\n TriggerSecretSyncParams,\n TriggerSecretSyncResponse,\n ImportSecretSyncParams,\n ImportSecretSyncResponse,\n RemoveSecretSyncSecretsParams,\n RemoveSecretSyncSecretsResponse,\n GetSecretSyncByNameParams,\n GetSecretSyncByNameResponse,\n} from \"../types/secret-syncs\";\n\nexport class SecretSyncsResource extends BaseResource {\n constructor(http: HttpClient, authState: AuthState) {\n super(http, authState, \"secretSyncs\");\n }\n async create(params: CreateSecretSyncParams): Promise<CreateSecretSyncResponse> {\n this.requireAuth();\n const { destination, ...body } = params;\n return this.http.post<CreateSecretSyncResponse>(\n `/api/v1/secret-syncs/${encodeURIComponent(destination)}`,\n body\n );\n }\n\n async update(params: UpdateSecretSyncParams): Promise<UpdateSecretSyncResponse> {\n this.requireAuth();\n const { destination, syncId, ...body } = params;\n return this.http.patch<UpdateSecretSyncResponse>(\n `/api/v1/secret-syncs/${encodeURIComponent(destination)}/${encodeURIComponent(syncId)}`,\n body\n );\n }\n\n async delete(params: DeleteSecretSyncParams): Promise<DeleteSecretSyncResponse> {\n this.requireAuth();\n const { destination, syncId, ...body } = params;\n return this.http.delete<DeleteSecretSyncResponse>(\n `/api/v1/secret-syncs/${encodeURIComponent(destination)}/${encodeURIComponent(syncId)}`,\n body\n );\n }\n\n async get(params: GetSecretSyncParams): Promise<GetSecretSyncResponse> {\n this.requireAuth();\n return this.http.get<GetSecretSyncResponse>(\n `/api/v1/secret-syncs/${encodeURIComponent(params.destination)}/${encodeURIComponent(params.syncId)}`\n );\n }\n\n async list(params: ListSecretSyncsParams): Promise<ListSecretSyncsResponse> {\n this.requireAuth();\n const { destination, ...query } = params;\n return this.http.get<ListSecretSyncsResponse>(\n `/api/v1/secret-syncs/${encodeURIComponent(destination)}`,\n { ...query } as Record<string, unknown>\n );\n }\n\n async trigger(params: TriggerSecretSyncParams): Promise<TriggerSecretSyncResponse> {\n this.requireAuth();\n return this.http.post<TriggerSecretSyncResponse>(\n `/api/v1/secret-syncs/${encodeURIComponent(params.destination)}/${encodeURIComponent(params.syncId)}/sync`\n );\n }\n\n async importSecrets(params: ImportSecretSyncParams): Promise<ImportSecretSyncResponse> {\n this.requireAuth();\n return this.http.post<ImportSecretSyncResponse>(\n `/api/v1/secret-syncs/${encodeURIComponent(params.destination)}/${encodeURIComponent(params.syncId)}/import-secrets`\n );\n }\n\n async removeSecrets(params: RemoveSecretSyncSecretsParams): Promise<RemoveSecretSyncSecretsResponse> {\n this.requireAuth();\n return this.http.post<RemoveSecretSyncSecretsResponse>(\n `/api/v1/secret-syncs/${encodeURIComponent(params.destination)}/${encodeURIComponent(params.syncId)}/remove-secrets`\n );\n }\n\n async getByName(params: GetSecretSyncByNameParams): Promise<GetSecretSyncByNameResponse> {\n this.requireAuth();\n return this.http.get<GetSecretSyncByNameResponse>(\n `/api/v1/secret-syncs/${encodeURIComponent(params.destination)}/sync-name/${encodeURIComponent(params.syncName)}`\n );\n }\n}\n","import { BaseResource } from \"./base\";\nimport type {\n BootstrapInstanceParams,\n BootstrapInstanceResponse,\n AdminSignUpParams,\n AdminSignUpResponse,\n GetAdminConfigResponse,\n UpdateAdminConfigParams,\n UpdateAdminConfigResponse,\n ListAdminUsersParams,\n ListAdminUsersResponse,\n DeleteAdminUserParams,\n DeleteAdminUserResponse,\n DeleteAdminUsersParams,\n DeleteAdminUsersResponse,\n GrantAdminAccessParams,\n GrantAdminAccessResponse,\n RevokeAdminAccessParams,\n RevokeAdminAccessResponse,\n ListAdminOrganizationsParams,\n ListAdminOrganizationsResponse,\n CreateAdminOrganizationParams,\n CreateAdminOrganizationResponse,\n DeleteAdminOrganizationParams,\n DeleteAdminOrganizationResponse,\n DeleteAdminOrgMembershipParams,\n DeleteAdminOrgMembershipResponse,\n ResendOrgInviteParams,\n ResendOrgInviteResponse,\n JoinOrganizationParams,\n JoinOrganizationResponse,\n ListAdminIdentitiesParams,\n ListAdminIdentitiesResponse,\n GrantIdentitySuperAdminParams,\n GrantIdentitySuperAdminResponse,\n RevokeIdentitySuperAdminParams,\n RevokeIdentitySuperAdminResponse,\n GetAdminIntegrationsResponse,\n GetEncryptionStrategiesResponse,\n UpdateEncryptionStrategyParams,\n UpdateEncryptionStrategyResponse,\n GetEnvOverridesResponse,\n InvalidateCacheParams,\n InvalidateCacheResponse,\n GetCacheStatusResponse,\n GenerateUsageReportResponse,\n} from \"../types/admin\";\nimport type { HttpClient } from \"../http\";\nimport type { AuthState } from \"../auth-state\";\n\nexport class AdminResource extends BaseResource {\n constructor(http: HttpClient, authState: AuthState) {\n super(http, authState, \"admin\");\n }\n // Bootstrap & Signup\n\n async bootstrap(params: BootstrapInstanceParams): Promise<BootstrapInstanceResponse> {\n return this.http.postNoAuth<BootstrapInstanceResponse>(\"/api/v1/admin/bootstrap\", params);\n }\n\n async signup(params: AdminSignUpParams): Promise<AdminSignUpResponse> {\n this.requireAuth();\n return this.http.post<AdminSignUpResponse>(\"/api/v1/admin/signup\", params);\n }\n\n // Config\n\n async getConfig(): Promise<GetAdminConfigResponse> {\n this.requireAuth();\n return this.http.get<GetAdminConfigResponse>(\"/api/v1/admin/config\");\n }\n\n async updateConfig(params: UpdateAdminConfigParams): Promise<UpdateAdminConfigResponse> {\n this.requireAuth();\n return this.http.patch<UpdateAdminConfigResponse>(\"/api/v1/admin/config\", params);\n }\n\n // User Management\n\n async listUsers(params?: ListAdminUsersParams): Promise<ListAdminUsersResponse> {\n this.requireAuth();\n return this.http.get<ListAdminUsersResponse>(\n \"/api/v1/admin/user-management/users\",\n { ...params } as Record<string, unknown>\n );\n }\n\n async deleteUser(params: DeleteAdminUserParams): Promise<DeleteAdminUserResponse> {\n this.requireAuth();\n return this.http.delete<DeleteAdminUserResponse>(\n `/api/v1/admin/user-management/users/${encodeURIComponent(params.userId)}`\n );\n }\n\n async deleteUsers(params: DeleteAdminUsersParams): Promise<DeleteAdminUsersResponse> {\n this.requireAuth();\n return this.http.delete<DeleteAdminUsersResponse>(\n \"/api/v1/admin/user-management/users\",\n params\n );\n }\n\n async grantAdminAccess(params: GrantAdminAccessParams): Promise<GrantAdminAccessResponse> {\n this.requireAuth();\n return this.http.patch<GrantAdminAccessResponse>(\n `/api/v1/admin/user-management/users/${encodeURIComponent(params.userId)}/admin-access`\n );\n }\n\n async revokeAdminAccess(params: RevokeAdminAccessParams): Promise<RevokeAdminAccessResponse> {\n this.requireAuth();\n return this.http.delete<RevokeAdminAccessResponse>(\n `/api/v1/admin/user-management/users/${encodeURIComponent(params.userId)}/admin-access`\n );\n }\n\n // Organization Management\n\n async listOrganizations(params?: ListAdminOrganizationsParams): Promise<ListAdminOrganizationsResponse> {\n this.requireAuth();\n return this.http.get<ListAdminOrganizationsResponse>(\n \"/api/v1/admin/organization-management/organizations\",\n { ...params } as Record<string, unknown>\n );\n }\n\n async createOrganization(params: CreateAdminOrganizationParams): Promise<CreateAdminOrganizationResponse> {\n this.requireAuth();\n return this.http.post<CreateAdminOrganizationResponse>(\n \"/api/v1/admin/organization-management/organizations\",\n params\n );\n }\n\n async deleteOrganization(params: DeleteAdminOrganizationParams): Promise<DeleteAdminOrganizationResponse> {\n this.requireAuth();\n return this.http.delete<DeleteAdminOrganizationResponse>(\n `/api/v1/admin/organization-management/organizations/${encodeURIComponent(params.organizationId)}`\n );\n }\n\n async deleteOrgMembership(params: DeleteAdminOrgMembershipParams): Promise<DeleteAdminOrgMembershipResponse> {\n this.requireAuth();\n return this.http.delete<DeleteAdminOrgMembershipResponse>(\n `/api/v1/admin/organization-management/organizations/${encodeURIComponent(params.organizationId)}/memberships/${encodeURIComponent(params.membershipId)}`\n );\n }\n\n async resendOrgInvite(params: ResendOrgInviteParams): Promise<ResendOrgInviteResponse> {\n this.requireAuth();\n return this.http.post<ResendOrgInviteResponse>(\n `/api/v1/admin/organization-management/organizations/${encodeURIComponent(params.organizationId)}/memberships/${encodeURIComponent(params.membershipId)}/resend-invite`\n );\n }\n\n async joinOrganization(params: JoinOrganizationParams): Promise<JoinOrganizationResponse> {\n this.requireAuth();\n return this.http.post<JoinOrganizationResponse>(\n `/api/v1/admin/organization-management/organizations/${encodeURIComponent(params.organizationId)}/access`\n );\n }\n\n // Identity Management\n\n async listIdentities(params?: ListAdminIdentitiesParams): Promise<ListAdminIdentitiesResponse> {\n this.requireAuth();\n return this.http.get<ListAdminIdentitiesResponse>(\n \"/api/v1/admin/identity-management/identities\",\n { ...params } as Record<string, unknown>\n );\n }\n\n async grantIdentitySuperAdmin(params: GrantIdentitySuperAdminParams): Promise<GrantIdentitySuperAdminResponse> {\n this.requireAuth();\n return this.http.patch<GrantIdentitySuperAdminResponse>(\n `/api/v1/admin/identity-management/identities/${encodeURIComponent(params.identityId)}/super-admin-access`\n );\n }\n\n async revokeIdentitySuperAdmin(params: RevokeIdentitySuperAdminParams): Promise<RevokeIdentitySuperAdminResponse> {\n this.requireAuth();\n return this.http.delete<RevokeIdentitySuperAdminResponse>(\n `/api/v1/admin/identity-management/identities/${encodeURIComponent(params.identityId)}/super-admin-access`\n );\n }\n\n // Integrations\n\n async getIntegrations(): Promise<GetAdminIntegrationsResponse> {\n this.requireAuth();\n return this.http.get<GetAdminIntegrationsResponse>(\"/api/v1/admin/integrations\");\n }\n\n // Encryption\n\n async getEncryptionStrategies(): Promise<GetEncryptionStrategiesResponse> {\n this.requireAuth();\n return this.http.get<GetEncryptionStrategiesResponse>(\"/api/v1/admin/encryption-strategies\");\n }\n\n async updateEncryptionStrategy(params: UpdateEncryptionStrategyParams): Promise<UpdateEncryptionStrategyResponse> {\n this.requireAuth();\n return this.http.patch<UpdateEncryptionStrategyResponse>(\n \"/api/v1/admin/encryption-strategies\",\n params\n );\n }\n\n // Environment Overrides\n\n async getEnvOverrides(): Promise<GetEnvOverridesResponse> {\n this.requireAuth();\n return this.http.get<GetEnvOverridesResponse>(\"/api/v1/admin/env-overrides\");\n }\n\n // Cache\n\n async invalidateCache(params: InvalidateCacheParams): Promise<InvalidateCacheResponse> {\n this.requireAuth();\n return this.http.post<InvalidateCacheResponse>(\"/api/v1/admin/invalidate-cache\", params);\n }\n\n async getCacheStatus(): Promise<GetCacheStatusResponse> {\n this.requireAuth();\n return this.http.get<GetCacheStatusResponse>(\"/api/v1/admin/invalidating-cache-status\");\n }\n\n // Usage Report\n\n async generateUsageReport(): Promise<GenerateUsageReportResponse> {\n this.requireAuth();\n return this.http.post<GenerateUsageReportResponse>(\"/api/v1/admin/usage-report/generate\");\n }\n}\n","import { BaseResource } from \"./base\";\nimport type {\n ListOrgAdminProjectsParams,\n ListOrgAdminProjectsResponse,\n GrantOrgAdminProjectAccessParams,\n GrantOrgAdminProjectAccessResponse,\n} from \"../types/org-admin\";\nimport type { HttpClient } from \"../http\";\nimport type { AuthState } from \"../auth-state\";\n\nexport class OrgAdminResource extends BaseResource {\n constructor(http: HttpClient, authState: AuthState) {\n super(http, authState, \"orgAdmin\");\n }\n async listProjects(params?: ListOrgAdminProjectsParams): Promise<ListOrgAdminProjectsResponse> {\n this.requireAuth();\n return this.http.get<ListOrgAdminProjectsResponse>(\n \"/api/v1/org-admin/projects\",\n { ...params } as Record<string, unknown>\n );\n }\n\n async grantProjectAccess(params: GrantOrgAdminProjectAccessParams): Promise<GrantOrgAdminProjectAccessResponse> {\n this.requireAuth();\n return this.http.post<GrantOrgAdminProjectAccessResponse>(\n `/api/v1/org-admin/projects/${encodeURIComponent(params.projectId)}/grant-admin-access`\n );\n }\n}\n","export enum AuthMethod {\n EMAIL = \"email\",\n GOOGLE = \"google\",\n GITHUB = \"github\",\n GITLAB = \"gitlab\",\n}\n\nexport enum MfaMethod {\n EMAIL = \"email\",\n TOTP = \"totp\",\n WEBAUTHN = \"webauthn\",\n}\n\nexport enum OrgMembershipStatus {\n Accepted = \"accepted\",\n Invited = \"invited\",\n}\n\nexport enum OrgIdentityOrderBy {\n Name = \"name\",\n}\n\nexport enum OrderByDirection {\n ASC = \"asc\",\n DESC = \"desc\",\n}\n\nexport enum MfaSessionStatus {\n PENDING = \"pending\",\n VERIFIED = \"verified\",\n EXPIRED = \"expired\",\n}\n\nexport enum PkiAlertEventType {\n EXPIRING = \"expiring\",\n}\n\nexport enum PkiAlertChannelType {\n EMAIL = \"email\",\n WEBHOOK = \"webhook\",\n SLACK = \"slack\",\n PAGERDUTY = \"pagerduty\",\n}\n\nexport enum CertKeyUsage {\n DIGITAL_SIGNATURE = \"digitalSignature\",\n KEY_ENCIPHERMENT = \"keyEncipherment\",\n DATA_ENCIPHERMENT = \"dataEncipherment\",\n KEY_AGREEMENT = \"keyAgreement\",\n KEY_CERT_SIGN = \"keyCertSign\",\n CRL_SIGN = \"cRLSign\",\n NON_REPUDIATION = \"nonRepudiation\",\n ENCIPHER_ONLY = \"encipherOnly\",\n DECIPHER_ONLY = \"decipherOnly\",\n}\n\nexport enum CertExtendedKeyUsage {\n SERVER_AUTH = \"serverAuth\",\n CLIENT_AUTH = \"clientAuth\",\n CODE_SIGNING = \"codeSigning\",\n EMAIL_PROTECTION = \"emailProtection\",\n TIME_STAMPING = \"timeStamping\",\n OCSP_SIGNING = \"ocspSigning\",\n}\n\nexport enum CaType {\n INTERNAL = \"internal\",\n ACME = \"acme\",\n AZURE_AD_CS = \"azure-ad-cs\",\n}\n\nexport enum JwtSignatureAlgorithm {\n RS256 = \"RS256\",\n RS384 = \"RS384\",\n RS512 = \"RS512\",\n ES256 = \"ES256\",\n ES384 = \"ES384\",\n ES512 = \"ES512\",\n PS256 = \"PS256\",\n PS384 = \"PS384\",\n PS512 = \"PS512\",\n EdDSA = \"EdDSA\",\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAO,IAAM,oBAAN,cAAgC,MAAM;AAAA,EAClC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAET,YACE,SACA,SAMA;AACA,UAAM,OAAO;AACb,SAAK,OAAO;AACZ,SAAK,aAAa,QAAQ;AAC1B,SAAK,YAAY,QAAQ;AACzB,SAAK,YAAY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sBAAmB;AACnB,EAAAA,cAAA,uBAAoB;AACpB,EAAAA,cAAA,mBAAgB;AAChB,EAAAA,cAAA,mBAAgB;AAChB,EAAAA,cAAA,cAAW;AACX,EAAAA,cAAA,qBAAkB;AAClB,EAAAA,cAAA,mBAAgB;AAChB,EAAAA,cAAA,mBAAgB;AATN,SAAAA;AAAA,GAAA;AAYL,IAAK,uBAAL,kBAAKC,0BAAL;AACL,EAAAA,sBAAA,iBAAc;AACd,EAAAA,sBAAA,iBAAc;AACd,EAAAA,sBAAA,kBAAe;AACf,EAAAA,sBAAA,sBAAmB;AACnB,EAAAA,sBAAA,mBAAgB;AAChB,EAAAA,sBAAA,kBAAe;AANL,SAAAA;AAAA,GAAA;AASL,IAAK,SAAL,kBAAKC,YAAL;AACL,EAAAA,QAAA,cAAW;AACX,EAAAA,QAAA,UAAO;AACP,EAAAA,QAAA,iBAAc;AAHJ,SAAAA;AAAA,GAAA;AAML,IAAK,wBAAL,kBAAKC,2BAAL;AACL,EAAAA,uBAAA,WAAQ;AACR,EAAAA,uBAAA,WAAQ;AACR,EAAAA,uBAAA,WAAQ;AACR,EAAAA,uBAAA,WAAQ;AACR,EAAAA,uBAAA,WAAQ;AACR,EAAAA,uBAAA,WAAQ;AACR,EAAAA,uBAAA,WAAQ;AACR,EAAAA,uBAAA,WAAQ;AACR,EAAAA,uBAAA,WAAQ;AACR,EAAAA,uBAAA,WAAQ;AAVE,SAAAA;AAAA,GAAA;","names":["text","response","crossFetch","AuthMethod","MfaMethod","OrgMembershipStatus","OrgIdentityOrderBy","OrderByDirection","MfaSessionStatus","PkiAlertEventType","PkiAlertChannelType","CertKeyUsage","CertExtendedKeyUsage","CaType","JwtSignatureAlgorithm"]}
|