import { Long, unknownFieldsSymbol } from "../../../../runtime/protos/index.js"; import type { Dayjs, Duration, MessageDescriptor, MessageFns, EnumInstance, EnumClass } from "../../../../runtime/protos/index.js"; import { customJson } from "../../../../runtime/util/logging.js"; import { ChannelCredentials, Client, ClientUnaryCall, ClientOptions, CallOptions, Metadata, ServiceError as GrpcServiceError, handleUnaryCall, UntypedServiceImplementation } from "@grpc/grpc-js"; import type { SDKInterface } from "../../../../sdk.js"; import { Request as SDKRequestClass, type RetryOptions } from "../../../../runtime/request.js"; import { Operation as OperationWrapper } from "../../../../runtime/operation.js"; import { GetByNameRequest, GetOperationRequest, Operation, OperationService, ResourceMetadata } from "../../common/v1/index.js"; /** Represents the `nebius.iam.v1.CreateAccessKeyRequest` protobuf message. */ export interface CreateAccessKeyRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.CreateAccessKeyRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: AccessKeySpec | undefined; } /** Encodes, decodes, converts, and creates {@link CreateAccessKeyRequest} messages. */ export declare const CreateAccessKeyRequest: MessageFns; /** Represents the `nebius.iam.v1.KeyIdentity` protobuf message. */ export interface KeyIdentity { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.KeyIdentity"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the selected value for the `identity` protobuf oneof. */ identity?: { $case: "id"; id: string; } | { $case: "awsAccessKeyId"; awsAccessKeyId: string; } | undefined; } /** Encodes, decodes, converts, and creates {@link KeyIdentity} messages. */ export declare const KeyIdentity: MessageFns; /** Represents the `nebius.iam.v1.GetAccessKeySecretOnceRequest` protobuf message. */ export interface GetAccessKeySecretOnceRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.GetAccessKeySecretOnceRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link GetAccessKeySecretOnceRequest} messages. */ export declare const GetAccessKeySecretOnceRequest: MessageFns; /** Represents the `nebius.iam.v1.GetAccessKeyByIdRequest` protobuf message. */ export interface GetAccessKeyByIdRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.GetAccessKeyByIdRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link GetAccessKeyByIdRequest} messages. */ export declare const GetAccessKeyByIdRequest: MessageFns; /** Represents the `nebius.iam.v1.GetAccessKeyByAwsIdRequest` protobuf message. */ export interface GetAccessKeyByAwsIdRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.GetAccessKeyByAwsIdRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `aws_access_key_id` protobuf field. */ awsAccessKeyId: string; } /** Encodes, decodes, converts, and creates {@link GetAccessKeyByAwsIdRequest} messages. */ export declare const GetAccessKeyByAwsIdRequest: MessageFns; /** Represents the `nebius.iam.v1.ListAccessKeysRequest` protobuf message. */ export interface ListAccessKeysRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ListAccessKeysRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Represents the container ID. * */ parentId: string; /** * Specifies the maximum number of items to return in the response. * Default value: 10 * */ pageSize: Long; /** * Token for pagination, allowing the retrieval of the next set of results. * */ pageToken: string; /** * A filter to narrow down the results based on specific criteria. * */ filter: string; } /** Encodes, decodes, converts, and creates {@link ListAccessKeysRequest} messages. */ export declare const ListAccessKeysRequest: MessageFns; /** Represents the `nebius.iam.v1.ListAccessKeysByAccountRequest` protobuf message. */ export interface ListAccessKeysByAccountRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ListAccessKeysByAccountRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Represents the parent account ID. * */ account?: Account | undefined; /** * Specifies the maximum number of items to return in the response. * Default value: 10 * */ pageSize: Long; /** * Token for pagination, allowing the retrieval of the next set of results. * */ pageToken: string; /** * A filter to narrow down the results based on specific criteria. * */ filter: string; } /** Encodes, decodes, converts, and creates {@link ListAccessKeysByAccountRequest} messages. */ export declare const ListAccessKeysByAccountRequest: MessageFns; /** Represents the `nebius.iam.v1.UpdateAccessKeyRequest` protobuf message. */ export interface UpdateAccessKeyRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.UpdateAccessKeyRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: AccessKeySpec | undefined; } /** Encodes, decodes, converts, and creates {@link UpdateAccessKeyRequest} messages. */ export declare const UpdateAccessKeyRequest: MessageFns; /** Represents the `nebius.iam.v1.ActivateAccessKeyRequest` protobuf message. */ export interface ActivateAccessKeyRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ActivateAccessKeyRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id?: KeyIdentity | undefined; } /** Encodes, decodes, converts, and creates {@link ActivateAccessKeyRequest} messages. */ export declare const ActivateAccessKeyRequest: MessageFns; /** Represents the `nebius.iam.v1.DeactivateAccessKeyRequest` protobuf message. */ export interface DeactivateAccessKeyRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.DeactivateAccessKeyRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id?: KeyIdentity | undefined; } /** Encodes, decodes, converts, and creates {@link DeactivateAccessKeyRequest} messages. */ export declare const DeactivateAccessKeyRequest: MessageFns; /** Represents the `nebius.iam.v1.DeleteAccessKeyRequest` protobuf message. */ export interface DeleteAccessKeyRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.DeleteAccessKeyRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id?: KeyIdentity | undefined; } /** Encodes, decodes, converts, and creates {@link DeleteAccessKeyRequest} messages. */ export declare const DeleteAccessKeyRequest: MessageFns; /** Represents the `nebius.iam.v1.GetAccessKeySecretOnceResponse` protobuf message. */ export interface GetAccessKeySecretOnceResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.GetAccessKeySecretOnceResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `secret` protobuf field. */ secret: string; } /** Encodes, decodes, converts, and creates {@link GetAccessKeySecretOnceResponse} messages. */ export declare const GetAccessKeySecretOnceResponse: MessageFns; /** Represents the `nebius.iam.v1.ListAccessKeysResponse` protobuf message. */ export interface ListAccessKeysResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ListAccessKeysResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * List of access keys returned in the response. The field should be named as `items` for consistency. * */ items: AccessKey[]; /** * Token for pagination, indicating the next set of results can be retrieved using this token. * */ nextPageToken: string; } /** Encodes, decodes, converts, and creates {@link ListAccessKeysResponse} messages. */ export declare const ListAccessKeysResponse: MessageFns; /** * Defines the gRPC methods for the `nebius.iam.v1.AccessKeyService` service. * @deprecated Deprecated, will be removed on 2026-10-01: Access keys v1 API is deprecated. Please use the v2 API instead. All existing keys remain accessible through the v2 API.. */ export type AccessKeyServiceServiceDescription = typeof AccessKeyServiceServiceDescription; /** * Describes the gRPC methods for the `nebius.iam.v1.AccessKeyService` service. * @deprecated Deprecated, will be removed on 2026-10-01: Access keys v1 API is deprecated. Please use the v2 API instead. All existing keys remain accessible through the v2 API.. */ export declare const AccessKeyServiceServiceDescription: { readonly create: { readonly path: "/nebius.iam.v1.AccessKeyService/Create"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: CreateAccessKeyRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => CreateAccessKeyRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly list: { readonly path: "/nebius.iam.v1.AccessKeyService/List"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListAccessKeysRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListAccessKeysRequest; readonly responseSerialize: (value: ListAccessKeysResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListAccessKeysResponse; }; readonly listByAccount: { readonly path: "/nebius.iam.v1.AccessKeyService/ListByAccount"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListAccessKeysByAccountRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListAccessKeysByAccountRequest; readonly responseSerialize: (value: ListAccessKeysResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListAccessKeysResponse; }; readonly update: { readonly path: "/nebius.iam.v1.AccessKeyService/Update"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: UpdateAccessKeyRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: true; readonly requestDeserialize: (value: Buffer) => UpdateAccessKeyRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly getById: { readonly path: "/nebius.iam.v1.AccessKeyService/GetById"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetAccessKeyByIdRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetAccessKeyByIdRequest; readonly responseSerialize: (value: AccessKey) => Buffer; readonly responseDeserialize: (value: Buffer) => AccessKey; }; readonly getByAwsId: { readonly path: "/nebius.iam.v1.AccessKeyService/GetByAwsId"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetAccessKeyByAwsIdRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetAccessKeyByAwsIdRequest; readonly responseSerialize: (value: AccessKey) => Buffer; readonly responseDeserialize: (value: Buffer) => AccessKey; }; readonly getSecretOnce: { readonly path: "/nebius.iam.v1.AccessKeyService/GetSecretOnce"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetAccessKeySecretOnceRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetAccessKeySecretOnceRequest; readonly responseSerialize: (value: GetAccessKeySecretOnceResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => GetAccessKeySecretOnceResponse; }; readonly activate: { readonly path: "/nebius.iam.v1.AccessKeyService/Activate"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ActivateAccessKeyRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ActivateAccessKeyRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly deactivate: { readonly path: "/nebius.iam.v1.AccessKeyService/Deactivate"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: DeactivateAccessKeyRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => DeactivateAccessKeyRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly delete: { readonly path: "/nebius.iam.v1.AccessKeyService/Delete"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: DeleteAccessKeyRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => DeleteAccessKeyRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; }; /** * Handles server calls for the `nebius.iam.v1.AccessKeyService` service. * @deprecated Deprecated, will be removed on 2026-10-01: Access keys v1 API is deprecated. Please use the v2 API instead. All existing keys remain accessible through the v2 API.. */ export interface AccessKeyServiceServer extends UntypedServiceImplementation { /** * Handles the `Create` RPC. */ create: handleUnaryCall; /** * Handles the `List` RPC. */ list: handleUnaryCall; /** * Handles the `ListByAccount` RPC. */ listByAccount: handleUnaryCall; /** * Handles the `Update` RPC. */ update: handleUnaryCall; /** * Handles the `GetById` RPC. */ getById: handleUnaryCall; /** * Handles the `GetByAwsId` RPC. */ getByAwsId: handleUnaryCall; /** * Handles the `GetSecretOnce` RPC. */ getSecretOnce: handleUnaryCall; /** * Handles the `Activate` RPC. */ activate: handleUnaryCall; /** * Handles the `Deactivate` RPC. */ deactivate: handleUnaryCall; /** * Handles the `Delete` RPC. */ delete: handleUnaryCall; } /** * Defines the low-level gRPC client for the `nebius.iam.v1.AccessKeyService` service. * @deprecated Deprecated, will be removed on 2026-10-01: Access keys v1 API is deprecated. Please use the v2 API instead. All existing keys remain accessible through the v2 API.. */ export interface AccessKeyServiceBaseClient extends Client { /** * Calls the `Create` RPC. */ create(request: CreateAccessKeyRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Calls the `List` RPC. */ list(request: ListAccessKeysRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListAccessKeysResponse) => void): ClientUnaryCall; /** * Calls the `ListByAccount` RPC. */ listByAccount(request: ListAccessKeysByAccountRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListAccessKeysResponse) => void): ClientUnaryCall; /** * Calls the `Update` RPC. */ update(request: UpdateAccessKeyRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Calls the `GetById` RPC. */ getById(request: GetAccessKeyByIdRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: AccessKey) => void): ClientUnaryCall; /** * Calls the `GetByAwsId` RPC. */ getByAwsId(request: GetAccessKeyByAwsIdRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: AccessKey) => void): ClientUnaryCall; /** * Calls the `GetSecretOnce` RPC. */ getSecretOnce(request: GetAccessKeySecretOnceRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: GetAccessKeySecretOnceResponse) => void): ClientUnaryCall; /** * Calls the `Activate` RPC. */ activate(request: ActivateAccessKeyRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Calls the `Deactivate` RPC. */ deactivate(request: DeactivateAccessKeyRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Calls the `Delete` RPC. */ delete(request: DeleteAccessKeyRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; } /** * Creates low-level gRPC clients for the `nebius.iam.v1.AccessKeyService` service. * @deprecated Deprecated, will be removed on 2026-10-01: Access keys v1 API is deprecated. Please use the v2 API instead. All existing keys remain accessible through the v2 API.. */ export declare const AccessKeyServiceBaseClient: { /** Creates a low-level client for the service address. */ new (address: string, credentials: ChannelCredentials, options?: Partial): AccessKeyServiceBaseClient; /** Contains the gRPC service description. */ service: typeof AccessKeyServiceServiceDescription; /** Contains the fully qualified protobuf service name. */ serviceName: string; }; /** * Access keys management [deprecated] * * @deprecated Deprecated, will be removed on 2026-10-01: Access keys v1 API is deprecated. Please use the v2 API instead. All existing keys remain accessible through the v2 API.. */ export interface AccessKeyService { /** Contains the fully qualified protobuf service name. */ $type: "nebius.iam.v1.AccessKeyService"; /** * Calls the `Create` RPC. */ create(request: CreateAccessKeyRequest): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateAccessKeyRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateAccessKeyRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `List` RPC. */ list(request: ListAccessKeysRequest): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListAccessKeysRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListAccessKeysRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `ListByAccount` RPC. */ listByAccount(request: ListAccessKeysByAccountRequest): SDKRequestClass; /** * Calls the `ListByAccount` RPC. */ listByAccount(request: ListAccessKeysByAccountRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `ListByAccount` RPC. */ listByAccount(request: ListAccessKeysByAccountRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `Update` RPC. */ update(request: UpdateAccessKeyRequest): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateAccessKeyRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateAccessKeyRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `GetById` RPC. */ getById(request: GetAccessKeyByIdRequest): SDKRequestClass; /** * Calls the `GetById` RPC. */ getById(request: GetAccessKeyByIdRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `GetById` RPC. */ getById(request: GetAccessKeyByIdRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `GetByAwsId` RPC. */ getByAwsId(request: GetAccessKeyByAwsIdRequest): SDKRequestClass; /** * Calls the `GetByAwsId` RPC. */ getByAwsId(request: GetAccessKeyByAwsIdRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `GetByAwsId` RPC. */ getByAwsId(request: GetAccessKeyByAwsIdRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `GetSecretOnce` RPC. */ getSecretOnce(request: GetAccessKeySecretOnceRequest): SDKRequestClass; /** * Calls the `GetSecretOnce` RPC. */ getSecretOnce(request: GetAccessKeySecretOnceRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `GetSecretOnce` RPC. */ getSecretOnce(request: GetAccessKeySecretOnceRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `Activate` RPC. */ activate(request: ActivateAccessKeyRequest): SDKRequestClass>; /** * Calls the `Activate` RPC. */ activate(request: ActivateAccessKeyRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Activate` RPC. */ activate(request: ActivateAccessKeyRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Deactivate` RPC. */ deactivate(request: DeactivateAccessKeyRequest): SDKRequestClass>; /** * Calls the `Deactivate` RPC. */ deactivate(request: DeactivateAccessKeyRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Deactivate` RPC. */ deactivate(request: DeactivateAccessKeyRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteAccessKeyRequest): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteAccessKeyRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteAccessKeyRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; } /** * Calls the `nebius.iam.v1.AccessKeyService` service through the Nebius SDK. * @deprecated Deprecated, will be removed on 2026-10-01: Access keys v1 API is deprecated. Please use the v2 API instead. All existing keys remain accessible through the v2 API.. */ export declare class AccessKeyService implements AccessKeyService { private sdk; $type: "nebius.iam.v1.AccessKeyService"; private addr; private spec; /** * @deprecated Deprecated, will be removed on 2026-10-01: Access keys v1 API is deprecated. Please use the v2 API instead. All existing keys remain accessible through the v2 API.. */ private apiServiceName; /** Creates a client that uses the SDK service address. */ constructor(sdk: SDKInterface); /** Returns the operation service for this service address. */ getOperationService(): OperationService; /** * Calls the `Create` RPC. */ create(request: CreateAccessKeyRequest): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateAccessKeyRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateAccessKeyRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `List` RPC. */ list(request: ListAccessKeysRequest): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListAccessKeysRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListAccessKeysRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `ListByAccount` RPC. */ listByAccount(request: ListAccessKeysByAccountRequest): SDKRequestClass; /** * Calls the `ListByAccount` RPC. */ listByAccount(request: ListAccessKeysByAccountRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `ListByAccount` RPC. */ listByAccount(request: ListAccessKeysByAccountRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `Update` RPC. */ update(request: UpdateAccessKeyRequest): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateAccessKeyRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateAccessKeyRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `GetById` RPC. */ getById(request: GetAccessKeyByIdRequest): SDKRequestClass; /** * Calls the `GetById` RPC. */ getById(request: GetAccessKeyByIdRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `GetById` RPC. */ getById(request: GetAccessKeyByIdRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `GetByAwsId` RPC. */ getByAwsId(request: GetAccessKeyByAwsIdRequest): SDKRequestClass; /** * Calls the `GetByAwsId` RPC. */ getByAwsId(request: GetAccessKeyByAwsIdRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `GetByAwsId` RPC. */ getByAwsId(request: GetAccessKeyByAwsIdRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `GetSecretOnce` RPC. */ getSecretOnce(request: GetAccessKeySecretOnceRequest): SDKRequestClass; /** * Calls the `GetSecretOnce` RPC. */ getSecretOnce(request: GetAccessKeySecretOnceRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `GetSecretOnce` RPC. */ getSecretOnce(request: GetAccessKeySecretOnceRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `Activate` RPC. */ activate(request: ActivateAccessKeyRequest): SDKRequestClass>; /** * Calls the `Activate` RPC. */ activate(request: ActivateAccessKeyRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Activate` RPC. */ activate(request: ActivateAccessKeyRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Deactivate` RPC. */ deactivate(request: DeactivateAccessKeyRequest): SDKRequestClass>; /** * Calls the `Deactivate` RPC. */ deactivate(request: DeactivateAccessKeyRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Deactivate` RPC. */ deactivate(request: DeactivateAccessKeyRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteAccessKeyRequest): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteAccessKeyRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteAccessKeyRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; } /** * Represents the `nebius.iam.v1.AccessKeyStatus.State` protobuf enum. */ export type AccessKeyStatus_State = EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "INACTIVE" | "EXPIRED" | "DELETING" | "DELETED">; /** Defines the static values of {@link AccessKeyStatus_State}. */ export interface AccessKeyStatus_StateValueMembers { /** * Represents the `STATE_UNSPECIFIED` protobuf enum value. */ readonly STATE_UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "INACTIVE" | "EXPIRED" | "DELETING" | "DELETED">; /** * Represents the `ACTIVE` protobuf enum value. */ readonly ACTIVE: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "INACTIVE" | "EXPIRED" | "DELETING" | "DELETED">; /** * Represents the `INACTIVE` protobuf enum value. */ readonly INACTIVE: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "INACTIVE" | "EXPIRED" | "DELETING" | "DELETED">; /** * Represents the `EXPIRED` protobuf enum value. */ readonly EXPIRED: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "INACTIVE" | "EXPIRED" | "DELETING" | "DELETED">; /** * Represents the `DELETING` protobuf enum value. */ readonly DELETING: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "INACTIVE" | "EXPIRED" | "DELETING" | "DELETED">; /** * Represents the `DELETED` protobuf enum value. */ readonly DELETED: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "INACTIVE" | "EXPIRED" | "DELETING" | "DELETED">; } /** Defines the runtime API for {@link AccessKeyStatus_State}. */ export type AccessKeyStatus_StateClass = EnumClass<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "INACTIVE" | "EXPIRED" | "DELETING" | "DELETED"> & AccessKeyStatus_StateValueMembers; /** Converts and creates {@link AccessKeyStatus_State} values. */ export declare const AccessKeyStatus_State: AccessKeyStatus_StateClass; /** Represents the `nebius.iam.v1.AccessKey` protobuf message. */ export interface AccessKey { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.AccessKey"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: AccessKeySpec | undefined; /** Contains the `status` protobuf field. */ status?: AccessKeyStatus | undefined; } /** Encodes, decodes, converts, and creates {@link AccessKey} messages. */ export declare const AccessKey: MessageFns; /** Represents the `nebius.iam.v1.AccessKeySpec` protobuf message. */ export interface AccessKeySpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.AccessKeySpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `account` protobuf field. */ account?: Account | undefined; /** Contains the `expires_at` protobuf field. */ expiresAt?: Dayjs | undefined; /** Contains the `description` protobuf field. */ description: string; } /** Encodes, decodes, converts, and creates {@link AccessKeySpec} messages. */ export declare const AccessKeySpec: MessageFns; /** Represents the `nebius.iam.v1.AccessKeyStatus` protobuf message. */ export interface AccessKeyStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.AccessKeyStatus"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `state` protobuf field. */ state: AccessKeyStatus_State; /** Contains the `fingerprint` protobuf field. */ fingerprint: string; /** Contains the `algorithm` protobuf field. */ algorithm: string; /** Contains the `key_size` protobuf field. */ keySize: number; /** Contains the `aws_access_key_id` protobuf field. */ awsAccessKeyId: string; /** Contains the `secret` protobuf field. */ secret: string; } /** Encodes, decodes, converts, and creates {@link AccessKeyStatus} messages. */ export declare const AccessKeyStatus: MessageFns; /** Represents the `nebius.iam.v1.CreateAccessPermitRequest` protobuf message. */ export interface CreateAccessPermitRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.CreateAccessPermitRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: AccessPermitSpec | undefined; } /** Encodes, decodes, converts, and creates {@link CreateAccessPermitRequest} messages. */ export declare const CreateAccessPermitRequest: MessageFns; /** Represents the `nebius.iam.v1.ListAccessPermitRequest` protobuf message. */ export interface ListAccessPermitRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ListAccessPermitRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Represents the container ID. * */ parentId: string; /** * Specifies the maximum number of items to return in the response. * */ pageSize: Long; /** * Token for pagination, allowing the retrieval of the next set of results. * */ pageToken: string; /** * A filter to narrow down the results based on specific criteria. * */ filter: string; } /** Encodes, decodes, converts, and creates {@link ListAccessPermitRequest} messages. */ export declare const ListAccessPermitRequest: MessageFns; /** Represents the `nebius.iam.v1.DeleteAccessPermitRequest` protobuf message. */ export interface DeleteAccessPermitRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.DeleteAccessPermitRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link DeleteAccessPermitRequest} messages. */ export declare const DeleteAccessPermitRequest: MessageFns; /** Represents the `nebius.iam.v1.GetAccessPermitRequest` protobuf message. */ export interface GetAccessPermitRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.GetAccessPermitRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link GetAccessPermitRequest} messages. */ export declare const GetAccessPermitRequest: MessageFns; /** Represents the `nebius.iam.v1.ListAccessPermitResponse` protobuf message. */ export interface ListAccessPermitResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ListAccessPermitResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * List of access bindings returned in the response. The field should be named as `items` for consistency. * */ items: AccessPermit[]; /** * Token for pagination, indicating the next set of results can be retrieved using this token. * */ nextPageToken: string; } /** Encodes, decodes, converts, and creates {@link ListAccessPermitResponse} messages. */ export declare const ListAccessPermitResponse: MessageFns; /** * Defines the gRPC methods for the `nebius.iam.v1.AccessPermitService` service. */ export type AccessPermitServiceServiceDescription = typeof AccessPermitServiceServiceDescription; /** * Describes the gRPC methods for the `nebius.iam.v1.AccessPermitService` service. */ export declare const AccessPermitServiceServiceDescription: { readonly create: { readonly path: "/nebius.iam.v1.AccessPermitService/Create"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: CreateAccessPermitRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => CreateAccessPermitRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly list: { readonly path: "/nebius.iam.v1.AccessPermitService/List"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListAccessPermitRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListAccessPermitRequest; readonly responseSerialize: (value: ListAccessPermitResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListAccessPermitResponse; }; readonly delete: { readonly path: "/nebius.iam.v1.AccessPermitService/Delete"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: DeleteAccessPermitRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => DeleteAccessPermitRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly get: { readonly path: "/nebius.iam.v1.AccessPermitService/Get"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetAccessPermitRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetAccessPermitRequest; readonly responseSerialize: (value: AccessPermit) => Buffer; readonly responseDeserialize: (value: Buffer) => AccessPermit; }; }; /** * Handles server calls for the `nebius.iam.v1.AccessPermitService` service. */ export interface AccessPermitServiceServer extends UntypedServiceImplementation { /** * Creates access permit for provided resource with provided role. * Subject of access permit is also a parent of access permit. * If resource is unknown - NOT_FOUND will be thrown. * If parent of subject is not from resource's hierarchy - NOT_FOUND will be thrown. * */ create: handleUnaryCall; /** * Lists access permits for provided parent * */ list: handleUnaryCall; /** * Delete access permit by id * */ delete: handleUnaryCall; /** * Gets access permit by id * */ get: handleUnaryCall; } /** * Defines the low-level gRPC client for the `nebius.iam.v1.AccessPermitService` service. */ export interface AccessPermitServiceBaseClient extends Client { /** * Creates access permit for provided resource with provided role. * Subject of access permit is also a parent of access permit. * If resource is unknown - NOT_FOUND will be thrown. * If parent of subject is not from resource's hierarchy - NOT_FOUND will be thrown. * */ create(request: CreateAccessPermitRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Lists access permits for provided parent * */ list(request: ListAccessPermitRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListAccessPermitResponse) => void): ClientUnaryCall; /** * Delete access permit by id * */ delete(request: DeleteAccessPermitRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Gets access permit by id * */ get(request: GetAccessPermitRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: AccessPermit) => void): ClientUnaryCall; } /** * Creates low-level gRPC clients for the `nebius.iam.v1.AccessPermitService` service. */ export declare const AccessPermitServiceBaseClient: { /** Creates a low-level client for the service address. */ new (address: string, credentials: ChannelCredentials, options?: Partial): AccessPermitServiceBaseClient; /** Contains the gRPC service description. */ service: typeof AccessPermitServiceServiceDescription; /** Contains the fully qualified protobuf service name. */ serviceName: string; }; /** * Calls the `nebius.iam.v1.AccessPermitService` service. */ export interface AccessPermitService { /** Contains the fully qualified protobuf service name. */ $type: "nebius.iam.v1.AccessPermitService"; /** * Creates access permit for provided resource with provided role. * Subject of access permit is also a parent of access permit. * If resource is unknown - NOT_FOUND will be thrown. * If parent of subject is not from resource's hierarchy - NOT_FOUND will be thrown. * */ create(request: CreateAccessPermitRequest): SDKRequestClass>; /** * Creates access permit for provided resource with provided role. * Subject of access permit is also a parent of access permit. * If resource is unknown - NOT_FOUND will be thrown. * If parent of subject is not from resource's hierarchy - NOT_FOUND will be thrown. * */ create(request: CreateAccessPermitRequest, metadata: Metadata): SDKRequestClass>; /** * Creates access permit for provided resource with provided role. * Subject of access permit is also a parent of access permit. * If resource is unknown - NOT_FOUND will be thrown. * If parent of subject is not from resource's hierarchy - NOT_FOUND will be thrown. * */ create(request: CreateAccessPermitRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Lists access permits for provided parent * */ list(request: ListAccessPermitRequest): SDKRequestClass; /** * Lists access permits for provided parent * */ list(request: ListAccessPermitRequest, metadata: Metadata): SDKRequestClass; /** * Lists access permits for provided parent * */ list(request: ListAccessPermitRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Delete access permit by id * */ delete(request: DeleteAccessPermitRequest): SDKRequestClass>; /** * Delete access permit by id * */ delete(request: DeleteAccessPermitRequest, metadata: Metadata): SDKRequestClass>; /** * Delete access permit by id * */ delete(request: DeleteAccessPermitRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Gets access permit by id * */ get(request: GetAccessPermitRequest): SDKRequestClass; /** * Gets access permit by id * */ get(request: GetAccessPermitRequest, metadata: Metadata): SDKRequestClass; /** * Gets access permit by id * */ get(request: GetAccessPermitRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; } /** * Calls the `nebius.iam.v1.AccessPermitService` service through the Nebius SDK. */ export declare class AccessPermitService implements AccessPermitService { private sdk; $type: "nebius.iam.v1.AccessPermitService"; private addr; private spec; private apiServiceName; /** Creates a client that uses the SDK service address. */ constructor(sdk: SDKInterface); /** Returns the operation service for this service address. */ getOperationService(): OperationService; /** * Creates access permit for provided resource with provided role. * Subject of access permit is also a parent of access permit. * If resource is unknown - NOT_FOUND will be thrown. * If parent of subject is not from resource's hierarchy - NOT_FOUND will be thrown. * */ create(request: CreateAccessPermitRequest): SDKRequestClass>; /** * Creates access permit for provided resource with provided role. * Subject of access permit is also a parent of access permit. * If resource is unknown - NOT_FOUND will be thrown. * If parent of subject is not from resource's hierarchy - NOT_FOUND will be thrown. * */ create(request: CreateAccessPermitRequest, metadata: Metadata): SDKRequestClass>; /** * Creates access permit for provided resource with provided role. * Subject of access permit is also a parent of access permit. * If resource is unknown - NOT_FOUND will be thrown. * If parent of subject is not from resource's hierarchy - NOT_FOUND will be thrown. * */ create(request: CreateAccessPermitRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Lists access permits for provided parent * */ list(request: ListAccessPermitRequest): SDKRequestClass; /** * Lists access permits for provided parent * */ list(request: ListAccessPermitRequest, metadata: Metadata): SDKRequestClass; /** * Lists access permits for provided parent * */ list(request: ListAccessPermitRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Delete access permit by id * */ delete(request: DeleteAccessPermitRequest): SDKRequestClass>; /** * Delete access permit by id * */ delete(request: DeleteAccessPermitRequest, metadata: Metadata): SDKRequestClass>; /** * Delete access permit by id * */ delete(request: DeleteAccessPermitRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Gets access permit by id * */ get(request: GetAccessPermitRequest): SDKRequestClass; /** * Gets access permit by id * */ get(request: GetAccessPermitRequest, metadata: Metadata): SDKRequestClass; /** * Gets access permit by id * */ get(request: GetAccessPermitRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; } /** Represents the `nebius.iam.v1.AccessPermit` protobuf message. */ export interface AccessPermit { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.AccessPermit"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: AccessPermitSpec | undefined; /** Contains the `status` protobuf field. */ status?: AccessPermitStatus | undefined; } /** Encodes, decodes, converts, and creates {@link AccessPermit} messages. */ export declare const AccessPermit: MessageFns; /** Represents the `nebius.iam.v1.AccessPermitSpec` protobuf message. */ export interface AccessPermitSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.AccessPermitSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Resource for granting access permit. * */ resourceId: string; /** * Role for granting access permit. * */ role: string; } /** Encodes, decodes, converts, and creates {@link AccessPermitSpec} messages. */ export declare const AccessPermitSpec: MessageFns; /** Represents the `nebius.iam.v1.AccessPermitStatus` protobuf message. */ export interface AccessPermitStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.AccessPermitStatus"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; } /** Encodes, decodes, converts, and creates {@link AccessPermitStatus} messages. */ export declare const AccessPermitStatus: MessageFns; /** Represents the `nebius.iam.v1.Account` protobuf message. */ export interface Account { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.Account"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the selected value for the `type` protobuf oneof. */ type?: { $case: "userAccount"; userAccount: Account_UserAccount; } | { $case: "serviceAccount"; serviceAccount: Account_ServiceAccount; } | { $case: "anonymousAccount"; anonymousAccount: Account_AnonymousAccount; } | undefined; } /** Encodes, decodes, converts, and creates {@link Account} messages. */ export declare const Account: MessageFns; /** Represents the `nebius.iam.v1.Account.UserAccount` protobuf message. */ export interface Account_UserAccount { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.Account.UserAccount"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link Account_UserAccount} messages. */ export declare const Account_UserAccount: MessageFns; /** Represents the `nebius.iam.v1.Account.ServiceAccount` protobuf message. */ export interface Account_ServiceAccount { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.Account.ServiceAccount"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link Account_ServiceAccount} messages. */ export declare const Account_ServiceAccount: MessageFns; /** Represents the `nebius.iam.v1.Account.AnonymousAccount` protobuf message. */ export interface Account_AnonymousAccount { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.Account.AnonymousAccount"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; } /** Encodes, decodes, converts, and creates {@link Account_AnonymousAccount} messages. */ export declare const Account_AnonymousAccount: MessageFns; /** Represents the `nebius.iam.v1.CreateAuthPublicKeyRequest` protobuf message. */ export interface CreateAuthPublicKeyRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.CreateAuthPublicKeyRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: AuthPublicKeySpec | undefined; } /** Encodes, decodes, converts, and creates {@link CreateAuthPublicKeyRequest} messages. */ export declare const CreateAuthPublicKeyRequest: MessageFns; /** Represents the `nebius.iam.v1.GetAuthPublicKeyRequest` protobuf message. */ export interface GetAuthPublicKeyRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.GetAuthPublicKeyRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link GetAuthPublicKeyRequest} messages. */ export declare const GetAuthPublicKeyRequest: MessageFns; /** Represents the `nebius.iam.v1.ListAuthPublicKeyRequest` protobuf message. */ export interface ListAuthPublicKeyRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ListAuthPublicKeyRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Represents the container ID. * */ parentId: string; /** * Specifies the maximum number of items to return in the response. * Default value: 10 * */ pageSize: Long; /** * Token for pagination, allowing the retrieval of the next set of results. * */ pageToken: string; /** * A filter to narrow down the results based on specific criteria. * */ filter: string; } /** Encodes, decodes, converts, and creates {@link ListAuthPublicKeyRequest} messages. */ export declare const ListAuthPublicKeyRequest: MessageFns; /** Represents the `nebius.iam.v1.ListAuthPublicKeyByAccountRequest` protobuf message. */ export interface ListAuthPublicKeyByAccountRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ListAuthPublicKeyByAccountRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Represents the parent account ID. * */ account?: Account | undefined; /** * Specifies the maximum number of items to return in the response. * Default value: 10 * */ pageSize: Long; /** * Token for pagination, allowing the retrieval of the next set of results. * */ pageToken: string; /** * A filter to narrow down the results based on specific criteria. * */ filter: string; } /** Encodes, decodes, converts, and creates {@link ListAuthPublicKeyByAccountRequest} messages. */ export declare const ListAuthPublicKeyByAccountRequest: MessageFns; /** Represents the `nebius.iam.v1.UpdateAuthPublicKeyRequest` protobuf message. */ export interface UpdateAuthPublicKeyRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.UpdateAuthPublicKeyRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: AuthPublicKeySpec | undefined; } /** Encodes, decodes, converts, and creates {@link UpdateAuthPublicKeyRequest} messages. */ export declare const UpdateAuthPublicKeyRequest: MessageFns; /** Represents the `nebius.iam.v1.ActivateAuthPublicKeyRequest` protobuf message. */ export interface ActivateAuthPublicKeyRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ActivateAuthPublicKeyRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link ActivateAuthPublicKeyRequest} messages. */ export declare const ActivateAuthPublicKeyRequest: MessageFns; /** Represents the `nebius.iam.v1.DeactivateAuthPublicKeyRequest` protobuf message. */ export interface DeactivateAuthPublicKeyRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.DeactivateAuthPublicKeyRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link DeactivateAuthPublicKeyRequest} messages. */ export declare const DeactivateAuthPublicKeyRequest: MessageFns; /** Represents the `nebius.iam.v1.DeleteAuthPublicKeyRequest` protobuf message. */ export interface DeleteAuthPublicKeyRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.DeleteAuthPublicKeyRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link DeleteAuthPublicKeyRequest} messages. */ export declare const DeleteAuthPublicKeyRequest: MessageFns; /** Represents the `nebius.iam.v1.ListAuthPublicKeyResponse` protobuf message. */ export interface ListAuthPublicKeyResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ListAuthPublicKeyResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * List of auth public keys returned in the response. The field should be named as `items` for consistency. * */ items: AuthPublicKey[]; /** * Token for pagination, indicating the next set of results can be retrieved using this token. * */ nextPageToken: string; } /** Encodes, decodes, converts, and creates {@link ListAuthPublicKeyResponse} messages. */ export declare const ListAuthPublicKeyResponse: MessageFns; /** * Defines the gRPC methods for the `nebius.iam.v1.AuthPublicKeyService` service. */ export type AuthPublicKeyServiceServiceDescription = typeof AuthPublicKeyServiceServiceDescription; /** * Describes the gRPC methods for the `nebius.iam.v1.AuthPublicKeyService` service. */ export declare const AuthPublicKeyServiceServiceDescription: { readonly create: { readonly path: "/nebius.iam.v1.AuthPublicKeyService/Create"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: CreateAuthPublicKeyRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => CreateAuthPublicKeyRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly get: { readonly path: "/nebius.iam.v1.AuthPublicKeyService/Get"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetAuthPublicKeyRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetAuthPublicKeyRequest; readonly responseSerialize: (value: AuthPublicKey) => Buffer; readonly responseDeserialize: (value: Buffer) => AuthPublicKey; }; readonly list: { readonly path: "/nebius.iam.v1.AuthPublicKeyService/List"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListAuthPublicKeyRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListAuthPublicKeyRequest; readonly responseSerialize: (value: ListAuthPublicKeyResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListAuthPublicKeyResponse; }; readonly listByAccount: { readonly path: "/nebius.iam.v1.AuthPublicKeyService/ListByAccount"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListAuthPublicKeyByAccountRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListAuthPublicKeyByAccountRequest; readonly responseSerialize: (value: ListAuthPublicKeyResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListAuthPublicKeyResponse; }; readonly update: { readonly path: "/nebius.iam.v1.AuthPublicKeyService/Update"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: UpdateAuthPublicKeyRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: true; readonly requestDeserialize: (value: Buffer) => UpdateAuthPublicKeyRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly activate: { readonly path: "/nebius.iam.v1.AuthPublicKeyService/Activate"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ActivateAuthPublicKeyRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ActivateAuthPublicKeyRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly deactivate: { readonly path: "/nebius.iam.v1.AuthPublicKeyService/Deactivate"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: DeactivateAuthPublicKeyRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => DeactivateAuthPublicKeyRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly delete: { readonly path: "/nebius.iam.v1.AuthPublicKeyService/Delete"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: DeleteAuthPublicKeyRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => DeleteAuthPublicKeyRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; }; /** * Handles server calls for the `nebius.iam.v1.AuthPublicKeyService` service. */ export interface AuthPublicKeyServiceServer extends UntypedServiceImplementation { /** * Handles the `Create` RPC. */ create: handleUnaryCall; /** * Handles the `Get` RPC. */ get: handleUnaryCall; /** * Handles the `List` RPC. */ list: handleUnaryCall; /** * Handles the `ListByAccount` RPC. */ listByAccount: handleUnaryCall; /** * Handles the `Update` RPC. */ update: handleUnaryCall; /** * Handles the `Activate` RPC. */ activate: handleUnaryCall; /** * Handles the `Deactivate` RPC. */ deactivate: handleUnaryCall; /** * Handles the `Delete` RPC. */ delete: handleUnaryCall; } /** * Defines the low-level gRPC client for the `nebius.iam.v1.AuthPublicKeyService` service. */ export interface AuthPublicKeyServiceBaseClient extends Client { /** * Calls the `Create` RPC. */ create(request: CreateAuthPublicKeyRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Calls the `Get` RPC. */ get(request: GetAuthPublicKeyRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: AuthPublicKey) => void): ClientUnaryCall; /** * Calls the `List` RPC. */ list(request: ListAuthPublicKeyRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListAuthPublicKeyResponse) => void): ClientUnaryCall; /** * Calls the `ListByAccount` RPC. */ listByAccount(request: ListAuthPublicKeyByAccountRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListAuthPublicKeyResponse) => void): ClientUnaryCall; /** * Calls the `Update` RPC. */ update(request: UpdateAuthPublicKeyRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Calls the `Activate` RPC. */ activate(request: ActivateAuthPublicKeyRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Calls the `Deactivate` RPC. */ deactivate(request: DeactivateAuthPublicKeyRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Calls the `Delete` RPC. */ delete(request: DeleteAuthPublicKeyRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; } /** * Creates low-level gRPC clients for the `nebius.iam.v1.AuthPublicKeyService` service. */ export declare const AuthPublicKeyServiceBaseClient: { /** Creates a low-level client for the service address. */ new (address: string, credentials: ChannelCredentials, options?: Partial): AuthPublicKeyServiceBaseClient; /** Contains the gRPC service description. */ service: typeof AuthPublicKeyServiceServiceDescription; /** Contains the fully qualified protobuf service name. */ serviceName: string; }; /** * Calls the `nebius.iam.v1.AuthPublicKeyService` service. */ export interface AuthPublicKeyService { /** Contains the fully qualified protobuf service name. */ $type: "nebius.iam.v1.AuthPublicKeyService"; /** * Calls the `Create` RPC. */ create(request: CreateAuthPublicKeyRequest): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateAuthPublicKeyRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateAuthPublicKeyRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Get` RPC. */ get(request: GetAuthPublicKeyRequest): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetAuthPublicKeyRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetAuthPublicKeyRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListAuthPublicKeyRequest): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListAuthPublicKeyRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListAuthPublicKeyRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `ListByAccount` RPC. */ listByAccount(request: ListAuthPublicKeyByAccountRequest): SDKRequestClass; /** * Calls the `ListByAccount` RPC. */ listByAccount(request: ListAuthPublicKeyByAccountRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `ListByAccount` RPC. */ listByAccount(request: ListAuthPublicKeyByAccountRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `Update` RPC. */ update(request: UpdateAuthPublicKeyRequest): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateAuthPublicKeyRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateAuthPublicKeyRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Activate` RPC. */ activate(request: ActivateAuthPublicKeyRequest): SDKRequestClass>; /** * Calls the `Activate` RPC. */ activate(request: ActivateAuthPublicKeyRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Activate` RPC. */ activate(request: ActivateAuthPublicKeyRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Deactivate` RPC. */ deactivate(request: DeactivateAuthPublicKeyRequest): SDKRequestClass>; /** * Calls the `Deactivate` RPC. */ deactivate(request: DeactivateAuthPublicKeyRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Deactivate` RPC. */ deactivate(request: DeactivateAuthPublicKeyRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteAuthPublicKeyRequest): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteAuthPublicKeyRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteAuthPublicKeyRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; } /** * Calls the `nebius.iam.v1.AuthPublicKeyService` service through the Nebius SDK. */ export declare class AuthPublicKeyService implements AuthPublicKeyService { private sdk; $type: "nebius.iam.v1.AuthPublicKeyService"; private addr; private spec; private apiServiceName; /** Creates a client that uses the SDK service address. */ constructor(sdk: SDKInterface); /** Returns the operation service for this service address. */ getOperationService(): OperationService; /** * Calls the `Create` RPC. */ create(request: CreateAuthPublicKeyRequest): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateAuthPublicKeyRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateAuthPublicKeyRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Get` RPC. */ get(request: GetAuthPublicKeyRequest): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetAuthPublicKeyRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetAuthPublicKeyRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListAuthPublicKeyRequest): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListAuthPublicKeyRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListAuthPublicKeyRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `ListByAccount` RPC. */ listByAccount(request: ListAuthPublicKeyByAccountRequest): SDKRequestClass; /** * Calls the `ListByAccount` RPC. */ listByAccount(request: ListAuthPublicKeyByAccountRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `ListByAccount` RPC. */ listByAccount(request: ListAuthPublicKeyByAccountRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `Update` RPC. */ update(request: UpdateAuthPublicKeyRequest): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateAuthPublicKeyRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateAuthPublicKeyRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Activate` RPC. */ activate(request: ActivateAuthPublicKeyRequest): SDKRequestClass>; /** * Calls the `Activate` RPC. */ activate(request: ActivateAuthPublicKeyRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Activate` RPC. */ activate(request: ActivateAuthPublicKeyRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Deactivate` RPC. */ deactivate(request: DeactivateAuthPublicKeyRequest): SDKRequestClass>; /** * Calls the `Deactivate` RPC. */ deactivate(request: DeactivateAuthPublicKeyRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Deactivate` RPC. */ deactivate(request: DeactivateAuthPublicKeyRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteAuthPublicKeyRequest): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteAuthPublicKeyRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteAuthPublicKeyRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; } /** * Represents the `nebius.iam.v1.AuthPublicKeyStatus.State` protobuf enum. */ export type AuthPublicKeyStatus_State = EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "INACTIVE" | "EXPIRED" | "DELETING" | "DELETED">; /** Defines the static values of {@link AuthPublicKeyStatus_State}. */ export interface AuthPublicKeyStatus_StateValueMembers { /** * Represents the `STATE_UNSPECIFIED` protobuf enum value. */ readonly STATE_UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "INACTIVE" | "EXPIRED" | "DELETING" | "DELETED">; /** * Represents the `ACTIVE` protobuf enum value. */ readonly ACTIVE: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "INACTIVE" | "EXPIRED" | "DELETING" | "DELETED">; /** * Represents the `INACTIVE` protobuf enum value. */ readonly INACTIVE: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "INACTIVE" | "EXPIRED" | "DELETING" | "DELETED">; /** * Represents the `EXPIRED` protobuf enum value. */ readonly EXPIRED: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "INACTIVE" | "EXPIRED" | "DELETING" | "DELETED">; /** * Represents the `DELETING` protobuf enum value. */ readonly DELETING: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "INACTIVE" | "EXPIRED" | "DELETING" | "DELETED">; /** * Represents the `DELETED` protobuf enum value. */ readonly DELETED: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "INACTIVE" | "EXPIRED" | "DELETING" | "DELETED">; } /** Defines the runtime API for {@link AuthPublicKeyStatus_State}. */ export type AuthPublicKeyStatus_StateClass = EnumClass<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "INACTIVE" | "EXPIRED" | "DELETING" | "DELETED"> & AuthPublicKeyStatus_StateValueMembers; /** Converts and creates {@link AuthPublicKeyStatus_State} values. */ export declare const AuthPublicKeyStatus_State: AuthPublicKeyStatus_StateClass; /** Represents the `nebius.iam.v1.AuthPublicKey` protobuf message. */ export interface AuthPublicKey { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.AuthPublicKey"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: AuthPublicKeySpec | undefined; /** Contains the `status` protobuf field. */ status?: AuthPublicKeyStatus | undefined; } /** Encodes, decodes, converts, and creates {@link AuthPublicKey} messages. */ export declare const AuthPublicKey: MessageFns; /** Represents the `nebius.iam.v1.AuthPublicKeySpec` protobuf message. */ export interface AuthPublicKeySpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.AuthPublicKeySpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `account` protobuf field. */ account?: Account | undefined; /** Contains the `expires_at` protobuf field. */ expiresAt?: Dayjs | undefined; /** Contains the `description` protobuf field. */ description: string; /** Contains the `data` protobuf field. */ data: string; } /** Encodes, decodes, converts, and creates {@link AuthPublicKeySpec} messages. */ export declare const AuthPublicKeySpec: MessageFns; /** Represents the `nebius.iam.v1.AuthPublicKeyStatus` protobuf message. */ export interface AuthPublicKeyStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.AuthPublicKeyStatus"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `state` protobuf field. */ state: AuthPublicKeyStatus_State; /** Contains the `fingerprint` protobuf field. */ fingerprint: string; /** Contains the `algorithm` protobuf field. */ algorithm: string; /** Contains the `key_size` protobuf field. */ keySize: number; } /** Encodes, decodes, converts, and creates {@link AuthPublicKeyStatus} messages. */ export declare const AuthPublicKeyStatus: MessageFns; /** Represents the `nebius.iam.v1.Container` protobuf message. */ export interface Container { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.Container"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: ContainerSpec | undefined; /** Contains the `status` protobuf field. */ status?: ContainerStatus | undefined; } /** Encodes, decodes, converts, and creates {@link Container} messages. */ export declare const Container: MessageFns; /** Represents the `nebius.iam.v1.ContainerSpec` protobuf message. */ export interface ContainerSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ContainerSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `region` protobuf field. */ region: string; } /** Encodes, decodes, converts, and creates {@link ContainerSpec} messages. */ export declare const ContainerSpec: MessageFns; /** Represents the `nebius.iam.v1.ContainerStatus` protobuf message. */ export interface ContainerStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ContainerStatus"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `suspension_state` protobuf field. */ suspensionState: SuspensionState; /** Contains the `container_state` protobuf field. */ containerState: State; /** Contains the `region` protobuf field. */ region: string; } /** Encodes, decodes, converts, and creates {@link ContainerStatus} messages. */ export declare const ContainerStatus: MessageFns; /** Represents the `nebius.iam.v1.GetFederatedCredentialsRequest` protobuf message. */ export interface GetFederatedCredentialsRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.GetFederatedCredentialsRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Target federated credentials ID. * */ id: string; } /** Encodes, decodes, converts, and creates {@link GetFederatedCredentialsRequest} messages. */ export declare const GetFederatedCredentialsRequest: MessageFns; /** Represents the `nebius.iam.v1.GetByNameFederatedCredentialsRequest` protobuf message. */ export interface GetByNameFederatedCredentialsRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.GetByNameFederatedCredentialsRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Parent container ID for the federated credentials. * */ parentId: string; /** * Target federated credentials name. * */ name: string; } /** Encodes, decodes, converts, and creates {@link GetByNameFederatedCredentialsRequest} messages. */ export declare const GetByNameFederatedCredentialsRequest: MessageFns; /** Represents the `nebius.iam.v1.CreateFederatedCredentialsRequest` protobuf message. */ export interface CreateFederatedCredentialsRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.CreateFederatedCredentialsRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Federated credentials resource metadata. * */ metadata?: ResourceMetadata | undefined; /** * Federated credentials resource specification. * */ spec?: FederatedCredentialsSpec | undefined; } /** Encodes, decodes, converts, and creates {@link CreateFederatedCredentialsRequest} messages. */ export declare const CreateFederatedCredentialsRequest: MessageFns; /** Represents the `nebius.iam.v1.UpdateFederatedCredentialsRequest` protobuf message. */ export interface UpdateFederatedCredentialsRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.UpdateFederatedCredentialsRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Federated credentials resource metadata. * */ metadata?: ResourceMetadata | undefined; /** * Federated credentials resource specification. * */ spec?: FederatedCredentialsSpec | undefined; } /** Encodes, decodes, converts, and creates {@link UpdateFederatedCredentialsRequest} messages. */ export declare const UpdateFederatedCredentialsRequest: MessageFns; /** Represents the `nebius.iam.v1.ListFederatedCredentialsRequest` protobuf message. */ export interface ListFederatedCredentialsRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ListFederatedCredentialsRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Parent container ID for the federated credentials. * */ parentId: string; /** * Maximum number of items to return in the response. Default value: 10. * */ pageSize: Long; /** * Token for pagination, allowing the retrieval of the next set of results. * */ pageToken: string; /** * Filter expression for narrowing down the results. * */ filter: string; } /** Encodes, decodes, converts, and creates {@link ListFederatedCredentialsRequest} messages. */ export declare const ListFederatedCredentialsRequest: MessageFns; /** Represents the `nebius.iam.v1.ListFederatedCredentialsResponse` protobuf message. */ export interface ListFederatedCredentialsResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ListFederatedCredentialsResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * List of federated credentials returned in the response. * */ items: FederatedCredentials[]; /** * Token for pagination, allowing the retrieval of the next set of results. * */ nextPageToken: string; } /** Encodes, decodes, converts, and creates {@link ListFederatedCredentialsResponse} messages. */ export declare const ListFederatedCredentialsResponse: MessageFns; /** Represents the `nebius.iam.v1.DeleteFederatedCredentialsRequest` protobuf message. */ export interface DeleteFederatedCredentialsRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.DeleteFederatedCredentialsRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Target federated credentials ID. * */ id: string; } /** Encodes, decodes, converts, and creates {@link DeleteFederatedCredentialsRequest} messages. */ export declare const DeleteFederatedCredentialsRequest: MessageFns; /** * Defines the gRPC methods for the `nebius.iam.v1.FederatedCredentialsService` service. */ export type FederatedCredentialsServiceServiceDescription = typeof FederatedCredentialsServiceServiceDescription; /** * Describes the gRPC methods for the `nebius.iam.v1.FederatedCredentialsService` service. */ export declare const FederatedCredentialsServiceServiceDescription: { readonly get: { readonly path: "/nebius.iam.v1.FederatedCredentialsService/Get"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetFederatedCredentialsRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetFederatedCredentialsRequest; readonly responseSerialize: (value: FederatedCredentials) => Buffer; readonly responseDeserialize: (value: Buffer) => FederatedCredentials; }; readonly getByName: { readonly path: "/nebius.iam.v1.FederatedCredentialsService/GetByName"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetByNameFederatedCredentialsRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetByNameFederatedCredentialsRequest; readonly responseSerialize: (value: FederatedCredentials) => Buffer; readonly responseDeserialize: (value: Buffer) => FederatedCredentials; }; readonly list: { readonly path: "/nebius.iam.v1.FederatedCredentialsService/List"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListFederatedCredentialsRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListFederatedCredentialsRequest; readonly responseSerialize: (value: ListFederatedCredentialsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListFederatedCredentialsResponse; }; readonly create: { readonly path: "/nebius.iam.v1.FederatedCredentialsService/Create"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: CreateFederatedCredentialsRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => CreateFederatedCredentialsRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly update: { readonly path: "/nebius.iam.v1.FederatedCredentialsService/Update"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: UpdateFederatedCredentialsRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: true; readonly requestDeserialize: (value: Buffer) => UpdateFederatedCredentialsRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly delete: { readonly path: "/nebius.iam.v1.FederatedCredentialsService/Delete"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: DeleteFederatedCredentialsRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => DeleteFederatedCredentialsRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; }; /** * Handles server calls for the `nebius.iam.v1.FederatedCredentialsService` service. */ export interface FederatedCredentialsServiceServer extends UntypedServiceImplementation { /** * Retrieves information about federated credentials by ID. * */ get: handleUnaryCall; /** * Retrieves information about federated credentials by name and parent container. * */ getByName: handleUnaryCall; /** * Lists federated credentials by parent container. * */ list: handleUnaryCall; /** * Creates federated credentials. * */ create: handleUnaryCall; /** * Updates federated credentials. * */ update: handleUnaryCall; /** * Deletes federated credentials. * */ delete: handleUnaryCall; } /** * Defines the low-level gRPC client for the `nebius.iam.v1.FederatedCredentialsService` service. */ export interface FederatedCredentialsServiceBaseClient extends Client { /** * Retrieves information about federated credentials by ID. * */ get(request: GetFederatedCredentialsRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: FederatedCredentials) => void): ClientUnaryCall; /** * Retrieves information about federated credentials by name and parent container. * */ getByName(request: GetByNameFederatedCredentialsRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: FederatedCredentials) => void): ClientUnaryCall; /** * Lists federated credentials by parent container. * */ list(request: ListFederatedCredentialsRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListFederatedCredentialsResponse) => void): ClientUnaryCall; /** * Creates federated credentials. * */ create(request: CreateFederatedCredentialsRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Updates federated credentials. * */ update(request: UpdateFederatedCredentialsRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Deletes federated credentials. * */ delete(request: DeleteFederatedCredentialsRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; } /** * Creates low-level gRPC clients for the `nebius.iam.v1.FederatedCredentialsService` service. */ export declare const FederatedCredentialsServiceBaseClient: { /** Creates a low-level client for the service address. */ new (address: string, credentials: ChannelCredentials, options?: Partial): FederatedCredentialsServiceBaseClient; /** Contains the gRPC service description. */ service: typeof FederatedCredentialsServiceServiceDescription; /** Contains the fully qualified protobuf service name. */ serviceName: string; }; /** * [PUBLIC PREVIEW] * The federated credentials feature is currently fully available with Nebius Managed Kubernetes issuers. * Custom external credentials providers are available only for early adopters. * Contact the support team to check whether this feature is available for your tenant. * Alternatively, you can use them in conjunction with local JWK set storage without limitations. * */ export interface FederatedCredentialsService { /** Contains the fully qualified protobuf service name. */ $type: "nebius.iam.v1.FederatedCredentialsService"; /** * Retrieves information about federated credentials by ID. * */ get(request: GetFederatedCredentialsRequest): SDKRequestClass; /** * Retrieves information about federated credentials by ID. * */ get(request: GetFederatedCredentialsRequest, metadata: Metadata): SDKRequestClass; /** * Retrieves information about federated credentials by ID. * */ get(request: GetFederatedCredentialsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Retrieves information about federated credentials by name and parent container. * */ getByName(request: GetByNameFederatedCredentialsRequest): SDKRequestClass; /** * Retrieves information about federated credentials by name and parent container. * */ getByName(request: GetByNameFederatedCredentialsRequest, metadata: Metadata): SDKRequestClass; /** * Retrieves information about federated credentials by name and parent container. * */ getByName(request: GetByNameFederatedCredentialsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Lists federated credentials by parent container. * */ list(request: ListFederatedCredentialsRequest): SDKRequestClass; /** * Lists federated credentials by parent container. * */ list(request: ListFederatedCredentialsRequest, metadata: Metadata): SDKRequestClass; /** * Lists federated credentials by parent container. * */ list(request: ListFederatedCredentialsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Creates federated credentials. * */ create(request: CreateFederatedCredentialsRequest): SDKRequestClass>; /** * Creates federated credentials. * */ create(request: CreateFederatedCredentialsRequest, metadata: Metadata): SDKRequestClass>; /** * Creates federated credentials. * */ create(request: CreateFederatedCredentialsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Updates federated credentials. * */ update(request: UpdateFederatedCredentialsRequest): SDKRequestClass>; /** * Updates federated credentials. * */ update(request: UpdateFederatedCredentialsRequest, metadata: Metadata): SDKRequestClass>; /** * Updates federated credentials. * */ update(request: UpdateFederatedCredentialsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Deletes federated credentials. * */ delete(request: DeleteFederatedCredentialsRequest): SDKRequestClass>; /** * Deletes federated credentials. * */ delete(request: DeleteFederatedCredentialsRequest, metadata: Metadata): SDKRequestClass>; /** * Deletes federated credentials. * */ delete(request: DeleteFederatedCredentialsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; } /** * Calls the `nebius.iam.v1.FederatedCredentialsService` service through the Nebius SDK. */ export declare class FederatedCredentialsService implements FederatedCredentialsService { private sdk; $type: "nebius.iam.v1.FederatedCredentialsService"; private addr; private spec; private apiServiceName; /** Creates a client that uses the SDK service address. */ constructor(sdk: SDKInterface); /** Returns the operation service for this service address. */ getOperationService(): OperationService; /** * Retrieves information about federated credentials by ID. * */ get(request: GetFederatedCredentialsRequest): SDKRequestClass; /** * Retrieves information about federated credentials by ID. * */ get(request: GetFederatedCredentialsRequest, metadata: Metadata): SDKRequestClass; /** * Retrieves information about federated credentials by ID. * */ get(request: GetFederatedCredentialsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Retrieves information about federated credentials by name and parent container. * */ getByName(request: GetByNameFederatedCredentialsRequest): SDKRequestClass; /** * Retrieves information about federated credentials by name and parent container. * */ getByName(request: GetByNameFederatedCredentialsRequest, metadata: Metadata): SDKRequestClass; /** * Retrieves information about federated credentials by name and parent container. * */ getByName(request: GetByNameFederatedCredentialsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Lists federated credentials by parent container. * */ list(request: ListFederatedCredentialsRequest): SDKRequestClass; /** * Lists federated credentials by parent container. * */ list(request: ListFederatedCredentialsRequest, metadata: Metadata): SDKRequestClass; /** * Lists federated credentials by parent container. * */ list(request: ListFederatedCredentialsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Creates federated credentials. * */ create(request: CreateFederatedCredentialsRequest): SDKRequestClass>; /** * Creates federated credentials. * */ create(request: CreateFederatedCredentialsRequest, metadata: Metadata): SDKRequestClass>; /** * Creates federated credentials. * */ create(request: CreateFederatedCredentialsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Updates federated credentials. * */ update(request: UpdateFederatedCredentialsRequest): SDKRequestClass>; /** * Updates federated credentials. * */ update(request: UpdateFederatedCredentialsRequest, metadata: Metadata): SDKRequestClass>; /** * Updates federated credentials. * */ update(request: UpdateFederatedCredentialsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Deletes federated credentials. * */ delete(request: DeleteFederatedCredentialsRequest): SDKRequestClass>; /** * Deletes federated credentials. * */ delete(request: DeleteFederatedCredentialsRequest, metadata: Metadata): SDKRequestClass>; /** * Deletes federated credentials. * */ delete(request: DeleteFederatedCredentialsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; } /** Represents the `nebius.iam.v1.FederatedCredentials` protobuf message. */ export interface FederatedCredentials { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.FederatedCredentials"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Federated credentials resource metadata. * */ metadata?: ResourceMetadata | undefined; /** * Federated credentials resource specification. * */ spec?: FederatedCredentialsSpec | undefined; /** * Federated credentials resource status. * */ status?: FederatedCredentialsStatus | undefined; } /** Encodes, decodes, converts, and creates {@link FederatedCredentials} messages. */ export declare const FederatedCredentials: MessageFns; /** Represents the `nebius.iam.v1.FederatedCredentialsSpec` protobuf message. */ export interface FederatedCredentialsSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.FederatedCredentialsSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Federated subject ID. For oidc_provider, the subject is calculated from the * "sub" claim of the federated JWT token. * */ federatedSubjectId: string; /** * IAM subject (service account) that the federated subject impersonates. * */ subjectId: string; /** * Provider settings used to authenticate a federated subject. * */ credentialsProvider?: { $case: "oidcProvider"; oidcProvider: OidcCredentialsProvider; } | undefined; } /** Encodes, decodes, converts, and creates {@link FederatedCredentialsSpec} messages. */ export declare const FederatedCredentialsSpec: MessageFns; /** * The OIDC provider does not have to be a full OIDC provider, but it must expose * OIDC discovery metadata at the "/.well-known/openid-configuration" endpoint. * The discovery metadata must contain "jwks_uri", which points to the JSON Web * Key Set (JWKS). The JWKS contains public keys used to verify JSON * Web Tokens (JWTs) issued by the identity provider. * */ export interface OidcCredentialsProvider { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.OidcCredentialsProvider"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * OIDC-compatible JWT issuer URL. * */ issuerUrl: string; /** * JSON representation of a JSON Web Key Set (JWKS) with public keys used for * JWT signature verification. * If set, the token service uses this JWKS to verify token signatures. * */ jwkSetJson: string; } /** Encodes, decodes, converts, and creates {@link OidcCredentialsProvider} messages. */ export declare const OidcCredentialsProvider: MessageFns; /** Represents the `nebius.iam.v1.FederatedCredentialsStatus` protobuf message. */ export interface FederatedCredentialsStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.FederatedCredentialsStatus"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; } /** Encodes, decodes, converts, and creates {@link FederatedCredentialsStatus} messages. */ export declare const FederatedCredentialsStatus: MessageFns; /** Represents the `nebius.iam.v1.CreateFederationCertificateRequest` protobuf message. */ export interface CreateFederationCertificateRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.CreateFederationCertificateRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: FederationCertificateSpec | undefined; } /** Encodes, decodes, converts, and creates {@link CreateFederationCertificateRequest} messages. */ export declare const CreateFederationCertificateRequest: MessageFns; /** Represents the `nebius.iam.v1.GetFederationCertificateRequest` protobuf message. */ export interface GetFederationCertificateRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.GetFederationCertificateRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link GetFederationCertificateRequest} messages. */ export declare const GetFederationCertificateRequest: MessageFns; /** Represents the `nebius.iam.v1.ListFederationCertificateByFederationRequest` protobuf message. */ export interface ListFederationCertificateByFederationRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ListFederationCertificateByFederationRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Represents the parent federation ID. Corresponds to the parent_id value. * */ federationId: string; /** * Specifies the maximum number of items to return in the response. * Default value: 10 * */ pageSize: Long; /** * Token for pagination, allowing the retrieval of the next set of results. * */ pageToken: string; } /** Encodes, decodes, converts, and creates {@link ListFederationCertificateByFederationRequest} messages. */ export declare const ListFederationCertificateByFederationRequest: MessageFns; /** Represents the `nebius.iam.v1.UpdateFederationCertificateRequest` protobuf message. */ export interface UpdateFederationCertificateRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.UpdateFederationCertificateRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: FederationCertificateSpec | undefined; } /** Encodes, decodes, converts, and creates {@link UpdateFederationCertificateRequest} messages. */ export declare const UpdateFederationCertificateRequest: MessageFns; /** Represents the `nebius.iam.v1.UpdateBulkFederationCertificateRequest` protobuf message. */ export interface UpdateBulkFederationCertificateRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.UpdateBulkFederationCertificateRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Represents the parent federation ID. All certificates in update should have identical parent id. * */ federationId: string; /** * If target certificate contains id - the existing one will be updates, otherwise the new one will be created. * */ updates: UpdateFederationCertificateRequest[]; } /** Encodes, decodes, converts, and creates {@link UpdateBulkFederationCertificateRequest} messages. */ export declare const UpdateBulkFederationCertificateRequest: MessageFns; /** Represents the `nebius.iam.v1.DeleteFederationCertificateRequest` protobuf message. */ export interface DeleteFederationCertificateRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.DeleteFederationCertificateRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link DeleteFederationCertificateRequest} messages. */ export declare const DeleteFederationCertificateRequest: MessageFns; /** Represents the `nebius.iam.v1.ListFederationCertificateResponse` protobuf message. */ export interface ListFederationCertificateResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ListFederationCertificateResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * List of public keys returned in the response. The field should be named as `items` for consistency. * */ items: FederationCertificate[]; /** * Token for pagination, indicating the next set of results can be retrieved using this token. * */ nextPageToken: string; } /** Encodes, decodes, converts, and creates {@link ListFederationCertificateResponse} messages. */ export declare const ListFederationCertificateResponse: MessageFns; /** * Defines the gRPC methods for the `nebius.iam.v1.FederationCertificateService` service. */ export type FederationCertificateServiceServiceDescription = typeof FederationCertificateServiceServiceDescription; /** * Describes the gRPC methods for the `nebius.iam.v1.FederationCertificateService` service. */ export declare const FederationCertificateServiceServiceDescription: { readonly create: { readonly path: "/nebius.iam.v1.FederationCertificateService/Create"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: CreateFederationCertificateRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => CreateFederationCertificateRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly get: { readonly path: "/nebius.iam.v1.FederationCertificateService/Get"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetFederationCertificateRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetFederationCertificateRequest; readonly responseSerialize: (value: FederationCertificate) => Buffer; readonly responseDeserialize: (value: Buffer) => FederationCertificate; }; readonly listByFederation: { readonly path: "/nebius.iam.v1.FederationCertificateService/ListByFederation"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListFederationCertificateByFederationRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListFederationCertificateByFederationRequest; readonly responseSerialize: (value: ListFederationCertificateResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListFederationCertificateResponse; }; readonly update: { readonly path: "/nebius.iam.v1.FederationCertificateService/Update"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: UpdateFederationCertificateRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: true; readonly requestDeserialize: (value: Buffer) => UpdateFederationCertificateRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly updateBulk: { readonly path: "/nebius.iam.v1.FederationCertificateService/UpdateBulk"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: UpdateBulkFederationCertificateRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: true; readonly requestDeserialize: (value: Buffer) => UpdateBulkFederationCertificateRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly delete: { readonly path: "/nebius.iam.v1.FederationCertificateService/Delete"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: DeleteFederationCertificateRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => DeleteFederationCertificateRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; }; /** * Handles server calls for the `nebius.iam.v1.FederationCertificateService` service. */ export interface FederationCertificateServiceServer extends UntypedServiceImplementation { /** * Handles the `Create` RPC. */ create: handleUnaryCall; /** * Handles the `Get` RPC. */ get: handleUnaryCall; /** * Handles the `ListByFederation` RPC. */ listByFederation: handleUnaryCall; /** * Handles the `Update` RPC. */ update: handleUnaryCall; /** * Replaces all federation's certificates with provided in the request. Certificates which are not presented will be removed. * */ updateBulk: handleUnaryCall; /** * Handles the `Delete` RPC. */ delete: handleUnaryCall; } /** * Defines the low-level gRPC client for the `nebius.iam.v1.FederationCertificateService` service. */ export interface FederationCertificateServiceBaseClient extends Client { /** * Calls the `Create` RPC. */ create(request: CreateFederationCertificateRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Calls the `Get` RPC. */ get(request: GetFederationCertificateRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: FederationCertificate) => void): ClientUnaryCall; /** * Calls the `ListByFederation` RPC. */ listByFederation(request: ListFederationCertificateByFederationRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListFederationCertificateResponse) => void): ClientUnaryCall; /** * Calls the `Update` RPC. */ update(request: UpdateFederationCertificateRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Replaces all federation's certificates with provided in the request. Certificates which are not presented will be removed. * */ updateBulk(request: UpdateBulkFederationCertificateRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Calls the `Delete` RPC. */ delete(request: DeleteFederationCertificateRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; } /** * Creates low-level gRPC clients for the `nebius.iam.v1.FederationCertificateService` service. */ export declare const FederationCertificateServiceBaseClient: { /** Creates a low-level client for the service address. */ new (address: string, credentials: ChannelCredentials, options?: Partial): FederationCertificateServiceBaseClient; /** Contains the gRPC service description. */ service: typeof FederationCertificateServiceServiceDescription; /** Contains the fully qualified protobuf service name. */ serviceName: string; }; /** * Calls the `nebius.iam.v1.FederationCertificateService` service. */ export interface FederationCertificateService { /** Contains the fully qualified protobuf service name. */ $type: "nebius.iam.v1.FederationCertificateService"; /** * Calls the `Create` RPC. */ create(request: CreateFederationCertificateRequest): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateFederationCertificateRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateFederationCertificateRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Get` RPC. */ get(request: GetFederationCertificateRequest): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetFederationCertificateRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetFederationCertificateRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `ListByFederation` RPC. */ listByFederation(request: ListFederationCertificateByFederationRequest): SDKRequestClass; /** * Calls the `ListByFederation` RPC. */ listByFederation(request: ListFederationCertificateByFederationRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `ListByFederation` RPC. */ listByFederation(request: ListFederationCertificateByFederationRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `Update` RPC. */ update(request: UpdateFederationCertificateRequest): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateFederationCertificateRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateFederationCertificateRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Replaces all federation's certificates with provided in the request. Certificates which are not presented will be removed. * */ updateBulk(request: UpdateBulkFederationCertificateRequest): SDKRequestClass>; /** * Replaces all federation's certificates with provided in the request. Certificates which are not presented will be removed. * */ updateBulk(request: UpdateBulkFederationCertificateRequest, metadata: Metadata): SDKRequestClass>; /** * Replaces all federation's certificates with provided in the request. Certificates which are not presented will be removed. * */ updateBulk(request: UpdateBulkFederationCertificateRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteFederationCertificateRequest): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteFederationCertificateRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteFederationCertificateRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; } /** * Calls the `nebius.iam.v1.FederationCertificateService` service through the Nebius SDK. */ export declare class FederationCertificateService implements FederationCertificateService { private sdk; $type: "nebius.iam.v1.FederationCertificateService"; private addr; private spec; private apiServiceName; /** Creates a client that uses the SDK service address. */ constructor(sdk: SDKInterface); /** Returns the operation service for this service address. */ getOperationService(): OperationService; /** * Calls the `Create` RPC. */ create(request: CreateFederationCertificateRequest): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateFederationCertificateRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateFederationCertificateRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Get` RPC. */ get(request: GetFederationCertificateRequest): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetFederationCertificateRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetFederationCertificateRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `ListByFederation` RPC. */ listByFederation(request: ListFederationCertificateByFederationRequest): SDKRequestClass; /** * Calls the `ListByFederation` RPC. */ listByFederation(request: ListFederationCertificateByFederationRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `ListByFederation` RPC. */ listByFederation(request: ListFederationCertificateByFederationRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `Update` RPC. */ update(request: UpdateFederationCertificateRequest): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateFederationCertificateRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateFederationCertificateRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Replaces all federation's certificates with provided in the request. Certificates which are not presented will be removed. * */ updateBulk(request: UpdateBulkFederationCertificateRequest): SDKRequestClass>; /** * Replaces all federation's certificates with provided in the request. Certificates which are not presented will be removed. * */ updateBulk(request: UpdateBulkFederationCertificateRequest, metadata: Metadata): SDKRequestClass>; /** * Replaces all federation's certificates with provided in the request. Certificates which are not presented will be removed. * */ updateBulk(request: UpdateBulkFederationCertificateRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteFederationCertificateRequest): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteFederationCertificateRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteFederationCertificateRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; } /** * Represents the `nebius.iam.v1.FederationCertificateStatus.State` protobuf enum. */ export type FederationCertificateStatus_State = EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "EXPIRED">; /** Defines the static values of {@link FederationCertificateStatus_State}. */ export interface FederationCertificateStatus_StateValueMembers { /** * Represents the `STATE_UNSPECIFIED` protobuf enum value. */ readonly STATE_UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "EXPIRED">; /** * Represents the `ACTIVE` protobuf enum value. */ readonly ACTIVE: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "EXPIRED">; /** * Represents the `EXPIRED` protobuf enum value. */ readonly EXPIRED: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "EXPIRED">; } /** Defines the runtime API for {@link FederationCertificateStatus_State}. */ export type FederationCertificateStatus_StateClass = EnumClass<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "EXPIRED"> & FederationCertificateStatus_StateValueMembers; /** Converts and creates {@link FederationCertificateStatus_State} values. */ export declare const FederationCertificateStatus_State: FederationCertificateStatus_StateClass; /** Represents the `nebius.iam.v1.FederationCertificate` protobuf message. */ export interface FederationCertificate { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.FederationCertificate"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: FederationCertificateSpec | undefined; /** Contains the `status` protobuf field. */ status?: FederationCertificateStatus | undefined; } /** Encodes, decodes, converts, and creates {@link FederationCertificate} messages. */ export declare const FederationCertificate: MessageFns; /** Represents the `nebius.iam.v1.FederationCertificateSpec` protobuf message. */ export interface FederationCertificateSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.FederationCertificateSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `description` protobuf field. */ description: string; /** Contains the `data` protobuf field. */ data: string; } /** Encodes, decodes, converts, and creates {@link FederationCertificateSpec} messages. */ export declare const FederationCertificateSpec: MessageFns; /** Represents the `nebius.iam.v1.FederationCertificateStatus` protobuf message. */ export interface FederationCertificateStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.FederationCertificateStatus"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `state` protobuf field. */ state: FederationCertificateStatus_State; /** Contains the `fingerprint` protobuf field. */ fingerprint: string; /** Contains the `algorithm` protobuf field. */ algorithm: string; /** Contains the `key_size` protobuf field. */ keySize: Long; /** Contains the `not_before` protobuf field. */ notBefore?: Dayjs | undefined; /** Contains the `not_after` protobuf field. */ notAfter?: Dayjs | undefined; } /** Encodes, decodes, converts, and creates {@link FederationCertificateStatus} messages. */ export declare const FederationCertificateStatus: MessageFns; /** Represents the `nebius.iam.v1.CreateFederationRequest` protobuf message. */ export interface CreateFederationRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.CreateFederationRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Federation resource metadata. * */ metadata?: ResourceMetadata | undefined; /** * Federation resource specification. * */ spec?: FederationSpec | undefined; } /** Encodes, decodes, converts, and creates {@link CreateFederationRequest} messages. */ export declare const CreateFederationRequest: MessageFns; /** Represents the `nebius.iam.v1.GetFederationRequest` protobuf message. */ export interface GetFederationRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.GetFederationRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Target federation ID. * */ id: string; } /** Encodes, decodes, converts, and creates {@link GetFederationRequest} messages. */ export declare const GetFederationRequest: MessageFns; /** Represents the `nebius.iam.v1.ListFederationsRequest` protobuf message. */ export interface ListFederationsRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ListFederationsRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Parent container ID for the federations. * */ parentId: string; /** * Maximum number of items to return in the response. Default value: 10. * */ pageSize: Long; /** * Token for pagination, allowing the retrieval of the next set of results. * */ pageToken: string; /** * Filter expression for narrowing down the results. * */ filter: string; } /** Encodes, decodes, converts, and creates {@link ListFederationsRequest} messages. */ export declare const ListFederationsRequest: MessageFns; /** Represents the `nebius.iam.v1.ListFederationsResponse` protobuf message. */ export interface ListFederationsResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ListFederationsResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * List of federations returned in the response. * */ items: Federation[]; /** * Token for pagination, allowing the retrieval of the next set of results. * */ nextPageToken: string; } /** Encodes, decodes, converts, and creates {@link ListFederationsResponse} messages. */ export declare const ListFederationsResponse: MessageFns; /** Represents the `nebius.iam.v1.UpdateFederationRequest` protobuf message. */ export interface UpdateFederationRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.UpdateFederationRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Federation resource metadata. * */ metadata?: ResourceMetadata | undefined; /** * Federation resource specification. * */ spec?: FederationSpec | undefined; /** @deprecated Deprecated: 'status' is ignored for update requests.. */ status?: FederationStatus | undefined; } /** Encodes, decodes, converts, and creates {@link UpdateFederationRequest} messages. */ export declare const UpdateFederationRequest: MessageFns; /** Represents the `nebius.iam.v1.ActivateFederationRequest` protobuf message. */ export interface ActivateFederationRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ActivateFederationRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Target federation ID. * */ federationId: string; } /** Encodes, decodes, converts, and creates {@link ActivateFederationRequest} messages. */ export declare const ActivateFederationRequest: MessageFns; /** Represents the `nebius.iam.v1.DeactivateFederationRequest` protobuf message. */ export interface DeactivateFederationRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.DeactivateFederationRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Target federation ID. * */ federationId: string; } /** Encodes, decodes, converts, and creates {@link DeactivateFederationRequest} messages. */ export declare const DeactivateFederationRequest: MessageFns; /** Represents the `nebius.iam.v1.DeleteFederationRequest` protobuf message. */ export interface DeleteFederationRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.DeleteFederationRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Target federation ID. * */ id: string; } /** Encodes, decodes, converts, and creates {@link DeleteFederationRequest} messages. */ export declare const DeleteFederationRequest: MessageFns; /** * Defines the gRPC methods for the `nebius.iam.v1.FederationService` service. */ export type FederationServiceServiceDescription = typeof FederationServiceServiceDescription; /** * Describes the gRPC methods for the `nebius.iam.v1.FederationService` service. */ export declare const FederationServiceServiceDescription: { readonly create: { readonly path: "/nebius.iam.v1.FederationService/Create"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: CreateFederationRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => CreateFederationRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly get: { readonly path: "/nebius.iam.v1.FederationService/Get"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetFederationRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetFederationRequest; readonly responseSerialize: (value: Federation) => Buffer; readonly responseDeserialize: (value: Buffer) => Federation; }; readonly getByName: { readonly path: "/nebius.iam.v1.FederationService/GetByName"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetByNameRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetByNameRequest; readonly responseSerialize: (value: Federation) => Buffer; readonly responseDeserialize: (value: Buffer) => Federation; }; readonly list: { readonly path: "/nebius.iam.v1.FederationService/List"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListFederationsRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListFederationsRequest; readonly responseSerialize: (value: ListFederationsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListFederationsResponse; }; readonly update: { readonly path: "/nebius.iam.v1.FederationService/Update"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: UpdateFederationRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: true; readonly requestDeserialize: (value: Buffer) => UpdateFederationRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly activate: { readonly path: "/nebius.iam.v1.FederationService/Activate"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ActivateFederationRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ActivateFederationRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly deactivate: { readonly path: "/nebius.iam.v1.FederationService/Deactivate"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: DeactivateFederationRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => DeactivateFederationRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly delete: { readonly path: "/nebius.iam.v1.FederationService/Delete"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: DeleteFederationRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => DeleteFederationRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; }; /** * Handles server calls for the `nebius.iam.v1.FederationService` service. */ export interface FederationServiceServer extends UntypedServiceImplementation { /** * Creates a federation. * */ create: handleUnaryCall; /** * Retrieves information about a federation by ID. * */ get: handleUnaryCall; /** * Retrieves information about a federation by name and parent container. * */ getByName: handleUnaryCall; /** * Lists federations by parent container. * */ list: handleUnaryCall; /** * Updates a federation. * */ update: handleUnaryCall; /** * Activates an existing federation. * By default, a newly created federation is in the active state. * */ activate: handleUnaryCall; /** * Deactivates an existing federation. * When a federation is inactive, all users under it cannot authenticate. * */ deactivate: handleUnaryCall; /** * Deletes a federation. An active federation cannot be deleted and must be deactivated first. * */ delete: handleUnaryCall; } /** * Defines the low-level gRPC client for the `nebius.iam.v1.FederationService` service. */ export interface FederationServiceBaseClient extends Client { /** * Creates a federation. * */ create(request: CreateFederationRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Retrieves information about a federation by ID. * */ get(request: GetFederationRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Federation) => void): ClientUnaryCall; /** * Retrieves information about a federation by name and parent container. * */ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Federation) => void): ClientUnaryCall; /** * Lists federations by parent container. * */ list(request: ListFederationsRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListFederationsResponse) => void): ClientUnaryCall; /** * Updates a federation. * */ update(request: UpdateFederationRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Activates an existing federation. * By default, a newly created federation is in the active state. * */ activate(request: ActivateFederationRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Deactivates an existing federation. * When a federation is inactive, all users under it cannot authenticate. * */ deactivate(request: DeactivateFederationRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Deletes a federation. An active federation cannot be deleted and must be deactivated first. * */ delete(request: DeleteFederationRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; } /** * Creates low-level gRPC clients for the `nebius.iam.v1.FederationService` service. */ export declare const FederationServiceBaseClient: { /** Creates a low-level client for the service address. */ new (address: string, credentials: ChannelCredentials, options?: Partial): FederationServiceBaseClient; /** Contains the gRPC service description. */ service: typeof FederationServiceServiceDescription; /** Contains the fully qualified protobuf service name. */ serviceName: string; }; /** * Calls the `nebius.iam.v1.FederationService` service. */ export interface FederationService { /** Contains the fully qualified protobuf service name. */ $type: "nebius.iam.v1.FederationService"; /** * Creates a federation. * */ create(request: CreateFederationRequest): SDKRequestClass>; /** * Creates a federation. * */ create(request: CreateFederationRequest, metadata: Metadata): SDKRequestClass>; /** * Creates a federation. * */ create(request: CreateFederationRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Retrieves information about a federation by ID. * */ get(request: GetFederationRequest): SDKRequestClass; /** * Retrieves information about a federation by ID. * */ get(request: GetFederationRequest, metadata: Metadata): SDKRequestClass; /** * Retrieves information about a federation by ID. * */ get(request: GetFederationRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Retrieves information about a federation by name and parent container. * */ getByName(request: GetByNameRequest): SDKRequestClass; /** * Retrieves information about a federation by name and parent container. * */ getByName(request: GetByNameRequest, metadata: Metadata): SDKRequestClass; /** * Retrieves information about a federation by name and parent container. * */ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Lists federations by parent container. * */ list(request: ListFederationsRequest): SDKRequestClass; /** * Lists federations by parent container. * */ list(request: ListFederationsRequest, metadata: Metadata): SDKRequestClass; /** * Lists federations by parent container. * */ list(request: ListFederationsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Updates a federation. * */ update(request: UpdateFederationRequest): SDKRequestClass>; /** * Updates a federation. * */ update(request: UpdateFederationRequest, metadata: Metadata): SDKRequestClass>; /** * Updates a federation. * */ update(request: UpdateFederationRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Activates an existing federation. * By default, a newly created federation is in the active state. * */ activate(request: ActivateFederationRequest): SDKRequestClass>; /** * Activates an existing federation. * By default, a newly created federation is in the active state. * */ activate(request: ActivateFederationRequest, metadata: Metadata): SDKRequestClass>; /** * Activates an existing federation. * By default, a newly created federation is in the active state. * */ activate(request: ActivateFederationRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Deactivates an existing federation. * When a federation is inactive, all users under it cannot authenticate. * */ deactivate(request: DeactivateFederationRequest): SDKRequestClass>; /** * Deactivates an existing federation. * When a federation is inactive, all users under it cannot authenticate. * */ deactivate(request: DeactivateFederationRequest, metadata: Metadata): SDKRequestClass>; /** * Deactivates an existing federation. * When a federation is inactive, all users under it cannot authenticate. * */ deactivate(request: DeactivateFederationRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Deletes a federation. An active federation cannot be deleted and must be deactivated first. * */ delete(request: DeleteFederationRequest): SDKRequestClass>; /** * Deletes a federation. An active federation cannot be deleted and must be deactivated first. * */ delete(request: DeleteFederationRequest, metadata: Metadata): SDKRequestClass>; /** * Deletes a federation. An active federation cannot be deleted and must be deactivated first. * */ delete(request: DeleteFederationRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; } /** * Calls the `nebius.iam.v1.FederationService` service through the Nebius SDK. */ export declare class FederationService implements FederationService { private sdk; $type: "nebius.iam.v1.FederationService"; private addr; private spec; private apiServiceName; /** Creates a client that uses the SDK service address. */ constructor(sdk: SDKInterface); /** Returns the operation service for this service address. */ getOperationService(): OperationService; /** * Creates a federation. * */ create(request: CreateFederationRequest): SDKRequestClass>; /** * Creates a federation. * */ create(request: CreateFederationRequest, metadata: Metadata): SDKRequestClass>; /** * Creates a federation. * */ create(request: CreateFederationRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Retrieves information about a federation by ID. * */ get(request: GetFederationRequest): SDKRequestClass; /** * Retrieves information about a federation by ID. * */ get(request: GetFederationRequest, metadata: Metadata): SDKRequestClass; /** * Retrieves information about a federation by ID. * */ get(request: GetFederationRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Retrieves information about a federation by name and parent container. * */ getByName(request: GetByNameRequest): SDKRequestClass; /** * Retrieves information about a federation by name and parent container. * */ getByName(request: GetByNameRequest, metadata: Metadata): SDKRequestClass; /** * Retrieves information about a federation by name and parent container. * */ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Lists federations by parent container. * */ list(request: ListFederationsRequest): SDKRequestClass; /** * Lists federations by parent container. * */ list(request: ListFederationsRequest, metadata: Metadata): SDKRequestClass; /** * Lists federations by parent container. * */ list(request: ListFederationsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Updates a federation. * */ update(request: UpdateFederationRequest): SDKRequestClass>; /** * Updates a federation. * */ update(request: UpdateFederationRequest, metadata: Metadata): SDKRequestClass>; /** * Updates a federation. * */ update(request: UpdateFederationRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Activates an existing federation. * By default, a newly created federation is in the active state. * */ activate(request: ActivateFederationRequest): SDKRequestClass>; /** * Activates an existing federation. * By default, a newly created federation is in the active state. * */ activate(request: ActivateFederationRequest, metadata: Metadata): SDKRequestClass>; /** * Activates an existing federation. * By default, a newly created federation is in the active state. * */ activate(request: ActivateFederationRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Deactivates an existing federation. * When a federation is inactive, all users under it cannot authenticate. * */ deactivate(request: DeactivateFederationRequest): SDKRequestClass>; /** * Deactivates an existing federation. * When a federation is inactive, all users under it cannot authenticate. * */ deactivate(request: DeactivateFederationRequest, metadata: Metadata): SDKRequestClass>; /** * Deactivates an existing federation. * When a federation is inactive, all users under it cannot authenticate. * */ deactivate(request: DeactivateFederationRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Deletes a federation. An active federation cannot be deleted and must be deactivated first. * */ delete(request: DeleteFederationRequest): SDKRequestClass>; /** * Deletes a federation. An active federation cannot be deleted and must be deactivated first. * */ delete(request: DeleteFederationRequest, metadata: Metadata): SDKRequestClass>; /** * Deletes a federation. An active federation cannot be deleted and must be deactivated first. * */ delete(request: DeleteFederationRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; } /** * Represents the `nebius.iam.v1.FederationStatus.State` protobuf enum. */ export type FederationStatus_State = EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "ACTIVE" | "INACTIVE">; /** Defines the static values of {@link FederationStatus_State}. */ export interface FederationStatus_StateValueMembers { /** * Represents the `UNSPECIFIED` protobuf enum value. */ readonly UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "ACTIVE" | "INACTIVE">; /** * Represents the `ACTIVE` protobuf enum value. */ readonly ACTIVE: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "ACTIVE" | "INACTIVE">; /** * Represents the `INACTIVE` protobuf enum value. */ readonly INACTIVE: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "ACTIVE" | "INACTIVE">; } /** Defines the runtime API for {@link FederationStatus_State}. */ export type FederationStatus_StateClass = EnumClass<"UNRECOGNIZED" | "UNSPECIFIED" | "ACTIVE" | "INACTIVE"> & FederationStatus_StateValueMembers; /** Converts and creates {@link FederationStatus_State} values. */ export declare const FederationStatus_State: FederationStatus_StateClass; /** Represents the `nebius.iam.v1.Federation` protobuf message. */ export interface Federation { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.Federation"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Federation resource metadata. * */ metadata?: ResourceMetadata | undefined; /** * Federation resource specification. * */ spec?: FederationSpec | undefined; /** * Federation resource status. * */ status?: FederationStatus | undefined; } /** Encodes, decodes, converts, and creates {@link Federation} messages. */ export declare const Federation: MessageFns; /** Represents the `nebius.iam.v1.FederationSpec` protobuf message. */ export interface FederationSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.FederationSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * If false, users with access to the federation cannot sign in automatically * and user accounts for them must be pre-created by a federation administrator. * */ userAccountAutoCreation: boolean; /** * Specifies if the federation in active state * * @deprecated Deprecated: 'active' field ignored. Use 'Activate/Deactivate' methods to manage federation state. A newly created federation is always active by default.. */ active: boolean; /** Contains the selected value for the `settings` protobuf oneof. */ settings?: { $case: "samlSettings"; samlSettings: SamlSettings; } | undefined; } /** Encodes, decodes, converts, and creates {@link FederationSpec} messages. */ export declare const FederationSpec: MessageFns; /** Represents the `nebius.iam.v1.SamlSettings` protobuf message. */ export interface SamlSettings { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.SamlSettings"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * The unique identifier of the SAML Identity Provider. It usually matches the entityID from the IdP metadata. * */ idpIssuer: string; /** * Identity Provider’s Single Sign-On endpoint. This is the URL where the user is redirected to start SAML login. * */ ssoUrl: string; /** * If true, the SAML AuthnRequest asks the identity provider to authenticate the user instead of reusing an existing IdP session. (See * SAML Core 2.0, section 3.4.1, ForceAuthn: https://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf) Limitations: the SAML * response does not let verify whether the identity provider honored this request; support depends on the identity provider. * */ forceAuthn: boolean; } /** Encodes, decodes, converts, and creates {@link SamlSettings} messages. */ export declare const SamlSettings: MessageFns; /** Represents the `nebius.iam.v1.FederationStatus` protobuf message. */ export interface FederationStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.FederationStatus"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Federation state. * */ state: FederationStatus_State; /** * Number of users registered in the IAM federation. This value may differ from the number of users in the identity provider. * */ usersCount: number; /** * Number of certificates attached to the SAML federation for verifying SAML responses. * */ certificatesCount: number; } /** Encodes, decodes, converts, and creates {@link FederationStatus} messages. */ export declare const FederationStatus: MessageFns; /** Represents the `nebius.iam.v1.CreateGroupMembershipRequest` protobuf message. */ export interface CreateGroupMembershipRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.CreateGroupMembershipRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: GroupMembershipSpec | undefined; /** Contains the `revoke_after_hours` protobuf field. */ revokeAfterHours: Long; } /** Encodes, decodes, converts, and creates {@link CreateGroupMembershipRequest} messages. */ export declare const CreateGroupMembershipRequest: MessageFns; /** Represents the `nebius.iam.v1.DeleteGroupMembershipRequest` protobuf message. */ export interface DeleteGroupMembershipRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.DeleteGroupMembershipRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link DeleteGroupMembershipRequest} messages. */ export declare const DeleteGroupMembershipRequest: MessageFns; /** Represents the `nebius.iam.v1.GetGroupMembershipRequest` protobuf message. */ export interface GetGroupMembershipRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.GetGroupMembershipRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link GetGroupMembershipRequest} messages. */ export declare const GetGroupMembershipRequest: MessageFns; /** Represents the `nebius.iam.v1.ListGroupMembershipsRequest` protobuf message. */ export interface ListGroupMembershipsRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ListGroupMembershipsRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `parent_id` protobuf field. */ parentId: string; /** * Default value: 10 * */ pageSize: Long; /** Contains the `page_token` protobuf field. */ pageToken: string; /** Contains the `filter` protobuf field. */ filter: string; } /** Encodes, decodes, converts, and creates {@link ListGroupMembershipsRequest} messages. */ export declare const ListGroupMembershipsRequest: MessageFns; /** Represents the `nebius.iam.v1.ListMemberOfRequest` protobuf message. */ export interface ListMemberOfRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ListMemberOfRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Requested subject id. Can be tenant user account id or service account id. * */ subjectId: string; /** * Default value: 10 * */ pageSize: Long; /** Contains the `page_token` protobuf field. */ pageToken: string; /** Contains the `filter` protobuf field. */ filter: string; } /** Encodes, decodes, converts, and creates {@link ListMemberOfRequest} messages. */ export declare const ListMemberOfRequest: MessageFns; /** Represents the `nebius.iam.v1.ListGroupMembershipsResponse` protobuf message. */ export interface ListGroupMembershipsResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ListGroupMembershipsResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Members of the group. Can be tenant user account ids or service account ids. * */ memberships: GroupMembership[]; /** Contains the `next_page_token` protobuf field. */ nextPageToken: string; } /** Encodes, decodes, converts, and creates {@link ListGroupMembershipsResponse} messages. */ export declare const ListGroupMembershipsResponse: MessageFns; /** Represents the `nebius.iam.v1.ListGroupMembershipsWithAttributesResponse` protobuf message. */ export interface ListGroupMembershipsWithAttributesResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ListGroupMembershipsWithAttributesResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Members of the group with their attributes if supported by member type. * Can be tenant user accounts (regular or provisional/invited) or service accounts. * Regular tenant user accounts may have a full set of attributes, provisional may have contacts only, * service accounts * */ memberships: GroupMembershipWithAttributes[]; /** Contains the `next_page_token` protobuf field. */ nextPageToken: string; } /** Encodes, decodes, converts, and creates {@link ListGroupMembershipsWithAttributesResponse} messages. */ export declare const ListGroupMembershipsWithAttributesResponse: MessageFns; /** Represents the `nebius.iam.v1.ListMemberOfResponse` protobuf message. */ export interface ListMemberOfResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ListMemberOfResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Groups that requested entity is a member of * */ items: Group[]; /** Contains the `next_page_token` protobuf field. */ nextPageToken: string; } /** Encodes, decodes, converts, and creates {@link ListMemberOfResponse} messages. */ export declare const ListMemberOfResponse: MessageFns; /** * Defines the gRPC methods for the `nebius.iam.v1.GroupMembershipService` service. */ export type GroupMembershipServiceServiceDescription = typeof GroupMembershipServiceServiceDescription; /** * Describes the gRPC methods for the `nebius.iam.v1.GroupMembershipService` service. */ export declare const GroupMembershipServiceServiceDescription: { readonly create: { readonly path: "/nebius.iam.v1.GroupMembershipService/Create"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: CreateGroupMembershipRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => CreateGroupMembershipRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly get: { readonly path: "/nebius.iam.v1.GroupMembershipService/Get"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetGroupMembershipRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetGroupMembershipRequest; readonly responseSerialize: (value: GroupMembership) => Buffer; readonly responseDeserialize: (value: Buffer) => GroupMembership; }; readonly getWithAttributes: { readonly path: "/nebius.iam.v1.GroupMembershipService/GetWithAttributes"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetGroupMembershipRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetGroupMembershipRequest; readonly responseSerialize: (value: GroupMembershipWithAttributes) => Buffer; readonly responseDeserialize: (value: Buffer) => GroupMembershipWithAttributes; }; readonly delete: { readonly path: "/nebius.iam.v1.GroupMembershipService/Delete"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: DeleteGroupMembershipRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => DeleteGroupMembershipRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly listMembers: { readonly path: "/nebius.iam.v1.GroupMembershipService/ListMembers"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListGroupMembershipsRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListGroupMembershipsRequest; readonly responseSerialize: (value: ListGroupMembershipsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListGroupMembershipsResponse; }; readonly listMembersWithAttributes: { readonly path: "/nebius.iam.v1.GroupMembershipService/ListMembersWithAttributes"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListGroupMembershipsRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListGroupMembershipsRequest; readonly responseSerialize: (value: ListGroupMembershipsWithAttributesResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListGroupMembershipsWithAttributesResponse; }; readonly listMemberOf: { readonly path: "/nebius.iam.v1.GroupMembershipService/ListMemberOf"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListMemberOfRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListMemberOfRequest; readonly responseSerialize: (value: ListMemberOfResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListMemberOfResponse; }; }; /** * Handles server calls for the `nebius.iam.v1.GroupMembershipService` service. */ export interface GroupMembershipServiceServer extends UntypedServiceImplementation { /** * Handles the `Create` RPC. */ create: handleUnaryCall; /** * Handles the `Get` RPC. */ get: handleUnaryCall; /** * Handles the `GetWithAttributes` RPC. */ getWithAttributes: handleUnaryCall; /** * Handles the `Delete` RPC. */ delete: handleUnaryCall; /** * Handles the `ListMembers` RPC. */ listMembers: handleUnaryCall; /** * Handles the `ListMembersWithAttributes` RPC. */ listMembersWithAttributes: handleUnaryCall; /** * Handles the `ListMemberOf` RPC. */ listMemberOf: handleUnaryCall; } /** * Defines the low-level gRPC client for the `nebius.iam.v1.GroupMembershipService` service. */ export interface GroupMembershipServiceBaseClient extends Client { /** * Calls the `Create` RPC. */ create(request: CreateGroupMembershipRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Calls the `Get` RPC. */ get(request: GetGroupMembershipRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: GroupMembership) => void): ClientUnaryCall; /** * Calls the `GetWithAttributes` RPC. */ getWithAttributes(request: GetGroupMembershipRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: GroupMembershipWithAttributes) => void): ClientUnaryCall; /** * Calls the `Delete` RPC. */ delete(request: DeleteGroupMembershipRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Calls the `ListMembers` RPC. */ listMembers(request: ListGroupMembershipsRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListGroupMembershipsResponse) => void): ClientUnaryCall; /** * Calls the `ListMembersWithAttributes` RPC. */ listMembersWithAttributes(request: ListGroupMembershipsRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListGroupMembershipsWithAttributesResponse) => void): ClientUnaryCall; /** * Calls the `ListMemberOf` RPC. */ listMemberOf(request: ListMemberOfRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListMemberOfResponse) => void): ClientUnaryCall; } /** * Creates low-level gRPC clients for the `nebius.iam.v1.GroupMembershipService` service. */ export declare const GroupMembershipServiceBaseClient: { /** Creates a low-level client for the service address. */ new (address: string, credentials: ChannelCredentials, options?: Partial): GroupMembershipServiceBaseClient; /** Contains the gRPC service description. */ service: typeof GroupMembershipServiceServiceDescription; /** Contains the fully qualified protobuf service name. */ serviceName: string; }; /** * Calls the `nebius.iam.v1.GroupMembershipService` service. */ export interface GroupMembershipService { /** Contains the fully qualified protobuf service name. */ $type: "nebius.iam.v1.GroupMembershipService"; /** * Calls the `Create` RPC. */ create(request: CreateGroupMembershipRequest): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateGroupMembershipRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateGroupMembershipRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Get` RPC. */ get(request: GetGroupMembershipRequest): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetGroupMembershipRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetGroupMembershipRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `GetWithAttributes` RPC. */ getWithAttributes(request: GetGroupMembershipRequest): SDKRequestClass; /** * Calls the `GetWithAttributes` RPC. */ getWithAttributes(request: GetGroupMembershipRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `GetWithAttributes` RPC. */ getWithAttributes(request: GetGroupMembershipRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `Delete` RPC. */ delete(request: DeleteGroupMembershipRequest): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteGroupMembershipRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteGroupMembershipRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `ListMembers` RPC. */ listMembers(request: ListGroupMembershipsRequest): SDKRequestClass; /** * Calls the `ListMembers` RPC. */ listMembers(request: ListGroupMembershipsRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `ListMembers` RPC. */ listMembers(request: ListGroupMembershipsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `ListMembersWithAttributes` RPC. */ listMembersWithAttributes(request: ListGroupMembershipsRequest): SDKRequestClass; /** * Calls the `ListMembersWithAttributes` RPC. */ listMembersWithAttributes(request: ListGroupMembershipsRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `ListMembersWithAttributes` RPC. */ listMembersWithAttributes(request: ListGroupMembershipsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `ListMemberOf` RPC. */ listMemberOf(request: ListMemberOfRequest): SDKRequestClass; /** * Calls the `ListMemberOf` RPC. */ listMemberOf(request: ListMemberOfRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `ListMemberOf` RPC. */ listMemberOf(request: ListMemberOfRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; } /** * Calls the `nebius.iam.v1.GroupMembershipService` service through the Nebius SDK. */ export declare class GroupMembershipService implements GroupMembershipService { private sdk; $type: "nebius.iam.v1.GroupMembershipService"; private addr; private spec; private apiServiceName; /** Creates a client that uses the SDK service address. */ constructor(sdk: SDKInterface); /** Returns the operation service for this service address. */ getOperationService(): OperationService; /** * Calls the `Create` RPC. */ create(request: CreateGroupMembershipRequest): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateGroupMembershipRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateGroupMembershipRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Get` RPC. */ get(request: GetGroupMembershipRequest): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetGroupMembershipRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetGroupMembershipRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `GetWithAttributes` RPC. */ getWithAttributes(request: GetGroupMembershipRequest): SDKRequestClass; /** * Calls the `GetWithAttributes` RPC. */ getWithAttributes(request: GetGroupMembershipRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `GetWithAttributes` RPC. */ getWithAttributes(request: GetGroupMembershipRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `Delete` RPC. */ delete(request: DeleteGroupMembershipRequest): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteGroupMembershipRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteGroupMembershipRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `ListMembers` RPC. */ listMembers(request: ListGroupMembershipsRequest): SDKRequestClass; /** * Calls the `ListMembers` RPC. */ listMembers(request: ListGroupMembershipsRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `ListMembers` RPC. */ listMembers(request: ListGroupMembershipsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `ListMembersWithAttributes` RPC. */ listMembersWithAttributes(request: ListGroupMembershipsRequest): SDKRequestClass; /** * Calls the `ListMembersWithAttributes` RPC. */ listMembersWithAttributes(request: ListGroupMembershipsRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `ListMembersWithAttributes` RPC. */ listMembersWithAttributes(request: ListGroupMembershipsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `ListMemberOf` RPC. */ listMemberOf(request: ListMemberOfRequest): SDKRequestClass; /** * Calls the `ListMemberOf` RPC. */ listMemberOf(request: ListMemberOfRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `ListMemberOf` RPC. */ listMemberOf(request: ListMemberOfRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; } /** * Represents the `nebius.iam.v1.GroupMemberKind.Kind` protobuf enum. */ export type GroupMemberKind_Kind = EnumInstance<"UNRECOGNIZED" | "KIND_UNSPECIFIED" | "ORDINARY_TENANT_USER_ACCOUNT" | "INVITED_TENANT_USER_ACCOUNT" | "SERVICE_ACCOUNT">; /** Defines the static values of {@link GroupMemberKind_Kind}. */ export interface GroupMemberKind_KindValueMembers { /** * Represents the `KIND_UNSPECIFIED` protobuf enum value. */ readonly KIND_UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "KIND_UNSPECIFIED" | "ORDINARY_TENANT_USER_ACCOUNT" | "INVITED_TENANT_USER_ACCOUNT" | "SERVICE_ACCOUNT">; /** * Represents the `ORDINARY_TENANT_USER_ACCOUNT` protobuf enum value. */ readonly ORDINARY_TENANT_USER_ACCOUNT: EnumInstance<"UNRECOGNIZED" | "KIND_UNSPECIFIED" | "ORDINARY_TENANT_USER_ACCOUNT" | "INVITED_TENANT_USER_ACCOUNT" | "SERVICE_ACCOUNT">; /** * Represents the `INVITED_TENANT_USER_ACCOUNT` protobuf enum value. */ readonly INVITED_TENANT_USER_ACCOUNT: EnumInstance<"UNRECOGNIZED" | "KIND_UNSPECIFIED" | "ORDINARY_TENANT_USER_ACCOUNT" | "INVITED_TENANT_USER_ACCOUNT" | "SERVICE_ACCOUNT">; /** * Represents the `SERVICE_ACCOUNT` protobuf enum value. */ readonly SERVICE_ACCOUNT: EnumInstance<"UNRECOGNIZED" | "KIND_UNSPECIFIED" | "ORDINARY_TENANT_USER_ACCOUNT" | "INVITED_TENANT_USER_ACCOUNT" | "SERVICE_ACCOUNT">; } /** Defines the runtime API for {@link GroupMemberKind_Kind}. */ export type GroupMemberKind_KindClass = EnumClass<"UNRECOGNIZED" | "KIND_UNSPECIFIED" | "ORDINARY_TENANT_USER_ACCOUNT" | "INVITED_TENANT_USER_ACCOUNT" | "SERVICE_ACCOUNT"> & GroupMemberKind_KindValueMembers; /** Converts and creates {@link GroupMemberKind_Kind} values. */ export declare const GroupMemberKind_Kind: GroupMemberKind_KindClass; /** Represents the `nebius.iam.v1.GroupMembership` protobuf message. */ export interface GroupMembership { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.GroupMembership"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: GroupMembershipSpec | undefined; /** Contains the `status` protobuf field. */ status?: GroupMembershipStatus | undefined; /** Contains the `revoke_at` protobuf field. */ revokeAt?: Dayjs | undefined; } /** Encodes, decodes, converts, and creates {@link GroupMembership} messages. */ export declare const GroupMembership: MessageFns; /** Represents the `nebius.iam.v1.GroupMembershipSpec` protobuf message. */ export interface GroupMembershipSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.GroupMembershipSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Member of the group. Can be tenant user account id or service account id. * */ memberId: string; } /** Encodes, decodes, converts, and creates {@link GroupMembershipSpec} messages. */ export declare const GroupMembershipSpec: MessageFns; /** Represents the `nebius.iam.v1.GroupMembershipStatus` protobuf message. */ export interface GroupMembershipStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.GroupMembershipStatus"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `group_member_metadata` protobuf field. */ groupMemberMetadata?: ResourceMetadata | undefined; /** Contains the selected value for the `group_member_status` protobuf oneof. */ groupMemberStatus?: { $case: "tenantUserAccountStatus"; tenantUserAccountStatus: TenantUserAccountStatus; } | { $case: "serviceAccountStatus"; serviceAccountStatus: ServiceAccountStatus; } | undefined; } /** Encodes, decodes, converts, and creates {@link GroupMembershipStatus} messages. */ export declare const GroupMembershipStatus: MessageFns; /** Represents the `nebius.iam.v1.GroupMemberKind` protobuf message. */ export interface GroupMemberKind { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.GroupMemberKind"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `kind` protobuf field. */ kind: GroupMemberKind_Kind; } /** Encodes, decodes, converts, and creates {@link GroupMemberKind} messages. */ export declare const GroupMemberKind: MessageFns; /** * see also nebius/iam/v1/tenant_user_account.proto/TenantUserAccountWithAttributes * */ export interface GroupMembershipWithAttributes { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.GroupMembershipWithAttributes"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `group_membership` protobuf field. */ groupMembership?: GroupMembership | undefined; /** Contains the `group_member_kind` protobuf field. */ groupMemberKind?: GroupMemberKind | undefined; /** Contains the selected value for the `attributesOptional` protobuf oneof. */ attributesOptional?: { $case: "userAttributes"; userAttributes: UserAttributes; } | { $case: "serviceAccountAttributes"; serviceAccountAttributes: ServiceAccountAttributes; } | { $case: "error"; error: Error; } | undefined; } /** Encodes, decodes, converts, and creates {@link GroupMembershipWithAttributes} messages. */ export declare const GroupMembershipWithAttributes: MessageFns; /** Represents the `nebius.iam.v1.CreateGroupRequest` protobuf message. */ export interface CreateGroupRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.CreateGroupRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: GroupSpec | undefined; } /** Encodes, decodes, converts, and creates {@link CreateGroupRequest} messages. */ export declare const CreateGroupRequest: MessageFns; /** Represents the `nebius.iam.v1.GetGroupRequest` protobuf message. */ export interface GetGroupRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.GetGroupRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link GetGroupRequest} messages. */ export declare const GetGroupRequest: MessageFns; /** Represents the `nebius.iam.v1.GetGroupByNameRequest` protobuf message. */ export interface GetGroupByNameRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.GetGroupByNameRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `parent_id` protobuf field. */ parentId: string; /** Contains the `name` protobuf field. */ name: string; } /** Encodes, decodes, converts, and creates {@link GetGroupByNameRequest} messages. */ export declare const GetGroupByNameRequest: MessageFns; /** Represents the `nebius.iam.v1.ListGroupsRequest` protobuf message. */ export interface ListGroupsRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ListGroupsRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `parent_id` protobuf field. */ parentId: string; /** * Default value: 10 * */ pageSize: Long; /** Contains the `page_token` protobuf field. */ pageToken: string; /** Contains the `filter` protobuf field. */ filter: string; } /** Encodes, decodes, converts, and creates {@link ListGroupsRequest} messages. */ export declare const ListGroupsRequest: MessageFns; /** Represents the `nebius.iam.v1.ListGroupsResponse` protobuf message. */ export interface ListGroupsResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ListGroupsResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `items` protobuf field. */ items: Group[]; /** Contains the `next_page_token` protobuf field. */ nextPageToken: string; } /** Encodes, decodes, converts, and creates {@link ListGroupsResponse} messages. */ export declare const ListGroupsResponse: MessageFns; /** Represents the `nebius.iam.v1.DeleteGroupRequest` protobuf message. */ export interface DeleteGroupRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.DeleteGroupRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link DeleteGroupRequest} messages. */ export declare const DeleteGroupRequest: MessageFns; /** Represents the `nebius.iam.v1.UpdateGroupRequest` protobuf message. */ export interface UpdateGroupRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.UpdateGroupRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: GroupSpec | undefined; } /** Encodes, decodes, converts, and creates {@link UpdateGroupRequest} messages. */ export declare const UpdateGroupRequest: MessageFns; /** * Defines the gRPC methods for the `nebius.iam.v1.GroupService` service. */ export type GroupServiceServiceDescription = typeof GroupServiceServiceDescription; /** * Describes the gRPC methods for the `nebius.iam.v1.GroupService` service. */ export declare const GroupServiceServiceDescription: { readonly create: { readonly path: "/nebius.iam.v1.GroupService/Create"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: CreateGroupRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => CreateGroupRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly get: { readonly path: "/nebius.iam.v1.GroupService/Get"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetGroupRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetGroupRequest; readonly responseSerialize: (value: Group) => Buffer; readonly responseDeserialize: (value: Buffer) => Group; }; readonly getByName: { readonly path: "/nebius.iam.v1.GroupService/GetByName"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetGroupByNameRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetGroupByNameRequest; readonly responseSerialize: (value: Group) => Buffer; readonly responseDeserialize: (value: Buffer) => Group; }; readonly list: { readonly path: "/nebius.iam.v1.GroupService/List"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListGroupsRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListGroupsRequest; readonly responseSerialize: (value: ListGroupsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListGroupsResponse; }; readonly delete: { readonly path: "/nebius.iam.v1.GroupService/Delete"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: DeleteGroupRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => DeleteGroupRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly update: { readonly path: "/nebius.iam.v1.GroupService/Update"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: UpdateGroupRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: true; readonly requestDeserialize: (value: Buffer) => UpdateGroupRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; }; /** * Handles server calls for the `nebius.iam.v1.GroupService` service. */ export interface GroupServiceServer extends UntypedServiceImplementation { /** * Handles the `Create` RPC. */ create: handleUnaryCall; /** * Handles the `Get` RPC. */ get: handleUnaryCall; /** * Handles the `GetByName` RPC. */ getByName: handleUnaryCall; /** * Handles the `List` RPC. */ list: handleUnaryCall; /** * Handles the `Delete` RPC. */ delete: handleUnaryCall; /** * Handles the `Update` RPC. */ update: handleUnaryCall; } /** * Defines the low-level gRPC client for the `nebius.iam.v1.GroupService` service. */ export interface GroupServiceBaseClient extends Client { /** * Calls the `Create` RPC. */ create(request: CreateGroupRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Calls the `Get` RPC. */ get(request: GetGroupRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Group) => void): ClientUnaryCall; /** * Calls the `GetByName` RPC. */ getByName(request: GetGroupByNameRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Group) => void): ClientUnaryCall; /** * Calls the `List` RPC. */ list(request: ListGroupsRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListGroupsResponse) => void): ClientUnaryCall; /** * Calls the `Delete` RPC. */ delete(request: DeleteGroupRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Calls the `Update` RPC. */ update(request: UpdateGroupRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; } /** * Creates low-level gRPC clients for the `nebius.iam.v1.GroupService` service. */ export declare const GroupServiceBaseClient: { /** Creates a low-level client for the service address. */ new (address: string, credentials: ChannelCredentials, options?: Partial): GroupServiceBaseClient; /** Contains the gRPC service description. */ service: typeof GroupServiceServiceDescription; /** Contains the fully qualified protobuf service name. */ serviceName: string; }; /** * Calls the `nebius.iam.v1.GroupService` service. */ export interface GroupService { /** Contains the fully qualified protobuf service name. */ $type: "nebius.iam.v1.GroupService"; /** * Calls the `Create` RPC. */ create(request: CreateGroupRequest): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateGroupRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateGroupRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Get` RPC. */ get(request: GetGroupRequest): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetGroupRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetGroupRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetGroupByNameRequest): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetGroupByNameRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetGroupByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListGroupsRequest): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListGroupsRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListGroupsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `Delete` RPC. */ delete(request: DeleteGroupRequest): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteGroupRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteGroupRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateGroupRequest): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateGroupRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateGroupRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; } /** * Calls the `nebius.iam.v1.GroupService` service through the Nebius SDK. */ export declare class GroupService implements GroupService { private sdk; $type: "nebius.iam.v1.GroupService"; private addr; private spec; private apiServiceName; /** Creates a client that uses the SDK service address. */ constructor(sdk: SDKInterface); /** Returns the operation service for this service address. */ getOperationService(): OperationService; /** * Calls the `Create` RPC. */ create(request: CreateGroupRequest): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateGroupRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateGroupRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Get` RPC. */ get(request: GetGroupRequest): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetGroupRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetGroupRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetGroupByNameRequest): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetGroupByNameRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetGroupByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListGroupsRequest): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListGroupsRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListGroupsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `Delete` RPC. */ delete(request: DeleteGroupRequest): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteGroupRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteGroupRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateGroupRequest): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateGroupRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateGroupRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; } /** * Represents the `nebius.iam.v1.GroupStatus.State` protobuf enum. */ export type GroupStatus_State = EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "ACTIVE">; /** Defines the static values of {@link GroupStatus_State}. */ export interface GroupStatus_StateValueMembers { /** * Represents the `UNSPECIFIED` protobuf enum value. */ readonly UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "ACTIVE">; /** * Represents the `ACTIVE` protobuf enum value. */ readonly ACTIVE: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "ACTIVE">; } /** Defines the runtime API for {@link GroupStatus_State}. */ export type GroupStatus_StateClass = EnumClass<"UNRECOGNIZED" | "UNSPECIFIED" | "ACTIVE"> & GroupStatus_StateValueMembers; /** Converts and creates {@link GroupStatus_State} values. */ export declare const GroupStatus_State: GroupStatus_StateClass; /** Represents the `nebius.iam.v1.Group` protobuf message. */ export interface Group { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.Group"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: GroupSpec | undefined; /** Contains the `status` protobuf field. */ status?: GroupStatus | undefined; } /** Encodes, decodes, converts, and creates {@link Group} messages. */ export declare const Group: MessageFns; /** Represents the `nebius.iam.v1.GroupSpec` protobuf message. */ export interface GroupSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.GroupSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; } /** Encodes, decodes, converts, and creates {@link GroupSpec} messages. */ export declare const GroupSpec: MessageFns; /** Represents the `nebius.iam.v1.GroupStatus` protobuf message. */ export interface GroupStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.GroupStatus"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `state` protobuf field. */ state: GroupStatus_State; /** Contains the `members_count` protobuf field. */ membersCount: number; /** Contains the `service_accounts_count` protobuf field. */ serviceAccountsCount: number; /** Contains the `tenant_user_accounts_count` protobuf field. */ tenantUserAccountsCount: number; } /** Encodes, decodes, converts, and creates {@link GroupStatus} messages. */ export declare const GroupStatus: MessageFns; /** Represents the `nebius.iam.v1.CreateInvitationRequest` protobuf message. */ export interface CreateInvitationRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.CreateInvitationRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: InvitationSpec | undefined; /** if set, no sending is attempted (it's supposed that later a Resend method is called) */ noSend: boolean; /** * How long the invitation remains valid after creation. If omitted, the service default is used. * */ expiresIn?: Duration | undefined; } /** Encodes, decodes, converts, and creates {@link CreateInvitationRequest} messages. */ export declare const CreateInvitationRequest: MessageFns; /** Represents the `nebius.iam.v1.GetInvitationRequest` protobuf message. */ export interface GetInvitationRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.GetInvitationRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link GetInvitationRequest} messages. */ export declare const GetInvitationRequest: MessageFns; /** Represents the `nebius.iam.v1.ListInvitationsRequest` protobuf message. */ export interface ListInvitationsRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ListInvitationsRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `parent_id` protobuf field. */ parentId: string; /** Contains the `page_size` protobuf field. */ pageSize: Long; /** Contains the `page_token` protobuf field. */ pageToken: string; /** Contains the `filter` protobuf field. */ filter: string; } /** Encodes, decodes, converts, and creates {@link ListInvitationsRequest} messages. */ export declare const ListInvitationsRequest: MessageFns; /** Represents the `nebius.iam.v1.ListInvitationsResponse` protobuf message. */ export interface ListInvitationsResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ListInvitationsResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `items` protobuf field. */ items: Invitation[]; /** Contains the `next_page_token` protobuf field. */ nextPageToken: string; } /** Encodes, decodes, converts, and creates {@link ListInvitationsResponse} messages. */ export declare const ListInvitationsResponse: MessageFns; /** Represents the `nebius.iam.v1.DeleteInvitationRequest` protobuf message. */ export interface DeleteInvitationRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.DeleteInvitationRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link DeleteInvitationRequest} messages. */ export declare const DeleteInvitationRequest: MessageFns; /** Represents the `nebius.iam.v1.UpdateInvitationRequest` protobuf message. */ export interface UpdateInvitationRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.UpdateInvitationRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: InvitationSpec | undefined; } /** Encodes, decodes, converts, and creates {@link UpdateInvitationRequest} messages. */ export declare const UpdateInvitationRequest: MessageFns; /** Represents the `nebius.iam.v1.ResendInvitationRequest` protobuf message. */ export interface ResendInvitationRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ResendInvitationRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link ResendInvitationRequest} messages. */ export declare const ResendInvitationRequest: MessageFns; /** * Defines the gRPC methods for the `nebius.iam.v1.InvitationService` service. */ export type InvitationServiceServiceDescription = typeof InvitationServiceServiceDescription; /** * Describes the gRPC methods for the `nebius.iam.v1.InvitationService` service. */ export declare const InvitationServiceServiceDescription: { readonly create: { readonly path: "/nebius.iam.v1.InvitationService/Create"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: CreateInvitationRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => CreateInvitationRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly get: { readonly path: "/nebius.iam.v1.InvitationService/Get"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetInvitationRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetInvitationRequest; readonly responseSerialize: (value: Invitation) => Buffer; readonly responseDeserialize: (value: Buffer) => Invitation; }; readonly list: { readonly path: "/nebius.iam.v1.InvitationService/List"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListInvitationsRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListInvitationsRequest; readonly responseSerialize: (value: ListInvitationsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListInvitationsResponse; }; readonly delete: { readonly path: "/nebius.iam.v1.InvitationService/Delete"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: DeleteInvitationRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => DeleteInvitationRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly update: { readonly path: "/nebius.iam.v1.InvitationService/Update"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: UpdateInvitationRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: true; readonly requestDeserialize: (value: Buffer) => UpdateInvitationRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly resend: { readonly path: "/nebius.iam.v1.InvitationService/Resend"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ResendInvitationRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ResendInvitationRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; }; /** * Handles server calls for the `nebius.iam.v1.InvitationService` service. */ export interface InvitationServiceServer extends UntypedServiceImplementation { /** * Handles the `Create` RPC. */ create: handleUnaryCall; /** * Handles the `Get` RPC. */ get: handleUnaryCall; /** * Handles the `List` RPC. */ list: handleUnaryCall; /** * Handles the `Delete` RPC. */ delete: handleUnaryCall; /** * Handles the `Update` RPC. */ update: handleUnaryCall; /** * Handles the `Resend` RPC. */ resend: handleUnaryCall; } /** * Defines the low-level gRPC client for the `nebius.iam.v1.InvitationService` service. */ export interface InvitationServiceBaseClient extends Client { /** * Calls the `Create` RPC. */ create(request: CreateInvitationRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Calls the `Get` RPC. */ get(request: GetInvitationRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Invitation) => void): ClientUnaryCall; /** * Calls the `List` RPC. */ list(request: ListInvitationsRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListInvitationsResponse) => void): ClientUnaryCall; /** * Calls the `Delete` RPC. */ delete(request: DeleteInvitationRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Calls the `Update` RPC. */ update(request: UpdateInvitationRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Calls the `Resend` RPC. */ resend(request: ResendInvitationRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; } /** * Creates low-level gRPC clients for the `nebius.iam.v1.InvitationService` service. */ export declare const InvitationServiceBaseClient: { /** Creates a low-level client for the service address. */ new (address: string, credentials: ChannelCredentials, options?: Partial): InvitationServiceBaseClient; /** Contains the gRPC service description. */ service: typeof InvitationServiceServiceDescription; /** Contains the fully qualified protobuf service name. */ serviceName: string; }; /** * Calls the `nebius.iam.v1.InvitationService` service. */ export interface InvitationService { /** Contains the fully qualified protobuf service name. */ $type: "nebius.iam.v1.InvitationService"; /** * Calls the `Create` RPC. */ create(request: CreateInvitationRequest): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateInvitationRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateInvitationRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Get` RPC. */ get(request: GetInvitationRequest): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetInvitationRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetInvitationRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListInvitationsRequest): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListInvitationsRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListInvitationsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `Delete` RPC. */ delete(request: DeleteInvitationRequest): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteInvitationRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteInvitationRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateInvitationRequest): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateInvitationRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateInvitationRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Resend` RPC. */ resend(request: ResendInvitationRequest): SDKRequestClass>; /** * Calls the `Resend` RPC. */ resend(request: ResendInvitationRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Resend` RPC. */ resend(request: ResendInvitationRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; } /** * Calls the `nebius.iam.v1.InvitationService` service through the Nebius SDK. */ export declare class InvitationService implements InvitationService { private sdk; $type: "nebius.iam.v1.InvitationService"; private addr; private spec; private apiServiceName; /** Creates a client that uses the SDK service address. */ constructor(sdk: SDKInterface); /** Returns the operation service for this service address. */ getOperationService(): OperationService; /** * Calls the `Create` RPC. */ create(request: CreateInvitationRequest): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateInvitationRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateInvitationRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Get` RPC. */ get(request: GetInvitationRequest): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetInvitationRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetInvitationRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListInvitationsRequest): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListInvitationsRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListInvitationsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `Delete` RPC. */ delete(request: DeleteInvitationRequest): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteInvitationRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteInvitationRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateInvitationRequest): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateInvitationRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateInvitationRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Resend` RPC. */ resend(request: ResendInvitationRequest): SDKRequestClass>; /** * Calls the `Resend` RPC. */ resend(request: ResendInvitationRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Resend` RPC. */ resend(request: ResendInvitationRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; } /** * Represents the `nebius.iam.v1.InvitationStatus.State` protobuf enum. */ export type InvitationStatus_State = EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "CREATED" | "PENDING" | "EXPIRED" | "ACCEPTED">; /** Defines the static values of {@link InvitationStatus_State}. */ export interface InvitationStatus_StateValueMembers { /** * Represents the `UNSPECIFIED` protobuf enum value. */ readonly UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "CREATED" | "PENDING" | "EXPIRED" | "ACCEPTED">; /** * contacts data is not stored in pds yet. probably will GC it later */ readonly CREATING: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "CREATED" | "PENDING" | "EXPIRED" | "ACCEPTED">; /** * notification is not sent yet */ readonly CREATED: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "CREATED" | "PENDING" | "EXPIRED" | "ACCEPTED">; /** * notification is sent, we are waiting for the user to approve the notification */ readonly PENDING: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "CREATED" | "PENDING" | "EXPIRED" | "ACCEPTED">; /** * notification is expired, accept is no longer possible */ readonly EXPIRED: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "CREATED" | "PENDING" | "EXPIRED" | "ACCEPTED">; /** * notification is accepted */ readonly ACCEPTED: EnumInstance<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "CREATED" | "PENDING" | "EXPIRED" | "ACCEPTED">; } /** Defines the runtime API for {@link InvitationStatus_State}. */ export type InvitationStatus_StateClass = EnumClass<"UNRECOGNIZED" | "UNSPECIFIED" | "CREATING" | "CREATED" | "PENDING" | "EXPIRED" | "ACCEPTED"> & InvitationStatus_StateValueMembers; /** Converts and creates {@link InvitationStatus_State} values. */ export declare const InvitationStatus_State: InvitationStatus_StateClass; /** Represents the `nebius.iam.v1.Invitation` protobuf message. */ export interface Invitation { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.Invitation"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: InvitationSpec | undefined; /** Contains the `status` protobuf field. */ status?: InvitationStatus | undefined; } /** Encodes, decodes, converts, and creates {@link Invitation} messages. */ export declare const Invitation: MessageFns; /** Represents the `nebius.iam.v1.InvitationSpec` protobuf message. */ export interface InvitationSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.InvitationSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `description` protobuf field. */ description: string; /** Contains the selected value for the `contact` protobuf oneof. */ contact?: { $case: "email"; email: string; } | undefined; } /** Encodes, decodes, converts, and creates {@link InvitationSpec} messages. */ export declare const InvitationSpec: MessageFns; /** Represents the `nebius.iam.v1.InvitationStatus` protobuf message. */ export interface InvitationStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.InvitationStatus"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `tenant_user_account_id` protobuf field. */ tenantUserAccountId: string; /** Contains the `expires_at` protobuf field. */ expiresAt?: Dayjs | undefined; /** Contains the `state` protobuf field. */ state: InvitationStatus_State; } /** Encodes, decodes, converts, and creates {@link InvitationStatus} messages. */ export declare const InvitationStatus: MessageFns; /** Represents the `nebius.iam.v1.GetProfileRequest` protobuf message. */ export interface GetProfileRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.GetProfileRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; } /** Encodes, decodes, converts, and creates {@link GetProfileRequest} messages. */ export declare const GetProfileRequest: MessageFns; /** Represents the `nebius.iam.v1.GetProfileResponse` protobuf message. */ export interface GetProfileResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.GetProfileResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the selected value for the `profile` protobuf oneof. */ profile?: { $case: "userProfile"; userProfile: UserProfile; } | { $case: "serviceAccountProfile"; serviceAccountProfile: ServiceAccountProfile; } | { $case: "anonymousProfile"; anonymousProfile: AnonymousAccount; } | undefined; } /** Encodes, decodes, converts, and creates {@link GetProfileResponse} messages. */ export declare const GetProfileResponse: MessageFns; /** Represents the `nebius.iam.v1.UserProfile` protobuf message. */ export interface UserProfile { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.UserProfile"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; /** Contains the `federation_info` protobuf field. */ federationInfo?: UserAccountExternalId | undefined; /** Contains the `tenants` protobuf field. */ tenants: UserTenantInfo[]; /** Contains the `user_account_state` protobuf field. */ userAccountState: UserAccountStatus_State; /** Contains the selected value for the `attributes_optional` protobuf oneof. */ attributesOptional?: { $case: "attributes"; attributes: UserAttributes; } | { $case: "retrievingError"; retrievingError: Error; } | undefined; } /** Encodes, decodes, converts, and creates {@link UserProfile} messages. */ export declare const UserProfile: MessageFns; /** Represents the `nebius.iam.v1.UserTenantInfo` protobuf message. */ export interface UserTenantInfo { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.UserTenantInfo"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `tenant_id` protobuf field. */ tenantId: string; /** Contains the `tenant_user_account_id` protobuf field. */ tenantUserAccountId: string; /** Contains the `tenant_user_account_state` protobuf field. */ tenantUserAccountState: TenantUserAccountStatus_State; } /** Encodes, decodes, converts, and creates {@link UserTenantInfo} messages. */ export declare const UserTenantInfo: MessageFns; /** Represents the `nebius.iam.v1.ServiceAccountProfile` protobuf message. */ export interface ServiceAccountProfile { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ServiceAccountProfile"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `info` protobuf field. */ info?: ServiceAccount | undefined; } /** Encodes, decodes, converts, and creates {@link ServiceAccountProfile} messages. */ export declare const ServiceAccountProfile: MessageFns; /** Represents the `nebius.iam.v1.AnonymousAccount` protobuf message. */ export interface AnonymousAccount { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.AnonymousAccount"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; } /** Encodes, decodes, converts, and creates {@link AnonymousAccount} messages. */ export declare const AnonymousAccount: MessageFns; /** * Defines the gRPC methods for the `nebius.iam.v1.ProfileService` service. */ export type ProfileServiceServiceDescription = typeof ProfileServiceServiceDescription; /** * Describes the gRPC methods for the `nebius.iam.v1.ProfileService` service. */ export declare const ProfileServiceServiceDescription: { readonly get: { readonly path: "/nebius.iam.v1.ProfileService/Get"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetProfileRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetProfileRequest; readonly responseSerialize: (value: GetProfileResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => GetProfileResponse; }; }; /** * Handles server calls for the `nebius.iam.v1.ProfileService` service. */ export interface ProfileServiceServer extends UntypedServiceImplementation { /** * Returns the current user's profile. * */ get: handleUnaryCall; } /** * Defines the low-level gRPC client for the `nebius.iam.v1.ProfileService` service. */ export interface ProfileServiceBaseClient extends Client { /** * Returns the current user's profile. * */ get(request: GetProfileRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: GetProfileResponse) => void): ClientUnaryCall; } /** * Creates low-level gRPC clients for the `nebius.iam.v1.ProfileService` service. */ export declare const ProfileServiceBaseClient: { /** Creates a low-level client for the service address. */ new (address: string, credentials: ChannelCredentials, options?: Partial): ProfileServiceBaseClient; /** Contains the gRPC service description. */ service: typeof ProfileServiceServiceDescription; /** Contains the fully qualified protobuf service name. */ serviceName: string; }; /** * Calls the `nebius.iam.v1.ProfileService` service. */ export interface ProfileService { /** Contains the fully qualified protobuf service name. */ $type: "nebius.iam.v1.ProfileService"; /** * Returns the current user's profile. * */ get(request: GetProfileRequest): SDKRequestClass; /** * Returns the current user's profile. * */ get(request: GetProfileRequest, metadata: Metadata): SDKRequestClass; /** * Returns the current user's profile. * */ get(request: GetProfileRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; } /** * Calls the `nebius.iam.v1.ProfileService` service through the Nebius SDK. */ export declare class ProfileService implements ProfileService { private sdk; $type: "nebius.iam.v1.ProfileService"; private addr; private spec; private apiServiceName; /** Creates a client that uses the SDK service address. */ constructor(sdk: SDKInterface); /** * Returns the current user's profile. * */ get(request: GetProfileRequest): SDKRequestClass; /** * Returns the current user's profile. * */ get(request: GetProfileRequest, metadata: Metadata): SDKRequestClass; /** * Returns the current user's profile. * */ get(request: GetProfileRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; } /** Represents the `nebius.iam.v1.CreateProjectRequest` protobuf message. */ export interface CreateProjectRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.CreateProjectRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: ContainerSpec | undefined; } /** Encodes, decodes, converts, and creates {@link CreateProjectRequest} messages. */ export declare const CreateProjectRequest: MessageFns; /** Represents the `nebius.iam.v1.GetProjectRequest` protobuf message. */ export interface GetProjectRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.GetProjectRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link GetProjectRequest} messages. */ export declare const GetProjectRequest: MessageFns; /** Represents the `nebius.iam.v1.GetProjectByNameRequest` protobuf message. */ export interface GetProjectByNameRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.GetProjectByNameRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `parent_id` protobuf field. */ parentId: string; /** Contains the `name` protobuf field. */ name: string; } /** Encodes, decodes, converts, and creates {@link GetProjectByNameRequest} messages. */ export declare const GetProjectByNameRequest: MessageFns; /** Represents the `nebius.iam.v1.ListProjectsRequest` protobuf message. */ export interface ListProjectsRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ListProjectsRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Represents the container ID. * */ parentId: string; /** * Specifies the maximum number of items to return in the response. * Default value: 10 * */ pageSize: Long; /** * Token for pagination, allowing the retrieval of the next set of results. * */ pageToken: string; /** * A filter to narrow down the results based on specific criteria. * */ filter: string; } /** Encodes, decodes, converts, and creates {@link ListProjectsRequest} messages. */ export declare const ListProjectsRequest: MessageFns; /** Represents the `nebius.iam.v1.UpdateProjectRequest` protobuf message. */ export interface UpdateProjectRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.UpdateProjectRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: ContainerSpec | undefined; } /** Encodes, decodes, converts, and creates {@link UpdateProjectRequest} messages. */ export declare const UpdateProjectRequest: MessageFns; /** Represents the `nebius.iam.v1.ListProjectsResponse` protobuf message. */ export interface ListProjectsResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ListProjectsResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `items` protobuf field. */ items: Container[]; /** * Token for pagination, indicating the next set of results can be retrieved using this token. * */ nextPageToken: string; } /** Encodes, decodes, converts, and creates {@link ListProjectsResponse} messages. */ export declare const ListProjectsResponse: MessageFns; /** * Defines the gRPC methods for the `nebius.iam.v1.ProjectService` service. */ export type ProjectServiceServiceDescription = typeof ProjectServiceServiceDescription; /** * Describes the gRPC methods for the `nebius.iam.v1.ProjectService` service. */ export declare const ProjectServiceServiceDescription: { readonly create: { readonly path: "/nebius.iam.v1.ProjectService/Create"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: CreateProjectRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => CreateProjectRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly get: { readonly path: "/nebius.iam.v1.ProjectService/Get"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetProjectRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetProjectRequest; readonly responseSerialize: (value: Container) => Buffer; readonly responseDeserialize: (value: Buffer) => Container; }; readonly getByName: { readonly path: "/nebius.iam.v1.ProjectService/GetByName"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetProjectByNameRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetProjectByNameRequest; readonly responseSerialize: (value: Container) => Buffer; readonly responseDeserialize: (value: Buffer) => Container; }; readonly list: { readonly path: "/nebius.iam.v1.ProjectService/List"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListProjectsRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListProjectsRequest; readonly responseSerialize: (value: ListProjectsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListProjectsResponse; }; readonly update: { readonly path: "/nebius.iam.v1.ProjectService/Update"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: UpdateProjectRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: true; readonly requestDeserialize: (value: Buffer) => UpdateProjectRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; }; /** * Handles server calls for the `nebius.iam.v1.ProjectService` service. */ export interface ProjectServiceServer extends UntypedServiceImplementation { /** * Handles the `Create` RPC. */ create: handleUnaryCall; /** * Handles the `Get` RPC. */ get: handleUnaryCall; /** * Handles the `GetByName` RPC. */ getByName: handleUnaryCall; /** * Handles the `List` RPC. */ list: handleUnaryCall; /** * Handles the `Update` RPC. */ update: handleUnaryCall; } /** * Defines the low-level gRPC client for the `nebius.iam.v1.ProjectService` service. */ export interface ProjectServiceBaseClient extends Client { /** * Calls the `Create` RPC. */ create(request: CreateProjectRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Calls the `Get` RPC. */ get(request: GetProjectRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Container) => void): ClientUnaryCall; /** * Calls the `GetByName` RPC. */ getByName(request: GetProjectByNameRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Container) => void): ClientUnaryCall; /** * Calls the `List` RPC. */ list(request: ListProjectsRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListProjectsResponse) => void): ClientUnaryCall; /** * Calls the `Update` RPC. */ update(request: UpdateProjectRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; } /** * Creates low-level gRPC clients for the `nebius.iam.v1.ProjectService` service. */ export declare const ProjectServiceBaseClient: { /** Creates a low-level client for the service address. */ new (address: string, credentials: ChannelCredentials, options?: Partial): ProjectServiceBaseClient; /** Contains the gRPC service description. */ service: typeof ProjectServiceServiceDescription; /** Contains the fully qualified protobuf service name. */ serviceName: string; }; /** * Calls the `nebius.iam.v1.ProjectService` service. */ export interface ProjectService { /** Contains the fully qualified protobuf service name. */ $type: "nebius.iam.v1.ProjectService"; /** * Calls the `Create` RPC. */ create(request: CreateProjectRequest): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateProjectRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateProjectRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Get` RPC. */ get(request: GetProjectRequest): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetProjectRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetProjectRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetProjectByNameRequest): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetProjectByNameRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetProjectByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListProjectsRequest): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListProjectsRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListProjectsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `Update` RPC. */ update(request: UpdateProjectRequest): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateProjectRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateProjectRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; } /** * Calls the `nebius.iam.v1.ProjectService` service through the Nebius SDK. */ export declare class ProjectService implements ProjectService { private sdk; $type: "nebius.iam.v1.ProjectService"; private addr; private spec; private apiServiceName; /** Creates a client that uses the SDK service address. */ constructor(sdk: SDKInterface); /** Returns the operation service for this service address. */ getOperationService(): OperationService; /** * Calls the `Create` RPC. */ create(request: CreateProjectRequest): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateProjectRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateProjectRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Get` RPC. */ get(request: GetProjectRequest): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetProjectRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetProjectRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetProjectByNameRequest): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetProjectByNameRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetProjectByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListProjectsRequest): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListProjectsRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListProjectsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `Update` RPC. */ update(request: UpdateProjectRequest): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateProjectRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateProjectRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; } /** Represents the `nebius.iam.v1.CreateServiceAccountRequest` protobuf message. */ export interface CreateServiceAccountRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.CreateServiceAccountRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: ServiceAccountSpec | undefined; } /** Encodes, decodes, converts, and creates {@link CreateServiceAccountRequest} messages. */ export declare const CreateServiceAccountRequest: MessageFns; /** Represents the `nebius.iam.v1.GetServiceAccountRequest` protobuf message. */ export interface GetServiceAccountRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.GetServiceAccountRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link GetServiceAccountRequest} messages. */ export declare const GetServiceAccountRequest: MessageFns; /** Represents the `nebius.iam.v1.GetServiceAccountByNameRequest` protobuf message. */ export interface GetServiceAccountByNameRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.GetServiceAccountByNameRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `parent_id` protobuf field. */ parentId: string; /** Contains the `name` protobuf field. */ name: string; } /** Encodes, decodes, converts, and creates {@link GetServiceAccountByNameRequest} messages. */ export declare const GetServiceAccountByNameRequest: MessageFns; /** Represents the `nebius.iam.v1.ListServiceAccountRequest` protobuf message. */ export interface ListServiceAccountRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ListServiceAccountRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Represents the container ID. * */ parentId: string; /** * Specifies the maximum number of items to return in the response. * Default value: 10 * */ pageSize: Long; /** * Token for pagination, allowing the retrieval of the next set of results. * */ pageToken: string; /** * A filter to narrow down the results based on specific criteria. * */ filter: string; } /** Encodes, decodes, converts, and creates {@link ListServiceAccountRequest} messages. */ export declare const ListServiceAccountRequest: MessageFns; /** Represents the `nebius.iam.v1.UpdateServiceAccountRequest` protobuf message. */ export interface UpdateServiceAccountRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.UpdateServiceAccountRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: ServiceAccountSpec | undefined; } /** Encodes, decodes, converts, and creates {@link UpdateServiceAccountRequest} messages. */ export declare const UpdateServiceAccountRequest: MessageFns; /** Represents the `nebius.iam.v1.DeleteServiceAccountRequest` protobuf message. */ export interface DeleteServiceAccountRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.DeleteServiceAccountRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link DeleteServiceAccountRequest} messages. */ export declare const DeleteServiceAccountRequest: MessageFns; /** Represents the `nebius.iam.v1.ListServiceAccountResponse` protobuf message. */ export interface ListServiceAccountResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ListServiceAccountResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * List of service accounts returned in the response. The field should be named as `items` for consistency. * */ items: ServiceAccount[]; /** * Token for pagination, indicating the next set of results can be retrieved using this token. * */ nextPageToken: string; } /** Encodes, decodes, converts, and creates {@link ListServiceAccountResponse} messages. */ export declare const ListServiceAccountResponse: MessageFns; /** * Defines the gRPC methods for the `nebius.iam.v1.ServiceAccountService` service. */ export type ServiceAccountServiceServiceDescription = typeof ServiceAccountServiceServiceDescription; /** * Describes the gRPC methods for the `nebius.iam.v1.ServiceAccountService` service. */ export declare const ServiceAccountServiceServiceDescription: { readonly create: { readonly path: "/nebius.iam.v1.ServiceAccountService/Create"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: CreateServiceAccountRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => CreateServiceAccountRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly get: { readonly path: "/nebius.iam.v1.ServiceAccountService/Get"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetServiceAccountRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetServiceAccountRequest; readonly responseSerialize: (value: ServiceAccount) => Buffer; readonly responseDeserialize: (value: Buffer) => ServiceAccount; }; readonly getByName: { readonly path: "/nebius.iam.v1.ServiceAccountService/GetByName"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetServiceAccountByNameRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetServiceAccountByNameRequest; readonly responseSerialize: (value: ServiceAccount) => Buffer; readonly responseDeserialize: (value: Buffer) => ServiceAccount; }; readonly list: { readonly path: "/nebius.iam.v1.ServiceAccountService/List"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListServiceAccountRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListServiceAccountRequest; readonly responseSerialize: (value: ListServiceAccountResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListServiceAccountResponse; }; readonly update: { readonly path: "/nebius.iam.v1.ServiceAccountService/Update"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: UpdateServiceAccountRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: true; readonly requestDeserialize: (value: Buffer) => UpdateServiceAccountRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly delete: { readonly path: "/nebius.iam.v1.ServiceAccountService/Delete"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: DeleteServiceAccountRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => DeleteServiceAccountRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; }; /** * Handles server calls for the `nebius.iam.v1.ServiceAccountService` service. */ export interface ServiceAccountServiceServer extends UntypedServiceImplementation { /** * Handles the `Create` RPC. */ create: handleUnaryCall; /** * Handles the `Get` RPC. */ get: handleUnaryCall; /** * Handles the `GetByName` RPC. */ getByName: handleUnaryCall; /** * Handles the `List` RPC. */ list: handleUnaryCall; /** * Handles the `Update` RPC. */ update: handleUnaryCall; /** * Handles the `Delete` RPC. */ delete: handleUnaryCall; } /** * Defines the low-level gRPC client for the `nebius.iam.v1.ServiceAccountService` service. */ export interface ServiceAccountServiceBaseClient extends Client { /** * Calls the `Create` RPC. */ create(request: CreateServiceAccountRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Calls the `Get` RPC. */ get(request: GetServiceAccountRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ServiceAccount) => void): ClientUnaryCall; /** * Calls the `GetByName` RPC. */ getByName(request: GetServiceAccountByNameRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ServiceAccount) => void): ClientUnaryCall; /** * Calls the `List` RPC. */ list(request: ListServiceAccountRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListServiceAccountResponse) => void): ClientUnaryCall; /** * Calls the `Update` RPC. */ update(request: UpdateServiceAccountRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Calls the `Delete` RPC. */ delete(request: DeleteServiceAccountRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; } /** * Creates low-level gRPC clients for the `nebius.iam.v1.ServiceAccountService` service. */ export declare const ServiceAccountServiceBaseClient: { /** Creates a low-level client for the service address. */ new (address: string, credentials: ChannelCredentials, options?: Partial): ServiceAccountServiceBaseClient; /** Contains the gRPC service description. */ service: typeof ServiceAccountServiceServiceDescription; /** Contains the fully qualified protobuf service name. */ serviceName: string; }; /** * Calls the `nebius.iam.v1.ServiceAccountService` service. */ export interface ServiceAccountService { /** Contains the fully qualified protobuf service name. */ $type: "nebius.iam.v1.ServiceAccountService"; /** * Calls the `Create` RPC. */ create(request: CreateServiceAccountRequest): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateServiceAccountRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateServiceAccountRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Get` RPC. */ get(request: GetServiceAccountRequest): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetServiceAccountRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetServiceAccountRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetServiceAccountByNameRequest): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetServiceAccountByNameRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetServiceAccountByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListServiceAccountRequest): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListServiceAccountRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListServiceAccountRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `Update` RPC. */ update(request: UpdateServiceAccountRequest): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateServiceAccountRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateServiceAccountRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteServiceAccountRequest): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteServiceAccountRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteServiceAccountRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; } /** * Calls the `nebius.iam.v1.ServiceAccountService` service through the Nebius SDK. */ export declare class ServiceAccountService implements ServiceAccountService { private sdk; $type: "nebius.iam.v1.ServiceAccountService"; private addr; private spec; private apiServiceName; /** Creates a client that uses the SDK service address. */ constructor(sdk: SDKInterface); /** Returns the operation service for this service address. */ getOperationService(): OperationService; /** * Calls the `Create` RPC. */ create(request: CreateServiceAccountRequest): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateServiceAccountRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateServiceAccountRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Get` RPC. */ get(request: GetServiceAccountRequest): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetServiceAccountRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetServiceAccountRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetServiceAccountByNameRequest): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetServiceAccountByNameRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetServiceAccountByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListServiceAccountRequest): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListServiceAccountRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListServiceAccountRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `Update` RPC. */ update(request: UpdateServiceAccountRequest): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateServiceAccountRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateServiceAccountRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteServiceAccountRequest): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteServiceAccountRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteServiceAccountRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; } /** Represents the `nebius.iam.v1.ServiceAccount` protobuf message. */ export interface ServiceAccount { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ServiceAccount"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: ServiceAccountSpec | undefined; /** Contains the `status` protobuf field. */ status?: ServiceAccountStatus | undefined; } /** Encodes, decodes, converts, and creates {@link ServiceAccount} messages. */ export declare const ServiceAccount: MessageFns; /** Represents the `nebius.iam.v1.ServiceAccountSpec` protobuf message. */ export interface ServiceAccountSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ServiceAccountSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `description` protobuf field. */ description: string; } /** Encodes, decodes, converts, and creates {@link ServiceAccountSpec} messages. */ export declare const ServiceAccountSpec: MessageFns; /** Represents the `nebius.iam.v1.ServiceAccountStatus` protobuf message. */ export interface ServiceAccountStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ServiceAccountStatus"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `active` protobuf field. */ active: boolean; } /** Encodes, decodes, converts, and creates {@link ServiceAccountStatus} messages. */ export declare const ServiceAccountStatus: MessageFns; /** * see also nebius/iam/v1/tenant_user_account.proto/UserAttributes * */ export interface ServiceAccountAttributes { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ServiceAccountAttributes"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `name` protobuf field. */ name: string; /** Contains the `description` protobuf field. */ description: string; } /** Encodes, decodes, converts, and creates {@link ServiceAccountAttributes} messages. */ export declare const ServiceAccountAttributes: MessageFns; /** Represents the `nebius.iam.v1.RevokeSessionRequest` protobuf message. */ export interface RevokeSessionRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.RevokeSessionRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the selected value for the `revoke` protobuf oneof. */ revoke?: { $case: "serviceAccountId"; serviceAccountId: string; } | { $case: "allMyActive"; allMyActive: boolean; } | { $case: "tenantUserAccountId"; tenantUserAccountId: string; } | undefined; } /** Encodes, decodes, converts, and creates {@link RevokeSessionRequest} messages. */ export declare const RevokeSessionRequest: MessageFns; /** Represents the `nebius.iam.v1.RevokeSessionResponse` protobuf message. */ export interface RevokeSessionResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.RevokeSessionResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; } /** Encodes, decodes, converts, and creates {@link RevokeSessionResponse} messages. */ export declare const RevokeSessionResponse: MessageFns; /** * Defines the gRPC methods for the `nebius.iam.v1.SessionManagementService` service. */ export type SessionManagementServiceServiceDescription = typeof SessionManagementServiceServiceDescription; /** * Describes the gRPC methods for the `nebius.iam.v1.SessionManagementService` service. */ export declare const SessionManagementServiceServiceDescription: { readonly revoke: { readonly path: "/nebius.iam.v1.SessionManagementService/Revoke"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: RevokeSessionRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => RevokeSessionRequest; readonly responseSerialize: (value: RevokeSessionResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => RevokeSessionResponse; }; }; /** * Handles server calls for the `nebius.iam.v1.SessionManagementService` service. */ export interface SessionManagementServiceServer extends UntypedServiceImplementation { /** * Revoke sessions/tokens * */ revoke: handleUnaryCall; } /** * Defines the low-level gRPC client for the `nebius.iam.v1.SessionManagementService` service. */ export interface SessionManagementServiceBaseClient extends Client { /** * Revoke sessions/tokens * */ revoke(request: RevokeSessionRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: RevokeSessionResponse) => void): ClientUnaryCall; } /** * Creates low-level gRPC clients for the `nebius.iam.v1.SessionManagementService` service. */ export declare const SessionManagementServiceBaseClient: { /** Creates a low-level client for the service address. */ new (address: string, credentials: ChannelCredentials, options?: Partial): SessionManagementServiceBaseClient; /** Contains the gRPC service description. */ service: typeof SessionManagementServiceServiceDescription; /** Contains the fully qualified protobuf service name. */ serviceName: string; }; /** * Calls the `nebius.iam.v1.SessionManagementService` service. */ export interface SessionManagementService { /** Contains the fully qualified protobuf service name. */ $type: "nebius.iam.v1.SessionManagementService"; /** * Revoke sessions/tokens * */ revoke(request: RevokeSessionRequest): SDKRequestClass; /** * Revoke sessions/tokens * */ revoke(request: RevokeSessionRequest, metadata: Metadata): SDKRequestClass; /** * Revoke sessions/tokens * */ revoke(request: RevokeSessionRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; } /** * Calls the `nebius.iam.v1.SessionManagementService` service through the Nebius SDK. */ export declare class SessionManagementService implements SessionManagementService { private sdk; $type: "nebius.iam.v1.SessionManagementService"; private addr; private spec; private apiServiceName; /** Creates a client that uses the SDK service address. */ constructor(sdk: SDKInterface); /** * Revoke sessions/tokens * */ revoke(request: RevokeSessionRequest): SDKRequestClass; /** * Revoke sessions/tokens * */ revoke(request: RevokeSessionRequest, metadata: Metadata): SDKRequestClass; /** * Revoke sessions/tokens * */ revoke(request: RevokeSessionRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; } /** * Represents the `nebius.iam.v1.State` protobuf enum. */ export type State = EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "SCHEDULING_FOR_DELETION" | "SCHEDULED_FOR_DELETION" | "SCHEDULING_FOR_DELETION_BY_PARENT" | "SCHEDULED_FOR_DELETION_BY_PARENT" | "UNDELETING" | "PURGING" | "PURGED" | "CREATED" | "ACTIVATING" | "PARKING" | "PARKED" | "CREATING">; /** Defines the static values of {@link State}. */ export interface StateValueMembers { /** * Represents the `STATE_UNSPECIFIED` protobuf enum value. */ readonly STATE_UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "SCHEDULING_FOR_DELETION" | "SCHEDULED_FOR_DELETION" | "SCHEDULING_FOR_DELETION_BY_PARENT" | "SCHEDULED_FOR_DELETION_BY_PARENT" | "UNDELETING" | "PURGING" | "PURGED" | "CREATED" | "ACTIVATING" | "PARKING" | "PARKED" | "CREATING">; /** * Represents the `ACTIVE` protobuf enum value. */ readonly ACTIVE: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "SCHEDULING_FOR_DELETION" | "SCHEDULED_FOR_DELETION" | "SCHEDULING_FOR_DELETION_BY_PARENT" | "SCHEDULED_FOR_DELETION_BY_PARENT" | "UNDELETING" | "PURGING" | "PURGED" | "CREATED" | "ACTIVATING" | "PARKING" | "PARKED" | "CREATING">; /** * Represents the `SCHEDULING_FOR_DELETION` protobuf enum value. */ readonly SCHEDULING_FOR_DELETION: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "SCHEDULING_FOR_DELETION" | "SCHEDULED_FOR_DELETION" | "SCHEDULING_FOR_DELETION_BY_PARENT" | "SCHEDULED_FOR_DELETION_BY_PARENT" | "UNDELETING" | "PURGING" | "PURGED" | "CREATED" | "ACTIVATING" | "PARKING" | "PARKED" | "CREATING">; /** * Represents the `SCHEDULED_FOR_DELETION` protobuf enum value. */ readonly SCHEDULED_FOR_DELETION: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "SCHEDULING_FOR_DELETION" | "SCHEDULED_FOR_DELETION" | "SCHEDULING_FOR_DELETION_BY_PARENT" | "SCHEDULED_FOR_DELETION_BY_PARENT" | "UNDELETING" | "PURGING" | "PURGED" | "CREATED" | "ACTIVATING" | "PARKING" | "PARKED" | "CREATING">; /** * Represents the `SCHEDULING_FOR_DELETION_BY_PARENT` protobuf enum value. */ readonly SCHEDULING_FOR_DELETION_BY_PARENT: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "SCHEDULING_FOR_DELETION" | "SCHEDULED_FOR_DELETION" | "SCHEDULING_FOR_DELETION_BY_PARENT" | "SCHEDULED_FOR_DELETION_BY_PARENT" | "UNDELETING" | "PURGING" | "PURGED" | "CREATED" | "ACTIVATING" | "PARKING" | "PARKED" | "CREATING">; /** * Represents the `SCHEDULED_FOR_DELETION_BY_PARENT` protobuf enum value. */ readonly SCHEDULED_FOR_DELETION_BY_PARENT: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "SCHEDULING_FOR_DELETION" | "SCHEDULED_FOR_DELETION" | "SCHEDULING_FOR_DELETION_BY_PARENT" | "SCHEDULED_FOR_DELETION_BY_PARENT" | "UNDELETING" | "PURGING" | "PURGED" | "CREATED" | "ACTIVATING" | "PARKING" | "PARKED" | "CREATING">; /** * Represents the `UNDELETING` protobuf enum value. */ readonly UNDELETING: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "SCHEDULING_FOR_DELETION" | "SCHEDULED_FOR_DELETION" | "SCHEDULING_FOR_DELETION_BY_PARENT" | "SCHEDULED_FOR_DELETION_BY_PARENT" | "UNDELETING" | "PURGING" | "PURGED" | "CREATED" | "ACTIVATING" | "PARKING" | "PARKED" | "CREATING">; /** * Represents the `PURGING` protobuf enum value. */ readonly PURGING: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "SCHEDULING_FOR_DELETION" | "SCHEDULED_FOR_DELETION" | "SCHEDULING_FOR_DELETION_BY_PARENT" | "SCHEDULED_FOR_DELETION_BY_PARENT" | "UNDELETING" | "PURGING" | "PURGED" | "CREATED" | "ACTIVATING" | "PARKING" | "PARKED" | "CREATING">; /** * Represents the `PURGED` protobuf enum value. */ readonly PURGED: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "SCHEDULING_FOR_DELETION" | "SCHEDULED_FOR_DELETION" | "SCHEDULING_FOR_DELETION_BY_PARENT" | "SCHEDULED_FOR_DELETION_BY_PARENT" | "UNDELETING" | "PURGING" | "PURGED" | "CREATED" | "ACTIVATING" | "PARKING" | "PARKED" | "CREATING">; /** * Represents the `CREATED` protobuf enum value. */ readonly CREATED: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "SCHEDULING_FOR_DELETION" | "SCHEDULED_FOR_DELETION" | "SCHEDULING_FOR_DELETION_BY_PARENT" | "SCHEDULED_FOR_DELETION_BY_PARENT" | "UNDELETING" | "PURGING" | "PURGED" | "CREATED" | "ACTIVATING" | "PARKING" | "PARKED" | "CREATING">; /** * Represents the `ACTIVATING` protobuf enum value. */ readonly ACTIVATING: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "SCHEDULING_FOR_DELETION" | "SCHEDULED_FOR_DELETION" | "SCHEDULING_FOR_DELETION_BY_PARENT" | "SCHEDULED_FOR_DELETION_BY_PARENT" | "UNDELETING" | "PURGING" | "PURGED" | "CREATED" | "ACTIVATING" | "PARKING" | "PARKED" | "CREATING">; /** * Represents the `PARKING` protobuf enum value. */ readonly PARKING: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "SCHEDULING_FOR_DELETION" | "SCHEDULED_FOR_DELETION" | "SCHEDULING_FOR_DELETION_BY_PARENT" | "SCHEDULED_FOR_DELETION_BY_PARENT" | "UNDELETING" | "PURGING" | "PURGED" | "CREATED" | "ACTIVATING" | "PARKING" | "PARKED" | "CREATING">; /** * Represents the `PARKED` protobuf enum value. */ readonly PARKED: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "SCHEDULING_FOR_DELETION" | "SCHEDULED_FOR_DELETION" | "SCHEDULING_FOR_DELETION_BY_PARENT" | "SCHEDULED_FOR_DELETION_BY_PARENT" | "UNDELETING" | "PURGING" | "PURGED" | "CREATED" | "ACTIVATING" | "PARKING" | "PARKED" | "CREATING">; /** * DRAFT = 1000; * */ readonly CREATING: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "SCHEDULING_FOR_DELETION" | "SCHEDULED_FOR_DELETION" | "SCHEDULING_FOR_DELETION_BY_PARENT" | "SCHEDULED_FOR_DELETION_BY_PARENT" | "UNDELETING" | "PURGING" | "PURGED" | "CREATED" | "ACTIVATING" | "PARKING" | "PARKED" | "CREATING">; } /** Defines the runtime API for {@link State}. */ export type StateClass = EnumClass<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "SCHEDULING_FOR_DELETION" | "SCHEDULED_FOR_DELETION" | "SCHEDULING_FOR_DELETION_BY_PARENT" | "SCHEDULED_FOR_DELETION_BY_PARENT" | "UNDELETING" | "PURGING" | "PURGED" | "CREATED" | "ACTIVATING" | "PARKING" | "PARKED" | "CREATING"> & StateValueMembers; /** Converts and creates {@link State} values. */ export declare const State: StateClass; /** Represents the `nebius.iam.v1.GetStaticKeyRequest` protobuf message. */ export interface GetStaticKeyRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.GetStaticKeyRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** id of the static key */ id: string; } /** Encodes, decodes, converts, and creates {@link GetStaticKeyRequest} messages. */ export declare const GetStaticKeyRequest: MessageFns; /** Represents the `nebius.iam.v1.GetStaticKeyByNameRequest` protobuf message. */ export interface GetStaticKeyByNameRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.GetStaticKeyByNameRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** id of the parent container (service account) */ parentId: string; /** name of the static key */ name: string; } /** Encodes, decodes, converts, and creates {@link GetStaticKeyByNameRequest} messages. */ export declare const GetStaticKeyByNameRequest: MessageFns; /** Represents the `nebius.iam.v1.DeleteStaticKeyRequest` protobuf message. */ export interface DeleteStaticKeyRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.DeleteStaticKeyRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** id of the static key to delete */ id: string; } /** Encodes, decodes, converts, and creates {@link DeleteStaticKeyRequest} messages. */ export declare const DeleteStaticKeyRequest: MessageFns; /** Represents the `nebius.iam.v1.ListStaticKeysRequest` protobuf message. */ export interface ListStaticKeysRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ListStaticKeysRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Represents the container ID. * */ parentId: string; /** * Specifies the maximum number of items to return in the response. * Default value: 10 * */ pageSize: Long; /** * Token for pagination, allowing the retrieval of the next set of results. * */ pageToken: string; /** * A filter to narrow down the results based on specific criteria. * */ filter: string; } /** Encodes, decodes, converts, and creates {@link ListStaticKeysRequest} messages. */ export declare const ListStaticKeysRequest: MessageFns; /** Represents the `nebius.iam.v1.ListStaticKeysResponse` protobuf message. */ export interface ListStaticKeysResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ListStaticKeysResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * List of static keys returned in the response. The field should be named as `items` for consistency. * */ items: StaticKey[]; /** * Token for pagination, indicating the next set of results can be retrieved using this token. * */ nextPageToken: string; } /** Encodes, decodes, converts, and creates {@link ListStaticKeysResponse} messages. */ export declare const ListStaticKeysResponse: MessageFns; /** Represents the `nebius.iam.v1.IssueStaticKeyRequest` protobuf message. */ export interface IssueStaticKeyRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.IssueStaticKeyRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: StaticKeySpec | undefined; } /** Encodes, decodes, converts, and creates {@link IssueStaticKeyRequest} messages. */ export declare const IssueStaticKeyRequest: MessageFns; /** Represents the `nebius.iam.v1.IssueStaticKeyResponse` protobuf message. */ export interface IssueStaticKeyResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.IssueStaticKeyResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `token` protobuf field. */ token: string; /** Contains the `operation` protobuf field. */ operation?: Operation | undefined; } /** Encodes, decodes, converts, and creates {@link IssueStaticKeyResponse} messages. */ export declare const IssueStaticKeyResponse: MessageFns; /** Represents the `nebius.iam.v1.FindStaticKeyRequest` protobuf message. */ export interface FindStaticKeyRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.FindStaticKeyRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * the method accepts a static key token with and without signature as an input * */ token: string; } /** Encodes, decodes, converts, and creates {@link FindStaticKeyRequest} messages. */ export declare const FindStaticKeyRequest: MessageFns; /** Represents the `nebius.iam.v1.FindStaticKeyResponse` protobuf message. */ export interface FindStaticKeyResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.FindStaticKeyResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `static_key` protobuf field. */ staticKey?: StaticKey | undefined; } /** Encodes, decodes, converts, and creates {@link FindStaticKeyResponse} messages. */ export declare const FindStaticKeyResponse: MessageFns; /** Represents the `nebius.iam.v1.RevokeStaticKeyRequest` protobuf message. */ export interface RevokeStaticKeyRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.RevokeStaticKeyRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * the method accepts a static key token with and without signature as an input * */ token: string; } /** Encodes, decodes, converts, and creates {@link RevokeStaticKeyRequest} messages. */ export declare const RevokeStaticKeyRequest: MessageFns; /** * Defines the gRPC methods for the `nebius.iam.v1.StaticKeyService` service. */ export type StaticKeyServiceServiceDescription = typeof StaticKeyServiceServiceDescription; /** * Describes the gRPC methods for the `nebius.iam.v1.StaticKeyService` service. */ export declare const StaticKeyServiceServiceDescription: { readonly issue: { readonly path: "/nebius.iam.v1.StaticKeyService/Issue"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: IssueStaticKeyRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => IssueStaticKeyRequest; readonly responseSerialize: (value: IssueStaticKeyResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => IssueStaticKeyResponse; }; readonly list: { readonly path: "/nebius.iam.v1.StaticKeyService/List"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListStaticKeysRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListStaticKeysRequest; readonly responseSerialize: (value: ListStaticKeysResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListStaticKeysResponse; }; readonly get: { readonly path: "/nebius.iam.v1.StaticKeyService/Get"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetStaticKeyRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetStaticKeyRequest; readonly responseSerialize: (value: StaticKey) => Buffer; readonly responseDeserialize: (value: Buffer) => StaticKey; }; readonly getByName: { readonly path: "/nebius.iam.v1.StaticKeyService/GetByName"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetStaticKeyByNameRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetStaticKeyByNameRequest; readonly responseSerialize: (value: StaticKey) => Buffer; readonly responseDeserialize: (value: Buffer) => StaticKey; }; readonly delete: { readonly path: "/nebius.iam.v1.StaticKeyService/Delete"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: DeleteStaticKeyRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => DeleteStaticKeyRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly find: { readonly path: "/nebius.iam.v1.StaticKeyService/Find"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: FindStaticKeyRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => FindStaticKeyRequest; readonly responseSerialize: (value: FindStaticKeyResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => FindStaticKeyResponse; }; readonly revoke: { readonly path: "/nebius.iam.v1.StaticKeyService/Revoke"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: RevokeStaticKeyRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => RevokeStaticKeyRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; }; /** * Handles server calls for the `nebius.iam.v1.StaticKeyService` service. */ export interface StaticKeyServiceServer extends UntypedServiceImplementation { /** * Handles the `Issue` RPC. */ issue: handleUnaryCall; /** * Handles the `List` RPC. */ list: handleUnaryCall; /** * Handles the `Get` RPC. */ get: handleUnaryCall; /** * Handles the `GetByName` RPC. */ getByName: handleUnaryCall; /** * Handles the `Delete` RPC. */ delete: handleUnaryCall; /** * Handles the `Find` RPC. */ find: handleUnaryCall; /** * Handles the `Revoke` RPC. */ revoke: handleUnaryCall; } /** * Defines the low-level gRPC client for the `nebius.iam.v1.StaticKeyService` service. */ export interface StaticKeyServiceBaseClient extends Client { /** * Calls the `Issue` RPC. */ issue(request: IssueStaticKeyRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: IssueStaticKeyResponse) => void): ClientUnaryCall; /** * Calls the `List` RPC. */ list(request: ListStaticKeysRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListStaticKeysResponse) => void): ClientUnaryCall; /** * Calls the `Get` RPC. */ get(request: GetStaticKeyRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: StaticKey) => void): ClientUnaryCall; /** * Calls the `GetByName` RPC. */ getByName(request: GetStaticKeyByNameRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: StaticKey) => void): ClientUnaryCall; /** * Calls the `Delete` RPC. */ delete(request: DeleteStaticKeyRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Calls the `Find` RPC. */ find(request: FindStaticKeyRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: FindStaticKeyResponse) => void): ClientUnaryCall; /** * Calls the `Revoke` RPC. */ revoke(request: RevokeStaticKeyRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; } /** * Creates low-level gRPC clients for the `nebius.iam.v1.StaticKeyService` service. */ export declare const StaticKeyServiceBaseClient: { /** Creates a low-level client for the service address. */ new (address: string, credentials: ChannelCredentials, options?: Partial): StaticKeyServiceBaseClient; /** Contains the gRPC service description. */ service: typeof StaticKeyServiceServiceDescription; /** Contains the fully qualified protobuf service name. */ serviceName: string; }; /** * Calls the `nebius.iam.v1.StaticKeyService` service. */ export interface StaticKeyService { /** Contains the fully qualified protobuf service name. */ $type: "nebius.iam.v1.StaticKeyService"; /** * Calls the `Issue` RPC. */ issue(request: IssueStaticKeyRequest): SDKRequestClass; /** * Calls the `Issue` RPC. */ issue(request: IssueStaticKeyRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Issue` RPC. */ issue(request: IssueStaticKeyRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListStaticKeysRequest): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListStaticKeysRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListStaticKeysRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetStaticKeyRequest): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetStaticKeyRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetStaticKeyRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetStaticKeyByNameRequest): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetStaticKeyByNameRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetStaticKeyByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `Delete` RPC. */ delete(request: DeleteStaticKeyRequest): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteStaticKeyRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteStaticKeyRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Find` RPC. */ find(request: FindStaticKeyRequest): SDKRequestClass; /** * Calls the `Find` RPC. */ find(request: FindStaticKeyRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Find` RPC. */ find(request: FindStaticKeyRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `Revoke` RPC. */ revoke(request: RevokeStaticKeyRequest): SDKRequestClass>; /** * Calls the `Revoke` RPC. */ revoke(request: RevokeStaticKeyRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Revoke` RPC. */ revoke(request: RevokeStaticKeyRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; } /** * Calls the `nebius.iam.v1.StaticKeyService` service through the Nebius SDK. */ export declare class StaticKeyService implements StaticKeyService { private sdk; $type: "nebius.iam.v1.StaticKeyService"; private addr; private spec; private apiServiceName; /** Creates a client that uses the SDK service address. */ constructor(sdk: SDKInterface); /** Returns the operation service for this service address. */ getOperationService(): OperationService; /** * Calls the `Issue` RPC. */ issue(request: IssueStaticKeyRequest): SDKRequestClass; /** * Calls the `Issue` RPC. */ issue(request: IssueStaticKeyRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Issue` RPC. */ issue(request: IssueStaticKeyRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListStaticKeysRequest): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListStaticKeysRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListStaticKeysRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetStaticKeyRequest): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetStaticKeyRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetStaticKeyRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetStaticKeyByNameRequest): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetStaticKeyByNameRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetStaticKeyByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `Delete` RPC. */ delete(request: DeleteStaticKeyRequest): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteStaticKeyRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteStaticKeyRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Find` RPC. */ find(request: FindStaticKeyRequest): SDKRequestClass; /** * Calls the `Find` RPC. */ find(request: FindStaticKeyRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Find` RPC. */ find(request: FindStaticKeyRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `Revoke` RPC. */ revoke(request: RevokeStaticKeyRequest): SDKRequestClass>; /** * Calls the `Revoke` RPC. */ revoke(request: RevokeStaticKeyRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Revoke` RPC. */ revoke(request: RevokeStaticKeyRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; } /** * Represents the `nebius.iam.v1.StaticKeySpec.ClientService` protobuf enum. */ export type StaticKeySpec_ClientService = EnumInstance<"UNRECOGNIZED" | "CLIENT_SERVICE_UNSPECIFIED" | "OBSERVABILITY" | "CONTAINER_REGISTRY" | "AI_STUDIO" | "TRACTO" | "LINUX_IDENTITY">; /** Defines the static values of {@link StaticKeySpec_ClientService}. */ export interface StaticKeySpec_ClientServiceValueMembers { /** * Represents the `CLIENT_SERVICE_UNSPECIFIED` protobuf enum value. */ readonly CLIENT_SERVICE_UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "CLIENT_SERVICE_UNSPECIFIED" | "OBSERVABILITY" | "CONTAINER_REGISTRY" | "AI_STUDIO" | "TRACTO" | "LINUX_IDENTITY">; /** * Represents the `OBSERVABILITY` protobuf enum value. */ readonly OBSERVABILITY: EnumInstance<"UNRECOGNIZED" | "CLIENT_SERVICE_UNSPECIFIED" | "OBSERVABILITY" | "CONTAINER_REGISTRY" | "AI_STUDIO" | "TRACTO" | "LINUX_IDENTITY">; /** * Represents the `CONTAINER_REGISTRY` protobuf enum value. */ readonly CONTAINER_REGISTRY: EnumInstance<"UNRECOGNIZED" | "CLIENT_SERVICE_UNSPECIFIED" | "OBSERVABILITY" | "CONTAINER_REGISTRY" | "AI_STUDIO" | "TRACTO" | "LINUX_IDENTITY">; /** * Represents the `AI_STUDIO` protobuf enum value. */ readonly AI_STUDIO: EnumInstance<"UNRECOGNIZED" | "CLIENT_SERVICE_UNSPECIFIED" | "OBSERVABILITY" | "CONTAINER_REGISTRY" | "AI_STUDIO" | "TRACTO" | "LINUX_IDENTITY">; /** * Represents the `TRACTO` protobuf enum value. */ readonly TRACTO: EnumInstance<"UNRECOGNIZED" | "CLIENT_SERVICE_UNSPECIFIED" | "OBSERVABILITY" | "CONTAINER_REGISTRY" | "AI_STUDIO" | "TRACTO" | "LINUX_IDENTITY">; /** * Represents the `LINUX_IDENTITY` protobuf enum value. */ readonly LINUX_IDENTITY: EnumInstance<"UNRECOGNIZED" | "CLIENT_SERVICE_UNSPECIFIED" | "OBSERVABILITY" | "CONTAINER_REGISTRY" | "AI_STUDIO" | "TRACTO" | "LINUX_IDENTITY">; } /** Defines the runtime API for {@link StaticKeySpec_ClientService}. */ export type StaticKeySpec_ClientServiceClass = EnumClass<"UNRECOGNIZED" | "CLIENT_SERVICE_UNSPECIFIED" | "OBSERVABILITY" | "CONTAINER_REGISTRY" | "AI_STUDIO" | "TRACTO" | "LINUX_IDENTITY"> & StaticKeySpec_ClientServiceValueMembers; /** Converts and creates {@link StaticKeySpec_ClientService} values. */ export declare const StaticKeySpec_ClientService: StaticKeySpec_ClientServiceClass; /** Represents the `nebius.iam.v1.StaticKey` protobuf message. */ export interface StaticKey { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.StaticKey"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: StaticKeySpec | undefined; /** Contains the `status` protobuf field. */ status?: StaticKeyStatus | undefined; } /** Encodes, decodes, converts, and creates {@link StaticKey} messages. */ export declare const StaticKey: MessageFns; /** Represents the `nebius.iam.v1.StaticKeySpec` protobuf message. */ export interface StaticKeySpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.StaticKeySpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** account of the static key. only service accounts are supported for now */ account?: Account | undefined; /** service static key is to be used for */ service: StaticKeySpec_ClientService; /** when will the static key expire */ expiresAt?: Dayjs | undefined; } /** Encodes, decodes, converts, and creates {@link StaticKeySpec} messages. */ export declare const StaticKeySpec: MessageFns; /** Represents the `nebius.iam.v1.StaticKeyStatus` protobuf message. */ export interface StaticKeyStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.StaticKeyStatus"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `active` protobuf field. */ active: boolean; } /** Encodes, decodes, converts, and creates {@link StaticKeyStatus} messages. */ export declare const StaticKeyStatus: MessageFns; /** * Represents the `nebius.iam.v1.SuspensionState` protobuf enum. */ export type SuspensionState = EnumInstance<"UNRECOGNIZED" | "SUSPENSION_STATE_UNSPECIFIED" | "NONE" | "SUSPENDING" | "SUSPENDED" | "RESUMING">; /** Defines the static values of {@link SuspensionState}. */ export interface SuspensionStateValueMembers { /** * Represents the `SUSPENSION_STATE_UNSPECIFIED` protobuf enum value. */ readonly SUSPENSION_STATE_UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "SUSPENSION_STATE_UNSPECIFIED" | "NONE" | "SUSPENDING" | "SUSPENDED" | "RESUMING">; /** * Represents the `NONE` protobuf enum value. */ readonly NONE: EnumInstance<"UNRECOGNIZED" | "SUSPENSION_STATE_UNSPECIFIED" | "NONE" | "SUSPENDING" | "SUSPENDED" | "RESUMING">; /** * Represents the `SUSPENDING` protobuf enum value. */ readonly SUSPENDING: EnumInstance<"UNRECOGNIZED" | "SUSPENSION_STATE_UNSPECIFIED" | "NONE" | "SUSPENDING" | "SUSPENDED" | "RESUMING">; /** * Represents the `SUSPENDED` protobuf enum value. */ readonly SUSPENDED: EnumInstance<"UNRECOGNIZED" | "SUSPENSION_STATE_UNSPECIFIED" | "NONE" | "SUSPENDING" | "SUSPENDED" | "RESUMING">; /** * Represents the `RESUMING` protobuf enum value. */ readonly RESUMING: EnumInstance<"UNRECOGNIZED" | "SUSPENSION_STATE_UNSPECIFIED" | "NONE" | "SUSPENDING" | "SUSPENDED" | "RESUMING">; } /** Defines the runtime API for {@link SuspensionState}. */ export type SuspensionStateClass = EnumClass<"UNRECOGNIZED" | "SUSPENSION_STATE_UNSPECIFIED" | "NONE" | "SUSPENDING" | "SUSPENDED" | "RESUMING"> & SuspensionStateValueMembers; /** Converts and creates {@link SuspensionState} values. */ export declare const SuspensionState: SuspensionStateClass; /** Represents the `nebius.iam.v1.GetTenantRequest` protobuf message. */ export interface GetTenantRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.GetTenantRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link GetTenantRequest} messages. */ export declare const GetTenantRequest: MessageFns; /** Represents the `nebius.iam.v1.ListTenantsRequest` protobuf message. */ export interface ListTenantsRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ListTenantsRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Specifies the maximum number of items to return in the response. * Default value: 10 * */ pageSize: Long; /** * Token for pagination, allowing the retrieval of the next set of results. * */ pageToken: string; /** * A filter to narrow down the results based on specific criteria. * */ filter: string; } /** Encodes, decodes, converts, and creates {@link ListTenantsRequest} messages. */ export declare const ListTenantsRequest: MessageFns; /** Represents the `nebius.iam.v1.ListTenantsResponse` protobuf message. */ export interface ListTenantsResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ListTenantsResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `items` protobuf field. */ items: Container[]; /** * Token for pagination, indicating the next set of results can be retrieved using this token. * */ nextPageToken: string; } /** Encodes, decodes, converts, and creates {@link ListTenantsResponse} messages. */ export declare const ListTenantsResponse: MessageFns; /** * Defines the gRPC methods for the `nebius.iam.v1.TenantService` service. */ export type TenantServiceServiceDescription = typeof TenantServiceServiceDescription; /** * Describes the gRPC methods for the `nebius.iam.v1.TenantService` service. */ export declare const TenantServiceServiceDescription: { readonly get: { readonly path: "/nebius.iam.v1.TenantService/Get"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetTenantRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetTenantRequest; readonly responseSerialize: (value: Container) => Buffer; readonly responseDeserialize: (value: Buffer) => Container; }; readonly list: { readonly path: "/nebius.iam.v1.TenantService/List"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListTenantsRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListTenantsRequest; readonly responseSerialize: (value: ListTenantsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListTenantsResponse; }; }; /** * Handles server calls for the `nebius.iam.v1.TenantService` service. */ export interface TenantServiceServer extends UntypedServiceImplementation { /** * Handles the `Get` RPC. */ get: handleUnaryCall; /** * Handles the `List` RPC. */ list: handleUnaryCall; } /** * Defines the low-level gRPC client for the `nebius.iam.v1.TenantService` service. */ export interface TenantServiceBaseClient extends Client { /** * Calls the `Get` RPC. */ get(request: GetTenantRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Container) => void): ClientUnaryCall; /** * Calls the `List` RPC. */ list(request: ListTenantsRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListTenantsResponse) => void): ClientUnaryCall; } /** * Creates low-level gRPC clients for the `nebius.iam.v1.TenantService` service. */ export declare const TenantServiceBaseClient: { /** Creates a low-level client for the service address. */ new (address: string, credentials: ChannelCredentials, options?: Partial): TenantServiceBaseClient; /** Contains the gRPC service description. */ service: typeof TenantServiceServiceDescription; /** Contains the fully qualified protobuf service name. */ serviceName: string; }; /** * Calls the `nebius.iam.v1.TenantService` service. */ export interface TenantService { /** Contains the fully qualified protobuf service name. */ $type: "nebius.iam.v1.TenantService"; /** * Calls the `Get` RPC. */ get(request: GetTenantRequest): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetTenantRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetTenantRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListTenantsRequest): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListTenantsRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListTenantsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; } /** * Calls the `nebius.iam.v1.TenantService` service through the Nebius SDK. */ export declare class TenantService implements TenantService { private sdk; $type: "nebius.iam.v1.TenantService"; private addr; private spec; private apiServiceName; /** Creates a client that uses the SDK service address. */ constructor(sdk: SDKInterface); /** * Calls the `Get` RPC. */ get(request: GetTenantRequest): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetTenantRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetTenantRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListTenantsRequest): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListTenantsRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListTenantsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; } /** Represents the `nebius.iam.v1.GetTenantUserAccountRequest` protobuf message. */ export interface GetTenantUserAccountRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.GetTenantUserAccountRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** tenant user account id like 'tenantuseraccount-{region}someuniquesuffix' */ id: string; } /** Encodes, decodes, converts, and creates {@link GetTenantUserAccountRequest} messages. */ export declare const GetTenantUserAccountRequest: MessageFns; /** Represents the `nebius.iam.v1.ListTenantUserAccountsRequest` protobuf message. */ export interface ListTenantUserAccountsRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ListTenantUserAccountsRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Represents the tenant ID like 'tenant-someuniqueprefix' * */ parentId: string; /** * Specifies the maximum number of items to return in the response. * Default value: 10 * */ pageSize: Long; /** * Token for pagination, allowing the retrieval of the next set of results. * */ pageToken: string; /** Contains the `filter` protobuf field. */ filter: string; } /** Encodes, decodes, converts, and creates {@link ListTenantUserAccountsRequest} messages. */ export declare const ListTenantUserAccountsRequest: MessageFns; /** Represents the `nebius.iam.v1.ListTenantUserAccountsResponse` protobuf message. */ export interface ListTenantUserAccountsResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ListTenantUserAccountsResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * List of service accounts returned in the response. The field should be named as `items` for consistency. * */ items: TenantUserAccount[]; /** * Token for pagination, indicating the next set of results can be retrieved using this token. * */ nextPageToken: string; } /** Encodes, decodes, converts, and creates {@link ListTenantUserAccountsResponse} messages. */ export declare const ListTenantUserAccountsResponse: MessageFns; /** Represents the `nebius.iam.v1.BlockTenantUserAccountRequest` protobuf message. */ export interface BlockTenantUserAccountRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.BlockTenantUserAccountRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link BlockTenantUserAccountRequest} messages. */ export declare const BlockTenantUserAccountRequest: MessageFns; /** Represents the `nebius.iam.v1.UnblockTenantUserAccountRequest` protobuf message. */ export interface UnblockTenantUserAccountRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.UnblockTenantUserAccountRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link UnblockTenantUserAccountRequest} messages. */ export declare const UnblockTenantUserAccountRequest: MessageFns; /** * Defines the gRPC methods for the `nebius.iam.v1.TenantUserAccountService` service. */ export type TenantUserAccountServiceServiceDescription = typeof TenantUserAccountServiceServiceDescription; /** * Describes the gRPC methods for the `nebius.iam.v1.TenantUserAccountService` service. */ export declare const TenantUserAccountServiceServiceDescription: { readonly get: { readonly path: "/nebius.iam.v1.TenantUserAccountService/Get"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetTenantUserAccountRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetTenantUserAccountRequest; readonly responseSerialize: (value: TenantUserAccount) => Buffer; readonly responseDeserialize: (value: Buffer) => TenantUserAccount; }; readonly list: { readonly path: "/nebius.iam.v1.TenantUserAccountService/List"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListTenantUserAccountsRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListTenantUserAccountsRequest; readonly responseSerialize: (value: ListTenantUserAccountsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListTenantUserAccountsResponse; }; readonly block: { readonly path: "/nebius.iam.v1.TenantUserAccountService/Block"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: BlockTenantUserAccountRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => BlockTenantUserAccountRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly unblock: { readonly path: "/nebius.iam.v1.TenantUserAccountService/Unblock"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: UnblockTenantUserAccountRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => UnblockTenantUserAccountRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; }; /** * Handles server calls for the `nebius.iam.v1.TenantUserAccountService` service. */ export interface TenantUserAccountServiceServer extends UntypedServiceImplementation { /** * Handles the `Get` RPC. */ get: handleUnaryCall; /** * Handles the `List` RPC. */ list: handleUnaryCall; /** * Handles the `Block` RPC. */ block: handleUnaryCall; /** * Handles the `Unblock` RPC. */ unblock: handleUnaryCall; } /** * Defines the low-level gRPC client for the `nebius.iam.v1.TenantUserAccountService` service. */ export interface TenantUserAccountServiceBaseClient extends Client { /** * Calls the `Get` RPC. */ get(request: GetTenantUserAccountRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: TenantUserAccount) => void): ClientUnaryCall; /** * Calls the `List` RPC. */ list(request: ListTenantUserAccountsRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListTenantUserAccountsResponse) => void): ClientUnaryCall; /** * Calls the `Block` RPC. */ block(request: BlockTenantUserAccountRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Calls the `Unblock` RPC. */ unblock(request: UnblockTenantUserAccountRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; } /** * Creates low-level gRPC clients for the `nebius.iam.v1.TenantUserAccountService` service. */ export declare const TenantUserAccountServiceBaseClient: { /** Creates a low-level client for the service address. */ new (address: string, credentials: ChannelCredentials, options?: Partial): TenantUserAccountServiceBaseClient; /** Contains the gRPC service description. */ service: typeof TenantUserAccountServiceServiceDescription; /** Contains the fully qualified protobuf service name. */ serviceName: string; }; /** * Calls the `nebius.iam.v1.TenantUserAccountService` service. */ export interface TenantUserAccountService { /** Contains the fully qualified protobuf service name. */ $type: "nebius.iam.v1.TenantUserAccountService"; /** * Calls the `Get` RPC. */ get(request: GetTenantUserAccountRequest): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetTenantUserAccountRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetTenantUserAccountRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListTenantUserAccountsRequest): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListTenantUserAccountsRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListTenantUserAccountsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `Block` RPC. */ block(request: BlockTenantUserAccountRequest): SDKRequestClass>; /** * Calls the `Block` RPC. */ block(request: BlockTenantUserAccountRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Block` RPC. */ block(request: BlockTenantUserAccountRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Unblock` RPC. */ unblock(request: UnblockTenantUserAccountRequest): SDKRequestClass>; /** * Calls the `Unblock` RPC. */ unblock(request: UnblockTenantUserAccountRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Unblock` RPC. */ unblock(request: UnblockTenantUserAccountRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; } /** * Calls the `nebius.iam.v1.TenantUserAccountService` service through the Nebius SDK. */ export declare class TenantUserAccountService implements TenantUserAccountService { private sdk; $type: "nebius.iam.v1.TenantUserAccountService"; private addr; private spec; private apiServiceName; /** Creates a client that uses the SDK service address. */ constructor(sdk: SDKInterface); /** Returns the operation service for this service address. */ getOperationService(): OperationService; /** * Calls the `Get` RPC. */ get(request: GetTenantUserAccountRequest): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetTenantUserAccountRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetTenantUserAccountRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListTenantUserAccountsRequest): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListTenantUserAccountsRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListTenantUserAccountsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `Block` RPC. */ block(request: BlockTenantUserAccountRequest): SDKRequestClass>; /** * Calls the `Block` RPC. */ block(request: BlockTenantUserAccountRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Block` RPC. */ block(request: BlockTenantUserAccountRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Unblock` RPC. */ unblock(request: UnblockTenantUserAccountRequest): SDKRequestClass>; /** * Calls the `Unblock` RPC. */ unblock(request: UnblockTenantUserAccountRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Unblock` RPC. */ unblock(request: UnblockTenantUserAccountRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; } /** Represents the `nebius.iam.v1.GetTenantUserAccountWithAttributesRequest` protobuf message. */ export interface GetTenantUserAccountWithAttributesRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.GetTenantUserAccountWithAttributesRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** tenant user account id like 'tenantuseraccount-{region}someuniquesuffix' */ id: string; } /** Encodes, decodes, converts, and creates {@link GetTenantUserAccountWithAttributesRequest} messages. */ export declare const GetTenantUserAccountWithAttributesRequest: MessageFns; /** Represents the `nebius.iam.v1.ListTenantUserAccountsWithAttributesRequest` protobuf message. */ export interface ListTenantUserAccountsWithAttributesRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ListTenantUserAccountsWithAttributesRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Represents the tenant ID like 'tenant-{region}someuniquesuffix' * */ parentId: string; /** * Specifies the maximum number of items to return in the response. * Default value: 10 * */ pageSize: Long; /** * Token for pagination, allowing the retrieval of the next set of results. * */ pageToken: string; /** Contains the `filter` protobuf field. */ filter: string; } /** Encodes, decodes, converts, and creates {@link ListTenantUserAccountsWithAttributesRequest} messages. */ export declare const ListTenantUserAccountsWithAttributesRequest: MessageFns; /** Represents the `nebius.iam.v1.ListTenantUserAccountsWithAttributesResponse` protobuf message. */ export interface ListTenantUserAccountsWithAttributesResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ListTenantUserAccountsWithAttributesResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * List of user accounts returned in the response. The field should be named as `items` for consistency. * */ items: TenantUserAccountWithAttributes[]; /** * Token for pagination, indicating the next set of results can be retrieved using this token. * */ nextPageToken: string; } /** Encodes, decodes, converts, and creates {@link ListTenantUserAccountsWithAttributesResponse} messages. */ export declare const ListTenantUserAccountsWithAttributesResponse: MessageFns; /** * Defines the gRPC methods for the `nebius.iam.v1.TenantUserAccountWithAttributesService` service. */ export type TenantUserAccountWithAttributesServiceServiceDescription = typeof TenantUserAccountWithAttributesServiceServiceDescription; /** * Describes the gRPC methods for the `nebius.iam.v1.TenantUserAccountWithAttributesService` service. */ export declare const TenantUserAccountWithAttributesServiceServiceDescription: { readonly get: { readonly path: "/nebius.iam.v1.TenantUserAccountWithAttributesService/Get"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetTenantUserAccountWithAttributesRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetTenantUserAccountWithAttributesRequest; readonly responseSerialize: (value: TenantUserAccountWithAttributes) => Buffer; readonly responseDeserialize: (value: Buffer) => TenantUserAccountWithAttributes; }; readonly list: { readonly path: "/nebius.iam.v1.TenantUserAccountWithAttributesService/List"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListTenantUserAccountsWithAttributesRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListTenantUserAccountsWithAttributesRequest; readonly responseSerialize: (value: ListTenantUserAccountsWithAttributesResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListTenantUserAccountsWithAttributesResponse; }; }; /** * Handles server calls for the `nebius.iam.v1.TenantUserAccountWithAttributesService` service. */ export interface TenantUserAccountWithAttributesServiceServer extends UntypedServiceImplementation { /** * Handles the `Get` RPC. */ get: handleUnaryCall; /** * Handles the `List` RPC. */ list: handleUnaryCall; } /** * Defines the low-level gRPC client for the `nebius.iam.v1.TenantUserAccountWithAttributesService` service. */ export interface TenantUserAccountWithAttributesServiceBaseClient extends Client { /** * Calls the `Get` RPC. */ get(request: GetTenantUserAccountWithAttributesRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: TenantUserAccountWithAttributes) => void): ClientUnaryCall; /** * Calls the `List` RPC. */ list(request: ListTenantUserAccountsWithAttributesRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListTenantUserAccountsWithAttributesResponse) => void): ClientUnaryCall; } /** * Creates low-level gRPC clients for the `nebius.iam.v1.TenantUserAccountWithAttributesService` service. */ export declare const TenantUserAccountWithAttributesServiceBaseClient: { /** Creates a low-level client for the service address. */ new (address: string, credentials: ChannelCredentials, options?: Partial): TenantUserAccountWithAttributesServiceBaseClient; /** Contains the gRPC service description. */ service: typeof TenantUserAccountWithAttributesServiceServiceDescription; /** Contains the fully qualified protobuf service name. */ serviceName: string; }; /** * Calls the `nebius.iam.v1.TenantUserAccountWithAttributesService` service. */ export interface TenantUserAccountWithAttributesService { /** Contains the fully qualified protobuf service name. */ $type: "nebius.iam.v1.TenantUserAccountWithAttributesService"; /** * Calls the `Get` RPC. */ get(request: GetTenantUserAccountWithAttributesRequest): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetTenantUserAccountWithAttributesRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetTenantUserAccountWithAttributesRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListTenantUserAccountsWithAttributesRequest): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListTenantUserAccountsWithAttributesRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListTenantUserAccountsWithAttributesRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; } /** * Calls the `nebius.iam.v1.TenantUserAccountWithAttributesService` service through the Nebius SDK. */ export declare class TenantUserAccountWithAttributesService implements TenantUserAccountWithAttributesService { private sdk; $type: "nebius.iam.v1.TenantUserAccountWithAttributesService"; private addr; private spec; private apiServiceName; /** Creates a client that uses the SDK service address. */ constructor(sdk: SDKInterface); /** * Calls the `Get` RPC. */ get(request: GetTenantUserAccountWithAttributesRequest): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetTenantUserAccountWithAttributesRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetTenantUserAccountWithAttributesRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListTenantUserAccountsWithAttributesRequest): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListTenantUserAccountsWithAttributesRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListTenantUserAccountsWithAttributesRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; } /** * Represents the `nebius.iam.v1.TenantUserAccountStatus.State` protobuf enum. */ export type TenantUserAccountStatus_State = EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "INACTIVE" | "BLOCKED">; /** Defines the static values of {@link TenantUserAccountStatus_State}. */ export interface TenantUserAccountStatus_StateValueMembers { /** * Represents the `STATE_UNSPECIFIED` protobuf enum value. */ readonly STATE_UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "INACTIVE" | "BLOCKED">; /** * - in case of ordinary tenant user account a corresponding user can log into the system and use granted tenant resources * - in case of invited tenant user account once the invitation is accepted a corresponding user can start using granted resources * immediately * */ readonly ACTIVE: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "INACTIVE" | "BLOCKED">; /** * unused * */ readonly INACTIVE: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "INACTIVE" | "BLOCKED">; /** * - in case of ordinary tenant user account a corresponding user can log into the system but cannot be authorized to use tenant * resources * - in case of invited tenant user account once the invitation is accepted a corresponding user cannot start using granted resources * until is unblocked * */ readonly BLOCKED: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "INACTIVE" | "BLOCKED">; } /** Defines the runtime API for {@link TenantUserAccountStatus_State}. */ export type TenantUserAccountStatus_StateClass = EnumClass<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "INACTIVE" | "BLOCKED"> & TenantUserAccountStatus_StateValueMembers; /** Converts and creates {@link TenantUserAccountStatus_State} values. */ export declare const TenantUserAccountStatus_State: TenantUserAccountStatus_StateClass; /** * this proto describes projections of global user accounts to specific tenants * every global user account gets a specific id like 'tenantuseraccount-someuniquesuffix' * inside those tenants where access to their resources is granted to them * * global user accounts are described separately in user_account*.proto * */ export interface TenantUserAccount { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.TenantUserAccount"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: TenantUserAccountSpec | undefined; /** Contains the `status` protobuf field. */ status?: TenantUserAccountStatus | undefined; } /** Encodes, decodes, converts, and creates {@link TenantUserAccount} messages. */ export declare const TenantUserAccount: MessageFns; /** Represents the `nebius.iam.v1.TenantUserAccountWithAttributes` protobuf message. */ export interface TenantUserAccountWithAttributes { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.TenantUserAccountWithAttributes"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `tenant_user_account` protobuf field. */ tenantUserAccount?: TenantUserAccount | undefined; /** Contains the selected value for the `attributesOptional` protobuf oneof. */ attributesOptional?: { $case: "attributes"; attributes: UserAttributes; } | { $case: "error"; error: Error; } | undefined; } /** Encodes, decodes, converts, and creates {@link TenantUserAccountWithAttributes} messages. */ export declare const TenantUserAccountWithAttributes: MessageFns; /** Represents the `nebius.iam.v1.UserAttributes` protobuf message. */ export interface UserAttributes { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.UserAttributes"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `sub` protobuf field. */ sub?: string | undefined; /** Contains the `name` protobuf field. */ name?: string | undefined; /** Contains the `given_name` protobuf field. */ givenName?: string | undefined; /** Contains the `family_name` protobuf field. */ familyName?: string | undefined; /** Contains the `preferred_username` protobuf field. */ preferredUsername?: string | undefined; /** Contains the `picture` protobuf field. */ picture?: string | undefined; /** Contains the `email` protobuf field. */ email?: string | undefined; /** @deprecated Deprecated. */ emailVerified?: boolean | undefined; /** @deprecated Deprecated. */ zoneinfo?: string | undefined; /** Contains the `locale` protobuf field. */ locale?: string | undefined; /** Contains the `phone_number` protobuf field. */ phoneNumber?: string | undefined; /** @deprecated Deprecated. */ phoneNumberVerified?: boolean | undefined; } /** Encodes, decodes, converts, and creates {@link UserAttributes} messages. */ export declare const UserAttributes: MessageFns; /** Represents the `nebius.iam.v1.Error` protobuf message. */ export interface Error { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.Error"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `message` protobuf field. */ message: string; } /** Encodes, decodes, converts, and creates {@link Error} messages. */ export declare const Error: MessageFns; /** Represents the `nebius.iam.v1.TenantUserAccountSpec` protobuf message. */ export interface TenantUserAccountSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.TenantUserAccountSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `visible_attributes` protobuf field. */ visibleAttributes?: TenantUserAccountSpec_VisibleAttributes | undefined; } /** Encodes, decodes, converts, and creates {@link TenantUserAccountSpec} messages. */ export declare const TenantUserAccountSpec: MessageFns; /** * when a global user account is projected to a specific tenant * they can give consent for that tenant's owner to view specific personal data * by listing explicitly visible PDS attributes * complete list of PDS attributes is described in ../../pds/inner/v1alpha1/iam_identifier.proto * */ export interface TenantUserAccountSpec_VisibleAttributes { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.TenantUserAccountSpec.VisibleAttributes"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `attribute` protobuf field. */ attribute: string[]; } /** Encodes, decodes, converts, and creates {@link TenantUserAccountSpec_VisibleAttributes} messages. */ export declare const TenantUserAccountSpec_VisibleAttributes: MessageFns; /** Represents the `nebius.iam.v1.TenantUserAccountStatus` protobuf message. */ export interface TenantUserAccountStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.TenantUserAccountStatus"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `state` protobuf field. */ state: TenantUserAccountStatus_State; /** * if a tenant user account is created during invitation it gets a reference to the invitation resource * once invitation is accepted it looses this reference (and internally gets a reference to their global federated user account) * */ invitationId: string; /** * the federation id of the linked user account. Could be empty in a case of a tenant user account belongs to an invitation which wasn't * accepted. * */ federationId: string; /** * user account state can help distinguish case when account is blocked globally * */ userAccountState: UserAccountStatus_State; } /** Encodes, decodes, converts, and creates {@link TenantUserAccountStatus} messages. */ export declare const TenantUserAccountStatus: MessageFns; /** * Defines the gRPC methods for the `nebius.iam.v1.TokenExchangeService` service. */ export type TokenExchangeServiceServiceDescription = typeof TokenExchangeServiceServiceDescription; /** * Describes the gRPC methods for the `nebius.iam.v1.TokenExchangeService` service. */ export declare const TokenExchangeServiceServiceDescription: { readonly exchange: { readonly path: "/nebius.iam.v1.TokenExchangeService/Exchange"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ExchangeTokenRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ExchangeTokenRequest; readonly responseSerialize: (value: CreateTokenResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => CreateTokenResponse; }; }; /** * Handles server calls for the `nebius.iam.v1.TokenExchangeService` service. */ export interface TokenExchangeServiceServer extends UntypedServiceImplementation { /** * Handles the `Exchange` RPC. */ exchange: handleUnaryCall; } /** * Defines the low-level gRPC client for the `nebius.iam.v1.TokenExchangeService` service. */ export interface TokenExchangeServiceBaseClient extends Client { /** * Calls the `Exchange` RPC. */ exchange(request: ExchangeTokenRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: CreateTokenResponse) => void): ClientUnaryCall; } /** * Creates low-level gRPC clients for the `nebius.iam.v1.TokenExchangeService` service. */ export declare const TokenExchangeServiceBaseClient: { /** Creates a low-level client for the service address. */ new (address: string, credentials: ChannelCredentials, options?: Partial): TokenExchangeServiceBaseClient; /** Contains the gRPC service description. */ service: typeof TokenExchangeServiceServiceDescription; /** Contains the fully qualified protobuf service name. */ serviceName: string; }; /** * Calls the `nebius.iam.v1.TokenExchangeService` service. */ export interface TokenExchangeService { /** Contains the fully qualified protobuf service name. */ $type: "nebius.iam.v1.TokenExchangeService"; /** * Calls the `Exchange` RPC. */ exchange(request: ExchangeTokenRequest): SDKRequestClass; /** * Calls the `Exchange` RPC. */ exchange(request: ExchangeTokenRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Exchange` RPC. */ exchange(request: ExchangeTokenRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; } /** * Calls the `nebius.iam.v1.TokenExchangeService` service through the Nebius SDK. */ export declare class TokenExchangeService implements TokenExchangeService { private sdk; $type: "nebius.iam.v1.TokenExchangeService"; private addr; private spec; private apiServiceName; /** Creates a client that uses the SDK service address. */ constructor(sdk: SDKInterface); /** * Calls the `Exchange` RPC. */ exchange(request: ExchangeTokenRequest): SDKRequestClass; /** * Calls the `Exchange` RPC. */ exchange(request: ExchangeTokenRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Exchange` RPC. */ exchange(request: ExchangeTokenRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; } /** * https://www.rfc-editor.org/rfc/rfc8693.html * */ export interface ExchangeTokenRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.ExchangeTokenRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** required - urn:ietf:params:oauth:grant-type:token-exchange */ grantType: string; /** optional type of requested token, default is urn:ietf:params:oauth:token-type:access_token */ requestedTokenType: string; /** required - could be self signed JWT token */ subjectToken: string; /** required, in case of jwt - urn:ietf:params:oauth:token-type:jwt */ subjectTokenType: string; /** optional (scopes of the token) */ scopes: string[]; /** optional, name of the oauth client id on which this token will be used */ audience: string; /** * optional, subject token for impersonation/delegation (who want to impersonate/delegate) in subject_token. * */ actorToken: string; /** * optional, token type for the impersonation/delegation (who want to impersonate/delegate). Usually it's * urn:ietf:params:oauth:token-type:access_token * */ actorTokenType: string; /** optional, list of resources approved to use by token, if applicable */ resource: string[]; } /** Encodes, decodes, converts, and creates {@link ExchangeTokenRequest} messages. */ export declare const ExchangeTokenRequest: MessageFns; /** Represents the `nebius.iam.v1.CreateTokenResponse` protobuf message. */ export interface CreateTokenResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.CreateTokenResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** required */ accessToken: string; /** required */ issuedTokenType: string; /** required - Bearer */ tokenType: string; /** Contains the `expires_in` protobuf field. */ expiresIn: Long; /** Contains the `scopes` protobuf field. */ scopes: string[]; } /** Encodes, decodes, converts, and creates {@link CreateTokenResponse} messages. */ export declare const CreateTokenResponse: MessageFns; /** * Represents the `nebius.iam.v1.UserAccountStatus.State` protobuf enum. */ export type UserAccountStatus_State = EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "INACTIVE" | "DELETING">; /** Defines the static values of {@link UserAccountStatus_State}. */ export interface UserAccountStatus_StateValueMembers { /** * Represents the `STATE_UNSPECIFIED` protobuf enum value. */ readonly STATE_UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "INACTIVE" | "DELETING">; /** * usual state when federated user can log into the system and view/manage granted resources in one or more tenants * */ readonly ACTIVE: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "INACTIVE" | "DELETING">; /** * federated user can be blocked (manually or by any specific automated process), in this state user cannot log into the system * */ readonly INACTIVE: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "INACTIVE" | "DELETING">; /** * federated user can be deleted/forgot, in this state user cannot log into the system and various internal removal interactions are in * progress * */ readonly DELETING: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "INACTIVE" | "DELETING">; } /** Defines the runtime API for {@link UserAccountStatus_State}. */ export type UserAccountStatus_StateClass = EnumClass<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "ACTIVE" | "INACTIVE" | "DELETING"> & UserAccountStatus_StateValueMembers; /** Converts and creates {@link UserAccountStatus_State} values. */ export declare const UserAccountStatus_State: UserAccountStatus_StateClass; /** Represents the `nebius.iam.v1.UserAccountExternalId` protobuf message. */ export interface UserAccountExternalId { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.UserAccountExternalId"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `federation_user_account_id` protobuf field. */ federationUserAccountId: string; /** Contains the `federation_id` protobuf field. */ federationId: string; } /** Encodes, decodes, converts, and creates {@link UserAccountExternalId} messages. */ export declare const UserAccountExternalId: MessageFns; /** Represents the `nebius.iam.v1.UserAccountStatus` protobuf message. */ export interface UserAccountStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.iam.v1.UserAccountStatus"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `state` protobuf field. */ state: UserAccountStatus_State; } /** Encodes, decodes, converts, and creates {@link UserAccountStatus} messages. */ export declare const UserAccountStatus: MessageFns; //# sourceMappingURL=index.d.ts.map