import { IProduct, IProductApp, IProductCache, IProductDatabase, IProductDatabaseAction, IProductDatabaseMigration, IProductEnv, IProductFallback, IProductJobs, IProductMessageBroker, IProductMessageBrokerTopic, IProductNotification, IProductNotificationTemplate, IProductQuota, IProductSession, IProductStorage, IProductAppHealth, IParsedSample, IFetchUsersPayload, IFetchFilesPayload, FetchRemoteCachePayload, IApp, IAppConstants, IAppEnv, IAppVariables, IAppWebhook, IAppWebhookEvent, IAppAuth, ICreateAppBuilder, IActionUpdate, ImportDocsTypes, IProcessorInput, IActionProcessorInput, IDBActionProcessorInput, INotificationProcessorInput, IStorageProcessorInput, IMessageBrokerPublishInput, IMessageBrokerSubscribeInput, ISessionInput, ISessionPayload, ISessionRefreshPayload, IRegisterWebhook, IGenerateWebhookLink, LogQueryParams } from './types'; import { PublicStates } from './types/enums'; export interface IProductCreateInput { data: IProduct; } export interface IProductFetchInput { tag: string; } export interface IProductUpdateInput { tag: string; data: Partial; } export interface IProductInitInput { productTag: string; } export interface IProductUpdateValidationInput { tag: string; update: Partial; } export interface IProductEnvCreateInput { data: IProductEnv; } export interface IProductEnvFetchInput { slug: string; } export interface IProductEnvUpdateInput { slug: string; data: Partial; } export interface IProductAppConnectInput { appTag: string; } export interface IProductAppAddInput { app: IProductApp; } export interface IProductAppFetchInput { tag: string; } export interface IProductAppUpdateInput { accessTag: string; data: Partial; } export interface IProductAppWebhooksFetchAllInput { accessTag: string; } export interface IProductAppWebhooksEnableInput { data: IRegisterWebhook; } export interface IProductAppWebhooksGenerateLinkInput { data: IGenerateWebhookLink; } export interface IProductAppHealthCreateInput { data: Partial; } export interface IProductAppHealthUpdateInput { tag: string; data: Partial; } export interface IProductAppHealthFetchInput { access_tag: string; tag: string; } export interface IProductAppHealthFetchAllInput { access_tag: string; } export interface ISessionCreateInput { payload: IProductSession; } export interface ISessionUpdateInput { tag: string; payload: Partial; } export interface ISessionFetchInput { tag: string; } export interface ISessionUsersInput { data: IFetchUsersPayload; } export interface IQuotaCreateInput { data: Partial; } export interface IQuotaFetchInput { tag: string; } export interface IQuotaUpdateInput { tag: string; data: Partial; } export interface IFallbackCreateInput { data: Partial; } export interface IFallbackFetchInput { tag: string; } export interface IFallbackUpdateInput { tag: string; data: Partial; } export interface IStorageCreateInput { data: IProductStorage; } export interface IStorageFetchInput { tag: string; } export interface IStorageUpdateInput { tag: string; data: Partial; } export interface IStorageFilesInput { data: IFetchFilesPayload; } export interface IEventsCreateInput { data: Partial; } export interface IEventsFetchInput { tag: string; } export interface IEventsUpdateInput { tag: string; data: Partial; } export interface IEventsTopicCreateInput { data: IProductMessageBrokerTopic; } export interface IEventsTopicFetchAllInput { messageBrokerTag: string; } export interface IEventsTopicFetchInput { tag: string; } export interface IEventsTopicUpdateInput { tag: string; data: Partial; } export interface INotificationsCreateInput { data: IProductNotification; } export interface INotificationsFetchInput { tag: string; } export interface INotificationsUpdateInput { tag: string; data: Partial; } export interface INotificationMessageCreateInput { data: IProductNotificationTemplate; } export interface INotificationMessageFetchAllInput { notificationTag: string; } export interface INotificationMessageFetchInput { tag: string; } export interface INotificationMessageUpdateInput { tag: string; data: Partial; } export interface IDatabaseCreateInput { data: IProductDatabase; } export interface IDatabaseFetchInput { tag: string; } export interface IDatabaseUpdateInput { tag: string; data: Partial; } export interface IDatabaseActionCreateInput { data: IProductDatabaseAction; } export interface IDatabaseActionFetchAllInput { databaseTag: string; } export interface IDatabaseActionFetchInput { tag: string; } export interface IDatabaseActionUpdateInput { tag: string; data: Partial; } export interface IDatabaseMigrationCreateInput { data: IProductDatabaseMigration; } export interface IDatabaseMigrationFetchAllInput { databaseTag: string; } export interface IDatabaseMigrationFetchInput { tag: string; } export interface IDatabaseMigrationUpdateInput { tag: string; data: Partial; } export interface IJobsCreateInput { data: Partial; } export interface IJobsFetchInput { tag: string; } export interface IJobsUpdateInput { tag: string; data: Partial; } export interface ICachesCreateInput { data: IProductCache; } export interface ICachesFetchInput { tag: string; } export interface ICachesUpdateInput { tag: string; data: Partial; } export interface ICachesValuesInput { data: FetchRemoteCachePayload; } export interface IAppCreateInput { data: ICreateAppBuilder; } export interface IAppFetchInput { tag: string; } export interface IAppUpdateInput { tag: string; data: Partial; } export interface IAppInitInput { appTag: string; } export interface IAppValidationInput { selector: string; update: Partial; } export interface IAppEnvCreateInput { data: IAppEnv; } export interface IAppEnvFetchInput { slug: string; } export interface IAppEnvUpdateInput { slug: string; data: Partial; } export interface IVariablesCreateInput { data: IAppVariables; } export interface IVariablesFetchInput { tag: string; } export interface IVariablesUpdateInput { tag: string; data: Partial; } export interface IConstantsCreateInput { data: IAppConstants; } export interface IConstantsFetchInput { tag: string; } export interface IConstantsUpdateInput { tag: string; data: Partial; } export interface IActionsImportInput { file: Buffer; type: ImportDocsTypes; version: string; appTag?: string; updateIfExists?: boolean; isAdminImport?: boolean; } export interface IActionsCreateInput { data: Partial & { tag: string; name: string; resource: string; method: string; }; } export interface IActionsFetchInput { tag: string; } export interface IActionsUpdateInput { tag: string; data: Partial; } export interface IAuthsCreateInput { data: IAppAuth; } export interface IAuthsFetchInput { tag: string; } export interface IAuthsUpdateInput { tag: string; data: Partial; } export interface IWebhooksCreateInput { data: Partial; } export interface IWebhooksFetchInput { tag: string; } export interface IWebhooksUpdateInput { tag: string; data: Partial; } export interface IWebhookEventsCreateInput { data: IAppWebhookEvent; } export interface IWebhookEventsFetchAllInput { webhookTag: string; } export interface IWebhookEventsFetchInput { tag: string; } export interface IWebhookEventsUpdateInput { tag: string; data: Partial; } export interface IProcessorJobScheduleInput { data: IProduct; } export interface IProcessorActionRunInput { data: IActionProcessorInput; } export interface IProcessorDbExecuteInput { data: IDBActionProcessorInput; } export interface IProcessorDbMigrationRunInput { migration: string; env: string; product: string; } export interface IProcessorDbMigrationRollbackInput { migration: string; env: string; product: string; } export interface IProcessorSessionStartInput { data: ISessionInput; } export interface IProcessorSessionDecryptInput { data: ISessionPayload; } export interface IProcessorSessionRefreshInput { data: ISessionRefreshPayload; } export interface IProcessorFeatureRunInput { data: IProcessorInput; } export interface IProcessorFeatureOutputInput { process_id: string; } export interface IProcessorFeatureReplayInput { process_id: string; } export interface IProcessorFeatureResumeInput { process_id: string; } export interface IProcessorQuotaRunInput { data: IProcessorInput; } export interface IProcessorFallbackRunInput { data: IProcessorInput; } export interface IProcessorNotificationSendInput { data: INotificationProcessorInput; } export interface IProcessorStorageReadFileInput { path: string; } export interface IProcessorStorageSaveInput { data: IStorageProcessorInput; } export interface IProcessorMessageBrokerPublishInput { data: IMessageBrokerPublishInput; } export interface IProcessorMessageBrokerSubscribeInput { data: IMessageBrokerSubscribeInput; } export interface ILogsInitInput { productTag?: string; appTag?: string; } export interface ILogsFetchInput { params: LogQueryParams; } export interface IFetchWorkspaceAppsInput { status: PublicStates; } export interface IFetchWorkspaceProjectsInput { status: PublicStates; } export interface IGetHealthcheckStatusInput { productTag: string; envSlug: string; }