@caido/sdk-frontend 0.48.2-beta.5 → 0.48.2-beta.6

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.48.2-beta.5",
3
+ "version": "0.48.2-beta.6",
4
4
  "description": "Typing for the Caido Frontend SDK",
5
5
  "author": "Caido Labs Inc. <dev@caido.io>",
6
6
  "license": "MIT",
@@ -1444,6 +1444,7 @@ export type InstallBrowserPayload = {
1444
1444
  };
1445
1445
  export type InstallPluginPackageError = CloudUserError | OtherUserError | PluginUserError | StoreUserError;
1446
1446
  export type InstallPluginPackageInput = {
1447
+ force?: InputMaybe<Scalars["Boolean"]["input"]>;
1447
1448
  source: PluginPackageSource;
1448
1449
  };
1449
1450
  export type InstallPluginPackagePayload = {
@@ -19229,6 +19230,10 @@ export type ReleaseFullFragment = {
19229
19230
  platform: string;
19230
19231
  }>;
19231
19232
  };
19233
+ export type CloudStatusFullFragment = {
19234
+ __typename: "CloudStatus";
19235
+ sync: boolean;
19236
+ };
19232
19237
  export type LogLineFullFragment = {
19233
19238
  __typename: "LogLine";
19234
19239
  level: LogLevel;
@@ -19272,6 +19277,17 @@ export type GetLogsQuery = {
19272
19277
  logs: string;
19273
19278
  };
19274
19279
  };
19280
+ export type GetCloudStatusQueryVariables = Exact<{
19281
+ [key: string]: never;
19282
+ }>;
19283
+ export type GetCloudStatusQuery = {
19284
+ runtime: {
19285
+ cloudStatus: {
19286
+ __typename: "CloudStatus";
19287
+ sync: boolean;
19288
+ };
19289
+ };
19290
+ };
19275
19291
  export type GetCertificateQueryVariables = Exact<{
19276
19292
  password?: InputMaybe<Scalars["Sensitive"]["input"]>;
19277
19293
  }>;
@@ -21214,6 +21230,32 @@ export type UserSettingsQuery = {
21214
21230
  } | undefined | null;
21215
21231
  };
21216
21232
  };
21233
+ export type UpdatedViewerProfileSubscriptionVariables = Exact<{
21234
+ [key: string]: never;
21235
+ }>;
21236
+ export type UpdatedViewerProfileSubscription = {
21237
+ updatedViewerProfile: {
21238
+ profile: {
21239
+ __typename: "UserProfile";
21240
+ identity: {
21241
+ __typename: "UserIdentity";
21242
+ name: string;
21243
+ email: string;
21244
+ };
21245
+ subscription: {
21246
+ __typename: "UserSubscription";
21247
+ entitlements: Array<{
21248
+ __typename: "UserEntitlement";
21249
+ name: string;
21250
+ }>;
21251
+ plan: {
21252
+ __typename: "UserSubscriptionPlan";
21253
+ name: string;
21254
+ };
21255
+ };
21256
+ };
21257
+ };
21258
+ };
21217
21259
  export type WorkflowQueryVariables = Exact<{
21218
21260
  id: Scalars["ID"]["input"];
21219
21261
  }>;
@@ -21848,6 +21890,7 @@ export declare const RequestEdgeMetaFragmentDoc = "\n fragment requestEdgeMet
21848
21890
  export declare const ResponseFullFragmentDoc = "\n fragment responseFull on Response {\n ...responseMeta\n raw\n edits {\n ...responseMeta\n }\n}\n ";
21849
21891
  export declare const RuntimeFullFragmentDoc = "\n fragment runtimeFull on Runtime {\n __typename\n version\n platform\n}\n ";
21850
21892
  export declare const ReleaseFullFragmentDoc = "\n fragment releaseFull on Release {\n __typename\n links {\n __typename\n display\n link\n platform\n }\n releasedAt\n version\n}\n ";
21893
+ export declare const CloudStatusFullFragmentDoc = "\n fragment cloudStatusFull on CloudStatus {\n __typename\n sync\n}\n ";
21851
21894
  export declare const LogLineFullFragmentDoc = "\n fragment logLineFull on LogLine {\n __typename\n level\n message\n target\n timestamp\n}\n ";
21852
21895
  export declare const ScopeFullFragmentDoc = "\n fragment scopeFull on Scope {\n __typename\n id\n name\n allowlist\n denylist\n indexed\n}\n ";
21853
21896
  export declare const SitemapEntryMetaFragmentDoc = "\n fragment sitemapEntryMeta on SitemapEntry {\n __typename\n id\n label\n kind\n parentId\n metadata {\n ... on SitemapEntryMetadataDomain {\n isTls\n port\n }\n }\n hasDescendants\n}\n ";
