import "../ApiClient-fBZ10h6n.mjs"; import "../WorkerGroupFallback-B6jAaIQG.mjs"; import "../WorkerGroup-COoO34xB.mjs"; import "../QueryFilterOp-I6iNIMKZ.mjs"; import "../PluginDefault-DXni4W8J.mjs"; import "../ApiSecretMeta-ijHZgXwR.mjs"; import "../ApiSecretTag-DKjl1cDS.mjs"; import { t as ApiSecretMetaEE_default } from "../ApiSecretMetaEE-MrYE9kOd.mjs"; import { t as ApiSecretListResponseApiSecretMeta_default } from "../ApiSecretListResponseApiSecretMeta-CsHb_uRa.mjs"; import "../ServiceType-aIzMRT54.mjs"; import "../Isolation-LwSzTA0F.mjs"; import "../NamespaceAllowedNamespace-CmLpc6Aj.mjs"; import "../NamespaceLight-CrWM7GWm.mjs"; import "../SDKAuth-B50OQGF_.mjs"; import { t as Namespace_default } from "../Namespace-D_vTm-7I.mjs"; import { t as NamespaceControllerApiInheritedPluginDefaultFromNamespace_default } from "../NamespaceControllerApiInheritedPluginDefaultFromNamespace-CtLPfYvN.mjs"; import { t as PagedResultsNamespace_default } from "../PagedResultsNamespace-CdBhFBIk.mjs"; import { t as IQueryFilter } from "../IQueryFilter-C0EgxMlb.mjs"; //#region src/api/NamespacesApi.d.ts /** * Namespaces service. * @module api/NamespacesApi */ declare class NamespacesApi { /** * Constructs a new NamespacesApi. * @alias module:api/NamespacesApi * @class * @param {module:ApiClient} [apiClient] Optional API client implementation to use, * default to {@link module:ApiClient#instance} if unspecified. */ constructor(apiClient?: any); apiClient: any; /** * List namespaces for autocomplete * Returns a list of namespaces for use in autocomplete fields, optionally allowing to filter by query and ids. Used especially for binding creation. * @param {String} tenant * @param {module:model/ApiAutocomplete} apiAutocomplete * @return {Promise< Array. >} */ autocompleteNamespacesWithHttpInfo(tenant: string, apiAutocomplete: any): Promise>; /** * List namespaces for autocomplete * Returns a list of namespaces for use in autocomplete fields, optionally allowing to filter by query and ids. Used especially for binding creation. * @param {String} tenant * @param {module:model/ApiAutocomplete} apiAutocomplete * @return {Promise< Array. >} */ autocompleteNamespaces(tenant: string, apiAutocomplete: any): Promise>; /** * Create a namespace * @param {String} tenant * @param {module:model/Namespace} namespace The namespace * @return {Promise} */ createNamespaceWithHttpInfo(tenant: string, namespace: any): Promise; /** * Create a namespace * @param {String} tenant * @param {module:model/Namespace} namespace The namespace * @return {Promise} */ createNamespace(tenant: string, namespace: any): Promise; /** * Delete a namespace * @param {String} id The namespace id * @param {String} tenant * @return {Promise< >} */ deleteNamespaceWithHttpInfo(id: string, tenant: string): Promise; /** * Delete a namespace * @param {String} id The namespace id * @param {String} tenant * @return {Promise< >} */ deleteNamespace(id: string, tenant: string): Promise; /** * Delete a secret for a namespace * @param {String} namespace The namespace id * @param {String} key The secret key * @param {String} tenant * @return {Promise< >} */ deleteSecretWithHttpInfo(namespace: string, key: string, tenant: string): Promise; /** * Delete a secret for a namespace * @param {String} namespace The namespace id * @param {String} key The secret key * @param {String} tenant * @return {Promise< >} */ deleteSecret(namespace: string, key: string, tenant: string): Promise; /** * Export this namespace plugin defaults * @param {String} id The namespace id * @param {String} tenant * @return {Promise< Blob >} */ exportPluginDefaultsWithHttpInfo(id: string, tenant: string): Promise; /** * Export this namespace plugin defaults * @param {String} id The namespace id * @param {String} tenant * @return {Promise< Blob >} */ exportPluginDefaults(id: string, tenant: string): Promise; /** * Import plugin defaults in this namespace * @param {String} id The namespace id * @param {String} tenant * @param {Object} opts Optional parameters * @param {File} [fileUpload] * @return {Promise< Array. >} */ importPluginDefaultsWithHttpInfo(id: string, tenant: string, opts: any): Promise>; /** * Import plugin defaults in this namespace * @param {String} id The namespace id * @param {String} tenant * @param {Object} [opts] Optional parameters * @param {File} [opts.fileUpload] * @return {Promise< Array. >} */ importPluginDefaults(id: string, tenant: string, opts?: { fileUpload?: File; }): Promise>; /** * List inherited plugin defaults * @param {String} id The namespace id * @param {String} tenant * @return {Promise>} */ inheritedPluginDefaultsWithHttpInfo(id: string, tenant: string): Promise>; /** * List inherited plugin defaults * @param {String} id The namespace id * @param {String} tenant * @return {Promise>} */ inheritedPluginDefaults(id: string, tenant: string): Promise>; /** * List inherited secrets * @param {String} namespace The namespace id * @param {String} tenant * @return {Promise< Object. >} */ inheritedSecretsWithHttpInfo(namespace: string, tenant: string): Promise; /** * List inherited secrets * @param {String} namespace The namespace id * @param {String} tenant * @return {Promise< Object. >} */ inheritedSecrets(namespace: string, tenant: string): Promise; /** * List inherited variables * @param {String} id The namespace id * @param {String} tenant * @return {Promise< Object. >} */ inheritedVariablesWithHttpInfo(id: string, tenant: string): Promise; /** * List inherited variables * @param {String} id The namespace id * @param {String} tenant * @return {Promise< Object. >} */ inheritedVariables(id: string, tenant: string): Promise; /** * Get secrets for a namespace * @param {String} namespace The namespace id * @param {Array.} filters Filters * @param {String} tenant * @param {Object} opts Optional parameters * @param {Number} [page = 1)] The current page * @param {Number} [size = 10)] The current page size * @param {Array.} [sort] The sort of current page * @return {Promise} */ listNamespaceSecretsWithHttpInfo(namespace: string, filters: Array, tenant: string, opts: any): Promise; /** * Get secrets for a namespace * @param {String} namespace The namespace id * @param {Array.} filters Filters * @param {String} tenant * @param {Object} [opts] Optional parameters * @param {Number} [opts.page (default to 1)] The current page * @param {Number} [opts.size (default to 10)] The current page size * @param {Array.} [opts.sort] The sort of current page * @return {Promise} */ listNamespaceSecrets(namespace: string, filters: Array, tenant: string, opts?: { page?: number; size?: number; sort?: Array; }): Promise; /** * Get a namespace * @param {String} id The namespace id * @param {String} tenant * @return {Promise} */ namespaceWithHttpInfo(id: string, tenant: string): Promise; /** * Get a namespace * @param {String} id The namespace id * @param {String} tenant * @return {Promise} */ namespace(id: string, tenant: string): Promise; /** * Patch a secret metadata for a namespace * @param {String} namespace The namespace id * @param {String} key The secret key * @param {String} tenant * @param {module:model/ApiSecretMetaEE} apiSecretMetaEE * @return {Promise>} */ patchSecretWithHttpInfo(namespace: string, key: string, tenant: string, apiSecretMetaEE: any): Promise>; /** * Patch a secret metadata for a namespace * @param {String} namespace The namespace id * @param {String} key The secret key * @param {String} tenant * @param {module:model/ApiSecretMetaEE} apiSecretMetaEE * @return {Promise>} */ patchSecret(namespace: string, key: string, tenant: string, apiSecretMetaEE: any): Promise>; /** * Update secrets for a namespace * @param {String} namespace The namespace id * @param {String} tenant * @param {module:model/ApiSecretValue} apiSecretValue * @return {Promise>} */ putSecretsWithHttpInfo(namespace: string, tenant: string, apiSecretValue: any): Promise>; /** * Update secrets for a namespace * @param {String} namespace The namespace id * @param {String} tenant * @param {module:model/ApiSecretValue} apiSecretValue * @return {Promise>} */ putSecrets(namespace: string, tenant: string, apiSecretValue: any): Promise>; /** * Search for namespaces * @param {String} tenant * @param {Object} opts Optional parameters * @param {String} [q] A string filter * @param {Number} [page = 1)] The current page * @param {Number} [size = 10)] The current page size * @param {Array.} [sort] The sort of current page * @param {Boolean} [existing = false)] Return only existing namespace * @return {Promise} */ searchNamespacesWithHttpInfo(tenant: string, opts: any): Promise; /** * Search for namespaces * @param {String} tenant * @param {Object} [opts] Optional parameters * @param {String} [opts.q] A string filter * @param {Number} [opts.page (default to 1)] The current page * @param {Number} [opts.size (default to 10)] The current page size * @param {Array.} [opts.sort] The sort of current page * @param {Boolean} [opts.existing (default to false)] Return only existing namespace * @return {Promise} */ searchNamespaces(tenant: string, opts?: { q?: string; page?: number; size?: number; sort?: Array; existing?: boolean; }): Promise; /** * Update a namespace * @param {String} id The namespace id * @param {String} tenant * @param {module:model/Namespace} namespace The namespace * @return {Promise} */ updateNamespaceWithHttpInfo(id: string, tenant: string, namespace: any): Promise; /** * Update a namespace * @param {String} id The namespace id * @param {String} tenant * @param {module:model/Namespace} namespace The namespace * @return {Promise} */ updateNamespace(id: string, tenant: string, namespace: any): Promise; } //#endregion export { NamespacesApi as default };