@caido/sdk-frontend 0.50.3-beta.1 → 0.50.3-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caido/sdk-frontend",
3
- "version": "0.50.3-beta.1",
3
+ "version": "0.50.3-beta.3",
4
4
  "description": "Typing for the Caido Frontend SDK",
5
5
  "author": "Caido Labs Inc. <dev@caido.io>",
6
6
  "license": "MIT",
@@ -1278,6 +1278,9 @@ export declare const EnvironmentVariableKind: {
1278
1278
  readonly Secret: "SECRET";
1279
1279
  };
1280
1280
  export type EnvironmentVariableKind = (typeof EnvironmentVariableKind)[keyof typeof EnvironmentVariableKind];
1281
+ export type ExpiredViewerProfilePayload = {
1282
+ expiredAt: Scalars["Timestamp"]["output"];
1283
+ };
1281
1284
  export type ExportFindingsError = OtherUserError | PermissionDeniedUserError;
1282
1285
  export type ExportFindingsInput = {
1283
1286
  filter: FilterClauseFindingInput;
@@ -1445,8 +1448,14 @@ export type HostedFile = {
1445
1448
  name: Scalars["String"]["output"];
1446
1449
  path: Scalars["String"]["output"];
1447
1450
  size: Scalars["Int"]["output"];
1451
+ status: HostedFileStatus;
1448
1452
  updatedAt: Scalars["DateTime"]["output"];
1449
1453
  };
1454
+ export declare const HostedFileStatus: {
1455
+ readonly Error: "ERROR";
1456
+ readonly Ready: "READY";
1457
+ };
1458
+ export type HostedFileStatus = (typeof HostedFileStatus)[keyof typeof HostedFileStatus];
1450
1459
  export type ImportCertificateError = CertificateUserError | OtherUserError;
1451
1460
  export type ImportCertificateInput = {
1452
1461
  certificate: CertificateInput;
@@ -2227,6 +2236,7 @@ export type PauseInterceptPayload = {
2227
2236
  export declare const PermissionDeniedErrorReason: {
2228
2237
  readonly Entitlement: "ENTITLEMENT";
2229
2238
  readonly GuestUser: "GUEST_USER";
2239
+ readonly PluginUser: "PLUGIN_USER";
2230
2240
  };
2231
2241
  export type PermissionDeniedErrorReason = (typeof PermissionDeniedErrorReason)[keyof typeof PermissionDeniedErrorReason];
2232
2242
  export type PermissionDeniedUserError = UserError & {
@@ -3079,6 +3089,9 @@ export type ScopeEdge = {
3079
3089
  /** The item at the end of the edge */
3080
3090
  node: Scope;
3081
3091
  };
3092
+ export type ScriptUser = {
3093
+ id: Scalars["ID"]["output"];
3094
+ };
3082
3095
  export type SelectEnvironmentError = OtherUserError | UnknownIdUserError;
3083
3096
  export type SelectEnvironmentPayload = {
3084
3097
  environment?: Maybe<Environment>;
@@ -3246,6 +3259,7 @@ export type StorePluginPackage = {
3246
3259
  license: Scalars["String"]["output"];
3247
3260
  manifestId: Scalars["ID"]["output"];
3248
3261
  name?: Maybe<Scalars["String"]["output"]>;
3262
+ official: Scalars["Boolean"]["output"];
3249
3263
  repository: Scalars["Url"]["output"];
3250
3264
  version: Scalars["Version"]["output"];
3251
3265
  };
@@ -3419,6 +3433,7 @@ export type SubscriptionRoot = {
3419
3433
  deletedUpstreamProxyHttp: DeletedUpstreamProxyHttpPayload;
3420
3434
  deletedUpstreamProxySocks: DeletedUpstreamProxySocksPayload;
3421
3435
  deletedWorkflow: DeletedWorkflowPayload;
3436
+ expiredViewerProfile: ExpiredViewerProfilePayload;
3422
3437
  finishedBackupTask: FinishedBackupTaskPayload;
3423
3438
  finishedDeleteInterceptEntriesTask: FinishedDeleteInterceptEntriesTaskPayload;
3424
3439
  finishedRestoreBackupTask: FinishedRestoreBackupTaskPayload;
@@ -4332,7 +4347,7 @@ export type UpstreamProxySocks = {
4332
4347
  includeDns: Scalars["Boolean"]["output"];
4333
4348
  rank: Scalars["Rank"]["output"];
4334
4349
  };
4335
- export type User = CloudUser | GuestUser;
4350
+ export type User = CloudUser | GuestUser | ScriptUser;
4336
4351
  export type UserEntitlement = {
4337
4352
  name: Scalars["String"]["output"];
4338
4353
  };
@@ -4533,6 +4548,8 @@ export type AssistantCloudStateQuery = {
4533
4548
  };
4534
4549
  } | {
4535
4550
  __typename: "GuestUser";
4551
+ } | {
4552
+ __typename: "ScriptUser";
4536
4553
  };
4537
4554
  assistantModels: Array<{
4538
4555
  __typename: "AssistantModel";
@@ -9860,6 +9877,7 @@ export type HostedFileFullFragment = {
9860
9877
  name: string;
9861
9878
  path: string;
9862
9879
  size: number;
9880
+ status: HostedFileStatus;
9863
9881
  updatedAt: Date;
9864
9882
  createdAt: Date;
9865
9883
  };
@@ -9883,6 +9901,7 @@ export type RenameHostedFileMutation = {
9883
9901
  name: string;
9884
9902
  path: string;
9885
9903
  size: number;
9904
+ status: HostedFileStatus;
9886
9905
  updatedAt: Date;
9887
9906
  createdAt: Date;
9888
9907
  } | undefined | null;
@@ -9899,6 +9918,7 @@ export type UploadHostedFileMutation = {
9899
9918
  name: string;
9900
9919
  path: string;
9901
9920
  size: number;
9921
+ status: HostedFileStatus;
9902
9922
  updatedAt: Date;
9903
9923
  createdAt: Date;
9904
9924
  } | undefined | null;
@@ -9914,6 +9934,7 @@ export type HostedFilesQuery = {
9914
9934
  name: string;
9915
9935
  path: string;
9916
9936
  size: number;
9937
+ status: HostedFileStatus;
9917
9938
  updatedAt: Date;
9918
9939
  createdAt: Date;
9919
9940
  }>;
@@ -21414,6 +21435,8 @@ export type UserProfileQuery = {
21414
21435
  };
21415
21436
  } | {
21416
21437
  __typename: "GuestUser";
21438
+ } | {
21439
+ __typename: "ScriptUser";
21417
21440
  };
21418
21441
  };
21419
21442
  export type UserSettingsQueryVariables = Exact<{
@@ -21436,6 +21459,8 @@ export type UserSettingsQuery = {
21436
21459
  data: unknown;
21437
21460
  migrations: unknown;
21438
21461
  } | undefined | null;
21462
+ } | {
21463
+ __typename: "ScriptUser";
21439
21464
  };
21440
21465
  };
21441
21466
  export type UpdatedViewerProfileSubscriptionVariables = Exact<{
@@ -21474,6 +21499,14 @@ export type UpdatedViewerSettingsSubscription = {
21474
21499
  };
21475
21500
  };
21476
21501
  };
21502
+ export type ExpiredViewerProfileSubscriptionVariables = Exact<{
21503
+ [key: string]: never;
21504
+ }>;
21505
+ export type ExpiredViewerProfileSubscription = {
21506
+ expiredViewerProfile: {
21507
+ expiredAt: Date;
21508
+ };
21509
+ };
21477
21510
  export type WorkflowQueryVariables = Exact<{
21478
21511
  id: Scalars["ID"]["input"];
21479
21512
  }>;
@@ -22037,7 +22070,7 @@ export declare const RequestFullFragmentDoc = "\n fragment requestFull on Req
22037
22070
  export declare const InterceptEntryFullFragmentDoc = "\n fragment interceptEntryFull on InterceptEntry {\n ...interceptEntryMeta\n request {\n ...requestFull\n }\n}\n ";
22038
22071
  export declare const InterceptEntryEdgeMetaFragmentDoc = "\n fragment interceptEntryEdgeMeta on InterceptEntryEdge {\n __typename\n cursor\n node {\n ...interceptEntryMeta\n }\n}\n ";
22039
22072
  export declare const DeleteInterceptEntriesTaskFullFragmentDoc = "\n fragment deleteInterceptEntriesTaskFull on DeleteInterceptEntriesTask {\n __typename\n id\n deletedEntryIds\n}\n ";
22040
- export declare const HostedFileFullFragmentDoc = "\n fragment hostedFileFull on HostedFile {\n __typename\n id\n name\n path\n size\n updatedAt\n createdAt\n}\n ";
22073
+ export declare const HostedFileFullFragmentDoc = "\n fragment hostedFileFull on HostedFile {\n __typename\n id\n name\n path\n size\n status\n updatedAt\n createdAt\n}\n ";
22041
22074
  export declare const InterceptRequestMessageMetaFragmentDoc = "\n fragment interceptRequestMessageMeta on InterceptRequestMessage {\n __typename\n id\n request {\n ...requestMeta\n }\n}\n ";
22042
22075
  export declare const InterceptResponseMessageMetaFragmentDoc = "\n fragment interceptResponseMessageMeta on InterceptResponseMessage {\n __typename\n id\n response {\n ...responseMeta\n }\n request {\n ...requestMeta\n }\n}\n ";
22043
22076
  export declare const StreamWsMessageEditRefFragmentDoc = "\n fragment streamWsMessageEditRef on StreamWsMessageEditRef {\n id\n alteration\n}\n ";
@@ -22133,7 +22166,7 @@ export declare const WorkflowNodeDefinitionFullFragmentDoc = "\n fragment wor
22133
22166
  export declare const WorkflowTaskMetaFragmentDoc = "\n fragment workflowTaskMeta on WorkflowTask {\n ...taskMeta\n workflow {\n ...workflowMeta\n }\n}\n ";
22134
22167
  export declare const AssistantSessionsDocument = "\n query assistantSessions {\n assistantSessions {\n ...assistantSessionMeta\n }\n}\n \n fragment assistantSessionMeta on AssistantSession {\n __typename\n id\n modelId\n name\n updatedAt\n createdAt\n}\n ";
22135
22168
  export declare const AssistantSessionDocument = "\n query assistantSession($id: ID!) {\n assistantSession(id: $id) {\n ...assistantSessionFull\n }\n}\n \n fragment assistantSessionFull on AssistantSession {\n ...assistantSessionMeta\n messages {\n ...assistantMessageFull\n }\n}\n \n\n fragment assistantSessionMeta on AssistantSession {\n __typename\n id\n modelId\n name\n updatedAt\n createdAt\n}\n \n\n fragment assistantMessageFull on AssistantMessage {\n __typename\n id\n content\n role\n session {\n id\n }\n}\n ";
22136
- export declare const AssistantCloudStateDocument = "\n query assistantCloudState {\n viewer {\n ... on CloudUser {\n __typename\n id\n assistantUsage {\n ...assistantUsageFull\n }\n }\n ... on GuestUser {\n __typename\n }\n }\n assistantModels {\n ...assistantModelFull\n }\n}\n \n fragment assistantUsageFull on AssistantUsage {\n __typename\n balance\n}\n \n\n fragment assistantModelFull on AssistantModel {\n __typename\n id\n name\n tokenCredit\n}\n ";
22169
+ export declare const AssistantCloudStateDocument = "\n query assistantCloudState {\n viewer {\n __typename\n ... on CloudUser {\n id\n assistantUsage {\n ...assistantUsageFull\n }\n }\n }\n assistantModels {\n ...assistantModelFull\n }\n}\n \n fragment assistantUsageFull on AssistantUsage {\n __typename\n balance\n}\n \n\n fragment assistantModelFull on AssistantModel {\n __typename\n id\n name\n tokenCredit\n}\n ";
22137
22170
  export declare const SendAssistantMessageDocument = "\n mutation sendAssistantMessage($sessionId: ID!, $message: String) {\n sendAssistantMessage(sessionId: $sessionId, message: $message) {\n error {\n ... on PermissionDeniedUserError {\n ...permissionDeniedUserErrorFull\n }\n ... on TaskInProgressUserError {\n ...taskInProgressUserErrorFull\n }\n ... on CloudUserError {\n ...cloudUserErrorFull\n }\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n }\n task {\n ...assistantMessageTaskFull\n }\n }\n}\n \n fragment permissionDeniedUserErrorFull on PermissionDeniedUserError {\n ...userErrorFull\n permissionDeniedReason: reason\n}\n \n\n fragment userErrorFull on UserError {\n __typename\n code\n}\n \n\n fragment taskInProgressUserErrorFull on TaskInProgressUserError {\n ...userErrorFull\n taskId\n}\n \n\n fragment cloudUserErrorFull on CloudUserError {\n ...userErrorFull\n cloudReason: reason\n}\n \n\n fragment otherUserErrorFull on OtherUserError {\n ...userErrorFull\n}\n \n\n fragment assistantMessageTaskFull on AssistantMessageTask {\n __typename\n id\n message {\n ...assistantMessageFull\n }\n session {\n ...assistantSessionMeta\n }\n error {\n ... on AssistantUserError {\n ...assistantUserErrorFull\n }\n ... on AuthenticationUserError {\n ...authenticationUserErrorFull\n }\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n ... on CloudUserError {\n ...cloudUserErrorFull\n }\n }\n}\n \n\n fragment assistantMessageFull on AssistantMessage {\n __typename\n id\n content\n role\n session {\n id\n }\n}\n \n\n fragment assistantSessionMeta on AssistantSession {\n __typename\n id\n modelId\n name\n updatedAt\n createdAt\n}\n \n\n fragment assistantUserErrorFull on AssistantUserError {\n ...userErrorFull\n assistantReason: reason\n}\n \n\n fragment authenticationUserErrorFull on AuthenticationUserError {\n ...userErrorFull\n reason\n}\n ";
22138
22171
  export declare const CreateAssistantSessionDocument = "\n mutation createAssistantSession($input: CreateAssistantSessionInput!) {\n createAssistantSession(input: $input) {\n error {\n ... on PermissionDeniedUserError {\n ...permissionDeniedUserErrorFull\n }\n ... on CloudUserError {\n ...cloudUserErrorFull\n }\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n }\n session {\n ...assistantSessionMeta\n }\n }\n}\n \n fragment permissionDeniedUserErrorFull on PermissionDeniedUserError {\n ...userErrorFull\n permissionDeniedReason: reason\n}\n \n\n fragment userErrorFull on UserError {\n __typename\n code\n}\n \n\n fragment cloudUserErrorFull on CloudUserError {\n ...userErrorFull\n cloudReason: reason\n}\n \n\n fragment otherUserErrorFull on OtherUserError {\n ...userErrorFull\n}\n \n\n fragment assistantSessionMeta on AssistantSession {\n __typename\n id\n modelId\n name\n updatedAt\n createdAt\n}\n ";
22139
22172
  export declare const DeleteAssistantSessionDocument = "\n mutation deleteAssistantSession($id: ID!) {\n deleteAssistantSession(id: $id) {\n deletedId\n }\n}\n ";
@@ -22271,9 +22304,9 @@ export declare const StartedDeleteInterceptEntriesTaskDocument = "\n subscrip
22271
22304
  export declare const UpdatedDeleteInterceptEntriesTaskDocument = "\n subscription updatedDeleteInterceptEntriesTask {\n updatedDeleteInterceptEntriesTask {\n snapshot\n task {\n ...deleteInterceptEntriesTaskFull\n }\n }\n}\n \n fragment deleteInterceptEntriesTaskFull on DeleteInterceptEntriesTask {\n __typename\n id\n deletedEntryIds\n}\n ";
22272
22305
  export declare const FinishedDeleteInterceptEntriesTaskDocument = "\n subscription finishedDeleteInterceptEntriesTask {\n finishedDeleteInterceptEntriesTask {\n task {\n ...deleteInterceptEntriesTaskFull\n }\n error {\n ... on InternalUserError {\n ...internalUserErrorFull\n }\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n }\n }\n}\n \n fragment deleteInterceptEntriesTaskFull on DeleteInterceptEntriesTask {\n __typename\n id\n deletedEntryIds\n}\n \n\n fragment internalUserErrorFull on InternalUserError {\n ...userErrorFull\n message\n}\n \n\n fragment userErrorFull on UserError {\n __typename\n code\n}\n \n\n fragment otherUserErrorFull on OtherUserError {\n ...userErrorFull\n}\n ";
22273
22306
  export declare const DeleteHostedFileDocument = "\n mutation deleteHostedFile($id: ID!) {\n deleteHostedFile(id: $id) {\n deletedId\n }\n}\n ";
22274
- export declare const RenameHostedFileDocument = "\n mutation renameHostedFile($id: ID!, $name: String!) {\n renameHostedFile(id: $id, name: $name) {\n hostedFile {\n ...hostedFileFull\n }\n }\n}\n \n fragment hostedFileFull on HostedFile {\n __typename\n id\n name\n path\n size\n updatedAt\n createdAt\n}\n ";
22275
- export declare const UploadHostedFileDocument = "\n mutation uploadHostedFile($input: UploadHostedFileInput!) {\n uploadHostedFile(input: $input) {\n hostedFile {\n ...hostedFileFull\n }\n }\n}\n \n fragment hostedFileFull on HostedFile {\n __typename\n id\n name\n path\n size\n updatedAt\n createdAt\n}\n ";
22276
- export declare const HostedFilesDocument = "\n query hostedFiles {\n hostedFiles {\n ...hostedFileFull\n }\n}\n \n fragment hostedFileFull on HostedFile {\n __typename\n id\n name\n path\n size\n updatedAt\n createdAt\n}\n ";
22307
+ export declare const RenameHostedFileDocument = "\n mutation renameHostedFile($id: ID!, $name: String!) {\n renameHostedFile(id: $id, name: $name) {\n hostedFile {\n ...hostedFileFull\n }\n }\n}\n \n fragment hostedFileFull on HostedFile {\n __typename\n id\n name\n path\n size\n status\n updatedAt\n createdAt\n}\n ";
22308
+ export declare const UploadHostedFileDocument = "\n mutation uploadHostedFile($input: UploadHostedFileInput!) {\n uploadHostedFile(input: $input) {\n hostedFile {\n ...hostedFileFull\n }\n }\n}\n \n fragment hostedFileFull on HostedFile {\n __typename\n id\n name\n path\n size\n status\n updatedAt\n createdAt\n}\n ";
22309
+ export declare const HostedFilesDocument = "\n query hostedFiles {\n hostedFiles {\n ...hostedFileFull\n }\n}\n \n fragment hostedFileFull on HostedFile {\n __typename\n id\n name\n path\n size\n status\n updatedAt\n createdAt\n}\n ";
22277
22310
  export declare const ForwardInterceptMessageDocument = "\n mutation forwardInterceptMessage($id: ID!, $input: ForwardInterceptMessageInput) {\n forwardInterceptMessage(id: $id, input: $input) {\n forwardedId\n }\n}\n ";
22278
22311
  export declare const DropInterceptMesageDocument = "\n mutation dropInterceptMesage($id: ID!) {\n dropInterceptMessage(id: $id) {\n droppedId\n }\n}\n ";
22279
22312
  export declare const SetInterceptOptionsDocument = "\n mutation setInterceptOptions($input: InterceptOptionsInput!) {\n setInterceptOptions(input: $input) {\n options {\n ...interceptOptionsMeta\n }\n }\n}\n \n fragment interceptOptionsMeta on InterceptOptions {\n request {\n ...interceptRequestOptionsMeta\n }\n response {\n ...interceptResponseOptionsMeta\n }\n streamWs {\n ...interceptStreamWsOptionsMeta\n }\n scope {\n ...interceptScopeOptionsMeta\n }\n}\n \n\n fragment interceptRequestOptionsMeta on InterceptRequestOptions {\n enabled\n filter\n}\n \n\n fragment interceptResponseOptionsMeta on InterceptResponseOptions {\n enabled\n filter\n}\n \n\n fragment interceptStreamWsOptionsMeta on InterceptStreamWsOptions {\n enabled\n}\n \n\n fragment interceptScopeOptionsMeta on InterceptScopeOptions {\n scopeId\n}\n ";
@@ -22411,10 +22444,11 @@ export declare const CreatedUpstreamProxySocksDocument = "\n subscription cre
22411
22444
  export declare const UpdatedUpstreamProxySocksDocument = "\n subscription updatedUpstreamProxySocks {\n updatedUpstreamProxySocks {\n proxy {\n ...upstreamProxySocksFull\n }\n }\n}\n \n fragment upstreamProxySocksFull on UpstreamProxySocks {\n __typename\n id\n allowlist\n denylist\n auth {\n ... on UpstreamProxyAuthBasic {\n ...upstreamProxyAuthBasicFull\n }\n }\n connection {\n ...connectionInfoFull\n }\n enabled\n includeDns\n rank\n}\n \n\n fragment upstreamProxyAuthBasicFull on UpstreamProxyAuthBasic {\n __typename\n username\n password\n}\n \n\n fragment connectionInfoFull on ConnectionInfo {\n __typename\n host\n port\n isTLS\n SNI\n}\n ";
22412
22445
  export declare const DeletedUpstreamProxySocksDocument = "\n subscription deletedUpstreamProxySocks {\n deletedUpstreamProxySocks {\n deletedProxyId\n }\n}\n ";
22413
22446
  export declare const UpdateViewerSettingsDocument = "\n mutation updateViewerSettings($input: UpdateViewerSettingsInput!) {\n updateViewerSettings(input: $input) {\n settings {\n ...userSettingsFull\n }\n }\n}\n \n fragment userSettingsFull on UserSettings {\n __typename\n data\n migrations\n}\n ";
22414
- export declare const UserProfileDocument = "\n query userProfile {\n viewer {\n ... on CloudUser {\n __typename\n id\n profile {\n ...userProfileFull\n }\n }\n ... on GuestUser {\n __typename\n }\n }\n}\n \n fragment userProfileFull on UserProfile {\n __typename\n identity {\n __typename\n name\n email\n }\n subscription {\n __typename\n entitlements {\n __typename\n name\n }\n plan {\n __typename\n name\n }\n }\n}\n ";
22415
- export declare const UserSettingsDocument = "\n query userSettings {\n viewer {\n ... on CloudUser {\n __typename\n id\n settings {\n ...userSettingsFull\n }\n }\n ... on GuestUser {\n __typename\n id\n settings {\n ...userSettingsFull\n }\n }\n }\n}\n \n fragment userSettingsFull on UserSettings {\n __typename\n data\n migrations\n}\n ";
22447
+ export declare const UserProfileDocument = "\n query userProfile {\n viewer {\n __typename\n ... on CloudUser {\n id\n profile {\n ...userProfileFull\n }\n }\n }\n}\n \n fragment userProfileFull on UserProfile {\n __typename\n identity {\n __typename\n name\n email\n }\n subscription {\n __typename\n entitlements {\n __typename\n name\n }\n plan {\n __typename\n name\n }\n }\n}\n ";
22448
+ export declare const UserSettingsDocument = "\n query userSettings {\n viewer {\n __typename\n ... on CloudUser {\n id\n settings {\n ...userSettingsFull\n }\n }\n ... on GuestUser {\n id\n settings {\n ...userSettingsFull\n }\n }\n }\n}\n \n fragment userSettingsFull on UserSettings {\n __typename\n data\n migrations\n}\n ";
22416
22449
  export declare const UpdatedViewerProfileDocument = "\n subscription updatedViewerProfile {\n updatedViewerProfile {\n profile {\n ...userProfileFull\n }\n }\n}\n \n fragment userProfileFull on UserProfile {\n __typename\n identity {\n __typename\n name\n email\n }\n subscription {\n __typename\n entitlements {\n __typename\n name\n }\n plan {\n __typename\n name\n }\n }\n}\n ";
22417
22450
  export declare const UpdatedViewerSettingsDocument = "\n subscription updatedViewerSettings {\n updatedViewerSettings {\n settings {\n data\n }\n }\n}\n ";
22451
+ export declare const ExpiredViewerProfileDocument = "\n subscription expiredViewerProfile {\n expiredViewerProfile {\n expiredAt\n }\n}\n ";
22418
22452
  export declare const WorkflowDocument = "\n query workflow($id: ID!) {\n workflow(id: $id) {\n ...workflowFull\n }\n}\n \n fragment workflowFull on Workflow {\n ...workflowMeta\n definition\n}\n \n\n fragment workflowMeta on Workflow {\n __typename\n id\n kind\n name\n enabled\n global\n readOnly\n}\n ";
22419
22453
  export declare const WorkflowsStateDocument = "\n query workflowsState {\n workflows {\n ...workflowFull\n }\n workflowNodeDefinitions {\n ...workflowNodeDefinitionFull\n }\n}\n \n fragment workflowFull on Workflow {\n ...workflowMeta\n definition\n}\n \n\n fragment workflowMeta on Workflow {\n __typename\n id\n kind\n name\n enabled\n global\n readOnly\n}\n \n\n fragment workflowNodeDefinitionFull on WorkflowNodeDefinition {\n __typename\n raw\n}\n ";
22420
22454
  export declare const CreatedWorkflowDocument = "\n subscription createdWorkflow {\n createdWorkflow {\n workflowEdge {\n ...workflowEdgeFull\n }\n }\n}\n \n fragment workflowEdgeFull on WorkflowEdge {\n cursor\n node {\n ...workflowFull\n }\n}\n \n\n fragment workflowFull on Workflow {\n ...workflowMeta\n definition\n}\n \n\n fragment workflowMeta on Workflow {\n __typename\n id\n kind\n name\n enabled\n global\n readOnly\n}\n ";
@@ -22718,6 +22752,7 @@ export declare function getSdk<C>(requester: Requester<C>): {
22718
22752
  userSettings(variables?: UserSettingsQueryVariables, options?: C): Promise<UserSettingsQuery>;
22719
22753
  updatedViewerProfile(variables?: UpdatedViewerProfileSubscriptionVariables, options?: C): AsyncIterable<UpdatedViewerProfileSubscription>;
22720
22754
  updatedViewerSettings(variables?: UpdatedViewerSettingsSubscriptionVariables, options?: C): AsyncIterable<UpdatedViewerSettingsSubscription>;
22755
+ expiredViewerProfile(variables?: ExpiredViewerProfileSubscriptionVariables, options?: C): AsyncIterable<ExpiredViewerProfileSubscription>;
22721
22756
  workflow(variables: WorkflowQueryVariables, options?: C): Promise<WorkflowQuery>;
22722
22757
  workflowsState(variables?: WorkflowsStateQueryVariables, options?: C): Promise<WorkflowsStateQuery>;
22723
22758
  createdWorkflow(variables?: CreatedWorkflowSubscriptionVariables, options?: C): AsyncIterable<CreatedWorkflowSubscription>;
@@ -15,6 +15,10 @@ export type HostedFile = {
15
15
  * The size of the file in bytes.
16
16
  */
17
17
  size: number;
18
+ /**
19
+ * The status of the file.
20
+ */
21
+ status: "ready" | "error";
18
22
  /**
19
23
  * The path of the file.
20
24
  */