@@ -22089,6 +22132,7 @@ export declare const ResponseDocument = "\n query response($id: ID!) {\n res
22089
22132
  export declare const GetUpdateStateDocument = "\n query getUpdateState {\n runtime {\n availableUpdate {\n ...releaseFull\n }\n }\n}\n \n fragment releaseFull on Release {\n __typename\n links {\n __typename\n display\n link\n platform\n }\n releasedAt\n version\n}\n ";
22090
22133
  export declare const GetInstanceStateDocument = "\n query getInstanceState {\n runtime {\n ...runtimeFull\n }\n}\n \n fragment runtimeFull on Runtime {\n __typename\n version\n platform\n}\n ";
22091
22134
  export declare const GetLogsDocument = "\n query getLogs {\n runtime {\n logs\n }\n}\n ";
22135
+ export declare const GetCloudStatusDocument = "\n query getCloudStatus {\n runtime {\n cloudStatus {\n ...cloudStatusFull\n }\n }\n}\n \n fragment cloudStatusFull on CloudStatus {\n __typename\n sync\n}\n ";
22092
22136
  export declare const GetCertificateDocument = "\n query getCertificate($password: Sensitive) {\n runtime {\n certificate {\n p12(password: $password)\n }\n }\n}\n ";
22093
22137
  export declare const ImportCertificateDocument = "\n mutation importCertificate($input: ImportCertificateInput!) {\n importCertificate(input: $input) {\n error {\n __typename\n ... on CertificateUserError {\n ...certificateUserErrorFull\n }\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n }\n }\n}\n \n fragment certificateUserErrorFull on CertificateUserError {\n ...userErrorFull\n certificateReason: reason\n}\n \n\n fragment userErrorFull on UserError {\n __typename\n code\n}\n \n\n fragment otherUserErrorFull on OtherUserError {\n ...userErrorFull\n}\n ";
22094
22138
  export declare const RegenerateCertificateDocument = "\n mutation regenerateCertificate {\n regenerateCertificate {\n success\n }\n}\n ";
@@ -22145,6 +22189,7 @@ export declare const DeletedUpstreamProxySocksDocument = "\n subscription del
22145
22189
  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 ";
22146
22190
  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 ";
22147
22191
  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 ";
22192
+ 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 ";
22148
22193
  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 ";
22149
22194
  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 ";
22150
22195
  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 ";
@@ -22388,6 +22433,7 @@ export declare function getSdk<C>(requester: Requester<C>): {
22388
22433
  getUpdateState(variables?: GetUpdateStateQueryVariables, options?: C): Promise<GetUpdateStateQuery>;
22389
22434
  getInstanceState(variables?: GetInstanceStateQueryVariables, options?: C): Promise<GetInstanceStateQuery>;
22390
22435
  getLogs(variables?: GetLogsQueryVariables, options?: C): Promise<GetLogsQuery>;
22436
+ getCloudStatus(variables?: GetCloudStatusQueryVariables, options?: C): Promise<GetCloudStatusQuery>;
22391
22437
  getCertificate(variables?: GetCertificateQueryVariables, options?: C): Promise<GetCertificateQuery>;
22392
22438
  importCertificate(variables: ImportCertificateMutationVariables, options?: C): Promise<ImportCertificateMutation>;
22393
22439
  regenerateCertificate(variables?: RegenerateCertificateMutationVariables, options?: C): Promise<RegenerateCertificateMutation>;
@@ -22444,6 +22490,7 @@ export declare function getSdk<C>(requester: Requester<C>): {
22444
22490
  updateViewerSettings(variables: UpdateViewerSettingsMutationVariables, options?: C): Promise<UpdateViewerSettingsMutation>;
22445
22491
  userProfile(variables?: UserProfileQueryVariables, options?: C): Promise<UserProfileQuery>;
22446
22492
  userSettings(variables?: UserSettingsQueryVariables, options?: C): Promise<UserSettingsQuery>;
22493
+ updatedViewerProfile(variables?: UpdatedViewerProfileSubscriptionVariables, options?: C): AsyncIterable<UpdatedViewerProfileSubscription>;
22447
22494
  workflow(variables: WorkflowQueryVariables, options?: C): Promise<WorkflowQuery>;
22448
22495
  workflowsState(variables?: WorkflowsStateQueryVariables, options?: C): Promise<WorkflowsStateQuery>;
22449
22496
  createdWorkflow(variables?: CreatedWorkflowSubscriptionVariables, options?: C): AsyncIterable<CreatedWorkflowSubscription>;