|
|
|
@@ -1023,6 +1023,39 @@ export type FileUpload = {
|
|
|
|
|
userId: Scalars['String']['output'];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type FileUploadCollection = {
|
|
|
|
|
__typename?: 'FileUploadCollection';
|
|
|
|
|
cursor?: Maybe<Scalars['String']['output']>;
|
|
|
|
|
items: Array<FileUpload>;
|
|
|
|
|
totalCount: Scalars['Int']['output'];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type FileUploadMutations = {
|
|
|
|
|
__typename?: 'FileUploadMutations';
|
|
|
|
|
/**
|
|
|
|
|
* Generate a pre-signed url to which a file can be uploaded.
|
|
|
|
|
* After uploading the file, call mutation startFileImport to register the completed upload.
|
|
|
|
|
*/
|
|
|
|
|
generateUploadUrl: GenerateFileUploadUrlOutput;
|
|
|
|
|
/**
|
|
|
|
|
* Before calling this mutation, call generateUploadUrl to get the
|
|
|
|
|
* pre-signed url and blobId. Then upload the file to that url.
|
|
|
|
|
* Once the upload to the pre-signed url is completed, this mutation should be
|
|
|
|
|
* called to register the completed upload and create the blob metadata.
|
|
|
|
|
*/
|
|
|
|
|
startFileImport: FileUpload;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type FileUploadMutationsGenerateUploadUrlArgs = {
|
|
|
|
|
input: GenerateFileUploadUrlInput;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type FileUploadMutationsStartFileImportArgs = {
|
|
|
|
|
input: StartFileImportInput;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GendoAiRender = {
|
|
|
|
|
__typename?: 'GendoAIRender';
|
|
|
|
|
camera?: Maybe<Scalars['JSONObject']['output']>;
|
|
|
|
@@ -1058,6 +1091,24 @@ export type GendoAiRenderInput = {
|
|
|
|
|
versionId: Scalars['ID']['input'];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GenerateFileUploadUrlInput = {
|
|
|
|
|
fileName: Scalars['String']['input'];
|
|
|
|
|
projectId: Scalars['String']['input'];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GenerateFileUploadUrlOutput = {
|
|
|
|
|
__typename?: 'GenerateFileUploadUrlOutput';
|
|
|
|
|
fileId: Scalars['String']['output'];
|
|
|
|
|
url: Scalars['String']['output'];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetModelUploadsInput = {
|
|
|
|
|
/** The cursor for pagination. */
|
|
|
|
|
cursor?: InputMaybe<Scalars['String']['input']>;
|
|
|
|
|
/** The maximum number of uploads to return. */
|
|
|
|
|
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type InvitableCollaboratorsFilter = {
|
|
|
|
|
search?: InputMaybe<Scalars['String']['input']>;
|
|
|
|
|
};
|
|
|
|
@@ -1276,6 +1327,8 @@ export type Model = {
|
|
|
|
|
permissions: ModelPermissionChecks;
|
|
|
|
|
previewUrl?: Maybe<Scalars['String']['output']>;
|
|
|
|
|
updatedAt: Scalars['DateTime']['output'];
|
|
|
|
|
/** Get all file uploads ever done in this model */
|
|
|
|
|
uploads: FileUploadCollection;
|
|
|
|
|
version: Version;
|
|
|
|
|
versions: VersionCollection;
|
|
|
|
|
};
|
|
|
|
@@ -1292,6 +1345,11 @@ export type ModelPendingImportedVersionsArgs = {
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type ModelUploadsArgs = {
|
|
|
|
|
input?: InputMaybe<GetModelUploadsInput>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type ModelVersionArgs = {
|
|
|
|
|
id: Scalars['String']['input'];
|
|
|
|
|
};
|
|
|
|
@@ -1453,6 +1511,7 @@ export type Mutation = {
|
|
|
|
|
* @deprecated Part of the old API surface and will be removed in the future. Use VersionMutations.moveToModel instead.
|
|
|
|
|
*/
|
|
|
|
|
commitsMove: Scalars['Boolean']['output'];
|
|
|
|
|
fileUploadMutations: FileUploadMutations;
|
|
|
|
|
/**
|
|
|
|
|
* Delete a pending invite
|
|
|
|
|
* Note: The required scope to invoke this is not given out to app or personal access tokens
|
|
|
|
@@ -3026,6 +3085,7 @@ export type Role = {
|
|
|
|
|
export type RootPermissionChecks = {
|
|
|
|
|
__typename?: 'RootPermissionChecks';
|
|
|
|
|
canCreatePersonalProject: PermissionCheckResult;
|
|
|
|
|
canCreateWorkspace: PermissionCheckResult;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/** Available scopes. */
|
|
|
|
@@ -3262,6 +3322,17 @@ export enum SortDirection {
|
|
|
|
|
Desc = 'DESC'
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type StartFileImportInput = {
|
|
|
|
|
/**
|
|
|
|
|
* The etag is returned by the blob storage provider in the response body after a successful upload.
|
|
|
|
|
* It is used to verify the integrity of the uploaded file.
|
|
|
|
|
*/
|
|
|
|
|
etag: Scalars['String']['input'];
|
|
|
|
|
fileId: Scalars['String']['input'];
|
|
|
|
|
modelId: Scalars['String']['input'];
|
|
|
|
|
projectId: Scalars['String']['input'];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type Stream = {
|
|
|
|
|
__typename?: 'Stream';
|
|
|
|
|
/**
|
|
|
|
@@ -4479,6 +4550,8 @@ export type Workspace = {
|
|
|
|
|
id: Scalars['ID']['output'];
|
|
|
|
|
/** Only available to workspace owners/members */
|
|
|
|
|
invitedTeam?: Maybe<Array<PendingWorkspaceCollaborator>>;
|
|
|
|
|
/** Exclusive workspaces do not allow their workspace members to create or join other workspaces as members. */
|
|
|
|
|
isExclusive: Scalars['Boolean']['output'];
|
|
|
|
|
/** Logo image as base64-encoded string */
|
|
|
|
|
logo?: Maybe<Scalars['String']['output']>;
|
|
|
|
|
name: Scalars['String']['output'];
|
|
|
|
@@ -4634,6 +4707,7 @@ export type WorkspaceEmbedOptions = {
|
|
|
|
|
|
|
|
|
|
export enum WorkspaceFeatureName {
|
|
|
|
|
DomainBasedSecurityPolicies = 'domainBasedSecurityPolicies',
|
|
|
|
|
ExclusiveMembership = 'exclusiveMembership',
|
|
|
|
|
HideSpeckleBranding = 'hideSpeckleBranding',
|
|
|
|
|
OidcSso = 'oidcSso',
|
|
|
|
|
WorkspaceDataRegionSpecificity = 'workspaceDataRegionSpecificity'
|
|
|
|
@@ -4865,6 +4939,7 @@ export type WorkspacePermissionChecks = {
|
|
|
|
|
canCreateProject: PermissionCheckResult;
|
|
|
|
|
canEditEmbedOptions: PermissionCheckResult;
|
|
|
|
|
canInvite: PermissionCheckResult;
|
|
|
|
|
canMakeWorkspaceExclusive: PermissionCheckResult;
|
|
|
|
|
canMoveProjectToWorkspace: PermissionCheckResult;
|
|
|
|
|
canReadMemberEmail: PermissionCheckResult;
|
|
|
|
|
};
|
|
|
|
@@ -5115,6 +5190,7 @@ export type WorkspaceUpdateInput = {
|
|
|
|
|
discoverabilityEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
|
|
|
domainBasedMembershipProtectionEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
|
|
|
id: Scalars['String']['input'];
|
|
|
|
|
isExclusive?: InputMaybe<Scalars['Boolean']['input']>;
|
|
|
|
|
/** Logo image as base64-encoded string */
|
|
|
|
|
logo?: InputMaybe<Scalars['String']['input']>;
|
|
|
|
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
|
|
|