UNPKG

@sap-ai-sdk/ai-api

Version:

SAP Cloud SDK for AI is the official Software Development Kit (SDK) for **SAP AI Core**, **SAP Generative AI Hub**, and **Orchestration Service**.

71 lines 3.92 kB
import { OpenApiRequestBuilder } from '@sap-ai-sdk/core'; import type { BckndobjectStoreSecretStatusResponse, BckndobjectStoreSecretWithSensitiveDataRequestForPostCall, BckndobjectStoreSecretCreationResponse, BckndobjectStoreSecretStatus, BckndobjectStoreSecretWithSensitiveDataRequest, BckndobjectStoreSecretModificationResponse, BckndobjectStoreSecretDeletionResponse } from './schema/index.js'; /** * Representation of the 'ObjectStoreSecretApi'. * This API is part of the 'AI_CORE_API' service. */ export declare const ObjectStoreSecretApi: { _defaultBasePath: undefined; /** * Retrieve a list of metadata of the stored secrets. * * @param queryParameters - Object containing the following keys: $top, $skip, $count. * @param headerParameters - Object containing the following keys: Authorization, AI-Resource-Group. * @returns The request builder, use the `execute()` method to trigger the request. */ kubesubmitV4ObjectStoreSecretsQuery: (queryParameters?: { $top?: number; $skip?: number; $count?: boolean; }, headerParameters?: { Authorization?: string; "AI-Resource-Group"?: string; }) => OpenApiRequestBuilder<BckndobjectStoreSecretStatusResponse>; /** * Create a secret based on the configuration in the request body * * @param body - Request body. * @param headerParameters - Object containing the following keys: Authorization, AI-Resource-Group. * @returns The request builder, use the `execute()` method to trigger the request. */ kubesubmitV4ObjectStoreSecretsCreate: (body: BckndobjectStoreSecretWithSensitiveDataRequestForPostCall, headerParameters?: { Authorization?: string; "AI-Resource-Group"?: string; }) => OpenApiRequestBuilder<BckndobjectStoreSecretCreationResponse>; /** * This retrieves the metadata of the stored secret which match the parameter objectStoreName. * The fetched secret is constructed like objectStoreName-object-store-secret * The base64 encoded field for the stored secret is not returned. * * @param objectStoreName - Name of the object store for the secret. * @param headerParameters - Object containing the following keys: Authorization, AI-Resource-Group. * @returns The request builder, use the `execute()` method to trigger the request. */ kubesubmitV4ObjectStoreSecretsGet: (objectStoreName: string, headerParameters?: { Authorization?: string; "AI-Resource-Group"?: string; }) => OpenApiRequestBuilder<BckndobjectStoreSecretStatus>; /** * Update a secret with name of objectStoreName if it exists. * * @param objectStoreName - Name of the object store for the secret. * @param body - Request body. * @param headerParameters - Object containing the following keys: Authorization, AI-Resource-Group. * @returns The request builder, use the `execute()` method to trigger the request. */ kubesubmitV4ObjectStoreSecretsPatch: (objectStoreName: string, body: BckndobjectStoreSecretWithSensitiveDataRequest, headerParameters?: { Authorization?: string; "AI-Resource-Group"?: string; }) => OpenApiRequestBuilder<BckndobjectStoreSecretModificationResponse>; /** * Delete a secret with the name of objectStoreName if it exists. * @param objectStoreName - Name of the object store for the secret. * @param headerParameters - Object containing the following keys: Authorization, AI-Resource-Group. * @returns The request builder, use the `execute()` method to trigger the request. */ kubesubmitV4ObjectStoreSecretsDelete: (objectStoreName: string, headerParameters?: { Authorization?: string; "AI-Resource-Group"?: string; }) => OpenApiRequestBuilder<BckndobjectStoreSecretDeletionResponse>; }; //# sourceMappingURL=object-store-secret-api.d.ts.map