martmull
2024-08-23 16:01:40 +02:00
committed by GitHub
parent ee6180a76f
commit f9af25b57e
8 changed files with 64 additions and 25 deletions

View File

@ -215,6 +215,15 @@ export type ExchangeAuthCode = {
refreshToken: AuthToken;
};
export type ExecuteServerlessFunctionInput = {
/** Id of the serverless function to execute */
id: Scalars['UUID'];
/** Payload in JSON format */
payload?: InputMaybe<Scalars['JSON']>;
/** Version of the serverless function to execute */
version?: Scalars['String'];
};
export type FeatureFlag = {
__typename?: 'FeatureFlag';
id: Scalars['UUID'];
@ -287,6 +296,13 @@ export type FullName = {
lastName: Scalars['String'];
};
export type GetServerlessFunctionSourceCodeInput = {
/** The id of the function. */
id: Scalars['ID'];
/** The version of the function */
version?: Scalars['String'];
};
export type InvalidatePassword = {
__typename?: 'InvalidatePassword';
/** Boolean that confirms query was dispatched */
@ -343,8 +359,9 @@ export type Mutation = {
generateJWT: AuthTokens;
generateTransientToken: TransientToken;
impersonate: Verify;
publishServerlessFunction: ServerlessFunction;
renewToken: AuthTokens;
runWorkflowVersion: WorkflowTriggerResult;
runWorkflowVersion: WorkflowRun;
sendInviteLink: SendInviteLink;
signUp: LoginToken;
skipSyncEmailOnboardingStep: OnboardingStepSuccess;
@ -431,8 +448,7 @@ export type MutationExchangeAuthorizationCodeArgs = {
export type MutationExecuteOneServerlessFunctionArgs = {
id: Scalars['UUID'];
payload?: InputMaybe<Scalars['JSON']>;
input: ExecuteServerlessFunctionInput;
};
@ -452,6 +468,11 @@ export type MutationImpersonateArgs = {
};
export type MutationPublishServerlessFunctionArgs = {
input: PublishServerlessFunctionInput;
};
export type MutationRenewTokenArgs = {
appToken: Scalars['String'];
};
@ -594,6 +615,11 @@ export type ProductPricesEntity = {
totalNumberOfPrices: Scalars['Int'];
};
export type PublishServerlessFunctionInput = {
/** The id of the function. */
id: Scalars['ID'];
};
export type Query = {
__typename?: 'Query';
billingPortalSession: SessionEntity;
@ -606,6 +632,7 @@ export type Query = {
getAISQLQuery: AisqlQueryResult;
getPostgresCredentials?: Maybe<PostgresCredentials>;
getProductPrices: ProductPricesEntity;
getServerlessFunctionSourceCode: Scalars['String'];
getTimelineCalendarEventsFromCompanyId: TimelineCalendarEventsWithTotal;
getTimelineCalendarEventsFromPersonId: TimelineCalendarEventsWithTotal;
getTimelineThreadsFromCompanyId: TimelineThreadsWithTotal;
@ -649,6 +676,11 @@ export type QueryGetProductPricesArgs = {
};
export type QueryGetServerlessFunctionSourceCodeArgs = {
input: GetServerlessFunctionSourceCodeInput;
};
export type QueryGetTimelineCalendarEventsFromCompanyIdArgs = {
companyId: Scalars['UUID'];
page: Scalars['Int'];
@ -768,9 +800,9 @@ export type ServerlessFunction = {
createdAt: Scalars['DateTime'];
description?: Maybe<Scalars['String']>;
id: Scalars['UUID'];
latestVersion?: Maybe<Scalars['String']>;
name: Scalars['String'];
runtime: Scalars['String'];
sourceCodeFullPath: Scalars['String'];
sourceCodeHash: Scalars['String'];
syncStatus: ServerlessFunctionSyncStatus;
updatedAt: Scalars['DateTime'];
@ -1054,10 +1086,9 @@ export type Verify = {
user: User;
};
export type WorkflowTriggerResult = {
__typename?: 'WorkflowTriggerResult';
/** Execution result in JSON format */
result?: Maybe<Scalars['JSON']>;
export type WorkflowRun = {
__typename?: 'WorkflowRun';
workflowRunId: Scalars['UUID'];
};
export type Workspace = {