import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire"; import Long from "long"; import type { CallContext, CallOptions } from "nice-grpc-common"; import { Duration } from "../../../google/protobuf/duration.js"; import { PaginationRequest, PaginationResponse } from "../../filter/v2/filter.js"; import { APIAuthMethodType } from "./api.js"; import { Application, ApplicationKey, ApplicationKeysSorting, ApplicationSearchFilter, AppSorting } from "./app.js"; import { LoginVersion } from "./login.js"; import { OIDCAppType, OIDCAuthMethodType, OIDCGrantType, OIDCLocalizedMessage, OIDCResponseType, OIDCTokenType, OIDCVersion } from "./oidc.js"; export declare const protobufPackage = "zitadel.app.v2beta"; export interface CreateApplicationRequest { projectId: string; id: string; name: string; oidcRequest?: CreateOIDCApplicationRequest | undefined; samlRequest?: CreateSAMLApplicationRequest | undefined; apiRequest?: CreateAPIApplicationRequest | undefined; } export interface CreateApplicationResponse { appId: string; /** The timestamp of the app creation. */ creationDate: Date | undefined; oidcResponse?: CreateOIDCApplicationResponse | undefined; samlResponse?: CreateSAMLApplicationResponse | undefined; apiResponse?: CreateAPIApplicationResponse | undefined; } export interface CreateOIDCApplicationRequest { /** Callback URI of the authorization request where the code or tokens will be sent to */ redirectUris: string[]; responseTypes: OIDCResponseType[]; grantTypes: OIDCGrantType[]; appType: OIDCAppType; authMethodType: OIDCAuthMethodType; /** ZITADEL will redirect to this link after a successful logout */ postLogoutRedirectUris: string[]; version: OIDCVersion; devMode: boolean; accessTokenType: OIDCTokenType; accessTokenRoleAssertion: boolean; idTokenRoleAssertion: boolean; idTokenUserinfoAssertion: boolean; clockSkew: Duration | undefined; additionalOrigins: string[]; skipNativeAppSuccessPage: boolean; backChannelLogoutUri: string; loginVersion: LoginVersion | undefined; } export interface CreateOIDCApplicationResponse { clientId: string; clientSecret: string; noneCompliant: boolean; complianceProblems: OIDCLocalizedMessage[]; } export interface CreateSAMLApplicationRequest { metadataXml?: Buffer | undefined; metadataUrl?: string | undefined; loginVersion: LoginVersion | undefined; } export interface CreateSAMLApplicationResponse { } export interface CreateAPIApplicationRequest { authMethodType: APIAuthMethodType; } export interface CreateAPIApplicationResponse { clientId: string; clientSecret: string; } export interface UpdateApplicationRequest { projectId: string; id: string; name: string; samlConfigurationRequest?: UpdateSAMLApplicationConfigurationRequest | undefined; oidcConfigurationRequest?: UpdateOIDCApplicationConfigurationRequest | undefined; apiConfigurationRequest?: UpdateAPIApplicationConfigurationRequest | undefined; } export interface UpdateApplicationResponse { /** The timestamp of the app update. */ changeDate: Date | undefined; } export interface UpdateSAMLApplicationConfigurationRequest { metadataXml?: Buffer | undefined; metadataUrl?: string | undefined; loginVersion?: LoginVersion | undefined; } export interface UpdateOIDCApplicationConfigurationRequest { redirectUris: string[]; responseTypes: OIDCResponseType[]; grantTypes: OIDCGrantType[]; appType?: OIDCAppType | undefined; authMethodType?: OIDCAuthMethodType | undefined; postLogoutRedirectUris: string[]; version?: OIDCVersion | undefined; devMode?: boolean | undefined; accessTokenType?: OIDCTokenType | undefined; accessTokenRoleAssertion?: boolean | undefined; idTokenRoleAssertion?: boolean | undefined; idTokenUserinfoAssertion?: boolean | undefined; clockSkew?: Duration | undefined; additionalOrigins: string[]; skipNativeAppSuccessPage?: boolean | undefined; backChannelLogoutUri?: string | undefined; loginVersion?: LoginVersion | undefined; } export interface UpdateAPIApplicationConfigurationRequest { authMethodType: APIAuthMethodType; } export interface GetApplicationRequest { id: string; } export interface GetApplicationResponse { app: Application | undefined; } export interface DeleteApplicationRequest { projectId: string; id: string; } export interface DeleteApplicationResponse { deletionDate: Date | undefined; } export interface DeactivateApplicationRequest { projectId: string; id: string; } export interface DeactivateApplicationResponse { deactivationDate: Date | undefined; } export interface ReactivateApplicationRequest { projectId: string; id: string; } export interface ReactivateApplicationResponse { reactivationDate: Date | undefined; } export interface RegenerateClientSecretRequest { projectId: string; applicationId: string; isOidc?: boolean | undefined; isApi?: boolean | undefined; } export interface RegenerateClientSecretResponse { clientSecret: string; /** The timestamp of the creation of the new client secret */ creationDate: Date | undefined; } export interface ListApplicationsRequest { projectId: string; /** Pagination and sorting. */ pagination: PaginationRequest | undefined; /** criteria the client is looking for */ filters: ApplicationSearchFilter[]; sortingColumn: AppSorting; } export interface ListApplicationsResponse { applications: Application[]; /** Contains the total number of apps matching the query and the applied limit. */ pagination: PaginationResponse | undefined; } export interface CreateApplicationKeyRequest { appId: string; projectId: string; /** The date the key will expire */ expirationDate: Date | undefined; } export interface CreateApplicationKeyResponse { id: string; /** The timestamp of the app creation. */ creationDate: Date | undefined; keyDetails: Buffer; } export interface DeleteApplicationKeyRequest { id: string; projectId: string; applicationId: string; organizationId: string; } export interface DeleteApplicationKeyResponse { deletionDate: Date | undefined; } export interface GetApplicationKeyRequest { id: string; projectId: string; applicationId: string; organizationId: string; } export interface GetApplicationKeyResponse { id: string; creationDate: Date | undefined; /** the date a key will expire */ expirationDate: Date | undefined; } export interface ListApplicationKeysRequest { /** Pagination and sorting. */ pagination: PaginationRequest | undefined; sortingColumn: ApplicationKeysSorting; applicationId?: string | undefined; projectId?: string | undefined; organizationId?: string | undefined; } export interface ListApplicationKeysResponse { keys: ApplicationKey[]; /** Contains the total number of app keys matching the query and the applied limit. */ pagination: PaginationResponse | undefined; } export declare const CreateApplicationRequest: MessageFns; export declare const CreateApplicationResponse: MessageFns; export declare const CreateOIDCApplicationRequest: MessageFns; export declare const CreateOIDCApplicationResponse: MessageFns; export declare const CreateSAMLApplicationRequest: MessageFns; export declare const CreateSAMLApplicationResponse: MessageFns; export declare const CreateAPIApplicationRequest: MessageFns; export declare const CreateAPIApplicationResponse: MessageFns; export declare const UpdateApplicationRequest: MessageFns; export declare const UpdateApplicationResponse: MessageFns; export declare const UpdateSAMLApplicationConfigurationRequest: MessageFns; export declare const UpdateOIDCApplicationConfigurationRequest: MessageFns; export declare const UpdateAPIApplicationConfigurationRequest: MessageFns; export declare const GetApplicationRequest: MessageFns; export declare const GetApplicationResponse: MessageFns; export declare const DeleteApplicationRequest: MessageFns; export declare const DeleteApplicationResponse: MessageFns; export declare const DeactivateApplicationRequest: MessageFns; export declare const DeactivateApplicationResponse: MessageFns; export declare const ReactivateApplicationRequest: MessageFns; export declare const ReactivateApplicationResponse: MessageFns; export declare const RegenerateClientSecretRequest: MessageFns; export declare const RegenerateClientSecretResponse: MessageFns; export declare const ListApplicationsRequest: MessageFns; export declare const ListApplicationsResponse: MessageFns; export declare const CreateApplicationKeyRequest: MessageFns; export declare const CreateApplicationKeyResponse: MessageFns; export declare const DeleteApplicationKeyRequest: MessageFns; export declare const DeleteApplicationKeyResponse: MessageFns; export declare const GetApplicationKeyRequest: MessageFns; export declare const GetApplicationKeyResponse: MessageFns; export declare const ListApplicationKeysRequest: MessageFns; export declare const ListApplicationKeysResponse: MessageFns; /** * Service to manage apps. * The service provides methods to create, update, delete and list apps and app keys. */ export type AppServiceDefinition = typeof AppServiceDefinition; export declare const AppServiceDefinition: { readonly name: "AppService"; readonly fullName: "zitadel.app.v2beta.AppService"; readonly methods: { /** * Create Application * * Deprecated: use [application service v2 CreateApplication](apis/resources/application_service_v2/application-service-create-application.api.mdx) instead. * * Create an application. The application can be OIDC, API or SAML type, based on the input. * * Required permissions: * - project.app.write */ readonly createApplication: { readonly name: "CreateApplication"; readonly requestType: MessageFns; readonly requestStream: false; readonly responseType: MessageFns; readonly responseStream: false; readonly options: { readonly _unknownFields: { readonly 8338: readonly [Buffer]; readonly 400010: readonly [Buffer]; readonly 578365826: readonly [Buffer]; }; }; }; /** * Update Application * * Deprecated: use [application service v2 UpdateApplication](apis/resources/application_service_v2/zitadel-app-v-2-application-service-update-application.api.mdx) instead. * * Changes the configuration of an OIDC, API or SAML type application, as well as * the application name, based on the input provided. * * Required permissions: * - project.app.write */ readonly updateApplication: { readonly name: "UpdateApplication"; readonly requestType: MessageFns; readonly requestStream: false; readonly responseType: MessageFns; readonly responseStream: false; readonly options: { readonly _unknownFields: { readonly 8338: readonly [Buffer]; readonly 400010: readonly [Buffer]; readonly 578365826: readonly [Buffer]; }; }; }; /** * Get Application * * Deprecated: use [application service v2 GetApplication](apis/resources/application_service_v2/application-service-get-application.api.mdx) instead. * * Retrieves the application matching the provided ID. * * Required permissions: * - project.app.read */ readonly getApplication: { readonly name: "GetApplication"; readonly requestType: MessageFns; readonly requestStream: false; readonly responseType: MessageFns; readonly responseStream: false; readonly options: { readonly _unknownFields: { readonly 8338: readonly [Buffer]; readonly 400010: readonly [Buffer]; readonly 578365826: readonly [Buffer]; }; }; }; /** * Delete Application * * Deprecated: use [application service v2 DeleteApplication](apis/resources/application_service_v2/application-service-delete-application.api.mdx) instead. * * Deletes the application belonging to the input project and matching the provided * application ID. * * Required permissions: * - project.app.delete */ readonly deleteApplication: { readonly name: "DeleteApplication"; readonly requestType: MessageFns; readonly requestStream: false; readonly responseType: MessageFns; readonly responseStream: false; readonly options: { readonly _unknownFields: { readonly 8338: readonly [Buffer]; readonly 400010: readonly [Buffer]; readonly 578365826: readonly [Buffer]; }; }; }; /** * Deactivate Application * * Deprecated: use [application service v2 DeactivateApplication](apis/resources/application_service_v2/application-service-deactivate-application.api.mdx) instead. * * Deactivates the application belonging to the input project and matching the provided * application ID. * * Required permissions: * - project.app.write */ readonly deactivateApplication: { readonly name: "DeactivateApplication"; readonly requestType: MessageFns; readonly requestStream: false; readonly responseType: MessageFns; readonly responseStream: false; readonly options: { readonly _unknownFields: { readonly 8338: readonly [Buffer]; readonly 400010: readonly [Buffer]; readonly 578365826: readonly [Buffer]; }; }; }; /** * Reactivate Application * * Deprecated: use [application service v2 ReactivateApplication](apis/resources/application_service_v2/application-service-reactivate-application.api.mdx) instead. * * Reactivates the application belonging to the input project and matching the provided * application ID. * * Required permissions: * - project.app.write */ readonly reactivateApplication: { readonly name: "ReactivateApplication"; readonly requestType: MessageFns; readonly requestStream: false; readonly responseType: MessageFns; readonly responseStream: false; readonly options: { readonly _unknownFields: { readonly 8338: readonly [Buffer]; readonly 400010: readonly [Buffer]; readonly 578365826: readonly [Buffer]; }; }; }; /** * Regenerate Client Secret * * Deprecated: use [application service v2 GenerateClientSecret](apis/resources/application_service_v2/application-service-generate-client-secret.api.mdx) instead. * * Regenerates the client secret of an API or OIDC application that belongs to the input project. * * Required permissions: * - project.app.write */ readonly regenerateClientSecret: { readonly name: "RegenerateClientSecret"; readonly requestType: MessageFns; readonly requestStream: false; readonly responseType: MessageFns; readonly responseStream: false; readonly options: { readonly _unknownFields: { readonly 8338: readonly [Buffer]; readonly 400010: readonly [Buffer]; readonly 578365826: readonly [Buffer]; }; }; }; /** * List Applications * * Deprecated: use [application service v2 ListApplications](apis/resources/application_service_v2/application-service-list-applications.api.mdx) instead. * * Returns a list of applications matching the input parameters that belong to the provided * project. * * The result can be sorted by app id, name, creation date, change date or state. It can also * be filtered by app state, app type and app name. * * Required permissions: * - project.app.read */ readonly listApplications: { readonly name: "ListApplications"; readonly requestType: MessageFns; readonly requestStream: false; readonly responseType: MessageFns; readonly responseStream: false; readonly options: { readonly _unknownFields: { readonly 8338: readonly [Buffer]; readonly 400010: readonly [Buffer]; readonly 578365826: readonly [Buffer]; }; }; }; /** * Create Application Key * * Deprecated: use [application service v2 CreateApplicationKey](apis/resources/application_service_v2/application-service-create-application-key.api.mdx) instead. * * Create a new application key, which is used to authorize an API application. * * Key details are returned in the response. They must be stored safely, as it will not * be possible to retrieve them again. * * Required permissions: * - `project.app.write` */ readonly createApplicationKey: { readonly name: "CreateApplicationKey"; readonly requestType: MessageFns; readonly requestStream: false; readonly responseType: MessageFns; readonly responseStream: false; readonly options: { readonly _unknownFields: { readonly 8338: readonly [Buffer]; readonly 400010: readonly [Buffer]; readonly 578365826: readonly [Buffer]; }; }; }; /** * Delete Application Key * * Deprecated: use [application service v2 DeleteApplicationKey](apis/resources/application_service_v2/application-service-delete-application-key.api.mdx) instead. * * Deletes an application key matching the provided ID. * * Organization ID is not mandatory, but helps with filtering/performance. * * The deletion time is returned in response message. * * Required permissions: * - `project.app.write` */ readonly deleteApplicationKey: { readonly name: "DeleteApplicationKey"; readonly requestType: MessageFns; readonly requestStream: false; readonly responseType: MessageFns; readonly responseStream: false; readonly options: { readonly _unknownFields: { readonly 8338: readonly [Buffer]; readonly 400010: readonly [Buffer]; readonly 578365826: readonly [Buffer]; }; }; }; /** * Get Application Key * * Deprecated: use [application service v2 GetApplicationKey](apis/resources/application_service_v2/application-service-get-application-key.api.mdx) instead. * * Retrieves the application key matching the provided ID. * * Specifying a project, organization and app ID is optional but help with filtering/performance. * * Required permissions: * - project.app.read */ readonly getApplicationKey: { readonly name: "GetApplicationKey"; readonly requestType: MessageFns; readonly requestStream: false; readonly responseType: MessageFns; readonly responseStream: false; readonly options: { readonly _unknownFields: { readonly 8338: readonly [Buffer]; readonly 400010: readonly [Buffer]; readonly 578365826: readonly [Buffer]; }; }; }; /** * List Application Keys * * Deprecated: use [application service v2 ListApplicationKeys](apis/resources/application_service_v2/application-service-list-application-keys.api.mdx) instead. * * Returns a list of application keys matching the input parameters. * * The result can be sorted by id, aggregate, creation date, expiration date, resource owner or type. * It can also be filtered by app, project or organization ID. * * Required permissions: * - project.app.read */ readonly listApplicationKeys: { readonly name: "ListApplicationKeys"; readonly requestType: MessageFns; readonly requestStream: false; readonly responseType: MessageFns; readonly responseStream: false; readonly options: { readonly _unknownFields: { readonly 8338: readonly [Buffer]; readonly 400010: readonly [Buffer]; readonly 578365826: readonly [Buffer]; }; }; }; }; }; export interface AppServiceImplementation { /** * Create Application * * Deprecated: use [application service v2 CreateApplication](apis/resources/application_service_v2/application-service-create-application.api.mdx) instead. * * Create an application. The application can be OIDC, API or SAML type, based on the input. * * Required permissions: * - project.app.write */ createApplication(request: CreateApplicationRequest, context: CallContext & CallContextExt): Promise>; /** * Update Application * * Deprecated: use [application service v2 UpdateApplication](apis/resources/application_service_v2/zitadel-app-v-2-application-service-update-application.api.mdx) instead. * * Changes the configuration of an OIDC, API or SAML type application, as well as * the application name, based on the input provided. * * Required permissions: * - project.app.write */ updateApplication(request: UpdateApplicationRequest, context: CallContext & CallContextExt): Promise>; /** * Get Application * * Deprecated: use [application service v2 GetApplication](apis/resources/application_service_v2/application-service-get-application.api.mdx) instead. * * Retrieves the application matching the provided ID. * * Required permissions: * - project.app.read */ getApplication(request: GetApplicationRequest, context: CallContext & CallContextExt): Promise>; /** * Delete Application * * Deprecated: use [application service v2 DeleteApplication](apis/resources/application_service_v2/application-service-delete-application.api.mdx) instead. * * Deletes the application belonging to the input project and matching the provided * application ID. * * Required permissions: * - project.app.delete */ deleteApplication(request: DeleteApplicationRequest, context: CallContext & CallContextExt): Promise>; /** * Deactivate Application * * Deprecated: use [application service v2 DeactivateApplication](apis/resources/application_service_v2/application-service-deactivate-application.api.mdx) instead. * * Deactivates the application belonging to the input project and matching the provided * application ID. * * Required permissions: * - project.app.write */ deactivateApplication(request: DeactivateApplicationRequest, context: CallContext & CallContextExt): Promise>; /** * Reactivate Application * * Deprecated: use [application service v2 ReactivateApplication](apis/resources/application_service_v2/application-service-reactivate-application.api.mdx) instead. * * Reactivates the application belonging to the input project and matching the provided * application ID. * * Required permissions: * - project.app.write */ reactivateApplication(request: ReactivateApplicationRequest, context: CallContext & CallContextExt): Promise>; /** * Regenerate Client Secret * * Deprecated: use [application service v2 GenerateClientSecret](apis/resources/application_service_v2/application-service-generate-client-secret.api.mdx) instead. * * Regenerates the client secret of an API or OIDC application that belongs to the input project. * * Required permissions: * - project.app.write */ regenerateClientSecret(request: RegenerateClientSecretRequest, context: CallContext & CallContextExt): Promise>; /** * List Applications * * Deprecated: use [application service v2 ListApplications](apis/resources/application_service_v2/application-service-list-applications.api.mdx) instead. * * Returns a list of applications matching the input parameters that belong to the provided * project. * * The result can be sorted by app id, name, creation date, change date or state. It can also * be filtered by app state, app type and app name. * * Required permissions: * - project.app.read */ listApplications(request: ListApplicationsRequest, context: CallContext & CallContextExt): Promise>; /** * Create Application Key * * Deprecated: use [application service v2 CreateApplicationKey](apis/resources/application_service_v2/application-service-create-application-key.api.mdx) instead. * * Create a new application key, which is used to authorize an API application. * * Key details are returned in the response. They must be stored safely, as it will not * be possible to retrieve them again. * * Required permissions: * - `project.app.write` */ createApplicationKey(request: CreateApplicationKeyRequest, context: CallContext & CallContextExt): Promise>; /** * Delete Application Key * * Deprecated: use [application service v2 DeleteApplicationKey](apis/resources/application_service_v2/application-service-delete-application-key.api.mdx) instead. * * Deletes an application key matching the provided ID. * * Organization ID is not mandatory, but helps with filtering/performance. * * The deletion time is returned in response message. * * Required permissions: * - `project.app.write` */ deleteApplicationKey(request: DeleteApplicationKeyRequest, context: CallContext & CallContextExt): Promise>; /** * Get Application Key * * Deprecated: use [application service v2 GetApplicationKey](apis/resources/application_service_v2/application-service-get-application-key.api.mdx) instead. * * Retrieves the application key matching the provided ID. * * Specifying a project, organization and app ID is optional but help with filtering/performance. * * Required permissions: * - project.app.read */ getApplicationKey(request: GetApplicationKeyRequest, context: CallContext & CallContextExt): Promise>; /** * List Application Keys * * Deprecated: use [application service v2 ListApplicationKeys](apis/resources/application_service_v2/application-service-list-application-keys.api.mdx) instead. * * Returns a list of application keys matching the input parameters. * * The result can be sorted by id, aggregate, creation date, expiration date, resource owner or type. * It can also be filtered by app, project or organization ID. * * Required permissions: * - project.app.read */ listApplicationKeys(request: ListApplicationKeysRequest, context: CallContext & CallContextExt): Promise>; } export interface AppServiceClient { /** * Create Application * * Deprecated: use [application service v2 CreateApplication](apis/resources/application_service_v2/application-service-create-application.api.mdx) instead. * * Create an application. The application can be OIDC, API or SAML type, based on the input. * * Required permissions: * - project.app.write */ createApplication(request: DeepPartial, options?: CallOptions & CallOptionsExt): Promise; /** * Update Application * * Deprecated: use [application service v2 UpdateApplication](apis/resources/application_service_v2/zitadel-app-v-2-application-service-update-application.api.mdx) instead. * * Changes the configuration of an OIDC, API or SAML type application, as well as * the application name, based on the input provided. * * Required permissions: * - project.app.write */ updateApplication(request: DeepPartial, options?: CallOptions & CallOptionsExt): Promise; /** * Get Application * * Deprecated: use [application service v2 GetApplication](apis/resources/application_service_v2/application-service-get-application.api.mdx) instead. * * Retrieves the application matching the provided ID. * * Required permissions: * - project.app.read */ getApplication(request: DeepPartial, options?: CallOptions & CallOptionsExt): Promise; /** * Delete Application * * Deprecated: use [application service v2 DeleteApplication](apis/resources/application_service_v2/application-service-delete-application.api.mdx) instead. * * Deletes the application belonging to the input project and matching the provided * application ID. * * Required permissions: * - project.app.delete */ deleteApplication(request: DeepPartial, options?: CallOptions & CallOptionsExt): Promise; /** * Deactivate Application * * Deprecated: use [application service v2 DeactivateApplication](apis/resources/application_service_v2/application-service-deactivate-application.api.mdx) instead. * * Deactivates the application belonging to the input project and matching the provided * application ID. * * Required permissions: * - project.app.write */ deactivateApplication(request: DeepPartial, options?: CallOptions & CallOptionsExt): Promise; /** * Reactivate Application * * Deprecated: use [application service v2 ReactivateApplication](apis/resources/application_service_v2/application-service-reactivate-application.api.mdx) instead. * * Reactivates the application belonging to the input project and matching the provided * application ID. * * Required permissions: * - project.app.write */ reactivateApplication(request: DeepPartial, options?: CallOptions & CallOptionsExt): Promise; /** * Regenerate Client Secret * * Deprecated: use [application service v2 GenerateClientSecret](apis/resources/application_service_v2/application-service-generate-client-secret.api.mdx) instead. * * Regenerates the client secret of an API or OIDC application that belongs to the input project. * * Required permissions: * - project.app.write */ regenerateClientSecret(request: DeepPartial, options?: CallOptions & CallOptionsExt): Promise; /** * List Applications * * Deprecated: use [application service v2 ListApplications](apis/resources/application_service_v2/application-service-list-applications.api.mdx) instead. * * Returns a list of applications matching the input parameters that belong to the provided * project. * * The result can be sorted by app id, name, creation date, change date or state. It can also * be filtered by app state, app type and app name. * * Required permissions: * - project.app.read */ listApplications(request: DeepPartial, options?: CallOptions & CallOptionsExt): Promise; /** * Create Application Key * * Deprecated: use [application service v2 CreateApplicationKey](apis/resources/application_service_v2/application-service-create-application-key.api.mdx) instead. * * Create a new application key, which is used to authorize an API application. * * Key details are returned in the response. They must be stored safely, as it will not * be possible to retrieve them again. * * Required permissions: * - `project.app.write` */ createApplicationKey(request: DeepPartial, options?: CallOptions & CallOptionsExt): Promise; /** * Delete Application Key * * Deprecated: use [application service v2 DeleteApplicationKey](apis/resources/application_service_v2/application-service-delete-application-key.api.mdx) instead. * * Deletes an application key matching the provided ID. * * Organization ID is not mandatory, but helps with filtering/performance. * * The deletion time is returned in response message. * * Required permissions: * - `project.app.write` */ deleteApplicationKey(request: DeepPartial, options?: CallOptions & CallOptionsExt): Promise; /** * Get Application Key * * Deprecated: use [application service v2 GetApplicationKey](apis/resources/application_service_v2/application-service-get-application-key.api.mdx) instead. * * Retrieves the application key matching the provided ID. * * Specifying a project, organization and app ID is optional but help with filtering/performance. * * Required permissions: * - project.app.read */ getApplicationKey(request: DeepPartial, options?: CallOptions & CallOptionsExt): Promise; /** * List Application Keys * * Deprecated: use [application service v2 ListApplicationKeys](apis/resources/application_service_v2/application-service-list-application-keys.api.mdx) instead. * * Returns a list of application keys matching the input parameters. * * The result can be sorted by id, aggregate, creation date, expiration date, resource owner or type. * It can also be filtered by app, project or organization ID. * * Required permissions: * - project.app.read */ listApplicationKeys(request: DeepPartial, options?: CallOptions & CallOptionsExt): Promise; } type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial = T extends Builtin ? T : T extends Long ? string | number | Long : T extends globalThis.Array ? globalThis.Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; export interface MessageFns { encode(message: T, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): T; fromJSON(object: any): T; toJSON(message: T): unknown; create(base?: DeepPartial): T; fromPartial(object: DeepPartial): T; } export {};