import { PageDirection } from "./resource_pb.mjs"; import { HttpAdapter } from "./http_adapter_resource_pb.mjs"; import { Application, ApplicationSchemaUpdateAttempt, Subgraph } from "./application_resource_pb.mjs"; import { GenMessage } from "@bufbuild/protobuf/codegenv2"; import { Message } from "@bufbuild/protobuf"; import { FieldMask, Timestamp } from "@bufbuild/protobuf/wkt"; //#region ../tailor-proto/src/tailor/v1/application_pb.d.ts /** * @generated from message tailor.v1.CreateApplicationRequest */ export declare type CreateApplicationRequest = Message<"tailor.v1.CreateApplicationRequest"> & { /** * @generated from field: string workspace_id = 1; */ workspaceId: string; /** * @generated from field: string application_name = 2; */ applicationName: string; /** * optional * * @generated from field: string auth_namespace = 3; */ authNamespace: string; /** * optional * * @generated from field: string auth_idp_config_name = 4; */ authIdpConfigName: string; /** * @generated from field: repeated string cors = 5; */ cors: string[]; /** * @generated from field: repeated tailor.v1.Subgraph subgraphs = 6; */ subgraphs: Subgraph[]; /** * @generated from field: repeated string allowed_ip_addresses = 7; */ allowedIpAddresses: string[]; /** * @generated from field: bool disable_introspection = 8; */ disableIntrospection: boolean; /** * @generated from field: bool disabled = 9; */ disabled: boolean; /** * @generated from field: repeated tailor.v1.HttpAdapter http_adapters = 10; */ httpAdapters: HttpAdapter[]; }; /** * Describes the message tailor.v1.CreateApplicationRequest. * Use `create(CreateApplicationRequestSchema)` to create a new message. */ export declare const CreateApplicationRequestSchema: GenMessage; /** * @generated from message tailor.v1.CreateApplicationResponse */ export declare type CreateApplicationResponse = Message<"tailor.v1.CreateApplicationResponse"> & { /** * @generated from field: tailor.v1.Application application = 1; */ application?: Application; }; /** * Describes the message tailor.v1.CreateApplicationResponse. * Use `create(CreateApplicationResponseSchema)` to create a new message. */ export declare const CreateApplicationResponseSchema: GenMessage; /** * @generated from message tailor.v1.UpdateApplicationRequest */ export declare type UpdateApplicationRequest = Message<"tailor.v1.UpdateApplicationRequest"> & { /** * @generated from field: string workspace_id = 1; */ workspaceId: string; /** * @generated from field: string application_name = 2; */ applicationName: string; /** * optional * * @generated from field: string auth_namespace = 3; */ authNamespace: string; /** * optional * * @generated from field: string auth_idp_config_name = 4; */ authIdpConfigName: string; /** * @generated from field: repeated string cors = 5; */ cors: string[]; /** * @generated from field: repeated tailor.v1.Subgraph subgraphs = 6; */ subgraphs: Subgraph[]; /** * @generated from field: repeated string allowed_ip_addresses = 7; */ allowedIpAddresses: string[]; /** * @generated from field: bool disable_introspection = 8; */ disableIntrospection: boolean; /** * @generated from field: bool disabled = 9; */ disabled: boolean; /** * @generated from field: repeated tailor.v1.HttpAdapter http_adapters = 10; */ httpAdapters: HttpAdapter[]; /** * @generated from field: google.protobuf.FieldMask update_mask = 100; */ updateMask?: FieldMask; }; /** * Describes the message tailor.v1.UpdateApplicationRequest. * Use `create(UpdateApplicationRequestSchema)` to create a new message. */ export declare const UpdateApplicationRequestSchema: GenMessage; /** * @generated from message tailor.v1.UpdateApplicationResponse */ export declare type UpdateApplicationResponse = Message<"tailor.v1.UpdateApplicationResponse"> & { /** * @generated from field: tailor.v1.Application application = 1; */ application?: Application; }; /** * Describes the message tailor.v1.UpdateApplicationResponse. * Use `create(UpdateApplicationResponseSchema)` to create a new message. */ export declare const UpdateApplicationResponseSchema: GenMessage; /** * @generated from message tailor.v1.DeleteApplicationRequest */ export declare type DeleteApplicationRequest = Message<"tailor.v1.DeleteApplicationRequest"> & { /** * @generated from field: string workspace_id = 1; */ workspaceId: string; /** * @generated from field: string application_name = 2; */ applicationName: string; }; /** * Describes the message tailor.v1.DeleteApplicationRequest. * Use `create(DeleteApplicationRequestSchema)` to create a new message. */ export declare const DeleteApplicationRequestSchema: GenMessage; /** * @generated from message tailor.v1.DeleteApplicationResponse */ export declare type DeleteApplicationResponse = Message<"tailor.v1.DeleteApplicationResponse"> & {}; /** * Describes the message tailor.v1.DeleteApplicationResponse. * Use `create(DeleteApplicationResponseSchema)` to create a new message. */ export declare const DeleteApplicationResponseSchema: GenMessage; /** * @generated from message tailor.v1.ListApplicationsRequest */ export declare type ListApplicationsRequest = Message<"tailor.v1.ListApplicationsRequest"> & { /** * @generated from field: string workspace_id = 1; */ workspaceId: string; /** * @generated from field: string page_token = 2; */ pageToken: string; /** * @generated from field: uint32 page_size = 3; */ pageSize: number; /** * @generated from field: tailor.v1.PageDirection page_direction = 4; */ pageDirection: PageDirection; }; /** * Describes the message tailor.v1.ListApplicationsRequest. * Use `create(ListApplicationsRequestSchema)` to create a new message. */ export declare const ListApplicationsRequestSchema: GenMessage; /** * @generated from message tailor.v1.ListApplicationsResponse */ export declare type ListApplicationsResponse = Message<"tailor.v1.ListApplicationsResponse"> & { /** * @generated from field: repeated tailor.v1.Application applications = 1; */ applications: Application[]; /** * @generated from field: string next_page_token = 2; */ nextPageToken: string; /** * @generated from field: int64 total_count = 3; */ totalCount: bigint; }; /** * Describes the message tailor.v1.ListApplicationsResponse. * Use `create(ListApplicationsResponseSchema)` to create a new message. */ export declare const ListApplicationsResponseSchema: GenMessage; /** * @generated from message tailor.v1.GetApplicationRequest */ export declare type GetApplicationRequest = Message<"tailor.v1.GetApplicationRequest"> & { /** * @generated from field: string workspace_id = 1; */ workspaceId: string; /** * @generated from field: string application_name = 2; */ applicationName: string; }; /** * Describes the message tailor.v1.GetApplicationRequest. * Use `create(GetApplicationRequestSchema)` to create a new message. */ export declare const GetApplicationRequestSchema: GenMessage; /** * @generated from message tailor.v1.GetApplicationResponse */ export declare type GetApplicationResponse = Message<"tailor.v1.GetApplicationResponse"> & { /** * @generated from field: tailor.v1.Application application = 1; */ application?: Application; }; /** * Describes the message tailor.v1.GetApplicationResponse. * Use `create(GetApplicationResponseSchema)` to create a new message. */ export declare const GetApplicationResponseSchema: GenMessage; /** * @generated from message tailor.v1.GetApplicationSchemaHealthRequest */ export declare type GetApplicationSchemaHealthRequest = Message<"tailor.v1.GetApplicationSchemaHealthRequest"> & { /** * @generated from field: string workspace_id = 1; */ workspaceId: string; /** * @generated from field: string application_name = 2; */ applicationName: string; }; /** * Describes the message tailor.v1.GetApplicationSchemaHealthRequest. * Use `create(GetApplicationSchemaHealthRequestSchema)` to create a new message. */ export declare const GetApplicationSchemaHealthRequestSchema: GenMessage; /** * @generated from message tailor.v1.GetApplicationSchemaHealthResponse */ export declare type GetApplicationSchemaHealthResponse = Message<"tailor.v1.GetApplicationSchemaHealthResponse"> & { /** * @generated from field: tailor.v1.GetApplicationSchemaHealthResponse.ApplicationSchemaHealthStatus status = 1; */ status: GetApplicationSchemaHealthResponse_ApplicationSchemaHealthStatus; /** * The timestamp of when the current serving schema updated. * * @generated from field: google.protobuf.Timestamp current_serving_schema_update_time = 2; */ currentServingSchemaUpdateTime?: Timestamp; /** * @generated from field: tailor.v1.ApplicationSchemaUpdateAttempt last_schema_update_attempt = 3; */ lastSchemaUpdateAttempt?: ApplicationSchemaUpdateAttempt; }; /** * Describes the message tailor.v1.GetApplicationSchemaHealthResponse. * Use `create(GetApplicationSchemaHealthResponseSchema)` to create a new message. */ export declare const GetApplicationSchemaHealthResponseSchema: GenMessage; /** * @generated from enum tailor.v1.GetApplicationSchemaHealthResponse.ApplicationSchemaHealthStatus */ export declare enum GetApplicationSchemaHealthResponse_ApplicationSchemaHealthStatus { /** * @generated from enum value: APPLICATION_SCHEMA_HEALTH_STATUS_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * @generated from enum value: APPLICATION_SCHEMA_HEALTH_STATUS_OK = 1; */ OK = 1, /** * @generated from enum value: APPLICATION_SCHEMA_HEALTH_STATUS_COMPOSITION_ERROR = 2; */ COMPOSITION_ERROR = 2 } /** * @generated from message tailor.v1.CloneApplicationDataRequest */ export declare type CloneApplicationDataRequest = Message<"tailor.v1.CloneApplicationDataRequest"> & { /** * @generated from field: string source_workspace_id = 1; */ sourceWorkspaceId: string; /** * @generated from field: string source_application_name = 2; */ sourceApplicationName: string; /** * @generated from field: string target_workspace_id = 3; */ targetWorkspaceId: string; /** * @generated from field: string target_application_name = 4; */ targetApplicationName: string; /** * Whether to also copy TailorDB file content. Defaults to false. * * @generated from field: optional bool copy_files = 5; */ copyFiles?: boolean; /** * Whether to also copy IdP users, including their passwords. Defaults to false. * * @generated from field: optional bool copy_idp_users = 6; */ copyIdpUsers?: boolean; }; /** * Describes the message tailor.v1.CloneApplicationDataRequest. * Use `create(CloneApplicationDataRequestSchema)` to create a new message. */ export declare const CloneApplicationDataRequestSchema: GenMessage; /** * @generated from message tailor.v1.CloneApplicationDataResponse */ export declare type CloneApplicationDataResponse = Message<"tailor.v1.CloneApplicationDataResponse"> & { /** * @generated from field: string operation_id = 1; */ operationId: string; }; /** * Describes the message tailor.v1.CloneApplicationDataResponse. * Use `create(CloneApplicationDataResponseSchema)` to create a new message. */ export declare const CloneApplicationDataResponseSchema: GenMessage; /** * @generated from message tailor.v1.GetCloneApplicationDataOperationRequest */ export declare type GetCloneApplicationDataOperationRequest = Message<"tailor.v1.GetCloneApplicationDataOperationRequest"> & { /** * @generated from field: string source_workspace_id = 1; */ sourceWorkspaceId: string; /** * @generated from field: string target_workspace_id = 2; */ targetWorkspaceId: string; /** * @generated from field: string operation_id = 3; */ operationId: string; }; /** * Describes the message tailor.v1.GetCloneApplicationDataOperationRequest. * Use `create(GetCloneApplicationDataOperationRequestSchema)` to create a new message. */ export declare const GetCloneApplicationDataOperationRequestSchema: GenMessage; /** * @generated from message tailor.v1.GetCloneApplicationDataOperationResponse */ export declare type GetCloneApplicationDataOperationResponse = Message<"tailor.v1.GetCloneApplicationDataOperationResponse"> & { /** * @generated from field: tailor.v1.CloneOperationStatus status = 1; */ status: CloneOperationStatus; /** * @generated from field: string error_message = 2; */ errorMessage: string; }; /** * Describes the message tailor.v1.GetCloneApplicationDataOperationResponse. * Use `create(GetCloneApplicationDataOperationResponseSchema)` to create a new message. */ export declare const GetCloneApplicationDataOperationResponseSchema: GenMessage; /** * @generated from enum tailor.v1.CloneOperationStatus */ export declare enum CloneOperationStatus { /** * @generated from enum value: CLONE_OPERATION_STATUS_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * @generated from enum value: CLONE_OPERATION_STATUS_PENDING = 1; */ PENDING = 1, /** * @generated from enum value: CLONE_OPERATION_STATUS_PROCESSING = 2; */ PROCESSING = 2, /** * @generated from enum value: CLONE_OPERATION_STATUS_COMPLETED = 3; */ COMPLETED = 3, /** * @generated from enum value: CLONE_OPERATION_STATUS_FAILED = 4; */ FAILED = 4 } //#endregion