import type { CancelablePromise } from '../core/CancelablePromise'; import type { BaseHttpRequest } from '../core/BaseHttpRequest'; export declare class NamespacesService { readonly httpRequest: BaseHttpRequest; constructor(httpRequest: BaseHttpRequest); /** * Get all namespaces * @param projectId The unique identifier of the project. * @param page * @param pageSize * @returns any Success * @throws ApiError */ getAllNamespaces(projectId: string, page: number, pageSize: number): CancelablePromise<{ metadata: { fetched_at: string; total_count: number; total_pages: number; current_page: number; page_size: number; }; data: Array<{ /** * The unique identifier of the namespace */ id: string; /** * The name of the namespace */ name: string; /** * The description of the namespace */ description: string; /** * The user who created the namespace */ created_by: { email: string; name: string; }; /** * The date and time when the namespace was created */ created_at: string; }>; }>; /** * Create namespace * @param projectId The unique identifier of the project. * @param requestBody * @returns any Success * @throws ApiError */ createNamespace(projectId: string, requestBody: { name: string; /** * The description of the namespace */ description: string; }): CancelablePromise<{ /** * The unique identifier of the namespace */ id: string; /** * The name of the namespace */ name: string; /** * The description of the namespace */ description: string; /** * The user who created the namespace */ created_by: { email: string; name: string; }; /** * The date and time when the namespace was created */ created_at: string; }>; /** * Get namespace * @param projectId The unique identifier of the project. * @param namespaceId * @returns any Success * @throws ApiError */ getNamespace(projectId: string, namespaceId: string): CancelablePromise<{ /** * The unique identifier of the namespace */ id: string; /** * The name of the namespace */ name: string; /** * The description of the namespace */ description: string; /** * The user who created the namespace */ created_by: { email: string; name: string; }; /** * The date and time when the namespace was created */ created_at: string; }>; /** * Update namespace * @param projectId The unique identifier of the project. * @param namespaceId * @param requestBody * @returns any Success * @throws ApiError */ updateNamespace(projectId: string, namespaceId: string, requestBody: { name: string; /** * The description of the namespace */ description: string; }): CancelablePromise<{ /** * The unique identifier of the namespace */ id: string; /** * The name of the namespace */ name: string; /** * The description of the namespace */ description: string; /** * The user who created the namespace */ created_by: { email: string; name: string; }; /** * The date and time when the namespace was created */ created_at: string; }>; } //# sourceMappingURL=NamespacesService.d.ts.map