diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 10f99d6..23815b4 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -678,7 +678,6 @@ src/models/RekeyVerificationCancelResponse.ts src/models/RekeyVerificationReadProgressResponse.ts src/models/RekeyVerificationUpdateRequest.ts src/models/RekeyVerificationUpdateResponse.ts -src/models/ReleaseInfoReadReleaseInfoResponse.ts src/models/ReloadPluginsRequest.ts src/models/ReloadPluginsResponse.ts src/models/RemountRequest.ts @@ -703,7 +702,9 @@ src/models/SamlWriteTokenRequest.ts src/models/ScanReportRequest.ts src/models/ScepLoginRequest.ts src/models/ScepWriteRoleRoleRequest.ts +src/models/ScimUpdateClientLinkGroupRequest.ts src/models/ScimUpdateClientRequest.ts +src/models/ScimUpdateClientUnlinkGroupRequest.ts src/models/SealStatusResponse.ts src/models/SpiffeConfigureRequest.ts src/models/SpiffeConfigureResponse.ts @@ -936,7 +937,6 @@ src/models/UserpassLoginRequest.ts src/models/UserpassResetPasswordRequest.ts src/models/UserpassUpdatePoliciesRequest.ts src/models/UserpassWriteUserRequest.ts -src/models/VaultVersionsReadReadResponse.ts src/models/VersionHistoryResponse.ts src/models/WellKnownListLabels2Response.ts src/models/WellKnownListLabelsResponse.ts diff --git a/openapi.json b/openapi.json index 864de78..8d8fec0 100644 --- a/openapi.json +++ b/openapi.json @@ -11516,6 +11516,74 @@ } } }, + "/identity/scim/client/{client_name}/link-group": { + "parameters": [ + { + "name": "client_name", + "description": "Name of the SCIM client.", + "in": "path", + "schema": { + "type": "string" + }, + "required": true + } + ], + "post": { + "operationId": "scim-update-client-link-group", + "tags": [ + "identity" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ScimUpdateClientLinkGroupRequest" + } + } + } + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/identity/scim/client/{client_name}/unlink-group": { + "parameters": [ + { + "name": "client_name", + "description": "Name of the SCIM client.", + "in": "path", + "schema": { + "type": "string" + }, + "required": true + } + ], + "post": { + "operationId": "scim-update-client-unlink-group", + "tags": [ + "identity" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ScimUpdateClientUnlinkGroupRequest" + } + } + } + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, "/identity/scim/v2/Groups": { "x-vault-createSupported": true, "get": { @@ -19011,29 +19079,6 @@ } } }, - "/sys/release-info": { - "description": "Fetch release information", - "get": { - "summary": "Fetch release information from GitHub", - "description": "Returns parsed release information including breaking changes, new behavior, and known issues for each version.", - "operationId": "release-info-read-release-info", - "tags": [ - "system" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ReleaseInfoReadReleaseInfoResponse" - } - } - } - } - } - } - }, "/sys/remount": { "description": "Move the mount point of an already-mounted backend, within or across namespaces", "x-vault-sudo": true, @@ -22175,40 +22220,6 @@ } } }, - "/sys/vault-versions": { - "description": "Fetch available Vault versions", - "get": { - "summary": "Fetch available Vault versions from releases.hashicorp.com", - "description": "Returns deduplicated MAJOR.MINOR.PATCH version strings filtered by edition.", - "operationId": "vault-versions-read-read", - "tags": [ - "system" - ], - "parameters": [ - { - "name": "edition", - "description": "Edition to filter by. \"enterprise\" returns only \"+ent\" versions; \"community\" (default) returns only versions with no build metadata.", - "in": "query", - "schema": { - "type": "string", - "default": "community" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VaultVersionsReadReadResponse" - } - } - } - } - } - } - }, "/sys/version-history/": { "description": "List historical version changes sorted by installation time in ascending order.", "get": { @@ -59514,6 +59525,10 @@ "OauthResourceServerReadProfileResponse": { "type": "object", "properties": { + "actor_claim": { + "type": "string", + "description": "Optional claim to use as the actor identifier." + }, "audiences": { "type": "array", "description": "List of allowed audiences (aud claim).", @@ -59572,6 +59587,10 @@ "type": "string" } }, + "unique_id_claim": { + "type": "string", + "description": "Optional claim to use as the unique identifier for the JWT claim." + }, "use_jwks": { "type": "boolean", "description": "If true, use JWKS URI for key validation profile names." @@ -59585,6 +59604,11 @@ "OauthResourceServerUpdateProfileRequest": { "type": "object", "properties": { + "actor_claim": { + "type": "string", + "description": "Optional claim to use as the actor identifier.", + "default": "act" + }, "audiences": { "type": "array", "description": "List of allowed audiences (aud claim).", @@ -59641,6 +59665,11 @@ "type": "string" } }, + "unique_id_claim": { + "type": "string", + "description": "Optional unique identifier for the JWT claim.", + "default": "jti" + }, "use_jwks": { "type": "boolean", "description": "If true, use JWKS URI for key validation; if false, use static public keys.", @@ -75621,18 +75650,6 @@ } } }, - "ReleaseInfoReadReleaseInfoResponse": { - "type": "object", - "properties": { - "versions": { - "type": "array", - "description": "Array of version information objects containing breaking changes, new behavior, known issues, and rollback steps", - "items": { - "type": "object" - } - } - } - }, "ReloadPluginsRequest": { "type": "object", "properties": { @@ -76321,6 +76338,15 @@ } } }, + "ScimUpdateClientLinkGroupRequest": { + "type": "object", + "properties": { + "group_id": { + "type": "string", + "description": "Vault group ID to link to the SCIM client." + } + } + }, "ScimUpdateClientRequest": { "type": "object", "properties": { @@ -76338,6 +76364,15 @@ } } }, + "ScimUpdateClientUnlinkGroupRequest": { + "type": "object", + "properties": { + "group_id": { + "type": "string", + "description": "Vault group ID to unlink from the SCIM client." + } + } + }, "SealStatusResponse": { "type": "object", "properties": { @@ -83334,18 +83369,6 @@ } } }, - "VaultVersionsReadReadResponse": { - "type": "object", - "properties": { - "versions": { - "type": "array", - "description": "Sorted array of Vault version strings matching the requested edition", - "items": { - "type": "object" - } - } - } - }, "VersionHistoryResponse": { "type": "object", "properties": { diff --git a/src/apis/IdentityApi.ts b/src/apis/IdentityApi.ts index 579ce3b..9a77cf1 100644 --- a/src/apis/IdentityApi.ts +++ b/src/apis/IdentityApi.ts @@ -75,7 +75,9 @@ import type { PatchRequest, PersonaCreateRequest, PersonaUpdateByIdRequest, + ScimUpdateClientLinkGroupRequest, ScimUpdateClientRequest, + ScimUpdateClientUnlinkGroupRequest, StandardListResponse, TpmCreateRequest, TpmUpdateByIdRequest, @@ -198,8 +200,12 @@ import { PersonaCreateRequestToJSON, PersonaUpdateByIdRequestFromJSON, PersonaUpdateByIdRequestToJSON, + ScimUpdateClientLinkGroupRequestFromJSON, + ScimUpdateClientLinkGroupRequestToJSON, ScimUpdateClientRequestFromJSON, ScimUpdateClientRequestToJSON, + ScimUpdateClientUnlinkGroupRequestFromJSON, + ScimUpdateClientUnlinkGroupRequestToJSON, StandardListResponseFromJSON, StandardListResponseToJSON, TpmCreateRequestFromJSON, @@ -809,6 +815,16 @@ export interface IdentityApiScimUpdateClientOperationRequest { ScimUpdateClientRequest: ScimUpdateClientRequest; } +export interface IdentityApiScimUpdateClientLinkGroupOperationRequest { + client_name: string; + ScimUpdateClientLinkGroupRequest: ScimUpdateClientLinkGroupRequest; +} + +export interface IdentityApiScimUpdateClientUnlinkGroupOperationRequest { + client_name: string; + ScimUpdateClientUnlinkGroupRequest: ScimUpdateClientUnlinkGroupRequest; +} + export interface IdentityApiTpmCreateOperationRequest { TpmCreateRequest: TpmCreateRequest; } @@ -6123,6 +6139,90 @@ export class IdentityApi extends runtime.BaseAPI { return await response.value(); } + /** + */ + async scimUpdateClientLinkGroupRaw(requestParameters: IdentityApiScimUpdateClientLinkGroupOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + if (requestParameters['client_name'] == null) { + throw new runtime.RequiredError( + 'client_name', + 'Required parameter "client_name" was null or undefined when calling scimUpdateClientLinkGroup().' + ); + } + + if (requestParameters['ScimUpdateClientLinkGroupRequest'] == null) { + throw new runtime.RequiredError( + 'ScimUpdateClientLinkGroupRequest', + 'Required parameter "ScimUpdateClientLinkGroupRequest" was null or undefined when calling scimUpdateClientLinkGroup().' + ); + } + + const queryParameters: any = {}; + + const headerParameters: runtime.HTTPHeaders = {}; + + headerParameters['Content-Type'] = 'application/json'; + + const builtPath = `/identity/scim/client/{client_name}/link-group`.replace(`{${"client_name"}}`, encodeURIComponent(String(requestParameters['client_name']).replace(/\/+$/, ''))); + const response = await this.request({ + path: builtPath.replace(/\/\/+/g, '/'), + method: 'POST', + headers: headerParameters, + query: queryParameters, + body: ScimUpdateClientLinkGroupRequestToJSON(requestParameters['ScimUpdateClientLinkGroupRequest']), + }, initOverrides); + + return new runtime.VoidApiResponse(response); + } + + /** + */ + async scimUpdateClientLinkGroup(client_name: string, ScimUpdateClientLinkGroupRequest: ScimUpdateClientLinkGroupRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + const response = await this.scimUpdateClientLinkGroupRaw({ client_name: client_name, ScimUpdateClientLinkGroupRequest: ScimUpdateClientLinkGroupRequest }, initOverrides); + return await response.value(); + } + + /** + */ + async scimUpdateClientUnlinkGroupRaw(requestParameters: IdentityApiScimUpdateClientUnlinkGroupOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + if (requestParameters['client_name'] == null) { + throw new runtime.RequiredError( + 'client_name', + 'Required parameter "client_name" was null or undefined when calling scimUpdateClientUnlinkGroup().' + ); + } + + if (requestParameters['ScimUpdateClientUnlinkGroupRequest'] == null) { + throw new runtime.RequiredError( + 'ScimUpdateClientUnlinkGroupRequest', + 'Required parameter "ScimUpdateClientUnlinkGroupRequest" was null or undefined when calling scimUpdateClientUnlinkGroup().' + ); + } + + const queryParameters: any = {}; + + const headerParameters: runtime.HTTPHeaders = {}; + + headerParameters['Content-Type'] = 'application/json'; + + const builtPath = `/identity/scim/client/{client_name}/unlink-group`.replace(`{${"client_name"}}`, encodeURIComponent(String(requestParameters['client_name']).replace(/\/+$/, ''))); + const response = await this.request({ + path: builtPath.replace(/\/\/+/g, '/'), + method: 'POST', + headers: headerParameters, + query: queryParameters, + body: ScimUpdateClientUnlinkGroupRequestToJSON(requestParameters['ScimUpdateClientUnlinkGroupRequest']), + }, initOverrides); + + return new runtime.VoidApiResponse(response); + } + + /** + */ + async scimUpdateClientUnlinkGroup(client_name: string, ScimUpdateClientUnlinkGroupRequest: ScimUpdateClientUnlinkGroupRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { + const response = await this.scimUpdateClientUnlinkGroupRaw({ client_name: client_name, ScimUpdateClientUnlinkGroupRequest: ScimUpdateClientUnlinkGroupRequest }, initOverrides); + return await response.value(); + } + /** */ async tpmCreateRaw(requestParameters: IdentityApiTpmCreateOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { diff --git a/src/apis/SystemApi.ts b/src/apis/SystemApi.ts index 9fa992d..ebb841e 100644 --- a/src/apis/SystemApi.ts +++ b/src/apis/SystemApi.ts @@ -156,7 +156,6 @@ import type { RekeyVerificationReadProgressResponse, RekeyVerificationUpdateRequest, RekeyVerificationUpdateResponse, - ReleaseInfoReadReleaseInfoResponse, ReloadPluginsRequest, ReloadPluginsResponse, RemountRequest, @@ -300,7 +299,6 @@ import type { UnsealRequest, UnsealResponse, UnwrapRequest, - VaultVersionsReadReadResponse, VersionHistoryResponse, WellKnownListLabels2Response, WellKnownListLabelsResponse, @@ -581,8 +579,6 @@ import { RekeyVerificationUpdateRequestToJSON, RekeyVerificationUpdateResponseFromJSON, RekeyVerificationUpdateResponseToJSON, - ReleaseInfoReadReleaseInfoResponseFromJSON, - ReleaseInfoReadReleaseInfoResponseToJSON, ReloadPluginsRequestFromJSON, ReloadPluginsRequestToJSON, ReloadPluginsResponseFromJSON, @@ -869,8 +865,6 @@ import { UnsealResponseToJSON, UnwrapRequestFromJSON, UnwrapRequestToJSON, - VaultVersionsReadReadResponseFromJSON, - VaultVersionsReadReadResponseToJSON, VersionHistoryResponseFromJSON, VersionHistoryResponseToJSON, WellKnownListLabels2ResponseFromJSON, @@ -2093,10 +2087,6 @@ export interface SystemApiUnwrapOperationRequest { UnwrapRequest: UnwrapRequest; } -export interface SystemApiVaultVersionsReadReadRequest { - edition?: string; -} - export interface SystemApiVersionHistoryRequest { list: SystemApiVersionHistoryListEnum; } @@ -8765,35 +8755,6 @@ export class SystemApi extends runtime.BaseAPI { return await response.value(); } - /** - * Returns parsed release information including breaking changes, new behavior, and known issues for each version. - * Fetch release information from GitHub - */ - async releaseInfoReadReleaseInfoRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { - const queryParameters: any = {}; - - const headerParameters: runtime.HTTPHeaders = {}; - - const builtPath = `/sys/release-info`; - const response = await this.request({ - path: builtPath.replace(/\/\/+/g, '/'), - method: 'GET', - headers: headerParameters, - query: queryParameters, - }, initOverrides); - - return new runtime.JSONApiResponse(response, (jsonValue) => ReleaseInfoReadReleaseInfoResponseFromJSON(jsonValue)); - } - - /** - * Returns parsed release information including breaking changes, new behavior, and known issues for each version. - * Fetch release information from GitHub - */ - async releaseInfoReadReleaseInfo(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { - const response = await this.releaseInfoReadReleaseInfoRaw(initOverrides); - return await response.value(); - } - /** * Reload all plugins of a specific name and type across all namespaces. If \"scope\" is provided and is \"global\", the plugin is reloaded across all nodes and clusters. If a new plugin version has been pinned, this will ensure all instances start using the new version. * Reload all instances of a specific plugin. @@ -15721,39 +15682,6 @@ export class SystemApi extends runtime.BaseAPI { return await response.value(); } - /** - * Returns deduplicated MAJOR.MINOR.PATCH version strings filtered by edition. - * Fetch available Vault versions from releases.hashicorp.com - */ - async vaultVersionsReadReadRaw(requestParameters: SystemApiVaultVersionsReadReadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { - const queryParameters: any = {}; - - if (requestParameters['edition'] != null) { - queryParameters['edition'] = requestParameters['edition']; - } - - const headerParameters: runtime.HTTPHeaders = {}; - - const builtPath = `/sys/vault-versions`; - const response = await this.request({ - path: builtPath.replace(/\/\/+/g, '/'), - method: 'GET', - headers: headerParameters, - query: queryParameters, - }, initOverrides); - - return new runtime.JSONApiResponse(response, (jsonValue) => VaultVersionsReadReadResponseFromJSON(jsonValue)); - } - - /** - * Returns deduplicated MAJOR.MINOR.PATCH version strings filtered by edition. - * Fetch available Vault versions from releases.hashicorp.com - */ - async vaultVersionsReadRead(edition?: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { - const response = await this.vaultVersionsReadReadRaw({ edition: edition }, initOverrides); - return await response.value(); - } - /** * Returns map of historical version change entries */ diff --git a/src/models/OauthResourceServerReadProfileResponse.ts b/src/models/OauthResourceServerReadProfileResponse.ts index 933152a..f76cc16 100644 --- a/src/models/OauthResourceServerReadProfileResponse.ts +++ b/src/models/OauthResourceServerReadProfileResponse.ts @@ -23,6 +23,12 @@ import { mapValues } from '../runtime'; * @interface OauthResourceServerReadProfileResponse */ export interface OauthResourceServerReadProfileResponse { + /** + * Optional claim to use as the actor identifier. + * @type {string} + * @memberof OauthResourceServerReadProfileResponse + */ + actor_claim?: string; /** * List of allowed audiences (aud claim). * @type {Array} @@ -95,6 +101,12 @@ export interface OauthResourceServerReadProfileResponse { * @memberof OauthResourceServerReadProfileResponse */ supported_algorithms?: Array; + /** + * Optional claim to use as the unique identifier for the JWT claim. + * @type {string} + * @memberof OauthResourceServerReadProfileResponse + */ + unique_id_claim?: string; /** * If true, use JWKS URI for key validation profile names. * @type {boolean} @@ -126,6 +138,7 @@ export function OauthResourceServerReadProfileResponseFromJSONTyped(json: any, i } return { + 'actor_claim': json['actor_claim'] == null ? undefined : json['actor_claim'], 'audiences': json['audiences'] == null ? undefined : json['audiences'], 'clock_skew_leeway': json['clock_skew_leeway'] == null ? undefined : json['clock_skew_leeway'], 'config_id': json['config_id'] == null ? undefined : json['config_id'], @@ -138,6 +151,7 @@ export function OauthResourceServerReadProfileResponseFromJSONTyped(json: any, i 'profile_name': json['profile_name'] == null ? undefined : json['profile_name'], 'public_keys': json['public_keys'] == null ? undefined : json['public_keys'], 'supported_algorithms': json['supported_algorithms'] == null ? undefined : json['supported_algorithms'], + 'unique_id_claim': json['unique_id_claim'] == null ? undefined : json['unique_id_claim'], 'use_jwks': json['use_jwks'] == null ? undefined : json['use_jwks'], 'user_claim': json['user_claim'] == null ? undefined : json['user_claim'], }; @@ -154,6 +168,7 @@ export function OauthResourceServerReadProfileResponseToJSONTyped(value?: OauthR return { + 'actor_claim': value['actor_claim'], 'audiences': value['audiences'], 'clock_skew_leeway': value['clock_skew_leeway'], 'config_id': value['config_id'], @@ -166,6 +181,7 @@ export function OauthResourceServerReadProfileResponseToJSONTyped(value?: OauthR 'profile_name': value['profile_name'], 'public_keys': value['public_keys'], 'supported_algorithms': value['supported_algorithms'], + 'unique_id_claim': value['unique_id_claim'], 'use_jwks': value['use_jwks'], 'user_claim': value['user_claim'], }; diff --git a/src/models/OauthResourceServerUpdateProfileRequest.ts b/src/models/OauthResourceServerUpdateProfileRequest.ts index 9c2d26d..208e590 100644 --- a/src/models/OauthResourceServerUpdateProfileRequest.ts +++ b/src/models/OauthResourceServerUpdateProfileRequest.ts @@ -23,6 +23,12 @@ import { mapValues } from '../runtime'; * @interface OauthResourceServerUpdateProfileRequest */ export interface OauthResourceServerUpdateProfileRequest { + /** + * Optional claim to use as the actor identifier. + * @type {string} + * @memberof OauthResourceServerUpdateProfileRequest + */ + actor_claim?: string; /** * List of allowed audiences (aud claim). * @type {Array} @@ -89,6 +95,12 @@ export interface OauthResourceServerUpdateProfileRequest { * @memberof OauthResourceServerUpdateProfileRequest */ supported_algorithms?: Array; + /** + * Optional unique identifier for the JWT claim. + * @type {string} + * @memberof OauthResourceServerUpdateProfileRequest + */ + unique_id_claim?: string; /** * If true, use JWKS URI for key validation; if false, use static public keys. * @type {boolean} @@ -121,6 +133,7 @@ export function OauthResourceServerUpdateProfileRequestFromJSONTyped(json: any, } return { + 'actor_claim': json['actor_claim'] == null ? undefined : json['actor_claim'], 'audiences': json['audiences'] == null ? undefined : json['audiences'], 'clock_skew_leeway': json['clock_skew_leeway'] == null ? undefined : json['clock_skew_leeway'], 'enabled': json['enabled'] == null ? undefined : json['enabled'], @@ -132,6 +145,7 @@ export function OauthResourceServerUpdateProfileRequestFromJSONTyped(json: any, 'optional_authorization_details': json['optional_authorization_details'] == null ? undefined : json['optional_authorization_details'], 'public_keys': json['public_keys'] == null ? undefined : json['public_keys'], 'supported_algorithms': json['supported_algorithms'] == null ? undefined : json['supported_algorithms'], + 'unique_id_claim': json['unique_id_claim'] == null ? undefined : json['unique_id_claim'], 'use_jwks': json['use_jwks'] == null ? undefined : json['use_jwks'], 'user_claim': json['user_claim'] == null ? undefined : json['user_claim'], }; @@ -148,6 +162,7 @@ export function OauthResourceServerUpdateProfileRequestToJSONTyped(value?: Oauth return { + 'actor_claim': value['actor_claim'], 'audiences': value['audiences'], 'clock_skew_leeway': value['clock_skew_leeway'], 'enabled': value['enabled'], @@ -159,6 +174,7 @@ export function OauthResourceServerUpdateProfileRequestToJSONTyped(value?: Oauth 'optional_authorization_details': value['optional_authorization_details'], 'public_keys': value['public_keys'], 'supported_algorithms': value['supported_algorithms'], + 'unique_id_claim': value['unique_id_claim'], 'use_jwks': value['use_jwks'], 'user_claim': value['user_claim'], }; diff --git a/src/models/ScimUpdateClientLinkGroupRequest.ts b/src/models/ScimUpdateClientLinkGroupRequest.ts new file mode 100644 index 0000000..80116a6 --- /dev/null +++ b/src/models/ScimUpdateClientLinkGroupRequest.ts @@ -0,0 +1,69 @@ +/** + * Copyright IBM Corp. 2025, 2026 + */ + +/* tslint:disable */ +/* eslint-disable */ +/** + * HashiCorp Vault API + * HTTP API that gives you full access to Vault. All API routes are prefixed with `/v1/`. + * + * The version of the OpenAPI document: 2.2.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { mapValues } from '../runtime'; +/** + * + * @export + * @interface ScimUpdateClientLinkGroupRequest + */ +export interface ScimUpdateClientLinkGroupRequest { + /** + * Vault group ID to link to the SCIM client. + * @type {string} + * @memberof ScimUpdateClientLinkGroupRequest + */ + group_id?: string; +} + +/** + * Check if a given object implements the ScimUpdateClientLinkGroupRequest interface. + */ +export function instanceOfScimUpdateClientLinkGroupRequest(value: object): value is ScimUpdateClientLinkGroupRequest { + return true; +} + +export function ScimUpdateClientLinkGroupRequestFromJSON(json: any): ScimUpdateClientLinkGroupRequest { + return ScimUpdateClientLinkGroupRequestFromJSONTyped(json, false); +} + +export function ScimUpdateClientLinkGroupRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScimUpdateClientLinkGroupRequest { + if (json == null) { + return json; + } + return { + + 'group_id': json['group_id'] == null ? undefined : json['group_id'], + }; +} + +export function ScimUpdateClientLinkGroupRequestToJSON(json: any): ScimUpdateClientLinkGroupRequest { + return ScimUpdateClientLinkGroupRequestToJSONTyped(json, false); +} + +export function ScimUpdateClientLinkGroupRequestToJSONTyped(value?: ScimUpdateClientLinkGroupRequest | null, ignoreDiscriminator: boolean = false): any { + if (value == null) { + return value; + } + + return { + + 'group_id': value['group_id'], + }; +} + diff --git a/src/models/ScimUpdateClientUnlinkGroupRequest.ts b/src/models/ScimUpdateClientUnlinkGroupRequest.ts new file mode 100644 index 0000000..7150228 --- /dev/null +++ b/src/models/ScimUpdateClientUnlinkGroupRequest.ts @@ -0,0 +1,69 @@ +/** + * Copyright IBM Corp. 2025, 2026 + */ + +/* tslint:disable */ +/* eslint-disable */ +/** + * HashiCorp Vault API + * HTTP API that gives you full access to Vault. All API routes are prefixed with `/v1/`. + * + * The version of the OpenAPI document: 2.2.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { mapValues } from '../runtime'; +/** + * + * @export + * @interface ScimUpdateClientUnlinkGroupRequest + */ +export interface ScimUpdateClientUnlinkGroupRequest { + /** + * Vault group ID to unlink from the SCIM client. + * @type {string} + * @memberof ScimUpdateClientUnlinkGroupRequest + */ + group_id?: string; +} + +/** + * Check if a given object implements the ScimUpdateClientUnlinkGroupRequest interface. + */ +export function instanceOfScimUpdateClientUnlinkGroupRequest(value: object): value is ScimUpdateClientUnlinkGroupRequest { + return true; +} + +export function ScimUpdateClientUnlinkGroupRequestFromJSON(json: any): ScimUpdateClientUnlinkGroupRequest { + return ScimUpdateClientUnlinkGroupRequestFromJSONTyped(json, false); +} + +export function ScimUpdateClientUnlinkGroupRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScimUpdateClientUnlinkGroupRequest { + if (json == null) { + return json; + } + return { + + 'group_id': json['group_id'] == null ? undefined : json['group_id'], + }; +} + +export function ScimUpdateClientUnlinkGroupRequestToJSON(json: any): ScimUpdateClientUnlinkGroupRequest { + return ScimUpdateClientUnlinkGroupRequestToJSONTyped(json, false); +} + +export function ScimUpdateClientUnlinkGroupRequestToJSONTyped(value?: ScimUpdateClientUnlinkGroupRequest | null, ignoreDiscriminator: boolean = false): any { + if (value == null) { + return value; + } + + return { + + 'group_id': value['group_id'], + }; +} + diff --git a/src/models/index.ts b/src/models/index.ts index 0f65676..8d071bb 100644 --- a/src/models/index.ts +++ b/src/models/index.ts @@ -676,7 +676,6 @@ export * from './RekeyVerificationCancelResponse'; export * from './RekeyVerificationReadProgressResponse'; export * from './RekeyVerificationUpdateRequest'; export * from './RekeyVerificationUpdateResponse'; -export * from './ReleaseInfoReadReleaseInfoResponse'; export * from './ReloadPluginsRequest'; export * from './ReloadPluginsResponse'; export * from './RemountRequest'; @@ -701,7 +700,9 @@ export * from './SamlWriteTokenRequest'; export * from './ScanReportRequest'; export * from './ScepLoginRequest'; export * from './ScepWriteRoleRoleRequest'; +export * from './ScimUpdateClientLinkGroupRequest'; export * from './ScimUpdateClientRequest'; +export * from './ScimUpdateClientUnlinkGroupRequest'; export * from './SealStatusResponse'; export * from './SpiffeConfigureRequest'; export * from './SpiffeConfigureResponse'; @@ -934,7 +935,6 @@ export * from './UserpassLoginRequest'; export * from './UserpassResetPasswordRequest'; export * from './UserpassUpdatePoliciesRequest'; export * from './UserpassWriteUserRequest'; -export * from './VaultVersionsReadReadResponse'; export * from './VersionHistoryResponse'; export * from './WellKnownListLabels2Response'; export * from './WellKnownListLabelsResponse';