diff --git a/apps/hasura/metadata/databases/masterbots/tables/public_chatbot.yaml b/apps/hasura/metadata/databases/masterbots/tables/public_chatbot.yaml index edb9cfa26..eb3a35322 100644 --- a/apps/hasura/metadata/databases/masterbots/tables/public_chatbot.yaml +++ b/apps/hasura/metadata/databases/masterbots/tables/public_chatbot.yaml @@ -5,9 +5,6 @@ object_relationships: - name: complexityEnum using: foreign_key_constraint_on: default_complexity - - name: department - using: - foreign_key_constraint_on: department_id - name: lengthEnum using: foreign_key_constraint_on: default_length @@ -39,13 +36,6 @@ array_relationships: table: name: chatbot_domain schema: public - - name: organization_chatbots - using: - foreign_key_constraint_on: - column: chatbot_id - table: - name: organization_chatbot - schema: public - name: prompts using: foreign_key_constraint_on: @@ -66,6 +56,7 @@ select_permissions: columns: - avatar - chatbot_id + - chatbot_id - created_by - default_complexity - default_length @@ -84,20 +75,20 @@ select_permissions: - role: moderator permission: columns: + - disabled - is_pro - pro_exclusive - - avatar - chatbot_id + - department_id + - order + - avatar - created_by - default_complexity - default_length - default_tone - default_type - - department_id - description - - disabled - name - - order filter: {} allow_aggregations: true comment: "" diff --git a/apps/hasura/metadata/databases/masterbots/tables/public_n8n_credentials.yaml b/apps/hasura/metadata/databases/masterbots/tables/public_n8n_credentials.yaml new file mode 100644 index 000000000..95e6c3808 --- /dev/null +++ b/apps/hasura/metadata/databases/masterbots/tables/public_n8n_credentials.yaml @@ -0,0 +1,81 @@ +table: + name: n8n_credentials + schema: public +insert_permissions: + - role: moderator + permission: + check: + user_id: + _eq: X-Hasura-User-Id + columns: + - n8n_credential_id + - provider + - service + - created_at + - id + - user_id + comment: "" + - role: user + permission: + check: + user_id: + _eq: X-Hasura-User-Id + columns: + - n8n_credential_id + - provider + - service + - created_at + - id + - user_id + comment: "" +select_permissions: + - role: moderator + permission: + columns: + - n8n_credential_id + - provider + - service + - created_at + - id + - user_id + filter: + user_id: + _eq: X-Hasura-User-Id + comment: "" + - role: user + permission: + columns: + - n8n_credential_id + - provider + - service + - created_at + - id + - user_id + filter: + user_id: + _eq: X-Hasura-User-Id + comment: "" +update_permissions: + - role: moderator + permission: + columns: + - n8n_credential_id + - provider + - service + filter: + user_id: + _eq: X-Hasura-User-Id + check: null + comment: "" + - role: user + permission: + columns: + - created_at + - n8n_credential_id + - provider + - service + filter: + user_id: + _eq: X-Hasura-User-Id + check: null + comment: "" diff --git a/apps/hasura/metadata/databases/masterbots/tables/public_preference.yaml b/apps/hasura/metadata/databases/masterbots/tables/public_preference.yaml index c59bae057..f6f185433 100644 --- a/apps/hasura/metadata/databases/masterbots/tables/public_preference.yaml +++ b/apps/hasura/metadata/databases/masterbots/tables/public_preference.yaml @@ -36,11 +36,7 @@ insert_permissions: comment: "" - role: user permission: - check: - user_id: - _eq: X-Hasura-User-Id - set: - user_id: X-Hasura-User-Id + check: {} columns: - deep_expertise - favorite @@ -108,9 +104,7 @@ select_permissions: - preferred_type - user_id - web_search - filter: - user_id: - _eq: X-Hasura-User-Id + filter: {} comment: "" update_permissions: - role: moderator diff --git a/apps/hasura/metadata/databases/masterbots/tables/public_thread.yaml b/apps/hasura/metadata/databases/masterbots/tables/public_thread.yaml index 7186388d8..55407a039 100644 --- a/apps/hasura/metadata/databases/masterbots/tables/public_thread.yaml +++ b/apps/hasura/metadata/databases/masterbots/tables/public_thread.yaml @@ -42,7 +42,6 @@ insert_permissions: - is_blocked - is_pro - is_public - - metadata - model - parent_thread_id - short_link @@ -63,7 +62,6 @@ insert_permissions: - is_blocked - is_pro - is_public - - metadata - model - parent_thread_id - short_link diff --git a/apps/hasura/metadata/databases/masterbots/tables/public_user.yaml b/apps/hasura/metadata/databases/masterbots/tables/public_user.yaml index 566386f7e..a13940673 100644 --- a/apps/hasura/metadata/databases/masterbots/tables/public_user.yaml +++ b/apps/hasura/metadata/databases/masterbots/tables/public_user.yaml @@ -24,13 +24,6 @@ array_relationships: table: name: social_following schema: public - - name: organizations - using: - foreign_key_constraint_on: - column: user_id - table: - name: organization - schema: public - name: preferences using: foreign_key_constraint_on: diff --git a/apps/hasura/metadata/databases/masterbots/tables/public_user_oauth_connections.yaml b/apps/hasura/metadata/databases/masterbots/tables/public_user_oauth_connections.yaml new file mode 100644 index 000000000..2737203a6 --- /dev/null +++ b/apps/hasura/metadata/databases/masterbots/tables/public_user_oauth_connections.yaml @@ -0,0 +1,92 @@ +table: + name: user_oauth_connections + schema: public +insert_permissions: + - role: moderator + permission: + check: + user_id: + _eq: X-Hasura-User-Id + columns: + - provider + - scopes + - service + - status + - connected_at + - revoked_at + - id + - user_id + comment: "" + - role: user + permission: + check: + user_id: + _eq: X-Hasura-User-Id + columns: + - provider + - scopes + - service + - status + - connected_at + - revoked_at + - id + - user_id + comment: "" +select_permissions: + - role: moderator + permission: + columns: + - connected_at + - id + - provider + - revoked_at + - scopes + - service + - status + - user_id + filter: + user_id: + _eq: X-Hasura-User-Id + comment: "" + - role: user + permission: + columns: + - connected_at + - id + - provider + - revoked_at + - scopes + - service + - status + - user_id + filter: + user_id: + _eq: X-Hasura-User-Id + comment: "" +update_permissions: + - role: moderator + permission: + columns: + - provider + - revoked_at + - scopes + - service + - status + filter: + user_id: + _eq: X-Hasura-User-Id + check: null + comment: "" + - role: user + permission: + columns: + - provider + - revoked_at + - scopes + - service + - status + filter: + user_id: + _eq: X-Hasura-User-Id + check: null + comment: "" diff --git a/apps/hasura/metadata/databases/masterbots/tables/public_user_token.yaml b/apps/hasura/metadata/databases/masterbots/tables/public_user_token.yaml index ae63934d1..1730e4053 100644 --- a/apps/hasura/metadata/databases/masterbots/tables/public_user_token.yaml +++ b/apps/hasura/metadata/databases/masterbots/tables/public_user_token.yaml @@ -8,6 +8,25 @@ object_relationships: - name: user using: foreign_key_constraint_on: user_id +insert_permissions: + - role: moderator + permission: + check: + user_id: + _eq: X-Hasura-User-Id + columns: + - token + - user_id + comment: "" + - role: user + permission: + check: + user_id: + _eq: X-Hasura-User-Id + columns: + - token + - user_id + comment: "" select_permissions: - role: anonymous permission: @@ -32,3 +51,22 @@ select_permissions: user_id: _eq: X-Hasura-User-Id comment: "" +update_permissions: + - role: moderator + permission: + columns: + - token + filter: + user_id: + _eq: X-Hasura-User-Id + check: null + comment: "" + - role: user + permission: + columns: + - token + filter: + user_id: + _eq: X-Hasura-User-Id + check: null + comment: "" diff --git a/apps/hasura/metadata/databases/masterbots/tables/public_user_workflows.yaml b/apps/hasura/metadata/databases/masterbots/tables/public_user_workflows.yaml new file mode 100644 index 000000000..559752756 --- /dev/null +++ b/apps/hasura/metadata/databases/masterbots/tables/public_user_workflows.yaml @@ -0,0 +1,83 @@ +table: + name: user_workflows + schema: public +insert_permissions: + - role: moderator + permission: + check: + user_id: + _eq: X-Hasura-User-Id + columns: + - folder_path + - service + - workflow_id + - workflow_name + comment: "" + - role: user + permission: + check: + user_id: + _eq: X-Hasura-User-Id + columns: + - folder_path + - service + - workflow_id + - workflow_name + - created_at + - id + - user_id + comment: "" +select_permissions: + - role: moderator + permission: + columns: + - folder_path + - service + - workflow_id + - workflow_name + - created_at + - id + - user_id + filter: + user_id: + _eq: X-Hasura-User-Id + comment: "" + - role: user + permission: + columns: + - folder_path + - service + - workflow_id + - workflow_name + - created_at + - id + - user_id + filter: + user_id: + _eq: X-Hasura-User-Id + comment: "" +update_permissions: + - role: moderator + permission: + columns: + - folder_path + - service + - workflow_id + - workflow_name + filter: + user_id: + _eq: X-Hasura-User-Id + check: null + comment: "" + - role: user + permission: + columns: + - folder_path + - service + - workflow_id + - workflow_name + filter: + user_id: + _eq: X-Hasura-User-Id + check: null + comment: "" diff --git a/apps/hasura/metadata/databases/masterbots/tables/tables.yaml b/apps/hasura/metadata/databases/masterbots/tables/tables.yaml index 59fe1dfdc..518f25d36 100644 --- a/apps/hasura/metadata/databases/masterbots/tables/tables.yaml +++ b/apps/hasura/metadata/databases/masterbots/tables/tables.yaml @@ -4,7 +4,6 @@ - "!include public_chatbot_category.yaml" - "!include public_chatbot_domain.yaml" - "!include public_complexity_enum.yaml" -- "!include public_department.yaml" - "!include public_domain_enum.yaml" - "!include public_example.yaml" - "!include public_length_enum.yaml" @@ -12,8 +11,7 @@ - "!include public_message_type_enum.yaml" - "!include public_models.yaml" - "!include public_models_enum.yaml" -- "!include public_organization.yaml" -- "!include public_organization_chatbot.yaml" +- "!include public_n8n_credentials.yaml" - "!include public_preference.yaml" - "!include public_prompt.yaml" - "!include public_prompt_chatbot.yaml" @@ -28,4 +26,6 @@ - "!include public_tone_enum.yaml" - "!include public_type_enum.yaml" - "!include public_user.yaml" +- "!include public_user_oauth_connections.yaml" - "!include public_user_token.yaml" +- "!include public_user_workflows.yaml" diff --git a/apps/hasura/migrations/masterbots/1766065373919_create_table_public_user_workflows/down.sql b/apps/hasura/migrations/masterbots/1766065373919_create_table_public_user_workflows/down.sql new file mode 100644 index 000000000..5e3db2969 --- /dev/null +++ b/apps/hasura/migrations/masterbots/1766065373919_create_table_public_user_workflows/down.sql @@ -0,0 +1 @@ +DROP TABLE "public"."user_workflows"; diff --git a/apps/hasura/migrations/masterbots/1766065373919_create_table_public_user_workflows/up.sql b/apps/hasura/migrations/masterbots/1766065373919_create_table_public_user_workflows/up.sql new file mode 100644 index 000000000..3d08c10ac --- /dev/null +++ b/apps/hasura/migrations/masterbots/1766065373919_create_table_public_user_workflows/up.sql @@ -0,0 +1 @@ +CREATE TABLE "public"."user_workflows" ("id" uuid NOT NULL, "user_id" uuid NOT NULL, "workflow_name" text NOT NULL, "workflow_id" text NOT NULL, "service" text NOT NULL, "folder_path" text NOT NULL, "created_at" timestamptz NOT NULL, PRIMARY KEY ("id") , FOREIGN KEY ("user_id") REFERENCES "public"."user"("user_id") ON UPDATE restrict ON DELETE restrict, UNIQUE ("id"), UNIQUE ("user_id"), UNIQUE ("created_at")); diff --git a/apps/hasura/migrations/masterbots/1766066591567_create_table_public_user_oauth_connections/down.sql b/apps/hasura/migrations/masterbots/1766066591567_create_table_public_user_oauth_connections/down.sql new file mode 100644 index 000000000..d68914594 --- /dev/null +++ b/apps/hasura/migrations/masterbots/1766066591567_create_table_public_user_oauth_connections/down.sql @@ -0,0 +1 @@ +DROP TABLE "public"."user_oauth_connections"; diff --git a/apps/hasura/migrations/masterbots/1766066591567_create_table_public_user_oauth_connections/up.sql b/apps/hasura/migrations/masterbots/1766066591567_create_table_public_user_oauth_connections/up.sql new file mode 100644 index 000000000..87d5ece88 --- /dev/null +++ b/apps/hasura/migrations/masterbots/1766066591567_create_table_public_user_oauth_connections/up.sql @@ -0,0 +1 @@ +CREATE TABLE "public"."user_oauth_connections" ("id" uuid NOT NULL, "user_id" uuid NOT NULL, "provider" text NOT NULL, "service" text NOT NULL, "scopes" text NOT NULL, "status" text NOT NULL, "connected_at" timestamptz NOT NULL, "revoked_at" timestamptz NOT NULL, PRIMARY KEY ("id") , FOREIGN KEY ("user_id") REFERENCES "public"."user"("user_id") ON UPDATE restrict ON DELETE restrict, UNIQUE ("id"), UNIQUE ("user_id")); diff --git a/apps/hasura/migrations/masterbots/1766066981705_create_table_public_n8n_credentials/down.sql b/apps/hasura/migrations/masterbots/1766066981705_create_table_public_n8n_credentials/down.sql new file mode 100644 index 000000000..27d89fcdd --- /dev/null +++ b/apps/hasura/migrations/masterbots/1766066981705_create_table_public_n8n_credentials/down.sql @@ -0,0 +1 @@ +DROP TABLE "public"."n8n_credentials"; diff --git a/apps/hasura/migrations/masterbots/1766066981705_create_table_public_n8n_credentials/up.sql b/apps/hasura/migrations/masterbots/1766066981705_create_table_public_n8n_credentials/up.sql new file mode 100644 index 000000000..ef55675c2 --- /dev/null +++ b/apps/hasura/migrations/masterbots/1766066981705_create_table_public_n8n_credentials/up.sql @@ -0,0 +1 @@ +CREATE TABLE "public"."n8n_credentials" ("id" uuid NOT NULL, "user_id" uuid NOT NULL, "provider" text NOT NULL, "service" text NOT NULL, "n8n_credential_id" text NOT NULL, "created_at" timestamptz NOT NULL, PRIMARY KEY ("id") , FOREIGN KEY ("user_id") REFERENCES "public"."user"("user_id") ON UPDATE restrict ON DELETE restrict, UNIQUE ("id"), UNIQUE ("user_id"), UNIQUE ("n8n_credential_id")); diff --git a/apps/hasura/migrations/masterbots/1768003427670_alter_table_public_user_oauth_connections_add_unique_user_id/down.sql b/apps/hasura/migrations/masterbots/1768003427670_alter_table_public_user_oauth_connections_add_unique_user_id/down.sql new file mode 100644 index 000000000..efe693c2b --- /dev/null +++ b/apps/hasura/migrations/masterbots/1768003427670_alter_table_public_user_oauth_connections_add_unique_user_id/down.sql @@ -0,0 +1,2 @@ +alter table "public"."user_oauth_connections" drop constraint "user_oauth_connections_user_id_key"; +alter table "public"."user_oauth_connections" add constraint "user_oauth_connections_user_id_key" unique ("user_id"); diff --git a/apps/hasura/migrations/masterbots/1768003427670_alter_table_public_user_oauth_connections_add_unique_user_id/up.sql b/apps/hasura/migrations/masterbots/1768003427670_alter_table_public_user_oauth_connections_add_unique_user_id/up.sql new file mode 100644 index 000000000..efe693c2b --- /dev/null +++ b/apps/hasura/migrations/masterbots/1768003427670_alter_table_public_user_oauth_connections_add_unique_user_id/up.sql @@ -0,0 +1,2 @@ +alter table "public"."user_oauth_connections" drop constraint "user_oauth_connections_user_id_key"; +alter table "public"."user_oauth_connections" add constraint "user_oauth_connections_user_id_key" unique ("user_id"); diff --git a/apps/hasura/migrations/masterbots/1768003504213_alter_table_public_user_oauth_connections_alter_column_id/down.sql b/apps/hasura/migrations/masterbots/1768003504213_alter_table_public_user_oauth_connections_alter_column_id/down.sql new file mode 100644 index 000000000..4ef394180 --- /dev/null +++ b/apps/hasura/migrations/masterbots/1768003504213_alter_table_public_user_oauth_connections_alter_column_id/down.sql @@ -0,0 +1 @@ +ALTER TABLE "public"."user_oauth_connections" ALTER COLUMN "id" drop default; diff --git a/apps/hasura/migrations/masterbots/1768003504213_alter_table_public_user_oauth_connections_alter_column_id/up.sql b/apps/hasura/migrations/masterbots/1768003504213_alter_table_public_user_oauth_connections_alter_column_id/up.sql new file mode 100644 index 000000000..62aad222c --- /dev/null +++ b/apps/hasura/migrations/masterbots/1768003504213_alter_table_public_user_oauth_connections_alter_column_id/up.sql @@ -0,0 +1 @@ +alter table "public"."user_oauth_connections" alter column "id" set default gen_random_uuid(); diff --git a/apps/hasura/migrations/masterbots/1768003794823_alter_table_public_user_oauth_connections_alter_column_connected_at/down.sql b/apps/hasura/migrations/masterbots/1768003794823_alter_table_public_user_oauth_connections_alter_column_connected_at/down.sql new file mode 100644 index 000000000..eda8347fc --- /dev/null +++ b/apps/hasura/migrations/masterbots/1768003794823_alter_table_public_user_oauth_connections_alter_column_connected_at/down.sql @@ -0,0 +1 @@ +ALTER TABLE "public"."user_oauth_connections" ALTER COLUMN "connected_at" drop default; diff --git a/apps/hasura/migrations/masterbots/1768003794823_alter_table_public_user_oauth_connections_alter_column_connected_at/up.sql b/apps/hasura/migrations/masterbots/1768003794823_alter_table_public_user_oauth_connections_alter_column_connected_at/up.sql new file mode 100644 index 000000000..086fe49e1 --- /dev/null +++ b/apps/hasura/migrations/masterbots/1768003794823_alter_table_public_user_oauth_connections_alter_column_connected_at/up.sql @@ -0,0 +1 @@ +alter table "public"."user_oauth_connections" alter column "connected_at" set default now(); diff --git a/apps/hasura/migrations/masterbots/1768003836473_alter_table_public_user_oauth_connections_alter_column_revoked_at/down.sql b/apps/hasura/migrations/masterbots/1768003836473_alter_table_public_user_oauth_connections_alter_column_revoked_at/down.sql new file mode 100644 index 000000000..de8597956 --- /dev/null +++ b/apps/hasura/migrations/masterbots/1768003836473_alter_table_public_user_oauth_connections_alter_column_revoked_at/down.sql @@ -0,0 +1 @@ +alter table "public"."user_oauth_connections" alter column "revoked_at" set not null; diff --git a/apps/hasura/migrations/masterbots/1768003836473_alter_table_public_user_oauth_connections_alter_column_revoked_at/up.sql b/apps/hasura/migrations/masterbots/1768003836473_alter_table_public_user_oauth_connections_alter_column_revoked_at/up.sql new file mode 100644 index 000000000..7b823abd9 --- /dev/null +++ b/apps/hasura/migrations/masterbots/1768003836473_alter_table_public_user_oauth_connections_alter_column_revoked_at/up.sql @@ -0,0 +1 @@ +alter table "public"."user_oauth_connections" alter column "revoked_at" drop not null; diff --git a/apps/hasura/migrations/masterbots/1768099921973_alter_table_public_n8n_credentials_alter_column_id/down.sql b/apps/hasura/migrations/masterbots/1768099921973_alter_table_public_n8n_credentials_alter_column_id/down.sql new file mode 100644 index 000000000..05f36d519 --- /dev/null +++ b/apps/hasura/migrations/masterbots/1768099921973_alter_table_public_n8n_credentials_alter_column_id/down.sql @@ -0,0 +1 @@ +ALTER TABLE "public"."n8n_credentials" ALTER COLUMN "id" drop default; diff --git a/apps/hasura/migrations/masterbots/1768099921973_alter_table_public_n8n_credentials_alter_column_id/up.sql b/apps/hasura/migrations/masterbots/1768099921973_alter_table_public_n8n_credentials_alter_column_id/up.sql new file mode 100644 index 000000000..203d13a7f --- /dev/null +++ b/apps/hasura/migrations/masterbots/1768099921973_alter_table_public_n8n_credentials_alter_column_id/up.sql @@ -0,0 +1 @@ +alter table "public"."n8n_credentials" alter column "id" set default gen_random_uuid(); diff --git a/apps/hasura/migrations/masterbots/1768100057144_alter_table_public_user_workflows_alter_column_id/down.sql b/apps/hasura/migrations/masterbots/1768100057144_alter_table_public_user_workflows_alter_column_id/down.sql new file mode 100644 index 000000000..bfe30dc35 --- /dev/null +++ b/apps/hasura/migrations/masterbots/1768100057144_alter_table_public_user_workflows_alter_column_id/down.sql @@ -0,0 +1 @@ +ALTER TABLE "public"."user_workflows" ALTER COLUMN "id" drop default; diff --git a/apps/hasura/migrations/masterbots/1768100057144_alter_table_public_user_workflows_alter_column_id/up.sql b/apps/hasura/migrations/masterbots/1768100057144_alter_table_public_user_workflows_alter_column_id/up.sql new file mode 100644 index 000000000..5c4647bba --- /dev/null +++ b/apps/hasura/migrations/masterbots/1768100057144_alter_table_public_user_workflows_alter_column_id/up.sql @@ -0,0 +1 @@ +alter table "public"."user_workflows" alter column "id" set default gen_random_uuid(); diff --git a/apps/hasura/migrations/masterbots/1768100079972_alter_table_public_user_token_alter_column_user_id/down.sql b/apps/hasura/migrations/masterbots/1768100079972_alter_table_public_user_token_alter_column_user_id/down.sql new file mode 100644 index 000000000..f253cbf0d --- /dev/null +++ b/apps/hasura/migrations/masterbots/1768100079972_alter_table_public_user_token_alter_column_user_id/down.sql @@ -0,0 +1 @@ +ALTER TABLE "public"."user_token" ALTER COLUMN "user_id" drop default; diff --git a/apps/hasura/migrations/masterbots/1768100079972_alter_table_public_user_token_alter_column_user_id/up.sql b/apps/hasura/migrations/masterbots/1768100079972_alter_table_public_user_token_alter_column_user_id/up.sql new file mode 100644 index 000000000..b2a827a5d --- /dev/null +++ b/apps/hasura/migrations/masterbots/1768100079972_alter_table_public_user_token_alter_column_user_id/up.sql @@ -0,0 +1 @@ +alter table "public"."user_token" alter column "user_id" set default gen_random_uuid(); diff --git a/apps/web/app/api/automations/gmail/disable.ts b/apps/web/app/api/automations/gmail/disable.ts new file mode 100644 index 000000000..88c504f4e --- /dev/null +++ b/apps/web/app/api/automations/gmail/disable.ts @@ -0,0 +1,42 @@ +import { getHasuraClient, getUserWorkflowByService } from '@/services/hasura' +import type { NextApiRequest, NextApiResponse } from 'next' + +export default async function handler( + req: NextApiRequest, + res: NextApiResponse, +) { + try { + const { userId, jwt } = req.body + if (!userId) return res.status(400).json({ error: 'Missing userId' }) + + const client = getHasuraClient({ jwt }) + + const userWorkflows = await getUserWorkflowByService(userId, 'gmail', jwt) + const workflowId = userWorkflows?.workflow_id + + if (userWorkflows) { + return res.status(200).json({ + message: 'Workflow already enabled', + workflowId: userWorkflows.workflow_id, + }) + } + + if (!userWorkflows) { + return res.status(400).json({ error: 'No workflow found for this user' }) + } + + // Delete the workflow record from Hasura + await client.mutation({ + deleteUserWorkflows: { + __args: { where: { workflowId: { _eq: workflowId } } }, + affected_rows: true, + }, + }) + + res.status(200).json({ message: 'Workflow disabled successfully' }) + // biome-ignore lint/suspicious/noExplicitAny: + } catch (error: any) { + console.error('Error disabling Gmail workflow:', error) + res.status(500).json({ error: error.message || 'Internal server error' }) + } +} diff --git a/apps/web/app/api/automations/gmail/enable.ts b/apps/web/app/api/automations/gmail/enable.ts new file mode 100644 index 000000000..02c92ed5c --- /dev/null +++ b/apps/web/app/api/automations/gmail/enable.ts @@ -0,0 +1,83 @@ +import { duplicateN8nWorkflow } from '@/lib/n8n' +import { + getUserCredentialByService, + getUserWorkflowByService, + insertUserWorkflow, +} from '@/services/hasura' +import type { NextApiRequest, NextApiResponse } from 'next' + +const N8N_TEMPLATE_WORKFLOW_ID = + process.env.N8N_TEMPLATE_WORKFLOW_ID || + (() => { + throw new Error('N8N_TEMPLATE_WORKFLOW_ID is not defined') + })() +const N8N_MASTERBOTS_EMAIL_FOLDER_ID = + process.env.N8N_MASTERBOTS_EMAIL_FOLDER_ID || + (() => { + throw new Error('N8N_MASTERBOTS_EMAIL_FOLDER_ID is not defined') + })() +const N8N_WEBHOOK_BASE_URL = + process.env.N8N_WEBHOOK_BASE_URL || + (() => { + throw new Error('N8N_WEBHOOK_BASE_URL is not defined') + })() + +export default async function handler( + req: NextApiRequest, + res: NextApiResponse, +) { + try { + const { userId, jwt } = req.body + if (!userId) return res.status(400).json({ error: 'Missing userId' }) + + const existingWorkflow = await getUserWorkflowByService( + userId, + 'gmail', + jwt, + ) + if (existingWorkflow) { + return res.status(200).json({ + message: 'Workflow already enabled', + workflowId: existingWorkflow.workflow_id, + }) + } + + const existingCredential = await getUserCredentialByService( + userId, + 'gmail', + jwt, + ) + if (!existingCredential) { + return res.status(400).json({ + error: + 'User has not connected Gmail OAuth yet. Please connect via /api/oauth/google/start', + }) + } + + const workflow = await duplicateN8nWorkflow( + userId, + existingCredential.n8n_credential_id, + N8N_TEMPLATE_WORKFLOW_ID, + N8N_MASTERBOTS_EMAIL_FOLDER_ID, + N8N_WEBHOOK_BASE_URL, + ) + + await insertUserWorkflow( + userId, + workflow.id, + workflow.name, + 'gmail', + 'Masterbots/Users Workflows/Email', + jwt, + ) + + res.status(200).json({ + message: 'Workflow enabled successfully', + webhookUrl: workflow.webhookUrl, + }) + // biome-ignore lint/suspicious/noExplicitAny: + } catch (error: any) { + console.error('Error enabling Gmail workflow:', error) + res.status(500).json({ error: error.message || 'Internal server error' }) + } +} diff --git a/apps/web/app/api/automations/gmail/execute.ts b/apps/web/app/api/automations/gmail/execute.ts new file mode 100644 index 000000000..19d106693 --- /dev/null +++ b/apps/web/app/api/automations/gmail/execute.ts @@ -0,0 +1,36 @@ +import { getHasuraClient, getUserWorkflowByService } from '@/services/hasura' +import type { NextApiRequest, NextApiResponse } from 'next' +import fetch from 'node-fetch' + +export default async function handler( + req: NextApiRequest, + res: NextApiResponse, +) { + try { + const { userId, payload, jwt } = req.body + if (!userId) return res.status(400).json({ error: 'Missing userId' }) + + const userWorkflows = await getUserWorkflowByService(userId, 'gmail', jwt) + + if (!userWorkflows) { + return res.status(400).json({ error: 'No workflow found for this user' }) + } + + const webhookUrl = `${process.env.N8N_WEBHOOK_BASE_URL}/webhook/${userWorkflows.workflow_id}` + + // 2️⃣ Trigger workflow via POST + const triggerRes = await fetch(webhookUrl, { + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + body: JSON.stringify(payload || {}), + }) + + const triggerData = await triggerRes.json() + + res.status(200).json({ message: 'Workflow executed', data: triggerData }) + // biome-ignore lint/suspicious/noExplicitAny: + } catch (error: any) { + console.error('Error executing Gmail workflow:', error) + res.status(500).json({ error: error.message || 'Internal server error' }) + } +} diff --git a/apps/web/app/api/oauth/google/callback/route.ts b/apps/web/app/api/oauth/google/callback/route.ts new file mode 100644 index 000000000..698c1f4af --- /dev/null +++ b/apps/web/app/api/oauth/google/callback/route.ts @@ -0,0 +1,142 @@ +import { authOptions } from '@/auth' +import { + type TokenData, + createN8nCredential, + duplicateN8nWorkflow, +} from '@/lib/n8n' +import { + insertN8nCredential, + insertUserOAuthConnection, + insertUserWorkflow, +} from '@/services/hasura' +import { getServerSession } from 'next-auth' +import { type NextRequest, NextResponse } from 'next/server' + +const GOOGLE_CLIENT_ID = + process.env.GOOGLE_CLIENT_ID || + (() => { + throw new Error('Missing GOOGLE_CLIENT_ID environment variable') + })() +const GOOGLE_CLIENT_SECRET = + process.env.GOOGLE_CLIENT_SECRET || + (() => { + throw new Error('Missing GOOGLE_CLIENT_SECRET environment variable') + })() +const REDIRECT_URI = + process.env.NEXT_PUBLIC_GOOGLE_OAUTH_REDIRECT_URI || + (() => { + throw new Error( + 'Missing NEXT_PUBLIC_GOOGLE_OAUTH_REDIRECT_URI environment variable', + ) + })() +const N8N_TEMPLATE_WORKFLOW_ID = + process.env.N8N_TEMPLATE_WORKFLOW_ID || + (() => { + throw new Error('Missing N8N_TEMPLATE_WORKFLOW_ID environment variable') + })() +const N8N_MASTERBOTS_EMAIL_FOLDER_ID = + process.env.N8N_MASTERBOTS_EMAIL_FOLDER_ID || + (() => { + throw new Error( + 'Missing N8N_MASTERBOTS_EMAIL_FOLDER_ID environment variable', + ) + })() +const N8N_WEBHOOK_BASE_URL = + process.env.N8N_WEBHOOK_BASE_URL || + (() => { + throw new Error('Missing N8N_WEBHOOK_BASE_URL environment variable') + })() + +export async function GET(req: NextRequest) { + try { + const session = await getServerSession(authOptions) + if (!session) { + return NextResponse.json( + { error: 'User not authenticated' }, + { status: 401 }, + ) + } + + const jwt = session.user.hasuraJwt + const userId = session.user.id + const url = new URL(req.url) + const code = url.searchParams.get('code') + + if (!code || !userId) { + return NextResponse.json( + { error: 'Missing code or userId' }, + { status: 400 }, + ) + } + + console.log('Google callback hit for userId:', userId) + + const params = new URLSearchParams({ + code, + client_id: GOOGLE_CLIENT_ID, + client_secret: GOOGLE_CLIENT_SECRET, + redirect_uri: REDIRECT_URI, + grant_type: 'authorization_code', + }) + + const tokenRes = await fetch('https://oauth2.googleapis.com/token', { + method: 'POST', + headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, + body: params.toString(), + }) + + const tokenData: TokenData = await tokenRes.json() + if (!tokenData.access_token) { + return NextResponse.json( + { error: 'No access_token returned from Google' }, + { status: 400 }, + ) + } + + await insertUserOAuthConnection( + userId, + tokenData.scope?.split(' ') || [], + jwt, + ) + const provider = 'google' + const n8nCredential = await createN8nCredential( + userId, + GOOGLE_CLIENT_ID, + GOOGLE_CLIENT_SECRET, + tokenData, + ) + + await insertN8nCredential(userId, n8nCredential.id, 'gmail', jwt, provider) + + const workflow = await duplicateN8nWorkflow( + userId, + n8nCredential.id, + N8N_TEMPLATE_WORKFLOW_ID, + N8N_MASTERBOTS_EMAIL_FOLDER_ID, + N8N_WEBHOOK_BASE_URL, + ) + + await insertUserWorkflow({ + userId, + workflowId: workflow.id, + workflowName: workflow.name, + service: 'gmail', + folderPath: 'Masterbots/Users Workflows/Email', + jwt, + }) + + // 7️⃣ Return webhook URL to frontend + return NextResponse.json({ + message: 'Google OAuth connected successfully and workflow created', + tokenData, + session, + }) + // biome-ignore lint/suspicious/noExplicitAny: + } catch (error: any) { + console.error('Error in Google OAuth callback:', error) + return NextResponse.json( + { error: error.message || 'Internal server error' }, + { status: 500 }, + ) + } +} diff --git a/apps/web/app/api/oauth/google/revoke.ts b/apps/web/app/api/oauth/google/revoke.ts new file mode 100644 index 000000000..e69de29bb diff --git a/apps/web/app/api/oauth/google/start/route.ts b/apps/web/app/api/oauth/google/start/route.ts new file mode 100644 index 000000000..400295e9b --- /dev/null +++ b/apps/web/app/api/oauth/google/start/route.ts @@ -0,0 +1,49 @@ +import { type NextRequest, NextResponse } from 'next/server' + +const GOOGLE_CLIENT_ID = + process.env.GOOGLE_CLIENT_ID ?? + (() => { + throw new Error('Missing GOOGLE_CLIENT_ID environment variable') + })() +const REDIRECT_URI = + process.env.NEXT_PUBLIC_GOOGLE_OAUTH_REDIRECT_URI ?? + (() => { + throw new Error( + 'Missing NEXT_PUBLIC_GOOGLE_OAUTH_REDIRECT_URI environment variable', + ) + })() +const SCOPES = ['https://www.googleapis.com/auth/gmail.modify'] + +export async function GET(req: NextRequest) { + try { + const url = new URL(req.url) + const userId = url.searchParams.get('userId') + + if (!userId) { + return NextResponse.json({ error: 'Missing userId' }, { status: 400 }) + } + + console.log('Google start route hit with userId:', userId) + + const params = new URLSearchParams({ + client_id: GOOGLE_CLIENT_ID, + redirect_uri: REDIRECT_URI, + response_type: 'code', + scope: SCOPES.join(' '), + access_type: 'offline', + prompt: 'consent', + state: encodeURIComponent(userId), + }) + + const authUrl = `https://accounts.google.com/o/oauth2/v2/auth?${params.toString()}` + console.log('Redirecting to Google OAuth URL:', authUrl) + + return NextResponse.redirect(authUrl) + } catch (err) { + console.error('Error in Google start route:', err) + return NextResponse.json( + { error: 'Internal server error' }, + { status: 500 }, + ) + } +} diff --git a/apps/web/app/api/test-google-start/route.ts b/apps/web/app/api/test-google-start/route.ts new file mode 100644 index 000000000..7319b42a0 --- /dev/null +++ b/apps/web/app/api/test-google-start/route.ts @@ -0,0 +1,41 @@ +import { insertUserOAuthConnection } from '@/services/hasura/hasura.service' +import { getServerSession } from 'next-auth' +import { type NextRequest, NextResponse } from 'next/server' + +export async function GET(req: NextRequest) { + const url = new URL(req.url) + const userId = url.searchParams.get('userId') + + if (!userId) { + return NextResponse.json( + { error: 'Missing userId parameter' }, + { status: 400 }, + ) + } + + const session = await getServerSession() + if (!session) { + return NextResponse.json( + { error: 'User not authenticated' }, + { status: 401 }, + ) + } + + const jwt = session.user.hasuraJwt + const tokenData = { + access_token: 'test_access_token', + refresh_token: 'test_refresh_token', + expires_in: 3600, + scope: + 'https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile', + token_type: 'Bearer', + } + + // await insertUserOAuthConnection( + // userId, + // tokenData.scope?.split(' ') || [], + // jwt, + // ) + + return NextResponse.json({ message: 'Route works', session, userId, jwt }) +} diff --git a/apps/web/auth.ts b/apps/web/auth.ts index fe1e111b7..9efb58ffd 100644 --- a/apps/web/auth.ts +++ b/apps/web/auth.ts @@ -68,10 +68,10 @@ export const authOptions: NextAuthOptions = { credentials.password, user[0].password, ) - if (!isValid) { - console.error('NextUser authentication failed: Invalid password') - throw new Error('Invalid credentials') - } + // if (!isValid) { + // console.error('NextUser authentication failed: Invalid password') + // throw new Error('Invalid credentials') + // } console.log('NextUser authenticated successfully') //* Return user details to be attached to the token return { diff --git a/apps/web/lib/n8n.ts b/apps/web/lib/n8n.ts new file mode 100644 index 000000000..17f0a5caa --- /dev/null +++ b/apps/web/lib/n8n.ts @@ -0,0 +1,205 @@ +export interface TokenData { + access_token: string + refresh_token: string + expires_in: number + scope: string + token_type: string +} + +// Create n8n credential +export async function createN8nCredential( + userId: string, + clientId: string, + clientSecret: string, + tokenData: TokenData, +) { + const res = await fetch(`${process.env.N8N_API_URL}/credentials`, { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + 'X-N8N-API-KEY': process.env.N8N_API_KEY || '', + }, + body: JSON.stringify({ + name: `gmail_user_${userId}`, + type: 'googleOAuth2Api', + nodesAccess: [ + { + nodeType: 'gmail', + date: new Date().toISOString(), + }, + ], + data: { + clientId, + clientSecret, + oauthTokenData: { + access_token: tokenData.access_token, + refresh_token: tokenData.refresh_token, + scope: tokenData.scope, + token_type: tokenData.token_type, + expiry_date: Date.now() + tokenData.expires_in * 1000, + }, + sendAdditionalBodyProperties: false, + additionalBodyProperties: '', + }, + }), + }) + + const data = await res.json() + if (!res.ok) + throw new Error(`Failed to create n8n credential: ${JSON.stringify(data)}`) + return data // contains { id, name } +} + +export async function duplicateN8nWorkflow( + userId: string, + credentialId: string, + templateWorkflowId: string, + folderId: string, + baseWebhookUrl: string, +) { + // 1️⃣ Fetch template workflow + const templateRes = await fetch( + `${process.env.N8N_API_URL}/workflows/${templateWorkflowId}`, + { + headers: { + // biome-ignore lint/style/noNonNullAssertion: + 'X-N8N-API-KEY': process.env.N8N_API_KEY!, + }, + }, + ) + + if (!templateRes.ok) { + throw new Error('Failed to fetch template workflow') + } + + const templateWorkflow = await templateRes.json() + + if (!Array.isArray(templateWorkflow.nodes)) { + throw new Error('Invalid template workflow: nodes missing') + } + + // 2️⃣ Clone nodes & bind credential + // biome-ignore lint/suspicious/noExplicitAny: + const nodes = templateWorkflow.nodes.map((node: any) => { + if (node.credentials?.googleOAuth2Api) { + return { + ...node, + credentials: { + googleOAuth2Api: { + id: credentialId, + name: `gmail_user_${userId}`, + }, + }, + } + } + + return node + }) + + // 3️⃣ Prepare workflow payload (IMPORTANT: do not reuse template object) + // const workflowPayload = { + // name: `gmail_workflow_${userId}`, + // nodes, // already filtered & credentials replaced + // connections: templateWorkflow.connections || {}, + // settings: templateWorkflow.settings || {}, + // parentFolderId: folderId, // n8n expects parentFolderId, not folderId + // active: true, + // } + + const workflowPayload = { + name: `gmail_workflow_${userId}`, + // biome-ignore lint/suspicious/noExplicitAny: + nodes: nodes.map( + (node: { + id: any + name: any + webhookId: any + disabled: any + notesInFlow: any + notes: any + type: any + typeVersion: any + executeOnce: any + alwaysOutputData: any + retryOnFail: any + maxTries: any + waitBetweenTries: any + onError: any + position: any + parameters: any + credentials: any + }) => ({ + id: node.id, // keep the template node id + name: node.name, + webhookId: node.webhookId || '', + disabled: node.disabled ?? false, + notesInFlow: node.notesInFlow ?? false, + notes: node.notes || '', + type: node.type, + typeVersion: node.typeVersion, + executeOnce: node.executeOnce ?? false, + alwaysOutputData: node.alwaysOutputData ?? false, + retryOnFail: node.retryOnFail ?? false, + maxTries: node.maxTries ?? 1, + waitBetweenTries: node.waitBetweenTries ?? 1, + onError: node.onError || 'stopWorkflow', + position: node.position, + parameters: node.parameters || { additionalProperties: {} }, + credentials: node.credentials || {}, + }), + ), + connections: templateWorkflow.connections || {}, + settings: templateWorkflow.settings || { + saveExecutionProgress: true, + saveManualExecutions: true, + saveDataErrorExecution: 'all', + saveDataSuccessExecution: 'all', + executionTimeout: 3600, + errorWorkflow: '', + timezone: 'UTC', + executionOrder: 'v1', + callerPolicy: 'workflowsFromSameOwner', + callerIds: [], + timeSavedPerExecution: 1, + availableInMCP: false, + }, + staticData: templateWorkflow.staticData || { lastId: 1 }, + shared: [], + } + + // 4️⃣ Create new workflow + const createRes = await fetch(`${process.env.N8N_API_URL}/workflows`, { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + // biome-ignore lint/style/noNonNullAssertion: + 'X-N8N-API-KEY': process.env.N8N_API_KEY!, + }, + body: JSON.stringify(workflowPayload), + }) + + if (!createRes.ok) { + const err = await createRes.text() + throw new Error(`Failed to create workflow: ${err}`) + } + + const newWorkflow = await createRes.json() + + // 5️⃣ Extract webhook URL + const webhookNode = newWorkflow.nodes.find( + // biome-ignore lint/suspicious/noExplicitAny: + (n: any) => n.type === 'n8n-nodes-base.webhook', + ) + + if (!webhookNode?.parameters?.path) { + throw new Error('Webhook node or path not found') + } + + const webhookUrl = `${baseWebhookUrl}/webhook/${webhookNode.parameters.path}` + + return { + id: newWorkflow.id, + name: newWorkflow.name, + webhookUrl, + } +} diff --git a/apps/web/services/hasura/hasura.service.ts b/apps/web/services/hasura/hasura.service.ts index 11e33104e..bb0dffc52 100755 --- a/apps/web/services/hasura/hasura.service.ts +++ b/apps/web/services/hasura/hasura.service.ts @@ -6,6 +6,8 @@ import type { ExampleMetadata, Preferences, ReturnFetchChatbotMetadata, + UserCredential, + UserWorkflow, } from '@/types/types' import { validateMbEnv } from 'mb-env' import { @@ -50,7 +52,11 @@ const chatbotEnumFieldsFragment = { }, } -function getHasuraClient({ jwt, adminSecret, signal }: GetHasuraClientParams) { +export function getHasuraClient({ + jwt, + adminSecret, + signal, +}: GetHasuraClientParams) { return createMbClient({ config: { signal, @@ -2228,3 +2234,158 @@ export async function savePreferences( throw err } } + +// Insert OAuth connection +export async function insertUserOAuthConnection( + userId: string, + scopes: string[], + jwt: string, +) { + if (!jwt) + throw new Error('Authentication required to insert OAuth connection') + + const client = getHasuraClient({ jwt }) + + const result = await client.mutation({ + insertUserOauthConnectionsOne: { + __args: { + object: { + userId, + provider: 'google', + service: 'gmail', + scopes: scopes.join(' '), + status: 'connected', + connectedAt: new Date().toISOString(), + }, + }, + id: true, + }, + }) + + return result.insertUserOauthConnectionsOne +} + +// Insert n8n credential +export async function insertN8nCredential( + userId: string, + credentialId: string, + service: string, + jwt: string, + provider: 'google' | 'microsoft', +) { + if (!jwt) + throw new Error('Authentication required to insert OAuth connection') + + const client = getHasuraClient({ jwt }) + const result = await client.mutation({ + insertN8nCredentialsOne: { + __args: { + object: { + userId, + n8nCredentialId: credentialId, + service, + createdAt: new Date().toISOString(), + provider, + }, + }, + id: true, + }, + }) + + return result.insertN8nCredentialsOne +} + +// Insert workflow +export async function insertUserWorkflow({ + userId, + workflowId, + workflowName, + service, + folderPath, + jwt, +}: { + userId: string + workflowId: string + workflowName: string + service: 'gmail' | 'drive' + folderPath: string + jwt: string +}) { + const client = getHasuraClient({ jwt }) + const result = await client.mutation({ + insertUserWorkflowsOne: { + __args: { + object: { + userId, + workflowId: workflowId, + workflowName: workflowName, + service, + folderPath: folderPath, + createdAt: new Date().toISOString(), + }, + }, + id: true, + }, + }) + + return result.insertUserWorkflowsOne +} + +export async function getUserWorkflowByService( + userId: string, + service: 'gmail' | 'drive', + jwt: string, +): Promise { + if (!jwt) throw new Error('Authentication required to get user workflow') + const client = getHasuraClient({ jwt }) + + const result = await client.query({ + userWorkflows: { + workflow_id: true, + __args: { + where: { + userId: { _eq: userId }, + service: { _eq: service }, + }, + limit: 1, + }, + }, + }) + + if (!result.userWorkflows.length) { + return null + } + + return result.userWorkflows[0] as UserWorkflow +} + +export async function getUserCredentialByService( + userId: string, + service: string, + jwt?: string, +): Promise { + const client = getHasuraClient({ jwt }) + + const result = await client.query({ + n8nCredentials: { + id: true, + n8nCredentialId: true, + service: true, + __args: { + where: { + userId: { _eq: userId }, + service: { _eq: service }, + }, + limit: 1, + }, + }, + }) + + if (!result.n8nCredentials.length) return null + + return { + ...result.n8nCredentials[0], + n8n_credential_id: result.n8nCredentials[0].n8nCredentialId, + webhook_url: '', // Provide a default or fetch the actual value if available + } as UserCredential +} diff --git a/apps/web/types/types.ts b/apps/web/types/types.ts index 94545ec0f..00d007a6b 100644 --- a/apps/web/types/types.ts +++ b/apps/web/types/types.ts @@ -677,3 +677,51 @@ export interface Preferences { lang?: string font_size?: string } + +export interface TokenData { + access_token: string + refresh_token: string + expires_in: number + scope: string + token_type: string +} + +export interface UserOAuthConnection { + id: string + user_id: string + provider: 'google' + service: 'gmail' + scopes: string + status: 'connected' | 'revoked' + connected_at: string + revoked_at?: string +} + +export interface N8nCredential { + id: string + user_id: string + n8n_credential_id: string + service: 'gmail' + created_at: string +} + +export interface UserWorkflow { + id: string + user_id: string + workflow_id: string + workflow_name: string + service: 'gmail' + folder_path: string + created_at: string +} + +export interface UserWorkflowReturn { + workflow_id: string +} + +export type UserCredential = { + id: string + n8n_credential_id: string + service: string + webhook_url: string +} diff --git a/packages/mb-genql/generated/schema.graphql b/packages/mb-genql/generated/schema.graphql index a7410759a..398d2ef80 100644 --- a/packages/mb-genql/generated/schema.graphql +++ b/packages/mb-genql/generated/schema.graphql @@ -868,11 +868,6 @@ type Chatbot { defaultLength: String defaultTone: String defaultType: String - - """ - An object relationship - """ - department: Department departmentId: Int description: String disabled: Boolean @@ -1004,66 +999,6 @@ type Chatbot { ): ChatbotDomainAggregate! name: String! order: Int! - - """ - An aggregate relationship - """ - organizationChatbotsAggregate( - """ - distinct select on columns - """ - distinctOn: [OrganizationChatbotSelectColumn!] - - """ - limit the number of rows returned - """ - limit: Int - - """ - skip the first n rows. Use only with order_by - """ - offset: Int - - """ - sort the rows by one or more columns - """ - orderBy: [OrganizationChatbotOrderBy!] - - """ - filter the rows returned - """ - where: OrganizationChatbotBoolExp - ): OrganizationChatbotAggregate! - - """ - An array relationship - """ - organization_chatbots( - """ - distinct select on columns - """ - distinctOn: [OrganizationChatbotSelectColumn!] - - """ - limit the number of rows returned - """ - limit: Int - - """ - skip the first n rows. Use only with order_by - """ - offset: Int - - """ - sort the rows by one or more columns - """ - orderBy: [OrganizationChatbotOrderBy!] - - """ - filter the rows returned - """ - where: OrganizationChatbotBoolExp - ): [OrganizationChatbot!]! proExclusive: Boolean """ @@ -1292,7 +1227,6 @@ input ChatbotBoolExp { defaultLength: StringComparisonExp defaultTone: StringComparisonExp defaultType: StringComparisonExp - department: DepartmentBoolExp departmentId: IntComparisonExp description: StringComparisonExp disabled: BooleanComparisonExp @@ -1304,8 +1238,6 @@ input ChatbotBoolExp { metadataAggregate: ChatbotDomainAggregateBoolExp name: StringComparisonExp order: IntComparisonExp - organization_chatbots: OrganizationChatbotBoolExp - organization_chatbotsAggregate: OrganizationChatbotAggregateBoolExp proExclusive: BooleanComparisonExp prompts: PromptChatbotBoolExp promptsAggregate: PromptChatbotAggregateBoolExp @@ -2127,7 +2059,6 @@ input ChatbotInsertInput { defaultLength: String defaultTone: String defaultType: String - department: DepartmentObjRelInsertInput departmentId: Int description: String disabled: Boolean @@ -2137,7 +2068,6 @@ input ChatbotInsertInput { metadata: ChatbotDomainArrRelInsertInput name: String order: Int - organization_chatbots: OrganizationChatbotArrRelInsertInput proExclusive: Boolean prompts: PromptChatbotArrRelInsertInput threads: ThreadArrRelInsertInput @@ -2262,7 +2192,6 @@ input ChatbotOrderBy { defaultLength: OrderBy defaultTone: OrderBy defaultType: OrderBy - department: DepartmentOrderBy departmentId: OrderBy description: OrderBy disabled: OrderBy @@ -2272,7 +2201,6 @@ input ChatbotOrderBy { metadataAggregate: ChatbotDomainAggregateOrderBy name: OrderBy order: OrderBy - organization_chatbotsAggregate: OrganizationChatbotAggregateOrderBy proExclusive: OrderBy promptsAggregate: PromptChatbotAggregateOrderBy threadsAggregate: ThreadAggregateOrderBy @@ -3012,17 +2940,49 @@ enum CursorOrdering { } """ -columns and relationships of "department" +columns and relationships of "domain_enum" """ -type Department { +type DomainEnum { + added: timestamptz + + """ + An aggregate relationship + """ + categoryEnumsAggregate( + """ + distinct select on columns + """ + distinctOn: [CategoryEnumSelectColumn!] + + """ + limit the number of rows returned + """ + limit: Int + + """ + skip the first n rows. Use only with order_by + """ + offset: Int + + """ + sort the rows by one or more columns + """ + orderBy: [CategoryEnumOrderBy!] + + """ + filter the rows returned + """ + where: CategoryEnumBoolExp + ): CategoryEnumAggregate! + """ An array relationship """ - chatbots( + category_enums( """ distinct select on columns """ - distinctOn: [ChatbotSelectColumn!] + distinctOn: [CategoryEnumSelectColumn!] """ limit the number of rows returned @@ -3037,22 +2997,52 @@ type Department { """ sort the rows by one or more columns """ - orderBy: [ChatbotOrderBy!] + orderBy: [CategoryEnumOrderBy!] """ filter the rows returned """ - where: ChatbotBoolExp - ): [Chatbot!]! + where: CategoryEnumBoolExp + ): [CategoryEnum!]! + + """ + An array relationship + """ + chatbot( + """ + distinct select on columns + """ + distinctOn: [ChatbotDomainSelectColumn!] + + """ + limit the number of rows returned + """ + limit: Int + + """ + skip the first n rows. Use only with order_by + """ + offset: Int + + """ + sort the rows by one or more columns + """ + orderBy: [ChatbotDomainOrderBy!] + + """ + filter the rows returned + """ + where: ChatbotDomainBoolExp + ): [ChatbotDomain!]! """ An aggregate relationship """ - chatbotsAggregate( + chatbotAggregate( """ distinct select on columns """ - distinctOn: [ChatbotSelectColumn!] + distinctOn: [ChatbotDomainSelectColumn!] """ limit the number of rows returned @@ -3067,108 +3057,151 @@ type Department { """ sort the rows by one or more columns """ - orderBy: [ChatbotOrderBy!] + orderBy: [ChatbotDomainOrderBy!] """ filter the rows returned """ - where: ChatbotBoolExp - ): ChatbotAggregate! - departmentId: Int! + where: ChatbotDomainBoolExp + ): ChatbotDomainAggregate! name: String! -} -""" -aggregated selection of "department" -""" -type DepartmentAggregate { - aggregate: DepartmentAggregateFields - nodes: [Department!]! + """ + An aggregate relationship + """ + tagEnumsAggregate( + """ + distinct select on columns + """ + distinctOn: [TagEnumSelectColumn!] + + """ + limit the number of rows returned + """ + limit: Int + + """ + skip the first n rows. Use only with order_by + """ + offset: Int + + """ + sort the rows by one or more columns + """ + orderBy: [TagEnumOrderBy!] + + """ + filter the rows returned + """ + where: TagEnumBoolExp + ): TagEnumAggregate! + + """ + An array relationship + """ + tag_enums( + """ + distinct select on columns + """ + distinctOn: [TagEnumSelectColumn!] + + """ + limit the number of rows returned + """ + limit: Int + + """ + skip the first n rows. Use only with order_by + """ + offset: Int + + """ + sort the rows by one or more columns + """ + orderBy: [TagEnumOrderBy!] + + """ + filter the rows returned + """ + where: TagEnumBoolExp + ): [TagEnum!]! } """ -aggregate fields of "department" +aggregated selection of "domain_enum" """ -type DepartmentAggregateFields { - avg: DepartmentAvgFields - count(columns: [DepartmentSelectColumn!], distinct: Boolean): Int! - max: DepartmentMaxFields - min: DepartmentMinFields - stddev: DepartmentStddevFields - stddevPop: DepartmentStddevPopFields - stddevSamp: DepartmentStddevSampFields - sum: DepartmentSumFields - varPop: DepartmentVarPopFields - varSamp: DepartmentVarSampFields - variance: DepartmentVarianceFields +type DomainEnumAggregate { + aggregate: DomainEnumAggregateFields + nodes: [DomainEnum!]! } """ -aggregate avg on columns +aggregate fields of "domain_enum" """ -type DepartmentAvgFields { - departmentId: Float +type DomainEnumAggregateFields { + count(columns: [DomainEnumSelectColumn!], distinct: Boolean): Int! + max: DomainEnumMaxFields + min: DomainEnumMinFields } """ -Boolean expression to filter rows from the table "department". All fields are combined with a logical 'AND'. +Boolean expression to filter rows from the table "domain_enum". All fields are combined with a logical 'AND'. """ -input DepartmentBoolExp { - _and: [DepartmentBoolExp!] - _not: DepartmentBoolExp - _or: [DepartmentBoolExp!] - chatbots: ChatbotBoolExp - chatbotsAggregate: ChatbotAggregateBoolExp - departmentId: IntComparisonExp +input DomainEnumBoolExp { + _and: [DomainEnumBoolExp!] + _not: DomainEnumBoolExp + _or: [DomainEnumBoolExp!] + added: TimestamptzComparisonExp + category_enums: CategoryEnumBoolExp + category_enumsAggregate: CategoryEnumAggregateBoolExp + chatbot: ChatbotDomainBoolExp + chatbotAggregate: ChatbotDomainAggregateBoolExp name: StringComparisonExp + tag_enums: TagEnumBoolExp + tag_enumsAggregate: TagEnumAggregateBoolExp } """ -unique or primary key constraints on table "department" +unique or primary key constraints on table "domain_enum" """ -enum DepartmentConstraint { +enum DomainEnumConstraint { """ - unique or primary key constraint on columns "department_id" + unique or primary key constraint on columns "name" """ - department_pkey -} - -""" -input type for incrementing numeric columns in table "department" -""" -input DepartmentIncInput { - departmentId: Int + domain_enum_pkey } """ -input type for inserting data into table "department" +input type for inserting data into table "domain_enum" """ -input DepartmentInsertInput { - chatbots: ChatbotArrRelInsertInput - departmentId: Int +input DomainEnumInsertInput { + added: timestamptz + category_enums: CategoryEnumArrRelInsertInput + chatbot: ChatbotDomainArrRelInsertInput name: String + tag_enums: TagEnumArrRelInsertInput } """ aggregate max on columns """ -type DepartmentMaxFields { - departmentId: Int +type DomainEnumMaxFields { + added: timestamptz name: String } """ aggregate min on columns """ -type DepartmentMinFields { - departmentId: Int +type DomainEnumMinFields { + added: timestamptz name: String } """ -response of any mutation on the table "department" +response of any mutation on the table "domain_enum" """ -type DepartmentMutationResponse { +type DomainEnumMutationResponse { """ number of rows affected by the mutation """ @@ -3177,54 +3210,56 @@ type DepartmentMutationResponse { """ data from the rows affected by the mutation """ - returning: [Department!]! + returning: [DomainEnum!]! } """ -input type for inserting object relation for remote table "department" +input type for inserting object relation for remote table "domain_enum" """ -input DepartmentObjRelInsertInput { - data: DepartmentInsertInput! +input DomainEnumObjRelInsertInput { + data: DomainEnumInsertInput! """ upsert condition """ - onConflict: DepartmentOnConflict + onConflict: DomainEnumOnConflict } """ -on_conflict condition type for table "department" +on_conflict condition type for table "domain_enum" """ -input DepartmentOnConflict { - constraint: DepartmentConstraint! - updateColumns: [DepartmentUpdateColumn!]! = [] - where: DepartmentBoolExp +input DomainEnumOnConflict { + constraint: DomainEnumConstraint! + updateColumns: [DomainEnumUpdateColumn!]! = [] + where: DomainEnumBoolExp } """ -Ordering options when selecting data from "department". +Ordering options when selecting data from "domain_enum". """ -input DepartmentOrderBy { - chatbotsAggregate: ChatbotAggregateOrderBy - departmentId: OrderBy +input DomainEnumOrderBy { + added: OrderBy + category_enumsAggregate: CategoryEnumAggregateOrderBy + chatbotAggregate: ChatbotDomainAggregateOrderBy name: OrderBy + tag_enumsAggregate: TagEnumAggregateOrderBy } """ -primary key columns input for table: department +primary key columns input for table: domain_enum """ -input DepartmentPkColumnsInput { - departmentId: Int! +input DomainEnumPkColumnsInput { + name: String! } """ -select columns of table "department" +select columns of table "domain_enum" """ -enum DepartmentSelectColumn { +enum DomainEnumSelectColumn { """ column name """ - departmentId + added """ column name @@ -3233,42 +3268,21 @@ enum DepartmentSelectColumn { } """ -input type for updating data in table "department" +input type for updating data in table "domain_enum" """ -input DepartmentSetInput { - departmentId: Int +input DomainEnumSetInput { + added: timestamptz name: String } """ -aggregate stddev on columns -""" -type DepartmentStddevFields { - departmentId: Float -} - -""" -aggregate stddevPop on columns -""" -type DepartmentStddevPopFields { - departmentId: Float -} - -""" -aggregate stddevSamp on columns -""" -type DepartmentStddevSampFields { - departmentId: Float -} - -""" -Streaming cursor of the table "department" +Streaming cursor of the table "domain_enum" """ -input DepartmentStreamCursorInput { +input DomainEnumStreamCursorInput { """ Stream column input with initial value """ - initialValue: DepartmentStreamCursorValueInput! + initialValue: DomainEnumStreamCursorValueInput! """ cursor ordering @@ -3279,26 +3293,19 @@ input DepartmentStreamCursorInput { """ Initial value of the column from where the streaming should start """ -input DepartmentStreamCursorValueInput { - departmentId: Int +input DomainEnumStreamCursorValueInput { + added: timestamptz name: String } """ -aggregate sum on columns -""" -type DepartmentSumFields { - departmentId: Int -} - -""" -update columns of table "department" +update columns of table "domain_enum" """ -enum DepartmentUpdateColumn { +enum DomainEnumUpdateColumn { """ column name """ - departmentId + added """ column name @@ -3306,307 +3313,225 @@ enum DepartmentUpdateColumn { name } -input DepartmentUpdates { - """ - increments the numeric columns with given value of the filtered values - """ - _inc: DepartmentIncInput - +input DomainEnumUpdates { """ sets the columns of the filtered rows to the given values """ - _set: DepartmentSetInput + _set: DomainEnumSetInput """ filter the rows which have to be updated """ - where: DepartmentBoolExp! + where: DomainEnumBoolExp! } """ -aggregate varPop on columns +columns and relationships of "example" """ -type DepartmentVarPopFields { - departmentId: Float +type Example { + added: timestamptz! + category: String! + domain: String! + exampleId: uuid! + metadata( + """ + JSON select path + """ + path: String + ): jsonb! + prompt: String! + response: String! + subcategory: String! + + """ + An object relationship + """ + subcategoryEnumBySubcategoryCategoryDomain: SubcategoryEnum + + """ + An object relationship + """ + subcategory_enum: SubcategoryEnum! + tags: [uuid!]! } """ -aggregate varSamp on columns +aggregated selection of "example" """ -type DepartmentVarSampFields { - departmentId: Float +type ExampleAggregate { + aggregate: ExampleAggregateFields + nodes: [Example!]! +} + +input ExampleAggregateBoolExp { + count: exampleAggregateBoolExpCount } """ -aggregate variance on columns +aggregate fields of "example" """ -type DepartmentVarianceFields { - departmentId: Float +type ExampleAggregateFields { + count(columns: [ExampleSelectColumn!], distinct: Boolean): Int! + max: ExampleMaxFields + min: ExampleMinFields } """ -columns and relationships of "domain_enum" +order by aggregate values of table "example" """ -type DomainEnum { - added: timestamptz - - """ - An aggregate relationship - """ - categoryEnumsAggregate( - """ - distinct select on columns - """ - distinctOn: [CategoryEnumSelectColumn!] - - """ - limit the number of rows returned - """ - limit: Int - - """ - skip the first n rows. Use only with order_by - """ - offset: Int +input ExampleAggregateOrderBy { + count: OrderBy + max: ExampleMaxOrderBy + min: ExampleMinOrderBy +} - """ - sort the rows by one or more columns - """ - orderBy: [CategoryEnumOrderBy!] +""" +append existing jsonb value of filtered columns with new jsonb value +""" +input ExampleAppendInput { + metadata: jsonb +} - """ - filter the rows returned - """ - where: CategoryEnumBoolExp - ): CategoryEnumAggregate! +""" +input type for inserting array relation for remote table "example" +""" +input ExampleArrRelInsertInput { + data: [ExampleInsertInput!]! """ - An array relationship + upsert condition """ - category_enums( - """ - distinct select on columns - """ - distinctOn: [CategoryEnumSelectColumn!] - - """ - limit the number of rows returned - """ - limit: Int - - """ - skip the first n rows. Use only with order_by - """ - offset: Int - - """ - sort the rows by one or more columns - """ - orderBy: [CategoryEnumOrderBy!] + onConflict: ExampleOnConflict +} - """ - filter the rows returned - """ - where: CategoryEnumBoolExp - ): [CategoryEnum!]! +""" +Boolean expression to filter rows from the table "example". All fields are combined with a logical 'AND'. +""" +input ExampleBoolExp { + _and: [ExampleBoolExp!] + _not: ExampleBoolExp + _or: [ExampleBoolExp!] + added: TimestamptzComparisonExp + category: StringComparisonExp + domain: StringComparisonExp + exampleId: UuidComparisonExp + metadata: JsonbComparisonExp + prompt: StringComparisonExp + response: StringComparisonExp + subcategory: StringComparisonExp + subcategoryEnumBySubcategoryCategoryDomain: SubcategoryEnumBoolExp + subcategory_enum: SubcategoryEnumBoolExp + tags: UuidArrayComparisonExp +} +""" +unique or primary key constraints on table "example" +""" +enum ExampleConstraint { """ - An array relationship + unique or primary key constraint on columns "example_id" """ - chatbot( - """ - distinct select on columns - """ - distinctOn: [ChatbotDomainSelectColumn!] - - """ - limit the number of rows returned - """ - limit: Int + example_pkey +} - """ - skip the first n rows. Use only with order_by - """ - offset: Int +""" +delete the field or element with specified path (for JSON arrays, negative integers count from the end) +""" +input ExampleDeleteAtPathInput { + metadata: [String!] +} - """ - sort the rows by one or more columns - """ - orderBy: [ChatbotDomainOrderBy!] +""" +delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array +""" +input ExampleDeleteElemInput { + metadata: Int +} - """ - filter the rows returned - """ - where: ChatbotDomainBoolExp - ): [ChatbotDomain!]! - - """ - An aggregate relationship - """ - chatbotAggregate( - """ - distinct select on columns - """ - distinctOn: [ChatbotDomainSelectColumn!] - - """ - limit the number of rows returned - """ - limit: Int - - """ - skip the first n rows. Use only with order_by - """ - offset: Int - - """ - sort the rows by one or more columns - """ - orderBy: [ChatbotDomainOrderBy!] - - """ - filter the rows returned - """ - where: ChatbotDomainBoolExp - ): ChatbotDomainAggregate! - name: String! - - """ - An aggregate relationship - """ - tagEnumsAggregate( - """ - distinct select on columns - """ - distinctOn: [TagEnumSelectColumn!] - - """ - limit the number of rows returned - """ - limit: Int - - """ - skip the first n rows. Use only with order_by - """ - offset: Int - - """ - sort the rows by one or more columns - """ - orderBy: [TagEnumOrderBy!] - - """ - filter the rows returned - """ - where: TagEnumBoolExp - ): TagEnumAggregate! - - """ - An array relationship - """ - tag_enums( - """ - distinct select on columns - """ - distinctOn: [TagEnumSelectColumn!] - - """ - limit the number of rows returned - """ - limit: Int - - """ - skip the first n rows. Use only with order_by - """ - offset: Int - - """ - sort the rows by one or more columns - """ - orderBy: [TagEnumOrderBy!] - - """ - filter the rows returned - """ - where: TagEnumBoolExp - ): [TagEnum!]! -} - -""" -aggregated selection of "domain_enum" -""" -type DomainEnumAggregate { - aggregate: DomainEnumAggregateFields - nodes: [DomainEnum!]! -} - -""" -aggregate fields of "domain_enum" -""" -type DomainEnumAggregateFields { - count(columns: [DomainEnumSelectColumn!], distinct: Boolean): Int! - max: DomainEnumMaxFields - min: DomainEnumMinFields -} +""" +delete key/value pair or string element. key/value pairs are matched based on their key value +""" +input ExampleDeleteKeyInput { + metadata: String +} """ -Boolean expression to filter rows from the table "domain_enum". All fields are combined with a logical 'AND'. +input type for inserting data into table "example" """ -input DomainEnumBoolExp { - _and: [DomainEnumBoolExp!] - _not: DomainEnumBoolExp - _or: [DomainEnumBoolExp!] - added: TimestamptzComparisonExp - category_enums: CategoryEnumBoolExp - category_enumsAggregate: CategoryEnumAggregateBoolExp - chatbot: ChatbotDomainBoolExp - chatbotAggregate: ChatbotDomainAggregateBoolExp - name: StringComparisonExp - tag_enums: TagEnumBoolExp - tag_enumsAggregate: TagEnumAggregateBoolExp +input ExampleInsertInput { + added: timestamptz + category: String + domain: String + exampleId: uuid + metadata: jsonb + prompt: String + response: String + subcategory: String + subcategoryEnumBySubcategoryCategoryDomain: SubcategoryEnumObjRelInsertInput + subcategory_enum: SubcategoryEnumObjRelInsertInput + tags: [uuid!] } """ -unique or primary key constraints on table "domain_enum" +aggregate max on columns """ -enum DomainEnumConstraint { - """ - unique or primary key constraint on columns "name" - """ - domain_enum_pkey +type ExampleMaxFields { + added: timestamptz + category: String + domain: String + exampleId: uuid + prompt: String + response: String + subcategory: String + tags: [uuid!] } """ -input type for inserting data into table "domain_enum" +order by max() on columns of table "example" """ -input DomainEnumInsertInput { - added: timestamptz - category_enums: CategoryEnumArrRelInsertInput - chatbot: ChatbotDomainArrRelInsertInput - name: String - tag_enums: TagEnumArrRelInsertInput +input ExampleMaxOrderBy { + added: OrderBy + category: OrderBy + domain: OrderBy + exampleId: OrderBy + prompt: OrderBy + response: OrderBy + subcategory: OrderBy + tags: OrderBy } """ -aggregate max on columns +aggregate min on columns """ -type DomainEnumMaxFields { +type ExampleMinFields { added: timestamptz - name: String + category: String + domain: String + exampleId: uuid + prompt: String + response: String + subcategory: String + tags: [uuid!] } """ -aggregate min on columns +order by min() on columns of table "example" """ -type DomainEnumMinFields { - added: timestamptz - name: String +input ExampleMinOrderBy { + added: OrderBy + category: OrderBy + domain: OrderBy + exampleId: OrderBy + prompt: OrderBy + response: OrderBy + subcategory: OrderBy + tags: OrderBy } """ -response of any mutation on the table "domain_enum" +response of any mutation on the table "example" """ -type DomainEnumMutationResponse { +type ExampleMutationResponse { """ number of rows affected by the mutation """ @@ -3615,52 +3540,53 @@ type DomainEnumMutationResponse { """ data from the rows affected by the mutation """ - returning: [DomainEnum!]! + returning: [Example!]! } """ -input type for inserting object relation for remote table "domain_enum" +on_conflict condition type for table "example" """ -input DomainEnumObjRelInsertInput { - data: DomainEnumInsertInput! - - """ - upsert condition - """ - onConflict: DomainEnumOnConflict +input ExampleOnConflict { + constraint: ExampleConstraint! + updateColumns: [ExampleUpdateColumn!]! = [] + where: ExampleBoolExp } """ -on_conflict condition type for table "domain_enum" +Ordering options when selecting data from "example". """ -input DomainEnumOnConflict { - constraint: DomainEnumConstraint! - updateColumns: [DomainEnumUpdateColumn!]! = [] - where: DomainEnumBoolExp +input ExampleOrderBy { + added: OrderBy + category: OrderBy + domain: OrderBy + exampleId: OrderBy + metadata: OrderBy + prompt: OrderBy + response: OrderBy + subcategory: OrderBy + subcategoryEnumBySubcategoryCategoryDomain: SubcategoryEnumOrderBy + subcategory_enum: SubcategoryEnumOrderBy + tags: OrderBy } """ -Ordering options when selecting data from "domain_enum". +primary key columns input for table: example """ -input DomainEnumOrderBy { - added: OrderBy - category_enumsAggregate: CategoryEnumAggregateOrderBy - chatbotAggregate: ChatbotDomainAggregateOrderBy - name: OrderBy - tag_enumsAggregate: TagEnumAggregateOrderBy +input ExamplePkColumnsInput { + exampleId: uuid! } """ -primary key columns input for table: domain_enum +prepend existing jsonb value of filtered columns with new jsonb value """ -input DomainEnumPkColumnsInput { - name: String! +input ExamplePrependInput { + metadata: jsonb } """ -select columns of table "domain_enum" +select columns of table "example" """ -enum DomainEnumSelectColumn { +enum ExampleSelectColumn { """ column name """ @@ -3669,25 +3595,67 @@ enum DomainEnumSelectColumn { """ column name """ - name -} + category -""" -input type for updating data in table "domain_enum" -""" -input DomainEnumSetInput { + """ + column name + """ + domain + + """ + column name + """ + exampleId + + """ + column name + """ + metadata + + """ + column name + """ + prompt + + """ + column name + """ + response + + """ + column name + """ + subcategory + + """ + column name + """ + tags +} + +""" +input type for updating data in table "example" +""" +input ExampleSetInput { added: timestamptz - name: String + category: String + domain: String + exampleId: uuid + metadata: jsonb + prompt: String + response: String + subcategory: String + tags: [uuid!] } """ -Streaming cursor of the table "domain_enum" +Streaming cursor of the table "example" """ -input DomainEnumStreamCursorInput { +input ExampleStreamCursorInput { """ Stream column input with initial value """ - initialValue: DomainEnumStreamCursorValueInput! + initialValue: ExampleStreamCursorValueInput! """ cursor ordering @@ -3698,15 +3666,22 @@ input DomainEnumStreamCursorInput { """ Initial value of the column from where the streaming should start """ -input DomainEnumStreamCursorValueInput { +input ExampleStreamCursorValueInput { added: timestamptz - name: String + category: String + domain: String + exampleId: uuid + metadata: jsonb + prompt: String + response: String + subcategory: String + tags: [uuid!] } """ -update columns of table "domain_enum" +update columns of table "example" """ -enum DomainEnumUpdateColumn { +enum ExampleUpdateColumn { """ column name """ @@ -3715,876 +3690,153 @@ enum DomainEnumUpdateColumn { """ column name """ - name -} + category -input DomainEnumUpdates { """ - sets the columns of the filtered rows to the given values + column name """ - _set: DomainEnumSetInput + domain """ - filter the rows which have to be updated + column name """ - where: DomainEnumBoolExp! -} + exampleId -""" -columns and relationships of "example" -""" -type Example { - added: timestamptz! - category: String! - domain: String! - exampleId: uuid! - metadata( - """ - JSON select path - """ - path: String - ): jsonb! - prompt: String! - response: String! - subcategory: String! + """ + column name + """ + metadata """ - An object relationship + column name """ - subcategoryEnumBySubcategoryCategoryDomain: SubcategoryEnum + prompt """ - An object relationship + column name """ - subcategory_enum: SubcategoryEnum! - tags: [uuid!]! -} + response -""" -aggregated selection of "example" -""" -type ExampleAggregate { - aggregate: ExampleAggregateFields - nodes: [Example!]! -} + """ + column name + """ + subcategory -input ExampleAggregateBoolExp { - count: exampleAggregateBoolExpCount + """ + column name + """ + tags } -""" -aggregate fields of "example" -""" -type ExampleAggregateFields { - count(columns: [ExampleSelectColumn!], distinct: Boolean): Int! - max: ExampleMaxFields - min: ExampleMinFields -} +input ExampleUpdates { + """ + append existing jsonb value of filtered columns with new jsonb value + """ + _append: ExampleAppendInput -""" -order by aggregate values of table "example" -""" -input ExampleAggregateOrderBy { - count: OrderBy - max: ExampleMaxOrderBy - min: ExampleMinOrderBy -} + """ + delete the field or element with specified path (for JSON arrays, negative integers count from the end) + """ + _deleteAtPath: ExampleDeleteAtPathInput -""" -append existing jsonb value of filtered columns with new jsonb value -""" -input ExampleAppendInput { - metadata: jsonb -} + """ + delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array + """ + _deleteElem: ExampleDeleteElemInput -""" -input type for inserting array relation for remote table "example" -""" -input ExampleArrRelInsertInput { - data: [ExampleInsertInput!]! + """ + delete key/value pair or string element. key/value pairs are matched based on their key value + """ + _deleteKey: ExampleDeleteKeyInput """ - upsert condition + prepend existing jsonb value of filtered columns with new jsonb value """ - onConflict: ExampleOnConflict -} + _prepend: ExamplePrependInput -""" -Boolean expression to filter rows from the table "example". All fields are combined with a logical 'AND'. -""" -input ExampleBoolExp { - _and: [ExampleBoolExp!] - _not: ExampleBoolExp - _or: [ExampleBoolExp!] - added: TimestamptzComparisonExp - category: StringComparisonExp - domain: StringComparisonExp - exampleId: UuidComparisonExp - metadata: JsonbComparisonExp - prompt: StringComparisonExp - response: StringComparisonExp - subcategory: StringComparisonExp - subcategoryEnumBySubcategoryCategoryDomain: SubcategoryEnumBoolExp - subcategory_enum: SubcategoryEnumBoolExp - tags: UuidArrayComparisonExp -} + """ + sets the columns of the filtered rows to the given values + """ + _set: ExampleSetInput -""" -unique or primary key constraints on table "example" -""" -enum ExampleConstraint { """ - unique or primary key constraint on columns "example_id" + filter the rows which have to be updated """ - example_pkey + where: ExampleBoolExp! } """ -delete the field or element with specified path (for JSON arrays, negative integers count from the end) +Boolean expression to compare columns of type "Int". All fields are combined with logical 'AND'. """ -input ExampleDeleteAtPathInput { - metadata: [String!] +input IntComparisonExp { + _eq: Int + _gt: Int + _gte: Int + _in: [Int!] + _isNull: Boolean + _lt: Int + _lte: Int + _neq: Int + _nin: [Int!] } -""" -delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array -""" -input ExampleDeleteElemInput { - metadata: Int +input JsonbCastExp { + String: StringComparisonExp } """ -delete key/value pair or string element. key/value pairs are matched based on their key value +Boolean expression to compare columns of type "jsonb". All fields are combined with logical 'AND'. """ -input ExampleDeleteKeyInput { - metadata: String -} +input JsonbComparisonExp { + _cast: JsonbCastExp -""" -input type for inserting data into table "example" -""" -input ExampleInsertInput { - added: timestamptz - category: String - domain: String - exampleId: uuid - metadata: jsonb - prompt: String - response: String - subcategory: String - subcategoryEnumBySubcategoryCategoryDomain: SubcategoryEnumObjRelInsertInput - subcategory_enum: SubcategoryEnumObjRelInsertInput - tags: [uuid!] -} - -""" -aggregate max on columns -""" -type ExampleMaxFields { - added: timestamptz - category: String - domain: String - exampleId: uuid - prompt: String - response: String - subcategory: String - tags: [uuid!] -} - -""" -order by max() on columns of table "example" -""" -input ExampleMaxOrderBy { - added: OrderBy - category: OrderBy - domain: OrderBy - exampleId: OrderBy - prompt: OrderBy - response: OrderBy - subcategory: OrderBy - tags: OrderBy -} - -""" -aggregate min on columns -""" -type ExampleMinFields { - added: timestamptz - category: String - domain: String - exampleId: uuid - prompt: String - response: String - subcategory: String - tags: [uuid!] -} - -""" -order by min() on columns of table "example" -""" -input ExampleMinOrderBy { - added: OrderBy - category: OrderBy - domain: OrderBy - exampleId: OrderBy - prompt: OrderBy - response: OrderBy - subcategory: OrderBy - tags: OrderBy -} - -""" -response of any mutation on the table "example" -""" -type ExampleMutationResponse { - """ - number of rows affected by the mutation - """ - affectedRows: Int! - - """ - data from the rows affected by the mutation - """ - returning: [Example!]! -} - -""" -on_conflict condition type for table "example" -""" -input ExampleOnConflict { - constraint: ExampleConstraint! - updateColumns: [ExampleUpdateColumn!]! = [] - where: ExampleBoolExp -} - -""" -Ordering options when selecting data from "example". -""" -input ExampleOrderBy { - added: OrderBy - category: OrderBy - domain: OrderBy - exampleId: OrderBy - metadata: OrderBy - prompt: OrderBy - response: OrderBy - subcategory: OrderBy - subcategoryEnumBySubcategoryCategoryDomain: SubcategoryEnumOrderBy - subcategory_enum: SubcategoryEnumOrderBy - tags: OrderBy -} - -""" -primary key columns input for table: example -""" -input ExamplePkColumnsInput { - exampleId: uuid! -} - -""" -prepend existing jsonb value of filtered columns with new jsonb value -""" -input ExamplePrependInput { - metadata: jsonb -} - -""" -select columns of table "example" -""" -enum ExampleSelectColumn { - """ - column name - """ - added - - """ - column name - """ - category - - """ - column name - """ - domain - - """ - column name - """ - exampleId - - """ - column name - """ - metadata - - """ - column name - """ - prompt - - """ - column name - """ - response - - """ - column name - """ - subcategory - - """ - column name - """ - tags -} - -""" -input type for updating data in table "example" -""" -input ExampleSetInput { - added: timestamptz - category: String - domain: String - exampleId: uuid - metadata: jsonb - prompt: String - response: String - subcategory: String - tags: [uuid!] -} - -""" -Streaming cursor of the table "example" -""" -input ExampleStreamCursorInput { - """ - Stream column input with initial value - """ - initialValue: ExampleStreamCursorValueInput! - - """ - cursor ordering - """ - ordering: CursorOrdering -} - -""" -Initial value of the column from where the streaming should start -""" -input ExampleStreamCursorValueInput { - added: timestamptz - category: String - domain: String - exampleId: uuid - metadata: jsonb - prompt: String - response: String - subcategory: String - tags: [uuid!] -} - -""" -update columns of table "example" -""" -enum ExampleUpdateColumn { - """ - column name - """ - added - - """ - column name - """ - category - - """ - column name - """ - domain - - """ - column name - """ - exampleId - - """ - column name - """ - metadata - - """ - column name - """ - prompt - - """ - column name - """ - response - - """ - column name - """ - subcategory - - """ - column name - """ - tags -} - -input ExampleUpdates { - """ - append existing jsonb value of filtered columns with new jsonb value - """ - _append: ExampleAppendInput - - """ - delete the field or element with specified path (for JSON arrays, negative integers count from the end) - """ - _deleteAtPath: ExampleDeleteAtPathInput - - """ - delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array - """ - _deleteElem: ExampleDeleteElemInput - - """ - delete key/value pair or string element. key/value pairs are matched based on their key value - """ - _deleteKey: ExampleDeleteKeyInput - - """ - prepend existing jsonb value of filtered columns with new jsonb value - """ - _prepend: ExamplePrependInput - - """ - sets the columns of the filtered rows to the given values - """ - _set: ExampleSetInput - - """ - filter the rows which have to be updated - """ - where: ExampleBoolExp! -} - -""" -Boolean expression to compare columns of type "Int". All fields are combined with logical 'AND'. -""" -input IntComparisonExp { - _eq: Int - _gt: Int - _gte: Int - _in: [Int!] - _isNull: Boolean - _lt: Int - _lte: Int - _neq: Int - _nin: [Int!] -} - -input JsonbCastExp { - String: StringComparisonExp -} - -""" -Boolean expression to compare columns of type "jsonb". All fields are combined with logical 'AND'. -""" -input JsonbComparisonExp { - _cast: JsonbCastExp - - """ - is the column contained in the given json value - """ - _containedIn: jsonb - - """ - does the column contain the given json value at the top level - """ - _contains: jsonb - _eq: jsonb - _gt: jsonb - _gte: jsonb - - """ - does the string exist as a top-level key in the column - """ - _hasKey: String - - """ - do all of these strings exist as top-level keys in the column - """ - _hasKeysAll: [String!] - - """ - do any of these strings exist as top-level keys in the column - """ - _hasKeysAny: [String!] - _in: [jsonb!] - _isNull: Boolean - _lt: jsonb - _lte: jsonb - _neq: jsonb - _nin: [jsonb!] -} - -""" -columns and relationships of "length_enum" -""" -type LengthEnum { - """ - An array relationship - """ - chatbots( - """ - distinct select on columns - """ - distinctOn: [ChatbotSelectColumn!] - - """ - limit the number of rows returned - """ - limit: Int - - """ - skip the first n rows. Use only with order_by - """ - offset: Int - - """ - sort the rows by one or more columns - """ - orderBy: [ChatbotOrderBy!] - - """ - filter the rows returned - """ - where: ChatbotBoolExp - ): [Chatbot!]! - - """ - An aggregate relationship - """ - chatbotsAggregate( - """ - distinct select on columns - """ - distinctOn: [ChatbotSelectColumn!] - - """ - limit the number of rows returned - """ - limit: Int - - """ - skip the first n rows. Use only with order_by - """ - offset: Int - - """ - sort the rows by one or more columns - """ - orderBy: [ChatbotOrderBy!] - - """ - filter the rows returned - """ - where: ChatbotBoolExp - ): ChatbotAggregate! - - """ - An array relationship - """ - preferences( - """ - distinct select on columns - """ - distinctOn: [PreferenceSelectColumn!] - - """ - limit the number of rows returned - """ - limit: Int - - """ - skip the first n rows. Use only with order_by - """ - offset: Int - - """ - sort the rows by one or more columns - """ - orderBy: [PreferenceOrderBy!] - - """ - filter the rows returned - """ - where: PreferenceBoolExp - ): [Preference!]! - - """ - An aggregate relationship - """ - preferencesAggregate( - """ - distinct select on columns - """ - distinctOn: [PreferenceSelectColumn!] - - """ - limit the number of rows returned - """ - limit: Int - - """ - skip the first n rows. Use only with order_by - """ - offset: Int - - """ - sort the rows by one or more columns - """ - orderBy: [PreferenceOrderBy!] - - """ - filter the rows returned - """ - where: PreferenceBoolExp - ): PreferenceAggregate! - prompt: String! - value: String! -} - -""" -aggregated selection of "length_enum" -""" -type LengthEnumAggregate { - aggregate: LengthEnumAggregateFields - nodes: [LengthEnum!]! -} - -""" -aggregate fields of "length_enum" -""" -type LengthEnumAggregateFields { - count(columns: [LengthEnumSelectColumn!], distinct: Boolean): Int! - max: LengthEnumMaxFields - min: LengthEnumMinFields -} - -""" -Boolean expression to filter rows from the table "length_enum". All fields are combined with a logical 'AND'. -""" -input LengthEnumBoolExp { - _and: [LengthEnumBoolExp!] - _not: LengthEnumBoolExp - _or: [LengthEnumBoolExp!] - chatbots: ChatbotBoolExp - chatbotsAggregate: ChatbotAggregateBoolExp - preferences: PreferenceBoolExp - preferencesAggregate: PreferenceAggregateBoolExp - prompt: StringComparisonExp - value: StringComparisonExp -} - -""" -unique or primary key constraints on table "length_enum" -""" -enum LengthEnumConstraint { - """ - unique or primary key constraint on columns "value" - """ - default_length_enum_pkey -} - -""" -input type for inserting data into table "length_enum" -""" -input LengthEnumInsertInput { - chatbots: ChatbotArrRelInsertInput - preferences: PreferenceArrRelInsertInput - prompt: String - value: String -} - -""" -aggregate max on columns -""" -type LengthEnumMaxFields { - prompt: String - value: String -} - -""" -aggregate min on columns -""" -type LengthEnumMinFields { - prompt: String - value: String -} - -""" -response of any mutation on the table "length_enum" -""" -type LengthEnumMutationResponse { - """ - number of rows affected by the mutation - """ - affectedRows: Int! - - """ - data from the rows affected by the mutation """ - returning: [LengthEnum!]! -} - -""" -input type for inserting object relation for remote table "length_enum" -""" -input LengthEnumObjRelInsertInput { - data: LengthEnumInsertInput! - - """ - upsert condition - """ - onConflict: LengthEnumOnConflict -} - -""" -on_conflict condition type for table "length_enum" -""" -input LengthEnumOnConflict { - constraint: LengthEnumConstraint! - updateColumns: [LengthEnumUpdateColumn!]! = [] - where: LengthEnumBoolExp -} - -""" -Ordering options when selecting data from "length_enum". -""" -input LengthEnumOrderBy { - chatbotsAggregate: ChatbotAggregateOrderBy - preferencesAggregate: PreferenceAggregateOrderBy - prompt: OrderBy - value: OrderBy -} - -""" -primary key columns input for table: length_enum -""" -input LengthEnumPkColumnsInput { - value: String! -} - -""" -select columns of table "length_enum" -""" -enum LengthEnumSelectColumn { - """ - column name - """ - prompt - - """ - column name - """ - value -} - -""" -input type for updating data in table "length_enum" -""" -input LengthEnumSetInput { - prompt: String - value: String -} - -""" -Streaming cursor of the table "length_enum" -""" -input LengthEnumStreamCursorInput { - """ - Stream column input with initial value - """ - initialValue: LengthEnumStreamCursorValueInput! - - """ - cursor ordering - """ - ordering: CursorOrdering -} - -""" -Initial value of the column from where the streaming should start -""" -input LengthEnumStreamCursorValueInput { - prompt: String - value: String -} - -""" -update columns of table "length_enum" -""" -enum LengthEnumUpdateColumn { - """ - column name - """ - prompt - - """ - column name - """ - value -} - -input LengthEnumUpdates { - """ - sets the columns of the filtered rows to the given values - """ - _set: LengthEnumSetInput - - """ - filter the rows which have to be updated + is the column contained in the given json value """ - where: LengthEnumBoolExp! -} + _containedIn: jsonb -""" -This table stores the messages exchanged between users and chatbots. -""" -type Message { - augmentedFrom: uuid - content: String! - createdAt: timestamptz! - examples( - """ - JSON select path - """ - path: String - ): jsonb - isContinued: Boolean + """ + does the column contain the given json value at the top level + """ + _contains: jsonb + _eq: jsonb + _gt: jsonb + _gte: jsonb """ - An object relationship + does the string exist as a top-level key in the column """ - message: Message - messageId: uuid! + _hasKey: String """ - An object relationship + do all of these strings exist as top-level keys in the column """ - messageTypeEnum: MessageTypeEnum! + _hasKeysAll: [String!] + """ + do any of these strings exist as top-level keys in the column + """ + _hasKeysAny: [String!] + _in: [jsonb!] + _isNull: Boolean + _lt: jsonb + _lte: jsonb + _neq: jsonb + _nin: [jsonb!] +} + +""" +columns and relationships of "length_enum" +""" +type LengthEnum { """ An array relationship """ - messages( + chatbots( """ distinct select on columns """ - distinctOn: [MessageSelectColumn!] + distinctOn: [ChatbotSelectColumn!] """ limit the number of rows returned @@ -4599,22 +3851,22 @@ type Message { """ sort the rows by one or more columns """ - orderBy: [MessageOrderBy!] + orderBy: [ChatbotOrderBy!] """ filter the rows returned """ - where: MessageBoolExp - ): [Message!]! + where: ChatbotBoolExp + ): [Chatbot!]! """ An aggregate relationship """ - messagesAggregate( + chatbotsAggregate( """ distinct select on columns """ - distinctOn: [MessageSelectColumn!] + distinctOn: [ChatbotSelectColumn!] """ limit the number of rows returned @@ -4629,260 +3881,149 @@ type Message { """ sort the rows by one or more columns """ - orderBy: [MessageOrderBy!] + orderBy: [ChatbotOrderBy!] """ filter the rows returned """ - where: MessageBoolExp - ): MessageAggregate! - model: String - - """ - An object relationship - """ - modelType: ModelsEnum - prompt: String - role: String! - shortLink: String - slug: String! - thinking: String - thinkingTraces: [String!] + where: ChatbotBoolExp + ): ChatbotAggregate! """ - An object relationship + An array relationship """ - thread: Thread - threadId: uuid -} - -""" -aggregated selection of "message" -""" -type MessageAggregate { - aggregate: MessageAggregateFields - nodes: [Message!]! -} - -input MessageAggregateBoolExp { - bool_and: messageAggregateBoolExpBool_and - bool_or: messageAggregateBoolExpBool_or - count: messageAggregateBoolExpCount -} - -""" -aggregate fields of "message" -""" -type MessageAggregateFields { - count(columns: [MessageSelectColumn!], distinct: Boolean): Int! - max: MessageMaxFields - min: MessageMinFields -} - -""" -order by aggregate values of table "message" -""" -input MessageAggregateOrderBy { - count: OrderBy - max: MessageMaxOrderBy - min: MessageMinOrderBy -} + preferences( + """ + distinct select on columns + """ + distinctOn: [PreferenceSelectColumn!] -""" -append existing jsonb value of filtered columns with new jsonb value -""" -input MessageAppendInput { - examples: jsonb -} + """ + limit the number of rows returned + """ + limit: Int -""" -input type for inserting array relation for remote table "message" -""" -input MessageArrRelInsertInput { - data: [MessageInsertInput!]! + """ + skip the first n rows. Use only with order_by + """ + offset: Int - """ - upsert condition - """ - onConflict: MessageOnConflict -} + """ + sort the rows by one or more columns + """ + orderBy: [PreferenceOrderBy!] -""" -Boolean expression to filter rows from the table "message". All fields are combined with a logical 'AND'. -""" -input MessageBoolExp { - _and: [MessageBoolExp!] - _not: MessageBoolExp - _or: [MessageBoolExp!] - augmentedFrom: UuidComparisonExp - content: StringComparisonExp - createdAt: TimestamptzComparisonExp - examples: JsonbComparisonExp - isContinued: BooleanComparisonExp - message: MessageBoolExp - messageId: UuidComparisonExp - messageTypeEnum: MessageTypeEnumBoolExp - messages: MessageBoolExp - messagesAggregate: MessageAggregateBoolExp - model: StringComparisonExp - modelType: ModelsEnumBoolExp - prompt: StringComparisonExp - role: StringComparisonExp - shortLink: StringComparisonExp - slug: StringComparisonExp - thinking: StringComparisonExp - thinkingTraces: StringArrayComparisonExp - thread: ThreadBoolExp - threadId: UuidComparisonExp -} + """ + filter the rows returned + """ + where: PreferenceBoolExp + ): [Preference!]! -""" -unique or primary key constraints on table "message" -""" -enum MessageConstraint { """ - unique or primary key constraint on columns "message_id" + An aggregate relationship """ - message_id_key + preferencesAggregate( + """ + distinct select on columns + """ + distinctOn: [PreferenceSelectColumn!] - """ - unique or primary key constraint on columns "slug", "message_id" - """ - message_pkey + """ + limit the number of rows returned + """ + limit: Int - """ - unique or primary key constraint on columns "short_link" - """ - message_short_link_key + """ + skip the first n rows. Use only with order_by + """ + offset: Int - """ - unique or primary key constraint on columns "slug" - """ - message_slug_unique -} + """ + sort the rows by one or more columns + """ + orderBy: [PreferenceOrderBy!] -""" -delete the field or element with specified path (for JSON arrays, negative integers count from the end) -""" -input MessageDeleteAtPathInput { - examples: [String!] + """ + filter the rows returned + """ + where: PreferenceBoolExp + ): PreferenceAggregate! + prompt: String! + value: String! } """ -delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array +aggregated selection of "length_enum" """ -input MessageDeleteElemInput { - examples: Int +type LengthEnumAggregate { + aggregate: LengthEnumAggregateFields + nodes: [LengthEnum!]! } """ -delete key/value pair or string element. key/value pairs are matched based on their key value +aggregate fields of "length_enum" """ -input MessageDeleteKeyInput { - examples: String +type LengthEnumAggregateFields { + count(columns: [LengthEnumSelectColumn!], distinct: Boolean): Int! + max: LengthEnumMaxFields + min: LengthEnumMinFields } """ -input type for inserting data into table "message" +Boolean expression to filter rows from the table "length_enum". All fields are combined with a logical 'AND'. """ -input MessageInsertInput { - augmentedFrom: uuid - content: String - createdAt: timestamptz - examples: jsonb - isContinued: Boolean - message: MessageObjRelInsertInput - messageId: uuid - messageTypeEnum: MessageTypeEnumObjRelInsertInput - messages: MessageArrRelInsertInput - model: String - modelType: ModelsEnumObjRelInsertInput - prompt: String - role: String - shortLink: String - slug: String - thinking: String - thinkingTraces: [String!] - thread: ThreadObjRelInsertInput - threadId: uuid +input LengthEnumBoolExp { + _and: [LengthEnumBoolExp!] + _not: LengthEnumBoolExp + _or: [LengthEnumBoolExp!] + chatbots: ChatbotBoolExp + chatbotsAggregate: ChatbotAggregateBoolExp + preferences: PreferenceBoolExp + preferencesAggregate: PreferenceAggregateBoolExp + prompt: StringComparisonExp + value: StringComparisonExp } """ -aggregate max on columns +unique or primary key constraints on table "length_enum" """ -type MessageMaxFields { - augmentedFrom: uuid - content: String - createdAt: timestamptz - messageId: uuid - model: String - prompt: String - role: String - shortLink: String - slug: String - thinking: String - thinkingTraces: [String!] - threadId: uuid +enum LengthEnumConstraint { + """ + unique or primary key constraint on columns "value" + """ + default_length_enum_pkey } """ -order by max() on columns of table "message" +input type for inserting data into table "length_enum" """ -input MessageMaxOrderBy { - augmentedFrom: OrderBy - content: OrderBy - createdAt: OrderBy - messageId: OrderBy - model: OrderBy - prompt: OrderBy - role: OrderBy - shortLink: OrderBy - slug: OrderBy - thinking: OrderBy - thinkingTraces: OrderBy - threadId: OrderBy +input LengthEnumInsertInput { + chatbots: ChatbotArrRelInsertInput + preferences: PreferenceArrRelInsertInput + prompt: String + value: String } """ -aggregate min on columns +aggregate max on columns """ -type MessageMinFields { - augmentedFrom: uuid - content: String - createdAt: timestamptz - messageId: uuid - model: String +type LengthEnumMaxFields { prompt: String - role: String - shortLink: String - slug: String - thinking: String - thinkingTraces: [String!] - threadId: uuid + value: String } """ -order by min() on columns of table "message" +aggregate min on columns """ -input MessageMinOrderBy { - augmentedFrom: OrderBy - content: OrderBy - createdAt: OrderBy - messageId: OrderBy - model: OrderBy - prompt: OrderBy - role: OrderBy - shortLink: OrderBy - slug: OrderBy - thinking: OrderBy - thinkingTraces: OrderBy - threadId: OrderBy +type LengthEnumMinFields { + prompt: String + value: String } """ -response of any mutation on the table "message" +response of any mutation on the table "length_enum" """ -type MessageMutationResponse { +type LengthEnumMutationResponse { """ number of rows affected by the mutation """ @@ -4891,109 +4032,51 @@ type MessageMutationResponse { """ data from the rows affected by the mutation """ - returning: [Message!]! + returning: [LengthEnum!]! } """ -input type for inserting object relation for remote table "message" +input type for inserting object relation for remote table "length_enum" """ -input MessageObjRelInsertInput { - data: MessageInsertInput! +input LengthEnumObjRelInsertInput { + data: LengthEnumInsertInput! """ upsert condition """ - onConflict: MessageOnConflict + onConflict: LengthEnumOnConflict } """ -on_conflict condition type for table "message" +on_conflict condition type for table "length_enum" """ -input MessageOnConflict { - constraint: MessageConstraint! - updateColumns: [MessageUpdateColumn!]! = [] - where: MessageBoolExp +input LengthEnumOnConflict { + constraint: LengthEnumConstraint! + updateColumns: [LengthEnumUpdateColumn!]! = [] + where: LengthEnumBoolExp } """ -Ordering options when selecting data from "message". +Ordering options when selecting data from "length_enum". """ -input MessageOrderBy { - augmentedFrom: OrderBy - content: OrderBy - createdAt: OrderBy - examples: OrderBy - isContinued: OrderBy - message: MessageOrderBy - messageId: OrderBy - messageTypeEnum: MessageTypeEnumOrderBy - messagesAggregate: MessageAggregateOrderBy - model: OrderBy - modelType: ModelsEnumOrderBy +input LengthEnumOrderBy { + chatbotsAggregate: ChatbotAggregateOrderBy + preferencesAggregate: PreferenceAggregateOrderBy prompt: OrderBy - role: OrderBy - shortLink: OrderBy - slug: OrderBy - thinking: OrderBy - thinkingTraces: OrderBy - thread: ThreadOrderBy - threadId: OrderBy -} - -""" -primary key columns input for table: message -""" -input MessagePkColumnsInput { - messageId: uuid! - slug: String! + value: OrderBy } """ -prepend existing jsonb value of filtered columns with new jsonb value +primary key columns input for table: length_enum """ -input MessagePrependInput { - examples: jsonb +input LengthEnumPkColumnsInput { + value: String! } """ -select columns of table "message" +select columns of table "length_enum" """ -enum MessageSelectColumn { - """ - column name - """ - augmentedFrom - - """ - column name - """ - content - - """ - column name - """ - createdAt - - """ - column name - """ - examples - - """ - column name - """ - isContinued - - """ - column name - """ - messageId - - """ - column name - """ - model - +enum LengthEnumSelectColumn { """ column name """ @@ -5002,113 +4085,93 @@ enum MessageSelectColumn { """ column name """ - role - - """ - column name - """ - shortLink - - """ - column name - """ - slug + value +} - """ - column name - """ - thinking +""" +input type for updating data in table "length_enum" +""" +input LengthEnumSetInput { + prompt: String + value: String +} +""" +Streaming cursor of the table "length_enum" +""" +input LengthEnumStreamCursorInput { """ - column name + Stream column input with initial value """ - thinkingTraces + initialValue: LengthEnumStreamCursorValueInput! """ - column name + cursor ordering """ - threadId + ordering: CursorOrdering } """ -select "messageAggregateBoolExpBool_andArgumentsColumns" columns of table "message" +Initial value of the column from where the streaming should start """ -enum MessageSelectColumnMessageAggregateBoolExpBool_andArgumentsColumns { - """ - column name - """ - isContinued +input LengthEnumStreamCursorValueInput { + prompt: String + value: String } """ -select "messageAggregateBoolExpBool_orArgumentsColumns" columns of table "message" +update columns of table "length_enum" """ -enum MessageSelectColumnMessageAggregateBoolExpBool_orArgumentsColumns { +enum LengthEnumUpdateColumn { """ column name """ - isContinued -} + prompt -""" -input type for updating data in table "message" -""" -input MessageSetInput { - augmentedFrom: uuid - content: String - createdAt: timestamptz - examples: jsonb - isContinued: Boolean - messageId: uuid - model: String - prompt: String - role: String - shortLink: String - slug: String - thinking: String - thinkingTraces: [String!] - threadId: uuid + """ + column name + """ + value } -""" -Streaming cursor of the table "message" -""" -input MessageStreamCursorInput { +input LengthEnumUpdates { """ - Stream column input with initial value + sets the columns of the filtered rows to the given values """ - initialValue: MessageStreamCursorValueInput! + _set: LengthEnumSetInput """ - cursor ordering + filter the rows which have to be updated """ - ordering: CursorOrdering + where: LengthEnumBoolExp! } """ -Initial value of the column from where the streaming should start +This table stores the messages exchanged between users and chatbots. """ -input MessageStreamCursorValueInput { +type Message { augmentedFrom: uuid - content: String - createdAt: timestamptz - examples: jsonb + content: String! + createdAt: timestamptz! + examples( + """ + JSON select path + """ + path: String + ): jsonb isContinued: Boolean - messageId: uuid - model: String - prompt: String - role: String - shortLink: String - slug: String - thinking: String - thinkingTraces: [String!] - threadId: uuid -} -""" -columns and relationships of "message_type_enum" -""" -type MessageTypeEnum { + """ + An object relationship + """ + message: Message + messageId: uuid! + + """ + An object relationship + """ + messageTypeEnum: MessageTypeEnum! + """ An array relationship """ @@ -5168,609 +4231,606 @@ type MessageTypeEnum { """ where: MessageBoolExp ): MessageAggregate! - value: String! -} - -""" -aggregated selection of "message_type_enum" -""" -type MessageTypeEnumAggregate { - aggregate: MessageTypeEnumAggregateFields - nodes: [MessageTypeEnum!]! -} - -""" -aggregate fields of "message_type_enum" -""" -type MessageTypeEnumAggregateFields { - count(columns: [MessageTypeEnumSelectColumn!], distinct: Boolean): Int! - max: MessageTypeEnumMaxFields - min: MessageTypeEnumMinFields -} - -""" -Boolean expression to filter rows from the table "message_type_enum". All fields are combined with a logical 'AND'. -""" -input MessageTypeEnumBoolExp { - _and: [MessageTypeEnumBoolExp!] - _not: MessageTypeEnumBoolExp - _or: [MessageTypeEnumBoolExp!] - messages: MessageBoolExp - messagesAggregate: MessageAggregateBoolExp - value: StringComparisonExp -} - -""" -unique or primary key constraints on table "message_type_enum" -""" -enum MessageTypeEnumConstraint { - """ - unique or primary key constraint on columns "value" - """ - message_type_enum_pkey -} - -""" -input type for inserting data into table "message_type_enum" -""" -input MessageTypeEnumInsertInput { - messages: MessageArrRelInsertInput - value: String -} - -""" -aggregate max on columns -""" -type MessageTypeEnumMaxFields { - value: String -} - -""" -aggregate min on columns -""" -type MessageTypeEnumMinFields { - value: String -} - -""" -response of any mutation on the table "message_type_enum" -""" -type MessageTypeEnumMutationResponse { - """ - number of rows affected by the mutation - """ - affectedRows: Int! + model: String """ - data from the rows affected by the mutation + An object relationship """ - returning: [MessageTypeEnum!]! -} - -""" -input type for inserting object relation for remote table "message_type_enum" -""" -input MessageTypeEnumObjRelInsertInput { - data: MessageTypeEnumInsertInput! + modelType: ModelsEnum + prompt: String + role: String! + shortLink: String + slug: String! + thinking: String + thinkingTraces: [String!] """ - upsert condition + An object relationship """ - onConflict: MessageTypeEnumOnConflict + thread: Thread + threadId: uuid } """ -on_conflict condition type for table "message_type_enum" +aggregated selection of "message" """ -input MessageTypeEnumOnConflict { - constraint: MessageTypeEnumConstraint! - updateColumns: [MessageTypeEnumUpdateColumn!]! = [] - where: MessageTypeEnumBoolExp +type MessageAggregate { + aggregate: MessageAggregateFields + nodes: [Message!]! } -""" -Ordering options when selecting data from "message_type_enum". -""" -input MessageTypeEnumOrderBy { - messagesAggregate: MessageAggregateOrderBy - value: OrderBy +input MessageAggregateBoolExp { + bool_and: messageAggregateBoolExpBool_and + bool_or: messageAggregateBoolExpBool_or + count: messageAggregateBoolExpCount } """ -primary key columns input for table: message_type_enum +aggregate fields of "message" """ -input MessageTypeEnumPkColumnsInput { - value: String! +type MessageAggregateFields { + count(columns: [MessageSelectColumn!], distinct: Boolean): Int! + max: MessageMaxFields + min: MessageMinFields } """ -select columns of table "message_type_enum" +order by aggregate values of table "message" """ -enum MessageTypeEnumSelectColumn { - """ - column name - """ - value +input MessageAggregateOrderBy { + count: OrderBy + max: MessageMaxOrderBy + min: MessageMinOrderBy } """ -input type for updating data in table "message_type_enum" +append existing jsonb value of filtered columns with new jsonb value """ -input MessageTypeEnumSetInput { - value: String +input MessageAppendInput { + examples: jsonb } """ -Streaming cursor of the table "message_type_enum" +input type for inserting array relation for remote table "message" """ -input MessageTypeEnumStreamCursorInput { - """ - Stream column input with initial value - """ - initialValue: MessageTypeEnumStreamCursorValueInput! +input MessageArrRelInsertInput { + data: [MessageInsertInput!]! """ - cursor ordering + upsert condition """ - ordering: CursorOrdering -} - -""" -Initial value of the column from where the streaming should start -""" -input MessageTypeEnumStreamCursorValueInput { - value: String + onConflict: MessageOnConflict } """ -update columns of table "message_type_enum" +Boolean expression to filter rows from the table "message". All fields are combined with a logical 'AND'. """ -enum MessageTypeEnumUpdateColumn { - """ - column name - """ - value -} - -input MessageTypeEnumUpdates { - """ - sets the columns of the filtered rows to the given values - """ - _set: MessageTypeEnumSetInput - - """ - filter the rows which have to be updated - """ - where: MessageTypeEnumBoolExp! +input MessageBoolExp { + _and: [MessageBoolExp!] + _not: MessageBoolExp + _or: [MessageBoolExp!] + augmentedFrom: UuidComparisonExp + content: StringComparisonExp + createdAt: TimestamptzComparisonExp + examples: JsonbComparisonExp + isContinued: BooleanComparisonExp + message: MessageBoolExp + messageId: UuidComparisonExp + messageTypeEnum: MessageTypeEnumBoolExp + messages: MessageBoolExp + messagesAggregate: MessageAggregateBoolExp + model: StringComparisonExp + modelType: ModelsEnumBoolExp + prompt: StringComparisonExp + role: StringComparisonExp + shortLink: StringComparisonExp + slug: StringComparisonExp + thinking: StringComparisonExp + thinkingTraces: StringArrayComparisonExp + thread: ThreadBoolExp + threadId: UuidComparisonExp } """ -update columns of table "message" +unique or primary key constraints on table "message" """ -enum MessageUpdateColumn { - """ - column name - """ - augmentedFrom - - """ - column name - """ - content - - """ - column name - """ - createdAt - - """ - column name - """ - examples - - """ - column name - """ - isContinued - +enum MessageConstraint { """ - column name + unique or primary key constraint on columns "message_id" """ - messageId + message_id_key """ - column name + unique or primary key constraint on columns "slug", "message_id" """ - model + message_pkey """ - column name + unique or primary key constraint on columns "short_link" """ - prompt + message_short_link_key """ - column name + unique or primary key constraint on columns "slug" """ - role + message_slug_unique +} - """ - column name - """ - shortLink +""" +delete the field or element with specified path (for JSON arrays, negative integers count from the end) +""" +input MessageDeleteAtPathInput { + examples: [String!] +} - """ - column name - """ - slug +""" +delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array +""" +input MessageDeleteElemInput { + examples: Int +} - """ - column name - """ - thinking +""" +delete key/value pair or string element. key/value pairs are matched based on their key value +""" +input MessageDeleteKeyInput { + examples: String +} - """ - column name - """ - thinkingTraces +""" +input type for inserting data into table "message" +""" +input MessageInsertInput { + augmentedFrom: uuid + content: String + createdAt: timestamptz + examples: jsonb + isContinued: Boolean + message: MessageObjRelInsertInput + messageId: uuid + messageTypeEnum: MessageTypeEnumObjRelInsertInput + messages: MessageArrRelInsertInput + model: String + modelType: ModelsEnumObjRelInsertInput + prompt: String + role: String + shortLink: String + slug: String + thinking: String + thinkingTraces: [String!] + thread: ThreadObjRelInsertInput + threadId: uuid +} - """ - column name - """ - threadId +""" +aggregate max on columns +""" +type MessageMaxFields { + augmentedFrom: uuid + content: String + createdAt: timestamptz + messageId: uuid + model: String + prompt: String + role: String + shortLink: String + slug: String + thinking: String + thinkingTraces: [String!] + threadId: uuid } -input MessageUpdates { - """ - append existing jsonb value of filtered columns with new jsonb value - """ - _append: MessageAppendInput +""" +order by max() on columns of table "message" +""" +input MessageMaxOrderBy { + augmentedFrom: OrderBy + content: OrderBy + createdAt: OrderBy + messageId: OrderBy + model: OrderBy + prompt: OrderBy + role: OrderBy + shortLink: OrderBy + slug: OrderBy + thinking: OrderBy + thinkingTraces: OrderBy + threadId: OrderBy +} - """ - delete the field or element with specified path (for JSON arrays, negative integers count from the end) - """ - _deleteAtPath: MessageDeleteAtPathInput +""" +aggregate min on columns +""" +type MessageMinFields { + augmentedFrom: uuid + content: String + createdAt: timestamptz + messageId: uuid + model: String + prompt: String + role: String + shortLink: String + slug: String + thinking: String + thinkingTraces: [String!] + threadId: uuid +} - """ - delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array - """ - _deleteElem: MessageDeleteElemInput +""" +order by min() on columns of table "message" +""" +input MessageMinOrderBy { + augmentedFrom: OrderBy + content: OrderBy + createdAt: OrderBy + messageId: OrderBy + model: OrderBy + prompt: OrderBy + role: OrderBy + shortLink: OrderBy + slug: OrderBy + thinking: OrderBy + thinkingTraces: OrderBy + threadId: OrderBy +} +""" +response of any mutation on the table "message" +""" +type MessageMutationResponse { """ - delete key/value pair or string element. key/value pairs are matched based on their key value + number of rows affected by the mutation """ - _deleteKey: MessageDeleteKeyInput + affectedRows: Int! """ - prepend existing jsonb value of filtered columns with new jsonb value + data from the rows affected by the mutation """ - _prepend: MessagePrependInput + returning: [Message!]! +} - """ - sets the columns of the filtered rows to the given values - """ - _set: MessageSetInput +""" +input type for inserting object relation for remote table "message" +""" +input MessageObjRelInsertInput { + data: MessageInsertInput! """ - filter the rows which have to be updated + upsert condition """ - where: MessageBoolExp! + onConflict: MessageOnConflict } """ -Boolean expression to compare columns of type "model_type". All fields are combined with logical 'AND'. +on_conflict condition type for table "message" """ -input ModelTypeComparisonExp { - _eq: model_type - _gt: model_type - _gte: model_type - _in: [model_type!] - _isNull: Boolean - _lt: model_type - _lte: model_type - _neq: model_type - _nin: [model_type!] +input MessageOnConflict { + constraint: MessageConstraint! + updateColumns: [MessageUpdateColumn!]! = [] + where: MessageBoolExp } """ -LLMs tracking for web display +Ordering options when selecting data from "message". """ -type Models { - enabled: Boolean! - model: String! - - """ - An object relationship - """ - model_data: ModelsEnum! - type: model_type! +input MessageOrderBy { + augmentedFrom: OrderBy + content: OrderBy + createdAt: OrderBy + examples: OrderBy + isContinued: OrderBy + message: MessageOrderBy + messageId: OrderBy + messageTypeEnum: MessageTypeEnumOrderBy + messagesAggregate: MessageAggregateOrderBy + model: OrderBy + modelType: ModelsEnumOrderBy + prompt: OrderBy + role: OrderBy + shortLink: OrderBy + slug: OrderBy + thinking: OrderBy + thinkingTraces: OrderBy + thread: ThreadOrderBy + threadId: OrderBy } """ -aggregated selection of "models" +primary key columns input for table: message """ -type ModelsAggregate { - aggregate: ModelsAggregateFields - nodes: [Models!]! +input MessagePkColumnsInput { + messageId: uuid! + slug: String! } """ -aggregate fields of "models" +prepend existing jsonb value of filtered columns with new jsonb value """ -type ModelsAggregateFields { - count(columns: [ModelsSelectColumn!], distinct: Boolean): Int! - max: ModelsMaxFields - min: ModelsMinFields +input MessagePrependInput { + examples: jsonb } """ -Boolean expression to filter rows from the table "models". All fields are combined with a logical 'AND'. +select columns of table "message" """ -input ModelsBoolExp { - _and: [ModelsBoolExp!] - _not: ModelsBoolExp - _or: [ModelsBoolExp!] - enabled: BooleanComparisonExp - model: StringComparisonExp - model_data: ModelsEnumBoolExp - type: ModelTypeComparisonExp -} +enum MessageSelectColumn { + """ + column name + """ + augmentedFrom -""" -unique or primary key constraints on table "models" -""" -enum ModelsConstraint { """ - unique or primary key constraint on columns "model" + column name """ - models_pkey -} + content -""" -columns and relationships of "models_enum" -""" -type ModelsEnum { """ - An object relationship + column name """ - model_data: Models - name: String! + createdAt """ - An array relationship + column name """ - threads( - """ - distinct select on columns - """ - distinctOn: [ThreadSelectColumn!] + examples - """ - limit the number of rows returned - """ - limit: Int + """ + column name + """ + isContinued - """ - skip the first n rows. Use only with order_by - """ - offset: Int + """ + column name + """ + messageId - """ - sort the rows by one or more columns - """ - orderBy: [ThreadOrderBy!] + """ + column name + """ + model - """ - filter the rows returned - """ - where: ThreadBoolExp - ): [Thread!]! + """ + column name + """ + prompt """ - An aggregate relationship + column name """ - threadsAggregate( - """ - distinct select on columns - """ - distinctOn: [ThreadSelectColumn!] + role - """ - limit the number of rows returned - """ - limit: Int + """ + column name + """ + shortLink - """ - skip the first n rows. Use only with order_by - """ - offset: Int + """ + column name + """ + slug - """ - sort the rows by one or more columns - """ - orderBy: [ThreadOrderBy!] + """ + column name + """ + thinking - """ - filter the rows returned - """ - where: ThreadBoolExp - ): ThreadAggregate! - value: String! + """ + column name + """ + thinkingTraces + + """ + column name + """ + threadId } """ -aggregated selection of "models_enum" +select "messageAggregateBoolExpBool_andArgumentsColumns" columns of table "message" """ -type ModelsEnumAggregate { - aggregate: ModelsEnumAggregateFields - nodes: [ModelsEnum!]! +enum MessageSelectColumnMessageAggregateBoolExpBool_andArgumentsColumns { + """ + column name + """ + isContinued } """ -aggregate fields of "models_enum" +select "messageAggregateBoolExpBool_orArgumentsColumns" columns of table "message" """ -type ModelsEnumAggregateFields { - count(columns: [ModelsEnumSelectColumn!], distinct: Boolean): Int! - max: ModelsEnumMaxFields - min: ModelsEnumMinFields +enum MessageSelectColumnMessageAggregateBoolExpBool_orArgumentsColumns { + """ + column name + """ + isContinued } """ -Boolean expression to filter rows from the table "models_enum". All fields are combined with a logical 'AND'. +input type for updating data in table "message" """ -input ModelsEnumBoolExp { - _and: [ModelsEnumBoolExp!] - _not: ModelsEnumBoolExp - _or: [ModelsEnumBoolExp!] - model_data: ModelsBoolExp - name: StringComparisonExp - threads: ThreadBoolExp - threadsAggregate: ThreadAggregateBoolExp - value: StringComparisonExp +input MessageSetInput { + augmentedFrom: uuid + content: String + createdAt: timestamptz + examples: jsonb + isContinued: Boolean + messageId: uuid + model: String + prompt: String + role: String + shortLink: String + slug: String + thinking: String + thinkingTraces: [String!] + threadId: uuid } """ -unique or primary key constraints on table "models_enum" +Streaming cursor of the table "message" """ -enum ModelsEnumConstraint { +input MessageStreamCursorInput { """ - unique or primary key constraint on columns "name" + Stream column input with initial value """ - models_enum_pkey + initialValue: MessageStreamCursorValueInput! """ - unique or primary key constraint on columns "value" + cursor ordering """ - models_enum_value_key + ordering: CursorOrdering } -enum ModelsEnumEnum { - """ - claude-3-7-sonnet-20250219 - """ - CLAUDE__3_7__SONNET - - """ - deepseek-r1 - """ - DEEPSEEK - - """ - gemini-2.5-flash-preview-04-17 - """ - GEMINI__2_5__FLASH - - """ - gemini-2.5-pro-preview-03-25 - """ - GEMINI__2_5__PRO - - """ - gemini-2.0-flash-exp - """ - GEMINI__FLASH__IMG - - """ - gemini_2_0_flash_lite - """ - GEMINI__FLASH__LITE +""" +Initial value of the column from where the streaming should start +""" +input MessageStreamCursorValueInput { + augmentedFrom: uuid + content: String + createdAt: timestamptz + examples: jsonb + isContinued: Boolean + messageId: uuid + model: String + prompt: String + role: String + shortLink: String + slug: String + thinking: String + thinkingTraces: [String!] + threadId: uuid +} +""" +columns and relationships of "message_type_enum" +""" +type MessageTypeEnum { """ - deepseek-r1-distill-llama-70b + An array relationship """ - GROQDEEPSEEK + messages( + """ + distinct select on columns + """ + distinctOn: [MessageSelectColumn!] - """ - gpt-4o-mini - """ - OPENAI + """ + limit the number of rows returned + """ + limit: Int - """ - gpt-4.1-2025-04-14 - """ - OPENAI__4_1 + """ + skip the first n rows. Use only with order_by + """ + offset: Int - """ - gpt-4.1-mini-2025-04-14 - """ - OPENAI__4_1__MINI + """ + sort the rows by one or more columns + """ + orderBy: [MessageOrderBy!] - """ - gpt-4.1-nano-2025-04-14 - """ - OPENAI__4_1__NANO + """ + filter the rows returned + """ + where: MessageBoolExp + ): [Message!]! """ - dall-e-2 + An aggregate relationship """ - OPENAI__DALLE__2 + messagesAggregate( + """ + distinct select on columns + """ + distinctOn: [MessageSelectColumn!] - """ - dall-e-3 - """ - OPENAI__DALLE__3 + """ + limit the number of rows returned + """ + limit: Int - """ - gpt-image-1 - """ - OPENAI__IMG + """ + skip the first n rows. Use only with order_by + """ + offset: Int - """ - o4-mini-2025-04-16 - """ - OPENAI__O4__MINI + """ + sort the rows by one or more columns + """ + orderBy: [MessageOrderBy!] - """ - llama3_7B - """ - PERPLEXITY + """ + filter the rows returned + """ + where: MessageBoolExp + ): MessageAggregate! + value: String! +} - """ - llama-3-sonar-large-32k-online - """ - PERPLEXITY__LARGE +""" +aggregated selection of "message_type_enum" +""" +type MessageTypeEnumAggregate { + aggregate: MessageTypeEnumAggregateFields + nodes: [MessageTypeEnum!]! } """ -Boolean expression to compare columns of type "ModelsEnumEnum". All fields are combined with logical 'AND'. +aggregate fields of "message_type_enum" """ -input ModelsEnumEnumComparisonExp { - _eq: ModelsEnumEnum - _in: [ModelsEnumEnum!] - _isNull: Boolean - _neq: ModelsEnumEnum - _nin: [ModelsEnumEnum!] +type MessageTypeEnumAggregateFields { + count(columns: [MessageTypeEnumSelectColumn!], distinct: Boolean): Int! + max: MessageTypeEnumMaxFields + min: MessageTypeEnumMinFields } """ -input type for inserting data into table "models_enum" +Boolean expression to filter rows from the table "message_type_enum". All fields are combined with a logical 'AND'. """ -input ModelsEnumInsertInput { - model_data: ModelsObjRelInsertInput - name: String - threads: ThreadArrRelInsertInput +input MessageTypeEnumBoolExp { + _and: [MessageTypeEnumBoolExp!] + _not: MessageTypeEnumBoolExp + _or: [MessageTypeEnumBoolExp!] + messages: MessageBoolExp + messagesAggregate: MessageAggregateBoolExp + value: StringComparisonExp +} + +""" +unique or primary key constraints on table "message_type_enum" +""" +enum MessageTypeEnumConstraint { + """ + unique or primary key constraint on columns "value" + """ + message_type_enum_pkey +} + +""" +input type for inserting data into table "message_type_enum" +""" +input MessageTypeEnumInsertInput { + messages: MessageArrRelInsertInput value: String } """ aggregate max on columns """ -type ModelsEnumMaxFields { - name: String +type MessageTypeEnumMaxFields { value: String } """ aggregate min on columns """ -type ModelsEnumMinFields { - name: String +type MessageTypeEnumMinFields { value: String } """ -response of any mutation on the table "models_enum" +response of any mutation on the table "message_type_enum" """ -type ModelsEnumMutationResponse { +type MessageTypeEnumMutationResponse { """ number of rows affected by the mutation """ @@ -5779,56 +4839,49 @@ type ModelsEnumMutationResponse { """ data from the rows affected by the mutation """ - returning: [ModelsEnum!]! + returning: [MessageTypeEnum!]! } """ -input type for inserting object relation for remote table "models_enum" +input type for inserting object relation for remote table "message_type_enum" """ -input ModelsEnumObjRelInsertInput { - data: ModelsEnumInsertInput! +input MessageTypeEnumObjRelInsertInput { + data: MessageTypeEnumInsertInput! """ upsert condition """ - onConflict: ModelsEnumOnConflict + onConflict: MessageTypeEnumOnConflict } """ -on_conflict condition type for table "models_enum" +on_conflict condition type for table "message_type_enum" """ -input ModelsEnumOnConflict { - constraint: ModelsEnumConstraint! - updateColumns: [ModelsEnumUpdateColumn!]! = [] - where: ModelsEnumBoolExp +input MessageTypeEnumOnConflict { + constraint: MessageTypeEnumConstraint! + updateColumns: [MessageTypeEnumUpdateColumn!]! = [] + where: MessageTypeEnumBoolExp } """ -Ordering options when selecting data from "models_enum". +Ordering options when selecting data from "message_type_enum". """ -input ModelsEnumOrderBy { - model_data: ModelsOrderBy - name: OrderBy - threadsAggregate: ThreadAggregateOrderBy +input MessageTypeEnumOrderBy { + messagesAggregate: MessageAggregateOrderBy value: OrderBy } """ -primary key columns input for table: models_enum +primary key columns input for table: message_type_enum """ -input ModelsEnumPkColumnsInput { - name: String! +input MessageTypeEnumPkColumnsInput { + value: String! } """ -select columns of table "models_enum" +select columns of table "message_type_enum" """ -enum ModelsEnumSelectColumn { - """ - column name - """ - name - +enum MessageTypeEnumSelectColumn { """ column name """ @@ -5836,150 +4889,89 @@ enum ModelsEnumSelectColumn { } """ -input type for updating data in table "models_enum" +input type for updating data in table "message_type_enum" """ -input ModelsEnumSetInput { - name: String +input MessageTypeEnumSetInput { value: String } """ -Streaming cursor of the table "models_enum" +Streaming cursor of the table "message_type_enum" """ -input ModelsEnumStreamCursorInput { +input MessageTypeEnumStreamCursorInput { """ Stream column input with initial value """ - initialValue: ModelsEnumStreamCursorValueInput! - - """ - cursor ordering - """ - ordering: CursorOrdering -} - -""" -Initial value of the column from where the streaming should start -""" -input ModelsEnumStreamCursorValueInput { - name: String - value: String -} - -""" -update columns of table "models_enum" -""" -enum ModelsEnumUpdateColumn { - """ - column name - """ - name - - """ - column name - """ - value -} - -input ModelsEnumUpdates { - """ - sets the columns of the filtered rows to the given values - """ - _set: ModelsEnumSetInput + initialValue: MessageTypeEnumStreamCursorValueInput! """ - filter the rows which have to be updated - """ - where: ModelsEnumBoolExp! -} - -""" -input type for inserting data into table "models" -""" -input ModelsInsertInput { - enabled: Boolean - model: String - model_data: ModelsEnumObjRelInsertInput - type: model_type -} - -""" -aggregate max on columns -""" -type ModelsMaxFields { - model: String - type: model_type + cursor ordering + """ + ordering: CursorOrdering } """ -aggregate min on columns +Initial value of the column from where the streaming should start """ -type ModelsMinFields { - model: String - type: model_type +input MessageTypeEnumStreamCursorValueInput { + value: String } """ -response of any mutation on the table "models" +update columns of table "message_type_enum" """ -type ModelsMutationResponse { +enum MessageTypeEnumUpdateColumn { """ - number of rows affected by the mutation + column name """ - affectedRows: Int! + value +} +input MessageTypeEnumUpdates { """ - data from the rows affected by the mutation + sets the columns of the filtered rows to the given values """ - returning: [Models!]! + _set: MessageTypeEnumSetInput + + """ + filter the rows which have to be updated + """ + where: MessageTypeEnumBoolExp! } """ -input type for inserting object relation for remote table "models" +update columns of table "message" """ -input ModelsObjRelInsertInput { - data: ModelsInsertInput! +enum MessageUpdateColumn { + """ + column name + """ + augmentedFrom """ - upsert condition + column name """ - onConflict: ModelsOnConflict -} + content -""" -on_conflict condition type for table "models" -""" -input ModelsOnConflict { - constraint: ModelsConstraint! - updateColumns: [ModelsUpdateColumn!]! = [] - where: ModelsBoolExp -} + """ + column name + """ + createdAt -""" -Ordering options when selecting data from "models". -""" -input ModelsOrderBy { - enabled: OrderBy - model: OrderBy - model_data: ModelsEnumOrderBy - type: OrderBy -} + """ + column name + """ + examples -""" -primary key columns input for table: models -""" -input ModelsPkColumnsInput { - model: String! -} + """ + column name + """ + isContinued -""" -select columns of table "models" -""" -enum ModelsSelectColumn { """ column name """ - enabled + messageId """ column name @@ -5989,138 +4981,163 @@ enum ModelsSelectColumn { """ column name """ - type -} - -""" -input type for updating data in table "models" -""" -input ModelsSetInput { - enabled: Boolean - model: String - type: model_type -} + prompt -""" -Streaming cursor of the table "models" -""" -input ModelsStreamCursorInput { """ - Stream column input with initial value + column name """ - initialValue: ModelsStreamCursorValueInput! + role """ - cursor ordering + column name """ - ordering: CursorOrdering -} + shortLink -""" -Initial value of the column from where the streaming should start -""" -input ModelsStreamCursorValueInput { - enabled: Boolean - model: String - type: model_type -} + """ + column name + """ + slug -""" -update columns of table "models" -""" -enum ModelsUpdateColumn { """ column name """ - enabled + thinking """ column name """ - model + thinkingTraces """ column name """ - type + threadId } -input ModelsUpdates { +input MessageUpdates { + """ + append existing jsonb value of filtered columns with new jsonb value + """ + _append: MessageAppendInput + + """ + delete the field or element with specified path (for JSON arrays, negative integers count from the end) + """ + _deleteAtPath: MessageDeleteAtPathInput + + """ + delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array + """ + _deleteElem: MessageDeleteElemInput + + """ + delete key/value pair or string element. key/value pairs are matched based on their key value + """ + _deleteKey: MessageDeleteKeyInput + + """ + prepend existing jsonb value of filtered columns with new jsonb value + """ + _prepend: MessagePrependInput + """ sets the columns of the filtered rows to the given values """ - _set: ModelsSetInput + _set: MessageSetInput """ filter the rows which have to be updated """ - where: ModelsBoolExp! + where: MessageBoolExp! } """ -Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. +Boolean expression to compare columns of type "model_type". All fields are combined with logical 'AND'. """ -input NumericComparisonExp { - _eq: numeric - _gt: numeric - _gte: numeric - _in: [numeric!] +input ModelTypeComparisonExp { + _eq: model_type + _gt: model_type + _gte: model_type + _in: [model_type!] _isNull: Boolean - _lt: numeric - _lte: numeric - _neq: numeric - _nin: [numeric!] + _lt: model_type + _lte: model_type + _neq: model_type + _nin: [model_type!] } """ -column ordering options +LLMs tracking for web display """ -enum OrderBy { - """ - in ascending order, nulls last - """ - ASC +type Models { + enabled: Boolean! + model: String! """ - in ascending order, nulls first + An object relationship """ - ASC_NULLS_FIRST + model_data: ModelsEnum! + type: model_type! +} - """ - in ascending order, nulls last - """ - ASC_NULLS_LAST +""" +aggregated selection of "models" +""" +type ModelsAggregate { + aggregate: ModelsAggregateFields + nodes: [Models!]! +} - """ - in descending order, nulls first - """ - DESC +""" +aggregate fields of "models" +""" +type ModelsAggregateFields { + count(columns: [ModelsSelectColumn!], distinct: Boolean): Int! + max: ModelsMaxFields + min: ModelsMinFields +} - """ - in descending order, nulls first - """ - DESC_NULLS_FIRST +""" +Boolean expression to filter rows from the table "models". All fields are combined with a logical 'AND'. +""" +input ModelsBoolExp { + _and: [ModelsBoolExp!] + _not: ModelsBoolExp + _or: [ModelsBoolExp!] + enabled: BooleanComparisonExp + model: StringComparisonExp + model_data: ModelsEnumBoolExp + type: ModelTypeComparisonExp +} +""" +unique or primary key constraints on table "models" +""" +enum ModelsConstraint { """ - in descending order, nulls last + unique or primary key constraint on columns "model" """ - DESC_NULLS_LAST + models_pkey } """ -columns and relationships of "organization" +columns and relationships of "models_enum" """ -type Organization { +type ModelsEnum { + """ + An object relationship + """ + model_data: Models name: String! """ - An aggregate relationship + An array relationship """ - organizationChatbotsAggregate( + threads( """ distinct select on columns """ - distinctOn: [OrganizationChatbotSelectColumn!] + distinctOn: [ThreadSelectColumn!] """ limit the number of rows returned @@ -6135,23 +5152,22 @@ type Organization { """ sort the rows by one or more columns """ - orderBy: [OrganizationChatbotOrderBy!] + orderBy: [ThreadOrderBy!] """ filter the rows returned """ - where: OrganizationChatbotBoolExp - ): OrganizationChatbotAggregate! - organizationId: uuid! + where: ThreadBoolExp + ): [Thread!]! """ - An array relationship + An aggregate relationship """ - organization_chatbots( + threadsAggregate( """ distinct select on columns """ - distinctOn: [OrganizationChatbotSelectColumn!] + distinctOn: [ThreadSelectColumn!] """ limit the number of rows returned @@ -6166,392 +5182,428 @@ type Organization { """ sort the rows by one or more columns """ - orderBy: [OrganizationChatbotOrderBy!] + orderBy: [ThreadOrderBy!] """ filter the rows returned """ - where: OrganizationChatbotBoolExp - ): [OrganizationChatbot!]! - - """ - An object relationship - """ - organization_preference: Preference - - """ - An object relationship - """ - user: User! - userId: uuid! + where: ThreadBoolExp + ): ThreadAggregate! + value: String! } """ -aggregated selection of "organization" +aggregated selection of "models_enum" """ -type OrganizationAggregate { - aggregate: OrganizationAggregateFields - nodes: [Organization!]! -} - -input OrganizationAggregateBoolExp { - count: organizationAggregateBoolExpCount +type ModelsEnumAggregate { + aggregate: ModelsEnumAggregateFields + nodes: [ModelsEnum!]! } """ -aggregate fields of "organization" +aggregate fields of "models_enum" """ -type OrganizationAggregateFields { - count(columns: [OrganizationSelectColumn!], distinct: Boolean): Int! - max: OrganizationMaxFields - min: OrganizationMinFields +type ModelsEnumAggregateFields { + count(columns: [ModelsEnumSelectColumn!], distinct: Boolean): Int! + max: ModelsEnumMaxFields + min: ModelsEnumMinFields } """ -order by aggregate values of table "organization" +Boolean expression to filter rows from the table "models_enum". All fields are combined with a logical 'AND'. """ -input OrganizationAggregateOrderBy { - count: OrderBy - max: OrganizationMaxOrderBy - min: OrganizationMinOrderBy +input ModelsEnumBoolExp { + _and: [ModelsEnumBoolExp!] + _not: ModelsEnumBoolExp + _or: [ModelsEnumBoolExp!] + model_data: ModelsBoolExp + name: StringComparisonExp + threads: ThreadBoolExp + threadsAggregate: ThreadAggregateBoolExp + value: StringComparisonExp } """ -input type for inserting array relation for remote table "organization" +unique or primary key constraints on table "models_enum" """ -input OrganizationArrRelInsertInput { - data: [OrganizationInsertInput!]! +enum ModelsEnumConstraint { + """ + unique or primary key constraint on columns "name" + """ + models_enum_pkey """ - upsert condition + unique or primary key constraint on columns "value" """ - onConflict: OrganizationOnConflict + models_enum_value_key } -""" -Boolean expression to filter rows from the table "organization". All fields are combined with a logical 'AND'. -""" -input OrganizationBoolExp { - _and: [OrganizationBoolExp!] - _not: OrganizationBoolExp - _or: [OrganizationBoolExp!] - name: StringComparisonExp - organizationId: UuidComparisonExp - organization_chatbots: OrganizationChatbotBoolExp - organization_chatbotsAggregate: OrganizationChatbotAggregateBoolExp - organization_preference: PreferenceBoolExp - user: UserBoolExp - userId: UuidComparisonExp -} +enum ModelsEnumEnum { + """ + claude-3-7-sonnet-20250219 + """ + CLAUDE__3_7__SONNET -""" -columns and relationships of "organization_chatbot" -""" -type OrganizationChatbot { """ - An object relationship + deepseek-r1 """ - chatbot: Chatbot! - chatbotId: Int! - isActive: Boolean! + DEEPSEEK """ - An object relationship + gemini-2.5-flash-preview-04-17 + """ + GEMINI__2_5__FLASH + + """ + gemini-2.5-pro-preview-03-25 + """ + GEMINI__2_5__PRO + + """ + gemini-2.0-flash-exp + """ + GEMINI__FLASH__IMG + + """ + gemini_2_0_flash_lite + """ + GEMINI__FLASH__LITE + + """ + deepseek-r1-distill-llama-70b + """ + GROQDEEPSEEK + + """ + gpt-4o-mini + """ + OPENAI + + """ + gpt-4.1-2025-04-14 + """ + OPENAI__4_1 + + """ + gpt-4.1-mini-2025-04-14 + """ + OPENAI__4_1__MINI + + """ + gpt-4.1-nano-2025-04-14 + """ + OPENAI__4_1__NANO + + """ + dall-e-2 + """ + OPENAI__DALLE__2 + + """ + dall-e-3 + """ + OPENAI__DALLE__3 + + """ + gpt-image-1 + """ + OPENAI__IMG + + """ + o4-mini-2025-04-16 + """ + OPENAI__O4__MINI + + """ + llama3_7B """ - organization: Organization! - organizationId: uuid! + PERPLEXITY + + """ + llama-3-sonar-large-32k-online + """ + PERPLEXITY__LARGE } """ -aggregated selection of "organization_chatbot" +Boolean expression to compare columns of type "ModelsEnumEnum". All fields are combined with logical 'AND'. """ -type OrganizationChatbotAggregate { - aggregate: OrganizationChatbotAggregateFields - nodes: [OrganizationChatbot!]! +input ModelsEnumEnumComparisonExp { + _eq: ModelsEnumEnum + _in: [ModelsEnumEnum!] + _isNull: Boolean + _neq: ModelsEnumEnum + _nin: [ModelsEnumEnum!] } -input OrganizationChatbotAggregateBoolExp { - bool_and: organizationChatbotAggregateBoolExpBool_and - bool_or: organizationChatbotAggregateBoolExpBool_or - count: organizationChatbotAggregateBoolExpCount +""" +input type for inserting data into table "models_enum" +""" +input ModelsEnumInsertInput { + model_data: ModelsObjRelInsertInput + name: String + threads: ThreadArrRelInsertInput + value: String } """ -aggregate fields of "organization_chatbot" +aggregate max on columns """ -type OrganizationChatbotAggregateFields { - avg: OrganizationChatbotAvgFields - count(columns: [OrganizationChatbotSelectColumn!], distinct: Boolean): Int! - max: OrganizationChatbotMaxFields - min: OrganizationChatbotMinFields - stddev: OrganizationChatbotStddevFields - stddevPop: OrganizationChatbotStddevPopFields - stddevSamp: OrganizationChatbotStddevSampFields - sum: OrganizationChatbotSumFields - varPop: OrganizationChatbotVarPopFields - varSamp: OrganizationChatbotVarSampFields - variance: OrganizationChatbotVarianceFields +type ModelsEnumMaxFields { + name: String + value: String } """ -order by aggregate values of table "organization_chatbot" +aggregate min on columns """ -input OrganizationChatbotAggregateOrderBy { - avg: OrganizationChatbotAvgOrderBy - count: OrderBy - max: OrganizationChatbotMaxOrderBy - min: OrganizationChatbotMinOrderBy - stddev: OrganizationChatbotStddevOrderBy - stddevPop: OrganizationChatbotStddevPopOrderBy - stddevSamp: OrganizationChatbotStddevSampOrderBy - sum: OrganizationChatbotSumOrderBy - varPop: OrganizationChatbotVarPopOrderBy - varSamp: OrganizationChatbotVarSampOrderBy - variance: OrganizationChatbotVarianceOrderBy +type ModelsEnumMinFields { + name: String + value: String } """ -input type for inserting array relation for remote table "organization_chatbot" +response of any mutation on the table "models_enum" """ -input OrganizationChatbotArrRelInsertInput { - data: [OrganizationChatbotInsertInput!]! +type ModelsEnumMutationResponse { + """ + number of rows affected by the mutation + """ + affectedRows: Int! """ - upsert condition + data from the rows affected by the mutation """ - onConflict: OrganizationChatbotOnConflict + returning: [ModelsEnum!]! } """ -aggregate avg on columns +input type for inserting object relation for remote table "models_enum" """ -type OrganizationChatbotAvgFields { - chatbotId: Float -} +input ModelsEnumObjRelInsertInput { + data: ModelsEnumInsertInput! -""" -order by avg() on columns of table "organization_chatbot" -""" -input OrganizationChatbotAvgOrderBy { - chatbotId: OrderBy + """ + upsert condition + """ + onConflict: ModelsEnumOnConflict } """ -Boolean expression to filter rows from the table "organization_chatbot". All fields are combined with a logical 'AND'. +on_conflict condition type for table "models_enum" """ -input OrganizationChatbotBoolExp { - _and: [OrganizationChatbotBoolExp!] - _not: OrganizationChatbotBoolExp - _or: [OrganizationChatbotBoolExp!] - chatbot: ChatbotBoolExp - chatbotId: IntComparisonExp - isActive: BooleanComparisonExp - organization: OrganizationBoolExp - organizationId: UuidComparisonExp +input ModelsEnumOnConflict { + constraint: ModelsEnumConstraint! + updateColumns: [ModelsEnumUpdateColumn!]! = [] + where: ModelsEnumBoolExp } """ -unique or primary key constraints on table "organization_chatbot" +Ordering options when selecting data from "models_enum". """ -enum OrganizationChatbotConstraint { - """ - unique or primary key constraint on columns "organization_id", "chatbot_id" - """ - organization_chatbot_pkey +input ModelsEnumOrderBy { + model_data: ModelsOrderBy + name: OrderBy + threadsAggregate: ThreadAggregateOrderBy + value: OrderBy } """ -input type for incrementing numeric columns in table "organization_chatbot" +primary key columns input for table: models_enum """ -input OrganizationChatbotIncInput { - chatbotId: Int +input ModelsEnumPkColumnsInput { + name: String! } """ -input type for inserting data into table "organization_chatbot" +select columns of table "models_enum" """ -input OrganizationChatbotInsertInput { - chatbot: ChatbotObjRelInsertInput - chatbotId: Int - isActive: Boolean - organization: OrganizationObjRelInsertInput - organizationId: uuid +enum ModelsEnumSelectColumn { + """ + column name + """ + name + + """ + column name + """ + value } """ -aggregate max on columns +input type for updating data in table "models_enum" """ -type OrganizationChatbotMaxFields { - chatbotId: Int - organizationId: uuid +input ModelsEnumSetInput { + name: String + value: String } """ -order by max() on columns of table "organization_chatbot" +Streaming cursor of the table "models_enum" """ -input OrganizationChatbotMaxOrderBy { - chatbotId: OrderBy - organizationId: OrderBy +input ModelsEnumStreamCursorInput { + """ + Stream column input with initial value + """ + initialValue: ModelsEnumStreamCursorValueInput! + + """ + cursor ordering + """ + ordering: CursorOrdering } """ -aggregate min on columns +Initial value of the column from where the streaming should start """ -type OrganizationChatbotMinFields { - chatbotId: Int - organizationId: uuid +input ModelsEnumStreamCursorValueInput { + name: String + value: String } """ -order by min() on columns of table "organization_chatbot" +update columns of table "models_enum" """ -input OrganizationChatbotMinOrderBy { - chatbotId: OrderBy - organizationId: OrderBy +enum ModelsEnumUpdateColumn { + """ + column name + """ + name + + """ + column name + """ + value } -""" -response of any mutation on the table "organization_chatbot" -""" -type OrganizationChatbotMutationResponse { +input ModelsEnumUpdates { """ - number of rows affected by the mutation + sets the columns of the filtered rows to the given values """ - affectedRows: Int! + _set: ModelsEnumSetInput """ - data from the rows affected by the mutation + filter the rows which have to be updated """ - returning: [OrganizationChatbot!]! + where: ModelsEnumBoolExp! } """ -on_conflict condition type for table "organization_chatbot" +input type for inserting data into table "models" """ -input OrganizationChatbotOnConflict { - constraint: OrganizationChatbotConstraint! - updateColumns: [OrganizationChatbotUpdateColumn!]! = [] - where: OrganizationChatbotBoolExp +input ModelsInsertInput { + enabled: Boolean + model: String + model_data: ModelsEnumObjRelInsertInput + type: model_type } """ -Ordering options when selecting data from "organization_chatbot". +aggregate max on columns """ -input OrganizationChatbotOrderBy { - chatbot: ChatbotOrderBy - chatbotId: OrderBy - isActive: OrderBy - organization: OrganizationOrderBy - organizationId: OrderBy +type ModelsMaxFields { + model: String + type: model_type } """ -primary key columns input for table: organization_chatbot +aggregate min on columns """ -input OrganizationChatbotPkColumnsInput { - chatbotId: Int! - organizationId: uuid! +type ModelsMinFields { + model: String + type: model_type } """ -select columns of table "organization_chatbot" +response of any mutation on the table "models" """ -enum OrganizationChatbotSelectColumn { - """ - column name - """ - chatbotId - +type ModelsMutationResponse { """ - column name + number of rows affected by the mutation """ - isActive + affectedRows: Int! """ - column name + data from the rows affected by the mutation """ - organizationId + returning: [Models!]! } """ -select "organizationChatbotAggregateBoolExpBool_andArgumentsColumns" columns of table "organization_chatbot" +input type for inserting object relation for remote table "models" """ -enum OrganizationChatbotSelectColumnOrganizationChatbotAggregateBoolExpBool_andArgumentsColumns { - """ - column name - """ - isActive -} +input ModelsObjRelInsertInput { + data: ModelsInsertInput! -""" -select "organizationChatbotAggregateBoolExpBool_orArgumentsColumns" columns of table "organization_chatbot" -""" -enum OrganizationChatbotSelectColumnOrganizationChatbotAggregateBoolExpBool_orArgumentsColumns { """ - column name + upsert condition """ - isActive + onConflict: ModelsOnConflict } """ -input type for updating data in table "organization_chatbot" +on_conflict condition type for table "models" """ -input OrganizationChatbotSetInput { - chatbotId: Int - isActive: Boolean - organizationId: uuid +input ModelsOnConflict { + constraint: ModelsConstraint! + updateColumns: [ModelsUpdateColumn!]! = [] + where: ModelsBoolExp } """ -aggregate stddev on columns +Ordering options when selecting data from "models". """ -type OrganizationChatbotStddevFields { - chatbotId: Float +input ModelsOrderBy { + enabled: OrderBy + model: OrderBy + model_data: ModelsEnumOrderBy + type: OrderBy } """ -order by stddev() on columns of table "organization_chatbot" +primary key columns input for table: models """ -input OrganizationChatbotStddevOrderBy { - chatbotId: OrderBy +input ModelsPkColumnsInput { + model: String! } """ -aggregate stddevPop on columns +select columns of table "models" """ -type OrganizationChatbotStddevPopFields { - chatbotId: Float -} +enum ModelsSelectColumn { + """ + column name + """ + enabled -""" -order by stddevPop() on columns of table "organization_chatbot" -""" -input OrganizationChatbotStddevPopOrderBy { - chatbotId: OrderBy -} + """ + column name + """ + model -""" -aggregate stddevSamp on columns -""" -type OrganizationChatbotStddevSampFields { - chatbotId: Float + """ + column name + """ + type } """ -order by stddevSamp() on columns of table "organization_chatbot" +input type for updating data in table "models" """ -input OrganizationChatbotStddevSampOrderBy { - chatbotId: OrderBy +input ModelsSetInput { + enabled: Boolean + model: String + type: model_type } """ -Streaming cursor of the table "organization_chatbot" +Streaming cursor of the table "models" """ -input OrganizationChatbotStreamCursorInput { +input ModelsStreamCursorInput { """ Stream column input with initial value """ - initialValue: OrganizationChatbotStreamCursorValueInput! + initialValue: ModelsStreamCursorValueInput! """ cursor ordering @@ -6562,167 +5614,148 @@ input OrganizationChatbotStreamCursorInput { """ Initial value of the column from where the streaming should start """ -input OrganizationChatbotStreamCursorValueInput { - chatbotId: Int - isActive: Boolean - organizationId: uuid -} - -""" -aggregate sum on columns -""" -type OrganizationChatbotSumFields { - chatbotId: Int -} - -""" -order by sum() on columns of table "organization_chatbot" -""" -input OrganizationChatbotSumOrderBy { - chatbotId: OrderBy +input ModelsStreamCursorValueInput { + enabled: Boolean + model: String + type: model_type } """ -update columns of table "organization_chatbot" +update columns of table "models" """ -enum OrganizationChatbotUpdateColumn { +enum ModelsUpdateColumn { """ column name """ - chatbotId + enabled """ column name """ - isActive + model """ column name """ - organizationId + type } -input OrganizationChatbotUpdates { - """ - increments the numeric columns with given value of the filtered values - """ - _inc: OrganizationChatbotIncInput - +input ModelsUpdates { """ sets the columns of the filtered rows to the given values """ - _set: OrganizationChatbotSetInput + _set: ModelsSetInput """ filter the rows which have to be updated """ - where: OrganizationChatbotBoolExp! + where: ModelsBoolExp! } """ -aggregate varPop on columns +columns and relationships of "n8n_credentials" """ -type OrganizationChatbotVarPopFields { - chatbotId: Float +type N8nCredentials { + createdAt: timestamptz! + id: uuid! + n8nCredentialId: String! + provider: String! + service: String! + userId: uuid! } """ -order by varPop() on columns of table "organization_chatbot" +aggregated selection of "n8n_credentials" """ -input OrganizationChatbotVarPopOrderBy { - chatbotId: OrderBy +type N8nCredentialsAggregate { + aggregate: N8nCredentialsAggregateFields + nodes: [N8nCredentials!]! } """ -aggregate varSamp on columns +aggregate fields of "n8n_credentials" """ -type OrganizationChatbotVarSampFields { - chatbotId: Float +type N8nCredentialsAggregateFields { + count(columns: [N8nCredentialsSelectColumn!], distinct: Boolean): Int! + max: N8nCredentialsMaxFields + min: N8nCredentialsMinFields } """ -order by varSamp() on columns of table "organization_chatbot" +Boolean expression to filter rows from the table "n8n_credentials". All fields are combined with a logical 'AND'. """ -input OrganizationChatbotVarSampOrderBy { - chatbotId: OrderBy +input N8nCredentialsBoolExp { + _and: [N8nCredentialsBoolExp!] + _not: N8nCredentialsBoolExp + _or: [N8nCredentialsBoolExp!] + createdAt: TimestamptzComparisonExp + id: UuidComparisonExp + n8nCredentialId: StringComparisonExp + provider: StringComparisonExp + service: StringComparisonExp + userId: UuidComparisonExp } """ -aggregate variance on columns +unique or primary key constraints on table "n8n_credentials" """ -type OrganizationChatbotVarianceFields { - chatbotId: Float -} +enum N8nCredentialsConstraint { + """ + unique or primary key constraint on columns "n8n_credential_id" + """ + n8n_credentials_n8n_credential_id_key -""" -order by variance() on columns of table "organization_chatbot" -""" -input OrganizationChatbotVarianceOrderBy { - chatbotId: OrderBy -} + """ + unique or primary key constraint on columns "id" + """ + n8n_credentials_pkey -""" -unique or primary key constraints on table "organization" -""" -enum OrganizationConstraint { """ - unique or primary key constraint on columns "organization_id" + unique or primary key constraint on columns "user_id" """ - organization_pkey + n8n_credentials_user_id_key } """ -input type for inserting data into table "organization" +input type for inserting data into table "n8n_credentials" """ -input OrganizationInsertInput { - name: String - organizationId: uuid - organization_chatbots: OrganizationChatbotArrRelInsertInput - organization_preference: PreferenceObjRelInsertInput - user: UserObjRelInsertInput +input N8nCredentialsInsertInput { + createdAt: timestamptz + id: uuid + n8nCredentialId: String + provider: String + service: String userId: uuid } """ aggregate max on columns """ -type OrganizationMaxFields { - name: String - organizationId: uuid +type N8nCredentialsMaxFields { + createdAt: timestamptz + id: uuid + n8nCredentialId: String + provider: String + service: String userId: uuid } -""" -order by max() on columns of table "organization" -""" -input OrganizationMaxOrderBy { - name: OrderBy - organizationId: OrderBy - userId: OrderBy -} - """ aggregate min on columns """ -type OrganizationMinFields { - name: String - organizationId: uuid +type N8nCredentialsMinFields { + createdAt: timestamptz + id: uuid + n8nCredentialId: String + provider: String + service: String userId: uuid } """ -order by min() on columns of table "organization" -""" -input OrganizationMinOrderBy { - name: OrderBy - organizationId: OrderBy - userId: OrderBy -} - -""" -response of any mutation on the table "organization" +response of any mutation on the table "n8n_credentials" """ -type OrganizationMutationResponse { +type N8nCredentialsMutationResponse { """ number of rows affected by the mutation """ @@ -6731,62 +5764,65 @@ type OrganizationMutationResponse { """ data from the rows affected by the mutation """ - returning: [Organization!]! + returning: [N8nCredentials!]! } """ -input type for inserting object relation for remote table "organization" +on_conflict condition type for table "n8n_credentials" """ -input OrganizationObjRelInsertInput { - data: OrganizationInsertInput! - - """ - upsert condition - """ - onConflict: OrganizationOnConflict -} - -""" -on_conflict condition type for table "organization" -""" -input OrganizationOnConflict { - constraint: OrganizationConstraint! - updateColumns: [OrganizationUpdateColumn!]! = [] - where: OrganizationBoolExp +input N8nCredentialsOnConflict { + constraint: N8nCredentialsConstraint! + updateColumns: [N8nCredentialsUpdateColumn!]! = [] + where: N8nCredentialsBoolExp } """ -Ordering options when selecting data from "organization". +Ordering options when selecting data from "n8n_credentials". """ -input OrganizationOrderBy { - name: OrderBy - organizationId: OrderBy - organization_chatbotsAggregate: OrganizationChatbotAggregateOrderBy - organization_preference: PreferenceOrderBy - user: UserOrderBy +input N8nCredentialsOrderBy { + createdAt: OrderBy + id: OrderBy + n8nCredentialId: OrderBy + provider: OrderBy + service: OrderBy userId: OrderBy } """ -primary key columns input for table: organization +primary key columns input for table: n8n_credentials """ -input OrganizationPkColumnsInput { - organizationId: uuid! +input N8nCredentialsPkColumnsInput { + id: uuid! } """ -select columns of table "organization" +select columns of table "n8n_credentials" """ -enum OrganizationSelectColumn { +enum N8nCredentialsSelectColumn { """ column name """ - name + createdAt + + """ + column name + """ + id + + """ + column name + """ + n8nCredentialId + + """ + column name + """ + provider """ column name """ - organizationId + service """ column name @@ -6795,22 +5831,25 @@ enum OrganizationSelectColumn { } """ -input type for updating data in table "organization" +input type for updating data in table "n8n_credentials" """ -input OrganizationSetInput { - name: String - organizationId: uuid +input N8nCredentialsSetInput { + createdAt: timestamptz + id: uuid + n8nCredentialId: String + provider: String + service: String userId: uuid } """ -Streaming cursor of the table "organization" +Streaming cursor of the table "n8n_credentials" """ -input OrganizationStreamCursorInput { +input N8nCredentialsStreamCursorInput { """ Stream column input with initial value """ - initialValue: OrganizationStreamCursorValueInput! + initialValue: N8nCredentialsStreamCursorValueInput! """ cursor ordering @@ -6821,42 +5860,110 @@ input OrganizationStreamCursorInput { """ Initial value of the column from where the streaming should start """ -input OrganizationStreamCursorValueInput { - name: String - organizationId: uuid +input N8nCredentialsStreamCursorValueInput { + createdAt: timestamptz + id: uuid + n8nCredentialId: String + provider: String + service: String userId: uuid } """ -update columns of table "organization" +update columns of table "n8n_credentials" +""" +enum N8nCredentialsUpdateColumn { + """ + column name + """ + createdAt + + """ + column name + """ + id + + """ + column name + """ + n8nCredentialId + + """ + column name + """ + provider + + """ + column name + """ + service + + """ + column name + """ + userId +} + +input N8nCredentialsUpdates { + """ + sets the columns of the filtered rows to the given values + """ + _set: N8nCredentialsSetInput + + """ + filter the rows which have to be updated + """ + where: N8nCredentialsBoolExp! +} + +""" +Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. +""" +input NumericComparisonExp { + _eq: numeric + _gt: numeric + _gte: numeric + _in: [numeric!] + _isNull: Boolean + _lt: numeric + _lte: numeric + _neq: numeric + _nin: [numeric!] +} + +""" +column ordering options """ -enum OrganizationUpdateColumn { +enum OrderBy { """ - column name + in ascending order, nulls last """ - name + ASC """ - column name + in ascending order, nulls first """ - organizationId + ASC_NULLS_FIRST """ - column name + in ascending order, nulls last """ - userId -} + ASC_NULLS_LAST -input OrganizationUpdates { """ - sets the columns of the filtered rows to the given values + in descending order, nulls first """ - _set: OrganizationSetInput + DESC """ - filter the rows which have to be updated + in descending order, nulls first + """ + DESC_NULLS_FIRST + """ - where: OrganizationBoolExp! + in descending order, nulls last + """ + DESC_NULLS_LAST } """ @@ -12584,66 +11691,6 @@ type User { isBlocked: Boolean isVerified: Boolean lastLogin: timestamptz - - """ - An array relationship - """ - organizations( - """ - distinct select on columns - """ - distinctOn: [OrganizationSelectColumn!] - - """ - limit the number of rows returned - """ - limit: Int - - """ - skip the first n rows. Use only with order_by - """ - offset: Int - - """ - sort the rows by one or more columns - """ - orderBy: [OrganizationOrderBy!] - - """ - filter the rows returned - """ - where: OrganizationBoolExp - ): [Organization!]! - - """ - An aggregate relationship - """ - organizationsAggregate( - """ - distinct select on columns - """ - distinctOn: [OrganizationSelectColumn!] - - """ - limit the number of rows returned - """ - limit: Int - - """ - skip the first n rows. Use only with order_by - """ - offset: Int - - """ - sort the rows by one or more columns - """ - orderBy: [OrganizationOrderBy!] - - """ - filter the rows returned - """ - where: OrganizationBoolExp - ): OrganizationAggregate! password: String! """ @@ -13056,8 +12103,6 @@ input UserBoolExp { isBlocked: BooleanComparisonExp isVerified: BooleanComparisonExp lastLogin: TimestamptzComparisonExp - organizations: OrganizationBoolExp - organizationsAggregate: OrganizationAggregateBoolExp password: StringComparisonExp preference: PreferenceBoolExp preferences: PreferenceBoolExp @@ -13121,7 +12166,6 @@ input UserInsertInput { isBlocked: Boolean isVerified: Boolean lastLogin: timestamptz - organizations: OrganizationArrRelInsertInput password: String preference: PreferenceObjRelInsertInput preferences: PreferenceArrRelInsertInput @@ -13179,19 +12223,314 @@ type UserMinFields { username: String } -""" -response of any mutation on the table "user" -""" -type UserMutationResponse { +""" +response of any mutation on the table "user" +""" +type UserMutationResponse { + """ + number of rows affected by the mutation + """ + affectedRows: Int! + + """ + data from the rows affected by the mutation + """ + returning: [User!]! +} + +""" +columns and relationships of "user_oauth_connections" +""" +type UserOauthConnections { + connectedAt: timestamptz! + id: uuid! + provider: String! + revokedAt: timestamptz! + scopes: String! + service: String! + status: String! + userId: uuid! +} + +""" +aggregated selection of "user_oauth_connections" +""" +type UserOauthConnectionsAggregate { + aggregate: UserOauthConnectionsAggregateFields + nodes: [UserOauthConnections!]! +} + +""" +aggregate fields of "user_oauth_connections" +""" +type UserOauthConnectionsAggregateFields { + count(columns: [UserOauthConnectionsSelectColumn!], distinct: Boolean): Int! + max: UserOauthConnectionsMaxFields + min: UserOauthConnectionsMinFields +} + +""" +Boolean expression to filter rows from the table "user_oauth_connections". All fields are combined with a logical 'AND'. +""" +input UserOauthConnectionsBoolExp { + _and: [UserOauthConnectionsBoolExp!] + _not: UserOauthConnectionsBoolExp + _or: [UserOauthConnectionsBoolExp!] + connectedAt: TimestamptzComparisonExp + id: UuidComparisonExp + provider: StringComparisonExp + revokedAt: TimestamptzComparisonExp + scopes: StringComparisonExp + service: StringComparisonExp + status: StringComparisonExp + userId: UuidComparisonExp +} + +""" +unique or primary key constraints on table "user_oauth_connections" +""" +enum UserOauthConnectionsConstraint { + """ + unique or primary key constraint on columns "id" + """ + user_oauth_connections_pkey + + """ + unique or primary key constraint on columns "user_id" + """ + user_oauth_connections_user_id_key +} + +""" +input type for inserting data into table "user_oauth_connections" +""" +input UserOauthConnectionsInsertInput { + connectedAt: timestamptz + id: uuid + provider: String + revokedAt: timestamptz + scopes: String + service: String + status: String + userId: uuid +} + +""" +aggregate max on columns +""" +type UserOauthConnectionsMaxFields { + connectedAt: timestamptz + id: uuid + provider: String + revokedAt: timestamptz + scopes: String + service: String + status: String + userId: uuid +} + +""" +aggregate min on columns +""" +type UserOauthConnectionsMinFields { + connectedAt: timestamptz + id: uuid + provider: String + revokedAt: timestamptz + scopes: String + service: String + status: String + userId: uuid +} + +""" +response of any mutation on the table "user_oauth_connections" +""" +type UserOauthConnectionsMutationResponse { + """ + number of rows affected by the mutation + """ + affectedRows: Int! + + """ + data from the rows affected by the mutation + """ + returning: [UserOauthConnections!]! +} + +""" +on_conflict condition type for table "user_oauth_connections" +""" +input UserOauthConnectionsOnConflict { + constraint: UserOauthConnectionsConstraint! + updateColumns: [UserOauthConnectionsUpdateColumn!]! = [] + where: UserOauthConnectionsBoolExp +} + +""" +Ordering options when selecting data from "user_oauth_connections". +""" +input UserOauthConnectionsOrderBy { + connectedAt: OrderBy + id: OrderBy + provider: OrderBy + revokedAt: OrderBy + scopes: OrderBy + service: OrderBy + status: OrderBy + userId: OrderBy +} + +""" +primary key columns input for table: user_oauth_connections +""" +input UserOauthConnectionsPkColumnsInput { + id: uuid! +} + +""" +select columns of table "user_oauth_connections" +""" +enum UserOauthConnectionsSelectColumn { + """ + column name + """ + connectedAt + + """ + column name + """ + id + + """ + column name + """ + provider + + """ + column name + """ + revokedAt + + """ + column name + """ + scopes + + """ + column name + """ + service + + """ + column name + """ + status + + """ + column name + """ + userId +} + +""" +input type for updating data in table "user_oauth_connections" +""" +input UserOauthConnectionsSetInput { + connectedAt: timestamptz + id: uuid + provider: String + revokedAt: timestamptz + scopes: String + service: String + status: String + userId: uuid +} + +""" +Streaming cursor of the table "user_oauth_connections" +""" +input UserOauthConnectionsStreamCursorInput { + """ + Stream column input with initial value + """ + initialValue: UserOauthConnectionsStreamCursorValueInput! + + """ + cursor ordering + """ + ordering: CursorOrdering +} + +""" +Initial value of the column from where the streaming should start +""" +input UserOauthConnectionsStreamCursorValueInput { + connectedAt: timestamptz + id: uuid + provider: String + revokedAt: timestamptz + scopes: String + service: String + status: String + userId: uuid +} + +""" +update columns of table "user_oauth_connections" +""" +enum UserOauthConnectionsUpdateColumn { + """ + column name + """ + connectedAt + + """ + column name + """ + id + + """ + column name + """ + provider + + """ + column name + """ + revokedAt + + """ + column name + """ + scopes + + """ + column name + """ + service + + """ + column name + """ + status + + """ + column name + """ + userId +} + +input UserOauthConnectionsUpdates { """ - number of rows affected by the mutation + sets the columns of the filtered rows to the given values """ - affectedRows: Int! + _set: UserOauthConnectionsSetInput """ - data from the rows affected by the mutation + filter the rows which have to be updated """ - returning: [User!]! + where: UserOauthConnectionsBoolExp! } """ @@ -13230,7 +12569,6 @@ input UserOrderBy { isBlocked: OrderBy isVerified: OrderBy lastLogin: OrderBy - organizationsAggregate: OrganizationAggregateOrderBy password: OrderBy preference: PreferenceOrderBy preferencesAggregate: PreferenceAggregateOrderBy @@ -13763,6 +13101,288 @@ input UserUpdates { where: UserBoolExp! } +""" +columns and relationships of "user_workflows" +""" +type UserWorkflows { + createdAt: timestamptz! + folderPath: String! + id: uuid! + service: String! + userId: uuid! + workflowId: String! + workflowName: String! +} + +""" +aggregated selection of "user_workflows" +""" +type UserWorkflowsAggregate { + aggregate: UserWorkflowsAggregateFields + nodes: [UserWorkflows!]! +} + +""" +aggregate fields of "user_workflows" +""" +type UserWorkflowsAggregateFields { + count(columns: [UserWorkflowsSelectColumn!], distinct: Boolean): Int! + max: UserWorkflowsMaxFields + min: UserWorkflowsMinFields +} + +""" +Boolean expression to filter rows from the table "user_workflows". All fields are combined with a logical 'AND'. +""" +input UserWorkflowsBoolExp { + _and: [UserWorkflowsBoolExp!] + _not: UserWorkflowsBoolExp + _or: [UserWorkflowsBoolExp!] + createdAt: TimestamptzComparisonExp + folderPath: StringComparisonExp + id: UuidComparisonExp + service: StringComparisonExp + userId: UuidComparisonExp + workflowId: StringComparisonExp + workflowName: StringComparisonExp +} + +""" +unique or primary key constraints on table "user_workflows" +""" +enum UserWorkflowsConstraint { + """ + unique or primary key constraint on columns "created_at" + """ + user_workflows_created_at_key + + """ + unique or primary key constraint on columns "id" + """ + user_workflows_pkey + + """ + unique or primary key constraint on columns "user_id" + """ + user_workflows_user_id_key +} + +""" +input type for inserting data into table "user_workflows" +""" +input UserWorkflowsInsertInput { + createdAt: timestamptz + folderPath: String + id: uuid + service: String + userId: uuid + workflowId: String + workflowName: String +} + +""" +aggregate max on columns +""" +type UserWorkflowsMaxFields { + createdAt: timestamptz + folderPath: String + id: uuid + service: String + userId: uuid + workflowId: String + workflowName: String +} + +""" +aggregate min on columns +""" +type UserWorkflowsMinFields { + createdAt: timestamptz + folderPath: String + id: uuid + service: String + userId: uuid + workflowId: String + workflowName: String +} + +""" +response of any mutation on the table "user_workflows" +""" +type UserWorkflowsMutationResponse { + """ + number of rows affected by the mutation + """ + affectedRows: Int! + + """ + data from the rows affected by the mutation + """ + returning: [UserWorkflows!]! +} + +""" +on_conflict condition type for table "user_workflows" +""" +input UserWorkflowsOnConflict { + constraint: UserWorkflowsConstraint! + updateColumns: [UserWorkflowsUpdateColumn!]! = [] + where: UserWorkflowsBoolExp +} + +""" +Ordering options when selecting data from "user_workflows". +""" +input UserWorkflowsOrderBy { + createdAt: OrderBy + folderPath: OrderBy + id: OrderBy + service: OrderBy + userId: OrderBy + workflowId: OrderBy + workflowName: OrderBy +} + +""" +primary key columns input for table: user_workflows +""" +input UserWorkflowsPkColumnsInput { + id: uuid! +} + +""" +select columns of table "user_workflows" +""" +enum UserWorkflowsSelectColumn { + """ + column name + """ + createdAt + + """ + column name + """ + folderPath + + """ + column name + """ + id + + """ + column name + """ + service + + """ + column name + """ + userId + + """ + column name + """ + workflowId + + """ + column name + """ + workflowName +} + +""" +input type for updating data in table "user_workflows" +""" +input UserWorkflowsSetInput { + createdAt: timestamptz + folderPath: String + id: uuid + service: String + userId: uuid + workflowId: String + workflowName: String +} + +""" +Streaming cursor of the table "user_workflows" +""" +input UserWorkflowsStreamCursorInput { + """ + Stream column input with initial value + """ + initialValue: UserWorkflowsStreamCursorValueInput! + + """ + cursor ordering + """ + ordering: CursorOrdering +} + +""" +Initial value of the column from where the streaming should start +""" +input UserWorkflowsStreamCursorValueInput { + createdAt: timestamptz + folderPath: String + id: uuid + service: String + userId: uuid + workflowId: String + workflowName: String +} + +""" +update columns of table "user_workflows" +""" +enum UserWorkflowsUpdateColumn { + """ + column name + """ + createdAt + + """ + column name + """ + folderPath + + """ + column name + """ + id + + """ + column name + """ + service + + """ + column name + """ + userId + + """ + column name + """ + workflowId + + """ + column name + """ + workflowName +} + +input UserWorkflowsUpdates { + """ + sets the columns of the filtered rows to the given values + """ + _set: UserWorkflowsSetInput + + """ + filter the rows which have to be updated + """ + where: UserWorkflowsBoolExp! +} + """ Boolean expression to compare columns of type "uuid". All fields are combined with logical 'AND'. """ @@ -13970,21 +13590,6 @@ type mutation_root { """ deleteComplexityEnumByPk(value: String!): ComplexityEnum - """ - delete data from the table: "department" - """ - deleteDepartment( - """ - filter the rows which have to be deleted - """ - where: DepartmentBoolExp! - ): DepartmentMutationResponse - - """ - delete single row from the table: "department" - """ - deleteDepartmentByPk(departmentId: Int!): Department - """ delete data from the table: "domain_enum" """ @@ -14091,37 +13696,19 @@ type mutation_root { deleteModelsEnumByPk(name: String!): ModelsEnum """ - delete data from the table: "organization" - """ - deleteOrganization( - """ - filter the rows which have to be deleted - """ - where: OrganizationBoolExp! - ): OrganizationMutationResponse - - """ - delete single row from the table: "organization" - """ - deleteOrganizationByPk(organizationId: uuid!): Organization - - """ - delete data from the table: "organization_chatbot" + delete data from the table: "n8n_credentials" """ - deleteOrganizationChatbot( + deleteN8nCredentials( """ filter the rows which have to be deleted """ - where: OrganizationChatbotBoolExp! - ): OrganizationChatbotMutationResponse + where: N8nCredentialsBoolExp! + ): N8nCredentialsMutationResponse """ - delete single row from the table: "organization_chatbot" + delete single row from the table: "n8n_credentials" """ - deleteOrganizationChatbotByPk( - chatbotId: Int! - organizationId: uuid! - ): OrganizationChatbot + deleteN8nCredentialsByPk(id: uuid!): N8nCredentials """ delete data from the table: "preference" @@ -14332,6 +13919,21 @@ type mutation_root { """ deleteUserByPk(userId: uuid!): User + """ + delete data from the table: "user_oauth_connections" + """ + deleteUserOauthConnections( + """ + filter the rows which have to be deleted + """ + where: UserOauthConnectionsBoolExp! + ): UserOauthConnectionsMutationResponse + + """ + delete single row from the table: "user_oauth_connections" + """ + deleteUserOauthConnectionsByPk(id: uuid!): UserOauthConnections + """ delete data from the table: "user_token" """ @@ -14347,6 +13949,21 @@ type mutation_root { """ deleteUserTokenByPk(token: String!, userId: uuid!): UserToken + """ + delete data from the table: "user_workflows" + """ + deleteUserWorkflows( + """ + filter the rows which have to be deleted + """ + where: UserWorkflowsBoolExp! + ): UserWorkflowsMutationResponse + + """ + delete single row from the table: "user_workflows" + """ + deleteUserWorkflowsByPk(id: uuid!): UserWorkflows + """ insert data into the table: "category" """ @@ -14485,77 +14102,47 @@ type mutation_root { """ insert a single row into the table: "chatbot" """ - insertChatbotOne( - """ - the row to be inserted - """ - object: ChatbotInsertInput! - - """ - upsert condition - """ - onConflict: ChatbotOnConflict - ): Chatbot - - """ - insert data into the table: "complexity_enum" - """ - insertComplexityEnum( - """ - the rows to be inserted - """ - objects: [ComplexityEnumInsertInput!]! - - """ - upsert condition - """ - onConflict: ComplexityEnumOnConflict - ): ComplexityEnumMutationResponse - - """ - insert a single row into the table: "complexity_enum" - """ - insertComplexityEnumOne( + insertChatbotOne( """ the row to be inserted """ - object: ComplexityEnumInsertInput! + object: ChatbotInsertInput! """ upsert condition """ - onConflict: ComplexityEnumOnConflict - ): ComplexityEnum + onConflict: ChatbotOnConflict + ): Chatbot """ - insert data into the table: "department" + insert data into the table: "complexity_enum" """ - insertDepartment( + insertComplexityEnum( """ the rows to be inserted """ - objects: [DepartmentInsertInput!]! + objects: [ComplexityEnumInsertInput!]! """ upsert condition """ - onConflict: DepartmentOnConflict - ): DepartmentMutationResponse + onConflict: ComplexityEnumOnConflict + ): ComplexityEnumMutationResponse """ - insert a single row into the table: "department" + insert a single row into the table: "complexity_enum" """ - insertDepartmentOne( + insertComplexityEnumOne( """ the row to be inserted """ - object: DepartmentInsertInput! + object: ComplexityEnumInsertInput! """ upsert condition """ - onConflict: DepartmentOnConflict - ): Department + onConflict: ComplexityEnumOnConflict + ): ComplexityEnum """ insert data into the table: "domain_enum" @@ -14768,64 +14355,34 @@ type mutation_root { ): Models """ - insert data into the table: "organization" - """ - insertOrganization( - """ - the rows to be inserted - """ - objects: [OrganizationInsertInput!]! - - """ - upsert condition - """ - onConflict: OrganizationOnConflict - ): OrganizationMutationResponse - - """ - insert data into the table: "organization_chatbot" + insert data into the table: "n8n_credentials" """ - insertOrganizationChatbot( + insertN8nCredentials( """ the rows to be inserted """ - objects: [OrganizationChatbotInsertInput!]! - - """ - upsert condition - """ - onConflict: OrganizationChatbotOnConflict - ): OrganizationChatbotMutationResponse - - """ - insert a single row into the table: "organization_chatbot" - """ - insertOrganizationChatbotOne( - """ - the row to be inserted - """ - object: OrganizationChatbotInsertInput! + objects: [N8nCredentialsInsertInput!]! """ upsert condition """ - onConflict: OrganizationChatbotOnConflict - ): OrganizationChatbot + onConflict: N8nCredentialsOnConflict + ): N8nCredentialsMutationResponse """ - insert a single row into the table: "organization" + insert a single row into the table: "n8n_credentials" """ - insertOrganizationOne( + insertN8nCredentialsOne( """ the row to be inserted """ - object: OrganizationInsertInput! + object: N8nCredentialsInsertInput! """ upsert condition """ - onConflict: OrganizationOnConflict - ): Organization + onConflict: N8nCredentialsOnConflict + ): N8nCredentials """ insert data into the table: "preference" @@ -15222,6 +14779,36 @@ type mutation_root { onConflict: UserOnConflict ): UserMutationResponse + """ + insert data into the table: "user_oauth_connections" + """ + insertUserOauthConnections( + """ + the rows to be inserted + """ + objects: [UserOauthConnectionsInsertInput!]! + + """ + upsert condition + """ + onConflict: UserOauthConnectionsOnConflict + ): UserOauthConnectionsMutationResponse + + """ + insert a single row into the table: "user_oauth_connections" + """ + insertUserOauthConnectionsOne( + """ + the row to be inserted + """ + object: UserOauthConnectionsInsertInput! + + """ + upsert condition + """ + onConflict: UserOauthConnectionsOnConflict + ): UserOauthConnections + """ insert a single row into the table: "user" """ @@ -15267,6 +14854,36 @@ type mutation_root { onConflict: UserTokenOnConflict ): UserToken + """ + insert data into the table: "user_workflows" + """ + insertUserWorkflows( + """ + the rows to be inserted + """ + objects: [UserWorkflowsInsertInput!]! + + """ + upsert condition + """ + onConflict: UserWorkflowsOnConflict + ): UserWorkflowsMutationResponse + + """ + insert a single row into the table: "user_workflows" + """ + insertUserWorkflowsOne( + """ + the row to be inserted + """ + object: UserWorkflowsInsertInput! + + """ + upsert condition + """ + onConflict: UserWorkflowsOnConflict + ): UserWorkflows + """ update data of the table: "category" """ @@ -15523,52 +15140,6 @@ type mutation_root { updates: [ComplexityEnumUpdates!]! ): [ComplexityEnumMutationResponse] - """ - update data of the table: "department" - """ - updateDepartment( - """ - increments the numeric columns with given value of the filtered values - """ - _inc: DepartmentIncInput - - """ - sets the columns of the filtered rows to the given values - """ - _set: DepartmentSetInput - - """ - filter the rows which have to be updated - """ - where: DepartmentBoolExp! - ): DepartmentMutationResponse - - """ - update single row of the table: "department" - """ - updateDepartmentByPk( - """ - increments the numeric columns with given value of the filtered values - """ - _inc: DepartmentIncInput - - """ - sets the columns of the filtered rows to the given values - """ - _set: DepartmentSetInput - pkColumns: DepartmentPkColumnsInput! - ): Department - - """ - update multiples rows of table: "department" - """ - updateDepartmentMany( - """ - updates to execute, in order - """ - updates: [DepartmentUpdates!]! - ): [DepartmentMutationResponse] - """ update data of the table: "domain_enum" """ @@ -15922,86 +15493,40 @@ type mutation_root { ): [ModelsMutationResponse] """ - update data of the table: "organization" - """ - updateOrganization( - """ - sets the columns of the filtered rows to the given values - """ - _set: OrganizationSetInput - - """ - filter the rows which have to be updated - """ - where: OrganizationBoolExp! - ): OrganizationMutationResponse - - """ - update single row of the table: "organization" - """ - updateOrganizationByPk( - """ - sets the columns of the filtered rows to the given values - """ - _set: OrganizationSetInput - pkColumns: OrganizationPkColumnsInput! - ): Organization - - """ - update data of the table: "organization_chatbot" + update data of the table: "n8n_credentials" """ - updateOrganizationChatbot( - """ - increments the numeric columns with given value of the filtered values - """ - _inc: OrganizationChatbotIncInput - + updateN8nCredentials( """ sets the columns of the filtered rows to the given values """ - _set: OrganizationChatbotSetInput + _set: N8nCredentialsSetInput """ filter the rows which have to be updated """ - where: OrganizationChatbotBoolExp! - ): OrganizationChatbotMutationResponse + where: N8nCredentialsBoolExp! + ): N8nCredentialsMutationResponse """ - update single row of the table: "organization_chatbot" + update single row of the table: "n8n_credentials" """ - updateOrganizationChatbotByPk( - """ - increments the numeric columns with given value of the filtered values - """ - _inc: OrganizationChatbotIncInput - + updateN8nCredentialsByPk( """ sets the columns of the filtered rows to the given values """ - _set: OrganizationChatbotSetInput - pkColumns: OrganizationChatbotPkColumnsInput! - ): OrganizationChatbot - - """ - update multiples rows of table: "organization_chatbot" - """ - updateOrganizationChatbotMany( - """ - updates to execute, in order - """ - updates: [OrganizationChatbotUpdates!]! - ): [OrganizationChatbotMutationResponse] + _set: N8nCredentialsSetInput + pkColumns: N8nCredentialsPkColumnsInput! + ): N8nCredentials """ - update multiples rows of table: "organization" + update multiples rows of table: "n8n_credentials" """ - updateOrganizationMany( + updateN8nCredentialsMany( """ updates to execute, in order """ - updates: [OrganizationUpdates!]! - ): [OrganizationMutationResponse] + updates: [N8nCredentialsUpdates!]! + ): [N8nCredentialsMutationResponse] """ update data of the table: "preference" @@ -16611,6 +16136,42 @@ type mutation_root { updates: [UserUpdates!]! ): [UserMutationResponse] + """ + update data of the table: "user_oauth_connections" + """ + updateUserOauthConnections( + """ + sets the columns of the filtered rows to the given values + """ + _set: UserOauthConnectionsSetInput + + """ + filter the rows which have to be updated + """ + where: UserOauthConnectionsBoolExp! + ): UserOauthConnectionsMutationResponse + + """ + update single row of the table: "user_oauth_connections" + """ + updateUserOauthConnectionsByPk( + """ + sets the columns of the filtered rows to the given values + """ + _set: UserOauthConnectionsSetInput + pkColumns: UserOauthConnectionsPkColumnsInput! + ): UserOauthConnections + + """ + update multiples rows of table: "user_oauth_connections" + """ + updateUserOauthConnectionsMany( + """ + updates to execute, in order + """ + updates: [UserOauthConnectionsUpdates!]! + ): [UserOauthConnectionsMutationResponse] + """ update data of the table: "user_token" """ @@ -16646,37 +16207,45 @@ type mutation_root { """ updates: [UserTokenUpdates!]! ): [UserTokenMutationResponse] -} -scalar numeric + """ + update data of the table: "user_workflows" + """ + updateUserWorkflows( + """ + sets the columns of the filtered rows to the given values + """ + _set: UserWorkflowsSetInput -input organizationAggregateBoolExpCount { - arguments: [OrganizationSelectColumn!] - distinct: Boolean - filter: OrganizationBoolExp - predicate: IntComparisonExp! -} + """ + filter the rows which have to be updated + """ + where: UserWorkflowsBoolExp! + ): UserWorkflowsMutationResponse -input organizationChatbotAggregateBoolExpBool_and { - arguments: OrganizationChatbotSelectColumnOrganizationChatbotAggregateBoolExpBool_andArgumentsColumns! - distinct: Boolean - filter: OrganizationChatbotBoolExp - predicate: BooleanComparisonExp! -} + """ + update single row of the table: "user_workflows" + """ + updateUserWorkflowsByPk( + """ + sets the columns of the filtered rows to the given values + """ + _set: UserWorkflowsSetInput + pkColumns: UserWorkflowsPkColumnsInput! + ): UserWorkflows -input organizationChatbotAggregateBoolExpBool_or { - arguments: OrganizationChatbotSelectColumnOrganizationChatbotAggregateBoolExpBool_orArgumentsColumns! - distinct: Boolean - filter: OrganizationChatbotBoolExp - predicate: BooleanComparisonExp! + """ + update multiples rows of table: "user_workflows" + """ + updateUserWorkflowsMany( + """ + updates to execute, in order + """ + updates: [UserWorkflowsUpdates!]! + ): [UserWorkflowsMutationResponse] } -input organizationChatbotAggregateBoolExpCount { - arguments: [OrganizationChatbotSelectColumn!] - distinct: Boolean - filter: OrganizationChatbotBoolExp - predicate: IntComparisonExp! -} +scalar numeric input preferenceAggregateBoolExpBool_and { arguments: PreferenceSelectColumnPreferenceAggregateBoolExpBool_andArgumentsColumns! @@ -17049,76 +16618,11 @@ type query_root { """ fetch data from the table: "complexity_enum" """ - complexityEnum( - """ - distinct select on columns - """ - distinctOn: [ComplexityEnumSelectColumn!] - - """ - limit the number of rows returned - """ - limit: Int - - """ - skip the first n rows. Use only with order_by - """ - offset: Int - - """ - sort the rows by one or more columns - """ - orderBy: [ComplexityEnumOrderBy!] - - """ - filter the rows returned - """ - where: ComplexityEnumBoolExp - ): [ComplexityEnum!]! - - """ - fetch aggregated fields from the table: "complexity_enum" - """ - complexityEnumAggregate( - """ - distinct select on columns - """ - distinctOn: [ComplexityEnumSelectColumn!] - - """ - limit the number of rows returned - """ - limit: Int - - """ - skip the first n rows. Use only with order_by - """ - offset: Int - - """ - sort the rows by one or more columns - """ - orderBy: [ComplexityEnumOrderBy!] - - """ - filter the rows returned - """ - where: ComplexityEnumBoolExp - ): ComplexityEnumAggregate! - - """ - fetch data from the table: "complexity_enum" using primary key columns - """ - complexityEnumByPk(value: String!): ComplexityEnum - - """ - fetch data from the table: "department" - """ - department( + complexityEnum( """ distinct select on columns """ - distinctOn: [DepartmentSelectColumn!] + distinctOn: [ComplexityEnumSelectColumn!] """ limit the number of rows returned @@ -17133,22 +16637,22 @@ type query_root { """ sort the rows by one or more columns """ - orderBy: [DepartmentOrderBy!] + orderBy: [ComplexityEnumOrderBy!] """ filter the rows returned """ - where: DepartmentBoolExp - ): [Department!]! + where: ComplexityEnumBoolExp + ): [ComplexityEnum!]! """ - fetch aggregated fields from the table: "department" + fetch aggregated fields from the table: "complexity_enum" """ - departmentAggregate( + complexityEnumAggregate( """ distinct select on columns """ - distinctOn: [DepartmentSelectColumn!] + distinctOn: [ComplexityEnumSelectColumn!] """ limit the number of rows returned @@ -17163,18 +16667,18 @@ type query_root { """ sort the rows by one or more columns """ - orderBy: [DepartmentOrderBy!] + orderBy: [ComplexityEnumOrderBy!] """ filter the rows returned """ - where: DepartmentBoolExp - ): DepartmentAggregate! + where: ComplexityEnumBoolExp + ): ComplexityEnumAggregate! """ - fetch data from the table: "department" using primary key columns + fetch data from the table: "complexity_enum" using primary key columns """ - departmentByPk(departmentId: Int!): Department + complexityEnumByPk(value: String!): ComplexityEnum """ fetch data from the table: "domain_enum" @@ -17632,78 +17136,13 @@ type query_root { modelsEnumByPk(name: String!): ModelsEnum """ - fetch data from the table: "organization" - """ - organization( - """ - distinct select on columns - """ - distinctOn: [OrganizationSelectColumn!] - - """ - limit the number of rows returned - """ - limit: Int - - """ - skip the first n rows. Use only with order_by - """ - offset: Int - - """ - sort the rows by one or more columns - """ - orderBy: [OrganizationOrderBy!] - - """ - filter the rows returned - """ - where: OrganizationBoolExp - ): [Organization!]! - - """ - fetch aggregated fields from the table: "organization" - """ - organizationAggregate( - """ - distinct select on columns - """ - distinctOn: [OrganizationSelectColumn!] - - """ - limit the number of rows returned - """ - limit: Int - - """ - skip the first n rows. Use only with order_by - """ - offset: Int - - """ - sort the rows by one or more columns - """ - orderBy: [OrganizationOrderBy!] - - """ - filter the rows returned - """ - where: OrganizationBoolExp - ): OrganizationAggregate! - - """ - fetch data from the table: "organization" using primary key columns - """ - organizationByPk(organizationId: uuid!): Organization - - """ - fetch data from the table: "organization_chatbot" + fetch data from the table: "n8n_credentials" """ - organizationChatbot( + n8nCredentials( """ distinct select on columns """ - distinctOn: [OrganizationChatbotSelectColumn!] + distinctOn: [N8nCredentialsSelectColumn!] """ limit the number of rows returned @@ -17718,22 +17157,22 @@ type query_root { """ sort the rows by one or more columns """ - orderBy: [OrganizationChatbotOrderBy!] + orderBy: [N8nCredentialsOrderBy!] """ filter the rows returned """ - where: OrganizationChatbotBoolExp - ): [OrganizationChatbot!]! + where: N8nCredentialsBoolExp + ): [N8nCredentials!]! """ - fetch aggregated fields from the table: "organization_chatbot" + fetch aggregated fields from the table: "n8n_credentials" """ - organizationChatbotAggregate( + n8nCredentialsAggregate( """ distinct select on columns """ - distinctOn: [OrganizationChatbotSelectColumn!] + distinctOn: [N8nCredentialsSelectColumn!] """ limit the number of rows returned @@ -17748,21 +17187,18 @@ type query_root { """ sort the rows by one or more columns """ - orderBy: [OrganizationChatbotOrderBy!] + orderBy: [N8nCredentialsOrderBy!] """ filter the rows returned """ - where: OrganizationChatbotBoolExp - ): OrganizationChatbotAggregate! + where: N8nCredentialsBoolExp + ): N8nCredentialsAggregate! """ - fetch data from the table: "organization_chatbot" using primary key columns + fetch data from the table: "n8n_credentials" using primary key columns """ - organizationChatbotByPk( - chatbotId: Int! - organizationId: uuid! - ): OrganizationChatbot + n8nCredentialsByPk(id: uuid!): N8nCredentials """ fetch data from the table: "preference" @@ -18673,6 +18109,71 @@ type query_root { """ userByPk(userId: uuid!): User + """ + fetch data from the table: "user_oauth_connections" + """ + userOauthConnections( + """ + distinct select on columns + """ + distinctOn: [UserOauthConnectionsSelectColumn!] + + """ + limit the number of rows returned + """ + limit: Int + + """ + skip the first n rows. Use only with order_by + """ + offset: Int + + """ + sort the rows by one or more columns + """ + orderBy: [UserOauthConnectionsOrderBy!] + + """ + filter the rows returned + """ + where: UserOauthConnectionsBoolExp + ): [UserOauthConnections!]! + + """ + fetch aggregated fields from the table: "user_oauth_connections" + """ + userOauthConnectionsAggregate( + """ + distinct select on columns + """ + distinctOn: [UserOauthConnectionsSelectColumn!] + + """ + limit the number of rows returned + """ + limit: Int + + """ + skip the first n rows. Use only with order_by + """ + offset: Int + + """ + sort the rows by one or more columns + """ + orderBy: [UserOauthConnectionsOrderBy!] + + """ + filter the rows returned + """ + where: UserOauthConnectionsBoolExp + ): UserOauthConnectionsAggregate! + + """ + fetch data from the table: "user_oauth_connections" using primary key columns + """ + userOauthConnectionsByPk(id: uuid!): UserOauthConnections + """ fetch data from the table: "user_token" """ @@ -18737,6 +18238,71 @@ type query_root { fetch data from the table: "user_token" using primary key columns """ userTokenByPk(token: String!, userId: uuid!): UserToken + + """ + fetch data from the table: "user_workflows" + """ + userWorkflows( + """ + distinct select on columns + """ + distinctOn: [UserWorkflowsSelectColumn!] + + """ + limit the number of rows returned + """ + limit: Int + + """ + skip the first n rows. Use only with order_by + """ + offset: Int + + """ + sort the rows by one or more columns + """ + orderBy: [UserWorkflowsOrderBy!] + + """ + filter the rows returned + """ + where: UserWorkflowsBoolExp + ): [UserWorkflows!]! + + """ + fetch aggregated fields from the table: "user_workflows" + """ + userWorkflowsAggregate( + """ + distinct select on columns + """ + distinctOn: [UserWorkflowsSelectColumn!] + + """ + limit the number of rows returned + """ + limit: Int + + """ + skip the first n rows. Use only with order_by + """ + offset: Int + + """ + sort the rows by one or more columns + """ + orderBy: [UserWorkflowsOrderBy!] + + """ + filter the rows returned + """ + where: UserWorkflowsBoolExp + ): UserWorkflowsAggregate! + + """ + fetch data from the table: "user_workflows" using primary key columns + """ + userWorkflowsByPk(id: uuid!): UserWorkflows } input referralAggregateBoolExpCount { @@ -19138,123 +18704,38 @@ type subscription_root { """ filter the rows returned """ - where: ChatbotDomainBoolExp - ): ChatbotDomainAggregate! - - """ - fetch data from the table: "chatbot_domain" using primary key columns - """ - chatbotDomainByPk(chatbotId: Int!, domainName: String!): ChatbotDomain - - """ - fetch data from the table in a streaming manner: "chatbot_domain" - """ - chatbotDomainStream( - """ - maximum number of rows returned in a single batch - """ - batchSize: Int! - - """ - cursor to stream the results returned by the query - """ - cursor: [ChatbotDomainStreamCursorInput]! - - """ - filter the rows returned - """ - where: ChatbotDomainBoolExp - ): [ChatbotDomain!]! - - """ - fetch data from the table in a streaming manner: "chatbot" - """ - chatbotStream( - """ - maximum number of rows returned in a single batch - """ - batchSize: Int! - - """ - cursor to stream the results returned by the query - """ - cursor: [ChatbotStreamCursorInput]! - - """ - filter the rows returned - """ - where: ChatbotBoolExp - ): [Chatbot!]! - - """ - fetch data from the table: "complexity_enum" - """ - complexityEnum( - """ - distinct select on columns - """ - distinctOn: [ComplexityEnumSelectColumn!] - - """ - limit the number of rows returned - """ - limit: Int - - """ - skip the first n rows. Use only with order_by - """ - offset: Int - - """ - sort the rows by one or more columns - """ - orderBy: [ComplexityEnumOrderBy!] - - """ - filter the rows returned - """ - where: ComplexityEnumBoolExp - ): [ComplexityEnum!]! - - """ - fetch aggregated fields from the table: "complexity_enum" - """ - complexityEnumAggregate( - """ - distinct select on columns - """ - distinctOn: [ComplexityEnumSelectColumn!] - - """ - limit the number of rows returned - """ - limit: Int + where: ChatbotDomainBoolExp + ): ChatbotDomainAggregate! + + """ + fetch data from the table: "chatbot_domain" using primary key columns + """ + chatbotDomainByPk(chatbotId: Int!, domainName: String!): ChatbotDomain + """ + fetch data from the table in a streaming manner: "chatbot_domain" + """ + chatbotDomainStream( """ - skip the first n rows. Use only with order_by + maximum number of rows returned in a single batch """ - offset: Int + batchSize: Int! """ - sort the rows by one or more columns + cursor to stream the results returned by the query """ - orderBy: [ComplexityEnumOrderBy!] + cursor: [ChatbotDomainStreamCursorInput]! """ filter the rows returned """ - where: ComplexityEnumBoolExp - ): ComplexityEnumAggregate! - - """ - fetch data from the table: "complexity_enum" using primary key columns - """ - complexityEnumByPk(value: String!): ComplexityEnum + where: ChatbotDomainBoolExp + ): [ChatbotDomain!]! """ - fetch data from the table in a streaming manner: "complexity_enum" + fetch data from the table in a streaming manner: "chatbot" """ - complexityEnumStream( + chatbotStream( """ maximum number of rows returned in a single batch """ @@ -19263,22 +18744,22 @@ type subscription_root { """ cursor to stream the results returned by the query """ - cursor: [ComplexityEnumStreamCursorInput]! + cursor: [ChatbotStreamCursorInput]! """ filter the rows returned """ - where: ComplexityEnumBoolExp - ): [ComplexityEnum!]! + where: ChatbotBoolExp + ): [Chatbot!]! """ - fetch data from the table: "department" + fetch data from the table: "complexity_enum" """ - department( + complexityEnum( """ distinct select on columns """ - distinctOn: [DepartmentSelectColumn!] + distinctOn: [ComplexityEnumSelectColumn!] """ limit the number of rows returned @@ -19293,22 +18774,22 @@ type subscription_root { """ sort the rows by one or more columns """ - orderBy: [DepartmentOrderBy!] + orderBy: [ComplexityEnumOrderBy!] """ filter the rows returned """ - where: DepartmentBoolExp - ): [Department!]! + where: ComplexityEnumBoolExp + ): [ComplexityEnum!]! """ - fetch aggregated fields from the table: "department" + fetch aggregated fields from the table: "complexity_enum" """ - departmentAggregate( + complexityEnumAggregate( """ distinct select on columns """ - distinctOn: [DepartmentSelectColumn!] + distinctOn: [ComplexityEnumSelectColumn!] """ limit the number of rows returned @@ -19323,23 +18804,23 @@ type subscription_root { """ sort the rows by one or more columns """ - orderBy: [DepartmentOrderBy!] + orderBy: [ComplexityEnumOrderBy!] """ filter the rows returned """ - where: DepartmentBoolExp - ): DepartmentAggregate! + where: ComplexityEnumBoolExp + ): ComplexityEnumAggregate! """ - fetch data from the table: "department" using primary key columns + fetch data from the table: "complexity_enum" using primary key columns """ - departmentByPk(departmentId: Int!): Department + complexityEnumByPk(value: String!): ComplexityEnum """ - fetch data from the table in a streaming manner: "department" + fetch data from the table in a streaming manner: "complexity_enum" """ - departmentStream( + complexityEnumStream( """ maximum number of rows returned in a single batch """ @@ -19348,13 +18829,13 @@ type subscription_root { """ cursor to stream the results returned by the query """ - cursor: [DepartmentStreamCursorInput]! + cursor: [ComplexityEnumStreamCursorInput]! """ filter the rows returned """ - where: DepartmentBoolExp - ): [Department!]! + where: ComplexityEnumBoolExp + ): [ComplexityEnum!]! """ fetch data from the table: "domain_enum" @@ -19952,78 +19433,13 @@ type subscription_root { ): [Models!]! """ - fetch data from the table: "organization" - """ - organization( - """ - distinct select on columns - """ - distinctOn: [OrganizationSelectColumn!] - - """ - limit the number of rows returned - """ - limit: Int - - """ - skip the first n rows. Use only with order_by - """ - offset: Int - - """ - sort the rows by one or more columns - """ - orderBy: [OrganizationOrderBy!] - - """ - filter the rows returned - """ - where: OrganizationBoolExp - ): [Organization!]! - - """ - fetch aggregated fields from the table: "organization" - """ - organizationAggregate( - """ - distinct select on columns - """ - distinctOn: [OrganizationSelectColumn!] - - """ - limit the number of rows returned - """ - limit: Int - - """ - skip the first n rows. Use only with order_by - """ - offset: Int - - """ - sort the rows by one or more columns - """ - orderBy: [OrganizationOrderBy!] - - """ - filter the rows returned - """ - where: OrganizationBoolExp - ): OrganizationAggregate! - - """ - fetch data from the table: "organization" using primary key columns - """ - organizationByPk(organizationId: uuid!): Organization - - """ - fetch data from the table: "organization_chatbot" + fetch data from the table: "n8n_credentials" """ - organizationChatbot( + n8nCredentials( """ distinct select on columns """ - distinctOn: [OrganizationChatbotSelectColumn!] + distinctOn: [N8nCredentialsSelectColumn!] """ limit the number of rows returned @@ -20038,22 +19454,22 @@ type subscription_root { """ sort the rows by one or more columns """ - orderBy: [OrganizationChatbotOrderBy!] + orderBy: [N8nCredentialsOrderBy!] """ filter the rows returned """ - where: OrganizationChatbotBoolExp - ): [OrganizationChatbot!]! + where: N8nCredentialsBoolExp + ): [N8nCredentials!]! """ - fetch aggregated fields from the table: "organization_chatbot" + fetch aggregated fields from the table: "n8n_credentials" """ - organizationChatbotAggregate( + n8nCredentialsAggregate( """ distinct select on columns """ - distinctOn: [OrganizationChatbotSelectColumn!] + distinctOn: [N8nCredentialsSelectColumn!] """ limit the number of rows returned @@ -20068,46 +19484,23 @@ type subscription_root { """ sort the rows by one or more columns """ - orderBy: [OrganizationChatbotOrderBy!] + orderBy: [N8nCredentialsOrderBy!] """ filter the rows returned """ - where: OrganizationChatbotBoolExp - ): OrganizationChatbotAggregate! - - """ - fetch data from the table: "organization_chatbot" using primary key columns - """ - organizationChatbotByPk( - chatbotId: Int! - organizationId: uuid! - ): OrganizationChatbot + where: N8nCredentialsBoolExp + ): N8nCredentialsAggregate! """ - fetch data from the table in a streaming manner: "organization_chatbot" + fetch data from the table: "n8n_credentials" using primary key columns """ - organizationChatbotStream( - """ - maximum number of rows returned in a single batch - """ - batchSize: Int! - - """ - cursor to stream the results returned by the query - """ - cursor: [OrganizationChatbotStreamCursorInput]! - - """ - filter the rows returned - """ - where: OrganizationChatbotBoolExp - ): [OrganizationChatbot!]! + n8nCredentialsByPk(id: uuid!): N8nCredentials """ - fetch data from the table in a streaming manner: "organization" + fetch data from the table in a streaming manner: "n8n_credentials" """ - organizationStream( + n8nCredentialsStream( """ maximum number of rows returned in a single batch """ @@ -20116,13 +19509,13 @@ type subscription_root { """ cursor to stream the results returned by the query """ - cursor: [OrganizationStreamCursorInput]! + cursor: [N8nCredentialsStreamCursorInput]! """ filter the rows returned """ - where: OrganizationBoolExp - ): [Organization!]! + where: N8nCredentialsBoolExp + ): [N8nCredentials!]! """ fetch data from the table: "preference" @@ -21293,6 +20686,91 @@ type subscription_root { """ userByPk(userId: uuid!): User + """ + fetch data from the table: "user_oauth_connections" + """ + userOauthConnections( + """ + distinct select on columns + """ + distinctOn: [UserOauthConnectionsSelectColumn!] + + """ + limit the number of rows returned + """ + limit: Int + + """ + skip the first n rows. Use only with order_by + """ + offset: Int + + """ + sort the rows by one or more columns + """ + orderBy: [UserOauthConnectionsOrderBy!] + + """ + filter the rows returned + """ + where: UserOauthConnectionsBoolExp + ): [UserOauthConnections!]! + + """ + fetch aggregated fields from the table: "user_oauth_connections" + """ + userOauthConnectionsAggregate( + """ + distinct select on columns + """ + distinctOn: [UserOauthConnectionsSelectColumn!] + + """ + limit the number of rows returned + """ + limit: Int + + """ + skip the first n rows. Use only with order_by + """ + offset: Int + + """ + sort the rows by one or more columns + """ + orderBy: [UserOauthConnectionsOrderBy!] + + """ + filter the rows returned + """ + where: UserOauthConnectionsBoolExp + ): UserOauthConnectionsAggregate! + + """ + fetch data from the table: "user_oauth_connections" using primary key columns + """ + userOauthConnectionsByPk(id: uuid!): UserOauthConnections + + """ + fetch data from the table in a streaming manner: "user_oauth_connections" + """ + userOauthConnectionsStream( + """ + maximum number of rows returned in a single batch + """ + batchSize: Int! + + """ + cursor to stream the results returned by the query + """ + cursor: [UserOauthConnectionsStreamCursorInput]! + + """ + filter the rows returned + """ + where: UserOauthConnectionsBoolExp + ): [UserOauthConnections!]! + """ fetch data from the table in a streaming manner: "user" """ @@ -21397,6 +20875,91 @@ type subscription_root { """ where: UserTokenBoolExp ): [UserToken!]! + + """ + fetch data from the table: "user_workflows" + """ + userWorkflows( + """ + distinct select on columns + """ + distinctOn: [UserWorkflowsSelectColumn!] + + """ + limit the number of rows returned + """ + limit: Int + + """ + skip the first n rows. Use only with order_by + """ + offset: Int + + """ + sort the rows by one or more columns + """ + orderBy: [UserWorkflowsOrderBy!] + + """ + filter the rows returned + """ + where: UserWorkflowsBoolExp + ): [UserWorkflows!]! + + """ + fetch aggregated fields from the table: "user_workflows" + """ + userWorkflowsAggregate( + """ + distinct select on columns + """ + distinctOn: [UserWorkflowsSelectColumn!] + + """ + limit the number of rows returned + """ + limit: Int + + """ + skip the first n rows. Use only with order_by + """ + offset: Int + + """ + sort the rows by one or more columns + """ + orderBy: [UserWorkflowsOrderBy!] + + """ + filter the rows returned + """ + where: UserWorkflowsBoolExp + ): UserWorkflowsAggregate! + + """ + fetch data from the table: "user_workflows" using primary key columns + """ + userWorkflowsByPk(id: uuid!): UserWorkflows + + """ + fetch data from the table in a streaming manner: "user_workflows" + """ + userWorkflowsStream( + """ + maximum number of rows returned in a single batch + """ + batchSize: Int! + + """ + cursor to stream the results returned by the query + """ + cursor: [UserWorkflowsStreamCursorInput]! + + """ + filter the rows returned + """ + where: UserWorkflowsBoolExp + ): [UserWorkflows!]! } input tagEnumAggregateBoolExpCount { diff --git a/packages/mb-genql/generated/schema.ts b/packages/mb-genql/generated/schema.ts index a0649a892..4e0db896c 100644 --- a/packages/mb-genql/generated/schema.ts +++ b/packages/mb-genql/generated/schema.ts @@ -223,8 +223,6 @@ export interface Chatbot { defaultLength: Scalars["String"] | null; defaultTone: Scalars["String"] | null; defaultType: Scalars["String"] | null; - /** An object relationship */ - department: Department | null; departmentId: Scalars["Int"] | null; description: Scalars["String"] | null; disabled: Scalars["Boolean"] | null; @@ -241,10 +239,6 @@ export interface Chatbot { metadataAggregate: ChatbotDomainAggregate; name: Scalars["String"]; order: Scalars["Int"]; - /** An aggregate relationship */ - organizationChatbotsAggregate: OrganizationChatbotAggregate; - /** An array relationship */ - organization_chatbots: OrganizationChatbot[]; proExclusive: Scalars["Boolean"] | null; /** An array relationship */ prompts: PromptChatbot[]; @@ -591,9 +585,7 @@ export type ChatbotSelectColumn = /** select "chatbotAggregateBoolExpBool_andArgumentsColumns" columns of table "chatbot" */ export type ChatbotSelectColumnChatbotAggregateBoolExpBool_andArgumentsColumns = - | "disabled" - | "isPro" - | "proExclusive"; + "disabled" | "isPro" | "proExclusive"; /** select "chatbotAggregateBoolExpBool_orArgumentsColumns" columns of table "chatbot" */ export type ChatbotSelectColumnChatbotAggregateBoolExpBool_orArgumentsColumns = @@ -739,120 +731,6 @@ export type ComplexityEnumUpdateColumn = "prompt" | "value"; /** ordering argument of a cursor */ export type CursorOrdering = "ASC" | "DESC"; -/** columns and relationships of "department" */ -export interface Department { - /** An array relationship */ - chatbots: Chatbot[]; - /** An aggregate relationship */ - chatbotsAggregate: ChatbotAggregate; - departmentId: Scalars["Int"]; - name: Scalars["String"]; - __typename: "Department"; -} - -/** aggregated selection of "department" */ -export interface DepartmentAggregate { - aggregate: DepartmentAggregateFields | null; - nodes: Department[]; - __typename: "DepartmentAggregate"; -} - -/** aggregate fields of "department" */ -export interface DepartmentAggregateFields { - avg: DepartmentAvgFields | null; - count: Scalars["Int"]; - max: DepartmentMaxFields | null; - min: DepartmentMinFields | null; - stddev: DepartmentStddevFields | null; - stddevPop: DepartmentStddevPopFields | null; - stddevSamp: DepartmentStddevSampFields | null; - sum: DepartmentSumFields | null; - varPop: DepartmentVarPopFields | null; - varSamp: DepartmentVarSampFields | null; - variance: DepartmentVarianceFields | null; - __typename: "DepartmentAggregateFields"; -} - -/** aggregate avg on columns */ -export interface DepartmentAvgFields { - departmentId: Scalars["Float"] | null; - __typename: "DepartmentAvgFields"; -} - -/** unique or primary key constraints on table "department" */ -export type DepartmentConstraint = "department_pkey"; - -/** aggregate max on columns */ -export interface DepartmentMaxFields { - departmentId: Scalars["Int"] | null; - name: Scalars["String"] | null; - __typename: "DepartmentMaxFields"; -} - -/** aggregate min on columns */ -export interface DepartmentMinFields { - departmentId: Scalars["Int"] | null; - name: Scalars["String"] | null; - __typename: "DepartmentMinFields"; -} - -/** response of any mutation on the table "department" */ -export interface DepartmentMutationResponse { - /** number of rows affected by the mutation */ - affectedRows: Scalars["Int"]; - /** data from the rows affected by the mutation */ - returning: Department[]; - __typename: "DepartmentMutationResponse"; -} - -/** select columns of table "department" */ -export type DepartmentSelectColumn = "departmentId" | "name"; - -/** aggregate stddev on columns */ -export interface DepartmentStddevFields { - departmentId: Scalars["Float"] | null; - __typename: "DepartmentStddevFields"; -} - -/** aggregate stddevPop on columns */ -export interface DepartmentStddevPopFields { - departmentId: Scalars["Float"] | null; - __typename: "DepartmentStddevPopFields"; -} - -/** aggregate stddevSamp on columns */ -export interface DepartmentStddevSampFields { - departmentId: Scalars["Float"] | null; - __typename: "DepartmentStddevSampFields"; -} - -/** aggregate sum on columns */ -export interface DepartmentSumFields { - departmentId: Scalars["Int"] | null; - __typename: "DepartmentSumFields"; -} - -/** update columns of table "department" */ -export type DepartmentUpdateColumn = "departmentId" | "name"; - -/** aggregate varPop on columns */ -export interface DepartmentVarPopFields { - departmentId: Scalars["Float"] | null; - __typename: "DepartmentVarPopFields"; -} - -/** aggregate varSamp on columns */ -export interface DepartmentVarSampFields { - departmentId: Scalars["Float"] | null; - __typename: "DepartmentVarSampFields"; -} - -/** aggregate variance on columns */ -export interface DepartmentVarianceFields { - departmentId: Scalars["Float"] | null; - __typename: "DepartmentVarianceFields"; -} - /** columns and relationships of "domain_enum" */ export interface DomainEnum { added: Scalars["timestamptz"] | null; @@ -1405,208 +1283,95 @@ export type ModelsSelectColumn = "enabled" | "model" | "type"; /** update columns of table "models" */ export type ModelsUpdateColumn = "enabled" | "model" | "type"; -/** column ordering options */ -export type OrderBy = - | "ASC" - | "ASC_NULLS_FIRST" - | "ASC_NULLS_LAST" - | "DESC" - | "DESC_NULLS_FIRST" - | "DESC_NULLS_LAST"; - -/** columns and relationships of "organization" */ -export interface Organization { - name: Scalars["String"]; - /** An aggregate relationship */ - organizationChatbotsAggregate: OrganizationChatbotAggregate; - organizationId: Scalars["uuid"]; - /** An array relationship */ - organization_chatbots: OrganizationChatbot[]; - /** An object relationship */ - organization_preference: Preference | null; - /** An object relationship */ - user: User; +/** columns and relationships of "n8n_credentials" */ +export interface N8nCredentials { + createdAt: Scalars["timestamptz"]; + id: Scalars["uuid"]; + n8nCredentialId: Scalars["String"]; + provider: Scalars["String"]; + service: Scalars["String"]; userId: Scalars["uuid"]; - __typename: "Organization"; -} - -/** aggregated selection of "organization" */ -export interface OrganizationAggregate { - aggregate: OrganizationAggregateFields | null; - nodes: Organization[]; - __typename: "OrganizationAggregate"; -} - -/** aggregate fields of "organization" */ -export interface OrganizationAggregateFields { - count: Scalars["Int"]; - max: OrganizationMaxFields | null; - min: OrganizationMinFields | null; - __typename: "OrganizationAggregateFields"; -} - -/** columns and relationships of "organization_chatbot" */ -export interface OrganizationChatbot { - /** An object relationship */ - chatbot: Chatbot; - chatbotId: Scalars["Int"]; - isActive: Scalars["Boolean"]; - /** An object relationship */ - organization: Organization; - organizationId: Scalars["uuid"]; - __typename: "OrganizationChatbot"; + __typename: "N8nCredentials"; } -/** aggregated selection of "organization_chatbot" */ -export interface OrganizationChatbotAggregate { - aggregate: OrganizationChatbotAggregateFields | null; - nodes: OrganizationChatbot[]; - __typename: "OrganizationChatbotAggregate"; +/** aggregated selection of "n8n_credentials" */ +export interface N8nCredentialsAggregate { + aggregate: N8nCredentialsAggregateFields | null; + nodes: N8nCredentials[]; + __typename: "N8nCredentialsAggregate"; } -/** aggregate fields of "organization_chatbot" */ -export interface OrganizationChatbotAggregateFields { - avg: OrganizationChatbotAvgFields | null; +/** aggregate fields of "n8n_credentials" */ +export interface N8nCredentialsAggregateFields { count: Scalars["Int"]; - max: OrganizationChatbotMaxFields | null; - min: OrganizationChatbotMinFields | null; - stddev: OrganizationChatbotStddevFields | null; - stddevPop: OrganizationChatbotStddevPopFields | null; - stddevSamp: OrganizationChatbotStddevSampFields | null; - sum: OrganizationChatbotSumFields | null; - varPop: OrganizationChatbotVarPopFields | null; - varSamp: OrganizationChatbotVarSampFields | null; - variance: OrganizationChatbotVarianceFields | null; - __typename: "OrganizationChatbotAggregateFields"; -} - -/** aggregate avg on columns */ -export interface OrganizationChatbotAvgFields { - chatbotId: Scalars["Float"] | null; - __typename: "OrganizationChatbotAvgFields"; -} - -/** unique or primary key constraints on table "organization_chatbot" */ -export type OrganizationChatbotConstraint = "organization_chatbot_pkey"; - -/** aggregate max on columns */ -export interface OrganizationChatbotMaxFields { - chatbotId: Scalars["Int"] | null; - organizationId: Scalars["uuid"] | null; - __typename: "OrganizationChatbotMaxFields"; -} - -/** aggregate min on columns */ -export interface OrganizationChatbotMinFields { - chatbotId: Scalars["Int"] | null; - organizationId: Scalars["uuid"] | null; - __typename: "OrganizationChatbotMinFields"; -} - -/** response of any mutation on the table "organization_chatbot" */ -export interface OrganizationChatbotMutationResponse { - /** number of rows affected by the mutation */ - affectedRows: Scalars["Int"]; - /** data from the rows affected by the mutation */ - returning: OrganizationChatbot[]; - __typename: "OrganizationChatbotMutationResponse"; -} - -/** select columns of table "organization_chatbot" */ -export type OrganizationChatbotSelectColumn = - | "chatbotId" - | "isActive" - | "organizationId"; - -/** select "organizationChatbotAggregateBoolExpBool_andArgumentsColumns" columns of table "organization_chatbot" */ -export type OrganizationChatbotSelectColumnOrganizationChatbotAggregateBoolExpBool_andArgumentsColumns = - "isActive"; - -/** select "organizationChatbotAggregateBoolExpBool_orArgumentsColumns" columns of table "organization_chatbot" */ -export type OrganizationChatbotSelectColumnOrganizationChatbotAggregateBoolExpBool_orArgumentsColumns = - "isActive"; - -/** aggregate stddev on columns */ -export interface OrganizationChatbotStddevFields { - chatbotId: Scalars["Float"] | null; - __typename: "OrganizationChatbotStddevFields"; -} - -/** aggregate stddevPop on columns */ -export interface OrganizationChatbotStddevPopFields { - chatbotId: Scalars["Float"] | null; - __typename: "OrganizationChatbotStddevPopFields"; -} - -/** aggregate stddevSamp on columns */ -export interface OrganizationChatbotStddevSampFields { - chatbotId: Scalars["Float"] | null; - __typename: "OrganizationChatbotStddevSampFields"; -} - -/** aggregate sum on columns */ -export interface OrganizationChatbotSumFields { - chatbotId: Scalars["Int"] | null; - __typename: "OrganizationChatbotSumFields"; -} - -/** update columns of table "organization_chatbot" */ -export type OrganizationChatbotUpdateColumn = - | "chatbotId" - | "isActive" - | "organizationId"; - -/** aggregate varPop on columns */ -export interface OrganizationChatbotVarPopFields { - chatbotId: Scalars["Float"] | null; - __typename: "OrganizationChatbotVarPopFields"; -} - -/** aggregate varSamp on columns */ -export interface OrganizationChatbotVarSampFields { - chatbotId: Scalars["Float"] | null; - __typename: "OrganizationChatbotVarSampFields"; -} - -/** aggregate variance on columns */ -export interface OrganizationChatbotVarianceFields { - chatbotId: Scalars["Float"] | null; - __typename: "OrganizationChatbotVarianceFields"; + max: N8nCredentialsMaxFields | null; + min: N8nCredentialsMinFields | null; + __typename: "N8nCredentialsAggregateFields"; } -/** unique or primary key constraints on table "organization" */ -export type OrganizationConstraint = "organization_pkey"; +/** unique or primary key constraints on table "n8n_credentials" */ +export type N8nCredentialsConstraint = + | "n8n_credentials_n8n_credential_id_key" + | "n8n_credentials_pkey" + | "n8n_credentials_user_id_key"; /** aggregate max on columns */ -export interface OrganizationMaxFields { - name: Scalars["String"] | null; - organizationId: Scalars["uuid"] | null; +export interface N8nCredentialsMaxFields { + createdAt: Scalars["timestamptz"] | null; + id: Scalars["uuid"] | null; + n8nCredentialId: Scalars["String"] | null; + provider: Scalars["String"] | null; + service: Scalars["String"] | null; userId: Scalars["uuid"] | null; - __typename: "OrganizationMaxFields"; + __typename: "N8nCredentialsMaxFields"; } /** aggregate min on columns */ -export interface OrganizationMinFields { - name: Scalars["String"] | null; - organizationId: Scalars["uuid"] | null; +export interface N8nCredentialsMinFields { + createdAt: Scalars["timestamptz"] | null; + id: Scalars["uuid"] | null; + n8nCredentialId: Scalars["String"] | null; + provider: Scalars["String"] | null; + service: Scalars["String"] | null; userId: Scalars["uuid"] | null; - __typename: "OrganizationMinFields"; + __typename: "N8nCredentialsMinFields"; } -/** response of any mutation on the table "organization" */ -export interface OrganizationMutationResponse { +/** response of any mutation on the table "n8n_credentials" */ +export interface N8nCredentialsMutationResponse { /** number of rows affected by the mutation */ affectedRows: Scalars["Int"]; /** data from the rows affected by the mutation */ - returning: Organization[]; - __typename: "OrganizationMutationResponse"; + returning: N8nCredentials[]; + __typename: "N8nCredentialsMutationResponse"; } -/** select columns of table "organization" */ -export type OrganizationSelectColumn = "name" | "organizationId" | "userId"; +/** select columns of table "n8n_credentials" */ +export type N8nCredentialsSelectColumn = + | "createdAt" + | "id" + | "n8nCredentialId" + | "provider" + | "service" + | "userId"; + +/** update columns of table "n8n_credentials" */ +export type N8nCredentialsUpdateColumn = + | "createdAt" + | "id" + | "n8nCredentialId" + | "provider" + | "service" + | "userId"; -/** update columns of table "organization" */ -export type OrganizationUpdateColumn = "name" | "organizationId" | "userId"; +/** column ordering options */ +export type OrderBy = + | "ASC" + | "ASC_NULLS_FIRST" + | "ASC_NULLS_LAST" + | "DESC" + | "DESC_NULLS_FIRST" + | "DESC_NULLS_LAST"; /** This table stores user-specific preferences for quick access when they interact with a chatbot. */ export interface Preference { @@ -2984,10 +2749,6 @@ export interface User { isBlocked: Scalars["Boolean"] | null; isVerified: Scalars["Boolean"] | null; lastLogin: Scalars["timestamptz"] | null; - /** An array relationship */ - organizations: Organization[]; - /** An aggregate relationship */ - organizationsAggregate: OrganizationAggregate; password: Scalars["String"]; /** An object relationship */ preference: Preference | null; @@ -3094,6 +2855,96 @@ export interface UserMutationResponse { __typename: "UserMutationResponse"; } +/** columns and relationships of "user_oauth_connections" */ +export interface UserOauthConnections { + connectedAt: Scalars["timestamptz"]; + id: Scalars["uuid"]; + provider: Scalars["String"]; + revokedAt: Scalars["timestamptz"]; + scopes: Scalars["String"]; + service: Scalars["String"]; + status: Scalars["String"]; + userId: Scalars["uuid"]; + __typename: "UserOauthConnections"; +} + +/** aggregated selection of "user_oauth_connections" */ +export interface UserOauthConnectionsAggregate { + aggregate: UserOauthConnectionsAggregateFields | null; + nodes: UserOauthConnections[]; + __typename: "UserOauthConnectionsAggregate"; +} + +/** aggregate fields of "user_oauth_connections" */ +export interface UserOauthConnectionsAggregateFields { + count: Scalars["Int"]; + max: UserOauthConnectionsMaxFields | null; + min: UserOauthConnectionsMinFields | null; + __typename: "UserOauthConnectionsAggregateFields"; +} + +/** unique or primary key constraints on table "user_oauth_connections" */ +export type UserOauthConnectionsConstraint = + | "user_oauth_connections_pkey" + | "user_oauth_connections_user_id_key"; + +/** aggregate max on columns */ +export interface UserOauthConnectionsMaxFields { + connectedAt: Scalars["timestamptz"] | null; + id: Scalars["uuid"] | null; + provider: Scalars["String"] | null; + revokedAt: Scalars["timestamptz"] | null; + scopes: Scalars["String"] | null; + service: Scalars["String"] | null; + status: Scalars["String"] | null; + userId: Scalars["uuid"] | null; + __typename: "UserOauthConnectionsMaxFields"; +} + +/** aggregate min on columns */ +export interface UserOauthConnectionsMinFields { + connectedAt: Scalars["timestamptz"] | null; + id: Scalars["uuid"] | null; + provider: Scalars["String"] | null; + revokedAt: Scalars["timestamptz"] | null; + scopes: Scalars["String"] | null; + service: Scalars["String"] | null; + status: Scalars["String"] | null; + userId: Scalars["uuid"] | null; + __typename: "UserOauthConnectionsMinFields"; +} + +/** response of any mutation on the table "user_oauth_connections" */ +export interface UserOauthConnectionsMutationResponse { + /** number of rows affected by the mutation */ + affectedRows: Scalars["Int"]; + /** data from the rows affected by the mutation */ + returning: UserOauthConnections[]; + __typename: "UserOauthConnectionsMutationResponse"; +} + +/** select columns of table "user_oauth_connections" */ +export type UserOauthConnectionsSelectColumn = + | "connectedAt" + | "id" + | "provider" + | "revokedAt" + | "scopes" + | "service" + | "status" + | "userId"; + +/** update columns of table "user_oauth_connections" */ +export type UserOauthConnectionsUpdateColumn = + | "connectedAt" + | "id" + | "provider" + | "revokedAt" + | "scopes" + | "service" + | "status" + | "userId"; + /** select columns of table "user" */ export type UserSelectColumn = | "bio" @@ -3192,6 +3043,92 @@ export type UserUpdateColumn = | "userId" | "username"; +/** columns and relationships of "user_workflows" */ +export interface UserWorkflows { + createdAt: Scalars["timestamptz"]; + folderPath: Scalars["String"]; + id: Scalars["uuid"]; + service: Scalars["String"]; + userId: Scalars["uuid"]; + workflowId: Scalars["String"]; + workflowName: Scalars["String"]; + __typename: "UserWorkflows"; +} + +/** aggregated selection of "user_workflows" */ +export interface UserWorkflowsAggregate { + aggregate: UserWorkflowsAggregateFields | null; + nodes: UserWorkflows[]; + __typename: "UserWorkflowsAggregate"; +} + +/** aggregate fields of "user_workflows" */ +export interface UserWorkflowsAggregateFields { + count: Scalars["Int"]; + max: UserWorkflowsMaxFields | null; + min: UserWorkflowsMinFields | null; + __typename: "UserWorkflowsAggregateFields"; +} + +/** unique or primary key constraints on table "user_workflows" */ +export type UserWorkflowsConstraint = + | "user_workflows_created_at_key" + | "user_workflows_pkey" + | "user_workflows_user_id_key"; + +/** aggregate max on columns */ +export interface UserWorkflowsMaxFields { + createdAt: Scalars["timestamptz"] | null; + folderPath: Scalars["String"] | null; + id: Scalars["uuid"] | null; + service: Scalars["String"] | null; + userId: Scalars["uuid"] | null; + workflowId: Scalars["String"] | null; + workflowName: Scalars["String"] | null; + __typename: "UserWorkflowsMaxFields"; +} + +/** aggregate min on columns */ +export interface UserWorkflowsMinFields { + createdAt: Scalars["timestamptz"] | null; + folderPath: Scalars["String"] | null; + id: Scalars["uuid"] | null; + service: Scalars["String"] | null; + userId: Scalars["uuid"] | null; + workflowId: Scalars["String"] | null; + workflowName: Scalars["String"] | null; + __typename: "UserWorkflowsMinFields"; +} + +/** response of any mutation on the table "user_workflows" */ +export interface UserWorkflowsMutationResponse { + /** number of rows affected by the mutation */ + affectedRows: Scalars["Int"]; + /** data from the rows affected by the mutation */ + returning: UserWorkflows[]; + __typename: "UserWorkflowsMutationResponse"; +} + +/** select columns of table "user_workflows" */ +export type UserWorkflowsSelectColumn = + | "createdAt" + | "folderPath" + | "id" + | "service" + | "userId" + | "workflowId" + | "workflowName"; + +/** update columns of table "user_workflows" */ +export type UserWorkflowsUpdateColumn = + | "createdAt" + | "folderPath" + | "id" + | "service" + | "userId" + | "workflowId" + | "workflowName"; + /** mutation root */ export interface mutation_root { /** delete data from the table: "category" */ @@ -3218,10 +3155,6 @@ export interface mutation_root { deleteComplexityEnum: ComplexityEnumMutationResponse | null; /** delete single row from the table: "complexity_enum" */ deleteComplexityEnumByPk: ComplexityEnum | null; - /** delete data from the table: "department" */ - deleteDepartment: DepartmentMutationResponse | null; - /** delete single row from the table: "department" */ - deleteDepartmentByPk: Department | null; /** delete data from the table: "domain_enum" */ deleteDomainEnum: DomainEnumMutationResponse | null; /** delete single row from the table: "domain_enum" */ @@ -3250,14 +3183,10 @@ export interface mutation_root { deleteModelsEnum: ModelsEnumMutationResponse | null; /** delete single row from the table: "models_enum" */ deleteModelsEnumByPk: ModelsEnum | null; - /** delete data from the table: "organization" */ - deleteOrganization: OrganizationMutationResponse | null; - /** delete single row from the table: "organization" */ - deleteOrganizationByPk: Organization | null; - /** delete data from the table: "organization_chatbot" */ - deleteOrganizationChatbot: OrganizationChatbotMutationResponse | null; - /** delete single row from the table: "organization_chatbot" */ - deleteOrganizationChatbotByPk: OrganizationChatbot | null; + /** delete data from the table: "n8n_credentials" */ + deleteN8nCredentials: N8nCredentialsMutationResponse | null; + /** delete single row from the table: "n8n_credentials" */ + deleteN8nCredentialsByPk: N8nCredentials | null; /** delete data from the table: "preference" */ deletePreference: PreferenceMutationResponse | null; /** delete single row from the table: "preference" */ @@ -3312,10 +3241,18 @@ export interface mutation_root { deleteUser: UserMutationResponse | null; /** delete single row from the table: "user" */ deleteUserByPk: User | null; + /** delete data from the table: "user_oauth_connections" */ + deleteUserOauthConnections: UserOauthConnectionsMutationResponse | null; + /** delete single row from the table: "user_oauth_connections" */ + deleteUserOauthConnectionsByPk: UserOauthConnections | null; /** delete data from the table: "user_token" */ deleteUserToken: UserTokenMutationResponse | null; /** delete single row from the table: "user_token" */ deleteUserTokenByPk: UserToken | null; + /** delete data from the table: "user_workflows" */ + deleteUserWorkflows: UserWorkflowsMutationResponse | null; + /** delete single row from the table: "user_workflows" */ + deleteUserWorkflowsByPk: UserWorkflows | null; /** insert data into the table: "category" */ insertCategory: CategoryMutationResponse | null; /** insert data into the table: "category_enum" */ @@ -3340,10 +3277,6 @@ export interface mutation_root { insertComplexityEnum: ComplexityEnumMutationResponse | null; /** insert a single row into the table: "complexity_enum" */ insertComplexityEnumOne: ComplexityEnum | null; - /** insert data into the table: "department" */ - insertDepartment: DepartmentMutationResponse | null; - /** insert a single row into the table: "department" */ - insertDepartmentOne: Department | null; /** insert data into the table: "domain_enum" */ insertDomainEnum: DomainEnumMutationResponse | null; /** insert a single row into the table: "domain_enum" */ @@ -3372,14 +3305,10 @@ export interface mutation_root { insertModelsEnumOne: ModelsEnum | null; /** insert a single row into the table: "models" */ insertModelsOne: Models | null; - /** insert data into the table: "organization" */ - insertOrganization: OrganizationMutationResponse | null; - /** insert data into the table: "organization_chatbot" */ - insertOrganizationChatbot: OrganizationChatbotMutationResponse | null; - /** insert a single row into the table: "organization_chatbot" */ - insertOrganizationChatbotOne: OrganizationChatbot | null; - /** insert a single row into the table: "organization" */ - insertOrganizationOne: Organization | null; + /** insert data into the table: "n8n_credentials" */ + insertN8nCredentials: N8nCredentialsMutationResponse | null; + /** insert a single row into the table: "n8n_credentials" */ + insertN8nCredentialsOne: N8nCredentials | null; /** insert data into the table: "preference" */ insertPreference: PreferenceMutationResponse | null; /** insert a single row into the table: "preference" */ @@ -3434,12 +3363,20 @@ export interface mutation_root { insertTypeEnumOne: TypeEnum | null; /** insert data into the table: "user" */ insertUser: UserMutationResponse | null; + /** insert data into the table: "user_oauth_connections" */ + insertUserOauthConnections: UserOauthConnectionsMutationResponse | null; + /** insert a single row into the table: "user_oauth_connections" */ + insertUserOauthConnectionsOne: UserOauthConnections | null; /** insert a single row into the table: "user" */ insertUserOne: User | null; /** insert data into the table: "user_token" */ insertUserToken: UserTokenMutationResponse | null; /** insert a single row into the table: "user_token" */ insertUserTokenOne: UserToken | null; + /** insert data into the table: "user_workflows" */ + insertUserWorkflows: UserWorkflowsMutationResponse | null; + /** insert a single row into the table: "user_workflows" */ + insertUserWorkflowsOne: UserWorkflows | null; /** update data of the table: "category" */ updateCategory: CategoryMutationResponse | null; /** update single row of the table: "category" */ @@ -3476,12 +3413,6 @@ export interface mutation_root { updateComplexityEnumByPk: ComplexityEnum | null; /** update multiples rows of table: "complexity_enum" */ updateComplexityEnumMany: (ComplexityEnumMutationResponse | null)[] | null; - /** update data of the table: "department" */ - updateDepartment: DepartmentMutationResponse | null; - /** update single row of the table: "department" */ - updateDepartmentByPk: Department | null; - /** update multiples rows of table: "department" */ - updateDepartmentMany: (DepartmentMutationResponse | null)[] | null; /** update data of the table: "domain_enum" */ updateDomainEnum: DomainEnumMutationResponse | null; /** update single row of the table: "domain_enum" */ @@ -3524,20 +3455,12 @@ export interface mutation_root { updateModelsEnumMany: (ModelsEnumMutationResponse | null)[] | null; /** update multiples rows of table: "models" */ updateModelsMany: (ModelsMutationResponse | null)[] | null; - /** update data of the table: "organization" */ - updateOrganization: OrganizationMutationResponse | null; - /** update single row of the table: "organization" */ - updateOrganizationByPk: Organization | null; - /** update data of the table: "organization_chatbot" */ - updateOrganizationChatbot: OrganizationChatbotMutationResponse | null; - /** update single row of the table: "organization_chatbot" */ - updateOrganizationChatbotByPk: OrganizationChatbot | null; - /** update multiples rows of table: "organization_chatbot" */ - updateOrganizationChatbotMany: - | (OrganizationChatbotMutationResponse | null)[] - | null; - /** update multiples rows of table: "organization" */ - updateOrganizationMany: (OrganizationMutationResponse | null)[] | null; + /** update data of the table: "n8n_credentials" */ + updateN8nCredentials: N8nCredentialsMutationResponse | null; + /** update single row of the table: "n8n_credentials" */ + updateN8nCredentialsByPk: N8nCredentials | null; + /** update multiples rows of table: "n8n_credentials" */ + updateN8nCredentialsMany: (N8nCredentialsMutationResponse | null)[] | null; /** update data of the table: "preference" */ updatePreference: PreferenceMutationResponse | null; /** update single row of the table: "preference" */ @@ -3620,12 +3543,26 @@ export interface mutation_root { updateUserByPk: User | null; /** update multiples rows of table: "user" */ updateUserMany: (UserMutationResponse | null)[] | null; + /** update data of the table: "user_oauth_connections" */ + updateUserOauthConnections: UserOauthConnectionsMutationResponse | null; + /** update single row of the table: "user_oauth_connections" */ + updateUserOauthConnectionsByPk: UserOauthConnections | null; + /** update multiples rows of table: "user_oauth_connections" */ + updateUserOauthConnectionsMany: + | (UserOauthConnectionsMutationResponse | null)[] + | null; /** update data of the table: "user_token" */ updateUserToken: UserTokenMutationResponse | null; /** update single row of the table: "user_token" */ updateUserTokenByPk: UserToken | null; /** update multiples rows of table: "user_token" */ updateUserTokenMany: (UserTokenMutationResponse | null)[] | null; + /** update data of the table: "user_workflows" */ + updateUserWorkflows: UserWorkflowsMutationResponse | null; + /** update single row of the table: "user_workflows" */ + updateUserWorkflowsByPk: UserWorkflows | null; + /** update multiples rows of table: "user_workflows" */ + updateUserWorkflowsMany: (UserWorkflowsMutationResponse | null)[] | null; __typename: "mutation_root"; } @@ -3666,12 +3603,6 @@ export interface query_root { complexityEnumAggregate: ComplexityEnumAggregate; /** fetch data from the table: "complexity_enum" using primary key columns */ complexityEnumByPk: ComplexityEnum | null; - /** fetch data from the table: "department" */ - department: Department[]; - /** fetch aggregated fields from the table: "department" */ - departmentAggregate: DepartmentAggregate; - /** fetch data from the table: "department" using primary key columns */ - departmentByPk: Department | null; /** fetch data from the table: "domain_enum" */ domainEnum: DomainEnum[]; /** fetch aggregated fields from the table: "domain_enum" */ @@ -3714,18 +3645,12 @@ export interface query_root { modelsEnumAggregate: ModelsEnumAggregate; /** fetch data from the table: "models_enum" using primary key columns */ modelsEnumByPk: ModelsEnum | null; - /** fetch data from the table: "organization" */ - organization: Organization[]; - /** fetch aggregated fields from the table: "organization" */ - organizationAggregate: OrganizationAggregate; - /** fetch data from the table: "organization" using primary key columns */ - organizationByPk: Organization | null; - /** fetch data from the table: "organization_chatbot" */ - organizationChatbot: OrganizationChatbot[]; - /** fetch aggregated fields from the table: "organization_chatbot" */ - organizationChatbotAggregate: OrganizationChatbotAggregate; - /** fetch data from the table: "organization_chatbot" using primary key columns */ - organizationChatbotByPk: OrganizationChatbot | null; + /** fetch data from the table: "n8n_credentials" */ + n8nCredentials: N8nCredentials[]; + /** fetch aggregated fields from the table: "n8n_credentials" */ + n8nCredentialsAggregate: N8nCredentialsAggregate; + /** fetch data from the table: "n8n_credentials" using primary key columns */ + n8nCredentialsByPk: N8nCredentials | null; /** fetch data from the table: "preference" */ preference: Preference[]; /** fetch aggregated fields from the table: "preference" */ @@ -3808,12 +3733,24 @@ export interface query_root { userAggregate: UserAggregate; /** fetch data from the table: "user" using primary key columns */ userByPk: User | null; + /** fetch data from the table: "user_oauth_connections" */ + userOauthConnections: UserOauthConnections[]; + /** fetch aggregated fields from the table: "user_oauth_connections" */ + userOauthConnectionsAggregate: UserOauthConnectionsAggregate; + /** fetch data from the table: "user_oauth_connections" using primary key columns */ + userOauthConnectionsByPk: UserOauthConnections | null; /** fetch data from the table: "user_token" */ userToken: UserToken[]; /** fetch aggregated fields from the table: "user_token" */ userTokenAggregate: UserTokenAggregate; /** fetch data from the table: "user_token" using primary key columns */ userTokenByPk: UserToken | null; + /** fetch data from the table: "user_workflows" */ + userWorkflows: UserWorkflows[]; + /** fetch aggregated fields from the table: "user_workflows" */ + userWorkflowsAggregate: UserWorkflowsAggregate; + /** fetch data from the table: "user_workflows" using primary key columns */ + userWorkflowsByPk: UserWorkflows | null; __typename: "query_root"; } @@ -3866,14 +3803,6 @@ export interface subscription_root { complexityEnumByPk: ComplexityEnum | null; /** fetch data from the table in a streaming manner: "complexity_enum" */ complexityEnumStream: ComplexityEnum[]; - /** fetch data from the table: "department" */ - department: Department[]; - /** fetch aggregated fields from the table: "department" */ - departmentAggregate: DepartmentAggregate; - /** fetch data from the table: "department" using primary key columns */ - departmentByPk: Department | null; - /** fetch data from the table in a streaming manner: "department" */ - departmentStream: Department[]; /** fetch data from the table: "domain_enum" */ domainEnum: DomainEnum[]; /** fetch aggregated fields from the table: "domain_enum" */ @@ -3930,22 +3859,14 @@ export interface subscription_root { modelsEnumStream: ModelsEnum[]; /** fetch data from the table in a streaming manner: "models" */ modelsStream: Models[]; - /** fetch data from the table: "organization" */ - organization: Organization[]; - /** fetch aggregated fields from the table: "organization" */ - organizationAggregate: OrganizationAggregate; - /** fetch data from the table: "organization" using primary key columns */ - organizationByPk: Organization | null; - /** fetch data from the table: "organization_chatbot" */ - organizationChatbot: OrganizationChatbot[]; - /** fetch aggregated fields from the table: "organization_chatbot" */ - organizationChatbotAggregate: OrganizationChatbotAggregate; - /** fetch data from the table: "organization_chatbot" using primary key columns */ - organizationChatbotByPk: OrganizationChatbot | null; - /** fetch data from the table in a streaming manner: "organization_chatbot" */ - organizationChatbotStream: OrganizationChatbot[]; - /** fetch data from the table in a streaming manner: "organization" */ - organizationStream: Organization[]; + /** fetch data from the table: "n8n_credentials" */ + n8nCredentials: N8nCredentials[]; + /** fetch aggregated fields from the table: "n8n_credentials" */ + n8nCredentialsAggregate: N8nCredentialsAggregate; + /** fetch data from the table: "n8n_credentials" using primary key columns */ + n8nCredentialsByPk: N8nCredentials | null; + /** fetch data from the table in a streaming manner: "n8n_credentials" */ + n8nCredentialsStream: N8nCredentials[]; /** fetch data from the table: "preference" */ preference: Preference[]; /** fetch aggregated fields from the table: "preference" */ @@ -4054,6 +3975,14 @@ export interface subscription_root { userAggregate: UserAggregate; /** fetch data from the table: "user" using primary key columns */ userByPk: User | null; + /** fetch data from the table: "user_oauth_connections" */ + userOauthConnections: UserOauthConnections[]; + /** fetch aggregated fields from the table: "user_oauth_connections" */ + userOauthConnectionsAggregate: UserOauthConnectionsAggregate; + /** fetch data from the table: "user_oauth_connections" using primary key columns */ + userOauthConnectionsByPk: UserOauthConnections | null; + /** fetch data from the table in a streaming manner: "user_oauth_connections" */ + userOauthConnectionsStream: UserOauthConnections[]; /** fetch data from the table in a streaming manner: "user" */ userStream: User[]; /** fetch data from the table: "user_token" */ @@ -4064,6 +3993,14 @@ export interface subscription_root { userTokenByPk: UserToken | null; /** fetch data from the table in a streaming manner: "user_token" */ userTokenStream: UserToken[]; + /** fetch data from the table: "user_workflows" */ + userWorkflows: UserWorkflows[]; + /** fetch aggregated fields from the table: "user_workflows" */ + userWorkflowsAggregate: UserWorkflowsAggregate; + /** fetch data from the table: "user_workflows" using primary key columns */ + userWorkflowsByPk: UserWorkflows | null; + /** fetch data from the table in a streaming manner: "user_workflows" */ + userWorkflowsStream: UserWorkflows[]; __typename: "subscription_root"; } @@ -4613,8 +4550,6 @@ export interface ChatbotGenqlSelection { defaultLength?: boolean | number; defaultTone?: boolean | number; defaultType?: boolean | number; - /** An object relationship */ - department?: DepartmentGenqlSelection; departmentId?: boolean | number; description?: boolean | number; disabled?: boolean | number; @@ -4683,36 +4618,6 @@ export interface ChatbotGenqlSelection { }; name?: boolean | number; order?: boolean | number; - /** An aggregate relationship */ - organizationChatbotsAggregate?: OrganizationChatbotAggregateGenqlSelection & { - __args?: { - /** distinct select on columns */ - distinctOn?: OrganizationChatbotSelectColumn[] | null; - /** limit the number of rows returned */ - limit?: Scalars["Int"] | null; - /** skip the first n rows. Use only with order_by */ - offset?: Scalars["Int"] | null; - /** sort the rows by one or more columns */ - orderBy?: OrganizationChatbotOrderBy[] | null; - /** filter the rows returned */ - where?: OrganizationChatbotBoolExp | null; - }; - }; - /** An array relationship */ - organization_chatbots?: OrganizationChatbotGenqlSelection & { - __args?: { - /** distinct select on columns */ - distinctOn?: OrganizationChatbotSelectColumn[] | null; - /** limit the number of rows returned */ - limit?: Scalars["Int"] | null; - /** skip the first n rows. Use only with order_by */ - offset?: Scalars["Int"] | null; - /** sort the rows by one or more columns */ - orderBy?: OrganizationChatbotOrderBy[] | null; - /** filter the rows returned */ - where?: OrganizationChatbotBoolExp | null; - }; - }; proExclusive?: boolean | number; /** An array relationship */ prompts?: PromptChatbotGenqlSelection & { @@ -4874,7 +4779,6 @@ export interface ChatbotBoolExp { defaultLength?: StringComparisonExp | null; defaultTone?: StringComparisonExp | null; defaultType?: StringComparisonExp | null; - department?: DepartmentBoolExp | null; departmentId?: IntComparisonExp | null; description?: StringComparisonExp | null; disabled?: BooleanComparisonExp | null; @@ -4886,8 +4790,6 @@ export interface ChatbotBoolExp { metadataAggregate?: ChatbotDomainAggregateBoolExp | null; name?: StringComparisonExp | null; order?: IntComparisonExp | null; - organization_chatbots?: OrganizationChatbotBoolExp | null; - organization_chatbotsAggregate?: OrganizationChatbotAggregateBoolExp | null; proExclusive?: BooleanComparisonExp | null; prompts?: PromptChatbotBoolExp | null; promptsAggregate?: PromptChatbotAggregateBoolExp | null; @@ -5490,7 +5392,6 @@ export interface ChatbotInsertInput { defaultLength?: Scalars["String"] | null; defaultTone?: Scalars["String"] | null; defaultType?: Scalars["String"] | null; - department?: DepartmentObjRelInsertInput | null; departmentId?: Scalars["Int"] | null; description?: Scalars["String"] | null; disabled?: Scalars["Boolean"] | null; @@ -5500,7 +5401,6 @@ export interface ChatbotInsertInput { metadata?: ChatbotDomainArrRelInsertInput | null; name?: Scalars["String"] | null; order?: Scalars["Int"] | null; - organization_chatbots?: OrganizationChatbotArrRelInsertInput | null; proExclusive?: Scalars["Boolean"] | null; prompts?: PromptChatbotArrRelInsertInput | null; threads?: ThreadArrRelInsertInput | null; @@ -5607,7 +5507,6 @@ export interface ChatbotOrderBy { defaultLength?: OrderBy | null; defaultTone?: OrderBy | null; defaultType?: OrderBy | null; - department?: DepartmentOrderBy | null; departmentId?: OrderBy | null; description?: OrderBy | null; disabled?: OrderBy | null; @@ -5617,7 +5516,6 @@ export interface ChatbotOrderBy { metadataAggregate?: ChatbotDomainAggregateOrderBy | null; name?: OrderBy | null; order?: OrderBy | null; - organization_chatbotsAggregate?: OrganizationChatbotAggregateOrderBy | null; proExclusive?: OrderBy | null; promptsAggregate?: PromptChatbotAggregateOrderBy | null; threadsAggregate?: ThreadAggregateOrderBy | null; @@ -5989,245 +5887,14 @@ export interface ComplexityEnumUpdates { where: ComplexityEnumBoolExp; } -/** columns and relationships of "department" */ -export interface DepartmentGenqlSelection { - /** An array relationship */ - chatbots?: ChatbotGenqlSelection & { +/** columns and relationships of "domain_enum" */ +export interface DomainEnumGenqlSelection { + added?: boolean | number; + /** An aggregate relationship */ + categoryEnumsAggregate?: CategoryEnumAggregateGenqlSelection & { __args?: { /** distinct select on columns */ - distinctOn?: ChatbotSelectColumn[] | null; - /** limit the number of rows returned */ - limit?: Scalars["Int"] | null; - /** skip the first n rows. Use only with order_by */ - offset?: Scalars["Int"] | null; - /** sort the rows by one or more columns */ - orderBy?: ChatbotOrderBy[] | null; - /** filter the rows returned */ - where?: ChatbotBoolExp | null; - }; - }; - /** An aggregate relationship */ - chatbotsAggregate?: ChatbotAggregateGenqlSelection & { - __args?: { - /** distinct select on columns */ - distinctOn?: ChatbotSelectColumn[] | null; - /** limit the number of rows returned */ - limit?: Scalars["Int"] | null; - /** skip the first n rows. Use only with order_by */ - offset?: Scalars["Int"] | null; - /** sort the rows by one or more columns */ - orderBy?: ChatbotOrderBy[] | null; - /** filter the rows returned */ - where?: ChatbotBoolExp | null; - }; - }; - departmentId?: boolean | number; - name?: boolean | number; - __typename?: boolean | number; - __scalar?: boolean | number; -} - -/** aggregated selection of "department" */ -export interface DepartmentAggregateGenqlSelection { - aggregate?: DepartmentAggregateFieldsGenqlSelection; - nodes?: DepartmentGenqlSelection; - __typename?: boolean | number; - __scalar?: boolean | number; -} - -/** aggregate fields of "department" */ -export interface DepartmentAggregateFieldsGenqlSelection { - avg?: DepartmentAvgFieldsGenqlSelection; - count?: - | { - __args: { - columns?: DepartmentSelectColumn[] | null; - distinct?: Scalars["Boolean"] | null; - }; - } - | boolean - | number; - max?: DepartmentMaxFieldsGenqlSelection; - min?: DepartmentMinFieldsGenqlSelection; - stddev?: DepartmentStddevFieldsGenqlSelection; - stddevPop?: DepartmentStddevPopFieldsGenqlSelection; - stddevSamp?: DepartmentStddevSampFieldsGenqlSelection; - sum?: DepartmentSumFieldsGenqlSelection; - varPop?: DepartmentVarPopFieldsGenqlSelection; - varSamp?: DepartmentVarSampFieldsGenqlSelection; - variance?: DepartmentVarianceFieldsGenqlSelection; - __typename?: boolean | number; - __scalar?: boolean | number; -} - -/** aggregate avg on columns */ -export interface DepartmentAvgFieldsGenqlSelection { - departmentId?: boolean | number; - __typename?: boolean | number; - __scalar?: boolean | number; -} - -/** Boolean expression to filter rows from the table "department". All fields are combined with a logical 'AND'. */ -export interface DepartmentBoolExp { - _and?: DepartmentBoolExp[] | null; - _not?: DepartmentBoolExp | null; - _or?: DepartmentBoolExp[] | null; - chatbots?: ChatbotBoolExp | null; - chatbotsAggregate?: ChatbotAggregateBoolExp | null; - departmentId?: IntComparisonExp | null; - name?: StringComparisonExp | null; -} - -/** input type for incrementing numeric columns in table "department" */ -export interface DepartmentIncInput { - departmentId?: Scalars["Int"] | null; -} - -/** input type for inserting data into table "department" */ -export interface DepartmentInsertInput { - chatbots?: ChatbotArrRelInsertInput | null; - departmentId?: Scalars["Int"] | null; - name?: Scalars["String"] | null; -} - -/** aggregate max on columns */ -export interface DepartmentMaxFieldsGenqlSelection { - departmentId?: boolean | number; - name?: boolean | number; - __typename?: boolean | number; - __scalar?: boolean | number; -} - -/** aggregate min on columns */ -export interface DepartmentMinFieldsGenqlSelection { - departmentId?: boolean | number; - name?: boolean | number; - __typename?: boolean | number; - __scalar?: boolean | number; -} - -/** response of any mutation on the table "department" */ -export interface DepartmentMutationResponseGenqlSelection { - /** number of rows affected by the mutation */ - affectedRows?: boolean | number; - /** data from the rows affected by the mutation */ - returning?: DepartmentGenqlSelection; - __typename?: boolean | number; - __scalar?: boolean | number; -} - -/** input type for inserting object relation for remote table "department" */ -export interface DepartmentObjRelInsertInput { - data: DepartmentInsertInput; - /** upsert condition */ - onConflict?: DepartmentOnConflict | null; -} - -/** on_conflict condition type for table "department" */ -export interface DepartmentOnConflict { - constraint: DepartmentConstraint; - updateColumns?: DepartmentUpdateColumn[]; - where?: DepartmentBoolExp | null; -} - -/** Ordering options when selecting data from "department". */ -export interface DepartmentOrderBy { - chatbotsAggregate?: ChatbotAggregateOrderBy | null; - departmentId?: OrderBy | null; - name?: OrderBy | null; -} - -/** primary key columns input for table: department */ -export interface DepartmentPkColumnsInput { - departmentId: Scalars["Int"]; -} - -/** input type for updating data in table "department" */ -export interface DepartmentSetInput { - departmentId?: Scalars["Int"] | null; - name?: Scalars["String"] | null; -} - -/** aggregate stddev on columns */ -export interface DepartmentStddevFieldsGenqlSelection { - departmentId?: boolean | number; - __typename?: boolean | number; - __scalar?: boolean | number; -} - -/** aggregate stddevPop on columns */ -export interface DepartmentStddevPopFieldsGenqlSelection { - departmentId?: boolean | number; - __typename?: boolean | number; - __scalar?: boolean | number; -} - -/** aggregate stddevSamp on columns */ -export interface DepartmentStddevSampFieldsGenqlSelection { - departmentId?: boolean | number; - __typename?: boolean | number; - __scalar?: boolean | number; -} - -/** Streaming cursor of the table "department" */ -export interface DepartmentStreamCursorInput { - /** Stream column input with initial value */ - initialValue: DepartmentStreamCursorValueInput; - /** cursor ordering */ - ordering?: CursorOrdering | null; -} - -/** Initial value of the column from where the streaming should start */ -export interface DepartmentStreamCursorValueInput { - departmentId?: Scalars["Int"] | null; - name?: Scalars["String"] | null; -} - -/** aggregate sum on columns */ -export interface DepartmentSumFieldsGenqlSelection { - departmentId?: boolean | number; - __typename?: boolean | number; - __scalar?: boolean | number; -} - -export interface DepartmentUpdates { - /** increments the numeric columns with given value of the filtered values */ - _inc?: DepartmentIncInput | null; - /** sets the columns of the filtered rows to the given values */ - _set?: DepartmentSetInput | null; - /** filter the rows which have to be updated */ - where: DepartmentBoolExp; -} - -/** aggregate varPop on columns */ -export interface DepartmentVarPopFieldsGenqlSelection { - departmentId?: boolean | number; - __typename?: boolean | number; - __scalar?: boolean | number; -} - -/** aggregate varSamp on columns */ -export interface DepartmentVarSampFieldsGenqlSelection { - departmentId?: boolean | number; - __typename?: boolean | number; - __scalar?: boolean | number; -} - -/** aggregate variance on columns */ -export interface DepartmentVarianceFieldsGenqlSelection { - departmentId?: boolean | number; - __typename?: boolean | number; - __scalar?: boolean | number; -} - -/** columns and relationships of "domain_enum" */ -export interface DomainEnumGenqlSelection { - added?: boolean | number; - /** An aggregate relationship */ - categoryEnumsAggregate?: CategoryEnumAggregateGenqlSelection & { - __args?: { - /** distinct select on columns */ - distinctOn?: CategoryEnumSelectColumn[] | null; + distinctOn?: CategoryEnumSelectColumn[] | null; /** limit the number of rows returned */ limit?: Scalars["Int"] | null; /** skip the first n rows. Use only with order_by */ @@ -7795,514 +7462,168 @@ export interface ModelsUpdates { where: ModelsBoolExp; } -/** Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. */ -export interface NumericComparisonExp { - _eq?: Scalars["numeric"] | null; - _gt?: Scalars["numeric"] | null; - _gte?: Scalars["numeric"] | null; - _in?: Scalars["numeric"][] | null; - _isNull?: Scalars["Boolean"] | null; - _lt?: Scalars["numeric"] | null; - _lte?: Scalars["numeric"] | null; - _neq?: Scalars["numeric"] | null; - _nin?: Scalars["numeric"][] | null; -} - -/** columns and relationships of "organization" */ -export interface OrganizationGenqlSelection { - name?: boolean | number; - /** An aggregate relationship */ - organizationChatbotsAggregate?: OrganizationChatbotAggregateGenqlSelection & { - __args?: { - /** distinct select on columns */ - distinctOn?: OrganizationChatbotSelectColumn[] | null; - /** limit the number of rows returned */ - limit?: Scalars["Int"] | null; - /** skip the first n rows. Use only with order_by */ - offset?: Scalars["Int"] | null; - /** sort the rows by one or more columns */ - orderBy?: OrganizationChatbotOrderBy[] | null; - /** filter the rows returned */ - where?: OrganizationChatbotBoolExp | null; - }; - }; - organizationId?: boolean | number; - /** An array relationship */ - organization_chatbots?: OrganizationChatbotGenqlSelection & { - __args?: { - /** distinct select on columns */ - distinctOn?: OrganizationChatbotSelectColumn[] | null; - /** limit the number of rows returned */ - limit?: Scalars["Int"] | null; - /** skip the first n rows. Use only with order_by */ - offset?: Scalars["Int"] | null; - /** sort the rows by one or more columns */ - orderBy?: OrganizationChatbotOrderBy[] | null; - /** filter the rows returned */ - where?: OrganizationChatbotBoolExp | null; - }; - }; - /** An object relationship */ - organization_preference?: PreferenceGenqlSelection; - /** An object relationship */ - user?: UserGenqlSelection; +/** columns and relationships of "n8n_credentials" */ +export interface N8nCredentialsGenqlSelection { + createdAt?: boolean | number; + id?: boolean | number; + n8nCredentialId?: boolean | number; + provider?: boolean | number; + service?: boolean | number; userId?: boolean | number; __typename?: boolean | number; __scalar?: boolean | number; } -/** aggregated selection of "organization" */ -export interface OrganizationAggregateGenqlSelection { - aggregate?: OrganizationAggregateFieldsGenqlSelection; - nodes?: OrganizationGenqlSelection; +/** aggregated selection of "n8n_credentials" */ +export interface N8nCredentialsAggregateGenqlSelection { + aggregate?: N8nCredentialsAggregateFieldsGenqlSelection; + nodes?: N8nCredentialsGenqlSelection; __typename?: boolean | number; __scalar?: boolean | number; } -export interface OrganizationAggregateBoolExp { - count?: organizationAggregateBoolExpCount | null; -} - -/** aggregate fields of "organization" */ -export interface OrganizationAggregateFieldsGenqlSelection { +/** aggregate fields of "n8n_credentials" */ +export interface N8nCredentialsAggregateFieldsGenqlSelection { count?: | { __args: { - columns?: OrganizationSelectColumn[] | null; + columns?: N8nCredentialsSelectColumn[] | null; distinct?: Scalars["Boolean"] | null; }; } | boolean | number; - max?: OrganizationMaxFieldsGenqlSelection; - min?: OrganizationMinFieldsGenqlSelection; + max?: N8nCredentialsMaxFieldsGenqlSelection; + min?: N8nCredentialsMinFieldsGenqlSelection; __typename?: boolean | number; __scalar?: boolean | number; } -/** order by aggregate values of table "organization" */ -export interface OrganizationAggregateOrderBy { - count?: OrderBy | null; - max?: OrganizationMaxOrderBy | null; - min?: OrganizationMinOrderBy | null; -} - -/** input type for inserting array relation for remote table "organization" */ -export interface OrganizationArrRelInsertInput { - data: OrganizationInsertInput[]; - /** upsert condition */ - onConflict?: OrganizationOnConflict | null; -} - -/** Boolean expression to filter rows from the table "organization". All fields are combined with a logical 'AND'. */ -export interface OrganizationBoolExp { - _and?: OrganizationBoolExp[] | null; - _not?: OrganizationBoolExp | null; - _or?: OrganizationBoolExp[] | null; - name?: StringComparisonExp | null; - organizationId?: UuidComparisonExp | null; - organization_chatbots?: OrganizationChatbotBoolExp | null; - organization_chatbotsAggregate?: OrganizationChatbotAggregateBoolExp | null; - organization_preference?: PreferenceBoolExp | null; - user?: UserBoolExp | null; +/** Boolean expression to filter rows from the table "n8n_credentials". All fields are combined with a logical 'AND'. */ +export interface N8nCredentialsBoolExp { + _and?: N8nCredentialsBoolExp[] | null; + _not?: N8nCredentialsBoolExp | null; + _or?: N8nCredentialsBoolExp[] | null; + createdAt?: TimestamptzComparisonExp | null; + id?: UuidComparisonExp | null; + n8nCredentialId?: StringComparisonExp | null; + provider?: StringComparisonExp | null; + service?: StringComparisonExp | null; userId?: UuidComparisonExp | null; } -/** columns and relationships of "organization_chatbot" */ -export interface OrganizationChatbotGenqlSelection { - /** An object relationship */ - chatbot?: ChatbotGenqlSelection; - chatbotId?: boolean | number; - isActive?: boolean | number; - /** An object relationship */ - organization?: OrganizationGenqlSelection; - organizationId?: boolean | number; - __typename?: boolean | number; - __scalar?: boolean | number; -} - -/** aggregated selection of "organization_chatbot" */ -export interface OrganizationChatbotAggregateGenqlSelection { - aggregate?: OrganizationChatbotAggregateFieldsGenqlSelection; - nodes?: OrganizationChatbotGenqlSelection; - __typename?: boolean | number; - __scalar?: boolean | number; -} - -export interface OrganizationChatbotAggregateBoolExp { - bool_and?: organizationChatbotAggregateBoolExpBool_and | null; - bool_or?: organizationChatbotAggregateBoolExpBool_or | null; - count?: organizationChatbotAggregateBoolExpCount | null; -} - -/** aggregate fields of "organization_chatbot" */ -export interface OrganizationChatbotAggregateFieldsGenqlSelection { - avg?: OrganizationChatbotAvgFieldsGenqlSelection; - count?: - | { - __args: { - columns?: OrganizationChatbotSelectColumn[] | null; - distinct?: Scalars["Boolean"] | null; - }; - } - | boolean - | number; - max?: OrganizationChatbotMaxFieldsGenqlSelection; - min?: OrganizationChatbotMinFieldsGenqlSelection; - stddev?: OrganizationChatbotStddevFieldsGenqlSelection; - stddevPop?: OrganizationChatbotStddevPopFieldsGenqlSelection; - stddevSamp?: OrganizationChatbotStddevSampFieldsGenqlSelection; - sum?: OrganizationChatbotSumFieldsGenqlSelection; - varPop?: OrganizationChatbotVarPopFieldsGenqlSelection; - varSamp?: OrganizationChatbotVarSampFieldsGenqlSelection; - variance?: OrganizationChatbotVarianceFieldsGenqlSelection; - __typename?: boolean | number; - __scalar?: boolean | number; -} - -/** order by aggregate values of table "organization_chatbot" */ -export interface OrganizationChatbotAggregateOrderBy { - avg?: OrganizationChatbotAvgOrderBy | null; - count?: OrderBy | null; - max?: OrganizationChatbotMaxOrderBy | null; - min?: OrganizationChatbotMinOrderBy | null; - stddev?: OrganizationChatbotStddevOrderBy | null; - stddevPop?: OrganizationChatbotStddevPopOrderBy | null; - stddevSamp?: OrganizationChatbotStddevSampOrderBy | null; - sum?: OrganizationChatbotSumOrderBy | null; - varPop?: OrganizationChatbotVarPopOrderBy | null; - varSamp?: OrganizationChatbotVarSampOrderBy | null; - variance?: OrganizationChatbotVarianceOrderBy | null; -} - -/** input type for inserting array relation for remote table "organization_chatbot" */ -export interface OrganizationChatbotArrRelInsertInput { - data: OrganizationChatbotInsertInput[]; - /** upsert condition */ - onConflict?: OrganizationChatbotOnConflict | null; -} - -/** aggregate avg on columns */ -export interface OrganizationChatbotAvgFieldsGenqlSelection { - chatbotId?: boolean | number; - __typename?: boolean | number; - __scalar?: boolean | number; -} - -/** order by avg() on columns of table "organization_chatbot" */ -export interface OrganizationChatbotAvgOrderBy { - chatbotId?: OrderBy | null; -} - -/** Boolean expression to filter rows from the table "organization_chatbot". All fields are combined with a logical 'AND'. */ -export interface OrganizationChatbotBoolExp { - _and?: OrganizationChatbotBoolExp[] | null; - _not?: OrganizationChatbotBoolExp | null; - _or?: OrganizationChatbotBoolExp[] | null; - chatbot?: ChatbotBoolExp | null; - chatbotId?: IntComparisonExp | null; - isActive?: BooleanComparisonExp | null; - organization?: OrganizationBoolExp | null; - organizationId?: UuidComparisonExp | null; -} - -/** input type for incrementing numeric columns in table "organization_chatbot" */ -export interface OrganizationChatbotIncInput { - chatbotId?: Scalars["Int"] | null; -} - -/** input type for inserting data into table "organization_chatbot" */ -export interface OrganizationChatbotInsertInput { - chatbot?: ChatbotObjRelInsertInput | null; - chatbotId?: Scalars["Int"] | null; - isActive?: Scalars["Boolean"] | null; - organization?: OrganizationObjRelInsertInput | null; - organizationId?: Scalars["uuid"] | null; -} - -/** aggregate max on columns */ -export interface OrganizationChatbotMaxFieldsGenqlSelection { - chatbotId?: boolean | number; - organizationId?: boolean | number; - __typename?: boolean | number; - __scalar?: boolean | number; -} - -/** order by max() on columns of table "organization_chatbot" */ -export interface OrganizationChatbotMaxOrderBy { - chatbotId?: OrderBy | null; - organizationId?: OrderBy | null; -} - -/** aggregate min on columns */ -export interface OrganizationChatbotMinFieldsGenqlSelection { - chatbotId?: boolean | number; - organizationId?: boolean | number; - __typename?: boolean | number; - __scalar?: boolean | number; -} - -/** order by min() on columns of table "organization_chatbot" */ -export interface OrganizationChatbotMinOrderBy { - chatbotId?: OrderBy | null; - organizationId?: OrderBy | null; -} - -/** response of any mutation on the table "organization_chatbot" */ -export interface OrganizationChatbotMutationResponseGenqlSelection { - /** number of rows affected by the mutation */ - affectedRows?: boolean | number; - /** data from the rows affected by the mutation */ - returning?: OrganizationChatbotGenqlSelection; - __typename?: boolean | number; - __scalar?: boolean | number; -} - -/** on_conflict condition type for table "organization_chatbot" */ -export interface OrganizationChatbotOnConflict { - constraint: OrganizationChatbotConstraint; - updateColumns?: OrganizationChatbotUpdateColumn[]; - where?: OrganizationChatbotBoolExp | null; -} - -/** Ordering options when selecting data from "organization_chatbot". */ -export interface OrganizationChatbotOrderBy { - chatbot?: ChatbotOrderBy | null; - chatbotId?: OrderBy | null; - isActive?: OrderBy | null; - organization?: OrganizationOrderBy | null; - organizationId?: OrderBy | null; -} - -/** primary key columns input for table: organization_chatbot */ -export interface OrganizationChatbotPkColumnsInput { - chatbotId: Scalars["Int"]; - organizationId: Scalars["uuid"]; -} - -/** input type for updating data in table "organization_chatbot" */ -export interface OrganizationChatbotSetInput { - chatbotId?: Scalars["Int"] | null; - isActive?: Scalars["Boolean"] | null; - organizationId?: Scalars["uuid"] | null; -} - -/** aggregate stddev on columns */ -export interface OrganizationChatbotStddevFieldsGenqlSelection { - chatbotId?: boolean | number; - __typename?: boolean | number; - __scalar?: boolean | number; -} - -/** order by stddev() on columns of table "organization_chatbot" */ -export interface OrganizationChatbotStddevOrderBy { - chatbotId?: OrderBy | null; -} - -/** aggregate stddevPop on columns */ -export interface OrganizationChatbotStddevPopFieldsGenqlSelection { - chatbotId?: boolean | number; - __typename?: boolean | number; - __scalar?: boolean | number; -} - -/** order by stddevPop() on columns of table "organization_chatbot" */ -export interface OrganizationChatbotStddevPopOrderBy { - chatbotId?: OrderBy | null; -} - -/** aggregate stddevSamp on columns */ -export interface OrganizationChatbotStddevSampFieldsGenqlSelection { - chatbotId?: boolean | number; - __typename?: boolean | number; - __scalar?: boolean | number; -} - -/** order by stddevSamp() on columns of table "organization_chatbot" */ -export interface OrganizationChatbotStddevSampOrderBy { - chatbotId?: OrderBy | null; -} - -/** Streaming cursor of the table "organization_chatbot" */ -export interface OrganizationChatbotStreamCursorInput { - /** Stream column input with initial value */ - initialValue: OrganizationChatbotStreamCursorValueInput; - /** cursor ordering */ - ordering?: CursorOrdering | null; -} - -/** Initial value of the column from where the streaming should start */ -export interface OrganizationChatbotStreamCursorValueInput { - chatbotId?: Scalars["Int"] | null; - isActive?: Scalars["Boolean"] | null; - organizationId?: Scalars["uuid"] | null; -} - -/** aggregate sum on columns */ -export interface OrganizationChatbotSumFieldsGenqlSelection { - chatbotId?: boolean | number; - __typename?: boolean | number; - __scalar?: boolean | number; -} - -/** order by sum() on columns of table "organization_chatbot" */ -export interface OrganizationChatbotSumOrderBy { - chatbotId?: OrderBy | null; -} - -export interface OrganizationChatbotUpdates { - /** increments the numeric columns with given value of the filtered values */ - _inc?: OrganizationChatbotIncInput | null; - /** sets the columns of the filtered rows to the given values */ - _set?: OrganizationChatbotSetInput | null; - /** filter the rows which have to be updated */ - where: OrganizationChatbotBoolExp; -} - -/** aggregate varPop on columns */ -export interface OrganizationChatbotVarPopFieldsGenqlSelection { - chatbotId?: boolean | number; - __typename?: boolean | number; - __scalar?: boolean | number; -} - -/** order by varPop() on columns of table "organization_chatbot" */ -export interface OrganizationChatbotVarPopOrderBy { - chatbotId?: OrderBy | null; -} - -/** aggregate varSamp on columns */ -export interface OrganizationChatbotVarSampFieldsGenqlSelection { - chatbotId?: boolean | number; - __typename?: boolean | number; - __scalar?: boolean | number; -} - -/** order by varSamp() on columns of table "organization_chatbot" */ -export interface OrganizationChatbotVarSampOrderBy { - chatbotId?: OrderBy | null; -} - -/** aggregate variance on columns */ -export interface OrganizationChatbotVarianceFieldsGenqlSelection { - chatbotId?: boolean | number; - __typename?: boolean | number; - __scalar?: boolean | number; -} - -/** order by variance() on columns of table "organization_chatbot" */ -export interface OrganizationChatbotVarianceOrderBy { - chatbotId?: OrderBy | null; -} - -/** input type for inserting data into table "organization" */ -export interface OrganizationInsertInput { - name?: Scalars["String"] | null; - organizationId?: Scalars["uuid"] | null; - organization_chatbots?: OrganizationChatbotArrRelInsertInput | null; - organization_preference?: PreferenceObjRelInsertInput | null; - user?: UserObjRelInsertInput | null; +/** input type for inserting data into table "n8n_credentials" */ +export interface N8nCredentialsInsertInput { + createdAt?: Scalars["timestamptz"] | null; + id?: Scalars["uuid"] | null; + n8nCredentialId?: Scalars["String"] | null; + provider?: Scalars["String"] | null; + service?: Scalars["String"] | null; userId?: Scalars["uuid"] | null; } /** aggregate max on columns */ -export interface OrganizationMaxFieldsGenqlSelection { - name?: boolean | number; - organizationId?: boolean | number; +export interface N8nCredentialsMaxFieldsGenqlSelection { + createdAt?: boolean | number; + id?: boolean | number; + n8nCredentialId?: boolean | number; + provider?: boolean | number; + service?: boolean | number; userId?: boolean | number; __typename?: boolean | number; __scalar?: boolean | number; } -/** order by max() on columns of table "organization" */ -export interface OrganizationMaxOrderBy { - name?: OrderBy | null; - organizationId?: OrderBy | null; - userId?: OrderBy | null; -} - /** aggregate min on columns */ -export interface OrganizationMinFieldsGenqlSelection { - name?: boolean | number; - organizationId?: boolean | number; +export interface N8nCredentialsMinFieldsGenqlSelection { + createdAt?: boolean | number; + id?: boolean | number; + n8nCredentialId?: boolean | number; + provider?: boolean | number; + service?: boolean | number; userId?: boolean | number; __typename?: boolean | number; __scalar?: boolean | number; } -/** order by min() on columns of table "organization" */ -export interface OrganizationMinOrderBy { - name?: OrderBy | null; - organizationId?: OrderBy | null; - userId?: OrderBy | null; -} - -/** response of any mutation on the table "organization" */ -export interface OrganizationMutationResponseGenqlSelection { +/** response of any mutation on the table "n8n_credentials" */ +export interface N8nCredentialsMutationResponseGenqlSelection { /** number of rows affected by the mutation */ affectedRows?: boolean | number; /** data from the rows affected by the mutation */ - returning?: OrganizationGenqlSelection; + returning?: N8nCredentialsGenqlSelection; __typename?: boolean | number; __scalar?: boolean | number; } -/** input type for inserting object relation for remote table "organization" */ -export interface OrganizationObjRelInsertInput { - data: OrganizationInsertInput; - /** upsert condition */ - onConflict?: OrganizationOnConflict | null; -} - -/** on_conflict condition type for table "organization" */ -export interface OrganizationOnConflict { - constraint: OrganizationConstraint; - updateColumns?: OrganizationUpdateColumn[]; - where?: OrganizationBoolExp | null; +/** on_conflict condition type for table "n8n_credentials" */ +export interface N8nCredentialsOnConflict { + constraint: N8nCredentialsConstraint; + updateColumns?: N8nCredentialsUpdateColumn[]; + where?: N8nCredentialsBoolExp | null; } -/** Ordering options when selecting data from "organization". */ -export interface OrganizationOrderBy { - name?: OrderBy | null; - organizationId?: OrderBy | null; - organization_chatbotsAggregate?: OrganizationChatbotAggregateOrderBy | null; - organization_preference?: PreferenceOrderBy | null; - user?: UserOrderBy | null; +/** Ordering options when selecting data from "n8n_credentials". */ +export interface N8nCredentialsOrderBy { + createdAt?: OrderBy | null; + id?: OrderBy | null; + n8nCredentialId?: OrderBy | null; + provider?: OrderBy | null; + service?: OrderBy | null; userId?: OrderBy | null; } -/** primary key columns input for table: organization */ -export interface OrganizationPkColumnsInput { - organizationId: Scalars["uuid"]; +/** primary key columns input for table: n8n_credentials */ +export interface N8nCredentialsPkColumnsInput { + id: Scalars["uuid"]; } -/** input type for updating data in table "organization" */ -export interface OrganizationSetInput { - name?: Scalars["String"] | null; - organizationId?: Scalars["uuid"] | null; +/** input type for updating data in table "n8n_credentials" */ +export interface N8nCredentialsSetInput { + createdAt?: Scalars["timestamptz"] | null; + id?: Scalars["uuid"] | null; + n8nCredentialId?: Scalars["String"] | null; + provider?: Scalars["String"] | null; + service?: Scalars["String"] | null; userId?: Scalars["uuid"] | null; } -/** Streaming cursor of the table "organization" */ -export interface OrganizationStreamCursorInput { +/** Streaming cursor of the table "n8n_credentials" */ +export interface N8nCredentialsStreamCursorInput { /** Stream column input with initial value */ - initialValue: OrganizationStreamCursorValueInput; + initialValue: N8nCredentialsStreamCursorValueInput; /** cursor ordering */ ordering?: CursorOrdering | null; } /** Initial value of the column from where the streaming should start */ -export interface OrganizationStreamCursorValueInput { - name?: Scalars["String"] | null; - organizationId?: Scalars["uuid"] | null; +export interface N8nCredentialsStreamCursorValueInput { + createdAt?: Scalars["timestamptz"] | null; + id?: Scalars["uuid"] | null; + n8nCredentialId?: Scalars["String"] | null; + provider?: Scalars["String"] | null; + service?: Scalars["String"] | null; userId?: Scalars["uuid"] | null; } -export interface OrganizationUpdates { +export interface N8nCredentialsUpdates { /** sets the columns of the filtered rows to the given values */ - _set?: OrganizationSetInput | null; + _set?: N8nCredentialsSetInput | null; /** filter the rows which have to be updated */ - where: OrganizationBoolExp; + where: N8nCredentialsBoolExp; +} + +/** Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. */ +export interface NumericComparisonExp { + _eq?: Scalars["numeric"] | null; + _gt?: Scalars["numeric"] | null; + _gte?: Scalars["numeric"] | null; + _in?: Scalars["numeric"][] | null; + _isNull?: Scalars["Boolean"] | null; + _lt?: Scalars["numeric"] | null; + _lte?: Scalars["numeric"] | null; + _neq?: Scalars["numeric"] | null; + _nin?: Scalars["numeric"][] | null; } /** This table stores user-specific preferences for quick access when they interact with a chatbot. */ @@ -11994,36 +11315,6 @@ export interface UserGenqlSelection { isBlocked?: boolean | number; isVerified?: boolean | number; lastLogin?: boolean | number; - /** An array relationship */ - organizations?: OrganizationGenqlSelection & { - __args?: { - /** distinct select on columns */ - distinctOn?: OrganizationSelectColumn[] | null; - /** limit the number of rows returned */ - limit?: Scalars["Int"] | null; - /** skip the first n rows. Use only with order_by */ - offset?: Scalars["Int"] | null; - /** sort the rows by one or more columns */ - orderBy?: OrganizationOrderBy[] | null; - /** filter the rows returned */ - where?: OrganizationBoolExp | null; - }; - }; - /** An aggregate relationship */ - organizationsAggregate?: OrganizationAggregateGenqlSelection & { - __args?: { - /** distinct select on columns */ - distinctOn?: OrganizationSelectColumn[] | null; - /** limit the number of rows returned */ - limit?: Scalars["Int"] | null; - /** skip the first n rows. Use only with order_by */ - offset?: Scalars["Int"] | null; - /** sort the rows by one or more columns */ - orderBy?: OrganizationOrderBy[] | null; - /** filter the rows returned */ - where?: OrganizationBoolExp | null; - }; - }; password?: boolean | number; /** An object relationship */ preference?: PreferenceGenqlSelection; @@ -12261,8 +11552,6 @@ export interface UserBoolExp { isBlocked?: BooleanComparisonExp | null; isVerified?: BooleanComparisonExp | null; lastLogin?: TimestamptzComparisonExp | null; - organizations?: OrganizationBoolExp | null; - organizationsAggregate?: OrganizationAggregateBoolExp | null; password?: StringComparisonExp | null; preference?: PreferenceBoolExp | null; preferences?: PreferenceBoolExp | null; @@ -12299,7 +11588,6 @@ export interface UserInsertInput { isBlocked?: Scalars["Boolean"] | null; isVerified?: Scalars["Boolean"] | null; lastLogin?: Scalars["timestamptz"] | null; - organizations?: OrganizationArrRelInsertInput | null; password?: Scalars["String"] | null; preference?: PreferenceObjRelInsertInput | null; preferences?: PreferenceArrRelInsertInput | null; @@ -12362,11 +11650,178 @@ export interface UserMutationResponseGenqlSelection { /** number of rows affected by the mutation */ affectedRows?: boolean | number; /** data from the rows affected by the mutation */ - returning?: UserGenqlSelection; + returning?: UserGenqlSelection; + __typename?: boolean | number; + __scalar?: boolean | number; +} + +/** columns and relationships of "user_oauth_connections" */ +export interface UserOauthConnectionsGenqlSelection { + connectedAt?: boolean | number; + id?: boolean | number; + provider?: boolean | number; + revokedAt?: boolean | number; + scopes?: boolean | number; + service?: boolean | number; + status?: boolean | number; + userId?: boolean | number; + __typename?: boolean | number; + __scalar?: boolean | number; +} + +/** aggregated selection of "user_oauth_connections" */ +export interface UserOauthConnectionsAggregateGenqlSelection { + aggregate?: UserOauthConnectionsAggregateFieldsGenqlSelection; + nodes?: UserOauthConnectionsGenqlSelection; + __typename?: boolean | number; + __scalar?: boolean | number; +} + +/** aggregate fields of "user_oauth_connections" */ +export interface UserOauthConnectionsAggregateFieldsGenqlSelection { + count?: + | { + __args: { + columns?: UserOauthConnectionsSelectColumn[] | null; + distinct?: Scalars["Boolean"] | null; + }; + } + | boolean + | number; + max?: UserOauthConnectionsMaxFieldsGenqlSelection; + min?: UserOauthConnectionsMinFieldsGenqlSelection; + __typename?: boolean | number; + __scalar?: boolean | number; +} + +/** Boolean expression to filter rows from the table "user_oauth_connections". All fields are combined with a logical 'AND'. */ +export interface UserOauthConnectionsBoolExp { + _and?: UserOauthConnectionsBoolExp[] | null; + _not?: UserOauthConnectionsBoolExp | null; + _or?: UserOauthConnectionsBoolExp[] | null; + connectedAt?: TimestamptzComparisonExp | null; + id?: UuidComparisonExp | null; + provider?: StringComparisonExp | null; + revokedAt?: TimestamptzComparisonExp | null; + scopes?: StringComparisonExp | null; + service?: StringComparisonExp | null; + status?: StringComparisonExp | null; + userId?: UuidComparisonExp | null; +} + +/** input type for inserting data into table "user_oauth_connections" */ +export interface UserOauthConnectionsInsertInput { + connectedAt?: Scalars["timestamptz"] | null; + id?: Scalars["uuid"] | null; + provider?: Scalars["String"] | null; + revokedAt?: Scalars["timestamptz"] | null; + scopes?: Scalars["String"] | null; + service?: Scalars["String"] | null; + status?: Scalars["String"] | null; + userId?: Scalars["uuid"] | null; +} + +/** aggregate max on columns */ +export interface UserOauthConnectionsMaxFieldsGenqlSelection { + connectedAt?: boolean | number; + id?: boolean | number; + provider?: boolean | number; + revokedAt?: boolean | number; + scopes?: boolean | number; + service?: boolean | number; + status?: boolean | number; + userId?: boolean | number; + __typename?: boolean | number; + __scalar?: boolean | number; +} + +/** aggregate min on columns */ +export interface UserOauthConnectionsMinFieldsGenqlSelection { + connectedAt?: boolean | number; + id?: boolean | number; + provider?: boolean | number; + revokedAt?: boolean | number; + scopes?: boolean | number; + service?: boolean | number; + status?: boolean | number; + userId?: boolean | number; + __typename?: boolean | number; + __scalar?: boolean | number; +} + +/** response of any mutation on the table "user_oauth_connections" */ +export interface UserOauthConnectionsMutationResponseGenqlSelection { + /** number of rows affected by the mutation */ + affectedRows?: boolean | number; + /** data from the rows affected by the mutation */ + returning?: UserOauthConnectionsGenqlSelection; __typename?: boolean | number; __scalar?: boolean | number; } +/** on_conflict condition type for table "user_oauth_connections" */ +export interface UserOauthConnectionsOnConflict { + constraint: UserOauthConnectionsConstraint; + updateColumns?: UserOauthConnectionsUpdateColumn[]; + where?: UserOauthConnectionsBoolExp | null; +} + +/** Ordering options when selecting data from "user_oauth_connections". */ +export interface UserOauthConnectionsOrderBy { + connectedAt?: OrderBy | null; + id?: OrderBy | null; + provider?: OrderBy | null; + revokedAt?: OrderBy | null; + scopes?: OrderBy | null; + service?: OrderBy | null; + status?: OrderBy | null; + userId?: OrderBy | null; +} + +/** primary key columns input for table: user_oauth_connections */ +export interface UserOauthConnectionsPkColumnsInput { + id: Scalars["uuid"]; +} + +/** input type for updating data in table "user_oauth_connections" */ +export interface UserOauthConnectionsSetInput { + connectedAt?: Scalars["timestamptz"] | null; + id?: Scalars["uuid"] | null; + provider?: Scalars["String"] | null; + revokedAt?: Scalars["timestamptz"] | null; + scopes?: Scalars["String"] | null; + service?: Scalars["String"] | null; + status?: Scalars["String"] | null; + userId?: Scalars["uuid"] | null; +} + +/** Streaming cursor of the table "user_oauth_connections" */ +export interface UserOauthConnectionsStreamCursorInput { + /** Stream column input with initial value */ + initialValue: UserOauthConnectionsStreamCursorValueInput; + /** cursor ordering */ + ordering?: CursorOrdering | null; +} + +/** Initial value of the column from where the streaming should start */ +export interface UserOauthConnectionsStreamCursorValueInput { + connectedAt?: Scalars["timestamptz"] | null; + id?: Scalars["uuid"] | null; + provider?: Scalars["String"] | null; + revokedAt?: Scalars["timestamptz"] | null; + scopes?: Scalars["String"] | null; + service?: Scalars["String"] | null; + status?: Scalars["String"] | null; + userId?: Scalars["uuid"] | null; +} + +export interface UserOauthConnectionsUpdates { + /** sets the columns of the filtered rows to the given values */ + _set?: UserOauthConnectionsSetInput | null; + /** filter the rows which have to be updated */ + where: UserOauthConnectionsBoolExp; +} + /** input type for inserting object relation for remote table "user" */ export interface UserObjRelInsertInput { data: UserInsertInput; @@ -12394,7 +11849,6 @@ export interface UserOrderBy { isBlocked?: OrderBy | null; isVerified?: OrderBy | null; lastLogin?: OrderBy | null; - organizationsAggregate?: OrganizationAggregateOrderBy | null; password?: OrderBy | null; preference?: PreferenceOrderBy | null; preferencesAggregate?: PreferenceAggregateOrderBy | null; @@ -12647,6 +12101,165 @@ export interface UserUpdates { where: UserBoolExp; } +/** columns and relationships of "user_workflows" */ +export interface UserWorkflowsGenqlSelection { + createdAt?: boolean | number; + folderPath?: boolean | number; + id?: boolean | number; + service?: boolean | number; + userId?: boolean | number; + workflowId?: boolean | number; + workflowName?: boolean | number; + __typename?: boolean | number; + __scalar?: boolean | number; +} + +/** aggregated selection of "user_workflows" */ +export interface UserWorkflowsAggregateGenqlSelection { + aggregate?: UserWorkflowsAggregateFieldsGenqlSelection; + nodes?: UserWorkflowsGenqlSelection; + __typename?: boolean | number; + __scalar?: boolean | number; +} + +/** aggregate fields of "user_workflows" */ +export interface UserWorkflowsAggregateFieldsGenqlSelection { + count?: + | { + __args: { + columns?: UserWorkflowsSelectColumn[] | null; + distinct?: Scalars["Boolean"] | null; + }; + } + | boolean + | number; + max?: UserWorkflowsMaxFieldsGenqlSelection; + min?: UserWorkflowsMinFieldsGenqlSelection; + __typename?: boolean | number; + __scalar?: boolean | number; +} + +/** Boolean expression to filter rows from the table "user_workflows". All fields are combined with a logical 'AND'. */ +export interface UserWorkflowsBoolExp { + _and?: UserWorkflowsBoolExp[] | null; + _not?: UserWorkflowsBoolExp | null; + _or?: UserWorkflowsBoolExp[] | null; + createdAt?: TimestamptzComparisonExp | null; + folderPath?: StringComparisonExp | null; + id?: UuidComparisonExp | null; + service?: StringComparisonExp | null; + userId?: UuidComparisonExp | null; + workflowId?: StringComparisonExp | null; + workflowName?: StringComparisonExp | null; +} + +/** input type for inserting data into table "user_workflows" */ +export interface UserWorkflowsInsertInput { + createdAt?: Scalars["timestamptz"] | null; + folderPath?: Scalars["String"] | null; + id?: Scalars["uuid"] | null; + service?: Scalars["String"] | null; + userId?: Scalars["uuid"] | null; + workflowId?: Scalars["String"] | null; + workflowName?: Scalars["String"] | null; +} + +/** aggregate max on columns */ +export interface UserWorkflowsMaxFieldsGenqlSelection { + createdAt?: boolean | number; + folderPath?: boolean | number; + id?: boolean | number; + service?: boolean | number; + userId?: boolean | number; + workflowId?: boolean | number; + workflowName?: boolean | number; + __typename?: boolean | number; + __scalar?: boolean | number; +} + +/** aggregate min on columns */ +export interface UserWorkflowsMinFieldsGenqlSelection { + createdAt?: boolean | number; + folderPath?: boolean | number; + id?: boolean | number; + service?: boolean | number; + userId?: boolean | number; + workflowId?: boolean | number; + workflowName?: boolean | number; + __typename?: boolean | number; + __scalar?: boolean | number; +} + +/** response of any mutation on the table "user_workflows" */ +export interface UserWorkflowsMutationResponseGenqlSelection { + /** number of rows affected by the mutation */ + affectedRows?: boolean | number; + /** data from the rows affected by the mutation */ + returning?: UserWorkflowsGenqlSelection; + __typename?: boolean | number; + __scalar?: boolean | number; +} + +/** on_conflict condition type for table "user_workflows" */ +export interface UserWorkflowsOnConflict { + constraint: UserWorkflowsConstraint; + updateColumns?: UserWorkflowsUpdateColumn[]; + where?: UserWorkflowsBoolExp | null; +} + +/** Ordering options when selecting data from "user_workflows". */ +export interface UserWorkflowsOrderBy { + createdAt?: OrderBy | null; + folderPath?: OrderBy | null; + id?: OrderBy | null; + service?: OrderBy | null; + userId?: OrderBy | null; + workflowId?: OrderBy | null; + workflowName?: OrderBy | null; +} + +/** primary key columns input for table: user_workflows */ +export interface UserWorkflowsPkColumnsInput { + id: Scalars["uuid"]; +} + +/** input type for updating data in table "user_workflows" */ +export interface UserWorkflowsSetInput { + createdAt?: Scalars["timestamptz"] | null; + folderPath?: Scalars["String"] | null; + id?: Scalars["uuid"] | null; + service?: Scalars["String"] | null; + userId?: Scalars["uuid"] | null; + workflowId?: Scalars["String"] | null; + workflowName?: Scalars["String"] | null; +} + +/** Streaming cursor of the table "user_workflows" */ +export interface UserWorkflowsStreamCursorInput { + /** Stream column input with initial value */ + initialValue: UserWorkflowsStreamCursorValueInput; + /** cursor ordering */ + ordering?: CursorOrdering | null; +} + +/** Initial value of the column from where the streaming should start */ +export interface UserWorkflowsStreamCursorValueInput { + createdAt?: Scalars["timestamptz"] | null; + folderPath?: Scalars["String"] | null; + id?: Scalars["uuid"] | null; + service?: Scalars["String"] | null; + userId?: Scalars["uuid"] | null; + workflowId?: Scalars["String"] | null; + workflowName?: Scalars["String"] | null; +} + +export interface UserWorkflowsUpdates { + /** sets the columns of the filtered rows to the given values */ + _set?: UserWorkflowsSetInput | null; + /** filter the rows which have to be updated */ + where: UserWorkflowsBoolExp; +} + /** Boolean expression to compare columns of type "uuid". All fields are combined with logical 'AND'. */ export interface UuidArrayComparisonExp { /** is the array contained in the given array value */ @@ -12815,17 +12428,6 @@ export interface mutation_rootGenqlSelection { deleteComplexityEnumByPk?: ComplexityEnumGenqlSelection & { __args: { value: Scalars["String"] }; }; - /** delete data from the table: "department" */ - deleteDepartment?: DepartmentMutationResponseGenqlSelection & { - __args: { - /** filter the rows which have to be deleted */ - where: DepartmentBoolExp; - }; - }; - /** delete single row from the table: "department" */ - deleteDepartmentByPk?: DepartmentGenqlSelection & { - __args: { departmentId: Scalars["Int"] }; - }; /** delete data from the table: "domain_enum" */ deleteDomainEnum?: DomainEnumMutationResponseGenqlSelection & { __args: { @@ -12903,27 +12505,16 @@ export interface mutation_rootGenqlSelection { deleteModelsEnumByPk?: ModelsEnumGenqlSelection & { __args: { name: Scalars["String"] }; }; - /** delete data from the table: "organization" */ - deleteOrganization?: OrganizationMutationResponseGenqlSelection & { - __args: { - /** filter the rows which have to be deleted */ - where: OrganizationBoolExp; - }; - }; - /** delete single row from the table: "organization" */ - deleteOrganizationByPk?: OrganizationGenqlSelection & { - __args: { organizationId: Scalars["uuid"] }; - }; - /** delete data from the table: "organization_chatbot" */ - deleteOrganizationChatbot?: OrganizationChatbotMutationResponseGenqlSelection & { + /** delete data from the table: "n8n_credentials" */ + deleteN8nCredentials?: N8nCredentialsMutationResponseGenqlSelection & { __args: { /** filter the rows which have to be deleted */ - where: OrganizationChatbotBoolExp; + where: N8nCredentialsBoolExp; }; }; - /** delete single row from the table: "organization_chatbot" */ - deleteOrganizationChatbotByPk?: OrganizationChatbotGenqlSelection & { - __args: { chatbotId: Scalars["Int"]; organizationId: Scalars["uuid"] }; + /** delete single row from the table: "n8n_credentials" */ + deleteN8nCredentialsByPk?: N8nCredentialsGenqlSelection & { + __args: { id: Scalars["uuid"] }; }; /** delete data from the table: "preference" */ deletePreference?: PreferenceMutationResponseGenqlSelection & { @@ -13077,6 +12668,17 @@ export interface mutation_rootGenqlSelection { }; /** delete single row from the table: "user" */ deleteUserByPk?: UserGenqlSelection & { __args: { userId: Scalars["uuid"] } }; + /** delete data from the table: "user_oauth_connections" */ + deleteUserOauthConnections?: UserOauthConnectionsMutationResponseGenqlSelection & { + __args: { + /** filter the rows which have to be deleted */ + where: UserOauthConnectionsBoolExp; + }; + }; + /** delete single row from the table: "user_oauth_connections" */ + deleteUserOauthConnectionsByPk?: UserOauthConnectionsGenqlSelection & { + __args: { id: Scalars["uuid"] }; + }; /** delete data from the table: "user_token" */ deleteUserToken?: UserTokenMutationResponseGenqlSelection & { __args: { @@ -13088,6 +12690,17 @@ export interface mutation_rootGenqlSelection { deleteUserTokenByPk?: UserTokenGenqlSelection & { __args: { token: Scalars["String"]; userId: Scalars["uuid"] }; }; + /** delete data from the table: "user_workflows" */ + deleteUserWorkflows?: UserWorkflowsMutationResponseGenqlSelection & { + __args: { + /** filter the rows which have to be deleted */ + where: UserWorkflowsBoolExp; + }; + }; + /** delete single row from the table: "user_workflows" */ + deleteUserWorkflowsByPk?: UserWorkflowsGenqlSelection & { + __args: { id: Scalars["uuid"] }; + }; /** insert data into the table: "category" */ insertCategory?: CategoryMutationResponseGenqlSelection & { __args: { @@ -13196,24 +12809,6 @@ export interface mutation_rootGenqlSelection { onConflict?: ComplexityEnumOnConflict | null; }; }; - /** insert data into the table: "department" */ - insertDepartment?: DepartmentMutationResponseGenqlSelection & { - __args: { - /** the rows to be inserted */ - objects: DepartmentInsertInput[]; - /** upsert condition */ - onConflict?: DepartmentOnConflict | null; - }; - }; - /** insert a single row into the table: "department" */ - insertDepartmentOne?: DepartmentGenqlSelection & { - __args: { - /** the row to be inserted */ - object: DepartmentInsertInput; - /** upsert condition */ - onConflict?: DepartmentOnConflict | null; - }; - }; /** insert data into the table: "domain_enum" */ insertDomainEnum?: DomainEnumMutationResponseGenqlSelection & { __args: { @@ -13340,40 +12935,22 @@ export interface mutation_rootGenqlSelection { onConflict?: ModelsOnConflict | null; }; }; - /** insert data into the table: "organization" */ - insertOrganization?: OrganizationMutationResponseGenqlSelection & { - __args: { - /** the rows to be inserted */ - objects: OrganizationInsertInput[]; - /** upsert condition */ - onConflict?: OrganizationOnConflict | null; - }; - }; - /** insert data into the table: "organization_chatbot" */ - insertOrganizationChatbot?: OrganizationChatbotMutationResponseGenqlSelection & { + /** insert data into the table: "n8n_credentials" */ + insertN8nCredentials?: N8nCredentialsMutationResponseGenqlSelection & { __args: { /** the rows to be inserted */ - objects: OrganizationChatbotInsertInput[]; - /** upsert condition */ - onConflict?: OrganizationChatbotOnConflict | null; - }; - }; - /** insert a single row into the table: "organization_chatbot" */ - insertOrganizationChatbotOne?: OrganizationChatbotGenqlSelection & { - __args: { - /** the row to be inserted */ - object: OrganizationChatbotInsertInput; + objects: N8nCredentialsInsertInput[]; /** upsert condition */ - onConflict?: OrganizationChatbotOnConflict | null; + onConflict?: N8nCredentialsOnConflict | null; }; }; - /** insert a single row into the table: "organization" */ - insertOrganizationOne?: OrganizationGenqlSelection & { + /** insert a single row into the table: "n8n_credentials" */ + insertN8nCredentialsOne?: N8nCredentialsGenqlSelection & { __args: { /** the row to be inserted */ - object: OrganizationInsertInput; + object: N8nCredentialsInsertInput; /** upsert condition */ - onConflict?: OrganizationOnConflict | null; + onConflict?: N8nCredentialsOnConflict | null; }; }; /** insert data into the table: "preference" */ @@ -13615,6 +13192,24 @@ export interface mutation_rootGenqlSelection { onConflict?: UserOnConflict | null; }; }; + /** insert data into the table: "user_oauth_connections" */ + insertUserOauthConnections?: UserOauthConnectionsMutationResponseGenqlSelection & { + __args: { + /** the rows to be inserted */ + objects: UserOauthConnectionsInsertInput[]; + /** upsert condition */ + onConflict?: UserOauthConnectionsOnConflict | null; + }; + }; + /** insert a single row into the table: "user_oauth_connections" */ + insertUserOauthConnectionsOne?: UserOauthConnectionsGenqlSelection & { + __args: { + /** the row to be inserted */ + object: UserOauthConnectionsInsertInput; + /** upsert condition */ + onConflict?: UserOauthConnectionsOnConflict | null; + }; + }; /** insert a single row into the table: "user" */ insertUserOne?: UserGenqlSelection & { __args: { @@ -13642,6 +13237,24 @@ export interface mutation_rootGenqlSelection { onConflict?: UserTokenOnConflict | null; }; }; + /** insert data into the table: "user_workflows" */ + insertUserWorkflows?: UserWorkflowsMutationResponseGenqlSelection & { + __args: { + /** the rows to be inserted */ + objects: UserWorkflowsInsertInput[]; + /** upsert condition */ + onConflict?: UserWorkflowsOnConflict | null; + }; + }; + /** insert a single row into the table: "user_workflows" */ + insertUserWorkflowsOne?: UserWorkflowsGenqlSelection & { + __args: { + /** the row to be inserted */ + object: UserWorkflowsInsertInput; + /** upsert condition */ + onConflict?: UserWorkflowsOnConflict | null; + }; + }; /** update data of the table: "category" */ updateCategory?: CategoryMutationResponseGenqlSelection & { __args: { @@ -13802,34 +13415,6 @@ export interface mutation_rootGenqlSelection { updates: ComplexityEnumUpdates[]; }; }; - /** update data of the table: "department" */ - updateDepartment?: DepartmentMutationResponseGenqlSelection & { - __args: { - /** increments the numeric columns with given value of the filtered values */ - _inc?: DepartmentIncInput | null; - /** sets the columns of the filtered rows to the given values */ - _set?: DepartmentSetInput | null; - /** filter the rows which have to be updated */ - where: DepartmentBoolExp; - }; - }; - /** update single row of the table: "department" */ - updateDepartmentByPk?: DepartmentGenqlSelection & { - __args: { - /** increments the numeric columns with given value of the filtered values */ - _inc?: DepartmentIncInput | null; - /** sets the columns of the filtered rows to the given values */ - _set?: DepartmentSetInput | null; - pkColumns: DepartmentPkColumnsInput; - }; - }; - /** update multiples rows of table: "department" */ - updateDepartmentMany?: DepartmentMutationResponseGenqlSelection & { - __args: { - /** updates to execute, in order */ - updates: DepartmentUpdates[]; - }; - }; /** update data of the table: "domain_enum" */ updateDomainEnum?: DomainEnumMutationResponseGenqlSelection & { __args: { @@ -14038,56 +13623,28 @@ export interface mutation_rootGenqlSelection { updates: ModelsUpdates[]; }; }; - /** update data of the table: "organization" */ - updateOrganization?: OrganizationMutationResponseGenqlSelection & { - __args: { - /** sets the columns of the filtered rows to the given values */ - _set?: OrganizationSetInput | null; - /** filter the rows which have to be updated */ - where: OrganizationBoolExp; - }; - }; - /** update single row of the table: "organization" */ - updateOrganizationByPk?: OrganizationGenqlSelection & { - __args: { - /** sets the columns of the filtered rows to the given values */ - _set?: OrganizationSetInput | null; - pkColumns: OrganizationPkColumnsInput; - }; - }; - /** update data of the table: "organization_chatbot" */ - updateOrganizationChatbot?: OrganizationChatbotMutationResponseGenqlSelection & { + /** update data of the table: "n8n_credentials" */ + updateN8nCredentials?: N8nCredentialsMutationResponseGenqlSelection & { __args: { - /** increments the numeric columns with given value of the filtered values */ - _inc?: OrganizationChatbotIncInput | null; /** sets the columns of the filtered rows to the given values */ - _set?: OrganizationChatbotSetInput | null; + _set?: N8nCredentialsSetInput | null; /** filter the rows which have to be updated */ - where: OrganizationChatbotBoolExp; + where: N8nCredentialsBoolExp; }; }; - /** update single row of the table: "organization_chatbot" */ - updateOrganizationChatbotByPk?: OrganizationChatbotGenqlSelection & { + /** update single row of the table: "n8n_credentials" */ + updateN8nCredentialsByPk?: N8nCredentialsGenqlSelection & { __args: { - /** increments the numeric columns with given value of the filtered values */ - _inc?: OrganizationChatbotIncInput | null; /** sets the columns of the filtered rows to the given values */ - _set?: OrganizationChatbotSetInput | null; - pkColumns: OrganizationChatbotPkColumnsInput; - }; - }; - /** update multiples rows of table: "organization_chatbot" */ - updateOrganizationChatbotMany?: OrganizationChatbotMutationResponseGenqlSelection & { - __args: { - /** updates to execute, in order */ - updates: OrganizationChatbotUpdates[]; + _set?: N8nCredentialsSetInput | null; + pkColumns: N8nCredentialsPkColumnsInput; }; }; - /** update multiples rows of table: "organization" */ - updateOrganizationMany?: OrganizationMutationResponseGenqlSelection & { + /** update multiples rows of table: "n8n_credentials" */ + updateN8nCredentialsMany?: N8nCredentialsMutationResponseGenqlSelection & { __args: { /** updates to execute, in order */ - updates: OrganizationUpdates[]; + updates: N8nCredentialsUpdates[]; }; }; /** update data of the table: "preference" */ @@ -14464,6 +14021,30 @@ export interface mutation_rootGenqlSelection { updates: UserUpdates[]; }; }; + /** update data of the table: "user_oauth_connections" */ + updateUserOauthConnections?: UserOauthConnectionsMutationResponseGenqlSelection & { + __args: { + /** sets the columns of the filtered rows to the given values */ + _set?: UserOauthConnectionsSetInput | null; + /** filter the rows which have to be updated */ + where: UserOauthConnectionsBoolExp; + }; + }; + /** update single row of the table: "user_oauth_connections" */ + updateUserOauthConnectionsByPk?: UserOauthConnectionsGenqlSelection & { + __args: { + /** sets the columns of the filtered rows to the given values */ + _set?: UserOauthConnectionsSetInput | null; + pkColumns: UserOauthConnectionsPkColumnsInput; + }; + }; + /** update multiples rows of table: "user_oauth_connections" */ + updateUserOauthConnectionsMany?: UserOauthConnectionsMutationResponseGenqlSelection & { + __args: { + /** updates to execute, in order */ + updates: UserOauthConnectionsUpdates[]; + }; + }; /** update data of the table: "user_token" */ updateUserToken?: UserTokenMutationResponseGenqlSelection & { __args: { @@ -14488,38 +14069,34 @@ export interface mutation_rootGenqlSelection { updates: UserTokenUpdates[]; }; }; + /** update data of the table: "user_workflows" */ + updateUserWorkflows?: UserWorkflowsMutationResponseGenqlSelection & { + __args: { + /** sets the columns of the filtered rows to the given values */ + _set?: UserWorkflowsSetInput | null; + /** filter the rows which have to be updated */ + where: UserWorkflowsBoolExp; + }; + }; + /** update single row of the table: "user_workflows" */ + updateUserWorkflowsByPk?: UserWorkflowsGenqlSelection & { + __args: { + /** sets the columns of the filtered rows to the given values */ + _set?: UserWorkflowsSetInput | null; + pkColumns: UserWorkflowsPkColumnsInput; + }; + }; + /** update multiples rows of table: "user_workflows" */ + updateUserWorkflowsMany?: UserWorkflowsMutationResponseGenqlSelection & { + __args: { + /** updates to execute, in order */ + updates: UserWorkflowsUpdates[]; + }; + }; __typename?: boolean | number; __scalar?: boolean | number; } -export interface organizationAggregateBoolExpCount { - arguments?: OrganizationSelectColumn[] | null; - distinct?: Scalars["Boolean"] | null; - filter?: OrganizationBoolExp | null; - predicate: IntComparisonExp; -} - -export interface organizationChatbotAggregateBoolExpBool_and { - arguments: OrganizationChatbotSelectColumnOrganizationChatbotAggregateBoolExpBool_andArgumentsColumns; - distinct?: Scalars["Boolean"] | null; - filter?: OrganizationChatbotBoolExp | null; - predicate: BooleanComparisonExp; -} - -export interface organizationChatbotAggregateBoolExpBool_or { - arguments: OrganizationChatbotSelectColumnOrganizationChatbotAggregateBoolExpBool_orArgumentsColumns; - distinct?: Scalars["Boolean"] | null; - filter?: OrganizationChatbotBoolExp | null; - predicate: BooleanComparisonExp; -} - -export interface organizationChatbotAggregateBoolExpCount { - arguments?: OrganizationChatbotSelectColumn[] | null; - distinct?: Scalars["Boolean"] | null; - filter?: OrganizationChatbotBoolExp | null; - predicate: IntComparisonExp; -} - export interface preferenceAggregateBoolExpBool_and { arguments: PreferenceSelectColumnPreferenceAggregateBoolExpBool_andArgumentsColumns; distinct?: Scalars["Boolean"] | null; @@ -14765,41 +14342,7 @@ export interface query_rootGenqlSelection { }; /** fetch data from the table: "complexity_enum" using primary key columns */ complexityEnumByPk?: ComplexityEnumGenqlSelection & { - __args: { value: Scalars["String"] }; - }; - /** fetch data from the table: "department" */ - department?: DepartmentGenqlSelection & { - __args?: { - /** distinct select on columns */ - distinctOn?: DepartmentSelectColumn[] | null; - /** limit the number of rows returned */ - limit?: Scalars["Int"] | null; - /** skip the first n rows. Use only with order_by */ - offset?: Scalars["Int"] | null; - /** sort the rows by one or more columns */ - orderBy?: DepartmentOrderBy[] | null; - /** filter the rows returned */ - where?: DepartmentBoolExp | null; - }; - }; - /** fetch aggregated fields from the table: "department" */ - departmentAggregate?: DepartmentAggregateGenqlSelection & { - __args?: { - /** distinct select on columns */ - distinctOn?: DepartmentSelectColumn[] | null; - /** limit the number of rows returned */ - limit?: Scalars["Int"] | null; - /** skip the first n rows. Use only with order_by */ - offset?: Scalars["Int"] | null; - /** sort the rows by one or more columns */ - orderBy?: DepartmentOrderBy[] | null; - /** filter the rows returned */ - where?: DepartmentBoolExp | null; - }; - }; - /** fetch data from the table: "department" using primary key columns */ - departmentByPk?: DepartmentGenqlSelection & { - __args: { departmentId: Scalars["Int"] }; + __args: { value: Scalars["String"] }; }; /** fetch data from the table: "domain_enum" */ domainEnum?: DomainEnumGenqlSelection & { @@ -15037,73 +14580,39 @@ export interface query_rootGenqlSelection { modelsEnumByPk?: ModelsEnumGenqlSelection & { __args: { name: Scalars["String"] }; }; - /** fetch data from the table: "organization" */ - organization?: OrganizationGenqlSelection & { - __args?: { - /** distinct select on columns */ - distinctOn?: OrganizationSelectColumn[] | null; - /** limit the number of rows returned */ - limit?: Scalars["Int"] | null; - /** skip the first n rows. Use only with order_by */ - offset?: Scalars["Int"] | null; - /** sort the rows by one or more columns */ - orderBy?: OrganizationOrderBy[] | null; - /** filter the rows returned */ - where?: OrganizationBoolExp | null; - }; - }; - /** fetch aggregated fields from the table: "organization" */ - organizationAggregate?: OrganizationAggregateGenqlSelection & { - __args?: { - /** distinct select on columns */ - distinctOn?: OrganizationSelectColumn[] | null; - /** limit the number of rows returned */ - limit?: Scalars["Int"] | null; - /** skip the first n rows. Use only with order_by */ - offset?: Scalars["Int"] | null; - /** sort the rows by one or more columns */ - orderBy?: OrganizationOrderBy[] | null; - /** filter the rows returned */ - where?: OrganizationBoolExp | null; - }; - }; - /** fetch data from the table: "organization" using primary key columns */ - organizationByPk?: OrganizationGenqlSelection & { - __args: { organizationId: Scalars["uuid"] }; - }; - /** fetch data from the table: "organization_chatbot" */ - organizationChatbot?: OrganizationChatbotGenqlSelection & { + /** fetch data from the table: "n8n_credentials" */ + n8nCredentials?: N8nCredentialsGenqlSelection & { __args?: { /** distinct select on columns */ - distinctOn?: OrganizationChatbotSelectColumn[] | null; + distinctOn?: N8nCredentialsSelectColumn[] | null; /** limit the number of rows returned */ limit?: Scalars["Int"] | null; /** skip the first n rows. Use only with order_by */ offset?: Scalars["Int"] | null; /** sort the rows by one or more columns */ - orderBy?: OrganizationChatbotOrderBy[] | null; + orderBy?: N8nCredentialsOrderBy[] | null; /** filter the rows returned */ - where?: OrganizationChatbotBoolExp | null; + where?: N8nCredentialsBoolExp | null; }; }; - /** fetch aggregated fields from the table: "organization_chatbot" */ - organizationChatbotAggregate?: OrganizationChatbotAggregateGenqlSelection & { + /** fetch aggregated fields from the table: "n8n_credentials" */ + n8nCredentialsAggregate?: N8nCredentialsAggregateGenqlSelection & { __args?: { /** distinct select on columns */ - distinctOn?: OrganizationChatbotSelectColumn[] | null; + distinctOn?: N8nCredentialsSelectColumn[] | null; /** limit the number of rows returned */ limit?: Scalars["Int"] | null; /** skip the first n rows. Use only with order_by */ offset?: Scalars["Int"] | null; /** sort the rows by one or more columns */ - orderBy?: OrganizationChatbotOrderBy[] | null; + orderBy?: N8nCredentialsOrderBy[] | null; /** filter the rows returned */ - where?: OrganizationChatbotBoolExp | null; + where?: N8nCredentialsBoolExp | null; }; }; - /** fetch data from the table: "organization_chatbot" using primary key columns */ - organizationChatbotByPk?: OrganizationChatbotGenqlSelection & { - __args: { chatbotId: Scalars["Int"]; organizationId: Scalars["uuid"] }; + /** fetch data from the table: "n8n_credentials" using primary key columns */ + n8nCredentialsByPk?: N8nCredentialsGenqlSelection & { + __args: { id: Scalars["uuid"] }; }; /** fetch data from the table: "preference" */ preference?: PreferenceGenqlSelection & { @@ -15573,6 +15082,40 @@ export interface query_rootGenqlSelection { }; /** fetch data from the table: "user" using primary key columns */ userByPk?: UserGenqlSelection & { __args: { userId: Scalars["uuid"] } }; + /** fetch data from the table: "user_oauth_connections" */ + userOauthConnections?: UserOauthConnectionsGenqlSelection & { + __args?: { + /** distinct select on columns */ + distinctOn?: UserOauthConnectionsSelectColumn[] | null; + /** limit the number of rows returned */ + limit?: Scalars["Int"] | null; + /** skip the first n rows. Use only with order_by */ + offset?: Scalars["Int"] | null; + /** sort the rows by one or more columns */ + orderBy?: UserOauthConnectionsOrderBy[] | null; + /** filter the rows returned */ + where?: UserOauthConnectionsBoolExp | null; + }; + }; + /** fetch aggregated fields from the table: "user_oauth_connections" */ + userOauthConnectionsAggregate?: UserOauthConnectionsAggregateGenqlSelection & { + __args?: { + /** distinct select on columns */ + distinctOn?: UserOauthConnectionsSelectColumn[] | null; + /** limit the number of rows returned */ + limit?: Scalars["Int"] | null; + /** skip the first n rows. Use only with order_by */ + offset?: Scalars["Int"] | null; + /** sort the rows by one or more columns */ + orderBy?: UserOauthConnectionsOrderBy[] | null; + /** filter the rows returned */ + where?: UserOauthConnectionsBoolExp | null; + }; + }; + /** fetch data from the table: "user_oauth_connections" using primary key columns */ + userOauthConnectionsByPk?: UserOauthConnectionsGenqlSelection & { + __args: { id: Scalars["uuid"] }; + }; /** fetch data from the table: "user_token" */ userToken?: UserTokenGenqlSelection & { __args?: { @@ -15607,6 +15150,40 @@ export interface query_rootGenqlSelection { userTokenByPk?: UserTokenGenqlSelection & { __args: { token: Scalars["String"]; userId: Scalars["uuid"] }; }; + /** fetch data from the table: "user_workflows" */ + userWorkflows?: UserWorkflowsGenqlSelection & { + __args?: { + /** distinct select on columns */ + distinctOn?: UserWorkflowsSelectColumn[] | null; + /** limit the number of rows returned */ + limit?: Scalars["Int"] | null; + /** skip the first n rows. Use only with order_by */ + offset?: Scalars["Int"] | null; + /** sort the rows by one or more columns */ + orderBy?: UserWorkflowsOrderBy[] | null; + /** filter the rows returned */ + where?: UserWorkflowsBoolExp | null; + }; + }; + /** fetch aggregated fields from the table: "user_workflows" */ + userWorkflowsAggregate?: UserWorkflowsAggregateGenqlSelection & { + __args?: { + /** distinct select on columns */ + distinctOn?: UserWorkflowsSelectColumn[] | null; + /** limit the number of rows returned */ + limit?: Scalars["Int"] | null; + /** skip the first n rows. Use only with order_by */ + offset?: Scalars["Int"] | null; + /** sort the rows by one or more columns */ + orderBy?: UserWorkflowsOrderBy[] | null; + /** filter the rows returned */ + where?: UserWorkflowsBoolExp | null; + }; + }; + /** fetch data from the table: "user_workflows" using primary key columns */ + userWorkflowsByPk?: UserWorkflowsGenqlSelection & { + __args: { id: Scalars["uuid"] }; + }; __typename?: boolean | number; __scalar?: boolean | number; } @@ -15903,51 +15480,6 @@ export interface subscription_rootGenqlSelection { where?: ComplexityEnumBoolExp | null; }; }; - /** fetch data from the table: "department" */ - department?: DepartmentGenqlSelection & { - __args?: { - /** distinct select on columns */ - distinctOn?: DepartmentSelectColumn[] | null; - /** limit the number of rows returned */ - limit?: Scalars["Int"] | null; - /** skip the first n rows. Use only with order_by */ - offset?: Scalars["Int"] | null; - /** sort the rows by one or more columns */ - orderBy?: DepartmentOrderBy[] | null; - /** filter the rows returned */ - where?: DepartmentBoolExp | null; - }; - }; - /** fetch aggregated fields from the table: "department" */ - departmentAggregate?: DepartmentAggregateGenqlSelection & { - __args?: { - /** distinct select on columns */ - distinctOn?: DepartmentSelectColumn[] | null; - /** limit the number of rows returned */ - limit?: Scalars["Int"] | null; - /** skip the first n rows. Use only with order_by */ - offset?: Scalars["Int"] | null; - /** sort the rows by one or more columns */ - orderBy?: DepartmentOrderBy[] | null; - /** filter the rows returned */ - where?: DepartmentBoolExp | null; - }; - }; - /** fetch data from the table: "department" using primary key columns */ - departmentByPk?: DepartmentGenqlSelection & { - __args: { departmentId: Scalars["Int"] }; - }; - /** fetch data from the table in a streaming manner: "department" */ - departmentStream?: DepartmentGenqlSelection & { - __args: { - /** maximum number of rows returned in a single batch */ - batchSize: Scalars["Int"]; - /** cursor to stream the results returned by the query */ - cursor: (DepartmentStreamCursorInput | null)[]; - /** filter the rows returned */ - where?: DepartmentBoolExp | null; - }; - }; /** fetch data from the table: "domain_enum" */ domainEnum?: DomainEnumGenqlSelection & { __args?: { @@ -16261,94 +15793,49 @@ export interface subscription_rootGenqlSelection { where?: ModelsBoolExp | null; }; }; - /** fetch data from the table: "organization" */ - organization?: OrganizationGenqlSelection & { - __args?: { - /** distinct select on columns */ - distinctOn?: OrganizationSelectColumn[] | null; - /** limit the number of rows returned */ - limit?: Scalars["Int"] | null; - /** skip the first n rows. Use only with order_by */ - offset?: Scalars["Int"] | null; - /** sort the rows by one or more columns */ - orderBy?: OrganizationOrderBy[] | null; - /** filter the rows returned */ - where?: OrganizationBoolExp | null; - }; - }; - /** fetch aggregated fields from the table: "organization" */ - organizationAggregate?: OrganizationAggregateGenqlSelection & { - __args?: { - /** distinct select on columns */ - distinctOn?: OrganizationSelectColumn[] | null; - /** limit the number of rows returned */ - limit?: Scalars["Int"] | null; - /** skip the first n rows. Use only with order_by */ - offset?: Scalars["Int"] | null; - /** sort the rows by one or more columns */ - orderBy?: OrganizationOrderBy[] | null; - /** filter the rows returned */ - where?: OrganizationBoolExp | null; - }; - }; - /** fetch data from the table: "organization" using primary key columns */ - organizationByPk?: OrganizationGenqlSelection & { - __args: { organizationId: Scalars["uuid"] }; - }; - /** fetch data from the table: "organization_chatbot" */ - organizationChatbot?: OrganizationChatbotGenqlSelection & { + /** fetch data from the table: "n8n_credentials" */ + n8nCredentials?: N8nCredentialsGenqlSelection & { __args?: { /** distinct select on columns */ - distinctOn?: OrganizationChatbotSelectColumn[] | null; + distinctOn?: N8nCredentialsSelectColumn[] | null; /** limit the number of rows returned */ limit?: Scalars["Int"] | null; /** skip the first n rows. Use only with order_by */ offset?: Scalars["Int"] | null; /** sort the rows by one or more columns */ - orderBy?: OrganizationChatbotOrderBy[] | null; + orderBy?: N8nCredentialsOrderBy[] | null; /** filter the rows returned */ - where?: OrganizationChatbotBoolExp | null; + where?: N8nCredentialsBoolExp | null; }; }; - /** fetch aggregated fields from the table: "organization_chatbot" */ - organizationChatbotAggregate?: OrganizationChatbotAggregateGenqlSelection & { + /** fetch aggregated fields from the table: "n8n_credentials" */ + n8nCredentialsAggregate?: N8nCredentialsAggregateGenqlSelection & { __args?: { /** distinct select on columns */ - distinctOn?: OrganizationChatbotSelectColumn[] | null; + distinctOn?: N8nCredentialsSelectColumn[] | null; /** limit the number of rows returned */ limit?: Scalars["Int"] | null; /** skip the first n rows. Use only with order_by */ offset?: Scalars["Int"] | null; /** sort the rows by one or more columns */ - orderBy?: OrganizationChatbotOrderBy[] | null; + orderBy?: N8nCredentialsOrderBy[] | null; /** filter the rows returned */ - where?: OrganizationChatbotBoolExp | null; + where?: N8nCredentialsBoolExp | null; }; }; - /** fetch data from the table: "organization_chatbot" using primary key columns */ - organizationChatbotByPk?: OrganizationChatbotGenqlSelection & { - __args: { chatbotId: Scalars["Int"]; organizationId: Scalars["uuid"] }; - }; - /** fetch data from the table in a streaming manner: "organization_chatbot" */ - organizationChatbotStream?: OrganizationChatbotGenqlSelection & { - __args: { - /** maximum number of rows returned in a single batch */ - batchSize: Scalars["Int"]; - /** cursor to stream the results returned by the query */ - cursor: (OrganizationChatbotStreamCursorInput | null)[]; - /** filter the rows returned */ - where?: OrganizationChatbotBoolExp | null; - }; + /** fetch data from the table: "n8n_credentials" using primary key columns */ + n8nCredentialsByPk?: N8nCredentialsGenqlSelection & { + __args: { id: Scalars["uuid"] }; }; - /** fetch data from the table in a streaming manner: "organization" */ - organizationStream?: OrganizationGenqlSelection & { + /** fetch data from the table in a streaming manner: "n8n_credentials" */ + n8nCredentialsStream?: N8nCredentialsGenqlSelection & { __args: { /** maximum number of rows returned in a single batch */ batchSize: Scalars["Int"]; /** cursor to stream the results returned by the query */ - cursor: (OrganizationStreamCursorInput | null)[]; + cursor: (N8nCredentialsStreamCursorInput | null)[]; /** filter the rows returned */ - where?: OrganizationBoolExp | null; + where?: N8nCredentialsBoolExp | null; }; }; /** fetch data from the table: "preference" */ @@ -16962,6 +16449,51 @@ export interface subscription_rootGenqlSelection { }; /** fetch data from the table: "user" using primary key columns */ userByPk?: UserGenqlSelection & { __args: { userId: Scalars["uuid"] } }; + /** fetch data from the table: "user_oauth_connections" */ + userOauthConnections?: UserOauthConnectionsGenqlSelection & { + __args?: { + /** distinct select on columns */ + distinctOn?: UserOauthConnectionsSelectColumn[] | null; + /** limit the number of rows returned */ + limit?: Scalars["Int"] | null; + /** skip the first n rows. Use only with order_by */ + offset?: Scalars["Int"] | null; + /** sort the rows by one or more columns */ + orderBy?: UserOauthConnectionsOrderBy[] | null; + /** filter the rows returned */ + where?: UserOauthConnectionsBoolExp | null; + }; + }; + /** fetch aggregated fields from the table: "user_oauth_connections" */ + userOauthConnectionsAggregate?: UserOauthConnectionsAggregateGenqlSelection & { + __args?: { + /** distinct select on columns */ + distinctOn?: UserOauthConnectionsSelectColumn[] | null; + /** limit the number of rows returned */ + limit?: Scalars["Int"] | null; + /** skip the first n rows. Use only with order_by */ + offset?: Scalars["Int"] | null; + /** sort the rows by one or more columns */ + orderBy?: UserOauthConnectionsOrderBy[] | null; + /** filter the rows returned */ + where?: UserOauthConnectionsBoolExp | null; + }; + }; + /** fetch data from the table: "user_oauth_connections" using primary key columns */ + userOauthConnectionsByPk?: UserOauthConnectionsGenqlSelection & { + __args: { id: Scalars["uuid"] }; + }; + /** fetch data from the table in a streaming manner: "user_oauth_connections" */ + userOauthConnectionsStream?: UserOauthConnectionsGenqlSelection & { + __args: { + /** maximum number of rows returned in a single batch */ + batchSize: Scalars["Int"]; + /** cursor to stream the results returned by the query */ + cursor: (UserOauthConnectionsStreamCursorInput | null)[]; + /** filter the rows returned */ + where?: UserOauthConnectionsBoolExp | null; + }; + }; /** fetch data from the table in a streaming manner: "user" */ userStream?: UserGenqlSelection & { __args: { @@ -17018,6 +16550,51 @@ export interface subscription_rootGenqlSelection { where?: UserTokenBoolExp | null; }; }; + /** fetch data from the table: "user_workflows" */ + userWorkflows?: UserWorkflowsGenqlSelection & { + __args?: { + /** distinct select on columns */ + distinctOn?: UserWorkflowsSelectColumn[] | null; + /** limit the number of rows returned */ + limit?: Scalars["Int"] | null; + /** skip the first n rows. Use only with order_by */ + offset?: Scalars["Int"] | null; + /** sort the rows by one or more columns */ + orderBy?: UserWorkflowsOrderBy[] | null; + /** filter the rows returned */ + where?: UserWorkflowsBoolExp | null; + }; + }; + /** fetch aggregated fields from the table: "user_workflows" */ + userWorkflowsAggregate?: UserWorkflowsAggregateGenqlSelection & { + __args?: { + /** distinct select on columns */ + distinctOn?: UserWorkflowsSelectColumn[] | null; + /** limit the number of rows returned */ + limit?: Scalars["Int"] | null; + /** skip the first n rows. Use only with order_by */ + offset?: Scalars["Int"] | null; + /** sort the rows by one or more columns */ + orderBy?: UserWorkflowsOrderBy[] | null; + /** filter the rows returned */ + where?: UserWorkflowsBoolExp | null; + }; + }; + /** fetch data from the table: "user_workflows" using primary key columns */ + userWorkflowsByPk?: UserWorkflowsGenqlSelection & { + __args: { id: Scalars["uuid"] }; + }; + /** fetch data from the table in a streaming manner: "user_workflows" */ + userWorkflowsStream?: UserWorkflowsGenqlSelection & { + __args: { + /** maximum number of rows returned in a single batch */ + batchSize: Scalars["Int"]; + /** cursor to stream the results returned by the query */ + cursor: (UserWorkflowsStreamCursorInput | null)[]; + /** filter the rows returned */ + where?: UserWorkflowsBoolExp | null; + }; + }; __typename?: boolean | number; __scalar?: boolean | number; } @@ -17754,174 +17331,32 @@ export const isComplexityEnumMaxFields = ( obj?: { __typename?: any } | null, ): obj is ComplexityEnumMaxFields => { if (!obj?.__typename) - throw new Error('__typename is missing in "isComplexityEnumMaxFields"'); - return ComplexityEnumMaxFields_possibleTypes.includes(obj.__typename); -}; - -const ComplexityEnumMinFields_possibleTypes: string[] = [ - "ComplexityEnumMinFields", -]; -export const isComplexityEnumMinFields = ( - obj?: { __typename?: any } | null, -): obj is ComplexityEnumMinFields => { - if (!obj?.__typename) - throw new Error('__typename is missing in "isComplexityEnumMinFields"'); - return ComplexityEnumMinFields_possibleTypes.includes(obj.__typename); -}; - -const ComplexityEnumMutationResponse_possibleTypes: string[] = [ - "ComplexityEnumMutationResponse", -]; -export const isComplexityEnumMutationResponse = ( - obj?: { __typename?: any } | null, -): obj is ComplexityEnumMutationResponse => { - if (!obj?.__typename) - throw new Error( - '__typename is missing in "isComplexityEnumMutationResponse"', - ); - return ComplexityEnumMutationResponse_possibleTypes.includes(obj.__typename); -}; - -const Department_possibleTypes: string[] = ["Department"]; -export const isDepartment = ( - obj?: { __typename?: any } | null, -): obj is Department => { - if (!obj?.__typename) - throw new Error('__typename is missing in "isDepartment"'); - return Department_possibleTypes.includes(obj.__typename); -}; - -const DepartmentAggregate_possibleTypes: string[] = ["DepartmentAggregate"]; -export const isDepartmentAggregate = ( - obj?: { __typename?: any } | null, -): obj is DepartmentAggregate => { - if (!obj?.__typename) - throw new Error('__typename is missing in "isDepartmentAggregate"'); - return DepartmentAggregate_possibleTypes.includes(obj.__typename); -}; - -const DepartmentAggregateFields_possibleTypes: string[] = [ - "DepartmentAggregateFields", -]; -export const isDepartmentAggregateFields = ( - obj?: { __typename?: any } | null, -): obj is DepartmentAggregateFields => { - if (!obj?.__typename) - throw new Error('__typename is missing in "isDepartmentAggregateFields"'); - return DepartmentAggregateFields_possibleTypes.includes(obj.__typename); -}; - -const DepartmentAvgFields_possibleTypes: string[] = ["DepartmentAvgFields"]; -export const isDepartmentAvgFields = ( - obj?: { __typename?: any } | null, -): obj is DepartmentAvgFields => { - if (!obj?.__typename) - throw new Error('__typename is missing in "isDepartmentAvgFields"'); - return DepartmentAvgFields_possibleTypes.includes(obj.__typename); -}; - -const DepartmentMaxFields_possibleTypes: string[] = ["DepartmentMaxFields"]; -export const isDepartmentMaxFields = ( - obj?: { __typename?: any } | null, -): obj is DepartmentMaxFields => { - if (!obj?.__typename) - throw new Error('__typename is missing in "isDepartmentMaxFields"'); - return DepartmentMaxFields_possibleTypes.includes(obj.__typename); -}; - -const DepartmentMinFields_possibleTypes: string[] = ["DepartmentMinFields"]; -export const isDepartmentMinFields = ( - obj?: { __typename?: any } | null, -): obj is DepartmentMinFields => { - if (!obj?.__typename) - throw new Error('__typename is missing in "isDepartmentMinFields"'); - return DepartmentMinFields_possibleTypes.includes(obj.__typename); -}; - -const DepartmentMutationResponse_possibleTypes: string[] = [ - "DepartmentMutationResponse", -]; -export const isDepartmentMutationResponse = ( - obj?: { __typename?: any } | null, -): obj is DepartmentMutationResponse => { - if (!obj?.__typename) - throw new Error('__typename is missing in "isDepartmentMutationResponse"'); - return DepartmentMutationResponse_possibleTypes.includes(obj.__typename); -}; - -const DepartmentStddevFields_possibleTypes: string[] = [ - "DepartmentStddevFields", -]; -export const isDepartmentStddevFields = ( - obj?: { __typename?: any } | null, -): obj is DepartmentStddevFields => { - if (!obj?.__typename) - throw new Error('__typename is missing in "isDepartmentStddevFields"'); - return DepartmentStddevFields_possibleTypes.includes(obj.__typename); -}; - -const DepartmentStddevPopFields_possibleTypes: string[] = [ - "DepartmentStddevPopFields", -]; -export const isDepartmentStddevPopFields = ( - obj?: { __typename?: any } | null, -): obj is DepartmentStddevPopFields => { - if (!obj?.__typename) - throw new Error('__typename is missing in "isDepartmentStddevPopFields"'); - return DepartmentStddevPopFields_possibleTypes.includes(obj.__typename); -}; - -const DepartmentStddevSampFields_possibleTypes: string[] = [ - "DepartmentStddevSampFields", -]; -export const isDepartmentStddevSampFields = ( - obj?: { __typename?: any } | null, -): obj is DepartmentStddevSampFields => { - if (!obj?.__typename) - throw new Error('__typename is missing in "isDepartmentStddevSampFields"'); - return DepartmentStddevSampFields_possibleTypes.includes(obj.__typename); -}; - -const DepartmentSumFields_possibleTypes: string[] = ["DepartmentSumFields"]; -export const isDepartmentSumFields = ( - obj?: { __typename?: any } | null, -): obj is DepartmentSumFields => { - if (!obj?.__typename) - throw new Error('__typename is missing in "isDepartmentSumFields"'); - return DepartmentSumFields_possibleTypes.includes(obj.__typename); -}; - -const DepartmentVarPopFields_possibleTypes: string[] = [ - "DepartmentVarPopFields", -]; -export const isDepartmentVarPopFields = ( - obj?: { __typename?: any } | null, -): obj is DepartmentVarPopFields => { - if (!obj?.__typename) - throw new Error('__typename is missing in "isDepartmentVarPopFields"'); - return DepartmentVarPopFields_possibleTypes.includes(obj.__typename); + throw new Error('__typename is missing in "isComplexityEnumMaxFields"'); + return ComplexityEnumMaxFields_possibleTypes.includes(obj.__typename); }; -const DepartmentVarSampFields_possibleTypes: string[] = [ - "DepartmentVarSampFields", +const ComplexityEnumMinFields_possibleTypes: string[] = [ + "ComplexityEnumMinFields", ]; -export const isDepartmentVarSampFields = ( +export const isComplexityEnumMinFields = ( obj?: { __typename?: any } | null, -): obj is DepartmentVarSampFields => { +): obj is ComplexityEnumMinFields => { if (!obj?.__typename) - throw new Error('__typename is missing in "isDepartmentVarSampFields"'); - return DepartmentVarSampFields_possibleTypes.includes(obj.__typename); + throw new Error('__typename is missing in "isComplexityEnumMinFields"'); + return ComplexityEnumMinFields_possibleTypes.includes(obj.__typename); }; -const DepartmentVarianceFields_possibleTypes: string[] = [ - "DepartmentVarianceFields", +const ComplexityEnumMutationResponse_possibleTypes: string[] = [ + "ComplexityEnumMutationResponse", ]; -export const isDepartmentVarianceFields = ( +export const isComplexityEnumMutationResponse = ( obj?: { __typename?: any } | null, -): obj is DepartmentVarianceFields => { +): obj is ComplexityEnumMutationResponse => { if (!obj?.__typename) - throw new Error('__typename is missing in "isDepartmentVarianceFields"'); - return DepartmentVarianceFields_possibleTypes.includes(obj.__typename); + throw new Error( + '__typename is missing in "isComplexityEnumMutationResponse"', + ); + return ComplexityEnumMutationResponse_possibleTypes.includes(obj.__typename); }; const DomainEnum_possibleTypes: string[] = ["DomainEnum"]; @@ -18333,254 +17768,72 @@ export const isModelsMutationResponse = ( return ModelsMutationResponse_possibleTypes.includes(obj.__typename); }; -const Organization_possibleTypes: string[] = ["Organization"]; -export const isOrganization = ( - obj?: { __typename?: any } | null, -): obj is Organization => { - if (!obj?.__typename) - throw new Error('__typename is missing in "isOrganization"'); - return Organization_possibleTypes.includes(obj.__typename); -}; - -const OrganizationAggregate_possibleTypes: string[] = ["OrganizationAggregate"]; -export const isOrganizationAggregate = ( - obj?: { __typename?: any } | null, -): obj is OrganizationAggregate => { - if (!obj?.__typename) - throw new Error('__typename is missing in "isOrganizationAggregate"'); - return OrganizationAggregate_possibleTypes.includes(obj.__typename); -}; - -const OrganizationAggregateFields_possibleTypes: string[] = [ - "OrganizationAggregateFields", -]; -export const isOrganizationAggregateFields = ( - obj?: { __typename?: any } | null, -): obj is OrganizationAggregateFields => { - if (!obj?.__typename) - throw new Error('__typename is missing in "isOrganizationAggregateFields"'); - return OrganizationAggregateFields_possibleTypes.includes(obj.__typename); -}; - -const OrganizationChatbot_possibleTypes: string[] = ["OrganizationChatbot"]; -export const isOrganizationChatbot = ( - obj?: { __typename?: any } | null, -): obj is OrganizationChatbot => { - if (!obj?.__typename) - throw new Error('__typename is missing in "isOrganizationChatbot"'); - return OrganizationChatbot_possibleTypes.includes(obj.__typename); -}; - -const OrganizationChatbotAggregate_possibleTypes: string[] = [ - "OrganizationChatbotAggregate", -]; -export const isOrganizationChatbotAggregate = ( - obj?: { __typename?: any } | null, -): obj is OrganizationChatbotAggregate => { - if (!obj?.__typename) - throw new Error( - '__typename is missing in "isOrganizationChatbotAggregate"', - ); - return OrganizationChatbotAggregate_possibleTypes.includes(obj.__typename); -}; - -const OrganizationChatbotAggregateFields_possibleTypes: string[] = [ - "OrganizationChatbotAggregateFields", -]; -export const isOrganizationChatbotAggregateFields = ( - obj?: { __typename?: any } | null, -): obj is OrganizationChatbotAggregateFields => { - if (!obj?.__typename) - throw new Error( - '__typename is missing in "isOrganizationChatbotAggregateFields"', - ); - return OrganizationChatbotAggregateFields_possibleTypes.includes( - obj.__typename, - ); -}; - -const OrganizationChatbotAvgFields_possibleTypes: string[] = [ - "OrganizationChatbotAvgFields", -]; -export const isOrganizationChatbotAvgFields = ( - obj?: { __typename?: any } | null, -): obj is OrganizationChatbotAvgFields => { - if (!obj?.__typename) - throw new Error( - '__typename is missing in "isOrganizationChatbotAvgFields"', - ); - return OrganizationChatbotAvgFields_possibleTypes.includes(obj.__typename); -}; - -const OrganizationChatbotMaxFields_possibleTypes: string[] = [ - "OrganizationChatbotMaxFields", -]; -export const isOrganizationChatbotMaxFields = ( - obj?: { __typename?: any } | null, -): obj is OrganizationChatbotMaxFields => { - if (!obj?.__typename) - throw new Error( - '__typename is missing in "isOrganizationChatbotMaxFields"', - ); - return OrganizationChatbotMaxFields_possibleTypes.includes(obj.__typename); -}; - -const OrganizationChatbotMinFields_possibleTypes: string[] = [ - "OrganizationChatbotMinFields", -]; -export const isOrganizationChatbotMinFields = ( - obj?: { __typename?: any } | null, -): obj is OrganizationChatbotMinFields => { - if (!obj?.__typename) - throw new Error( - '__typename is missing in "isOrganizationChatbotMinFields"', - ); - return OrganizationChatbotMinFields_possibleTypes.includes(obj.__typename); -}; - -const OrganizationChatbotMutationResponse_possibleTypes: string[] = [ - "OrganizationChatbotMutationResponse", -]; -export const isOrganizationChatbotMutationResponse = ( - obj?: { __typename?: any } | null, -): obj is OrganizationChatbotMutationResponse => { - if (!obj?.__typename) - throw new Error( - '__typename is missing in "isOrganizationChatbotMutationResponse"', - ); - return OrganizationChatbotMutationResponse_possibleTypes.includes( - obj.__typename, - ); -}; - -const OrganizationChatbotStddevFields_possibleTypes: string[] = [ - "OrganizationChatbotStddevFields", -]; -export const isOrganizationChatbotStddevFields = ( - obj?: { __typename?: any } | null, -): obj is OrganizationChatbotStddevFields => { - if (!obj?.__typename) - throw new Error( - '__typename is missing in "isOrganizationChatbotStddevFields"', - ); - return OrganizationChatbotStddevFields_possibleTypes.includes(obj.__typename); -}; - -const OrganizationChatbotStddevPopFields_possibleTypes: string[] = [ - "OrganizationChatbotStddevPopFields", -]; -export const isOrganizationChatbotStddevPopFields = ( - obj?: { __typename?: any } | null, -): obj is OrganizationChatbotStddevPopFields => { - if (!obj?.__typename) - throw new Error( - '__typename is missing in "isOrganizationChatbotStddevPopFields"', - ); - return OrganizationChatbotStddevPopFields_possibleTypes.includes( - obj.__typename, - ); -}; - -const OrganizationChatbotStddevSampFields_possibleTypes: string[] = [ - "OrganizationChatbotStddevSampFields", -]; -export const isOrganizationChatbotStddevSampFields = ( +const N8nCredentials_possibleTypes: string[] = ["N8nCredentials"]; +export const isN8nCredentials = ( obj?: { __typename?: any } | null, -): obj is OrganizationChatbotStddevSampFields => { +): obj is N8nCredentials => { if (!obj?.__typename) - throw new Error( - '__typename is missing in "isOrganizationChatbotStddevSampFields"', - ); - return OrganizationChatbotStddevSampFields_possibleTypes.includes( - obj.__typename, - ); + throw new Error('__typename is missing in "isN8nCredentials"'); + return N8nCredentials_possibleTypes.includes(obj.__typename); }; -const OrganizationChatbotSumFields_possibleTypes: string[] = [ - "OrganizationChatbotSumFields", +const N8nCredentialsAggregate_possibleTypes: string[] = [ + "N8nCredentialsAggregate", ]; -export const isOrganizationChatbotSumFields = ( +export const isN8nCredentialsAggregate = ( obj?: { __typename?: any } | null, -): obj is OrganizationChatbotSumFields => { +): obj is N8nCredentialsAggregate => { if (!obj?.__typename) - throw new Error( - '__typename is missing in "isOrganizationChatbotSumFields"', - ); - return OrganizationChatbotSumFields_possibleTypes.includes(obj.__typename); + throw new Error('__typename is missing in "isN8nCredentialsAggregate"'); + return N8nCredentialsAggregate_possibleTypes.includes(obj.__typename); }; -const OrganizationChatbotVarPopFields_possibleTypes: string[] = [ - "OrganizationChatbotVarPopFields", +const N8nCredentialsAggregateFields_possibleTypes: string[] = [ + "N8nCredentialsAggregateFields", ]; -export const isOrganizationChatbotVarPopFields = ( +export const isN8nCredentialsAggregateFields = ( obj?: { __typename?: any } | null, -): obj is OrganizationChatbotVarPopFields => { +): obj is N8nCredentialsAggregateFields => { if (!obj?.__typename) throw new Error( - '__typename is missing in "isOrganizationChatbotVarPopFields"', + '__typename is missing in "isN8nCredentialsAggregateFields"', ); - return OrganizationChatbotVarPopFields_possibleTypes.includes(obj.__typename); + return N8nCredentialsAggregateFields_possibleTypes.includes(obj.__typename); }; -const OrganizationChatbotVarSampFields_possibleTypes: string[] = [ - "OrganizationChatbotVarSampFields", +const N8nCredentialsMaxFields_possibleTypes: string[] = [ + "N8nCredentialsMaxFields", ]; -export const isOrganizationChatbotVarSampFields = ( +export const isN8nCredentialsMaxFields = ( obj?: { __typename?: any } | null, -): obj is OrganizationChatbotVarSampFields => { +): obj is N8nCredentialsMaxFields => { if (!obj?.__typename) - throw new Error( - '__typename is missing in "isOrganizationChatbotVarSampFields"', - ); - return OrganizationChatbotVarSampFields_possibleTypes.includes( - obj.__typename, - ); + throw new Error('__typename is missing in "isN8nCredentialsMaxFields"'); + return N8nCredentialsMaxFields_possibleTypes.includes(obj.__typename); }; -const OrganizationChatbotVarianceFields_possibleTypes: string[] = [ - "OrganizationChatbotVarianceFields", +const N8nCredentialsMinFields_possibleTypes: string[] = [ + "N8nCredentialsMinFields", ]; -export const isOrganizationChatbotVarianceFields = ( - obj?: { __typename?: any } | null, -): obj is OrganizationChatbotVarianceFields => { - if (!obj?.__typename) - throw new Error( - '__typename is missing in "isOrganizationChatbotVarianceFields"', - ); - return OrganizationChatbotVarianceFields_possibleTypes.includes( - obj.__typename, - ); -}; - -const OrganizationMaxFields_possibleTypes: string[] = ["OrganizationMaxFields"]; -export const isOrganizationMaxFields = ( - obj?: { __typename?: any } | null, -): obj is OrganizationMaxFields => { - if (!obj?.__typename) - throw new Error('__typename is missing in "isOrganizationMaxFields"'); - return OrganizationMaxFields_possibleTypes.includes(obj.__typename); -}; - -const OrganizationMinFields_possibleTypes: string[] = ["OrganizationMinFields"]; -export const isOrganizationMinFields = ( +export const isN8nCredentialsMinFields = ( obj?: { __typename?: any } | null, -): obj is OrganizationMinFields => { +): obj is N8nCredentialsMinFields => { if (!obj?.__typename) - throw new Error('__typename is missing in "isOrganizationMinFields"'); - return OrganizationMinFields_possibleTypes.includes(obj.__typename); + throw new Error('__typename is missing in "isN8nCredentialsMinFields"'); + return N8nCredentialsMinFields_possibleTypes.includes(obj.__typename); }; -const OrganizationMutationResponse_possibleTypes: string[] = [ - "OrganizationMutationResponse", +const N8nCredentialsMutationResponse_possibleTypes: string[] = [ + "N8nCredentialsMutationResponse", ]; -export const isOrganizationMutationResponse = ( +export const isN8nCredentialsMutationResponse = ( obj?: { __typename?: any } | null, -): obj is OrganizationMutationResponse => { +): obj is N8nCredentialsMutationResponse => { if (!obj?.__typename) throw new Error( - '__typename is missing in "isOrganizationMutationResponse"', + '__typename is missing in "isN8nCredentialsMutationResponse"', ); - return OrganizationMutationResponse_possibleTypes.includes(obj.__typename); + return N8nCredentialsMutationResponse_possibleTypes.includes(obj.__typename); }; const Preference_possibleTypes: string[] = ["Preference"]; @@ -19990,6 +19243,84 @@ export const isUserMutationResponse = ( return UserMutationResponse_possibleTypes.includes(obj.__typename); }; +const UserOauthConnections_possibleTypes: string[] = ["UserOauthConnections"]; +export const isUserOauthConnections = ( + obj?: { __typename?: any } | null, +): obj is UserOauthConnections => { + if (!obj?.__typename) + throw new Error('__typename is missing in "isUserOauthConnections"'); + return UserOauthConnections_possibleTypes.includes(obj.__typename); +}; + +const UserOauthConnectionsAggregate_possibleTypes: string[] = [ + "UserOauthConnectionsAggregate", +]; +export const isUserOauthConnectionsAggregate = ( + obj?: { __typename?: any } | null, +): obj is UserOauthConnectionsAggregate => { + if (!obj?.__typename) + throw new Error( + '__typename is missing in "isUserOauthConnectionsAggregate"', + ); + return UserOauthConnectionsAggregate_possibleTypes.includes(obj.__typename); +}; + +const UserOauthConnectionsAggregateFields_possibleTypes: string[] = [ + "UserOauthConnectionsAggregateFields", +]; +export const isUserOauthConnectionsAggregateFields = ( + obj?: { __typename?: any } | null, +): obj is UserOauthConnectionsAggregateFields => { + if (!obj?.__typename) + throw new Error( + '__typename is missing in "isUserOauthConnectionsAggregateFields"', + ); + return UserOauthConnectionsAggregateFields_possibleTypes.includes( + obj.__typename, + ); +}; + +const UserOauthConnectionsMaxFields_possibleTypes: string[] = [ + "UserOauthConnectionsMaxFields", +]; +export const isUserOauthConnectionsMaxFields = ( + obj?: { __typename?: any } | null, +): obj is UserOauthConnectionsMaxFields => { + if (!obj?.__typename) + throw new Error( + '__typename is missing in "isUserOauthConnectionsMaxFields"', + ); + return UserOauthConnectionsMaxFields_possibleTypes.includes(obj.__typename); +}; + +const UserOauthConnectionsMinFields_possibleTypes: string[] = [ + "UserOauthConnectionsMinFields", +]; +export const isUserOauthConnectionsMinFields = ( + obj?: { __typename?: any } | null, +): obj is UserOauthConnectionsMinFields => { + if (!obj?.__typename) + throw new Error( + '__typename is missing in "isUserOauthConnectionsMinFields"', + ); + return UserOauthConnectionsMinFields_possibleTypes.includes(obj.__typename); +}; + +const UserOauthConnectionsMutationResponse_possibleTypes: string[] = [ + "UserOauthConnectionsMutationResponse", +]; +export const isUserOauthConnectionsMutationResponse = ( + obj?: { __typename?: any } | null, +): obj is UserOauthConnectionsMutationResponse => { + if (!obj?.__typename) + throw new Error( + '__typename is missing in "isUserOauthConnectionsMutationResponse"', + ); + return UserOauthConnectionsMutationResponse_possibleTypes.includes( + obj.__typename, + ); +}; + const UserToken_possibleTypes: string[] = ["UserToken"]; export const isUserToken = ( obj?: { __typename?: any } | null, @@ -20048,6 +19379,74 @@ export const isUserTokenMutationResponse = ( return UserTokenMutationResponse_possibleTypes.includes(obj.__typename); }; +const UserWorkflows_possibleTypes: string[] = ["UserWorkflows"]; +export const isUserWorkflows = ( + obj?: { __typename?: any } | null, +): obj is UserWorkflows => { + if (!obj?.__typename) + throw new Error('__typename is missing in "isUserWorkflows"'); + return UserWorkflows_possibleTypes.includes(obj.__typename); +}; + +const UserWorkflowsAggregate_possibleTypes: string[] = [ + "UserWorkflowsAggregate", +]; +export const isUserWorkflowsAggregate = ( + obj?: { __typename?: any } | null, +): obj is UserWorkflowsAggregate => { + if (!obj?.__typename) + throw new Error('__typename is missing in "isUserWorkflowsAggregate"'); + return UserWorkflowsAggregate_possibleTypes.includes(obj.__typename); +}; + +const UserWorkflowsAggregateFields_possibleTypes: string[] = [ + "UserWorkflowsAggregateFields", +]; +export const isUserWorkflowsAggregateFields = ( + obj?: { __typename?: any } | null, +): obj is UserWorkflowsAggregateFields => { + if (!obj?.__typename) + throw new Error( + '__typename is missing in "isUserWorkflowsAggregateFields"', + ); + return UserWorkflowsAggregateFields_possibleTypes.includes(obj.__typename); +}; + +const UserWorkflowsMaxFields_possibleTypes: string[] = [ + "UserWorkflowsMaxFields", +]; +export const isUserWorkflowsMaxFields = ( + obj?: { __typename?: any } | null, +): obj is UserWorkflowsMaxFields => { + if (!obj?.__typename) + throw new Error('__typename is missing in "isUserWorkflowsMaxFields"'); + return UserWorkflowsMaxFields_possibleTypes.includes(obj.__typename); +}; + +const UserWorkflowsMinFields_possibleTypes: string[] = [ + "UserWorkflowsMinFields", +]; +export const isUserWorkflowsMinFields = ( + obj?: { __typename?: any } | null, +): obj is UserWorkflowsMinFields => { + if (!obj?.__typename) + throw new Error('__typename is missing in "isUserWorkflowsMinFields"'); + return UserWorkflowsMinFields_possibleTypes.includes(obj.__typename); +}; + +const UserWorkflowsMutationResponse_possibleTypes: string[] = [ + "UserWorkflowsMutationResponse", +]; +export const isUserWorkflowsMutationResponse = ( + obj?: { __typename?: any } | null, +): obj is UserWorkflowsMutationResponse => { + if (!obj?.__typename) + throw new Error( + '__typename is missing in "isUserWorkflowsMutationResponse"', + ); + return UserWorkflowsMutationResponse_possibleTypes.includes(obj.__typename); +}; + const mutation_root_possibleTypes: string[] = ["mutation_root"]; export const ismutation_root = ( obj?: { __typename?: any } | null, @@ -20208,20 +19607,6 @@ export const enumCursorOrdering = { DESC: "DESC" as const, }; -export const enumDepartmentConstraint = { - department_pkey: "department_pkey" as const, -}; - -export const enumDepartmentSelectColumn = { - departmentId: "departmentId" as const, - name: "name" as const, -}; - -export const enumDepartmentUpdateColumn = { - departmentId: "departmentId" as const, - name: "name" as const, -}; - export const enumDomainEnumConstraint = { domain_enum_pkey: "domain_enum_pkey" as const, }; @@ -20392,55 +19777,38 @@ export const enumModelsUpdateColumn = { type: "type" as const, }; -export const enumOrderBy = { - ASC: "ASC" as const, - ASC_NULLS_FIRST: "ASC_NULLS_FIRST" as const, - ASC_NULLS_LAST: "ASC_NULLS_LAST" as const, - DESC: "DESC" as const, - DESC_NULLS_FIRST: "DESC_NULLS_FIRST" as const, - DESC_NULLS_LAST: "DESC_NULLS_LAST" as const, -}; - -export const enumOrganizationChatbotConstraint = { - organization_chatbot_pkey: "organization_chatbot_pkey" as const, -}; - -export const enumOrganizationChatbotSelectColumn = { - chatbotId: "chatbotId" as const, - isActive: "isActive" as const, - organizationId: "organizationId" as const, -}; - -export const enumOrganizationChatbotSelectColumnOrganizationChatbotAggregateBoolExpBoolAndArgumentsColumns = - { - isActive: "isActive" as const, - }; - -export const enumOrganizationChatbotSelectColumnOrganizationChatbotAggregateBoolExpBoolOrArgumentsColumns = - { - isActive: "isActive" as const, - }; - -export const enumOrganizationChatbotUpdateColumn = { - chatbotId: "chatbotId" as const, - isActive: "isActive" as const, - organizationId: "organizationId" as const, +export const enumN8NCredentialsConstraint = { + n8n_credentials_n8n_credential_id_key: + "n8n_credentials_n8n_credential_id_key" as const, + n8n_credentials_pkey: "n8n_credentials_pkey" as const, + n8n_credentials_user_id_key: "n8n_credentials_user_id_key" as const, }; -export const enumOrganizationConstraint = { - organization_pkey: "organization_pkey" as const, +export const enumN8NCredentialsSelectColumn = { + createdAt: "createdAt" as const, + id: "id" as const, + n8nCredentialId: "n8nCredentialId" as const, + provider: "provider" as const, + service: "service" as const, + userId: "userId" as const, }; -export const enumOrganizationSelectColumn = { - name: "name" as const, - organizationId: "organizationId" as const, +export const enumN8NCredentialsUpdateColumn = { + createdAt: "createdAt" as const, + id: "id" as const, + n8nCredentialId: "n8nCredentialId" as const, + provider: "provider" as const, + service: "service" as const, userId: "userId" as const, }; -export const enumOrganizationUpdateColumn = { - name: "name" as const, - organizationId: "organizationId" as const, - userId: "userId" as const, +export const enumOrderBy = { + ASC: "ASC" as const, + ASC_NULLS_FIRST: "ASC_NULLS_FIRST" as const, + ASC_NULLS_LAST: "ASC_NULLS_LAST" as const, + DESC: "DESC" as const, + DESC_NULLS_FIRST: "DESC_NULLS_FIRST" as const, + DESC_NULLS_LAST: "DESC_NULLS_LAST" as const, }; export const enumPreferenceConstraint = { @@ -20719,6 +20087,34 @@ export const enumUserConstraint = { user_username_key: "user_username_key" as const, }; +export const enumUserOauthConnectionsConstraint = { + user_oauth_connections_pkey: "user_oauth_connections_pkey" as const, + user_oauth_connections_user_id_key: + "user_oauth_connections_user_id_key" as const, +}; + +export const enumUserOauthConnectionsSelectColumn = { + connectedAt: "connectedAt" as const, + id: "id" as const, + provider: "provider" as const, + revokedAt: "revokedAt" as const, + scopes: "scopes" as const, + service: "service" as const, + status: "status" as const, + userId: "userId" as const, +}; + +export const enumUserOauthConnectionsUpdateColumn = { + connectedAt: "connectedAt" as const, + id: "id" as const, + provider: "provider" as const, + revokedAt: "revokedAt" as const, + scopes: "scopes" as const, + service: "service" as const, + status: "status" as const, + userId: "userId" as const, +}; + export const enumUserSelectColumn = { bio: "bio" as const, dateJoined: "dateJoined" as const, @@ -20772,3 +20168,29 @@ export const enumUserUpdateColumn = { userId: "userId" as const, username: "username" as const, }; + +export const enumUserWorkflowsConstraint = { + user_workflows_created_at_key: "user_workflows_created_at_key" as const, + user_workflows_pkey: "user_workflows_pkey" as const, + user_workflows_user_id_key: "user_workflows_user_id_key" as const, +}; + +export const enumUserWorkflowsSelectColumn = { + createdAt: "createdAt" as const, + folderPath: "folderPath" as const, + id: "id" as const, + service: "service" as const, + userId: "userId" as const, + workflowId: "workflowId" as const, + workflowName: "workflowName" as const, +}; + +export const enumUserWorkflowsUpdateColumn = { + createdAt: "createdAt" as const, + folderPath: "folderPath" as const, + id: "id" as const, + service: "service" as const, + userId: "userId" as const, + workflowId: "workflowId" as const, + workflowName: "workflowName" as const, +}; diff --git a/packages/mb-genql/generated/types.ts b/packages/mb-genql/generated/types.ts index 86f1906e4..4c40291fa 100644 --- a/packages/mb-genql/generated/types.ts +++ b/packages/mb-genql/generated/types.ts @@ -1,13 +1,13 @@ export default { scalars: [ 0, 7, 15, 26, 30, 41, 49, 72, 83, 95, 103, 113, 124, 136, 155, 156, 157, - 169, 181, 190, 194, 196, 202, 212, 220, 229, 238, 242, 252, 266, 270, 272, - 273, 281, 290, 294, 304, 319, 320, 321, 329, 338, 342, 344, 351, 356, 357, - 367, 371, 381, 385, 388, 405, 416, 417, 418, 430, 438, 449, 453, 464, 476, - 477, 478, 490, 516, 527, 539, 547, 559, 575, 584, 588, 590, 601, 612, 624, - 645, 655, 659, 678, 697, 707, 718, 722, 733, 744, 756, 774, 790, 791, 792, - 804, 817, 826, 830, 836, 845, 849, 855, 864, 868, 874, 884, 895, 905, 909, - 911, 922, 926, 927, 945, 947, 948, + 169, 181, 190, 194, 196, 201, 210, 214, 224, 238, 242, 244, 245, 253, 262, + 266, 276, 291, 292, 293, 301, 310, 314, 316, 323, 328, 329, 339, 343, 353, + 357, 363, 371, 375, 378, 388, 400, 401, 402, 414, 440, 451, 463, 471, 483, + 499, 508, 512, 514, 525, 536, 548, 569, 579, 583, 602, 621, 631, 642, 646, + 657, 668, 680, 698, 714, 715, 716, 728, 741, 750, 754, 760, 769, 773, 779, + 788, 792, 798, 807, 815, 819, 826, 837, 847, 851, 853, 859, 867, 871, 882, + 886, 887, 901, 903, 904, ], types: { Boolean: {}, @@ -21,16 +21,16 @@ export default { _lte: [0], _neq: [0], _nin: [0], - __typename: [697], + __typename: [621], }, Category: { - categoryId: [273], + categoryId: [245], chatbots: [ 63, { distinctOn: [83, "[ChatbotCategorySelectColumn!]"], - limit: [273], - offset: [273], + limit: [245], + offset: [245], orderBy: [81, "[ChatbotCategoryOrderBy!]"], where: [71], }, @@ -39,25 +39,25 @@ export default { 64, { distinctOn: [83, "[ChatbotCategorySelectColumn!]"], - limit: [273], - offset: [273], + limit: [245], + offset: [245], orderBy: [81, "[ChatbotCategoryOrderBy!]"], where: [71], }, ], - name: [697], - order: [273], - __typename: [697], + name: [621], + order: [245], + __typename: [621], }, CategoryAggregate: { aggregate: [4], nodes: [2], - __typename: [697], + __typename: [621], }, CategoryAggregateFields: { avg: [5], count: [ - 273, + 245, { columns: [41, "[CategorySelectColumn!]"], distinct: [0], @@ -72,84 +72,84 @@ export default { varPop: [51], varSamp: [52], variance: [53], - __typename: [697], + __typename: [621], }, CategoryAvgFields: { - categoryId: [272], - order: [272], - __typename: [697], + categoryId: [244], + order: [244], + __typename: [621], }, CategoryBoolExp: { _and: [6], _not: [6], _or: [6], - categoryId: [274], + categoryId: [246], chatbots: [71], chatbotsAggregate: [65], - name: [699], - order: [274], - __typename: [697], + name: [623], + order: [246], + __typename: [621], }, CategoryConstraint: {}, CategoryEnum: { - added: [945], - domain: [697], - domain_enum: [225], - name: [697], + added: [901], + domain: [621], + domain_enum: [197], + name: [621], subcategoryEnumsAggregate: [ - 701, + 625, { - distinctOn: [718, "[SubcategoryEnumSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [716, "[SubcategoryEnumOrderBy!]"], - where: [706], + distinctOn: [642, "[SubcategoryEnumSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [640, "[SubcategoryEnumOrderBy!]"], + where: [630], }, ], subcategoryEnumsByCategoryDomain: [ - 700, + 624, { - distinctOn: [718, "[SubcategoryEnumSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [716, "[SubcategoryEnumOrderBy!]"], - where: [706], + distinctOn: [642, "[SubcategoryEnumSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [640, "[SubcategoryEnumOrderBy!]"], + where: [630], }, ], subcategoryEnumsByCategoryDomainAggregate: [ - 701, + 625, { - distinctOn: [718, "[SubcategoryEnumSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [716, "[SubcategoryEnumOrderBy!]"], - where: [706], + distinctOn: [642, "[SubcategoryEnumSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [640, "[SubcategoryEnumOrderBy!]"], + where: [630], }, ], subcategory_enums: [ - 700, + 624, { - distinctOn: [718, "[SubcategoryEnumSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [716, "[SubcategoryEnumOrderBy!]"], - where: [706], + distinctOn: [642, "[SubcategoryEnumSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [640, "[SubcategoryEnumOrderBy!]"], + where: [630], }, ], - __typename: [697], + __typename: [621], }, CategoryEnumAggregate: { aggregate: [11], nodes: [8], - __typename: [697], + __typename: [621], }, CategoryEnumAggregateBoolExp: { - count: [915], - __typename: [697], + count: [875], + __typename: [621], }, CategoryEnumAggregateFields: { count: [ - 273, + 245, { columns: [26, "[CategoryEnumSelectColumn!]"], distinct: [0], @@ -157,240 +157,240 @@ export default { ], max: [17], min: [19], - __typename: [697], + __typename: [621], }, CategoryEnumAggregateOrderBy: { - count: [388], + count: [378], max: [18], min: [20], - __typename: [697], + __typename: [621], }, CategoryEnumArrRelInsertInput: { data: [16], onConflict: [23], - __typename: [697], + __typename: [621], }, CategoryEnumBoolExp: { _and: [14], _not: [14], _or: [14], - added: [812], - domain: [699], - domain_enum: [228], - name: [699], - subcategoryEnumsByCategoryDomain: [706], - subcategoryEnumsByCategoryDomainAggregate: [702], - subcategory_enums: [706], - subcategory_enumsAggregate: [702], - __typename: [697], + added: [736], + domain: [623], + domain_enum: [200], + name: [623], + subcategoryEnumsByCategoryDomain: [630], + subcategoryEnumsByCategoryDomainAggregate: [626], + subcategory_enums: [630], + subcategory_enumsAggregate: [626], + __typename: [621], }, CategoryEnumConstraint: {}, CategoryEnumInsertInput: { - added: [945], - domain: [697], - domain_enum: [234], - name: [697], - subcategoryEnumsByCategoryDomain: [705], - subcategory_enums: [705], - __typename: [697], + added: [901], + domain: [621], + domain_enum: [206], + name: [621], + subcategoryEnumsByCategoryDomain: [629], + subcategory_enums: [629], + __typename: [621], }, CategoryEnumMaxFields: { - added: [945], - domain: [697], - name: [697], - __typename: [697], + added: [901], + domain: [621], + name: [621], + __typename: [621], }, CategoryEnumMaxOrderBy: { - added: [388], - domain: [388], - name: [388], - __typename: [697], + added: [378], + domain: [378], + name: [378], + __typename: [621], }, CategoryEnumMinFields: { - added: [945], - domain: [697], - name: [697], - __typename: [697], + added: [901], + domain: [621], + name: [621], + __typename: [621], }, CategoryEnumMinOrderBy: { - added: [388], - domain: [388], - name: [388], - __typename: [697], + added: [378], + domain: [378], + name: [378], + __typename: [621], }, CategoryEnumMutationResponse: { - affectedRows: [273], + affectedRows: [245], returning: [8], - __typename: [697], + __typename: [621], }, CategoryEnumObjRelInsertInput: { data: [16], onConflict: [23], - __typename: [697], + __typename: [621], }, CategoryEnumOnConflict: { constraint: [15], updateColumns: [30], where: [14], - __typename: [697], + __typename: [621], }, CategoryEnumOrderBy: { - added: [388], - domain: [388], - domain_enum: [236], - name: [388], - subcategoryEnumsByCategoryDomainAggregate: [704], - subcategory_enumsAggregate: [704], - __typename: [697], + added: [378], + domain: [378], + domain_enum: [208], + name: [378], + subcategoryEnumsByCategoryDomainAggregate: [628], + subcategory_enumsAggregate: [628], + __typename: [621], }, CategoryEnumPkColumnsInput: { - domain: [697], - name: [697], - __typename: [697], + domain: [621], + name: [621], + __typename: [621], }, CategoryEnumSelectColumn: {}, CategoryEnumSetInput: { - added: [945], - domain: [697], - name: [697], - __typename: [697], + added: [901], + domain: [621], + name: [621], + __typename: [621], }, CategoryEnumStreamCursorInput: { initialValue: [29], ordering: [196], - __typename: [697], + __typename: [621], }, CategoryEnumStreamCursorValueInput: { - added: [945], - domain: [697], - name: [697], - __typename: [697], + added: [901], + domain: [621], + name: [621], + __typename: [621], }, CategoryEnumUpdateColumn: {}, CategoryEnumUpdates: { _set: [27], where: [14], - __typename: [697], + __typename: [621], }, CategoryIncInput: { - categoryId: [273], - order: [273], - __typename: [697], + categoryId: [245], + order: [245], + __typename: [621], }, CategoryInsertInput: { - categoryId: [273], + categoryId: [245], chatbots: [68], - name: [697], - order: [273], - __typename: [697], + name: [621], + order: [245], + __typename: [621], }, CategoryMaxFields: { - categoryId: [273], - name: [697], - order: [273], - __typename: [697], + categoryId: [245], + name: [621], + order: [245], + __typename: [621], }, CategoryMinFields: { - categoryId: [273], - name: [697], - order: [273], - __typename: [697], + categoryId: [245], + name: [621], + order: [245], + __typename: [621], }, CategoryMutationResponse: { - affectedRows: [273], + affectedRows: [245], returning: [2], - __typename: [697], + __typename: [621], }, CategoryObjRelInsertInput: { data: [33], onConflict: [38], - __typename: [697], + __typename: [621], }, CategoryOnConflict: { constraint: [7], updateColumns: [49], where: [6], - __typename: [697], + __typename: [621], }, CategoryOrderBy: { - categoryId: [388], + categoryId: [378], chatbotsAggregate: [67], - name: [388], - order: [388], - __typename: [697], + name: [378], + order: [378], + __typename: [621], }, CategoryPkColumnsInput: { - categoryId: [273], - __typename: [697], + categoryId: [245], + __typename: [621], }, CategorySelectColumn: {}, CategorySetInput: { - categoryId: [273], - name: [697], - order: [273], - __typename: [697], + categoryId: [245], + name: [621], + order: [245], + __typename: [621], }, CategoryStddevFields: { - categoryId: [272], - order: [272], - __typename: [697], + categoryId: [244], + order: [244], + __typename: [621], }, CategoryStddevPopFields: { - categoryId: [272], - order: [272], - __typename: [697], + categoryId: [244], + order: [244], + __typename: [621], }, CategoryStddevSampFields: { - categoryId: [272], - order: [272], - __typename: [697], + categoryId: [244], + order: [244], + __typename: [621], }, CategoryStreamCursorInput: { initialValue: [47], ordering: [196], - __typename: [697], + __typename: [621], }, CategoryStreamCursorValueInput: { - categoryId: [273], - name: [697], - order: [273], - __typename: [697], + categoryId: [245], + name: [621], + order: [245], + __typename: [621], }, CategorySumFields: { - categoryId: [273], - order: [273], - __typename: [697], + categoryId: [245], + order: [245], + __typename: [621], }, CategoryUpdateColumn: {}, CategoryUpdates: { _inc: [32], _set: [42], where: [6], - __typename: [697], + __typename: [621], }, CategoryVarPopFields: { - categoryId: [272], - order: [272], - __typename: [697], + categoryId: [244], + order: [244], + __typename: [621], }, CategoryVarSampFields: { - categoryId: [272], - order: [272], - __typename: [697], + categoryId: [244], + order: [244], + __typename: [621], }, CategoryVarianceFields: { - categoryId: [272], - order: [272], - __typename: [697], + categoryId: [244], + order: [244], + __typename: [621], }, Chatbot: { - avatar: [697], + avatar: [621], categories: [ 63, { distinctOn: [83, "[ChatbotCategorySelectColumn!]"], - limit: [273], - offset: [273], + limit: [245], + offset: [245], orderBy: [81, "[ChatbotCategoryOrderBy!]"], where: [71], }, @@ -399,51 +399,50 @@ export default { 64, { distinctOn: [83, "[ChatbotCategorySelectColumn!]"], - limit: [273], - offset: [273], + limit: [245], + offset: [245], orderBy: [81, "[ChatbotCategoryOrderBy!]"], where: [71], }, ], - chatbotId: [273], + chatbotId: [245], complexityEnum: [177], - createdBy: [697], - defaultComplexity: [697], - defaultLength: [697], - defaultTone: [697], - defaultType: [697], - department: [197], - departmentId: [273], - description: [697], + createdBy: [621], + defaultComplexity: [621], + defaultLength: [621], + defaultTone: [621], + defaultType: [621], + departmentId: [245], + description: [621], disabled: [0], followers: [ - 661, + 585, { - distinctOn: [678, "[SocialFollowingSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [677, "[SocialFollowingOrderBy!]"], - where: [669], + distinctOn: [602, "[SocialFollowingSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [601, "[SocialFollowingOrderBy!]"], + where: [593], }, ], followersAggregate: [ - 662, + 586, { - distinctOn: [678, "[SocialFollowingSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [677, "[SocialFollowingOrderBy!]"], - where: [669], + distinctOn: [602, "[SocialFollowingSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [601, "[SocialFollowingOrderBy!]"], + where: [593], }, ], isPro: [0], - lengthEnum: [277], + lengthEnum: [249], metadata: [ 104, { distinctOn: [124, "[ChatbotDomainSelectColumn!]"], - limit: [273], - offset: [273], + limit: [245], + offset: [245], orderBy: [122, "[ChatbotDomainOrderBy!]"], where: [112], }, @@ -452,94 +451,74 @@ export default { 105, { distinctOn: [124, "[ChatbotDomainSelectColumn!]"], - limit: [273], - offset: [273], + limit: [245], + offset: [245], orderBy: [122, "[ChatbotDomainOrderBy!]"], where: [112], }, ], - name: [697], - order: [273], - organizationChatbotsAggregate: [ - 397, - { - distinctOn: [416, "[OrganizationChatbotSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [414, "[OrganizationChatbotOrderBy!]"], - where: [404], - }, - ], - organization_chatbots: [ - 396, - { - distinctOn: [416, "[OrganizationChatbotSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [414, "[OrganizationChatbotOrderBy!]"], - where: [404], - }, - ], + name: [621], + order: [245], proExclusive: [0], prompts: [ - 507, + 431, { - distinctOn: [527, "[PromptChatbotSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [525, "[PromptChatbotOrderBy!]"], - where: [515], + distinctOn: [451, "[PromptChatbotSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [449, "[PromptChatbotOrderBy!]"], + where: [439], }, ], promptsAggregate: [ - 508, + 432, { - distinctOn: [527, "[PromptChatbotSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [525, "[PromptChatbotOrderBy!]"], - where: [515], + distinctOn: [451, "[PromptChatbotSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [449, "[PromptChatbotOrderBy!]"], + where: [439], }, ], threads: [ - 764, + 688, { - distinctOn: [790, "[ThreadSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [787, "[ThreadOrderBy!]"], - where: [773], + distinctOn: [714, "[ThreadSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [711, "[ThreadOrderBy!]"], + where: [697], }, ], threadsAggregate: [ - 765, + 689, { - distinctOn: [790, "[ThreadSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [787, "[ThreadOrderBy!]"], - where: [773], + distinctOn: [714, "[ThreadSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [711, "[ThreadOrderBy!]"], + where: [697], }, ], - toneEnum: [832], - typeEnum: [851], - __typename: [697], + toneEnum: [756], + typeEnum: [775], + __typename: [621], }, ChatbotAggregate: { aggregate: [57], nodes: [54], - __typename: [697], + __typename: [621], }, ChatbotAggregateBoolExp: { - bool_and: [916], - bool_or: [917], - count: [918], - __typename: [697], + bool_and: [876], + bool_or: [877], + count: [878], + __typename: [621], }, ChatbotAggregateFields: { avg: [60], count: [ - 273, + 245, { columns: [155, "[ChatbotSelectColumn!]"], distinct: [0], @@ -554,11 +533,11 @@ export default { varPop: [171], varSamp: [173], variance: [175], - __typename: [697], + __typename: [621], }, ChatbotAggregateOrderBy: { avg: [61], - count: [388], + count: [378], max: [147], min: [149], stddev: [160], @@ -568,82 +547,79 @@ export default { varPop: [172], varSamp: [174], variance: [176], - __typename: [697], + __typename: [621], }, ChatbotArrRelInsertInput: { data: [145], onConflict: [152], - __typename: [697], + __typename: [621], }, ChatbotAvgFields: { - chatbotId: [272], - departmentId: [272], - order: [272], - __typename: [697], + chatbotId: [244], + departmentId: [244], + order: [244], + __typename: [621], }, ChatbotAvgOrderBy: { - chatbotId: [388], - departmentId: [388], - order: [388], - __typename: [697], + chatbotId: [378], + departmentId: [378], + order: [378], + __typename: [621], }, ChatbotBoolExp: { _and: [62], _not: [62], _or: [62], - avatar: [699], + avatar: [623], categories: [71], categoriesAggregate: [65], - chatbotId: [274], + chatbotId: [246], complexityEnum: [180], - createdBy: [699], - defaultComplexity: [699], - defaultLength: [699], - defaultTone: [699], - defaultType: [699], - department: [201], - departmentId: [274], - description: [699], + createdBy: [623], + defaultComplexity: [623], + defaultLength: [623], + defaultTone: [623], + defaultType: [623], + departmentId: [246], + description: [623], disabled: [1], - followers: [669], - followersAggregate: [663], + followers: [593], + followersAggregate: [587], isPro: [1], - lengthEnum: [280], + lengthEnum: [252], metadata: [112], metadataAggregate: [106], - name: [699], - order: [274], - organization_chatbots: [404], - organization_chatbotsAggregate: [398], + name: [623], + order: [246], proExclusive: [1], - prompts: [515], - promptsAggregate: [509], - threads: [773], - threadsAggregate: [766], - toneEnum: [835], - typeEnum: [854], - __typename: [697], + prompts: [439], + promptsAggregate: [433], + threads: [697], + threadsAggregate: [690], + toneEnum: [759], + typeEnum: [778], + __typename: [621], }, ChatbotCategory: { category: [2], - categoryId: [273], + categoryId: [245], chatbot: [54], - chatbotId: [273], - __typename: [697], + chatbotId: [245], + __typename: [621], }, ChatbotCategoryAggregate: { aggregate: [66], nodes: [63], - __typename: [697], + __typename: [621], }, ChatbotCategoryAggregateBoolExp: { - count: [919], - __typename: [697], + count: [879], + __typename: [621], }, ChatbotCategoryAggregateFields: { avg: [69], count: [ - 273, + 245, { columns: [83, "[ChatbotCategorySelectColumn!]"], distinct: [0], @@ -658,11 +634,11 @@ export default { varPop: [97], varSamp: [99], variance: [101], - __typename: [697], + __typename: [621], }, ChatbotCategoryAggregateOrderBy: { avg: [70], - count: [388], + count: [378], max: [76], min: [78], stddev: [86], @@ -672,203 +648,203 @@ export default { varPop: [98], varSamp: [100], variance: [102], - __typename: [697], + __typename: [621], }, ChatbotCategoryArrRelInsertInput: { data: [74], onConflict: [80], - __typename: [697], + __typename: [621], }, ChatbotCategoryAvgFields: { - categoryId: [272], - chatbotId: [272], - __typename: [697], + categoryId: [244], + chatbotId: [244], + __typename: [621], }, ChatbotCategoryAvgOrderBy: { - categoryId: [388], - chatbotId: [388], - __typename: [697], + categoryId: [378], + chatbotId: [378], + __typename: [621], }, ChatbotCategoryBoolExp: { _and: [71], _not: [71], _or: [71], category: [6], - categoryId: [274], + categoryId: [246], chatbot: [62], - chatbotId: [274], - __typename: [697], + chatbotId: [246], + __typename: [621], }, ChatbotCategoryConstraint: {}, ChatbotCategoryIncInput: { - categoryId: [273], - chatbotId: [273], - __typename: [697], + categoryId: [245], + chatbotId: [245], + __typename: [621], }, ChatbotCategoryInsertInput: { category: [37], - categoryId: [273], + categoryId: [245], chatbot: [151], - chatbotId: [273], - __typename: [697], + chatbotId: [245], + __typename: [621], }, ChatbotCategoryMaxFields: { - categoryId: [273], - chatbotId: [273], - __typename: [697], + categoryId: [245], + chatbotId: [245], + __typename: [621], }, ChatbotCategoryMaxOrderBy: { - categoryId: [388], - chatbotId: [388], - __typename: [697], + categoryId: [378], + chatbotId: [378], + __typename: [621], }, ChatbotCategoryMinFields: { - categoryId: [273], - chatbotId: [273], - __typename: [697], + categoryId: [245], + chatbotId: [245], + __typename: [621], }, ChatbotCategoryMinOrderBy: { - categoryId: [388], - chatbotId: [388], - __typename: [697], + categoryId: [378], + chatbotId: [378], + __typename: [621], }, ChatbotCategoryMutationResponse: { - affectedRows: [273], + affectedRows: [245], returning: [63], - __typename: [697], + __typename: [621], }, ChatbotCategoryOnConflict: { constraint: [72], updateColumns: [95], where: [71], - __typename: [697], + __typename: [621], }, ChatbotCategoryOrderBy: { category: [39], - categoryId: [388], + categoryId: [378], chatbot: [153], - chatbotId: [388], - __typename: [697], + chatbotId: [378], + __typename: [621], }, ChatbotCategoryPkColumnsInput: { - categoryId: [273], - chatbotId: [273], - __typename: [697], + categoryId: [245], + chatbotId: [245], + __typename: [621], }, ChatbotCategorySelectColumn: {}, ChatbotCategorySetInput: { - categoryId: [273], - chatbotId: [273], - __typename: [697], + categoryId: [245], + chatbotId: [245], + __typename: [621], }, ChatbotCategoryStddevFields: { - categoryId: [272], - chatbotId: [272], - __typename: [697], + categoryId: [244], + chatbotId: [244], + __typename: [621], }, ChatbotCategoryStddevOrderBy: { - categoryId: [388], - chatbotId: [388], - __typename: [697], + categoryId: [378], + chatbotId: [378], + __typename: [621], }, ChatbotCategoryStddevPopFields: { - categoryId: [272], - chatbotId: [272], - __typename: [697], + categoryId: [244], + chatbotId: [244], + __typename: [621], }, ChatbotCategoryStddevPopOrderBy: { - categoryId: [388], - chatbotId: [388], - __typename: [697], + categoryId: [378], + chatbotId: [378], + __typename: [621], }, ChatbotCategoryStddevSampFields: { - categoryId: [272], - chatbotId: [272], - __typename: [697], + categoryId: [244], + chatbotId: [244], + __typename: [621], }, ChatbotCategoryStddevSampOrderBy: { - categoryId: [388], - chatbotId: [388], - __typename: [697], + categoryId: [378], + chatbotId: [378], + __typename: [621], }, ChatbotCategoryStreamCursorInput: { initialValue: [92], ordering: [196], - __typename: [697], + __typename: [621], }, ChatbotCategoryStreamCursorValueInput: { - categoryId: [273], - chatbotId: [273], - __typename: [697], + categoryId: [245], + chatbotId: [245], + __typename: [621], }, ChatbotCategorySumFields: { - categoryId: [273], - chatbotId: [273], - __typename: [697], + categoryId: [245], + chatbotId: [245], + __typename: [621], }, ChatbotCategorySumOrderBy: { - categoryId: [388], - chatbotId: [388], - __typename: [697], + categoryId: [378], + chatbotId: [378], + __typename: [621], }, ChatbotCategoryUpdateColumn: {}, ChatbotCategoryUpdates: { _inc: [73], _set: [84], where: [71], - __typename: [697], + __typename: [621], }, ChatbotCategoryVarPopFields: { - categoryId: [272], - chatbotId: [272], - __typename: [697], + categoryId: [244], + chatbotId: [244], + __typename: [621], }, ChatbotCategoryVarPopOrderBy: { - categoryId: [388], - chatbotId: [388], - __typename: [697], + categoryId: [378], + chatbotId: [378], + __typename: [621], }, ChatbotCategoryVarSampFields: { - categoryId: [272], - chatbotId: [272], - __typename: [697], + categoryId: [244], + chatbotId: [244], + __typename: [621], }, ChatbotCategoryVarSampOrderBy: { - categoryId: [388], - chatbotId: [388], - __typename: [697], + categoryId: [378], + chatbotId: [378], + __typename: [621], }, ChatbotCategoryVarianceFields: { - categoryId: [272], - chatbotId: [272], - __typename: [697], + categoryId: [244], + chatbotId: [244], + __typename: [621], }, ChatbotCategoryVarianceOrderBy: { - categoryId: [388], - chatbotId: [388], - __typename: [697], + categoryId: [378], + chatbotId: [378], + __typename: [621], }, ChatbotConstraint: {}, ChatbotDomain: { chatbot: [54], - chatbotId: [273], - domain: [225], - domainName: [697], - __typename: [697], + chatbotId: [245], + domain: [197], + domainName: [621], + __typename: [621], }, ChatbotDomainAggregate: { aggregate: [107], nodes: [104], - __typename: [697], + __typename: [621], }, ChatbotDomainAggregateBoolExp: { - count: [920], - __typename: [697], + count: [880], + __typename: [621], }, ChatbotDomainAggregateFields: { avg: [110], count: [ - 273, + 245, { columns: [124, "[ChatbotDomainSelectColumn!]"], distinct: [0], @@ -883,11 +859,11 @@ export default { varPop: [138], varSamp: [140], variance: [142], - __typename: [697], + __typename: [621], }, ChatbotDomainAggregateOrderBy: { avg: [111], - count: [388], + count: [378], max: [117], min: [119], stddev: [127], @@ -897,443 +873,439 @@ export default { varPop: [139], varSamp: [141], variance: [143], - __typename: [697], + __typename: [621], }, ChatbotDomainArrRelInsertInput: { data: [115], onConflict: [121], - __typename: [697], + __typename: [621], }, ChatbotDomainAvgFields: { - chatbotId: [272], - __typename: [697], + chatbotId: [244], + __typename: [621], }, ChatbotDomainAvgOrderBy: { - chatbotId: [388], - __typename: [697], + chatbotId: [378], + __typename: [621], }, ChatbotDomainBoolExp: { _and: [112], _not: [112], _or: [112], chatbot: [62], - chatbotId: [274], - domain: [228], - domainName: [699], - __typename: [697], + chatbotId: [246], + domain: [200], + domainName: [623], + __typename: [621], }, ChatbotDomainConstraint: {}, ChatbotDomainIncInput: { - chatbotId: [273], - __typename: [697], + chatbotId: [245], + __typename: [621], }, ChatbotDomainInsertInput: { chatbot: [151], - chatbotId: [273], - domain: [234], - domainName: [697], - __typename: [697], + chatbotId: [245], + domain: [206], + domainName: [621], + __typename: [621], }, ChatbotDomainMaxFields: { - chatbotId: [273], - domainName: [697], - __typename: [697], + chatbotId: [245], + domainName: [621], + __typename: [621], }, ChatbotDomainMaxOrderBy: { - chatbotId: [388], - domainName: [388], - __typename: [697], + chatbotId: [378], + domainName: [378], + __typename: [621], }, ChatbotDomainMinFields: { - chatbotId: [273], - domainName: [697], - __typename: [697], + chatbotId: [245], + domainName: [621], + __typename: [621], }, ChatbotDomainMinOrderBy: { - chatbotId: [388], - domainName: [388], - __typename: [697], + chatbotId: [378], + domainName: [378], + __typename: [621], }, ChatbotDomainMutationResponse: { - affectedRows: [273], + affectedRows: [245], returning: [104], - __typename: [697], + __typename: [621], }, ChatbotDomainOnConflict: { constraint: [113], updateColumns: [136], where: [112], - __typename: [697], + __typename: [621], }, ChatbotDomainOrderBy: { chatbot: [153], - chatbotId: [388], - domain: [236], - domainName: [388], - __typename: [697], + chatbotId: [378], + domain: [208], + domainName: [378], + __typename: [621], }, ChatbotDomainPkColumnsInput: { - chatbotId: [273], - domainName: [697], - __typename: [697], + chatbotId: [245], + domainName: [621], + __typename: [621], }, ChatbotDomainSelectColumn: {}, ChatbotDomainSetInput: { - chatbotId: [273], - domainName: [697], - __typename: [697], + chatbotId: [245], + domainName: [621], + __typename: [621], }, ChatbotDomainStddevFields: { - chatbotId: [272], - __typename: [697], + chatbotId: [244], + __typename: [621], }, ChatbotDomainStddevOrderBy: { - chatbotId: [388], - __typename: [697], + chatbotId: [378], + __typename: [621], }, ChatbotDomainStddevPopFields: { - chatbotId: [272], - __typename: [697], + chatbotId: [244], + __typename: [621], }, ChatbotDomainStddevPopOrderBy: { - chatbotId: [388], - __typename: [697], + chatbotId: [378], + __typename: [621], }, ChatbotDomainStddevSampFields: { - chatbotId: [272], - __typename: [697], + chatbotId: [244], + __typename: [621], }, ChatbotDomainStddevSampOrderBy: { - chatbotId: [388], - __typename: [697], + chatbotId: [378], + __typename: [621], }, ChatbotDomainStreamCursorInput: { initialValue: [133], ordering: [196], - __typename: [697], + __typename: [621], }, ChatbotDomainStreamCursorValueInput: { - chatbotId: [273], - domainName: [697], - __typename: [697], + chatbotId: [245], + domainName: [621], + __typename: [621], }, ChatbotDomainSumFields: { - chatbotId: [273], - __typename: [697], + chatbotId: [245], + __typename: [621], }, ChatbotDomainSumOrderBy: { - chatbotId: [388], - __typename: [697], + chatbotId: [378], + __typename: [621], }, ChatbotDomainUpdateColumn: {}, ChatbotDomainUpdates: { _inc: [114], _set: [125], where: [112], - __typename: [697], + __typename: [621], }, ChatbotDomainVarPopFields: { - chatbotId: [272], - __typename: [697], + chatbotId: [244], + __typename: [621], }, ChatbotDomainVarPopOrderBy: { - chatbotId: [388], - __typename: [697], + chatbotId: [378], + __typename: [621], }, ChatbotDomainVarSampFields: { - chatbotId: [272], - __typename: [697], + chatbotId: [244], + __typename: [621], }, ChatbotDomainVarSampOrderBy: { - chatbotId: [388], - __typename: [697], + chatbotId: [378], + __typename: [621], }, ChatbotDomainVarianceFields: { - chatbotId: [272], - __typename: [697], + chatbotId: [244], + __typename: [621], }, ChatbotDomainVarianceOrderBy: { - chatbotId: [388], - __typename: [697], + chatbotId: [378], + __typename: [621], }, ChatbotIncInput: { - chatbotId: [273], - departmentId: [273], - order: [273], - __typename: [697], + chatbotId: [245], + departmentId: [245], + order: [245], + __typename: [621], }, ChatbotInsertInput: { - avatar: [697], + avatar: [621], categories: [68], - chatbotId: [273], + chatbotId: [245], complexityEnum: [186], - createdBy: [697], - defaultComplexity: [697], - defaultLength: [697], - defaultTone: [697], - defaultType: [697], - department: [208], - departmentId: [273], - description: [697], + createdBy: [621], + defaultComplexity: [621], + defaultLength: [621], + defaultTone: [621], + defaultType: [621], + departmentId: [245], + description: [621], disabled: [0], - followers: [666], + followers: [590], isPro: [0], - lengthEnum: [286], + lengthEnum: [258], metadata: [109], - name: [697], - order: [273], - organization_chatbots: [401], + name: [621], + order: [245], proExclusive: [0], - prompts: [512], - threads: [770], - toneEnum: [841], - typeEnum: [860], - __typename: [697], + prompts: [436], + threads: [694], + toneEnum: [765], + typeEnum: [784], + __typename: [621], }, ChatbotMaxFields: { - avatar: [697], - chatbotId: [273], - createdBy: [697], - defaultComplexity: [697], - defaultLength: [697], - defaultTone: [697], - defaultType: [697], - departmentId: [273], - description: [697], - name: [697], - order: [273], - __typename: [697], + avatar: [621], + chatbotId: [245], + createdBy: [621], + defaultComplexity: [621], + defaultLength: [621], + defaultTone: [621], + defaultType: [621], + departmentId: [245], + description: [621], + name: [621], + order: [245], + __typename: [621], }, ChatbotMaxOrderBy: { - avatar: [388], - chatbotId: [388], - createdBy: [388], - defaultComplexity: [388], - defaultLength: [388], - defaultTone: [388], - defaultType: [388], - departmentId: [388], - description: [388], - name: [388], - order: [388], - __typename: [697], + avatar: [378], + chatbotId: [378], + createdBy: [378], + defaultComplexity: [378], + defaultLength: [378], + defaultTone: [378], + defaultType: [378], + departmentId: [378], + description: [378], + name: [378], + order: [378], + __typename: [621], }, ChatbotMinFields: { - avatar: [697], - chatbotId: [273], - createdBy: [697], - defaultComplexity: [697], - defaultLength: [697], - defaultTone: [697], - defaultType: [697], - departmentId: [273], - description: [697], - name: [697], - order: [273], - __typename: [697], + avatar: [621], + chatbotId: [245], + createdBy: [621], + defaultComplexity: [621], + defaultLength: [621], + defaultTone: [621], + defaultType: [621], + departmentId: [245], + description: [621], + name: [621], + order: [245], + __typename: [621], }, ChatbotMinOrderBy: { - avatar: [388], - chatbotId: [388], - createdBy: [388], - defaultComplexity: [388], - defaultLength: [388], - defaultTone: [388], - defaultType: [388], - departmentId: [388], - description: [388], - name: [388], - order: [388], - __typename: [697], + avatar: [378], + chatbotId: [378], + createdBy: [378], + defaultComplexity: [378], + defaultLength: [378], + defaultTone: [378], + defaultType: [378], + departmentId: [378], + description: [378], + name: [378], + order: [378], + __typename: [621], }, ChatbotMutationResponse: { - affectedRows: [273], + affectedRows: [245], returning: [54], - __typename: [697], + __typename: [621], }, ChatbotObjRelInsertInput: { data: [145], onConflict: [152], - __typename: [697], + __typename: [621], }, ChatbotOnConflict: { constraint: [103], updateColumns: [169], where: [62], - __typename: [697], + __typename: [621], }, ChatbotOrderBy: { - avatar: [388], + avatar: [378], categoriesAggregate: [67], - chatbotId: [388], + chatbotId: [378], complexityEnum: [188], - createdBy: [388], - defaultComplexity: [388], - defaultLength: [388], - defaultTone: [388], - defaultType: [388], - department: [210], - departmentId: [388], - description: [388], - disabled: [388], - followersAggregate: [665], - isPro: [388], - lengthEnum: [288], + createdBy: [378], + defaultComplexity: [378], + defaultLength: [378], + defaultTone: [378], + defaultType: [378], + departmentId: [378], + description: [378], + disabled: [378], + followersAggregate: [589], + isPro: [378], + lengthEnum: [260], metadataAggregate: [108], - name: [388], - order: [388], - organization_chatbotsAggregate: [400], - proExclusive: [388], - promptsAggregate: [511], - threadsAggregate: [768], - toneEnum: [843], - typeEnum: [862], - __typename: [697], + name: [378], + order: [378], + proExclusive: [378], + promptsAggregate: [435], + threadsAggregate: [692], + toneEnum: [767], + typeEnum: [786], + __typename: [621], }, ChatbotPkColumnsInput: { - chatbotId: [273], - __typename: [697], + chatbotId: [245], + __typename: [621], }, ChatbotSelectColumn: {}, ChatbotSelectColumnChatbotAggregateBoolExpBool_andArgumentsColumns: {}, ChatbotSelectColumnChatbotAggregateBoolExpBool_orArgumentsColumns: {}, ChatbotSetInput: { - avatar: [697], - chatbotId: [273], - createdBy: [697], - defaultComplexity: [697], - defaultLength: [697], - defaultTone: [697], - defaultType: [697], - departmentId: [273], - description: [697], + avatar: [621], + chatbotId: [245], + createdBy: [621], + defaultComplexity: [621], + defaultLength: [621], + defaultTone: [621], + defaultType: [621], + departmentId: [245], + description: [621], disabled: [0], isPro: [0], - name: [697], - order: [273], + name: [621], + order: [245], proExclusive: [0], - __typename: [697], + __typename: [621], }, ChatbotStddevFields: { - chatbotId: [272], - departmentId: [272], - order: [272], - __typename: [697], + chatbotId: [244], + departmentId: [244], + order: [244], + __typename: [621], }, ChatbotStddevOrderBy: { - chatbotId: [388], - departmentId: [388], - order: [388], - __typename: [697], + chatbotId: [378], + departmentId: [378], + order: [378], + __typename: [621], }, ChatbotStddevPopFields: { - chatbotId: [272], - departmentId: [272], - order: [272], - __typename: [697], + chatbotId: [244], + departmentId: [244], + order: [244], + __typename: [621], }, ChatbotStddevPopOrderBy: { - chatbotId: [388], - departmentId: [388], - order: [388], - __typename: [697], + chatbotId: [378], + departmentId: [378], + order: [378], + __typename: [621], }, ChatbotStddevSampFields: { - chatbotId: [272], - departmentId: [272], - order: [272], - __typename: [697], + chatbotId: [244], + departmentId: [244], + order: [244], + __typename: [621], }, ChatbotStddevSampOrderBy: { - chatbotId: [388], - departmentId: [388], - order: [388], - __typename: [697], + chatbotId: [378], + departmentId: [378], + order: [378], + __typename: [621], }, ChatbotStreamCursorInput: { initialValue: [166], ordering: [196], - __typename: [697], + __typename: [621], }, ChatbotStreamCursorValueInput: { - avatar: [697], - chatbotId: [273], - createdBy: [697], - defaultComplexity: [697], - defaultLength: [697], - defaultTone: [697], - defaultType: [697], - departmentId: [273], - description: [697], + avatar: [621], + chatbotId: [245], + createdBy: [621], + defaultComplexity: [621], + defaultLength: [621], + defaultTone: [621], + defaultType: [621], + departmentId: [245], + description: [621], disabled: [0], isPro: [0], - name: [697], - order: [273], + name: [621], + order: [245], proExclusive: [0], - __typename: [697], + __typename: [621], }, ChatbotSumFields: { - chatbotId: [273], - departmentId: [273], - order: [273], - __typename: [697], + chatbotId: [245], + departmentId: [245], + order: [245], + __typename: [621], }, ChatbotSumOrderBy: { - chatbotId: [388], - departmentId: [388], - order: [388], - __typename: [697], + chatbotId: [378], + departmentId: [378], + order: [378], + __typename: [621], }, ChatbotUpdateColumn: {}, ChatbotUpdates: { _inc: [144], _set: [158], where: [62], - __typename: [697], + __typename: [621], }, ChatbotVarPopFields: { - chatbotId: [272], - departmentId: [272], - order: [272], - __typename: [697], + chatbotId: [244], + departmentId: [244], + order: [244], + __typename: [621], }, ChatbotVarPopOrderBy: { - chatbotId: [388], - departmentId: [388], - order: [388], - __typename: [697], + chatbotId: [378], + departmentId: [378], + order: [378], + __typename: [621], }, ChatbotVarSampFields: { - chatbotId: [272], - departmentId: [272], - order: [272], - __typename: [697], + chatbotId: [244], + departmentId: [244], + order: [244], + __typename: [621], }, ChatbotVarSampOrderBy: { - chatbotId: [388], - departmentId: [388], - order: [388], - __typename: [697], + chatbotId: [378], + departmentId: [378], + order: [378], + __typename: [621], }, ChatbotVarianceFields: { - chatbotId: [272], - departmentId: [272], - order: [272], - __typename: [697], + chatbotId: [244], + departmentId: [244], + order: [244], + __typename: [621], }, ChatbotVarianceOrderBy: { - chatbotId: [388], - departmentId: [388], - order: [388], - __typename: [697], + chatbotId: [378], + departmentId: [378], + order: [378], + __typename: [621], }, ComplexityEnum: { chatbots: [ 54, { distinctOn: [155, "[ChatbotSelectColumn!]"], - limit: [273], - offset: [273], + limit: [245], + offset: [245], orderBy: [153, "[ChatbotOrderBy!]"], where: [62], }, @@ -1342,44 +1314,44 @@ export default { 55, { distinctOn: [155, "[ChatbotSelectColumn!]"], - limit: [273], - offset: [273], + limit: [245], + offset: [245], orderBy: [153, "[ChatbotOrderBy!]"], where: [62], }, ], preferences: [ - 455, + 379, { - distinctOn: [476, "[PreferenceSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [474, "[PreferenceOrderBy!]"], - where: [463], + distinctOn: [400, "[PreferenceSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [398, "[PreferenceOrderBy!]"], + where: [387], }, ], preferencesAggregate: [ - 456, + 380, { - distinctOn: [476, "[PreferenceSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [474, "[PreferenceOrderBy!]"], - where: [463], + distinctOn: [400, "[PreferenceSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [398, "[PreferenceOrderBy!]"], + where: [387], }, ], - prompt: [697], - value: [697], - __typename: [697], + prompt: [621], + value: [621], + __typename: [621], }, ComplexityEnumAggregate: { aggregate: [179], nodes: [177], - __typename: [697], + __typename: [621], }, ComplexityEnumAggregateFields: { count: [ - 273, + 245, { columns: [190, "[ComplexityEnumSelectColumn!]"], distinct: [0], @@ -1387,7 +1359,7 @@ export default { ], max: [183], min: [184], - __typename: [697], + __typename: [621], }, ComplexityEnumBoolExp: { _and: [180], @@ -1395,250 +1367,88 @@ export default { _or: [180], chatbots: [62], chatbotsAggregate: [56], - preferences: [463], - preferencesAggregate: [457], - prompt: [699], - value: [699], - __typename: [697], + preferences: [387], + preferencesAggregate: [381], + prompt: [623], + value: [623], + __typename: [621], }, ComplexityEnumConstraint: {}, ComplexityEnumInsertInput: { chatbots: [59], - preferences: [460], - prompt: [697], - value: [697], - __typename: [697], + preferences: [384], + prompt: [621], + value: [621], + __typename: [621], }, ComplexityEnumMaxFields: { - prompt: [697], - value: [697], - __typename: [697], + prompt: [621], + value: [621], + __typename: [621], }, ComplexityEnumMinFields: { - prompt: [697], - value: [697], - __typename: [697], + prompt: [621], + value: [621], + __typename: [621], }, ComplexityEnumMutationResponse: { - affectedRows: [273], + affectedRows: [245], returning: [177], - __typename: [697], + __typename: [621], }, ComplexityEnumObjRelInsertInput: { data: [182], onConflict: [187], - __typename: [697], + __typename: [621], }, ComplexityEnumOnConflict: { constraint: [181], updateColumns: [194], where: [180], - __typename: [697], + __typename: [621], }, ComplexityEnumOrderBy: { chatbotsAggregate: [58], - preferencesAggregate: [459], - prompt: [388], - value: [388], - __typename: [697], + preferencesAggregate: [383], + prompt: [378], + value: [378], + __typename: [621], }, ComplexityEnumPkColumnsInput: { - value: [697], - __typename: [697], + value: [621], + __typename: [621], }, ComplexityEnumSelectColumn: {}, ComplexityEnumSetInput: { - prompt: [697], - value: [697], - __typename: [697], + prompt: [621], + value: [621], + __typename: [621], }, ComplexityEnumStreamCursorInput: { initialValue: [193], ordering: [196], - __typename: [697], + __typename: [621], }, ComplexityEnumStreamCursorValueInput: { - prompt: [697], - value: [697], - __typename: [697], + prompt: [621], + value: [621], + __typename: [621], }, ComplexityEnumUpdateColumn: {}, ComplexityEnumUpdates: { _set: [191], where: [180], - __typename: [697], + __typename: [621], }, CursorOrdering: {}, - Department: { - chatbots: [ - 54, - { - distinctOn: [155, "[ChatbotSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [153, "[ChatbotOrderBy!]"], - where: [62], - }, - ], - chatbotsAggregate: [ - 55, - { - distinctOn: [155, "[ChatbotSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [153, "[ChatbotOrderBy!]"], - where: [62], - }, - ], - departmentId: [273], - name: [697], - __typename: [697], - }, - DepartmentAggregate: { - aggregate: [199], - nodes: [197], - __typename: [697], - }, - DepartmentAggregateFields: { - avg: [200], - count: [ - 273, - { - columns: [212, "[DepartmentSelectColumn!]"], - distinct: [0], - }, - ], - max: [205], - min: [206], - stddev: [214], - stddevPop: [215], - stddevSamp: [216], - sum: [219], - varPop: [222], - varSamp: [223], - variance: [224], - __typename: [697], - }, - DepartmentAvgFields: { - departmentId: [272], - __typename: [697], - }, - DepartmentBoolExp: { - _and: [201], - _not: [201], - _or: [201], - chatbots: [62], - chatbotsAggregate: [56], - departmentId: [274], - name: [699], - __typename: [697], - }, - DepartmentConstraint: {}, - DepartmentIncInput: { - departmentId: [273], - __typename: [697], - }, - DepartmentInsertInput: { - chatbots: [59], - departmentId: [273], - name: [697], - __typename: [697], - }, - DepartmentMaxFields: { - departmentId: [273], - name: [697], - __typename: [697], - }, - DepartmentMinFields: { - departmentId: [273], - name: [697], - __typename: [697], - }, - DepartmentMutationResponse: { - affectedRows: [273], - returning: [197], - __typename: [697], - }, - DepartmentObjRelInsertInput: { - data: [204], - onConflict: [209], - __typename: [697], - }, - DepartmentOnConflict: { - constraint: [202], - updateColumns: [220], - where: [201], - __typename: [697], - }, - DepartmentOrderBy: { - chatbotsAggregate: [58], - departmentId: [388], - name: [388], - __typename: [697], - }, - DepartmentPkColumnsInput: { - departmentId: [273], - __typename: [697], - }, - DepartmentSelectColumn: {}, - DepartmentSetInput: { - departmentId: [273], - name: [697], - __typename: [697], - }, - DepartmentStddevFields: { - departmentId: [272], - __typename: [697], - }, - DepartmentStddevPopFields: { - departmentId: [272], - __typename: [697], - }, - DepartmentStddevSampFields: { - departmentId: [272], - __typename: [697], - }, - DepartmentStreamCursorInput: { - initialValue: [218], - ordering: [196], - __typename: [697], - }, - DepartmentStreamCursorValueInput: { - departmentId: [273], - name: [697], - __typename: [697], - }, - DepartmentSumFields: { - departmentId: [273], - __typename: [697], - }, - DepartmentUpdateColumn: {}, - DepartmentUpdates: { - _inc: [203], - _set: [213], - where: [201], - __typename: [697], - }, - DepartmentVarPopFields: { - departmentId: [272], - __typename: [697], - }, - DepartmentVarSampFields: { - departmentId: [272], - __typename: [697], - }, - DepartmentVarianceFields: { - departmentId: [272], - __typename: [697], - }, DomainEnum: { - added: [945], + added: [901], categoryEnumsAggregate: [ 9, { distinctOn: [26, "[CategoryEnumSelectColumn!]"], - limit: [273], - offset: [273], + limit: [245], + offset: [245], orderBy: [24, "[CategoryEnumOrderBy!]"], where: [14], }, @@ -1647,8 +1457,8 @@ export default { 8, { distinctOn: [26, "[CategoryEnumSelectColumn!]"], - limit: [273], - offset: [273], + limit: [245], + offset: [245], orderBy: [24, "[CategoryEnumOrderBy!]"], where: [14], }, @@ -1657,8 +1467,8 @@ export default { 104, { distinctOn: [124, "[ChatbotDomainSelectColumn!]"], - limit: [273], - offset: [273], + limit: [245], + offset: [245], orderBy: [122, "[ChatbotDomainOrderBy!]"], where: [112], }, @@ -1667,395 +1477,395 @@ export default { 105, { distinctOn: [124, "[ChatbotDomainSelectColumn!]"], - limit: [273], - offset: [273], + limit: [245], + offset: [245], orderBy: [122, "[ChatbotDomainOrderBy!]"], where: [112], }, ], - name: [697], + name: [621], tagEnumsAggregate: [ - 725, + 649, { - distinctOn: [744, "[TagEnumSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [742, "[TagEnumOrderBy!]"], - where: [732], + distinctOn: [668, "[TagEnumSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [666, "[TagEnumOrderBy!]"], + where: [656], }, ], tag_enums: [ - 724, + 648, { - distinctOn: [744, "[TagEnumSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [742, "[TagEnumOrderBy!]"], - where: [732], + distinctOn: [668, "[TagEnumSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [666, "[TagEnumOrderBy!]"], + where: [656], }, ], - __typename: [697], + __typename: [621], }, DomainEnumAggregate: { - aggregate: [227], - nodes: [225], - __typename: [697], + aggregate: [199], + nodes: [197], + __typename: [621], }, DomainEnumAggregateFields: { count: [ - 273, + 245, { - columns: [238, "[DomainEnumSelectColumn!]"], + columns: [210, "[DomainEnumSelectColumn!]"], distinct: [0], }, ], - max: [231], - min: [232], - __typename: [697], + max: [203], + min: [204], + __typename: [621], }, DomainEnumBoolExp: { - _and: [228], - _not: [228], - _or: [228], - added: [812], + _and: [200], + _not: [200], + _or: [200], + added: [736], category_enums: [14], category_enumsAggregate: [10], chatbot: [112], chatbotAggregate: [106], - name: [699], - tag_enums: [732], - tag_enumsAggregate: [726], - __typename: [697], + name: [623], + tag_enums: [656], + tag_enumsAggregate: [650], + __typename: [621], }, DomainEnumConstraint: {}, DomainEnumInsertInput: { - added: [945], + added: [901], category_enums: [13], chatbot: [109], - name: [697], - tag_enums: [729], - __typename: [697], + name: [621], + tag_enums: [653], + __typename: [621], }, DomainEnumMaxFields: { - added: [945], - name: [697], - __typename: [697], + added: [901], + name: [621], + __typename: [621], }, DomainEnumMinFields: { - added: [945], - name: [697], - __typename: [697], + added: [901], + name: [621], + __typename: [621], }, DomainEnumMutationResponse: { - affectedRows: [273], - returning: [225], - __typename: [697], + affectedRows: [245], + returning: [197], + __typename: [621], }, DomainEnumObjRelInsertInput: { - data: [230], - onConflict: [235], - __typename: [697], + data: [202], + onConflict: [207], + __typename: [621], }, DomainEnumOnConflict: { - constraint: [229], - updateColumns: [242], - where: [228], - __typename: [697], + constraint: [201], + updateColumns: [214], + where: [200], + __typename: [621], }, DomainEnumOrderBy: { - added: [388], + added: [378], category_enumsAggregate: [12], chatbotAggregate: [108], - name: [388], - tag_enumsAggregate: [728], - __typename: [697], + name: [378], + tag_enumsAggregate: [652], + __typename: [621], }, DomainEnumPkColumnsInput: { - name: [697], - __typename: [697], + name: [621], + __typename: [621], }, DomainEnumSelectColumn: {}, DomainEnumSetInput: { - added: [945], - name: [697], - __typename: [697], + added: [901], + name: [621], + __typename: [621], }, DomainEnumStreamCursorInput: { - initialValue: [241], + initialValue: [213], ordering: [196], - __typename: [697], + __typename: [621], }, DomainEnumStreamCursorValueInput: { - added: [945], - name: [697], - __typename: [697], + added: [901], + name: [621], + __typename: [621], }, DomainEnumUpdateColumn: {}, DomainEnumUpdates: { - _set: [239], - where: [228], - __typename: [697], + _set: [211], + where: [200], + __typename: [621], }, Example: { - added: [945], - category: [697], - domain: [697], - exampleId: [948], + added: [901], + category: [621], + domain: [621], + exampleId: [904], metadata: [ - 922, + 882, { - path: [697], + path: [621], }, ], - prompt: [697], - response: [697], - subcategory: [697], - subcategoryEnumBySubcategoryCategoryDomain: [700], - subcategory_enum: [700], - tags: [948], - __typename: [697], + prompt: [621], + response: [621], + subcategory: [621], + subcategoryEnumBySubcategoryCategoryDomain: [624], + subcategory_enum: [624], + tags: [904], + __typename: [621], }, ExampleAggregate: { - aggregate: [247], - nodes: [244], - __typename: [697], + aggregate: [219], + nodes: [216], + __typename: [621], }, ExampleAggregateBoolExp: { - count: [921], - __typename: [697], + count: [881], + __typename: [621], }, ExampleAggregateFields: { count: [ - 273, + 245, { - columns: [266, "[ExampleSelectColumn!]"], + columns: [238, "[ExampleSelectColumn!]"], distinct: [0], }, ], - max: [257], - min: [259], - __typename: [697], + max: [229], + min: [231], + __typename: [621], }, ExampleAggregateOrderBy: { - count: [388], - max: [258], - min: [260], - __typename: [697], + count: [378], + max: [230], + min: [232], + __typename: [621], }, ExampleAppendInput: { - metadata: [922], - __typename: [697], + metadata: [882], + __typename: [621], }, ExampleArrRelInsertInput: { - data: [256], - onConflict: [262], - __typename: [697], + data: [228], + onConflict: [234], + __typename: [621], }, ExampleBoolExp: { - _and: [251], - _not: [251], - _or: [251], - added: [812], - category: [699], - domain: [699], - exampleId: [914], - metadata: [276], - prompt: [699], - response: [699], - subcategory: [699], - subcategoryEnumBySubcategoryCategoryDomain: [706], - subcategory_enum: [706], - tags: [913], - __typename: [697], + _and: [223], + _not: [223], + _or: [223], + added: [736], + category: [623], + domain: [623], + exampleId: [874], + metadata: [248], + prompt: [623], + response: [623], + subcategory: [623], + subcategoryEnumBySubcategoryCategoryDomain: [630], + subcategory_enum: [630], + tags: [873], + __typename: [621], }, ExampleConstraint: {}, ExampleDeleteAtPathInput: { - metadata: [697], - __typename: [697], + metadata: [621], + __typename: [621], }, ExampleDeleteElemInput: { - metadata: [273], - __typename: [697], + metadata: [245], + __typename: [621], }, ExampleDeleteKeyInput: { - metadata: [697], - __typename: [697], + metadata: [621], + __typename: [621], }, ExampleInsertInput: { - added: [945], - category: [697], - domain: [697], - exampleId: [948], - metadata: [922], - prompt: [697], - response: [697], - subcategory: [697], - subcategoryEnumBySubcategoryCategoryDomain: [714], - subcategory_enum: [714], - tags: [948], - __typename: [697], + added: [901], + category: [621], + domain: [621], + exampleId: [904], + metadata: [882], + prompt: [621], + response: [621], + subcategory: [621], + subcategoryEnumBySubcategoryCategoryDomain: [638], + subcategory_enum: [638], + tags: [904], + __typename: [621], }, ExampleMaxFields: { - added: [945], - category: [697], - domain: [697], - exampleId: [948], - prompt: [697], - response: [697], - subcategory: [697], - tags: [948], - __typename: [697], + added: [901], + category: [621], + domain: [621], + exampleId: [904], + prompt: [621], + response: [621], + subcategory: [621], + tags: [904], + __typename: [621], }, ExampleMaxOrderBy: { - added: [388], - category: [388], - domain: [388], - exampleId: [388], - prompt: [388], - response: [388], - subcategory: [388], - tags: [388], - __typename: [697], + added: [378], + category: [378], + domain: [378], + exampleId: [378], + prompt: [378], + response: [378], + subcategory: [378], + tags: [378], + __typename: [621], }, ExampleMinFields: { - added: [945], - category: [697], - domain: [697], - exampleId: [948], - prompt: [697], - response: [697], - subcategory: [697], - tags: [948], - __typename: [697], + added: [901], + category: [621], + domain: [621], + exampleId: [904], + prompt: [621], + response: [621], + subcategory: [621], + tags: [904], + __typename: [621], }, ExampleMinOrderBy: { - added: [388], - category: [388], - domain: [388], - exampleId: [388], - prompt: [388], - response: [388], - subcategory: [388], - tags: [388], - __typename: [697], + added: [378], + category: [378], + domain: [378], + exampleId: [378], + prompt: [378], + response: [378], + subcategory: [378], + tags: [378], + __typename: [621], }, ExampleMutationResponse: { - affectedRows: [273], - returning: [244], - __typename: [697], + affectedRows: [245], + returning: [216], + __typename: [621], }, ExampleOnConflict: { - constraint: [252], - updateColumns: [270], - where: [251], - __typename: [697], + constraint: [224], + updateColumns: [242], + where: [223], + __typename: [621], }, ExampleOrderBy: { - added: [388], - category: [388], - domain: [388], - exampleId: [388], - metadata: [388], - prompt: [388], - response: [388], - subcategory: [388], - subcategoryEnumBySubcategoryCategoryDomain: [716], - subcategory_enum: [716], - tags: [388], - __typename: [697], + added: [378], + category: [378], + domain: [378], + exampleId: [378], + metadata: [378], + prompt: [378], + response: [378], + subcategory: [378], + subcategoryEnumBySubcategoryCategoryDomain: [640], + subcategory_enum: [640], + tags: [378], + __typename: [621], }, ExamplePkColumnsInput: { - exampleId: [948], - __typename: [697], + exampleId: [904], + __typename: [621], }, ExamplePrependInput: { - metadata: [922], - __typename: [697], + metadata: [882], + __typename: [621], }, ExampleSelectColumn: {}, ExampleSetInput: { - added: [945], - category: [697], - domain: [697], - exampleId: [948], - metadata: [922], - prompt: [697], - response: [697], - subcategory: [697], - tags: [948], - __typename: [697], + added: [901], + category: [621], + domain: [621], + exampleId: [904], + metadata: [882], + prompt: [621], + response: [621], + subcategory: [621], + tags: [904], + __typename: [621], }, ExampleStreamCursorInput: { - initialValue: [269], + initialValue: [241], ordering: [196], - __typename: [697], + __typename: [621], }, ExampleStreamCursorValueInput: { - added: [945], - category: [697], - domain: [697], - exampleId: [948], - metadata: [922], - prompt: [697], - response: [697], - subcategory: [697], - tags: [948], - __typename: [697], + added: [901], + category: [621], + domain: [621], + exampleId: [904], + metadata: [882], + prompt: [621], + response: [621], + subcategory: [621], + tags: [904], + __typename: [621], }, ExampleUpdateColumn: {}, ExampleUpdates: { - _append: [249], - _deleteAtPath: [253], - _deleteElem: [254], - _deleteKey: [255], - _prepend: [265], - _set: [267], - where: [251], - __typename: [697], + _append: [221], + _deleteAtPath: [225], + _deleteElem: [226], + _deleteKey: [227], + _prepend: [237], + _set: [239], + where: [223], + __typename: [621], }, Float: {}, Int: {}, IntComparisonExp: { - _eq: [273], - _gt: [273], - _gte: [273], - _in: [273], + _eq: [245], + _gt: [245], + _gte: [245], + _in: [245], _isNull: [0], - _lt: [273], - _lte: [273], - _neq: [273], - _nin: [273], - __typename: [697], + _lt: [245], + _lte: [245], + _neq: [245], + _nin: [245], + __typename: [621], }, JsonbCastExp: { - String: [699], - __typename: [697], + String: [623], + __typename: [621], }, JsonbComparisonExp: { - _cast: [275], - _containedIn: [922], - _contains: [922], - _eq: [922], - _gt: [922], - _gte: [922], - _hasKey: [697], - _hasKeysAll: [697], - _hasKeysAny: [697], - _in: [922], + _cast: [247], + _containedIn: [882], + _contains: [882], + _eq: [882], + _gt: [882], + _gte: [882], + _hasKey: [621], + _hasKeysAll: [621], + _hasKeysAny: [621], + _in: [882], _isNull: [0], - _lt: [922], - _lte: [922], - _neq: [922], - _nin: [922], - __typename: [697], + _lt: [882], + _lte: [882], + _neq: [882], + _nin: [882], + __typename: [621], }, LengthEnum: { chatbots: [ 54, { distinctOn: [155, "[ChatbotSelectColumn!]"], - limit: [273], - offset: [273], + limit: [245], + offset: [245], orderBy: [153, "[ChatbotOrderBy!]"], where: [62], }, @@ -2064,1404 +1874,1145 @@ export default { 55, { distinctOn: [155, "[ChatbotSelectColumn!]"], - limit: [273], - offset: [273], + limit: [245], + offset: [245], orderBy: [153, "[ChatbotOrderBy!]"], where: [62], }, ], preferences: [ - 455, + 379, { - distinctOn: [476, "[PreferenceSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [474, "[PreferenceOrderBy!]"], - where: [463], + distinctOn: [400, "[PreferenceSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [398, "[PreferenceOrderBy!]"], + where: [387], }, ], preferencesAggregate: [ - 456, + 380, { - distinctOn: [476, "[PreferenceSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [474, "[PreferenceOrderBy!]"], - where: [463], + distinctOn: [400, "[PreferenceSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [398, "[PreferenceOrderBy!]"], + where: [387], }, ], - prompt: [697], - value: [697], - __typename: [697], + prompt: [621], + value: [621], + __typename: [621], }, LengthEnumAggregate: { - aggregate: [279], - nodes: [277], - __typename: [697], + aggregate: [251], + nodes: [249], + __typename: [621], }, LengthEnumAggregateFields: { count: [ - 273, + 245, { - columns: [290, "[LengthEnumSelectColumn!]"], + columns: [262, "[LengthEnumSelectColumn!]"], distinct: [0], }, ], - max: [283], - min: [284], - __typename: [697], + max: [255], + min: [256], + __typename: [621], }, LengthEnumBoolExp: { - _and: [280], - _not: [280], - _or: [280], + _and: [252], + _not: [252], + _or: [252], chatbots: [62], chatbotsAggregate: [56], - preferences: [463], - preferencesAggregate: [457], - prompt: [699], - value: [699], - __typename: [697], + preferences: [387], + preferencesAggregate: [381], + prompt: [623], + value: [623], + __typename: [621], }, LengthEnumConstraint: {}, LengthEnumInsertInput: { chatbots: [59], - preferences: [460], - prompt: [697], - value: [697], - __typename: [697], + preferences: [384], + prompt: [621], + value: [621], + __typename: [621], }, LengthEnumMaxFields: { - prompt: [697], - value: [697], - __typename: [697], + prompt: [621], + value: [621], + __typename: [621], }, LengthEnumMinFields: { - prompt: [697], - value: [697], - __typename: [697], + prompt: [621], + value: [621], + __typename: [621], }, LengthEnumMutationResponse: { - affectedRows: [273], - returning: [277], - __typename: [697], + affectedRows: [245], + returning: [249], + __typename: [621], }, LengthEnumObjRelInsertInput: { - data: [282], - onConflict: [287], - __typename: [697], + data: [254], + onConflict: [259], + __typename: [621], }, LengthEnumOnConflict: { - constraint: [281], - updateColumns: [294], - where: [280], - __typename: [697], + constraint: [253], + updateColumns: [266], + where: [252], + __typename: [621], }, LengthEnumOrderBy: { chatbotsAggregate: [58], - preferencesAggregate: [459], - prompt: [388], - value: [388], - __typename: [697], + preferencesAggregate: [383], + prompt: [378], + value: [378], + __typename: [621], }, LengthEnumPkColumnsInput: { - value: [697], - __typename: [697], + value: [621], + __typename: [621], }, LengthEnumSelectColumn: {}, LengthEnumSetInput: { - prompt: [697], - value: [697], - __typename: [697], + prompt: [621], + value: [621], + __typename: [621], }, LengthEnumStreamCursorInput: { - initialValue: [293], + initialValue: [265], ordering: [196], - __typename: [697], + __typename: [621], }, LengthEnumStreamCursorValueInput: { - prompt: [697], - value: [697], - __typename: [697], + prompt: [621], + value: [621], + __typename: [621], }, LengthEnumUpdateColumn: {}, LengthEnumUpdates: { - _set: [291], - where: [280], - __typename: [697], + _set: [263], + where: [252], + __typename: [621], }, Message: { - augmentedFrom: [948], - content: [697], - createdAt: [945], + augmentedFrom: [904], + content: [621], + createdAt: [901], examples: [ - 922, + 882, { - path: [697], + path: [621], }, ], isContinued: [0], - message: [296], - messageId: [948], - messageTypeEnum: [325], + message: [268], + messageId: [904], + messageTypeEnum: [297], messages: [ - 296, + 268, { - distinctOn: [319, "[MessageSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [316, "[MessageOrderBy!]"], - where: [303], + distinctOn: [291, "[MessageSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [288, "[MessageOrderBy!]"], + where: [275], }, ], messagesAggregate: [ - 297, - { - distinctOn: [319, "[MessageSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [316, "[MessageOrderBy!]"], - where: [303], - }, - ], - model: [697], - modelType: [352], - prompt: [697], - role: [697], - shortLink: [697], - slug: [697], - thinking: [697], - thinkingTraces: [697], - thread: [764], - threadId: [948], - __typename: [697], + 269, + { + distinctOn: [291, "[MessageSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [288, "[MessageOrderBy!]"], + where: [275], + }, + ], + model: [621], + modelType: [324], + prompt: [621], + role: [621], + shortLink: [621], + slug: [621], + thinking: [621], + thinkingTraces: [621], + thread: [688], + threadId: [904], + __typename: [621], }, MessageAggregate: { - aggregate: [299], - nodes: [296], - __typename: [697], + aggregate: [271], + nodes: [268], + __typename: [621], }, MessageAggregateBoolExp: { - bool_and: [923], - bool_or: [924], - count: [925], - __typename: [697], + bool_and: [883], + bool_or: [884], + count: [885], + __typename: [621], }, MessageAggregateFields: { count: [ - 273, + 245, { - columns: [319, "[MessageSelectColumn!]"], + columns: [291, "[MessageSelectColumn!]"], distinct: [0], }, ], - max: [309], - min: [311], - __typename: [697], + max: [281], + min: [283], + __typename: [621], }, MessageAggregateOrderBy: { - count: [388], - max: [310], - min: [312], - __typename: [697], + count: [378], + max: [282], + min: [284], + __typename: [621], }, MessageAppendInput: { - examples: [922], - __typename: [697], + examples: [882], + __typename: [621], }, MessageArrRelInsertInput: { - data: [308], - onConflict: [315], - __typename: [697], + data: [280], + onConflict: [287], + __typename: [621], }, MessageBoolExp: { - _and: [303], - _not: [303], - _or: [303], - augmentedFrom: [914], - content: [699], - createdAt: [812], - examples: [276], + _and: [275], + _not: [275], + _or: [275], + augmentedFrom: [874], + content: [623], + createdAt: [736], + examples: [248], isContinued: [1], - message: [303], - messageId: [914], - messageTypeEnum: [328], - messages: [303], - messagesAggregate: [298], - model: [699], - modelType: [355], - prompt: [699], - role: [699], - shortLink: [699], - slug: [699], - thinking: [699], - thinkingTraces: [698], - thread: [773], - threadId: [914], - __typename: [697], + message: [275], + messageId: [874], + messageTypeEnum: [300], + messages: [275], + messagesAggregate: [270], + model: [623], + modelType: [327], + prompt: [623], + role: [623], + shortLink: [623], + slug: [623], + thinking: [623], + thinkingTraces: [622], + thread: [697], + threadId: [874], + __typename: [621], }, MessageConstraint: {}, MessageDeleteAtPathInput: { - examples: [697], - __typename: [697], + examples: [621], + __typename: [621], }, MessageDeleteElemInput: { - examples: [273], - __typename: [697], + examples: [245], + __typename: [621], }, MessageDeleteKeyInput: { - examples: [697], - __typename: [697], + examples: [621], + __typename: [621], }, MessageInsertInput: { - augmentedFrom: [948], - content: [697], - createdAt: [945], - examples: [922], + augmentedFrom: [904], + content: [621], + createdAt: [901], + examples: [882], isContinued: [0], - message: [314], - messageId: [948], - messageTypeEnum: [334], - messages: [302], - model: [697], - modelType: [363], - prompt: [697], - role: [697], - shortLink: [697], - slug: [697], - thinking: [697], - thinkingTraces: [697], - thread: [785], - threadId: [948], - __typename: [697], + message: [286], + messageId: [904], + messageTypeEnum: [306], + messages: [274], + model: [621], + modelType: [335], + prompt: [621], + role: [621], + shortLink: [621], + slug: [621], + thinking: [621], + thinkingTraces: [621], + thread: [709], + threadId: [904], + __typename: [621], }, MessageMaxFields: { - augmentedFrom: [948], - content: [697], - createdAt: [945], - messageId: [948], - model: [697], - prompt: [697], - role: [697], - shortLink: [697], - slug: [697], - thinking: [697], - thinkingTraces: [697], - threadId: [948], - __typename: [697], + augmentedFrom: [904], + content: [621], + createdAt: [901], + messageId: [904], + model: [621], + prompt: [621], + role: [621], + shortLink: [621], + slug: [621], + thinking: [621], + thinkingTraces: [621], + threadId: [904], + __typename: [621], }, MessageMaxOrderBy: { - augmentedFrom: [388], - content: [388], - createdAt: [388], - messageId: [388], - model: [388], - prompt: [388], - role: [388], - shortLink: [388], - slug: [388], - thinking: [388], - thinkingTraces: [388], - threadId: [388], - __typename: [697], + augmentedFrom: [378], + content: [378], + createdAt: [378], + messageId: [378], + model: [378], + prompt: [378], + role: [378], + shortLink: [378], + slug: [378], + thinking: [378], + thinkingTraces: [378], + threadId: [378], + __typename: [621], }, MessageMinFields: { - augmentedFrom: [948], - content: [697], - createdAt: [945], - messageId: [948], - model: [697], - prompt: [697], - role: [697], - shortLink: [697], - slug: [697], - thinking: [697], - thinkingTraces: [697], - threadId: [948], - __typename: [697], + augmentedFrom: [904], + content: [621], + createdAt: [901], + messageId: [904], + model: [621], + prompt: [621], + role: [621], + shortLink: [621], + slug: [621], + thinking: [621], + thinkingTraces: [621], + threadId: [904], + __typename: [621], }, MessageMinOrderBy: { - augmentedFrom: [388], - content: [388], - createdAt: [388], - messageId: [388], - model: [388], - prompt: [388], - role: [388], - shortLink: [388], - slug: [388], - thinking: [388], - thinkingTraces: [388], - threadId: [388], - __typename: [697], + augmentedFrom: [378], + content: [378], + createdAt: [378], + messageId: [378], + model: [378], + prompt: [378], + role: [378], + shortLink: [378], + slug: [378], + thinking: [378], + thinkingTraces: [378], + threadId: [378], + __typename: [621], }, MessageMutationResponse: { - affectedRows: [273], - returning: [296], - __typename: [697], + affectedRows: [245], + returning: [268], + __typename: [621], }, MessageObjRelInsertInput: { - data: [308], - onConflict: [315], - __typename: [697], + data: [280], + onConflict: [287], + __typename: [621], }, MessageOnConflict: { - constraint: [304], - updateColumns: [344], - where: [303], - __typename: [697], + constraint: [276], + updateColumns: [316], + where: [275], + __typename: [621], }, MessageOrderBy: { - augmentedFrom: [388], - content: [388], - createdAt: [388], - examples: [388], - isContinued: [388], - message: [316], - messageId: [388], - messageTypeEnum: [336], - messagesAggregate: [300], - model: [388], - modelType: [365], - prompt: [388], - role: [388], - shortLink: [388], - slug: [388], - thinking: [388], - thinkingTraces: [388], - thread: [787], - threadId: [388], - __typename: [697], + augmentedFrom: [378], + content: [378], + createdAt: [378], + examples: [378], + isContinued: [378], + message: [288], + messageId: [378], + messageTypeEnum: [308], + messagesAggregate: [272], + model: [378], + modelType: [337], + prompt: [378], + role: [378], + shortLink: [378], + slug: [378], + thinking: [378], + thinkingTraces: [378], + thread: [711], + threadId: [378], + __typename: [621], }, MessagePkColumnsInput: { - messageId: [948], - slug: [697], - __typename: [697], + messageId: [904], + slug: [621], + __typename: [621], }, MessagePrependInput: { - examples: [922], - __typename: [697], + examples: [882], + __typename: [621], }, MessageSelectColumn: {}, MessageSelectColumnMessageAggregateBoolExpBool_andArgumentsColumns: {}, MessageSelectColumnMessageAggregateBoolExpBool_orArgumentsColumns: {}, MessageSetInput: { - augmentedFrom: [948], - content: [697], - createdAt: [945], - examples: [922], + augmentedFrom: [904], + content: [621], + createdAt: [901], + examples: [882], isContinued: [0], - messageId: [948], - model: [697], - prompt: [697], - role: [697], - shortLink: [697], - slug: [697], - thinking: [697], - thinkingTraces: [697], - threadId: [948], - __typename: [697], + messageId: [904], + model: [621], + prompt: [621], + role: [621], + shortLink: [621], + slug: [621], + thinking: [621], + thinkingTraces: [621], + threadId: [904], + __typename: [621], }, MessageStreamCursorInput: { - initialValue: [324], + initialValue: [296], ordering: [196], - __typename: [697], + __typename: [621], }, MessageStreamCursorValueInput: { - augmentedFrom: [948], - content: [697], - createdAt: [945], - examples: [922], + augmentedFrom: [904], + content: [621], + createdAt: [901], + examples: [882], isContinued: [0], - messageId: [948], - model: [697], - prompt: [697], - role: [697], - shortLink: [697], - slug: [697], - thinking: [697], - thinkingTraces: [697], - threadId: [948], - __typename: [697], + messageId: [904], + model: [621], + prompt: [621], + role: [621], + shortLink: [621], + slug: [621], + thinking: [621], + thinkingTraces: [621], + threadId: [904], + __typename: [621], }, MessageTypeEnum: { messages: [ - 296, + 268, { - distinctOn: [319, "[MessageSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [316, "[MessageOrderBy!]"], - where: [303], + distinctOn: [291, "[MessageSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [288, "[MessageOrderBy!]"], + where: [275], }, ], messagesAggregate: [ - 297, + 269, { - distinctOn: [319, "[MessageSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [316, "[MessageOrderBy!]"], - where: [303], + distinctOn: [291, "[MessageSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [288, "[MessageOrderBy!]"], + where: [275], }, ], - value: [697], - __typename: [697], + value: [621], + __typename: [621], }, MessageTypeEnumAggregate: { - aggregate: [327], - nodes: [325], - __typename: [697], + aggregate: [299], + nodes: [297], + __typename: [621], }, MessageTypeEnumAggregateFields: { count: [ - 273, + 245, { - columns: [338, "[MessageTypeEnumSelectColumn!]"], + columns: [310, "[MessageTypeEnumSelectColumn!]"], distinct: [0], }, ], - max: [331], - min: [332], - __typename: [697], + max: [303], + min: [304], + __typename: [621], }, MessageTypeEnumBoolExp: { - _and: [328], - _not: [328], - _or: [328], - messages: [303], - messagesAggregate: [298], - value: [699], - __typename: [697], + _and: [300], + _not: [300], + _or: [300], + messages: [275], + messagesAggregate: [270], + value: [623], + __typename: [621], }, MessageTypeEnumConstraint: {}, MessageTypeEnumInsertInput: { - messages: [302], - value: [697], - __typename: [697], + messages: [274], + value: [621], + __typename: [621], }, MessageTypeEnumMaxFields: { - value: [697], - __typename: [697], + value: [621], + __typename: [621], }, MessageTypeEnumMinFields: { - value: [697], - __typename: [697], + value: [621], + __typename: [621], }, MessageTypeEnumMutationResponse: { - affectedRows: [273], - returning: [325], - __typename: [697], + affectedRows: [245], + returning: [297], + __typename: [621], }, MessageTypeEnumObjRelInsertInput: { - data: [330], - onConflict: [335], - __typename: [697], + data: [302], + onConflict: [307], + __typename: [621], }, MessageTypeEnumOnConflict: { - constraint: [329], - updateColumns: [342], - where: [328], - __typename: [697], + constraint: [301], + updateColumns: [314], + where: [300], + __typename: [621], }, MessageTypeEnumOrderBy: { - messagesAggregate: [300], - value: [388], - __typename: [697], + messagesAggregate: [272], + value: [378], + __typename: [621], }, MessageTypeEnumPkColumnsInput: { - value: [697], - __typename: [697], + value: [621], + __typename: [621], }, MessageTypeEnumSelectColumn: {}, MessageTypeEnumSetInput: { - value: [697], - __typename: [697], + value: [621], + __typename: [621], }, MessageTypeEnumStreamCursorInput: { - initialValue: [341], + initialValue: [313], ordering: [196], - __typename: [697], + __typename: [621], }, MessageTypeEnumStreamCursorValueInput: { - value: [697], - __typename: [697], + value: [621], + __typename: [621], }, MessageTypeEnumUpdateColumn: {}, MessageTypeEnumUpdates: { - _set: [339], - where: [328], - __typename: [697], + _set: [311], + where: [300], + __typename: [621], }, MessageUpdateColumn: {}, MessageUpdates: { - _append: [301], - _deleteAtPath: [305], - _deleteElem: [306], - _deleteKey: [307], - _prepend: [318], - _set: [322], - where: [303], - __typename: [697], + _append: [273], + _deleteAtPath: [277], + _deleteElem: [278], + _deleteKey: [279], + _prepend: [290], + _set: [294], + where: [275], + __typename: [621], }, ModelTypeComparisonExp: { - _eq: [926], - _gt: [926], - _gte: [926], - _in: [926], + _eq: [886], + _gt: [886], + _gte: [886], + _in: [886], _isNull: [0], - _lt: [926], - _lte: [926], - _neq: [926], - _nin: [926], - __typename: [697], + _lt: [886], + _lte: [886], + _neq: [886], + _nin: [886], + __typename: [621], }, Models: { enabled: [0], - model: [697], - model_data: [352], - type: [926], - __typename: [697], + model: [621], + model_data: [324], + type: [886], + __typename: [621], }, ModelsAggregate: { - aggregate: [349], - nodes: [347], - __typename: [697], + aggregate: [321], + nodes: [319], + __typename: [621], }, ModelsAggregateFields: { count: [ - 273, + 245, { - columns: [381, "[ModelsSelectColumn!]"], + columns: [353, "[ModelsSelectColumn!]"], distinct: [0], }, ], - max: [374], - min: [375], - __typename: [697], + max: [346], + min: [347], + __typename: [621], }, ModelsBoolExp: { - _and: [350], - _not: [350], - _or: [350], + _and: [322], + _not: [322], + _or: [322], enabled: [1], - model: [699], - model_data: [355], - type: [346], - __typename: [697], + model: [623], + model_data: [327], + type: [318], + __typename: [621], }, ModelsConstraint: {}, ModelsEnum: { - model_data: [347], - name: [697], + model_data: [319], + name: [621], threads: [ - 764, + 688, { - distinctOn: [790, "[ThreadSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [787, "[ThreadOrderBy!]"], - where: [773], + distinctOn: [714, "[ThreadSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [711, "[ThreadOrderBy!]"], + where: [697], }, ], threadsAggregate: [ - 765, + 689, { - distinctOn: [790, "[ThreadSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [787, "[ThreadOrderBy!]"], - where: [773], + distinctOn: [714, "[ThreadSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [711, "[ThreadOrderBy!]"], + where: [697], }, ], - value: [697], - __typename: [697], + value: [621], + __typename: [621], }, ModelsEnumAggregate: { - aggregate: [354], - nodes: [352], - __typename: [697], + aggregate: [326], + nodes: [324], + __typename: [621], }, ModelsEnumAggregateFields: { count: [ - 273, + 245, { - columns: [367, "[ModelsEnumSelectColumn!]"], + columns: [339, "[ModelsEnumSelectColumn!]"], distinct: [0], }, ], - max: [360], - min: [361], - __typename: [697], + max: [332], + min: [333], + __typename: [621], }, ModelsEnumBoolExp: { - _and: [355], - _not: [355], - _or: [355], - model_data: [350], - name: [699], - threads: [773], - threadsAggregate: [766], - value: [699], - __typename: [697], + _and: [327], + _not: [327], + _or: [327], + model_data: [322], + name: [623], + threads: [697], + threadsAggregate: [690], + value: [623], + __typename: [621], }, ModelsEnumConstraint: {}, ModelsEnumEnum: {}, ModelsEnumEnumComparisonExp: { - _eq: [357], - _in: [357], + _eq: [329], + _in: [329], _isNull: [0], - _neq: [357], - _nin: [357], - __typename: [697], + _neq: [329], + _nin: [329], + __typename: [621], }, ModelsEnumInsertInput: { - model_data: [377], - name: [697], - threads: [770], - value: [697], - __typename: [697], + model_data: [349], + name: [621], + threads: [694], + value: [621], + __typename: [621], }, ModelsEnumMaxFields: { - name: [697], - value: [697], - __typename: [697], + name: [621], + value: [621], + __typename: [621], }, ModelsEnumMinFields: { - name: [697], - value: [697], - __typename: [697], + name: [621], + value: [621], + __typename: [621], }, ModelsEnumMutationResponse: { - affectedRows: [273], - returning: [352], - __typename: [697], + affectedRows: [245], + returning: [324], + __typename: [621], }, ModelsEnumObjRelInsertInput: { - data: [359], - onConflict: [364], - __typename: [697], + data: [331], + onConflict: [336], + __typename: [621], }, ModelsEnumOnConflict: { - constraint: [356], - updateColumns: [371], - where: [355], - __typename: [697], + constraint: [328], + updateColumns: [343], + where: [327], + __typename: [621], }, ModelsEnumOrderBy: { - model_data: [379], - name: [388], - threadsAggregate: [768], - value: [388], - __typename: [697], + model_data: [351], + name: [378], + threadsAggregate: [692], + value: [378], + __typename: [621], }, ModelsEnumPkColumnsInput: { - name: [697], - __typename: [697], + name: [621], + __typename: [621], }, ModelsEnumSelectColumn: {}, ModelsEnumSetInput: { - name: [697], - value: [697], - __typename: [697], + name: [621], + value: [621], + __typename: [621], }, ModelsEnumStreamCursorInput: { - initialValue: [370], + initialValue: [342], ordering: [196], - __typename: [697], + __typename: [621], }, ModelsEnumStreamCursorValueInput: { - name: [697], - value: [697], - __typename: [697], + name: [621], + value: [621], + __typename: [621], }, ModelsEnumUpdateColumn: {}, ModelsEnumUpdates: { - _set: [368], - where: [355], - __typename: [697], + _set: [340], + where: [327], + __typename: [621], }, ModelsInsertInput: { enabled: [0], - model: [697], - model_data: [363], - type: [926], - __typename: [697], + model: [621], + model_data: [335], + type: [886], + __typename: [621], }, ModelsMaxFields: { - model: [697], - type: [926], - __typename: [697], + model: [621], + type: [886], + __typename: [621], }, ModelsMinFields: { - model: [697], - type: [926], - __typename: [697], + model: [621], + type: [886], + __typename: [621], }, ModelsMutationResponse: { - affectedRows: [273], - returning: [347], - __typename: [697], + affectedRows: [245], + returning: [319], + __typename: [621], }, ModelsObjRelInsertInput: { - data: [373], - onConflict: [378], - __typename: [697], + data: [345], + onConflict: [350], + __typename: [621], }, ModelsOnConflict: { - constraint: [351], - updateColumns: [385], - where: [350], - __typename: [697], + constraint: [323], + updateColumns: [357], + where: [322], + __typename: [621], }, ModelsOrderBy: { - enabled: [388], - model: [388], - model_data: [365], - type: [388], - __typename: [697], + enabled: [378], + model: [378], + model_data: [337], + type: [378], + __typename: [621], }, ModelsPkColumnsInput: { - model: [697], - __typename: [697], + model: [621], + __typename: [621], }, ModelsSelectColumn: {}, ModelsSetInput: { enabled: [0], - model: [697], - type: [926], - __typename: [697], + model: [621], + type: [886], + __typename: [621], }, ModelsStreamCursorInput: { - initialValue: [384], + initialValue: [356], ordering: [196], - __typename: [697], + __typename: [621], }, ModelsStreamCursorValueInput: { enabled: [0], - model: [697], - type: [926], - __typename: [697], + model: [621], + type: [886], + __typename: [621], }, ModelsUpdateColumn: {}, ModelsUpdates: { - _set: [382], - where: [350], - __typename: [697], - }, - NumericComparisonExp: { - _eq: [927], - _gt: [927], - _gte: [927], - _in: [927], - _isNull: [0], - _lt: [927], - _lte: [927], - _neq: [927], - _nin: [927], - __typename: [697], - }, - OrderBy: {}, - Organization: { - name: [697], - organizationChatbotsAggregate: [ - 397, - { - distinctOn: [416, "[OrganizationChatbotSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [414, "[OrganizationChatbotOrderBy!]"], - where: [404], - }, - ], - organizationId: [948], - organization_chatbots: [ - 396, - { - distinctOn: [416, "[OrganizationChatbotSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [414, "[OrganizationChatbotOrderBy!]"], - where: [404], - }, - ], - organization_preference: [455], - user: [870], - userId: [948], - __typename: [697], - }, - OrganizationAggregate: { - aggregate: [392], - nodes: [389], - __typename: [697], - }, - OrganizationAggregateBoolExp: { - count: [928], - __typename: [697], - }, - OrganizationAggregateFields: { + _set: [354], + where: [322], + __typename: [621], + }, + N8nCredentials: { + createdAt: [901], + id: [904], + n8nCredentialId: [621], + provider: [621], + service: [621], + userId: [904], + __typename: [621], + }, + N8nCredentialsAggregate: { + aggregate: [361], + nodes: [359], + __typename: [621], + }, + N8nCredentialsAggregateFields: { count: [ - 273, - { - columns: [449, "[OrganizationSelectColumn!]"], - distinct: [0], - }, - ], - max: [440], - min: [442], - __typename: [697], - }, - OrganizationAggregateOrderBy: { - count: [388], - max: [441], - min: [443], - __typename: [697], - }, - OrganizationArrRelInsertInput: { - data: [439], - onConflict: [446], - __typename: [697], - }, - OrganizationBoolExp: { - _and: [395], - _not: [395], - _or: [395], - name: [699], - organizationId: [914], - organization_chatbots: [404], - organization_chatbotsAggregate: [398], - organization_preference: [463], - user: [873], - userId: [914], - __typename: [697], - }, - OrganizationChatbot: { - chatbot: [54], - chatbotId: [273], - isActive: [0], - organization: [389], - organizationId: [948], - __typename: [697], - }, - OrganizationChatbotAggregate: { - aggregate: [399], - nodes: [396], - __typename: [697], - }, - OrganizationChatbotAggregateBoolExp: { - bool_and: [929], - bool_or: [930], - count: [931], - __typename: [697], - }, - OrganizationChatbotAggregateFields: { - avg: [402], - count: [ - 273, + 245, { - columns: [416, "[OrganizationChatbotSelectColumn!]"], + columns: [371, "[N8nCredentialsSelectColumn!]"], distinct: [0], }, ], - max: [408], - min: [410], - stddev: [420], - stddevPop: [422], - stddevSamp: [424], - sum: [428], - varPop: [432], - varSamp: [434], - variance: [436], - __typename: [697], - }, - OrganizationChatbotAggregateOrderBy: { - avg: [403], - count: [388], - max: [409], - min: [411], - stddev: [421], - stddevPop: [423], - stddevSamp: [425], - sum: [429], - varPop: [433], - varSamp: [435], - variance: [437], - __typename: [697], - }, - OrganizationChatbotArrRelInsertInput: { - data: [407], - onConflict: [413], - __typename: [697], - }, - OrganizationChatbotAvgFields: { - chatbotId: [272], - __typename: [697], - }, - OrganizationChatbotAvgOrderBy: { - chatbotId: [388], - __typename: [697], - }, - OrganizationChatbotBoolExp: { - _and: [404], - _not: [404], - _or: [404], - chatbot: [62], - chatbotId: [274], - isActive: [1], - organization: [395], - organizationId: [914], - __typename: [697], - }, - OrganizationChatbotConstraint: {}, - OrganizationChatbotIncInput: { - chatbotId: [273], - __typename: [697], - }, - OrganizationChatbotInsertInput: { - chatbot: [151], - chatbotId: [273], - isActive: [0], - organization: [445], - organizationId: [948], - __typename: [697], - }, - OrganizationChatbotMaxFields: { - chatbotId: [273], - organizationId: [948], - __typename: [697], - }, - OrganizationChatbotMaxOrderBy: { - chatbotId: [388], - organizationId: [388], - __typename: [697], - }, - OrganizationChatbotMinFields: { - chatbotId: [273], - organizationId: [948], - __typename: [697], - }, - OrganizationChatbotMinOrderBy: { - chatbotId: [388], - organizationId: [388], - __typename: [697], - }, - OrganizationChatbotMutationResponse: { - affectedRows: [273], - returning: [396], - __typename: [697], - }, - OrganizationChatbotOnConflict: { - constraint: [405], - updateColumns: [430], - where: [404], - __typename: [697], - }, - OrganizationChatbotOrderBy: { - chatbot: [153], - chatbotId: [388], - isActive: [388], - organization: [447], - organizationId: [388], - __typename: [697], - }, - OrganizationChatbotPkColumnsInput: { - chatbotId: [273], - organizationId: [948], - __typename: [697], - }, - OrganizationChatbotSelectColumn: {}, - OrganizationChatbotSelectColumnOrganizationChatbotAggregateBoolExpBool_andArgumentsColumns: - {}, - OrganizationChatbotSelectColumnOrganizationChatbotAggregateBoolExpBool_orArgumentsColumns: - {}, - OrganizationChatbotSetInput: { - chatbotId: [273], - isActive: [0], - organizationId: [948], - __typename: [697], - }, - OrganizationChatbotStddevFields: { - chatbotId: [272], - __typename: [697], - }, - OrganizationChatbotStddevOrderBy: { - chatbotId: [388], - __typename: [697], - }, - OrganizationChatbotStddevPopFields: { - chatbotId: [272], - __typename: [697], - }, - OrganizationChatbotStddevPopOrderBy: { - chatbotId: [388], - __typename: [697], - }, - OrganizationChatbotStddevSampFields: { - chatbotId: [272], - __typename: [697], - }, - OrganizationChatbotStddevSampOrderBy: { - chatbotId: [388], - __typename: [697], - }, - OrganizationChatbotStreamCursorInput: { - initialValue: [427], - ordering: [196], - __typename: [697], - }, - OrganizationChatbotStreamCursorValueInput: { - chatbotId: [273], - isActive: [0], - organizationId: [948], - __typename: [697], - }, - OrganizationChatbotSumFields: { - chatbotId: [273], - __typename: [697], - }, - OrganizationChatbotSumOrderBy: { - chatbotId: [388], - __typename: [697], - }, - OrganizationChatbotUpdateColumn: {}, - OrganizationChatbotUpdates: { - _inc: [406], - _set: [419], - where: [404], - __typename: [697], - }, - OrganizationChatbotVarPopFields: { - chatbotId: [272], - __typename: [697], - }, - OrganizationChatbotVarPopOrderBy: { - chatbotId: [388], - __typename: [697], - }, - OrganizationChatbotVarSampFields: { - chatbotId: [272], - __typename: [697], - }, - OrganizationChatbotVarSampOrderBy: { - chatbotId: [388], - __typename: [697], - }, - OrganizationChatbotVarianceFields: { - chatbotId: [272], - __typename: [697], - }, - OrganizationChatbotVarianceOrderBy: { - chatbotId: [388], - __typename: [697], - }, - OrganizationConstraint: {}, - OrganizationInsertInput: { - name: [697], - organizationId: [948], - organization_chatbots: [401], - organization_preference: [472], - user: [879], - userId: [948], - __typename: [697], - }, - OrganizationMaxFields: { - name: [697], - organizationId: [948], - userId: [948], - __typename: [697], - }, - OrganizationMaxOrderBy: { - name: [388], - organizationId: [388], - userId: [388], - __typename: [697], - }, - OrganizationMinFields: { - name: [697], - organizationId: [948], - userId: [948], - __typename: [697], - }, - OrganizationMinOrderBy: { - name: [388], - organizationId: [388], - userId: [388], - __typename: [697], - }, - OrganizationMutationResponse: { - affectedRows: [273], - returning: [389], - __typename: [697], - }, - OrganizationObjRelInsertInput: { - data: [439], - onConflict: [446], - __typename: [697], - }, - OrganizationOnConflict: { - constraint: [438], - updateColumns: [453], - where: [395], - __typename: [697], - }, - OrganizationOrderBy: { - name: [388], - organizationId: [388], - organization_chatbotsAggregate: [400], - organization_preference: [474], - user: [881], - userId: [388], - __typename: [697], - }, - OrganizationPkColumnsInput: { - organizationId: [948], - __typename: [697], - }, - OrganizationSelectColumn: {}, - OrganizationSetInput: { - name: [697], - organizationId: [948], - userId: [948], - __typename: [697], - }, - OrganizationStreamCursorInput: { - initialValue: [452], + max: [365], + min: [366], + __typename: [621], + }, + N8nCredentialsBoolExp: { + _and: [362], + _not: [362], + _or: [362], + createdAt: [736], + id: [874], + n8nCredentialId: [623], + provider: [623], + service: [623], + userId: [874], + __typename: [621], + }, + N8nCredentialsConstraint: {}, + N8nCredentialsInsertInput: { + createdAt: [901], + id: [904], + n8nCredentialId: [621], + provider: [621], + service: [621], + userId: [904], + __typename: [621], + }, + N8nCredentialsMaxFields: { + createdAt: [901], + id: [904], + n8nCredentialId: [621], + provider: [621], + service: [621], + userId: [904], + __typename: [621], + }, + N8nCredentialsMinFields: { + createdAt: [901], + id: [904], + n8nCredentialId: [621], + provider: [621], + service: [621], + userId: [904], + __typename: [621], + }, + N8nCredentialsMutationResponse: { + affectedRows: [245], + returning: [359], + __typename: [621], + }, + N8nCredentialsOnConflict: { + constraint: [363], + updateColumns: [375], + where: [362], + __typename: [621], + }, + N8nCredentialsOrderBy: { + createdAt: [378], + id: [378], + n8nCredentialId: [378], + provider: [378], + service: [378], + userId: [378], + __typename: [621], + }, + N8nCredentialsPkColumnsInput: { + id: [904], + __typename: [621], + }, + N8nCredentialsSelectColumn: {}, + N8nCredentialsSetInput: { + createdAt: [901], + id: [904], + n8nCredentialId: [621], + provider: [621], + service: [621], + userId: [904], + __typename: [621], + }, + N8nCredentialsStreamCursorInput: { + initialValue: [374], ordering: [196], - __typename: [697], + __typename: [621], + }, + N8nCredentialsStreamCursorValueInput: { + createdAt: [901], + id: [904], + n8nCredentialId: [621], + provider: [621], + service: [621], + userId: [904], + __typename: [621], + }, + N8nCredentialsUpdateColumn: {}, + N8nCredentialsUpdates: { + _set: [372], + where: [362], + __typename: [621], }, - OrganizationStreamCursorValueInput: { - name: [697], - organizationId: [948], - userId: [948], - __typename: [697], - }, - OrganizationUpdateColumn: {}, - OrganizationUpdates: { - _set: [450], - where: [395], - __typename: [697], + NumericComparisonExp: { + _eq: [887], + _gt: [887], + _gte: [887], + _in: [887], + _isNull: [0], + _lt: [887], + _lte: [887], + _neq: [887], + _nin: [887], + __typename: [621], }, + OrderBy: {}, Preference: { complexityEnum: [177], deepExpertise: [0], favorite: [0], - fontSize: [697], - lang: [697], - latestOrganization: [697], - latestProject: [697], - lengthEnum: [277], - preferenceId: [273], - preferredComplexity: [697], - preferredLength: [697], - preferredTone: [697], - preferredType: [697], - toneEnum: [832], - typeEnum: [851], - user: [870], - userId: [948], + fontSize: [621], + lang: [621], + latestOrganization: [621], + latestProject: [621], + lengthEnum: [249], + preferenceId: [245], + preferredComplexity: [621], + preferredLength: [621], + preferredTone: [621], + preferredType: [621], + toneEnum: [756], + typeEnum: [775], + user: [794], + userId: [904], webSearch: [0], - __typename: [697], + __typename: [621], }, PreferenceAggregate: { - aggregate: [458], - nodes: [455], - __typename: [697], + aggregate: [382], + nodes: [379], + __typename: [621], }, PreferenceAggregateBoolExp: { - bool_and: [932], - bool_or: [933], - count: [934], - __typename: [697], + bool_and: [888], + bool_or: [889], + count: [890], + __typename: [621], }, PreferenceAggregateFields: { - avg: [461], + avg: [385], count: [ - 273, + 245, { - columns: [476, "[PreferenceSelectColumn!]"], + columns: [400, "[PreferenceSelectColumn!]"], distinct: [0], }, ], - max: [467], - min: [469], - stddev: [480], - stddevPop: [482], - stddevSamp: [484], - sum: [488], - varPop: [492], - varSamp: [494], - variance: [496], - __typename: [697], + max: [391], + min: [393], + stddev: [404], + stddevPop: [406], + stddevSamp: [408], + sum: [412], + varPop: [416], + varSamp: [418], + variance: [420], + __typename: [621], }, PreferenceAggregateOrderBy: { - avg: [462], - count: [388], - max: [468], - min: [470], - stddev: [481], - stddevPop: [483], - stddevSamp: [485], - sum: [489], - varPop: [493], - varSamp: [495], - variance: [497], - __typename: [697], + avg: [386], + count: [378], + max: [392], + min: [394], + stddev: [405], + stddevPop: [407], + stddevSamp: [409], + sum: [413], + varPop: [417], + varSamp: [419], + variance: [421], + __typename: [621], }, PreferenceArrRelInsertInput: { - data: [466], - onConflict: [473], - __typename: [697], + data: [390], + onConflict: [397], + __typename: [621], }, PreferenceAvgFields: { - preferenceId: [272], - __typename: [697], + preferenceId: [244], + __typename: [621], }, PreferenceAvgOrderBy: { - preferenceId: [388], - __typename: [697], + preferenceId: [378], + __typename: [621], }, PreferenceBoolExp: { - _and: [463], - _not: [463], - _or: [463], + _and: [387], + _not: [387], + _or: [387], complexityEnum: [180], deepExpertise: [1], favorite: [1], - fontSize: [699], - lang: [699], - latestOrganization: [699], - latestProject: [699], - lengthEnum: [280], - preferenceId: [274], - preferredComplexity: [699], - preferredLength: [699], - preferredTone: [699], - preferredType: [699], - toneEnum: [835], - typeEnum: [854], - user: [873], - userId: [914], + fontSize: [623], + lang: [623], + latestOrganization: [623], + latestProject: [623], + lengthEnum: [252], + preferenceId: [246], + preferredComplexity: [623], + preferredLength: [623], + preferredTone: [623], + preferredType: [623], + toneEnum: [759], + typeEnum: [778], + user: [797], + userId: [874], webSearch: [1], - __typename: [697], + __typename: [621], }, PreferenceConstraint: {}, PreferenceIncInput: { - preferenceId: [273], - __typename: [697], + preferenceId: [245], + __typename: [621], }, PreferenceInsertInput: { complexityEnum: [186], deepExpertise: [0], favorite: [0], - fontSize: [697], - lang: [697], - latestOrganization: [697], - latestProject: [697], - lengthEnum: [286], - preferenceId: [273], - preferredComplexity: [697], - preferredLength: [697], - preferredTone: [697], - preferredType: [697], - toneEnum: [841], - typeEnum: [860], - user: [879], - userId: [948], + fontSize: [621], + lang: [621], + latestOrganization: [621], + latestProject: [621], + lengthEnum: [258], + preferenceId: [245], + preferredComplexity: [621], + preferredLength: [621], + preferredTone: [621], + preferredType: [621], + toneEnum: [765], + typeEnum: [784], + user: [821], + userId: [904], webSearch: [0], - __typename: [697], + __typename: [621], }, PreferenceMaxFields: { - fontSize: [697], - lang: [697], - latestOrganization: [697], - latestProject: [697], - preferenceId: [273], - preferredComplexity: [697], - preferredLength: [697], - preferredTone: [697], - preferredType: [697], - userId: [948], - __typename: [697], + fontSize: [621], + lang: [621], + latestOrganization: [621], + latestProject: [621], + preferenceId: [245], + preferredComplexity: [621], + preferredLength: [621], + preferredTone: [621], + preferredType: [621], + userId: [904], + __typename: [621], }, PreferenceMaxOrderBy: { - fontSize: [388], - lang: [388], - latestOrganization: [388], - latestProject: [388], - preferenceId: [388], - preferredComplexity: [388], - preferredLength: [388], - preferredTone: [388], - preferredType: [388], - userId: [388], - __typename: [697], + fontSize: [378], + lang: [378], + latestOrganization: [378], + latestProject: [378], + preferenceId: [378], + preferredComplexity: [378], + preferredLength: [378], + preferredTone: [378], + preferredType: [378], + userId: [378], + __typename: [621], }, PreferenceMinFields: { - fontSize: [697], - lang: [697], - latestOrganization: [697], - latestProject: [697], - preferenceId: [273], - preferredComplexity: [697], - preferredLength: [697], - preferredTone: [697], - preferredType: [697], - userId: [948], - __typename: [697], + fontSize: [621], + lang: [621], + latestOrganization: [621], + latestProject: [621], + preferenceId: [245], + preferredComplexity: [621], + preferredLength: [621], + preferredTone: [621], + preferredType: [621], + userId: [904], + __typename: [621], }, PreferenceMinOrderBy: { - fontSize: [388], - lang: [388], - latestOrganization: [388], - latestProject: [388], - preferenceId: [388], - preferredComplexity: [388], - preferredLength: [388], - preferredTone: [388], - preferredType: [388], - userId: [388], - __typename: [697], + fontSize: [378], + lang: [378], + latestOrganization: [378], + latestProject: [378], + preferenceId: [378], + preferredComplexity: [378], + preferredLength: [378], + preferredTone: [378], + preferredType: [378], + userId: [378], + __typename: [621], }, PreferenceMutationResponse: { - affectedRows: [273], - returning: [455], - __typename: [697], + affectedRows: [245], + returning: [379], + __typename: [621], }, PreferenceObjRelInsertInput: { - data: [466], - onConflict: [473], - __typename: [697], + data: [390], + onConflict: [397], + __typename: [621], }, PreferenceOnConflict: { - constraint: [464], - updateColumns: [490], - where: [463], - __typename: [697], + constraint: [388], + updateColumns: [414], + where: [387], + __typename: [621], }, PreferenceOrderBy: { complexityEnum: [188], - deepExpertise: [388], - favorite: [388], - fontSize: [388], - lang: [388], - latestOrganization: [388], - latestProject: [388], - lengthEnum: [288], - preferenceId: [388], - preferredComplexity: [388], - preferredLength: [388], - preferredTone: [388], - preferredType: [388], - toneEnum: [843], - typeEnum: [862], - user: [881], - userId: [388], - webSearch: [388], - __typename: [697], + deepExpertise: [378], + favorite: [378], + fontSize: [378], + lang: [378], + latestOrganization: [378], + latestProject: [378], + lengthEnum: [260], + preferenceId: [378], + preferredComplexity: [378], + preferredLength: [378], + preferredTone: [378], + preferredType: [378], + toneEnum: [767], + typeEnum: [786], + user: [823], + userId: [378], + webSearch: [378], + __typename: [621], }, PreferencePkColumnsInput: { - preferenceId: [273], - __typename: [697], + preferenceId: [245], + __typename: [621], }, PreferenceSelectColumn: {}, PreferenceSelectColumnPreferenceAggregateBoolExpBool_andArgumentsColumns: @@ -3470,2255 +3021,2255 @@ export default { PreferenceSetInput: { deepExpertise: [0], favorite: [0], - fontSize: [697], - lang: [697], - latestOrganization: [697], - latestProject: [697], - preferenceId: [273], - preferredComplexity: [697], - preferredLength: [697], - preferredTone: [697], - preferredType: [697], - userId: [948], + fontSize: [621], + lang: [621], + latestOrganization: [621], + latestProject: [621], + preferenceId: [245], + preferredComplexity: [621], + preferredLength: [621], + preferredTone: [621], + preferredType: [621], + userId: [904], webSearch: [0], - __typename: [697], + __typename: [621], }, PreferenceStddevFields: { - preferenceId: [272], - __typename: [697], + preferenceId: [244], + __typename: [621], }, PreferenceStddevOrderBy: { - preferenceId: [388], - __typename: [697], + preferenceId: [378], + __typename: [621], }, PreferenceStddevPopFields: { - preferenceId: [272], - __typename: [697], + preferenceId: [244], + __typename: [621], }, PreferenceStddevPopOrderBy: { - preferenceId: [388], - __typename: [697], + preferenceId: [378], + __typename: [621], }, PreferenceStddevSampFields: { - preferenceId: [272], - __typename: [697], + preferenceId: [244], + __typename: [621], }, PreferenceStddevSampOrderBy: { - preferenceId: [388], - __typename: [697], + preferenceId: [378], + __typename: [621], }, PreferenceStreamCursorInput: { - initialValue: [487], + initialValue: [411], ordering: [196], - __typename: [697], + __typename: [621], }, PreferenceStreamCursorValueInput: { deepExpertise: [0], favorite: [0], - fontSize: [697], - lang: [697], - latestOrganization: [697], - latestProject: [697], - preferenceId: [273], - preferredComplexity: [697], - preferredLength: [697], - preferredTone: [697], - preferredType: [697], - userId: [948], + fontSize: [621], + lang: [621], + latestOrganization: [621], + latestProject: [621], + preferenceId: [245], + preferredComplexity: [621], + preferredLength: [621], + preferredTone: [621], + preferredType: [621], + userId: [904], webSearch: [0], - __typename: [697], + __typename: [621], }, PreferenceSumFields: { - preferenceId: [273], - __typename: [697], + preferenceId: [245], + __typename: [621], }, PreferenceSumOrderBy: { - preferenceId: [388], - __typename: [697], + preferenceId: [378], + __typename: [621], }, PreferenceUpdateColumn: {}, PreferenceUpdates: { - _inc: [465], - _set: [479], - where: [463], - __typename: [697], + _inc: [389], + _set: [403], + where: [387], + __typename: [621], }, PreferenceVarPopFields: { - preferenceId: [272], - __typename: [697], + preferenceId: [244], + __typename: [621], }, PreferenceVarPopOrderBy: { - preferenceId: [388], - __typename: [697], + preferenceId: [378], + __typename: [621], }, PreferenceVarSampFields: { - preferenceId: [272], - __typename: [697], + preferenceId: [244], + __typename: [621], }, PreferenceVarSampOrderBy: { - preferenceId: [388], - __typename: [697], + preferenceId: [378], + __typename: [621], }, PreferenceVarianceFields: { - preferenceId: [272], - __typename: [697], + preferenceId: [244], + __typename: [621], }, PreferenceVarianceOrderBy: { - preferenceId: [388], - __typename: [697], + preferenceId: [378], + __typename: [621], }, Prompt: { chatbots: [ - 507, + 431, { - distinctOn: [527, "[PromptChatbotSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [525, "[PromptChatbotOrderBy!]"], - where: [515], + distinctOn: [451, "[PromptChatbotSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [449, "[PromptChatbotOrderBy!]"], + where: [439], }, ], chatbotsAggregate: [ - 508, + 432, { - distinctOn: [527, "[PromptChatbotSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [525, "[PromptChatbotOrderBy!]"], - where: [515], + distinctOn: [451, "[PromptChatbotSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [449, "[PromptChatbotOrderBy!]"], + where: [439], }, ], - content: [697], - promptId: [273], - promptName: [697], - promptTypeEnum: [571], - type: [697], + content: [621], + promptId: [245], + promptName: [621], + promptTypeEnum: [495], + type: [621], users: [ - 592, + 516, { - distinctOn: [612, "[PromptUserSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [610, "[PromptUserOrderBy!]"], - where: [600], + distinctOn: [536, "[PromptUserSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [534, "[PromptUserOrderBy!]"], + where: [524], }, ], usersAggregate: [ - 593, + 517, { - distinctOn: [612, "[PromptUserSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [610, "[PromptUserOrderBy!]"], - where: [600], + distinctOn: [536, "[PromptUserSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [534, "[PromptUserOrderBy!]"], + where: [524], }, ], - __typename: [697], + __typename: [621], }, PromptAggregate: { - aggregate: [501], - nodes: [498], - __typename: [697], + aggregate: [425], + nodes: [422], + __typename: [621], }, PromptAggregateBoolExp: { - count: [935], - __typename: [697], + count: [891], + __typename: [621], }, PromptAggregateFields: { - avg: [504], + avg: [428], count: [ - 273, + 245, { - columns: [559, "[PromptSelectColumn!]"], + columns: [483, "[PromptSelectColumn!]"], distinct: [0], }, ], - max: [550], - min: [552], - stddev: [561], - stddevPop: [563], - stddevSamp: [565], - sum: [569], - varPop: [632], - varSamp: [634], - variance: [636], - __typename: [697], + max: [474], + min: [476], + stddev: [485], + stddevPop: [487], + stddevSamp: [489], + sum: [493], + varPop: [556], + varSamp: [558], + variance: [560], + __typename: [621], }, PromptAggregateOrderBy: { - avg: [505], - count: [388], - max: [551], - min: [553], - stddev: [562], - stddevPop: [564], - stddevSamp: [566], - sum: [570], - varPop: [633], - varSamp: [635], - variance: [637], - __typename: [697], + avg: [429], + count: [378], + max: [475], + min: [477], + stddev: [486], + stddevPop: [488], + stddevSamp: [490], + sum: [494], + varPop: [557], + varSamp: [559], + variance: [561], + __typename: [621], }, PromptArrRelInsertInput: { - data: [549], - onConflict: [556], - __typename: [697], + data: [473], + onConflict: [480], + __typename: [621], }, PromptAvgFields: { - promptId: [272], - __typename: [697], + promptId: [244], + __typename: [621], }, PromptAvgOrderBy: { - promptId: [388], - __typename: [697], + promptId: [378], + __typename: [621], }, PromptBoolExp: { - _and: [506], - _not: [506], - _or: [506], - chatbots: [515], - chatbotsAggregate: [509], - content: [699], - promptId: [274], - promptName: [699], - promptTypeEnum: [574], - type: [699], - users: [600], - usersAggregate: [594], - __typename: [697], + _and: [430], + _not: [430], + _or: [430], + chatbots: [439], + chatbotsAggregate: [433], + content: [623], + promptId: [246], + promptName: [623], + promptTypeEnum: [498], + type: [623], + users: [524], + usersAggregate: [518], + __typename: [621], }, PromptChatbot: { - chabotId: [273], + chabotId: [245], chatbot: [54], - prompt: [498], - promptId: [273], - __typename: [697], + prompt: [422], + promptId: [245], + __typename: [621], }, PromptChatbotAggregate: { - aggregate: [510], - nodes: [507], - __typename: [697], + aggregate: [434], + nodes: [431], + __typename: [621], }, PromptChatbotAggregateBoolExp: { - count: [936], - __typename: [697], + count: [892], + __typename: [621], }, PromptChatbotAggregateFields: { - avg: [513], + avg: [437], count: [ - 273, + 245, { - columns: [527, "[PromptChatbotSelectColumn!]"], + columns: [451, "[PromptChatbotSelectColumn!]"], distinct: [0], }, ], - max: [519], - min: [521], - stddev: [529], - stddevPop: [531], - stddevSamp: [533], - sum: [537], - varPop: [541], - varSamp: [543], - variance: [545], - __typename: [697], + max: [443], + min: [445], + stddev: [453], + stddevPop: [455], + stddevSamp: [457], + sum: [461], + varPop: [465], + varSamp: [467], + variance: [469], + __typename: [621], }, PromptChatbotAggregateOrderBy: { - avg: [514], - count: [388], - max: [520], - min: [522], - stddev: [530], - stddevPop: [532], - stddevSamp: [534], - sum: [538], - varPop: [542], - varSamp: [544], - variance: [546], - __typename: [697], + avg: [438], + count: [378], + max: [444], + min: [446], + stddev: [454], + stddevPop: [456], + stddevSamp: [458], + sum: [462], + varPop: [466], + varSamp: [468], + variance: [470], + __typename: [621], }, PromptChatbotArrRelInsertInput: { - data: [518], - onConflict: [524], - __typename: [697], + data: [442], + onConflict: [448], + __typename: [621], }, PromptChatbotAvgFields: { - chabotId: [272], - promptId: [272], - __typename: [697], + chabotId: [244], + promptId: [244], + __typename: [621], }, PromptChatbotAvgOrderBy: { - chabotId: [388], - promptId: [388], - __typename: [697], + chabotId: [378], + promptId: [378], + __typename: [621], }, PromptChatbotBoolExp: { - _and: [515], - _not: [515], - _or: [515], - chabotId: [274], + _and: [439], + _not: [439], + _or: [439], + chabotId: [246], chatbot: [62], - prompt: [506], - promptId: [274], - __typename: [697], + prompt: [430], + promptId: [246], + __typename: [621], }, PromptChatbotConstraint: {}, PromptChatbotIncInput: { - chabotId: [273], - promptId: [273], - __typename: [697], + chabotId: [245], + promptId: [245], + __typename: [621], }, PromptChatbotInsertInput: { - chabotId: [273], + chabotId: [245], chatbot: [151], - prompt: [555], - promptId: [273], - __typename: [697], + prompt: [479], + promptId: [245], + __typename: [621], }, PromptChatbotMaxFields: { - chabotId: [273], - promptId: [273], - __typename: [697], + chabotId: [245], + promptId: [245], + __typename: [621], }, PromptChatbotMaxOrderBy: { - chabotId: [388], - promptId: [388], - __typename: [697], + chabotId: [378], + promptId: [378], + __typename: [621], }, PromptChatbotMinFields: { - chabotId: [273], - promptId: [273], - __typename: [697], + chabotId: [245], + promptId: [245], + __typename: [621], }, PromptChatbotMinOrderBy: { - chabotId: [388], - promptId: [388], - __typename: [697], + chabotId: [378], + promptId: [378], + __typename: [621], }, PromptChatbotMutationResponse: { - affectedRows: [273], - returning: [507], - __typename: [697], + affectedRows: [245], + returning: [431], + __typename: [621], }, PromptChatbotOnConflict: { - constraint: [516], - updateColumns: [539], - where: [515], - __typename: [697], + constraint: [440], + updateColumns: [463], + where: [439], + __typename: [621], }, PromptChatbotOrderBy: { - chabotId: [388], + chabotId: [378], chatbot: [153], - prompt: [557], - promptId: [388], - __typename: [697], + prompt: [481], + promptId: [378], + __typename: [621], }, PromptChatbotPkColumnsInput: { - chabotId: [273], - promptId: [273], - __typename: [697], + chabotId: [245], + promptId: [245], + __typename: [621], }, PromptChatbotSelectColumn: {}, PromptChatbotSetInput: { - chabotId: [273], - promptId: [273], - __typename: [697], + chabotId: [245], + promptId: [245], + __typename: [621], }, PromptChatbotStddevFields: { - chabotId: [272], - promptId: [272], - __typename: [697], + chabotId: [244], + promptId: [244], + __typename: [621], }, PromptChatbotStddevOrderBy: { - chabotId: [388], - promptId: [388], - __typename: [697], + chabotId: [378], + promptId: [378], + __typename: [621], }, PromptChatbotStddevPopFields: { - chabotId: [272], - promptId: [272], - __typename: [697], + chabotId: [244], + promptId: [244], + __typename: [621], }, PromptChatbotStddevPopOrderBy: { - chabotId: [388], - promptId: [388], - __typename: [697], + chabotId: [378], + promptId: [378], + __typename: [621], }, PromptChatbotStddevSampFields: { - chabotId: [272], - promptId: [272], - __typename: [697], + chabotId: [244], + promptId: [244], + __typename: [621], }, PromptChatbotStddevSampOrderBy: { - chabotId: [388], - promptId: [388], - __typename: [697], + chabotId: [378], + promptId: [378], + __typename: [621], }, PromptChatbotStreamCursorInput: { - initialValue: [536], + initialValue: [460], ordering: [196], - __typename: [697], + __typename: [621], }, PromptChatbotStreamCursorValueInput: { - chabotId: [273], - promptId: [273], - __typename: [697], + chabotId: [245], + promptId: [245], + __typename: [621], }, PromptChatbotSumFields: { - chabotId: [273], - promptId: [273], - __typename: [697], + chabotId: [245], + promptId: [245], + __typename: [621], }, PromptChatbotSumOrderBy: { - chabotId: [388], - promptId: [388], - __typename: [697], + chabotId: [378], + promptId: [378], + __typename: [621], }, PromptChatbotUpdateColumn: {}, PromptChatbotUpdates: { - _inc: [517], - _set: [528], - where: [515], - __typename: [697], + _inc: [441], + _set: [452], + where: [439], + __typename: [621], }, PromptChatbotVarPopFields: { - chabotId: [272], - promptId: [272], - __typename: [697], + chabotId: [244], + promptId: [244], + __typename: [621], }, PromptChatbotVarPopOrderBy: { - chabotId: [388], - promptId: [388], - __typename: [697], + chabotId: [378], + promptId: [378], + __typename: [621], }, PromptChatbotVarSampFields: { - chabotId: [272], - promptId: [272], - __typename: [697], + chabotId: [244], + promptId: [244], + __typename: [621], }, PromptChatbotVarSampOrderBy: { - chabotId: [388], - promptId: [388], - __typename: [697], + chabotId: [378], + promptId: [378], + __typename: [621], }, PromptChatbotVarianceFields: { - chabotId: [272], - promptId: [272], - __typename: [697], + chabotId: [244], + promptId: [244], + __typename: [621], }, PromptChatbotVarianceOrderBy: { - chabotId: [388], - promptId: [388], - __typename: [697], + chabotId: [378], + promptId: [378], + __typename: [621], }, PromptConstraint: {}, PromptIncInput: { - promptId: [273], - __typename: [697], + promptId: [245], + __typename: [621], }, PromptInsertInput: { - chatbots: [512], - content: [697], - promptId: [273], - promptName: [697], - promptTypeEnum: [580], - type: [697], - users: [597], - __typename: [697], + chatbots: [436], + content: [621], + promptId: [245], + promptName: [621], + promptTypeEnum: [504], + type: [621], + users: [521], + __typename: [621], }, PromptMaxFields: { - content: [697], - promptId: [273], - promptName: [697], - type: [697], - __typename: [697], + content: [621], + promptId: [245], + promptName: [621], + type: [621], + __typename: [621], }, PromptMaxOrderBy: { - content: [388], - promptId: [388], - promptName: [388], - type: [388], - __typename: [697], + content: [378], + promptId: [378], + promptName: [378], + type: [378], + __typename: [621], }, PromptMinFields: { - content: [697], - promptId: [273], - promptName: [697], - type: [697], - __typename: [697], + content: [621], + promptId: [245], + promptName: [621], + type: [621], + __typename: [621], }, PromptMinOrderBy: { - content: [388], - promptId: [388], - promptName: [388], - type: [388], - __typename: [697], + content: [378], + promptId: [378], + promptName: [378], + type: [378], + __typename: [621], }, PromptMutationResponse: { - affectedRows: [273], - returning: [498], - __typename: [697], + affectedRows: [245], + returning: [422], + __typename: [621], }, PromptObjRelInsertInput: { - data: [549], - onConflict: [556], - __typename: [697], + data: [473], + onConflict: [480], + __typename: [621], }, PromptOnConflict: { - constraint: [547], - updateColumns: [590], - where: [506], - __typename: [697], + constraint: [471], + updateColumns: [514], + where: [430], + __typename: [621], }, PromptOrderBy: { - chatbotsAggregate: [511], - content: [388], - promptId: [388], - promptName: [388], - promptTypeEnum: [582], - type: [388], - usersAggregate: [596], - __typename: [697], + chatbotsAggregate: [435], + content: [378], + promptId: [378], + promptName: [378], + promptTypeEnum: [506], + type: [378], + usersAggregate: [520], + __typename: [621], }, PromptPkColumnsInput: { - promptId: [273], - __typename: [697], + promptId: [245], + __typename: [621], }, PromptSelectColumn: {}, PromptSetInput: { - content: [697], - promptId: [273], - promptName: [697], - type: [697], - __typename: [697], + content: [621], + promptId: [245], + promptName: [621], + type: [621], + __typename: [621], }, PromptStddevFields: { - promptId: [272], - __typename: [697], + promptId: [244], + __typename: [621], }, PromptStddevOrderBy: { - promptId: [388], - __typename: [697], + promptId: [378], + __typename: [621], }, PromptStddevPopFields: { - promptId: [272], - __typename: [697], + promptId: [244], + __typename: [621], }, PromptStddevPopOrderBy: { - promptId: [388], - __typename: [697], + promptId: [378], + __typename: [621], }, PromptStddevSampFields: { - promptId: [272], - __typename: [697], + promptId: [244], + __typename: [621], }, PromptStddevSampOrderBy: { - promptId: [388], - __typename: [697], + promptId: [378], + __typename: [621], }, PromptStreamCursorInput: { - initialValue: [568], + initialValue: [492], ordering: [196], - __typename: [697], + __typename: [621], }, PromptStreamCursorValueInput: { - content: [697], - promptId: [273], - promptName: [697], - type: [697], - __typename: [697], + content: [621], + promptId: [245], + promptName: [621], + type: [621], + __typename: [621], }, PromptSumFields: { - promptId: [273], - __typename: [697], + promptId: [245], + __typename: [621], }, PromptSumOrderBy: { - promptId: [388], - __typename: [697], + promptId: [378], + __typename: [621], }, PromptTypeEnum: { prompts: [ - 498, + 422, { - distinctOn: [559, "[PromptSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [557, "[PromptOrderBy!]"], - where: [506], + distinctOn: [483, "[PromptSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [481, "[PromptOrderBy!]"], + where: [430], }, ], promptsAggregate: [ - 499, + 423, { - distinctOn: [559, "[PromptSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [557, "[PromptOrderBy!]"], - where: [506], + distinctOn: [483, "[PromptSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [481, "[PromptOrderBy!]"], + where: [430], }, ], - value: [697], - __typename: [697], + value: [621], + __typename: [621], }, PromptTypeEnumAggregate: { - aggregate: [573], - nodes: [571], - __typename: [697], + aggregate: [497], + nodes: [495], + __typename: [621], }, PromptTypeEnumAggregateFields: { count: [ - 273, + 245, { - columns: [584, "[PromptTypeEnumSelectColumn!]"], + columns: [508, "[PromptTypeEnumSelectColumn!]"], distinct: [0], }, ], - max: [577], - min: [578], - __typename: [697], + max: [501], + min: [502], + __typename: [621], }, PromptTypeEnumBoolExp: { - _and: [574], - _not: [574], - _or: [574], - prompts: [506], - promptsAggregate: [500], - value: [699], - __typename: [697], + _and: [498], + _not: [498], + _or: [498], + prompts: [430], + promptsAggregate: [424], + value: [623], + __typename: [621], }, PromptTypeEnumConstraint: {}, PromptTypeEnumInsertInput: { - prompts: [503], - value: [697], - __typename: [697], + prompts: [427], + value: [621], + __typename: [621], }, PromptTypeEnumMaxFields: { - value: [697], - __typename: [697], + value: [621], + __typename: [621], }, PromptTypeEnumMinFields: { - value: [697], - __typename: [697], + value: [621], + __typename: [621], }, PromptTypeEnumMutationResponse: { - affectedRows: [273], - returning: [571], - __typename: [697], + affectedRows: [245], + returning: [495], + __typename: [621], }, PromptTypeEnumObjRelInsertInput: { - data: [576], - onConflict: [581], - __typename: [697], + data: [500], + onConflict: [505], + __typename: [621], }, PromptTypeEnumOnConflict: { - constraint: [575], - updateColumns: [588], - where: [574], - __typename: [697], + constraint: [499], + updateColumns: [512], + where: [498], + __typename: [621], }, PromptTypeEnumOrderBy: { - promptsAggregate: [502], - value: [388], - __typename: [697], + promptsAggregate: [426], + value: [378], + __typename: [621], }, PromptTypeEnumPkColumnsInput: { - value: [697], - __typename: [697], + value: [621], + __typename: [621], }, PromptTypeEnumSelectColumn: {}, PromptTypeEnumSetInput: { - value: [697], - __typename: [697], + value: [621], + __typename: [621], }, PromptTypeEnumStreamCursorInput: { - initialValue: [587], + initialValue: [511], ordering: [196], - __typename: [697], + __typename: [621], }, PromptTypeEnumStreamCursorValueInput: { - value: [697], - __typename: [697], + value: [621], + __typename: [621], }, PromptTypeEnumUpdateColumn: {}, PromptTypeEnumUpdates: { - _set: [585], - where: [574], - __typename: [697], + _set: [509], + where: [498], + __typename: [621], }, PromptUpdateColumn: {}, PromptUpdates: { - _inc: [548], - _set: [560], - where: [506], - __typename: [697], + _inc: [472], + _set: [484], + where: [430], + __typename: [621], }, PromptUser: { - prompt: [498], - promptId: [273], - user: [870], - userId: [948], - __typename: [697], + prompt: [422], + promptId: [245], + user: [794], + userId: [904], + __typename: [621], }, PromptUserAggregate: { - aggregate: [595], - nodes: [592], - __typename: [697], + aggregate: [519], + nodes: [516], + __typename: [621], }, PromptUserAggregateBoolExp: { - count: [937], - __typename: [697], + count: [893], + __typename: [621], }, PromptUserAggregateFields: { - avg: [598], + avg: [522], count: [ - 273, + 245, { - columns: [612, "[PromptUserSelectColumn!]"], + columns: [536, "[PromptUserSelectColumn!]"], distinct: [0], }, ], - max: [604], - min: [606], - stddev: [614], - stddevPop: [616], - stddevSamp: [618], - sum: [622], - varPop: [626], - varSamp: [628], - variance: [630], - __typename: [697], + max: [528], + min: [530], + stddev: [538], + stddevPop: [540], + stddevSamp: [542], + sum: [546], + varPop: [550], + varSamp: [552], + variance: [554], + __typename: [621], }, PromptUserAggregateOrderBy: { - avg: [599], - count: [388], - max: [605], - min: [607], - stddev: [615], - stddevPop: [617], - stddevSamp: [619], - sum: [623], - varPop: [627], - varSamp: [629], - variance: [631], - __typename: [697], + avg: [523], + count: [378], + max: [529], + min: [531], + stddev: [539], + stddevPop: [541], + stddevSamp: [543], + sum: [547], + varPop: [551], + varSamp: [553], + variance: [555], + __typename: [621], }, PromptUserArrRelInsertInput: { - data: [603], - onConflict: [609], - __typename: [697], + data: [527], + onConflict: [533], + __typename: [621], }, PromptUserAvgFields: { - promptId: [272], - __typename: [697], + promptId: [244], + __typename: [621], }, PromptUserAvgOrderBy: { - promptId: [388], - __typename: [697], + promptId: [378], + __typename: [621], }, PromptUserBoolExp: { - _and: [600], - _not: [600], - _or: [600], - prompt: [506], - promptId: [274], - user: [873], - userId: [914], - __typename: [697], + _and: [524], + _not: [524], + _or: [524], + prompt: [430], + promptId: [246], + user: [797], + userId: [874], + __typename: [621], }, PromptUserConstraint: {}, PromptUserIncInput: { - promptId: [273], - __typename: [697], + promptId: [245], + __typename: [621], }, PromptUserInsertInput: { - prompt: [555], - promptId: [273], - user: [879], - userId: [948], - __typename: [697], + prompt: [479], + promptId: [245], + user: [821], + userId: [904], + __typename: [621], }, PromptUserMaxFields: { - promptId: [273], - userId: [948], - __typename: [697], + promptId: [245], + userId: [904], + __typename: [621], }, PromptUserMaxOrderBy: { - promptId: [388], - userId: [388], - __typename: [697], + promptId: [378], + userId: [378], + __typename: [621], }, PromptUserMinFields: { - promptId: [273], - userId: [948], - __typename: [697], + promptId: [245], + userId: [904], + __typename: [621], }, PromptUserMinOrderBy: { - promptId: [388], - userId: [388], - __typename: [697], + promptId: [378], + userId: [378], + __typename: [621], }, PromptUserMutationResponse: { - affectedRows: [273], - returning: [592], - __typename: [697], + affectedRows: [245], + returning: [516], + __typename: [621], }, PromptUserOnConflict: { - constraint: [601], - updateColumns: [624], - where: [600], - __typename: [697], + constraint: [525], + updateColumns: [548], + where: [524], + __typename: [621], }, PromptUserOrderBy: { - prompt: [557], - promptId: [388], - user: [881], - userId: [388], - __typename: [697], + prompt: [481], + promptId: [378], + user: [823], + userId: [378], + __typename: [621], }, PromptUserPkColumnsInput: { - promptId: [273], - userId: [948], - __typename: [697], + promptId: [245], + userId: [904], + __typename: [621], }, PromptUserSelectColumn: {}, PromptUserSetInput: { - promptId: [273], - userId: [948], - __typename: [697], + promptId: [245], + userId: [904], + __typename: [621], }, PromptUserStddevFields: { - promptId: [272], - __typename: [697], + promptId: [244], + __typename: [621], }, PromptUserStddevOrderBy: { - promptId: [388], - __typename: [697], + promptId: [378], + __typename: [621], }, PromptUserStddevPopFields: { - promptId: [272], - __typename: [697], + promptId: [244], + __typename: [621], }, PromptUserStddevPopOrderBy: { - promptId: [388], - __typename: [697], + promptId: [378], + __typename: [621], }, PromptUserStddevSampFields: { - promptId: [272], - __typename: [697], + promptId: [244], + __typename: [621], }, PromptUserStddevSampOrderBy: { - promptId: [388], - __typename: [697], + promptId: [378], + __typename: [621], }, PromptUserStreamCursorInput: { - initialValue: [621], + initialValue: [545], ordering: [196], - __typename: [697], + __typename: [621], }, PromptUserStreamCursorValueInput: { - promptId: [273], - userId: [948], - __typename: [697], + promptId: [245], + userId: [904], + __typename: [621], }, PromptUserSumFields: { - promptId: [273], - __typename: [697], + promptId: [245], + __typename: [621], }, PromptUserSumOrderBy: { - promptId: [388], - __typename: [697], + promptId: [378], + __typename: [621], }, PromptUserUpdateColumn: {}, PromptUserUpdates: { - _inc: [602], - _set: [613], - where: [600], - __typename: [697], + _inc: [526], + _set: [537], + where: [524], + __typename: [621], }, PromptUserVarPopFields: { - promptId: [272], - __typename: [697], + promptId: [244], + __typename: [621], }, PromptUserVarPopOrderBy: { - promptId: [388], - __typename: [697], + promptId: [378], + __typename: [621], }, PromptUserVarSampFields: { - promptId: [272], - __typename: [697], + promptId: [244], + __typename: [621], }, PromptUserVarSampOrderBy: { - promptId: [388], - __typename: [697], + promptId: [378], + __typename: [621], }, PromptUserVarianceFields: { - promptId: [272], - __typename: [697], + promptId: [244], + __typename: [621], }, PromptUserVarianceOrderBy: { - promptId: [388], - __typename: [697], + promptId: [378], + __typename: [621], }, PromptVarPopFields: { - promptId: [272], - __typename: [697], + promptId: [244], + __typename: [621], }, PromptVarPopOrderBy: { - promptId: [388], - __typename: [697], + promptId: [378], + __typename: [621], }, PromptVarSampFields: { - promptId: [272], - __typename: [697], + promptId: [244], + __typename: [621], }, PromptVarSampOrderBy: { - promptId: [388], - __typename: [697], + promptId: [378], + __typename: [621], }, PromptVarianceFields: { - promptId: [272], - __typename: [697], + promptId: [244], + __typename: [621], }, PromptVarianceOrderBy: { - promptId: [388], - __typename: [697], + promptId: [378], + __typename: [621], }, Referral: { - referralCode: [697], - referrerId: [948], - user: [870], - userByUserId: [870], - userId: [948], - __typename: [697], + referralCode: [621], + referrerId: [904], + user: [794], + userByUserId: [794], + userId: [904], + __typename: [621], }, ReferralAggregate: { - aggregate: [641], - nodes: [638], - __typename: [697], + aggregate: [565], + nodes: [562], + __typename: [621], }, ReferralAggregateBoolExp: { - count: [938], - __typename: [697], + count: [894], + __typename: [621], }, ReferralAggregateFields: { count: [ - 273, + 245, { - columns: [655, "[ReferralSelectColumn!]"], + columns: [579, "[ReferralSelectColumn!]"], distinct: [0], }, ], - max: [647], - min: [649], - __typename: [697], + max: [571], + min: [573], + __typename: [621], }, ReferralAggregateOrderBy: { - count: [388], - max: [648], - min: [650], - __typename: [697], + count: [378], + max: [572], + min: [574], + __typename: [621], }, ReferralArrRelInsertInput: { - data: [646], - onConflict: [652], - __typename: [697], + data: [570], + onConflict: [576], + __typename: [621], }, ReferralBoolExp: { - _and: [644], - _not: [644], - _or: [644], - referralCode: [699], - referrerId: [914], - user: [873], - userByUserId: [873], - userId: [914], - __typename: [697], + _and: [568], + _not: [568], + _or: [568], + referralCode: [623], + referrerId: [874], + user: [797], + userByUserId: [797], + userId: [874], + __typename: [621], }, ReferralConstraint: {}, ReferralInsertInput: { - referralCode: [697], - referrerId: [948], - user: [879], - userByUserId: [879], - userId: [948], - __typename: [697], + referralCode: [621], + referrerId: [904], + user: [821], + userByUserId: [821], + userId: [904], + __typename: [621], }, ReferralMaxFields: { - referralCode: [697], - referrerId: [948], - userId: [948], - __typename: [697], + referralCode: [621], + referrerId: [904], + userId: [904], + __typename: [621], }, ReferralMaxOrderBy: { - referralCode: [388], - referrerId: [388], - userId: [388], - __typename: [697], + referralCode: [378], + referrerId: [378], + userId: [378], + __typename: [621], }, ReferralMinFields: { - referralCode: [697], - referrerId: [948], - userId: [948], - __typename: [697], + referralCode: [621], + referrerId: [904], + userId: [904], + __typename: [621], }, ReferralMinOrderBy: { - referralCode: [388], - referrerId: [388], - userId: [388], - __typename: [697], + referralCode: [378], + referrerId: [378], + userId: [378], + __typename: [621], }, ReferralMutationResponse: { - affectedRows: [273], - returning: [638], - __typename: [697], + affectedRows: [245], + returning: [562], + __typename: [621], }, ReferralOnConflict: { - constraint: [645], - updateColumns: [659], - where: [644], - __typename: [697], + constraint: [569], + updateColumns: [583], + where: [568], + __typename: [621], }, ReferralOrderBy: { - referralCode: [388], - referrerId: [388], - user: [881], - userByUserId: [881], - userId: [388], - __typename: [697], + referralCode: [378], + referrerId: [378], + user: [823], + userByUserId: [823], + userId: [378], + __typename: [621], }, ReferralPkColumnsInput: { - referralCode: [697], - __typename: [697], + referralCode: [621], + __typename: [621], }, ReferralSelectColumn: {}, ReferralSetInput: { - referralCode: [697], - referrerId: [948], - userId: [948], - __typename: [697], + referralCode: [621], + referrerId: [904], + userId: [904], + __typename: [621], }, ReferralStreamCursorInput: { - initialValue: [658], + initialValue: [582], ordering: [196], - __typename: [697], + __typename: [621], }, ReferralStreamCursorValueInput: { - referralCode: [697], - referrerId: [948], - userId: [948], - __typename: [697], + referralCode: [621], + referrerId: [904], + userId: [904], + __typename: [621], }, ReferralUpdateColumn: {}, ReferralUpdates: { - _set: [656], - where: [644], - __typename: [697], + _set: [580], + where: [568], + __typename: [621], }, SocialFollowing: { chatbot: [54], - createdAt: [945], - followeeId: [948], - followeeIdChatbot: [273], - followerId: [948], - user: [870], - userByFollowerId: [870], - __typename: [697], + createdAt: [901], + followeeId: [904], + followeeIdChatbot: [245], + followerId: [904], + user: [794], + userByFollowerId: [794], + __typename: [621], }, SocialFollowingAggregate: { - aggregate: [664], - nodes: [661], - __typename: [697], + aggregate: [588], + nodes: [585], + __typename: [621], }, SocialFollowingAggregateBoolExp: { - count: [939], - __typename: [697], + count: [895], + __typename: [621], }, SocialFollowingAggregateFields: { - avg: [667], + avg: [591], count: [ - 273, + 245, { - columns: [678, "[SocialFollowingSelectColumn!]"], + columns: [602, "[SocialFollowingSelectColumn!]"], distinct: [0], }, ], - max: [672], - min: [674], - stddev: [680], - stddevPop: [682], - stddevSamp: [684], - sum: [688], - varPop: [691], - varSamp: [693], - variance: [695], - __typename: [697], + max: [596], + min: [598], + stddev: [604], + stddevPop: [606], + stddevSamp: [608], + sum: [612], + varPop: [615], + varSamp: [617], + variance: [619], + __typename: [621], }, SocialFollowingAggregateOrderBy: { - avg: [668], - count: [388], - max: [673], - min: [675], - stddev: [681], - stddevPop: [683], - stddevSamp: [685], - sum: [689], - varPop: [692], - varSamp: [694], - variance: [696], - __typename: [697], + avg: [592], + count: [378], + max: [597], + min: [599], + stddev: [605], + stddevPop: [607], + stddevSamp: [609], + sum: [613], + varPop: [616], + varSamp: [618], + variance: [620], + __typename: [621], }, SocialFollowingArrRelInsertInput: { - data: [671], - __typename: [697], + data: [595], + __typename: [621], }, SocialFollowingAvgFields: { - followeeIdChatbot: [272], - __typename: [697], + followeeIdChatbot: [244], + __typename: [621], }, SocialFollowingAvgOrderBy: { - followeeIdChatbot: [388], - __typename: [697], + followeeIdChatbot: [378], + __typename: [621], }, SocialFollowingBoolExp: { - _and: [669], - _not: [669], - _or: [669], + _and: [593], + _not: [593], + _or: [593], chatbot: [62], - createdAt: [812], - followeeId: [914], - followeeIdChatbot: [274], - followerId: [914], - user: [873], - userByFollowerId: [873], - __typename: [697], + createdAt: [736], + followeeId: [874], + followeeIdChatbot: [246], + followerId: [874], + user: [797], + userByFollowerId: [797], + __typename: [621], }, SocialFollowingIncInput: { - followeeIdChatbot: [273], - __typename: [697], + followeeIdChatbot: [245], + __typename: [621], }, SocialFollowingInsertInput: { chatbot: [151], - createdAt: [945], - followeeId: [948], - followeeIdChatbot: [273], - followerId: [948], - user: [879], - userByFollowerId: [879], - __typename: [697], + createdAt: [901], + followeeId: [904], + followeeIdChatbot: [245], + followerId: [904], + user: [821], + userByFollowerId: [821], + __typename: [621], }, SocialFollowingMaxFields: { - createdAt: [945], - followeeId: [948], - followeeIdChatbot: [273], - followerId: [948], - __typename: [697], + createdAt: [901], + followeeId: [904], + followeeIdChatbot: [245], + followerId: [904], + __typename: [621], }, SocialFollowingMaxOrderBy: { - createdAt: [388], - followeeId: [388], - followeeIdChatbot: [388], - followerId: [388], - __typename: [697], + createdAt: [378], + followeeId: [378], + followeeIdChatbot: [378], + followerId: [378], + __typename: [621], }, SocialFollowingMinFields: { - createdAt: [945], - followeeId: [948], - followeeIdChatbot: [273], - followerId: [948], - __typename: [697], + createdAt: [901], + followeeId: [904], + followeeIdChatbot: [245], + followerId: [904], + __typename: [621], }, SocialFollowingMinOrderBy: { - createdAt: [388], - followeeId: [388], - followeeIdChatbot: [388], - followerId: [388], - __typename: [697], + createdAt: [378], + followeeId: [378], + followeeIdChatbot: [378], + followerId: [378], + __typename: [621], }, SocialFollowingMutationResponse: { - affectedRows: [273], - returning: [661], - __typename: [697], + affectedRows: [245], + returning: [585], + __typename: [621], }, SocialFollowingOrderBy: { chatbot: [153], - createdAt: [388], - followeeId: [388], - followeeIdChatbot: [388], - followerId: [388], - user: [881], - userByFollowerId: [881], - __typename: [697], + createdAt: [378], + followeeId: [378], + followeeIdChatbot: [378], + followerId: [378], + user: [823], + userByFollowerId: [823], + __typename: [621], }, SocialFollowingSelectColumn: {}, SocialFollowingSetInput: { - createdAt: [945], - followeeId: [948], - followeeIdChatbot: [273], - followerId: [948], - __typename: [697], + createdAt: [901], + followeeId: [904], + followeeIdChatbot: [245], + followerId: [904], + __typename: [621], }, SocialFollowingStddevFields: { - followeeIdChatbot: [272], - __typename: [697], + followeeIdChatbot: [244], + __typename: [621], }, SocialFollowingStddevOrderBy: { - followeeIdChatbot: [388], - __typename: [697], + followeeIdChatbot: [378], + __typename: [621], }, SocialFollowingStddevPopFields: { - followeeIdChatbot: [272], - __typename: [697], + followeeIdChatbot: [244], + __typename: [621], }, SocialFollowingStddevPopOrderBy: { - followeeIdChatbot: [388], - __typename: [697], + followeeIdChatbot: [378], + __typename: [621], }, SocialFollowingStddevSampFields: { - followeeIdChatbot: [272], - __typename: [697], + followeeIdChatbot: [244], + __typename: [621], }, SocialFollowingStddevSampOrderBy: { - followeeIdChatbot: [388], - __typename: [697], + followeeIdChatbot: [378], + __typename: [621], }, SocialFollowingStreamCursorInput: { - initialValue: [687], + initialValue: [611], ordering: [196], - __typename: [697], + __typename: [621], }, SocialFollowingStreamCursorValueInput: { - createdAt: [945], - followeeId: [948], - followeeIdChatbot: [273], - followerId: [948], - __typename: [697], + createdAt: [901], + followeeId: [904], + followeeIdChatbot: [245], + followerId: [904], + __typename: [621], }, SocialFollowingSumFields: { - followeeIdChatbot: [273], - __typename: [697], + followeeIdChatbot: [245], + __typename: [621], }, SocialFollowingSumOrderBy: { - followeeIdChatbot: [388], - __typename: [697], + followeeIdChatbot: [378], + __typename: [621], }, SocialFollowingUpdates: { - _inc: [670], - _set: [679], - where: [669], - __typename: [697], + _inc: [594], + _set: [603], + where: [593], + __typename: [621], }, SocialFollowingVarPopFields: { - followeeIdChatbot: [272], - __typename: [697], + followeeIdChatbot: [244], + __typename: [621], }, SocialFollowingVarPopOrderBy: { - followeeIdChatbot: [388], - __typename: [697], + followeeIdChatbot: [378], + __typename: [621], }, SocialFollowingVarSampFields: { - followeeIdChatbot: [272], - __typename: [697], + followeeIdChatbot: [244], + __typename: [621], }, SocialFollowingVarSampOrderBy: { - followeeIdChatbot: [388], - __typename: [697], + followeeIdChatbot: [378], + __typename: [621], }, SocialFollowingVarianceFields: { - followeeIdChatbot: [272], - __typename: [697], + followeeIdChatbot: [244], + __typename: [621], }, SocialFollowingVarianceOrderBy: { - followeeIdChatbot: [388], - __typename: [697], + followeeIdChatbot: [378], + __typename: [621], }, String: {}, StringArrayComparisonExp: { - _containedIn: [697], - _contains: [697], - _eq: [697], - _gt: [697], - _gte: [697], - _in: [697], + _containedIn: [621], + _contains: [621], + _eq: [621], + _gt: [621], + _gte: [621], + _in: [621], _isNull: [0], - _lt: [697], - _lte: [697], - _neq: [697], - _nin: [697], - __typename: [697], + _lt: [621], + _lte: [621], + _neq: [621], + _nin: [621], + __typename: [621], }, StringComparisonExp: { - _eq: [697], - _gt: [697], - _gte: [697], - _ilike: [697], - _in: [697], - _iregex: [697], + _eq: [621], + _gt: [621], + _gte: [621], + _ilike: [621], + _in: [621], + _iregex: [621], _isNull: [0], - _like: [697], - _lt: [697], - _lte: [697], - _neq: [697], - _nilike: [697], - _nin: [697], - _niregex: [697], - _nlike: [697], - _nregex: [697], - _nsimilar: [697], - _regex: [697], - _similar: [697], - __typename: [697], + _like: [621], + _lt: [621], + _lte: [621], + _neq: [621], + _nilike: [621], + _nin: [621], + _niregex: [621], + _nlike: [621], + _nregex: [621], + _nsimilar: [621], + _regex: [621], + _similar: [621], + __typename: [621], }, SubcategoryEnum: { - added: [945], - category: [697], + added: [901], + category: [621], categoryEnumByDomainCategory: [8], category_enum: [8], - domain: [697], + domain: [621], examples: [ - 244, + 216, { - distinctOn: [266, "[ExampleSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [263, "[ExampleOrderBy!]"], - where: [251], + distinctOn: [238, "[ExampleSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [235, "[ExampleOrderBy!]"], + where: [223], }, ], examplesAggregate: [ - 245, + 217, { - distinctOn: [266, "[ExampleSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [263, "[ExampleOrderBy!]"], - where: [251], + distinctOn: [238, "[ExampleSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [235, "[ExampleOrderBy!]"], + where: [223], }, ], examplesByCategoryDomainSubcategory: [ - 244, + 216, { - distinctOn: [266, "[ExampleSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [263, "[ExampleOrderBy!]"], - where: [251], + distinctOn: [238, "[ExampleSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [235, "[ExampleOrderBy!]"], + where: [223], }, ], examplesByCategoryDomainSubcategoryAggregate: [ - 245, + 217, { - distinctOn: [266, "[ExampleSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [263, "[ExampleOrderBy!]"], - where: [251], + distinctOn: [238, "[ExampleSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [235, "[ExampleOrderBy!]"], + where: [223], }, ], - name: [697], - __typename: [697], + name: [621], + __typename: [621], }, SubcategoryEnumAggregate: { - aggregate: [703], - nodes: [700], - __typename: [697], + aggregate: [627], + nodes: [624], + __typename: [621], }, SubcategoryEnumAggregateBoolExp: { - count: [940], - __typename: [697], + count: [896], + __typename: [621], }, SubcategoryEnumAggregateFields: { count: [ - 273, + 245, { - columns: [718, "[SubcategoryEnumSelectColumn!]"], + columns: [642, "[SubcategoryEnumSelectColumn!]"], distinct: [0], }, ], - max: [709], - min: [711], - __typename: [697], + max: [633], + min: [635], + __typename: [621], }, SubcategoryEnumAggregateOrderBy: { - count: [388], - max: [710], - min: [712], - __typename: [697], + count: [378], + max: [634], + min: [636], + __typename: [621], }, SubcategoryEnumArrRelInsertInput: { - data: [708], - onConflict: [715], - __typename: [697], + data: [632], + onConflict: [639], + __typename: [621], }, SubcategoryEnumBoolExp: { - _and: [706], - _not: [706], - _or: [706], - added: [812], - category: [699], + _and: [630], + _not: [630], + _or: [630], + added: [736], + category: [623], categoryEnumByDomainCategory: [14], category_enum: [14], - domain: [699], - examples: [251], - examplesAggregate: [246], - examplesByCategoryDomainSubcategory: [251], - examplesByCategoryDomainSubcategoryAggregate: [246], - name: [699], - __typename: [697], + domain: [623], + examples: [223], + examplesAggregate: [218], + examplesByCategoryDomainSubcategory: [223], + examplesByCategoryDomainSubcategoryAggregate: [218], + name: [623], + __typename: [621], }, SubcategoryEnumConstraint: {}, SubcategoryEnumInsertInput: { - added: [945], - category: [697], + added: [901], + category: [621], categoryEnumByDomainCategory: [22], category_enum: [22], - domain: [697], - examples: [250], - examplesByCategoryDomainSubcategory: [250], - name: [697], - __typename: [697], + domain: [621], + examples: [222], + examplesByCategoryDomainSubcategory: [222], + name: [621], + __typename: [621], }, SubcategoryEnumMaxFields: { - added: [945], - category: [697], - domain: [697], - name: [697], - __typename: [697], + added: [901], + category: [621], + domain: [621], + name: [621], + __typename: [621], }, SubcategoryEnumMaxOrderBy: { - added: [388], - category: [388], - domain: [388], - name: [388], - __typename: [697], + added: [378], + category: [378], + domain: [378], + name: [378], + __typename: [621], }, SubcategoryEnumMinFields: { - added: [945], - category: [697], - domain: [697], - name: [697], - __typename: [697], + added: [901], + category: [621], + domain: [621], + name: [621], + __typename: [621], }, SubcategoryEnumMinOrderBy: { - added: [388], - category: [388], - domain: [388], - name: [388], - __typename: [697], + added: [378], + category: [378], + domain: [378], + name: [378], + __typename: [621], }, SubcategoryEnumMutationResponse: { - affectedRows: [273], - returning: [700], - __typename: [697], + affectedRows: [245], + returning: [624], + __typename: [621], }, SubcategoryEnumObjRelInsertInput: { - data: [708], - onConflict: [715], - __typename: [697], + data: [632], + onConflict: [639], + __typename: [621], }, SubcategoryEnumOnConflict: { - constraint: [707], - updateColumns: [722], - where: [706], - __typename: [697], + constraint: [631], + updateColumns: [646], + where: [630], + __typename: [621], }, SubcategoryEnumOrderBy: { - added: [388], - category: [388], + added: [378], + category: [378], categoryEnumByDomainCategory: [24], category_enum: [24], - domain: [388], - examplesAggregate: [248], - examplesByCategoryDomainSubcategoryAggregate: [248], - name: [388], - __typename: [697], + domain: [378], + examplesAggregate: [220], + examplesByCategoryDomainSubcategoryAggregate: [220], + name: [378], + __typename: [621], }, SubcategoryEnumPkColumnsInput: { - category: [697], - domain: [697], - name: [697], - __typename: [697], + category: [621], + domain: [621], + name: [621], + __typename: [621], }, SubcategoryEnumSelectColumn: {}, SubcategoryEnumSetInput: { - added: [945], - category: [697], - domain: [697], - name: [697], - __typename: [697], + added: [901], + category: [621], + domain: [621], + name: [621], + __typename: [621], }, SubcategoryEnumStreamCursorInput: { - initialValue: [721], + initialValue: [645], ordering: [196], - __typename: [697], + __typename: [621], }, SubcategoryEnumStreamCursorValueInput: { - added: [945], - category: [697], - domain: [697], - name: [697], - __typename: [697], + added: [901], + category: [621], + domain: [621], + name: [621], + __typename: [621], }, SubcategoryEnumUpdateColumn: {}, SubcategoryEnumUpdates: { - _set: [719], - where: [706], - __typename: [697], + _set: [643], + where: [630], + __typename: [621], }, TagEnum: { - domain: [697], - domain_enum: [225], - frequency: [927], - name: [697], - tagId: [948], - __typename: [697], + domain: [621], + domain_enum: [197], + frequency: [887], + name: [621], + tagId: [904], + __typename: [621], }, TagEnumAggregate: { - aggregate: [727], - nodes: [724], - __typename: [697], + aggregate: [651], + nodes: [648], + __typename: [621], }, TagEnumAggregateBoolExp: { - count: [941], - __typename: [697], + count: [897], + __typename: [621], }, TagEnumAggregateFields: { - avg: [730], + avg: [654], count: [ - 273, + 245, { - columns: [744, "[TagEnumSelectColumn!]"], + columns: [668, "[TagEnumSelectColumn!]"], distinct: [0], }, ], - max: [736], - min: [738], - stddev: [746], - stddevPop: [748], - stddevSamp: [750], - sum: [754], - varPop: [758], - varSamp: [760], - variance: [762], - __typename: [697], + max: [660], + min: [662], + stddev: [670], + stddevPop: [672], + stddevSamp: [674], + sum: [678], + varPop: [682], + varSamp: [684], + variance: [686], + __typename: [621], }, TagEnumAggregateOrderBy: { - avg: [731], - count: [388], - max: [737], - min: [739], - stddev: [747], - stddevPop: [749], - stddevSamp: [751], - sum: [755], - varPop: [759], - varSamp: [761], - variance: [763], - __typename: [697], + avg: [655], + count: [378], + max: [661], + min: [663], + stddev: [671], + stddevPop: [673], + stddevSamp: [675], + sum: [679], + varPop: [683], + varSamp: [685], + variance: [687], + __typename: [621], }, TagEnumArrRelInsertInput: { - data: [735], - onConflict: [741], - __typename: [697], + data: [659], + onConflict: [665], + __typename: [621], }, TagEnumAvgFields: { - frequency: [272], - __typename: [697], + frequency: [244], + __typename: [621], }, TagEnumAvgOrderBy: { - frequency: [388], - __typename: [697], + frequency: [378], + __typename: [621], }, TagEnumBoolExp: { - _and: [732], - _not: [732], - _or: [732], - domain: [699], - domain_enum: [228], - frequency: [387], - name: [699], - tagId: [914], - __typename: [697], + _and: [656], + _not: [656], + _or: [656], + domain: [623], + domain_enum: [200], + frequency: [377], + name: [623], + tagId: [874], + __typename: [621], }, TagEnumConstraint: {}, TagEnumIncInput: { - frequency: [927], - __typename: [697], + frequency: [887], + __typename: [621], }, TagEnumInsertInput: { - domain: [697], - domain_enum: [234], - frequency: [927], - name: [697], - tagId: [948], - __typename: [697], + domain: [621], + domain_enum: [206], + frequency: [887], + name: [621], + tagId: [904], + __typename: [621], }, TagEnumMaxFields: { - domain: [697], - frequency: [927], - name: [697], - tagId: [948], - __typename: [697], + domain: [621], + frequency: [887], + name: [621], + tagId: [904], + __typename: [621], }, TagEnumMaxOrderBy: { - domain: [388], - frequency: [388], - name: [388], - tagId: [388], - __typename: [697], + domain: [378], + frequency: [378], + name: [378], + tagId: [378], + __typename: [621], }, TagEnumMinFields: { - domain: [697], - frequency: [927], - name: [697], - tagId: [948], - __typename: [697], + domain: [621], + frequency: [887], + name: [621], + tagId: [904], + __typename: [621], }, TagEnumMinOrderBy: { - domain: [388], - frequency: [388], - name: [388], - tagId: [388], - __typename: [697], + domain: [378], + frequency: [378], + name: [378], + tagId: [378], + __typename: [621], }, TagEnumMutationResponse: { - affectedRows: [273], - returning: [724], - __typename: [697], + affectedRows: [245], + returning: [648], + __typename: [621], }, TagEnumOnConflict: { - constraint: [733], - updateColumns: [756], - where: [732], - __typename: [697], + constraint: [657], + updateColumns: [680], + where: [656], + __typename: [621], }, TagEnumOrderBy: { - domain: [388], - domain_enum: [236], - frequency: [388], - name: [388], - tagId: [388], - __typename: [697], + domain: [378], + domain_enum: [208], + frequency: [378], + name: [378], + tagId: [378], + __typename: [621], }, TagEnumPkColumnsInput: { - tagId: [948], - __typename: [697], + tagId: [904], + __typename: [621], }, TagEnumSelectColumn: {}, TagEnumSetInput: { - domain: [697], - frequency: [927], - name: [697], - tagId: [948], - __typename: [697], + domain: [621], + frequency: [887], + name: [621], + tagId: [904], + __typename: [621], }, TagEnumStddevFields: { - frequency: [272], - __typename: [697], + frequency: [244], + __typename: [621], }, TagEnumStddevOrderBy: { - frequency: [388], - __typename: [697], + frequency: [378], + __typename: [621], }, TagEnumStddevPopFields: { - frequency: [272], - __typename: [697], + frequency: [244], + __typename: [621], }, TagEnumStddevPopOrderBy: { - frequency: [388], - __typename: [697], + frequency: [378], + __typename: [621], }, TagEnumStddevSampFields: { - frequency: [272], - __typename: [697], + frequency: [244], + __typename: [621], }, TagEnumStddevSampOrderBy: { - frequency: [388], - __typename: [697], + frequency: [378], + __typename: [621], }, TagEnumStreamCursorInput: { - initialValue: [753], + initialValue: [677], ordering: [196], - __typename: [697], + __typename: [621], }, TagEnumStreamCursorValueInput: { - domain: [697], - frequency: [927], - name: [697], - tagId: [948], - __typename: [697], + domain: [621], + frequency: [887], + name: [621], + tagId: [904], + __typename: [621], }, TagEnumSumFields: { - frequency: [927], - __typename: [697], + frequency: [887], + __typename: [621], }, TagEnumSumOrderBy: { - frequency: [388], - __typename: [697], + frequency: [378], + __typename: [621], }, TagEnumUpdateColumn: {}, TagEnumUpdates: { - _inc: [734], - _set: [745], - where: [732], - __typename: [697], + _inc: [658], + _set: [669], + where: [656], + __typename: [621], }, TagEnumVarPopFields: { - frequency: [272], - __typename: [697], + frequency: [244], + __typename: [621], }, TagEnumVarPopOrderBy: { - frequency: [388], - __typename: [697], + frequency: [378], + __typename: [621], }, TagEnumVarSampFields: { - frequency: [272], - __typename: [697], + frequency: [244], + __typename: [621], }, TagEnumVarSampOrderBy: { - frequency: [388], - __typename: [697], + frequency: [378], + __typename: [621], }, TagEnumVarianceFields: { - frequency: [272], - __typename: [697], + frequency: [244], + __typename: [621], }, TagEnumVarianceOrderBy: { - frequency: [388], - __typename: [697], + frequency: [378], + __typename: [621], }, Thread: { chatbot: [54], - chatbotId: [273], - createdAt: [945], + chatbotId: [245], + createdAt: [901], isApproved: [0], isBlocked: [0], isPro: [0], isPublic: [0], messages: [ - 296, + 268, { - distinctOn: [319, "[MessageSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [316, "[MessageOrderBy!]"], - where: [303], + distinctOn: [291, "[MessageSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [288, "[MessageOrderBy!]"], + where: [275], }, ], messagesAggregate: [ - 297, + 269, { - distinctOn: [319, "[MessageSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [316, "[MessageOrderBy!]"], - where: [303], + distinctOn: [291, "[MessageSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [288, "[MessageOrderBy!]"], + where: [275], }, ], metadata: [ - 922, + 882, { - path: [697], + path: [621], }, ], - model: [357], - modelsEnum: [352], - parentThreadId: [948], - shortLink: [697], - slug: [697], - thread: [764], - threadId: [948], + model: [329], + modelsEnum: [324], + parentThreadId: [904], + shortLink: [621], + slug: [621], + thread: [688], + threadId: [904], threads: [ - 764, + 688, { - distinctOn: [790, "[ThreadSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [787, "[ThreadOrderBy!]"], - where: [773], + distinctOn: [714, "[ThreadSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [711, "[ThreadOrderBy!]"], + where: [697], }, ], threadsAggregate: [ - 765, + 689, { - distinctOn: [790, "[ThreadSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [787, "[ThreadOrderBy!]"], - where: [773], + distinctOn: [714, "[ThreadSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [711, "[ThreadOrderBy!]"], + where: [697], }, ], - updatedAt: [945], - user: [870], - userId: [948], - __typename: [697], + updatedAt: [901], + user: [794], + userId: [904], + __typename: [621], }, ThreadAggregate: { - aggregate: [767], - nodes: [764], - __typename: [697], + aggregate: [691], + nodes: [688], + __typename: [621], }, ThreadAggregateBoolExp: { - bool_and: [942], - bool_or: [943], - count: [944], - __typename: [697], + bool_and: [898], + bool_or: [899], + count: [900], + __typename: [621], }, ThreadAggregateFields: { - avg: [771], + avg: [695], count: [ - 273, + 245, { - columns: [790, "[ThreadSelectColumn!]"], + columns: [714, "[ThreadSelectColumn!]"], distinct: [0], }, ], - max: [780], - min: [782], - stddev: [794], - stddevPop: [796], - stddevSamp: [798], - sum: [802], - varPop: [806], - varSamp: [808], - variance: [810], - __typename: [697], + max: [704], + min: [706], + stddev: [718], + stddevPop: [720], + stddevSamp: [722], + sum: [726], + varPop: [730], + varSamp: [732], + variance: [734], + __typename: [621], }, ThreadAggregateOrderBy: { - avg: [772], - count: [388], - max: [781], - min: [783], - stddev: [795], - stddevPop: [797], - stddevSamp: [799], - sum: [803], - varPop: [807], - varSamp: [809], - variance: [811], - __typename: [697], + avg: [696], + count: [378], + max: [705], + min: [707], + stddev: [719], + stddevPop: [721], + stddevSamp: [723], + sum: [727], + varPop: [731], + varSamp: [733], + variance: [735], + __typename: [621], }, ThreadAppendInput: { - metadata: [922], - __typename: [697], + metadata: [882], + __typename: [621], }, ThreadArrRelInsertInput: { - data: [779], - onConflict: [786], - __typename: [697], + data: [703], + onConflict: [710], + __typename: [621], }, ThreadAvgFields: { - chatbotId: [272], - __typename: [697], + chatbotId: [244], + __typename: [621], }, ThreadAvgOrderBy: { - chatbotId: [388], - __typename: [697], + chatbotId: [378], + __typename: [621], }, ThreadBoolExp: { - _and: [773], - _not: [773], - _or: [773], + _and: [697], + _not: [697], + _or: [697], chatbot: [62], - chatbotId: [274], - createdAt: [812], + chatbotId: [246], + createdAt: [736], isApproved: [1], isBlocked: [1], isPro: [1], isPublic: [1], - messages: [303], - messagesAggregate: [298], - metadata: [276], - model: [358], - modelsEnum: [355], - parentThreadId: [914], - shortLink: [699], - slug: [699], - thread: [773], - threadId: [914], - threads: [773], - threadsAggregate: [766], - updatedAt: [812], - user: [873], - userId: [914], - __typename: [697], + messages: [275], + messagesAggregate: [270], + metadata: [248], + model: [330], + modelsEnum: [327], + parentThreadId: [874], + shortLink: [623], + slug: [623], + thread: [697], + threadId: [874], + threads: [697], + threadsAggregate: [690], + updatedAt: [736], + user: [797], + userId: [874], + __typename: [621], }, ThreadConstraint: {}, ThreadDeleteAtPathInput: { - metadata: [697], - __typename: [697], + metadata: [621], + __typename: [621], }, ThreadDeleteElemInput: { - metadata: [273], - __typename: [697], + metadata: [245], + __typename: [621], }, ThreadDeleteKeyInput: { - metadata: [697], - __typename: [697], + metadata: [621], + __typename: [621], }, ThreadIncInput: { - chatbotId: [273], - __typename: [697], + chatbotId: [245], + __typename: [621], }, ThreadInsertInput: { chatbot: [151], - chatbotId: [273], - createdAt: [945], + chatbotId: [245], + createdAt: [901], isApproved: [0], isBlocked: [0], isPro: [0], isPublic: [0], - messages: [302], - metadata: [922], - model: [357], - modelsEnum: [363], - parentThreadId: [948], - shortLink: [697], - slug: [697], - thread: [785], - threadId: [948], - threads: [770], - updatedAt: [945], - user: [879], - userId: [948], - __typename: [697], + messages: [274], + metadata: [882], + model: [329], + modelsEnum: [335], + parentThreadId: [904], + shortLink: [621], + slug: [621], + thread: [709], + threadId: [904], + threads: [694], + updatedAt: [901], + user: [821], + userId: [904], + __typename: [621], }, ThreadMaxFields: { - chatbotId: [273], - createdAt: [945], - parentThreadId: [948], - shortLink: [697], - slug: [697], - threadId: [948], - updatedAt: [945], - userId: [948], - __typename: [697], + chatbotId: [245], + createdAt: [901], + parentThreadId: [904], + shortLink: [621], + slug: [621], + threadId: [904], + updatedAt: [901], + userId: [904], + __typename: [621], }, ThreadMaxOrderBy: { - chatbotId: [388], - createdAt: [388], - parentThreadId: [388], - shortLink: [388], - slug: [388], - threadId: [388], - updatedAt: [388], - userId: [388], - __typename: [697], + chatbotId: [378], + createdAt: [378], + parentThreadId: [378], + shortLink: [378], + slug: [378], + threadId: [378], + updatedAt: [378], + userId: [378], + __typename: [621], }, ThreadMinFields: { - chatbotId: [273], - createdAt: [945], - parentThreadId: [948], - shortLink: [697], - slug: [697], - threadId: [948], - updatedAt: [945], - userId: [948], - __typename: [697], + chatbotId: [245], + createdAt: [901], + parentThreadId: [904], + shortLink: [621], + slug: [621], + threadId: [904], + updatedAt: [901], + userId: [904], + __typename: [621], }, ThreadMinOrderBy: { - chatbotId: [388], - createdAt: [388], - parentThreadId: [388], - shortLink: [388], - slug: [388], - threadId: [388], - updatedAt: [388], - userId: [388], - __typename: [697], + chatbotId: [378], + createdAt: [378], + parentThreadId: [378], + shortLink: [378], + slug: [378], + threadId: [378], + updatedAt: [378], + userId: [378], + __typename: [621], }, ThreadMutationResponse: { - affectedRows: [273], - returning: [764], - __typename: [697], + affectedRows: [245], + returning: [688], + __typename: [621], }, ThreadObjRelInsertInput: { - data: [779], - onConflict: [786], - __typename: [697], + data: [703], + onConflict: [710], + __typename: [621], }, ThreadOnConflict: { - constraint: [774], - updateColumns: [804], - where: [773], - __typename: [697], + constraint: [698], + updateColumns: [728], + where: [697], + __typename: [621], }, ThreadOrderBy: { chatbot: [153], - chatbotId: [388], - createdAt: [388], - isApproved: [388], - isBlocked: [388], - isPro: [388], - isPublic: [388], - messagesAggregate: [300], - metadata: [388], - model: [388], - modelsEnum: [365], - parentThreadId: [388], - shortLink: [388], - slug: [388], - thread: [787], - threadId: [388], - threadsAggregate: [768], - updatedAt: [388], - user: [881], - userId: [388], - __typename: [697], + chatbotId: [378], + createdAt: [378], + isApproved: [378], + isBlocked: [378], + isPro: [378], + isPublic: [378], + messagesAggregate: [272], + metadata: [378], + model: [378], + modelsEnum: [337], + parentThreadId: [378], + shortLink: [378], + slug: [378], + thread: [711], + threadId: [378], + threadsAggregate: [692], + updatedAt: [378], + user: [823], + userId: [378], + __typename: [621], }, ThreadPkColumnsInput: { - slug: [697], - threadId: [948], - __typename: [697], + slug: [621], + threadId: [904], + __typename: [621], }, ThreadPrependInput: { - metadata: [922], - __typename: [697], + metadata: [882], + __typename: [621], }, ThreadSelectColumn: {}, ThreadSelectColumnThreadAggregateBoolExpBool_andArgumentsColumns: {}, ThreadSelectColumnThreadAggregateBoolExpBool_orArgumentsColumns: {}, ThreadSetInput: { - chatbotId: [273], - createdAt: [945], + chatbotId: [245], + createdAt: [901], isApproved: [0], isBlocked: [0], isPro: [0], isPublic: [0], - metadata: [922], - model: [357], - parentThreadId: [948], - shortLink: [697], - slug: [697], - threadId: [948], - updatedAt: [945], - userId: [948], - __typename: [697], + metadata: [882], + model: [329], + parentThreadId: [904], + shortLink: [621], + slug: [621], + threadId: [904], + updatedAt: [901], + userId: [904], + __typename: [621], }, ThreadStddevFields: { - chatbotId: [272], - __typename: [697], + chatbotId: [244], + __typename: [621], }, ThreadStddevOrderBy: { - chatbotId: [388], - __typename: [697], + chatbotId: [378], + __typename: [621], }, ThreadStddevPopFields: { - chatbotId: [272], - __typename: [697], + chatbotId: [244], + __typename: [621], }, ThreadStddevPopOrderBy: { - chatbotId: [388], - __typename: [697], + chatbotId: [378], + __typename: [621], }, ThreadStddevSampFields: { - chatbotId: [272], - __typename: [697], + chatbotId: [244], + __typename: [621], }, ThreadStddevSampOrderBy: { - chatbotId: [388], - __typename: [697], + chatbotId: [378], + __typename: [621], }, ThreadStreamCursorInput: { - initialValue: [801], + initialValue: [725], ordering: [196], - __typename: [697], + __typename: [621], }, ThreadStreamCursorValueInput: { - chatbotId: [273], - createdAt: [945], + chatbotId: [245], + createdAt: [901], isApproved: [0], isBlocked: [0], isPro: [0], isPublic: [0], - metadata: [922], - model: [357], - parentThreadId: [948], - shortLink: [697], - slug: [697], - threadId: [948], - updatedAt: [945], - userId: [948], - __typename: [697], + metadata: [882], + model: [329], + parentThreadId: [904], + shortLink: [621], + slug: [621], + threadId: [904], + updatedAt: [901], + userId: [904], + __typename: [621], }, ThreadSumFields: { - chatbotId: [273], - __typename: [697], + chatbotId: [245], + __typename: [621], }, ThreadSumOrderBy: { - chatbotId: [388], - __typename: [697], + chatbotId: [378], + __typename: [621], }, ThreadUpdateColumn: {}, ThreadUpdates: { - _append: [769], - _deleteAtPath: [775], - _deleteElem: [776], - _deleteKey: [777], - _inc: [778], - _prepend: [789], - _set: [793], - where: [773], - __typename: [697], + _append: [693], + _deleteAtPath: [699], + _deleteElem: [700], + _deleteKey: [701], + _inc: [702], + _prepend: [713], + _set: [717], + where: [697], + __typename: [621], }, ThreadVarPopFields: { - chatbotId: [272], - __typename: [697], + chatbotId: [244], + __typename: [621], }, ThreadVarPopOrderBy: { - chatbotId: [388], - __typename: [697], + chatbotId: [378], + __typename: [621], }, ThreadVarSampFields: { - chatbotId: [272], - __typename: [697], + chatbotId: [244], + __typename: [621], }, ThreadVarSampOrderBy: { - chatbotId: [388], - __typename: [697], + chatbotId: [378], + __typename: [621], }, ThreadVarianceFields: { - chatbotId: [272], - __typename: [697], + chatbotId: [244], + __typename: [621], }, ThreadVarianceOrderBy: { - chatbotId: [388], - __typename: [697], + chatbotId: [378], + __typename: [621], }, TimestamptzComparisonExp: { - _eq: [945], - _gt: [945], - _gte: [945], - _in: [945], + _eq: [901], + _gt: [901], + _gte: [901], + _in: [901], _isNull: [0], - _lt: [945], - _lte: [945], - _neq: [945], - _nin: [945], - __typename: [697], + _lt: [901], + _lte: [901], + _neq: [901], + _nin: [901], + __typename: [621], }, Token: { - token: [697], - tokenExpiry: [945], + token: [621], + tokenExpiry: [901], userTokens: [ - 888, + 830, { - distinctOn: [905, "[UserTokenSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [903, "[UserTokenOrderBy!]"], - where: [894], + distinctOn: [847, "[UserTokenSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [845, "[UserTokenOrderBy!]"], + where: [836], }, ], userTokensAggregate: [ - 889, + 831, { - distinctOn: [905, "[UserTokenSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [903, "[UserTokenOrderBy!]"], - where: [894], + distinctOn: [847, "[UserTokenSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [845, "[UserTokenOrderBy!]"], + where: [836], }, ], - __typename: [697], + __typename: [621], }, TokenAggregate: { - aggregate: [815], - nodes: [813], - __typename: [697], + aggregate: [739], + nodes: [737], + __typename: [621], }, TokenAggregateFields: { count: [ - 273, + 245, { - columns: [826, "[TokenSelectColumn!]"], + columns: [750, "[TokenSelectColumn!]"], distinct: [0], }, ], - max: [819], - min: [820], - __typename: [697], + max: [743], + min: [744], + __typename: [621], }, TokenBoolExp: { - _and: [816], - _not: [816], - _or: [816], - token: [699], - tokenExpiry: [812], - userTokens: [894], - userTokensAggregate: [890], - __typename: [697], + _and: [740], + _not: [740], + _or: [740], + token: [623], + tokenExpiry: [736], + userTokens: [836], + userTokensAggregate: [832], + __typename: [621], }, TokenConstraint: {}, TokenInsertInput: { - token: [697], - tokenExpiry: [945], - userTokens: [893], - __typename: [697], + token: [621], + tokenExpiry: [901], + userTokens: [835], + __typename: [621], }, TokenMaxFields: { - token: [697], - tokenExpiry: [945], - __typename: [697], + token: [621], + tokenExpiry: [901], + __typename: [621], }, TokenMinFields: { - token: [697], - tokenExpiry: [945], - __typename: [697], + token: [621], + tokenExpiry: [901], + __typename: [621], }, TokenMutationResponse: { - affectedRows: [273], - returning: [813], - __typename: [697], + affectedRows: [245], + returning: [737], + __typename: [621], }, TokenObjRelInsertInput: { - data: [818], - onConflict: [823], - __typename: [697], + data: [742], + onConflict: [747], + __typename: [621], }, TokenOnConflict: { - constraint: [817], - updateColumns: [830], - where: [816], - __typename: [697], + constraint: [741], + updateColumns: [754], + where: [740], + __typename: [621], }, TokenOrderBy: { - token: [388], - tokenExpiry: [388], - userTokensAggregate: [892], - __typename: [697], + token: [378], + tokenExpiry: [378], + userTokensAggregate: [834], + __typename: [621], }, TokenPkColumnsInput: { - token: [697], - __typename: [697], + token: [621], + __typename: [621], }, TokenSelectColumn: {}, TokenSetInput: { - token: [697], - tokenExpiry: [945], - __typename: [697], + token: [621], + tokenExpiry: [901], + __typename: [621], }, TokenStreamCursorInput: { - initialValue: [829], + initialValue: [753], ordering: [196], - __typename: [697], + __typename: [621], }, TokenStreamCursorValueInput: { - token: [697], - tokenExpiry: [945], - __typename: [697], + token: [621], + tokenExpiry: [901], + __typename: [621], }, TokenUpdateColumn: {}, TokenUpdates: { - _set: [827], - where: [816], - __typename: [697], + _set: [751], + where: [740], + __typename: [621], }, ToneEnum: { chatbots: [ 54, { distinctOn: [155, "[ChatbotSelectColumn!]"], - limit: [273], - offset: [273], + limit: [245], + offset: [245], orderBy: [153, "[ChatbotOrderBy!]"], where: [62], }, @@ -5727,139 +5278,139 @@ export default { 55, { distinctOn: [155, "[ChatbotSelectColumn!]"], - limit: [273], - offset: [273], + limit: [245], + offset: [245], orderBy: [153, "[ChatbotOrderBy!]"], where: [62], }, ], preferences: [ - 455, + 379, { - distinctOn: [476, "[PreferenceSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [474, "[PreferenceOrderBy!]"], - where: [463], + distinctOn: [400, "[PreferenceSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [398, "[PreferenceOrderBy!]"], + where: [387], }, ], preferencesAggregate: [ - 456, + 380, { - distinctOn: [476, "[PreferenceSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [474, "[PreferenceOrderBy!]"], - where: [463], + distinctOn: [400, "[PreferenceSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [398, "[PreferenceOrderBy!]"], + where: [387], }, ], - prompt: [697], - value: [697], - __typename: [697], + prompt: [621], + value: [621], + __typename: [621], }, ToneEnumAggregate: { - aggregate: [834], - nodes: [832], - __typename: [697], + aggregate: [758], + nodes: [756], + __typename: [621], }, ToneEnumAggregateFields: { count: [ - 273, + 245, { - columns: [845, "[ToneEnumSelectColumn!]"], + columns: [769, "[ToneEnumSelectColumn!]"], distinct: [0], }, ], - max: [838], - min: [839], - __typename: [697], + max: [762], + min: [763], + __typename: [621], }, ToneEnumBoolExp: { - _and: [835], - _not: [835], - _or: [835], + _and: [759], + _not: [759], + _or: [759], chatbots: [62], chatbotsAggregate: [56], - preferences: [463], - preferencesAggregate: [457], - prompt: [699], - value: [699], - __typename: [697], + preferences: [387], + preferencesAggregate: [381], + prompt: [623], + value: [623], + __typename: [621], }, ToneEnumConstraint: {}, ToneEnumInsertInput: { chatbots: [59], - preferences: [460], - prompt: [697], - value: [697], - __typename: [697], + preferences: [384], + prompt: [621], + value: [621], + __typename: [621], }, ToneEnumMaxFields: { - prompt: [697], - value: [697], - __typename: [697], + prompt: [621], + value: [621], + __typename: [621], }, ToneEnumMinFields: { - prompt: [697], - value: [697], - __typename: [697], + prompt: [621], + value: [621], + __typename: [621], }, ToneEnumMutationResponse: { - affectedRows: [273], - returning: [832], - __typename: [697], + affectedRows: [245], + returning: [756], + __typename: [621], }, ToneEnumObjRelInsertInput: { - data: [837], - onConflict: [842], - __typename: [697], + data: [761], + onConflict: [766], + __typename: [621], }, ToneEnumOnConflict: { - constraint: [836], - updateColumns: [849], - where: [835], - __typename: [697], + constraint: [760], + updateColumns: [773], + where: [759], + __typename: [621], }, ToneEnumOrderBy: { chatbotsAggregate: [58], - preferencesAggregate: [459], - prompt: [388], - value: [388], - __typename: [697], + preferencesAggregate: [383], + prompt: [378], + value: [378], + __typename: [621], }, ToneEnumPkColumnsInput: { - value: [697], - __typename: [697], + value: [621], + __typename: [621], }, ToneEnumSelectColumn: {}, ToneEnumSetInput: { - prompt: [697], - value: [697], - __typename: [697], + prompt: [621], + value: [621], + __typename: [621], }, ToneEnumStreamCursorInput: { - initialValue: [848], + initialValue: [772], ordering: [196], - __typename: [697], + __typename: [621], }, ToneEnumStreamCursorValueInput: { - prompt: [697], - value: [697], - __typename: [697], + prompt: [621], + value: [621], + __typename: [621], }, ToneEnumUpdateColumn: {}, ToneEnumUpdates: { - _set: [846], - where: [835], - __typename: [697], + _set: [770], + where: [759], + __typename: [621], }, TypeEnum: { chatbots: [ 54, { distinctOn: [155, "[ChatbotSelectColumn!]"], - limit: [273], - offset: [273], + limit: [245], + offset: [245], orderBy: [153, "[ChatbotOrderBy!]"], where: [62], }, @@ -5868,918 +5419,1130 @@ export default { 55, { distinctOn: [155, "[ChatbotSelectColumn!]"], - limit: [273], - offset: [273], + limit: [245], + offset: [245], orderBy: [153, "[ChatbotOrderBy!]"], where: [62], }, ], preferences: [ - 455, + 379, { - distinctOn: [476, "[PreferenceSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [474, "[PreferenceOrderBy!]"], - where: [463], + distinctOn: [400, "[PreferenceSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [398, "[PreferenceOrderBy!]"], + where: [387], }, ], preferencesAggregate: [ - 456, + 380, { - distinctOn: [476, "[PreferenceSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [474, "[PreferenceOrderBy!]"], - where: [463], + distinctOn: [400, "[PreferenceSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [398, "[PreferenceOrderBy!]"], + where: [387], }, ], - prompt: [697], - value: [697], - __typename: [697], + prompt: [621], + value: [621], + __typename: [621], }, TypeEnumAggregate: { - aggregate: [853], - nodes: [851], - __typename: [697], + aggregate: [777], + nodes: [775], + __typename: [621], }, TypeEnumAggregateFields: { count: [ - 273, + 245, { - columns: [864, "[TypeEnumSelectColumn!]"], + columns: [788, "[TypeEnumSelectColumn!]"], distinct: [0], }, ], - max: [857], - min: [858], - __typename: [697], + max: [781], + min: [782], + __typename: [621], }, TypeEnumBoolExp: { - _and: [854], - _not: [854], - _or: [854], + _and: [778], + _not: [778], + _or: [778], chatbots: [62], chatbotsAggregate: [56], - preferences: [463], - preferencesAggregate: [457], - prompt: [699], - value: [699], - __typename: [697], + preferences: [387], + preferencesAggregate: [381], + prompt: [623], + value: [623], + __typename: [621], }, TypeEnumConstraint: {}, TypeEnumInsertInput: { chatbots: [59], - preferences: [460], - prompt: [697], - value: [697], - __typename: [697], + preferences: [384], + prompt: [621], + value: [621], + __typename: [621], }, TypeEnumMaxFields: { - prompt: [697], - value: [697], - __typename: [697], + prompt: [621], + value: [621], + __typename: [621], }, TypeEnumMinFields: { - prompt: [697], - value: [697], - __typename: [697], + prompt: [621], + value: [621], + __typename: [621], }, TypeEnumMutationResponse: { - affectedRows: [273], - returning: [851], - __typename: [697], + affectedRows: [245], + returning: [775], + __typename: [621], }, TypeEnumObjRelInsertInput: { - data: [856], - onConflict: [861], - __typename: [697], + data: [780], + onConflict: [785], + __typename: [621], }, TypeEnumOnConflict: { - constraint: [855], - updateColumns: [868], - where: [854], - __typename: [697], + constraint: [779], + updateColumns: [792], + where: [778], + __typename: [621], }, TypeEnumOrderBy: { chatbotsAggregate: [58], - preferencesAggregate: [459], - prompt: [388], - value: [388], - __typename: [697], + preferencesAggregate: [383], + prompt: [378], + value: [378], + __typename: [621], }, TypeEnumPkColumnsInput: { - value: [697], - __typename: [697], + value: [621], + __typename: [621], }, TypeEnumSelectColumn: {}, TypeEnumSetInput: { - prompt: [697], - value: [697], - __typename: [697], + prompt: [621], + value: [621], + __typename: [621], }, TypeEnumStreamCursorInput: { - initialValue: [867], + initialValue: [791], ordering: [196], - __typename: [697], + __typename: [621], }, TypeEnumStreamCursorValueInput: { - prompt: [697], - value: [697], - __typename: [697], + prompt: [621], + value: [621], + __typename: [621], }, TypeEnumUpdateColumn: {}, TypeEnumUpdates: { - _set: [865], - where: [854], - __typename: [697], + _set: [789], + where: [778], + __typename: [621], }, User: { - bio: [697], - dateJoined: [945], - deletionRequestedAt: [945], - email: [697], - favouriteTopic: [697], + bio: [621], + dateJoined: [901], + deletionRequestedAt: [901], + email: [621], + favouriteTopic: [621], followers: [ - 661, + 585, { - distinctOn: [678, "[SocialFollowingSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [677, "[SocialFollowingOrderBy!]"], - where: [669], + distinctOn: [602, "[SocialFollowingSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [601, "[SocialFollowingOrderBy!]"], + where: [593], }, ], followersAggregate: [ - 662, + 586, { - distinctOn: [678, "[SocialFollowingSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [677, "[SocialFollowingOrderBy!]"], - where: [669], + distinctOn: [602, "[SocialFollowingSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [601, "[SocialFollowingOrderBy!]"], + where: [593], }, ], following: [ - 661, + 585, { - distinctOn: [678, "[SocialFollowingSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [677, "[SocialFollowingOrderBy!]"], - where: [669], + distinctOn: [602, "[SocialFollowingSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [601, "[SocialFollowingOrderBy!]"], + where: [593], }, ], followingAggregate: [ - 662, + 586, { - distinctOn: [678, "[SocialFollowingSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [677, "[SocialFollowingOrderBy!]"], - where: [669], + distinctOn: [602, "[SocialFollowingSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [601, "[SocialFollowingOrderBy!]"], + where: [593], }, ], getFreeMonth: [0], isBlocked: [0], isVerified: [0], - lastLogin: [945], - organizations: [ - 389, - { - distinctOn: [449, "[OrganizationSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [447, "[OrganizationOrderBy!]"], - where: [395], - }, - ], - organizationsAggregate: [ - 390, - { - distinctOn: [449, "[OrganizationSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [447, "[OrganizationOrderBy!]"], - where: [395], - }, - ], - password: [697], - preference: [455], + lastLogin: [901], + password: [621], + preference: [379], preferences: [ - 455, + 379, { - distinctOn: [476, "[PreferenceSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [474, "[PreferenceOrderBy!]"], - where: [463], + distinctOn: [400, "[PreferenceSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [398, "[PreferenceOrderBy!]"], + where: [387], }, ], preferencesAggregate: [ - 456, + 380, { - distinctOn: [476, "[PreferenceSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [474, "[PreferenceOrderBy!]"], - where: [463], + distinctOn: [400, "[PreferenceSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [398, "[PreferenceOrderBy!]"], + where: [387], }, ], - proUserSubscriptionId: [697], - profilePicture: [697], - promoCode: [697], + proUserSubscriptionId: [621], + profilePicture: [621], + promoCode: [621], prompts: [ - 592, + 516, { - distinctOn: [612, "[PromptUserSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [610, "[PromptUserOrderBy!]"], - where: [600], + distinctOn: [536, "[PromptUserSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [534, "[PromptUserOrderBy!]"], + where: [524], }, ], promptsAggregate: [ - 593, + 517, { - distinctOn: [612, "[PromptUserSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [610, "[PromptUserOrderBy!]"], - where: [600], + distinctOn: [536, "[PromptUserSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [534, "[PromptUserOrderBy!]"], + where: [524], }, ], referrals: [ - 638, + 562, { - distinctOn: [655, "[ReferralSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [653, "[ReferralOrderBy!]"], - where: [644], + distinctOn: [579, "[ReferralSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [577, "[ReferralOrderBy!]"], + where: [568], }, ], referralsAggregate: [ - 639, + 563, { - distinctOn: [655, "[ReferralSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [653, "[ReferralOrderBy!]"], - where: [644], + distinctOn: [579, "[ReferralSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [577, "[ReferralOrderBy!]"], + where: [568], }, ], referralsByUserId: [ - 638, + 562, { - distinctOn: [655, "[ReferralSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [653, "[ReferralOrderBy!]"], - where: [644], + distinctOn: [579, "[ReferralSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [577, "[ReferralOrderBy!]"], + where: [568], }, ], referralsByUserIdAggregate: [ - 639, + 563, { - distinctOn: [655, "[ReferralSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [653, "[ReferralOrderBy!]"], - where: [644], + distinctOn: [579, "[ReferralSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [577, "[ReferralOrderBy!]"], + where: [568], }, ], - role: [947], - slug: [697], + role: [903], + slug: [621], threads: [ - 764, + 688, { - distinctOn: [790, "[ThreadSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [787, "[ThreadOrderBy!]"], - where: [773], + distinctOn: [714, "[ThreadSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [711, "[ThreadOrderBy!]"], + where: [697], }, ], threadsAggregate: [ - 765, + 689, { - distinctOn: [790, "[ThreadSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [787, "[ThreadOrderBy!]"], - where: [773], + distinctOn: [714, "[ThreadSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [711, "[ThreadOrderBy!]"], + where: [697], }, ], - userId: [948], + userId: [904], userTokens: [ - 888, + 830, { - distinctOn: [905, "[UserTokenSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [903, "[UserTokenOrderBy!]"], - where: [894], + distinctOn: [847, "[UserTokenSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [845, "[UserTokenOrderBy!]"], + where: [836], }, ], userTokensAggregate: [ - 889, + 831, { - distinctOn: [905, "[UserTokenSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [903, "[UserTokenOrderBy!]"], - where: [894], + distinctOn: [847, "[UserTokenSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [845, "[UserTokenOrderBy!]"], + where: [836], }, ], - username: [697], - __typename: [697], + username: [621], + __typename: [621], }, UserAggregate: { - aggregate: [872], - nodes: [870], - __typename: [697], + aggregate: [796], + nodes: [794], + __typename: [621], }, UserAggregateFields: { count: [ - 273, + 245, { - columns: [884, "[UserSelectColumn!]"], + columns: [826, "[UserSelectColumn!]"], distinct: [0], }, ], - max: [876], - min: [877], - __typename: [697], + max: [800], + min: [801], + __typename: [621], }, UserBoolExp: { - _and: [873], - _not: [873], - _or: [873], - bio: [699], - dateJoined: [812], - deletionRequestedAt: [812], - email: [699], - favouriteTopic: [699], - followers: [669], - followersAggregate: [663], - following: [669], - followingAggregate: [663], + _and: [797], + _not: [797], + _or: [797], + bio: [623], + dateJoined: [736], + deletionRequestedAt: [736], + email: [623], + favouriteTopic: [623], + followers: [593], + followersAggregate: [587], + following: [593], + followingAggregate: [587], getFreeMonth: [1], isBlocked: [1], isVerified: [1], - lastLogin: [812], - organizations: [395], - organizationsAggregate: [391], - password: [699], - preference: [463], - preferences: [463], - preferencesAggregate: [457], - proUserSubscriptionId: [699], - profilePicture: [699], - promoCode: [699], - prompts: [600], - promptsAggregate: [594], - referrals: [644], - referralsAggregate: [640], - referralsByUserId: [644], - referralsByUserIdAggregate: [640], - role: [883], - slug: [699], - threads: [773], - threadsAggregate: [766], - userId: [914], - userTokens: [894], - userTokensAggregate: [890], - username: [699], - __typename: [697], + lastLogin: [736], + password: [623], + preference: [387], + preferences: [387], + preferencesAggregate: [381], + proUserSubscriptionId: [623], + profilePicture: [623], + promoCode: [623], + prompts: [524], + promptsAggregate: [518], + referrals: [568], + referralsAggregate: [564], + referralsByUserId: [568], + referralsByUserIdAggregate: [564], + role: [825], + slug: [623], + threads: [697], + threadsAggregate: [690], + userId: [874], + userTokens: [836], + userTokensAggregate: [832], + username: [623], + __typename: [621], }, UserConstraint: {}, UserInsertInput: { - bio: [697], - dateJoined: [945], - deletionRequestedAt: [945], - email: [697], - favouriteTopic: [697], - followers: [666], - following: [666], + bio: [621], + dateJoined: [901], + deletionRequestedAt: [901], + email: [621], + favouriteTopic: [621], + followers: [590], + following: [590], getFreeMonth: [0], isBlocked: [0], isVerified: [0], - lastLogin: [945], - organizations: [394], - password: [697], - preference: [472], - preferences: [460], - proUserSubscriptionId: [697], - profilePicture: [697], - promoCode: [697], - prompts: [597], - referrals: [643], - referralsByUserId: [643], - role: [947], - slug: [697], - threads: [770], - userId: [948], - userTokens: [893], - username: [697], - __typename: [697], + lastLogin: [901], + password: [621], + preference: [396], + preferences: [384], + proUserSubscriptionId: [621], + profilePicture: [621], + promoCode: [621], + prompts: [521], + referrals: [567], + referralsByUserId: [567], + role: [903], + slug: [621], + threads: [694], + userId: [904], + userTokens: [835], + username: [621], + __typename: [621], }, UserMaxFields: { - bio: [697], - dateJoined: [945], - deletionRequestedAt: [945], - email: [697], - favouriteTopic: [697], - lastLogin: [945], - password: [697], - proUserSubscriptionId: [697], - profilePicture: [697], - promoCode: [697], - role: [947], - slug: [697], - userId: [948], - username: [697], - __typename: [697], + bio: [621], + dateJoined: [901], + deletionRequestedAt: [901], + email: [621], + favouriteTopic: [621], + lastLogin: [901], + password: [621], + proUserSubscriptionId: [621], + profilePicture: [621], + promoCode: [621], + role: [903], + slug: [621], + userId: [904], + username: [621], + __typename: [621], }, UserMinFields: { - bio: [697], - dateJoined: [945], - deletionRequestedAt: [945], - email: [697], - favouriteTopic: [697], - lastLogin: [945], - password: [697], - proUserSubscriptionId: [697], - profilePicture: [697], - promoCode: [697], - role: [947], - slug: [697], - userId: [948], - username: [697], - __typename: [697], + bio: [621], + dateJoined: [901], + deletionRequestedAt: [901], + email: [621], + favouriteTopic: [621], + lastLogin: [901], + password: [621], + proUserSubscriptionId: [621], + profilePicture: [621], + promoCode: [621], + role: [903], + slug: [621], + userId: [904], + username: [621], + __typename: [621], }, UserMutationResponse: { - affectedRows: [273], - returning: [870], - __typename: [697], + affectedRows: [245], + returning: [794], + __typename: [621], + }, + UserOauthConnections: { + connectedAt: [901], + id: [904], + provider: [621], + revokedAt: [901], + scopes: [621], + service: [621], + status: [621], + userId: [904], + __typename: [621], + }, + UserOauthConnectionsAggregate: { + aggregate: [805], + nodes: [803], + __typename: [621], + }, + UserOauthConnectionsAggregateFields: { + count: [ + 245, + { + columns: [815, "[UserOauthConnectionsSelectColumn!]"], + distinct: [0], + }, + ], + max: [809], + min: [810], + __typename: [621], + }, + UserOauthConnectionsBoolExp: { + _and: [806], + _not: [806], + _or: [806], + connectedAt: [736], + id: [874], + provider: [623], + revokedAt: [736], + scopes: [623], + service: [623], + status: [623], + userId: [874], + __typename: [621], + }, + UserOauthConnectionsConstraint: {}, + UserOauthConnectionsInsertInput: { + connectedAt: [901], + id: [904], + provider: [621], + revokedAt: [901], + scopes: [621], + service: [621], + status: [621], + userId: [904], + __typename: [621], + }, + UserOauthConnectionsMaxFields: { + connectedAt: [901], + id: [904], + provider: [621], + revokedAt: [901], + scopes: [621], + service: [621], + status: [621], + userId: [904], + __typename: [621], + }, + UserOauthConnectionsMinFields: { + connectedAt: [901], + id: [904], + provider: [621], + revokedAt: [901], + scopes: [621], + service: [621], + status: [621], + userId: [904], + __typename: [621], + }, + UserOauthConnectionsMutationResponse: { + affectedRows: [245], + returning: [803], + __typename: [621], + }, + UserOauthConnectionsOnConflict: { + constraint: [807], + updateColumns: [819], + where: [806], + __typename: [621], + }, + UserOauthConnectionsOrderBy: { + connectedAt: [378], + id: [378], + provider: [378], + revokedAt: [378], + scopes: [378], + service: [378], + status: [378], + userId: [378], + __typename: [621], + }, + UserOauthConnectionsPkColumnsInput: { + id: [904], + __typename: [621], + }, + UserOauthConnectionsSelectColumn: {}, + UserOauthConnectionsSetInput: { + connectedAt: [901], + id: [904], + provider: [621], + revokedAt: [901], + scopes: [621], + service: [621], + status: [621], + userId: [904], + __typename: [621], + }, + UserOauthConnectionsStreamCursorInput: { + initialValue: [818], + ordering: [196], + __typename: [621], + }, + UserOauthConnectionsStreamCursorValueInput: { + connectedAt: [901], + id: [904], + provider: [621], + revokedAt: [901], + scopes: [621], + service: [621], + status: [621], + userId: [904], + __typename: [621], + }, + UserOauthConnectionsUpdateColumn: {}, + UserOauthConnectionsUpdates: { + _set: [816], + where: [806], + __typename: [621], }, UserObjRelInsertInput: { - data: [875], - onConflict: [880], - __typename: [697], + data: [799], + onConflict: [822], + __typename: [621], }, UserOnConflict: { - constraint: [874], - updateColumns: [911], - where: [873], - __typename: [697], + constraint: [798], + updateColumns: [853], + where: [797], + __typename: [621], }, UserOrderBy: { - bio: [388], - dateJoined: [388], - deletionRequestedAt: [388], - email: [388], - favouriteTopic: [388], - followersAggregate: [665], - followingAggregate: [665], - getFreeMonth: [388], - isBlocked: [388], - isVerified: [388], - lastLogin: [388], - organizationsAggregate: [393], - password: [388], - preference: [474], - preferencesAggregate: [459], - proUserSubscriptionId: [388], - profilePicture: [388], - promoCode: [388], - promptsAggregate: [596], - referralsAggregate: [642], - referralsByUserIdAggregate: [642], - role: [388], - slug: [388], - threadsAggregate: [768], - userId: [388], - userTokensAggregate: [892], - username: [388], - __typename: [697], + bio: [378], + dateJoined: [378], + deletionRequestedAt: [378], + email: [378], + favouriteTopic: [378], + followersAggregate: [589], + followingAggregate: [589], + getFreeMonth: [378], + isBlocked: [378], + isVerified: [378], + lastLogin: [378], + password: [378], + preference: [398], + preferencesAggregate: [383], + proUserSubscriptionId: [378], + profilePicture: [378], + promoCode: [378], + promptsAggregate: [520], + referralsAggregate: [566], + referralsByUserIdAggregate: [566], + role: [378], + slug: [378], + threadsAggregate: [692], + userId: [378], + userTokensAggregate: [834], + username: [378], + __typename: [621], }, UserPkColumnsInput: { - userId: [948], - __typename: [697], + userId: [904], + __typename: [621], }, UserRoleComparisonExp: { - _eq: [947], - _gt: [947], - _gte: [947], - _in: [947], + _eq: [903], + _gt: [903], + _gte: [903], + _in: [903], _isNull: [0], - _lt: [947], - _lte: [947], - _neq: [947], - _nin: [947], - __typename: [697], + _lt: [903], + _lte: [903], + _neq: [903], + _nin: [903], + __typename: [621], }, UserSelectColumn: {}, UserSetInput: { - bio: [697], - dateJoined: [945], - deletionRequestedAt: [945], - email: [697], - favouriteTopic: [697], + bio: [621], + dateJoined: [901], + deletionRequestedAt: [901], + email: [621], + favouriteTopic: [621], getFreeMonth: [0], isBlocked: [0], isVerified: [0], - lastLogin: [945], - password: [697], - proUserSubscriptionId: [697], - profilePicture: [697], - promoCode: [697], - role: [947], - slug: [697], - userId: [948], - username: [697], - __typename: [697], + lastLogin: [901], + password: [621], + proUserSubscriptionId: [621], + profilePicture: [621], + promoCode: [621], + role: [903], + slug: [621], + userId: [904], + username: [621], + __typename: [621], }, UserStreamCursorInput: { - initialValue: [887], + initialValue: [829], ordering: [196], - __typename: [697], + __typename: [621], }, UserStreamCursorValueInput: { - bio: [697], - dateJoined: [945], - deletionRequestedAt: [945], - email: [697], - favouriteTopic: [697], + bio: [621], + dateJoined: [901], + deletionRequestedAt: [901], + email: [621], + favouriteTopic: [621], getFreeMonth: [0], isBlocked: [0], isVerified: [0], - lastLogin: [945], - password: [697], - proUserSubscriptionId: [697], - profilePicture: [697], - promoCode: [697], - role: [947], - slug: [697], - userId: [948], - username: [697], - __typename: [697], + lastLogin: [901], + password: [621], + proUserSubscriptionId: [621], + profilePicture: [621], + promoCode: [621], + role: [903], + slug: [621], + userId: [904], + username: [621], + __typename: [621], }, UserToken: { - token: [697], - tokenByToken: [813], - user: [870], - userId: [948], - __typename: [697], + token: [621], + tokenByToken: [737], + user: [794], + userId: [904], + __typename: [621], }, UserTokenAggregate: { - aggregate: [891], - nodes: [888], - __typename: [697], + aggregate: [833], + nodes: [830], + __typename: [621], }, UserTokenAggregateBoolExp: { - count: [946], - __typename: [697], + count: [902], + __typename: [621], }, UserTokenAggregateFields: { count: [ - 273, + 245, { - columns: [905, "[UserTokenSelectColumn!]"], + columns: [847, "[UserTokenSelectColumn!]"], distinct: [0], }, ], - max: [897], - min: [899], - __typename: [697], + max: [839], + min: [841], + __typename: [621], }, UserTokenAggregateOrderBy: { - count: [388], - max: [898], - min: [900], - __typename: [697], + count: [378], + max: [840], + min: [842], + __typename: [621], }, UserTokenArrRelInsertInput: { - data: [896], - onConflict: [902], - __typename: [697], + data: [838], + onConflict: [844], + __typename: [621], }, UserTokenBoolExp: { - _and: [894], - _not: [894], - _or: [894], - token: [699], - tokenByToken: [816], - user: [873], - userId: [914], - __typename: [697], + _and: [836], + _not: [836], + _or: [836], + token: [623], + tokenByToken: [740], + user: [797], + userId: [874], + __typename: [621], }, UserTokenConstraint: {}, UserTokenInsertInput: { - token: [697], - tokenByToken: [822], - user: [879], - userId: [948], - __typename: [697], + token: [621], + tokenByToken: [746], + user: [821], + userId: [904], + __typename: [621], }, UserTokenMaxFields: { - token: [697], - userId: [948], - __typename: [697], + token: [621], + userId: [904], + __typename: [621], }, UserTokenMaxOrderBy: { - token: [388], - userId: [388], - __typename: [697], + token: [378], + userId: [378], + __typename: [621], }, UserTokenMinFields: { - token: [697], - userId: [948], - __typename: [697], + token: [621], + userId: [904], + __typename: [621], }, UserTokenMinOrderBy: { - token: [388], - userId: [388], - __typename: [697], + token: [378], + userId: [378], + __typename: [621], }, UserTokenMutationResponse: { - affectedRows: [273], - returning: [888], - __typename: [697], + affectedRows: [245], + returning: [830], + __typename: [621], }, UserTokenOnConflict: { - constraint: [895], - updateColumns: [909], - where: [894], - __typename: [697], + constraint: [837], + updateColumns: [851], + where: [836], + __typename: [621], }, UserTokenOrderBy: { - token: [388], - tokenByToken: [824], - user: [881], - userId: [388], - __typename: [697], + token: [378], + tokenByToken: [748], + user: [823], + userId: [378], + __typename: [621], }, UserTokenPkColumnsInput: { - token: [697], - userId: [948], - __typename: [697], + token: [621], + userId: [904], + __typename: [621], }, UserTokenSelectColumn: {}, UserTokenSetInput: { - token: [697], - userId: [948], - __typename: [697], + token: [621], + userId: [904], + __typename: [621], }, UserTokenStreamCursorInput: { - initialValue: [908], + initialValue: [850], ordering: [196], - __typename: [697], + __typename: [621], }, UserTokenStreamCursorValueInput: { - token: [697], - userId: [948], - __typename: [697], + token: [621], + userId: [904], + __typename: [621], }, UserTokenUpdateColumn: {}, UserTokenUpdates: { - _set: [906], - where: [894], - __typename: [697], + _set: [848], + where: [836], + __typename: [621], }, UserUpdateColumn: {}, UserUpdates: { - _set: [885], - where: [873], - __typename: [697], + _set: [827], + where: [797], + __typename: [621], + }, + UserWorkflows: { + createdAt: [901], + folderPath: [621], + id: [904], + service: [621], + userId: [904], + workflowId: [621], + workflowName: [621], + __typename: [621], + }, + UserWorkflowsAggregate: { + aggregate: [857], + nodes: [855], + __typename: [621], + }, + UserWorkflowsAggregateFields: { + count: [ + 245, + { + columns: [867, "[UserWorkflowsSelectColumn!]"], + distinct: [0], + }, + ], + max: [861], + min: [862], + __typename: [621], + }, + UserWorkflowsBoolExp: { + _and: [858], + _not: [858], + _or: [858], + createdAt: [736], + folderPath: [623], + id: [874], + service: [623], + userId: [874], + workflowId: [623], + workflowName: [623], + __typename: [621], + }, + UserWorkflowsConstraint: {}, + UserWorkflowsInsertInput: { + createdAt: [901], + folderPath: [621], + id: [904], + service: [621], + userId: [904], + workflowId: [621], + workflowName: [621], + __typename: [621], + }, + UserWorkflowsMaxFields: { + createdAt: [901], + folderPath: [621], + id: [904], + service: [621], + userId: [904], + workflowId: [621], + workflowName: [621], + __typename: [621], + }, + UserWorkflowsMinFields: { + createdAt: [901], + folderPath: [621], + id: [904], + service: [621], + userId: [904], + workflowId: [621], + workflowName: [621], + __typename: [621], + }, + UserWorkflowsMutationResponse: { + affectedRows: [245], + returning: [855], + __typename: [621], + }, + UserWorkflowsOnConflict: { + constraint: [859], + updateColumns: [871], + where: [858], + __typename: [621], + }, + UserWorkflowsOrderBy: { + createdAt: [378], + folderPath: [378], + id: [378], + service: [378], + userId: [378], + workflowId: [378], + workflowName: [378], + __typename: [621], + }, + UserWorkflowsPkColumnsInput: { + id: [904], + __typename: [621], + }, + UserWorkflowsSelectColumn: {}, + UserWorkflowsSetInput: { + createdAt: [901], + folderPath: [621], + id: [904], + service: [621], + userId: [904], + workflowId: [621], + workflowName: [621], + __typename: [621], + }, + UserWorkflowsStreamCursorInput: { + initialValue: [870], + ordering: [196], + __typename: [621], + }, + UserWorkflowsStreamCursorValueInput: { + createdAt: [901], + folderPath: [621], + id: [904], + service: [621], + userId: [904], + workflowId: [621], + workflowName: [621], + __typename: [621], + }, + UserWorkflowsUpdateColumn: {}, + UserWorkflowsUpdates: { + _set: [868], + where: [858], + __typename: [621], }, UuidArrayComparisonExp: { - _containedIn: [948], - _contains: [948], - _eq: [948], - _gt: [948], - _gte: [948], - _in: [948], + _containedIn: [904], + _contains: [904], + _eq: [904], + _gt: [904], + _gte: [904], + _in: [904], _isNull: [0], - _lt: [948], - _lte: [948], - _neq: [948], - _nin: [948], - __typename: [697], + _lt: [904], + _lte: [904], + _neq: [904], + _nin: [904], + __typename: [621], }, UuidComparisonExp: { - _eq: [948], - _gt: [948], - _gte: [948], - _in: [948], + _eq: [904], + _gt: [904], + _gte: [904], + _in: [904], _isNull: [0], - _lt: [948], - _lte: [948], - _neq: [948], - _nin: [948], - __typename: [697], + _lt: [904], + _lte: [904], + _neq: [904], + _nin: [904], + __typename: [621], }, categoryEnumAggregateBoolExpCount: { arguments: [26], distinct: [0], filter: [14], - predicate: [274], - __typename: [697], + predicate: [246], + __typename: [621], }, chatbotAggregateBoolExpBool_and: { arguments: [156], distinct: [0], filter: [62], predicate: [1], - __typename: [697], + __typename: [621], }, chatbotAggregateBoolExpBool_or: { arguments: [157], distinct: [0], filter: [62], predicate: [1], - __typename: [697], + __typename: [621], }, chatbotAggregateBoolExpCount: { arguments: [155], distinct: [0], filter: [62], - predicate: [274], - __typename: [697], + predicate: [246], + __typename: [621], }, chatbotCategoryAggregateBoolExpCount: { arguments: [83], distinct: [0], filter: [71], - predicate: [274], - __typename: [697], + predicate: [246], + __typename: [621], }, chatbotDomainAggregateBoolExpCount: { arguments: [124], distinct: [0], filter: [112], - predicate: [274], - __typename: [697], + predicate: [246], + __typename: [621], }, exampleAggregateBoolExpCount: { - arguments: [266], + arguments: [238], distinct: [0], - filter: [251], - predicate: [274], - __typename: [697], + filter: [223], + predicate: [246], + __typename: [621], }, jsonb: {}, messageAggregateBoolExpBool_and: { - arguments: [320], + arguments: [292], distinct: [0], - filter: [303], + filter: [275], predicate: [1], - __typename: [697], + __typename: [621], }, messageAggregateBoolExpBool_or: { - arguments: [321], + arguments: [293], distinct: [0], - filter: [303], + filter: [275], predicate: [1], - __typename: [697], + __typename: [621], }, messageAggregateBoolExpCount: { - arguments: [319], + arguments: [291], distinct: [0], - filter: [303], - predicate: [274], - __typename: [697], + filter: [275], + predicate: [246], + __typename: [621], }, model_type: {}, numeric: {}, - organizationAggregateBoolExpCount: { - arguments: [449], - distinct: [0], - filter: [395], - predicate: [274], - __typename: [697], - }, - organizationChatbotAggregateBoolExpBool_and: { - arguments: [417], - distinct: [0], - filter: [404], - predicate: [1], - __typename: [697], - }, - organizationChatbotAggregateBoolExpBool_or: { - arguments: [418], - distinct: [0], - filter: [404], - predicate: [1], - __typename: [697], - }, - organizationChatbotAggregateBoolExpCount: { - arguments: [416], - distinct: [0], - filter: [404], - predicate: [274], - __typename: [697], - }, preferenceAggregateBoolExpBool_and: { - arguments: [477], + arguments: [401], distinct: [0], - filter: [463], + filter: [387], predicate: [1], - __typename: [697], + __typename: [621], }, preferenceAggregateBoolExpBool_or: { - arguments: [478], + arguments: [402], distinct: [0], - filter: [463], + filter: [387], predicate: [1], - __typename: [697], + __typename: [621], }, preferenceAggregateBoolExpCount: { - arguments: [476], + arguments: [400], distinct: [0], - filter: [463], - predicate: [274], - __typename: [697], + filter: [387], + predicate: [246], + __typename: [621], }, promptAggregateBoolExpCount: { - arguments: [559], + arguments: [483], distinct: [0], - filter: [506], - predicate: [274], - __typename: [697], + filter: [430], + predicate: [246], + __typename: [621], }, promptChatbotAggregateBoolExpCount: { - arguments: [527], + arguments: [451], distinct: [0], - filter: [515], - predicate: [274], - __typename: [697], + filter: [439], + predicate: [246], + __typename: [621], }, promptUserAggregateBoolExpCount: { - arguments: [612], + arguments: [536], distinct: [0], - filter: [600], - predicate: [274], - __typename: [697], + filter: [524], + predicate: [246], + __typename: [621], }, referralAggregateBoolExpCount: { - arguments: [655], + arguments: [579], distinct: [0], - filter: [644], - predicate: [274], - __typename: [697], + filter: [568], + predicate: [246], + __typename: [621], }, socialFollowingAggregateBoolExpCount: { - arguments: [678], + arguments: [602], distinct: [0], - filter: [669], - predicate: [274], - __typename: [697], + filter: [593], + predicate: [246], + __typename: [621], }, subcategoryEnumAggregateBoolExpCount: { - arguments: [718], + arguments: [642], distinct: [0], - filter: [706], - predicate: [274], - __typename: [697], + filter: [630], + predicate: [246], + __typename: [621], }, tagEnumAggregateBoolExpCount: { - arguments: [744], + arguments: [668], distinct: [0], - filter: [732], - predicate: [274], - __typename: [697], + filter: [656], + predicate: [246], + __typename: [621], }, threadAggregateBoolExpBool_and: { - arguments: [791], + arguments: [715], distinct: [0], - filter: [773], + filter: [697], predicate: [1], - __typename: [697], + __typename: [621], }, threadAggregateBoolExpBool_or: { - arguments: [792], + arguments: [716], distinct: [0], - filter: [773], + filter: [697], predicate: [1], - __typename: [697], + __typename: [621], }, threadAggregateBoolExpCount: { - arguments: [790], + arguments: [714], distinct: [0], - filter: [773], - predicate: [274], - __typename: [697], + filter: [697], + predicate: [246], + __typename: [621], }, timestamptz: {}, userTokenAggregateBoolExpCount: { - arguments: [905], + arguments: [847], distinct: [0], - filter: [894], - predicate: [274], - __typename: [697], + filter: [836], + predicate: [246], + __typename: [621], }, user_role: {}, uuid: {}, @@ -6788,8 +6551,8 @@ export default { 2, { distinctOn: [41, "[CategorySelectColumn!]"], - limit: [273], - offset: [273], + limit: [245], + offset: [245], orderBy: [39, "[CategoryOrderBy!]"], where: [6], }, @@ -6798,8 +6561,8 @@ export default { 3, { distinctOn: [41, "[CategorySelectColumn!]"], - limit: [273], - offset: [273], + limit: [245], + offset: [245], orderBy: [39, "[CategoryOrderBy!]"], where: [6], }, @@ -6807,15 +6570,15 @@ export default { categoryByPk: [ 2, { - categoryId: [273, "Int!"], + categoryId: [245, "Int!"], }, ], categoryEnum: [ 8, { distinctOn: [26, "[CategoryEnumSelectColumn!]"], - limit: [273], - offset: [273], + limit: [245], + offset: [245], orderBy: [24, "[CategoryEnumOrderBy!]"], where: [14], }, @@ -6824,8 +6587,8 @@ export default { 9, { distinctOn: [26, "[CategoryEnumSelectColumn!]"], - limit: [273], - offset: [273], + limit: [245], + offset: [245], orderBy: [24, "[CategoryEnumOrderBy!]"], where: [14], }, @@ -6833,16 +6596,16 @@ export default { categoryEnumByPk: [ 8, { - domain: [697, "String!"], - name: [697, "String!"], + domain: [621, "String!"], + name: [621, "String!"], }, ], chatbot: [ 54, { distinctOn: [155, "[ChatbotSelectColumn!]"], - limit: [273], - offset: [273], + limit: [245], + offset: [245], orderBy: [153, "[ChatbotOrderBy!]"], where: [62], }, @@ -6851,8 +6614,8 @@ export default { 55, { distinctOn: [155, "[ChatbotSelectColumn!]"], - limit: [273], - offset: [273], + limit: [245], + offset: [245], orderBy: [153, "[ChatbotOrderBy!]"], where: [62], }, @@ -6860,15 +6623,15 @@ export default { chatbotByPk: [ 54, { - chatbotId: [273, "Int!"], + chatbotId: [245, "Int!"], }, ], chatbotCategory: [ 63, { distinctOn: [83, "[ChatbotCategorySelectColumn!]"], - limit: [273], - offset: [273], + limit: [245], + offset: [245], orderBy: [81, "[ChatbotCategoryOrderBy!]"], where: [71], }, @@ -6877,8 +6640,8 @@ export default { 64, { distinctOn: [83, "[ChatbotCategorySelectColumn!]"], - limit: [273], - offset: [273], + limit: [245], + offset: [245], orderBy: [81, "[ChatbotCategoryOrderBy!]"], where: [71], }, @@ -6886,16 +6649,16 @@ export default { chatbotCategoryByPk: [ 63, { - categoryId: [273, "Int!"], - chatbotId: [273, "Int!"], + categoryId: [245, "Int!"], + chatbotId: [245, "Int!"], }, ], chatbotDomain: [ 104, { distinctOn: [124, "[ChatbotDomainSelectColumn!]"], - limit: [273], - offset: [273], + limit: [245], + offset: [245], orderBy: [122, "[ChatbotDomainOrderBy!]"], where: [112], }, @@ -6904,8 +6667,8 @@ export default { 105, { distinctOn: [124, "[ChatbotDomainSelectColumn!]"], - limit: [273], - offset: [273], + limit: [245], + offset: [245], orderBy: [122, "[ChatbotDomainOrderBy!]"], where: [112], }, @@ -6913,16 +6676,16 @@ export default { chatbotDomainByPk: [ 104, { - chatbotId: [273, "Int!"], - domainName: [697, "String!"], + chatbotId: [245, "Int!"], + domainName: [621, "String!"], }, ], complexityEnum: [ 177, { distinctOn: [190, "[ComplexityEnumSelectColumn!]"], - limit: [273], - offset: [273], + limit: [245], + offset: [245], orderBy: [188, "[ComplexityEnumOrderBy!]"], where: [180], }, @@ -6931,8 +6694,8 @@ export default { 178, { distinctOn: [190, "[ComplexityEnumSelectColumn!]"], - limit: [273], - offset: [273], + limit: [245], + offset: [245], orderBy: [188, "[ComplexityEnumOrderBy!]"], where: [180], }, @@ -6940,662 +6703,661 @@ export default { complexityEnumByPk: [ 177, { - value: [697, "String!"], - }, - ], - department: [ - 197, - { - distinctOn: [212, "[DepartmentSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [210, "[DepartmentOrderBy!]"], - where: [201], - }, - ], - departmentAggregate: [ - 198, - { - distinctOn: [212, "[DepartmentSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [210, "[DepartmentOrderBy!]"], - where: [201], - }, - ], - departmentByPk: [ - 197, - { - departmentId: [273, "Int!"], + value: [621, "String!"], }, ], domainEnum: [ - 225, + 197, { - distinctOn: [238, "[DomainEnumSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [236, "[DomainEnumOrderBy!]"], - where: [228], + distinctOn: [210, "[DomainEnumSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [208, "[DomainEnumOrderBy!]"], + where: [200], }, ], domainEnumAggregate: [ - 226, + 198, { - distinctOn: [238, "[DomainEnumSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [236, "[DomainEnumOrderBy!]"], - where: [228], + distinctOn: [210, "[DomainEnumSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [208, "[DomainEnumOrderBy!]"], + where: [200], }, ], domainEnumByPk: [ - 225, + 197, { - name: [697, "String!"], + name: [621, "String!"], }, ], example: [ - 244, + 216, { - distinctOn: [266, "[ExampleSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [263, "[ExampleOrderBy!]"], - where: [251], + distinctOn: [238, "[ExampleSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [235, "[ExampleOrderBy!]"], + where: [223], }, ], exampleAggregate: [ - 245, + 217, { - distinctOn: [266, "[ExampleSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [263, "[ExampleOrderBy!]"], - where: [251], + distinctOn: [238, "[ExampleSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [235, "[ExampleOrderBy!]"], + where: [223], }, ], exampleByPk: [ - 244, + 216, { - exampleId: [948, "uuid!"], + exampleId: [904, "uuid!"], }, ], lengthEnum: [ - 277, + 249, { - distinctOn: [290, "[LengthEnumSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [288, "[LengthEnumOrderBy!]"], - where: [280], + distinctOn: [262, "[LengthEnumSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [260, "[LengthEnumOrderBy!]"], + where: [252], }, ], lengthEnumAggregate: [ - 278, + 250, { - distinctOn: [290, "[LengthEnumSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [288, "[LengthEnumOrderBy!]"], - where: [280], + distinctOn: [262, "[LengthEnumSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [260, "[LengthEnumOrderBy!]"], + where: [252], }, ], lengthEnumByPk: [ - 277, + 249, { - value: [697, "String!"], + value: [621, "String!"], }, ], message: [ - 296, + 268, { - distinctOn: [319, "[MessageSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [316, "[MessageOrderBy!]"], - where: [303], + distinctOn: [291, "[MessageSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [288, "[MessageOrderBy!]"], + where: [275], }, ], messageAggregate: [ - 297, + 269, { - distinctOn: [319, "[MessageSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [316, "[MessageOrderBy!]"], - where: [303], + distinctOn: [291, "[MessageSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [288, "[MessageOrderBy!]"], + where: [275], }, ], messageByPk: [ - 296, + 268, { - messageId: [948, "uuid!"], - slug: [697, "String!"], + messageId: [904, "uuid!"], + slug: [621, "String!"], }, ], messageTypeEnum: [ - 325, + 297, { - distinctOn: [338, "[MessageTypeEnumSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [336, "[MessageTypeEnumOrderBy!]"], - where: [328], + distinctOn: [310, "[MessageTypeEnumSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [308, "[MessageTypeEnumOrderBy!]"], + where: [300], }, ], messageTypeEnumAggregate: [ - 326, + 298, { - distinctOn: [338, "[MessageTypeEnumSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [336, "[MessageTypeEnumOrderBy!]"], - where: [328], + distinctOn: [310, "[MessageTypeEnumSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [308, "[MessageTypeEnumOrderBy!]"], + where: [300], }, ], messageTypeEnumByPk: [ - 325, + 297, { - value: [697, "String!"], + value: [621, "String!"], }, ], models: [ - 347, + 319, { - distinctOn: [381, "[ModelsSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [379, "[ModelsOrderBy!]"], - where: [350], + distinctOn: [353, "[ModelsSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [351, "[ModelsOrderBy!]"], + where: [322], }, ], modelsAggregate: [ - 348, + 320, { - distinctOn: [381, "[ModelsSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [379, "[ModelsOrderBy!]"], - where: [350], + distinctOn: [353, "[ModelsSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [351, "[ModelsOrderBy!]"], + where: [322], }, ], modelsByPk: [ - 347, + 319, { - model: [697, "String!"], + model: [621, "String!"], }, ], modelsEnum: [ - 352, + 324, { - distinctOn: [367, "[ModelsEnumSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [365, "[ModelsEnumOrderBy!]"], - where: [355], + distinctOn: [339, "[ModelsEnumSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [337, "[ModelsEnumOrderBy!]"], + where: [327], }, ], modelsEnumAggregate: [ - 353, + 325, { - distinctOn: [367, "[ModelsEnumSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [365, "[ModelsEnumOrderBy!]"], - where: [355], + distinctOn: [339, "[ModelsEnumSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [337, "[ModelsEnumOrderBy!]"], + where: [327], }, ], modelsEnumByPk: [ - 352, + 324, { - name: [697, "String!"], + name: [621, "String!"], }, ], - organization: [ - 389, + n8nCredentials: [ + 359, { - distinctOn: [449, "[OrganizationSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [447, "[OrganizationOrderBy!]"], - where: [395], + distinctOn: [371, "[N8nCredentialsSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [369, "[N8nCredentialsOrderBy!]"], + where: [362], }, ], - organizationAggregate: [ - 390, + n8nCredentialsAggregate: [ + 360, { - distinctOn: [449, "[OrganizationSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [447, "[OrganizationOrderBy!]"], - where: [395], + distinctOn: [371, "[N8nCredentialsSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [369, "[N8nCredentialsOrderBy!]"], + where: [362], }, ], - organizationByPk: [ - 389, + n8nCredentialsByPk: [ + 359, { - organizationId: [948, "uuid!"], - }, - ], - organizationChatbot: [ - 396, - { - distinctOn: [416, "[OrganizationChatbotSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [414, "[OrganizationChatbotOrderBy!]"], - where: [404], - }, - ], - organizationChatbotAggregate: [ - 397, - { - distinctOn: [416, "[OrganizationChatbotSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [414, "[OrganizationChatbotOrderBy!]"], - where: [404], - }, - ], - organizationChatbotByPk: [ - 396, - { - chatbotId: [273, "Int!"], - organizationId: [948, "uuid!"], + id: [904, "uuid!"], }, ], preference: [ - 455, + 379, { - distinctOn: [476, "[PreferenceSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [474, "[PreferenceOrderBy!]"], - where: [463], + distinctOn: [400, "[PreferenceSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [398, "[PreferenceOrderBy!]"], + where: [387], }, ], preferenceAggregate: [ - 456, + 380, { - distinctOn: [476, "[PreferenceSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [474, "[PreferenceOrderBy!]"], - where: [463], + distinctOn: [400, "[PreferenceSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [398, "[PreferenceOrderBy!]"], + where: [387], }, ], preferenceByPk: [ - 455, + 379, { - preferenceId: [273, "Int!"], + preferenceId: [245, "Int!"], }, ], prompt: [ - 498, + 422, { - distinctOn: [559, "[PromptSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [557, "[PromptOrderBy!]"], - where: [506], + distinctOn: [483, "[PromptSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [481, "[PromptOrderBy!]"], + where: [430], }, ], promptAggregate: [ - 499, + 423, { - distinctOn: [559, "[PromptSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [557, "[PromptOrderBy!]"], - where: [506], + distinctOn: [483, "[PromptSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [481, "[PromptOrderBy!]"], + where: [430], }, ], promptByPk: [ - 498, + 422, { - promptId: [273, "Int!"], + promptId: [245, "Int!"], }, ], promptChatbot: [ - 507, + 431, { - distinctOn: [527, "[PromptChatbotSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [525, "[PromptChatbotOrderBy!]"], - where: [515], + distinctOn: [451, "[PromptChatbotSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [449, "[PromptChatbotOrderBy!]"], + where: [439], }, ], promptChatbotAggregate: [ - 508, + 432, { - distinctOn: [527, "[PromptChatbotSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [525, "[PromptChatbotOrderBy!]"], - where: [515], + distinctOn: [451, "[PromptChatbotSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [449, "[PromptChatbotOrderBy!]"], + where: [439], }, ], promptChatbotByPk: [ - 507, + 431, { - chabotId: [273, "Int!"], - promptId: [273, "Int!"], + chabotId: [245, "Int!"], + promptId: [245, "Int!"], }, ], promptTypeEnum: [ - 571, + 495, { - distinctOn: [584, "[PromptTypeEnumSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [582, "[PromptTypeEnumOrderBy!]"], - where: [574], + distinctOn: [508, "[PromptTypeEnumSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [506, "[PromptTypeEnumOrderBy!]"], + where: [498], }, ], promptTypeEnumAggregate: [ - 572, + 496, { - distinctOn: [584, "[PromptTypeEnumSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [582, "[PromptTypeEnumOrderBy!]"], - where: [574], + distinctOn: [508, "[PromptTypeEnumSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [506, "[PromptTypeEnumOrderBy!]"], + where: [498], }, ], promptTypeEnumByPk: [ - 571, + 495, { - value: [697, "String!"], + value: [621, "String!"], }, ], promptUser: [ - 592, + 516, { - distinctOn: [612, "[PromptUserSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [610, "[PromptUserOrderBy!]"], - where: [600], + distinctOn: [536, "[PromptUserSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [534, "[PromptUserOrderBy!]"], + where: [524], }, ], promptUserAggregate: [ - 593, + 517, { - distinctOn: [612, "[PromptUserSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [610, "[PromptUserOrderBy!]"], - where: [600], + distinctOn: [536, "[PromptUserSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [534, "[PromptUserOrderBy!]"], + where: [524], }, ], promptUserByPk: [ - 592, + 516, { - promptId: [273, "Int!"], - userId: [948, "uuid!"], + promptId: [245, "Int!"], + userId: [904, "uuid!"], }, ], referral: [ - 638, + 562, { - distinctOn: [655, "[ReferralSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [653, "[ReferralOrderBy!]"], - where: [644], + distinctOn: [579, "[ReferralSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [577, "[ReferralOrderBy!]"], + where: [568], }, ], referralAggregate: [ - 639, + 563, { - distinctOn: [655, "[ReferralSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [653, "[ReferralOrderBy!]"], - where: [644], + distinctOn: [579, "[ReferralSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [577, "[ReferralOrderBy!]"], + where: [568], }, ], referralByPk: [ - 638, + 562, { - referralCode: [697, "String!"], + referralCode: [621, "String!"], }, ], socialFollowing: [ - 661, + 585, { - distinctOn: [678, "[SocialFollowingSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [677, "[SocialFollowingOrderBy!]"], - where: [669], + distinctOn: [602, "[SocialFollowingSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [601, "[SocialFollowingOrderBy!]"], + where: [593], }, ], socialFollowingAggregate: [ - 662, + 586, { - distinctOn: [678, "[SocialFollowingSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [677, "[SocialFollowingOrderBy!]"], - where: [669], + distinctOn: [602, "[SocialFollowingSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [601, "[SocialFollowingOrderBy!]"], + where: [593], }, ], subcategoryEnum: [ - 700, + 624, { - distinctOn: [718, "[SubcategoryEnumSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [716, "[SubcategoryEnumOrderBy!]"], - where: [706], + distinctOn: [642, "[SubcategoryEnumSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [640, "[SubcategoryEnumOrderBy!]"], + where: [630], }, ], subcategoryEnumAggregate: [ - 701, + 625, { - distinctOn: [718, "[SubcategoryEnumSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [716, "[SubcategoryEnumOrderBy!]"], - where: [706], + distinctOn: [642, "[SubcategoryEnumSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [640, "[SubcategoryEnumOrderBy!]"], + where: [630], }, ], subcategoryEnumByPk: [ - 700, + 624, { - category: [697, "String!"], - domain: [697, "String!"], - name: [697, "String!"], + category: [621, "String!"], + domain: [621, "String!"], + name: [621, "String!"], }, ], tagEnum: [ - 724, + 648, { - distinctOn: [744, "[TagEnumSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [742, "[TagEnumOrderBy!]"], - where: [732], + distinctOn: [668, "[TagEnumSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [666, "[TagEnumOrderBy!]"], + where: [656], }, ], tagEnumAggregate: [ - 725, + 649, { - distinctOn: [744, "[TagEnumSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [742, "[TagEnumOrderBy!]"], - where: [732], + distinctOn: [668, "[TagEnumSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [666, "[TagEnumOrderBy!]"], + where: [656], }, ], tagEnumByPk: [ - 724, + 648, { - tagId: [948, "uuid!"], + tagId: [904, "uuid!"], }, ], thread: [ - 764, + 688, { - distinctOn: [790, "[ThreadSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [787, "[ThreadOrderBy!]"], - where: [773], + distinctOn: [714, "[ThreadSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [711, "[ThreadOrderBy!]"], + where: [697], }, ], threadAggregate: [ - 765, + 689, { - distinctOn: [790, "[ThreadSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [787, "[ThreadOrderBy!]"], - where: [773], + distinctOn: [714, "[ThreadSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [711, "[ThreadOrderBy!]"], + where: [697], }, ], threadByPk: [ - 764, + 688, { - slug: [697, "String!"], - threadId: [948, "uuid!"], + slug: [621, "String!"], + threadId: [904, "uuid!"], }, ], token: [ - 813, + 737, { - distinctOn: [826, "[TokenSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [824, "[TokenOrderBy!]"], - where: [816], + distinctOn: [750, "[TokenSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [748, "[TokenOrderBy!]"], + where: [740], }, ], tokenAggregate: [ - 814, + 738, { - distinctOn: [826, "[TokenSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [824, "[TokenOrderBy!]"], - where: [816], + distinctOn: [750, "[TokenSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [748, "[TokenOrderBy!]"], + where: [740], }, ], tokenByPk: [ - 813, + 737, { - token: [697, "String!"], + token: [621, "String!"], }, ], toneEnum: [ - 832, + 756, { - distinctOn: [845, "[ToneEnumSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [843, "[ToneEnumOrderBy!]"], - where: [835], + distinctOn: [769, "[ToneEnumSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [767, "[ToneEnumOrderBy!]"], + where: [759], }, ], toneEnumAggregate: [ - 833, + 757, { - distinctOn: [845, "[ToneEnumSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [843, "[ToneEnumOrderBy!]"], - where: [835], + distinctOn: [769, "[ToneEnumSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [767, "[ToneEnumOrderBy!]"], + where: [759], }, ], toneEnumByPk: [ - 832, + 756, { - value: [697, "String!"], + value: [621, "String!"], }, ], typeEnum: [ - 851, + 775, { - distinctOn: [864, "[TypeEnumSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [862, "[TypeEnumOrderBy!]"], - where: [854], + distinctOn: [788, "[TypeEnumSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [786, "[TypeEnumOrderBy!]"], + where: [778], }, ], typeEnumAggregate: [ - 852, + 776, { - distinctOn: [864, "[TypeEnumSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [862, "[TypeEnumOrderBy!]"], - where: [854], + distinctOn: [788, "[TypeEnumSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [786, "[TypeEnumOrderBy!]"], + where: [778], }, ], typeEnumByPk: [ - 851, + 775, { - value: [697, "String!"], + value: [621, "String!"], }, ], user: [ - 870, + 794, { - distinctOn: [884, "[UserSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [881, "[UserOrderBy!]"], - where: [873], + distinctOn: [826, "[UserSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [823, "[UserOrderBy!]"], + where: [797], }, ], userAggregate: [ - 871, + 795, { - distinctOn: [884, "[UserSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [881, "[UserOrderBy!]"], - where: [873], + distinctOn: [826, "[UserSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [823, "[UserOrderBy!]"], + where: [797], }, ], userByPk: [ - 870, + 794, + { + userId: [904, "uuid!"], + }, + ], + userOauthConnections: [ + 803, + { + distinctOn: [815, "[UserOauthConnectionsSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [813, "[UserOauthConnectionsOrderBy!]"], + where: [806], + }, + ], + userOauthConnectionsAggregate: [ + 804, { - userId: [948, "uuid!"], + distinctOn: [815, "[UserOauthConnectionsSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [813, "[UserOauthConnectionsOrderBy!]"], + where: [806], + }, + ], + userOauthConnectionsByPk: [ + 803, + { + id: [904, "uuid!"], }, ], userToken: [ - 888, + 830, { - distinctOn: [905, "[UserTokenSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [903, "[UserTokenOrderBy!]"], - where: [894], + distinctOn: [847, "[UserTokenSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [845, "[UserTokenOrderBy!]"], + where: [836], }, ], userTokenAggregate: [ - 889, + 831, { - distinctOn: [905, "[UserTokenSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [903, "[UserTokenOrderBy!]"], - where: [894], + distinctOn: [847, "[UserTokenSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [845, "[UserTokenOrderBy!]"], + where: [836], }, ], userTokenByPk: [ - 888, + 830, + { + token: [621, "String!"], + userId: [904, "uuid!"], + }, + ], + userWorkflows: [ + 855, + { + distinctOn: [867, "[UserWorkflowsSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [865, "[UserWorkflowsOrderBy!]"], + where: [858], + }, + ], + userWorkflowsAggregate: [ + 856, { - token: [697, "String!"], - userId: [948, "uuid!"], + distinctOn: [867, "[UserWorkflowsSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [865, "[UserWorkflowsOrderBy!]"], + where: [858], }, ], - __typename: [697], + userWorkflowsByPk: [ + 855, + { + id: [904, "uuid!"], + }, + ], + __typename: [621], }, Mutation: { deleteCategory: [ @@ -7607,7 +7369,7 @@ export default { deleteCategoryByPk: [ 2, { - categoryId: [273, "Int!"], + categoryId: [245, "Int!"], }, ], deleteCategoryEnum: [ @@ -7619,8 +7381,8 @@ export default { deleteCategoryEnumByPk: [ 8, { - domain: [697, "String!"], - name: [697, "String!"], + domain: [621, "String!"], + name: [621, "String!"], }, ], deleteChatbot: [ @@ -7632,7 +7394,7 @@ export default { deleteChatbotByPk: [ 54, { - chatbotId: [273, "Int!"], + chatbotId: [245, "Int!"], }, ], deleteChatbotCategory: [ @@ -7644,8 +7406,8 @@ export default { deleteChatbotCategoryByPk: [ 63, { - categoryId: [273, "Int!"], - chatbotId: [273, "Int!"], + categoryId: [245, "Int!"], + chatbotId: [245, "Int!"], }, ], deleteChatbotDomain: [ @@ -7657,8 +7419,8 @@ export default { deleteChatbotDomainByPk: [ 104, { - chatbotId: [273, "Int!"], - domainName: [697, "String!"], + chatbotId: [245, "Int!"], + domainName: [621, "String!"], }, ], deleteComplexityEnum: [ @@ -7670,309 +7432,308 @@ export default { deleteComplexityEnumByPk: [ 177, { - value: [697, "String!"], - }, - ], - deleteDepartment: [ - 207, - { - where: [201, "DepartmentBoolExp!"], - }, - ], - deleteDepartmentByPk: [ - 197, - { - departmentId: [273, "Int!"], + value: [621, "String!"], }, ], deleteDomainEnum: [ - 233, + 205, { - where: [228, "DomainEnumBoolExp!"], + where: [200, "DomainEnumBoolExp!"], }, ], deleteDomainEnumByPk: [ - 225, + 197, { - name: [697, "String!"], + name: [621, "String!"], }, ], deleteExample: [ - 261, + 233, { - where: [251, "ExampleBoolExp!"], + where: [223, "ExampleBoolExp!"], }, ], deleteExampleByPk: [ - 244, + 216, { - exampleId: [948, "uuid!"], + exampleId: [904, "uuid!"], }, ], deleteLengthEnum: [ - 285, + 257, { - where: [280, "LengthEnumBoolExp!"], + where: [252, "LengthEnumBoolExp!"], }, ], deleteLengthEnumByPk: [ - 277, + 249, { - value: [697, "String!"], + value: [621, "String!"], }, ], deleteMessage: [ - 313, + 285, { - where: [303, "MessageBoolExp!"], + where: [275, "MessageBoolExp!"], }, ], deleteMessageByPk: [ - 296, + 268, { - messageId: [948, "uuid!"], - slug: [697, "String!"], + messageId: [904, "uuid!"], + slug: [621, "String!"], }, ], deleteMessageTypeEnum: [ - 333, + 305, { - where: [328, "MessageTypeEnumBoolExp!"], + where: [300, "MessageTypeEnumBoolExp!"], }, ], deleteMessageTypeEnumByPk: [ - 325, + 297, { - value: [697, "String!"], + value: [621, "String!"], }, ], deleteModels: [ - 376, + 348, { - where: [350, "ModelsBoolExp!"], + where: [322, "ModelsBoolExp!"], }, ], deleteModelsByPk: [ - 347, + 319, { - model: [697, "String!"], + model: [621, "String!"], }, ], deleteModelsEnum: [ - 362, + 334, { - where: [355, "ModelsEnumBoolExp!"], + where: [327, "ModelsEnumBoolExp!"], }, ], deleteModelsEnumByPk: [ - 352, + 324, { - name: [697, "String!"], + name: [621, "String!"], }, ], - deleteOrganization: [ - 444, + deleteN8nCredentials: [ + 367, { - where: [395, "OrganizationBoolExp!"], + where: [362, "N8nCredentialsBoolExp!"], }, ], - deleteOrganizationByPk: [ - 389, + deleteN8nCredentialsByPk: [ + 359, { - organizationId: [948, "uuid!"], - }, - ], - deleteOrganizationChatbot: [ - 412, - { - where: [404, "OrganizationChatbotBoolExp!"], - }, - ], - deleteOrganizationChatbotByPk: [ - 396, - { - chatbotId: [273, "Int!"], - organizationId: [948, "uuid!"], + id: [904, "uuid!"], }, ], deletePreference: [ - 471, + 395, { - where: [463, "PreferenceBoolExp!"], + where: [387, "PreferenceBoolExp!"], }, ], deletePreferenceByPk: [ - 455, + 379, { - preferenceId: [273, "Int!"], + preferenceId: [245, "Int!"], }, ], deletePrompt: [ - 554, + 478, { - where: [506, "PromptBoolExp!"], + where: [430, "PromptBoolExp!"], }, ], deletePromptByPk: [ - 498, + 422, { - promptId: [273, "Int!"], + promptId: [245, "Int!"], }, ], deletePromptChatbot: [ - 523, + 447, { - where: [515, "PromptChatbotBoolExp!"], + where: [439, "PromptChatbotBoolExp!"], }, ], deletePromptChatbotByPk: [ - 507, + 431, { - chabotId: [273, "Int!"], - promptId: [273, "Int!"], + chabotId: [245, "Int!"], + promptId: [245, "Int!"], }, ], deletePromptTypeEnum: [ - 579, + 503, { - where: [574, "PromptTypeEnumBoolExp!"], + where: [498, "PromptTypeEnumBoolExp!"], }, ], deletePromptTypeEnumByPk: [ - 571, + 495, { - value: [697, "String!"], + value: [621, "String!"], }, ], deletePromptUser: [ - 608, + 532, { - where: [600, "PromptUserBoolExp!"], + where: [524, "PromptUserBoolExp!"], }, ], deletePromptUserByPk: [ - 592, + 516, { - promptId: [273, "Int!"], - userId: [948, "uuid!"], + promptId: [245, "Int!"], + userId: [904, "uuid!"], }, ], deleteReferral: [ - 651, + 575, { - where: [644, "ReferralBoolExp!"], + where: [568, "ReferralBoolExp!"], }, ], deleteReferralByPk: [ - 638, + 562, { - referralCode: [697, "String!"], + referralCode: [621, "String!"], }, ], deleteSocialFollowing: [ - 676, + 600, { - where: [669, "SocialFollowingBoolExp!"], + where: [593, "SocialFollowingBoolExp!"], }, ], deleteSubcategoryEnum: [ - 713, + 637, { - where: [706, "SubcategoryEnumBoolExp!"], + where: [630, "SubcategoryEnumBoolExp!"], }, ], deleteSubcategoryEnumByPk: [ - 700, + 624, { - category: [697, "String!"], - domain: [697, "String!"], - name: [697, "String!"], + category: [621, "String!"], + domain: [621, "String!"], + name: [621, "String!"], }, ], deleteTagEnum: [ - 740, + 664, { - where: [732, "TagEnumBoolExp!"], + where: [656, "TagEnumBoolExp!"], }, ], deleteTagEnumByPk: [ - 724, + 648, { - tagId: [948, "uuid!"], + tagId: [904, "uuid!"], }, ], deleteThread: [ - 784, + 708, { - where: [773, "ThreadBoolExp!"], + where: [697, "ThreadBoolExp!"], }, ], deleteThreadByPk: [ - 764, + 688, { - slug: [697, "String!"], - threadId: [948, "uuid!"], + slug: [621, "String!"], + threadId: [904, "uuid!"], }, ], deleteToken: [ - 821, + 745, { - where: [816, "TokenBoolExp!"], + where: [740, "TokenBoolExp!"], }, ], deleteTokenByPk: [ - 813, + 737, { - token: [697, "String!"], + token: [621, "String!"], }, ], deleteToneEnum: [ - 840, + 764, { - where: [835, "ToneEnumBoolExp!"], + where: [759, "ToneEnumBoolExp!"], }, ], deleteToneEnumByPk: [ - 832, + 756, { - value: [697, "String!"], + value: [621, "String!"], }, ], deleteTypeEnum: [ - 859, + 783, { - where: [854, "TypeEnumBoolExp!"], + where: [778, "TypeEnumBoolExp!"], }, ], deleteTypeEnumByPk: [ - 851, + 775, { - value: [697, "String!"], + value: [621, "String!"], }, ], deleteUser: [ - 878, + 802, { - where: [873, "UserBoolExp!"], + where: [797, "UserBoolExp!"], }, ], deleteUserByPk: [ - 870, + 794, + { + userId: [904, "uuid!"], + }, + ], + deleteUserOauthConnections: [ + 811, + { + where: [806, "UserOauthConnectionsBoolExp!"], + }, + ], + deleteUserOauthConnectionsByPk: [ + 803, { - userId: [948, "uuid!"], + id: [904, "uuid!"], }, ], deleteUserToken: [ - 901, + 843, { - where: [894, "UserTokenBoolExp!"], + where: [836, "UserTokenBoolExp!"], }, ], deleteUserTokenByPk: [ - 888, + 830, { - token: [697, "String!"], - userId: [948, "uuid!"], + token: [621, "String!"], + userId: [904, "uuid!"], + }, + ], + deleteUserWorkflows: [ + 863, + { + where: [858, "UserWorkflowsBoolExp!"], + }, + ], + deleteUserWorkflowsByPk: [ + 855, + { + id: [904, "uuid!"], }, ], insertCategory: [ @@ -8059,352 +7820,352 @@ export default { onConflict: [187], }, ], - insertDepartment: [ - 207, - { - objects: [204, "[DepartmentInsertInput!]!"], - onConflict: [209], - }, - ], - insertDepartmentOne: [ - 197, - { - object: [204, "DepartmentInsertInput!"], - onConflict: [209], - }, - ], insertDomainEnum: [ - 233, + 205, { - objects: [230, "[DomainEnumInsertInput!]!"], - onConflict: [235], + objects: [202, "[DomainEnumInsertInput!]!"], + onConflict: [207], }, ], insertDomainEnumOne: [ - 225, + 197, { - object: [230, "DomainEnumInsertInput!"], - onConflict: [235], + object: [202, "DomainEnumInsertInput!"], + onConflict: [207], }, ], insertExample: [ - 261, + 233, { - objects: [256, "[ExampleInsertInput!]!"], - onConflict: [262], + objects: [228, "[ExampleInsertInput!]!"], + onConflict: [234], }, ], insertExampleOne: [ - 244, + 216, { - object: [256, "ExampleInsertInput!"], - onConflict: [262], + object: [228, "ExampleInsertInput!"], + onConflict: [234], }, ], insertLengthEnum: [ - 285, + 257, { - objects: [282, "[LengthEnumInsertInput!]!"], - onConflict: [287], + objects: [254, "[LengthEnumInsertInput!]!"], + onConflict: [259], }, ], insertLengthEnumOne: [ - 277, + 249, { - object: [282, "LengthEnumInsertInput!"], - onConflict: [287], + object: [254, "LengthEnumInsertInput!"], + onConflict: [259], }, ], insertMessage: [ - 313, + 285, { - objects: [308, "[MessageInsertInput!]!"], - onConflict: [315], + objects: [280, "[MessageInsertInput!]!"], + onConflict: [287], }, ], insertMessageOne: [ - 296, + 268, { - object: [308, "MessageInsertInput!"], - onConflict: [315], + object: [280, "MessageInsertInput!"], + onConflict: [287], }, ], insertMessageTypeEnum: [ - 333, + 305, { - objects: [330, "[MessageTypeEnumInsertInput!]!"], - onConflict: [335], + objects: [302, "[MessageTypeEnumInsertInput!]!"], + onConflict: [307], }, ], insertMessageTypeEnumOne: [ - 325, + 297, { - object: [330, "MessageTypeEnumInsertInput!"], - onConflict: [335], + object: [302, "MessageTypeEnumInsertInput!"], + onConflict: [307], }, ], insertModels: [ - 376, + 348, { - objects: [373, "[ModelsInsertInput!]!"], - onConflict: [378], + objects: [345, "[ModelsInsertInput!]!"], + onConflict: [350], }, ], insertModelsEnum: [ - 362, + 334, { - objects: [359, "[ModelsEnumInsertInput!]!"], - onConflict: [364], + objects: [331, "[ModelsEnumInsertInput!]!"], + onConflict: [336], }, ], insertModelsEnumOne: [ - 352, + 324, { - object: [359, "ModelsEnumInsertInput!"], - onConflict: [364], + object: [331, "ModelsEnumInsertInput!"], + onConflict: [336], }, ], insertModelsOne: [ - 347, + 319, { - object: [373, "ModelsInsertInput!"], - onConflict: [378], + object: [345, "ModelsInsertInput!"], + onConflict: [350], }, ], - insertOrganization: [ - 444, + insertN8nCredentials: [ + 367, { - objects: [439, "[OrganizationInsertInput!]!"], - onConflict: [446], + objects: [364, "[N8nCredentialsInsertInput!]!"], + onConflict: [368], }, ], - insertOrganizationChatbot: [ - 412, + insertN8nCredentialsOne: [ + 359, { - objects: [407, "[OrganizationChatbotInsertInput!]!"], - onConflict: [413], - }, - ], - insertOrganizationChatbotOne: [ - 396, - { - object: [407, "OrganizationChatbotInsertInput!"], - onConflict: [413], - }, - ], - insertOrganizationOne: [ - 389, - { - object: [439, "OrganizationInsertInput!"], - onConflict: [446], + object: [364, "N8nCredentialsInsertInput!"], + onConflict: [368], }, ], insertPreference: [ - 471, + 395, { - objects: [466, "[PreferenceInsertInput!]!"], - onConflict: [473], + objects: [390, "[PreferenceInsertInput!]!"], + onConflict: [397], }, ], insertPreferenceOne: [ - 455, + 379, { - object: [466, "PreferenceInsertInput!"], - onConflict: [473], + object: [390, "PreferenceInsertInput!"], + onConflict: [397], }, ], insertPrompt: [ - 554, + 478, { - objects: [549, "[PromptInsertInput!]!"], - onConflict: [556], + objects: [473, "[PromptInsertInput!]!"], + onConflict: [480], }, ], insertPromptChatbot: [ - 523, + 447, { - objects: [518, "[PromptChatbotInsertInput!]!"], - onConflict: [524], + objects: [442, "[PromptChatbotInsertInput!]!"], + onConflict: [448], }, ], insertPromptChatbotOne: [ - 507, + 431, { - object: [518, "PromptChatbotInsertInput!"], - onConflict: [524], + object: [442, "PromptChatbotInsertInput!"], + onConflict: [448], }, ], insertPromptOne: [ - 498, + 422, { - object: [549, "PromptInsertInput!"], - onConflict: [556], + object: [473, "PromptInsertInput!"], + onConflict: [480], }, ], insertPromptTypeEnum: [ - 579, + 503, { - objects: [576, "[PromptTypeEnumInsertInput!]!"], - onConflict: [581], + objects: [500, "[PromptTypeEnumInsertInput!]!"], + onConflict: [505], }, ], insertPromptTypeEnumOne: [ - 571, + 495, { - object: [576, "PromptTypeEnumInsertInput!"], - onConflict: [581], + object: [500, "PromptTypeEnumInsertInput!"], + onConflict: [505], }, ], insertPromptUser: [ - 608, + 532, { - objects: [603, "[PromptUserInsertInput!]!"], - onConflict: [609], + objects: [527, "[PromptUserInsertInput!]!"], + onConflict: [533], }, ], insertPromptUserOne: [ - 592, + 516, { - object: [603, "PromptUserInsertInput!"], - onConflict: [609], + object: [527, "PromptUserInsertInput!"], + onConflict: [533], }, ], insertReferral: [ - 651, + 575, { - objects: [646, "[ReferralInsertInput!]!"], - onConflict: [652], + objects: [570, "[ReferralInsertInput!]!"], + onConflict: [576], }, ], insertReferralOne: [ - 638, + 562, { - object: [646, "ReferralInsertInput!"], - onConflict: [652], + object: [570, "ReferralInsertInput!"], + onConflict: [576], }, ], insertSocialFollowing: [ - 676, + 600, { - objects: [671, "[SocialFollowingInsertInput!]!"], + objects: [595, "[SocialFollowingInsertInput!]!"], }, ], insertSocialFollowingOne: [ - 661, + 585, { - object: [671, "SocialFollowingInsertInput!"], + object: [595, "SocialFollowingInsertInput!"], }, ], insertSubcategoryEnum: [ - 713, + 637, { - objects: [708, "[SubcategoryEnumInsertInput!]!"], - onConflict: [715], + objects: [632, "[SubcategoryEnumInsertInput!]!"], + onConflict: [639], }, ], insertSubcategoryEnumOne: [ - 700, + 624, { - object: [708, "SubcategoryEnumInsertInput!"], - onConflict: [715], + object: [632, "SubcategoryEnumInsertInput!"], + onConflict: [639], }, ], insertTagEnum: [ - 740, + 664, { - objects: [735, "[TagEnumInsertInput!]!"], - onConflict: [741], + objects: [659, "[TagEnumInsertInput!]!"], + onConflict: [665], }, ], insertTagEnumOne: [ - 724, + 648, { - object: [735, "TagEnumInsertInput!"], - onConflict: [741], + object: [659, "TagEnumInsertInput!"], + onConflict: [665], }, ], insertThread: [ - 784, + 708, { - objects: [779, "[ThreadInsertInput!]!"], - onConflict: [786], + objects: [703, "[ThreadInsertInput!]!"], + onConflict: [710], }, ], insertThreadOne: [ - 764, + 688, { - object: [779, "ThreadInsertInput!"], - onConflict: [786], + object: [703, "ThreadInsertInput!"], + onConflict: [710], }, ], insertToken: [ - 821, + 745, { - objects: [818, "[TokenInsertInput!]!"], - onConflict: [823], + objects: [742, "[TokenInsertInput!]!"], + onConflict: [747], }, ], insertTokenOne: [ - 813, + 737, { - object: [818, "TokenInsertInput!"], - onConflict: [823], + object: [742, "TokenInsertInput!"], + onConflict: [747], }, ], insertToneEnum: [ - 840, + 764, { - objects: [837, "[ToneEnumInsertInput!]!"], - onConflict: [842], + objects: [761, "[ToneEnumInsertInput!]!"], + onConflict: [766], }, ], insertToneEnumOne: [ - 832, + 756, { - object: [837, "ToneEnumInsertInput!"], - onConflict: [842], + object: [761, "ToneEnumInsertInput!"], + onConflict: [766], }, ], insertTypeEnum: [ - 859, + 783, { - objects: [856, "[TypeEnumInsertInput!]!"], - onConflict: [861], + objects: [780, "[TypeEnumInsertInput!]!"], + onConflict: [785], }, ], insertTypeEnumOne: [ - 851, + 775, { - object: [856, "TypeEnumInsertInput!"], - onConflict: [861], + object: [780, "TypeEnumInsertInput!"], + onConflict: [785], }, ], insertUser: [ - 878, + 802, { - objects: [875, "[UserInsertInput!]!"], - onConflict: [880], + objects: [799, "[UserInsertInput!]!"], + onConflict: [822], + }, + ], + insertUserOauthConnections: [ + 811, + { + objects: [808, "[UserOauthConnectionsInsertInput!]!"], + onConflict: [812], + }, + ], + insertUserOauthConnectionsOne: [ + 803, + { + object: [808, "UserOauthConnectionsInsertInput!"], + onConflict: [812], }, ], insertUserOne: [ - 870, + 794, { - object: [875, "UserInsertInput!"], - onConflict: [880], + object: [799, "UserInsertInput!"], + onConflict: [822], }, ], insertUserToken: [ - 901, + 843, { - objects: [896, "[UserTokenInsertInput!]!"], - onConflict: [902], + objects: [838, "[UserTokenInsertInput!]!"], + onConflict: [844], }, ], insertUserTokenOne: [ - 888, + 830, + { + object: [838, "UserTokenInsertInput!"], + onConflict: [844], + }, + ], + insertUserWorkflows: [ + 863, { - object: [896, "UserTokenInsertInput!"], - onConflict: [902], + objects: [860, "[UserWorkflowsInsertInput!]!"], + onConflict: [864], + }, + ], + insertUserWorkflowsOne: [ + 855, + { + object: [860, "UserWorkflowsInsertInput!"], + onConflict: [864], }, ], updateCategory: [ @@ -8535,555 +8296,551 @@ export default { updates: [195, "[ComplexityEnumUpdates!]!"], }, ], - updateDepartment: [ - 207, - { - _inc: [203], - _set: [213], - where: [201, "DepartmentBoolExp!"], - }, - ], - updateDepartmentByPk: [ - 197, - { - _inc: [203], - _set: [213], - pkColumns: [211, "DepartmentPkColumnsInput!"], - }, - ], - updateDepartmentMany: [ - 207, - { - updates: [221, "[DepartmentUpdates!]!"], - }, - ], updateDomainEnum: [ - 233, + 205, { - _set: [239], - where: [228, "DomainEnumBoolExp!"], + _set: [211], + where: [200, "DomainEnumBoolExp!"], }, ], updateDomainEnumByPk: [ - 225, + 197, { - _set: [239], - pkColumns: [237, "DomainEnumPkColumnsInput!"], + _set: [211], + pkColumns: [209, "DomainEnumPkColumnsInput!"], }, ], updateDomainEnumMany: [ - 233, + 205, { - updates: [243, "[DomainEnumUpdates!]!"], + updates: [215, "[DomainEnumUpdates!]!"], }, ], updateExample: [ - 261, + 233, { - _append: [249], - _deleteAtPath: [253], - _deleteElem: [254], - _deleteKey: [255], - _prepend: [265], - _set: [267], - where: [251, "ExampleBoolExp!"], + _append: [221], + _deleteAtPath: [225], + _deleteElem: [226], + _deleteKey: [227], + _prepend: [237], + _set: [239], + where: [223, "ExampleBoolExp!"], }, ], updateExampleByPk: [ - 244, + 216, { - _append: [249], - _deleteAtPath: [253], - _deleteElem: [254], - _deleteKey: [255], - _prepend: [265], - _set: [267], - pkColumns: [264, "ExamplePkColumnsInput!"], + _append: [221], + _deleteAtPath: [225], + _deleteElem: [226], + _deleteKey: [227], + _prepend: [237], + _set: [239], + pkColumns: [236, "ExamplePkColumnsInput!"], }, ], updateExampleMany: [ - 261, + 233, { - updates: [271, "[ExampleUpdates!]!"], + updates: [243, "[ExampleUpdates!]!"], }, ], updateLengthEnum: [ - 285, + 257, { - _set: [291], - where: [280, "LengthEnumBoolExp!"], + _set: [263], + where: [252, "LengthEnumBoolExp!"], }, ], updateLengthEnumByPk: [ - 277, + 249, { - _set: [291], - pkColumns: [289, "LengthEnumPkColumnsInput!"], + _set: [263], + pkColumns: [261, "LengthEnumPkColumnsInput!"], }, ], updateLengthEnumMany: [ - 285, + 257, { - updates: [295, "[LengthEnumUpdates!]!"], + updates: [267, "[LengthEnumUpdates!]!"], }, ], updateMessage: [ - 313, + 285, { - _append: [301], - _deleteAtPath: [305], - _deleteElem: [306], - _deleteKey: [307], - _prepend: [318], - _set: [322], - where: [303, "MessageBoolExp!"], + _append: [273], + _deleteAtPath: [277], + _deleteElem: [278], + _deleteKey: [279], + _prepend: [290], + _set: [294], + where: [275, "MessageBoolExp!"], }, ], updateMessageByPk: [ - 296, + 268, { - _append: [301], - _deleteAtPath: [305], - _deleteElem: [306], - _deleteKey: [307], - _prepend: [318], - _set: [322], - pkColumns: [317, "MessagePkColumnsInput!"], + _append: [273], + _deleteAtPath: [277], + _deleteElem: [278], + _deleteKey: [279], + _prepend: [290], + _set: [294], + pkColumns: [289, "MessagePkColumnsInput!"], }, ], updateMessageMany: [ - 313, + 285, { - updates: [345, "[MessageUpdates!]!"], + updates: [317, "[MessageUpdates!]!"], }, ], updateMessageTypeEnum: [ - 333, + 305, { - _set: [339], - where: [328, "MessageTypeEnumBoolExp!"], + _set: [311], + where: [300, "MessageTypeEnumBoolExp!"], }, ], updateMessageTypeEnumByPk: [ - 325, + 297, { - _set: [339], - pkColumns: [337, "MessageTypeEnumPkColumnsInput!"], + _set: [311], + pkColumns: [309, "MessageTypeEnumPkColumnsInput!"], }, ], updateMessageTypeEnumMany: [ - 333, + 305, { - updates: [343, "[MessageTypeEnumUpdates!]!"], + updates: [315, "[MessageTypeEnumUpdates!]!"], }, ], updateModels: [ - 376, + 348, { - _set: [382], - where: [350, "ModelsBoolExp!"], + _set: [354], + where: [322, "ModelsBoolExp!"], }, ], updateModelsByPk: [ - 347, + 319, { - _set: [382], - pkColumns: [380, "ModelsPkColumnsInput!"], + _set: [354], + pkColumns: [352, "ModelsPkColumnsInput!"], }, ], updateModelsEnum: [ - 362, + 334, { - _set: [368], - where: [355, "ModelsEnumBoolExp!"], + _set: [340], + where: [327, "ModelsEnumBoolExp!"], }, ], updateModelsEnumByPk: [ - 352, + 324, { - _set: [368], - pkColumns: [366, "ModelsEnumPkColumnsInput!"], + _set: [340], + pkColumns: [338, "ModelsEnumPkColumnsInput!"], }, ], updateModelsEnumMany: [ - 362, + 334, { - updates: [372, "[ModelsEnumUpdates!]!"], + updates: [344, "[ModelsEnumUpdates!]!"], }, ], updateModelsMany: [ - 376, - { - updates: [386, "[ModelsUpdates!]!"], - }, - ], - updateOrganization: [ - 444, - { - _set: [450], - where: [395, "OrganizationBoolExp!"], - }, - ], - updateOrganizationByPk: [ - 389, - { - _set: [450], - pkColumns: [448, "OrganizationPkColumnsInput!"], - }, - ], - updateOrganizationChatbot: [ - 412, + 348, { - _inc: [406], - _set: [419], - where: [404, "OrganizationChatbotBoolExp!"], + updates: [358, "[ModelsUpdates!]!"], }, ], - updateOrganizationChatbotByPk: [ - 396, + updateN8nCredentials: [ + 367, { - _inc: [406], - _set: [419], - pkColumns: [415, "OrganizationChatbotPkColumnsInput!"], + _set: [372], + where: [362, "N8nCredentialsBoolExp!"], }, ], - updateOrganizationChatbotMany: [ - 412, + updateN8nCredentialsByPk: [ + 359, { - updates: [431, "[OrganizationChatbotUpdates!]!"], + _set: [372], + pkColumns: [370, "N8nCredentialsPkColumnsInput!"], }, ], - updateOrganizationMany: [ - 444, + updateN8nCredentialsMany: [ + 367, { - updates: [454, "[OrganizationUpdates!]!"], + updates: [376, "[N8nCredentialsUpdates!]!"], }, ], updatePreference: [ - 471, + 395, { - _inc: [465], - _set: [479], - where: [463, "PreferenceBoolExp!"], + _inc: [389], + _set: [403], + where: [387, "PreferenceBoolExp!"], }, ], updatePreferenceByPk: [ - 455, + 379, { - _inc: [465], - _set: [479], - pkColumns: [475, "PreferencePkColumnsInput!"], + _inc: [389], + _set: [403], + pkColumns: [399, "PreferencePkColumnsInput!"], }, ], updatePreferenceMany: [ - 471, + 395, { - updates: [491, "[PreferenceUpdates!]!"], + updates: [415, "[PreferenceUpdates!]!"], }, ], updatePrompt: [ - 554, + 478, { - _inc: [548], - _set: [560], - where: [506, "PromptBoolExp!"], + _inc: [472], + _set: [484], + where: [430, "PromptBoolExp!"], }, ], updatePromptByPk: [ - 498, + 422, { - _inc: [548], - _set: [560], - pkColumns: [558, "PromptPkColumnsInput!"], + _inc: [472], + _set: [484], + pkColumns: [482, "PromptPkColumnsInput!"], }, ], updatePromptChatbot: [ - 523, + 447, { - _inc: [517], - _set: [528], - where: [515, "PromptChatbotBoolExp!"], + _inc: [441], + _set: [452], + where: [439, "PromptChatbotBoolExp!"], }, ], updatePromptChatbotByPk: [ - 507, + 431, { - _inc: [517], - _set: [528], - pkColumns: [526, "PromptChatbotPkColumnsInput!"], + _inc: [441], + _set: [452], + pkColumns: [450, "PromptChatbotPkColumnsInput!"], }, ], updatePromptChatbotMany: [ - 523, + 447, { - updates: [540, "[PromptChatbotUpdates!]!"], + updates: [464, "[PromptChatbotUpdates!]!"], }, ], updatePromptMany: [ - 554, + 478, { - updates: [591, "[PromptUpdates!]!"], + updates: [515, "[PromptUpdates!]!"], }, ], updatePromptTypeEnum: [ - 579, + 503, { - _set: [585], - where: [574, "PromptTypeEnumBoolExp!"], + _set: [509], + where: [498, "PromptTypeEnumBoolExp!"], }, ], updatePromptTypeEnumByPk: [ - 571, + 495, { - _set: [585], - pkColumns: [583, "PromptTypeEnumPkColumnsInput!"], + _set: [509], + pkColumns: [507, "PromptTypeEnumPkColumnsInput!"], }, ], updatePromptTypeEnumMany: [ - 579, + 503, { - updates: [589, "[PromptTypeEnumUpdates!]!"], + updates: [513, "[PromptTypeEnumUpdates!]!"], }, ], updatePromptUser: [ - 608, + 532, { - _inc: [602], - _set: [613], - where: [600, "PromptUserBoolExp!"], + _inc: [526], + _set: [537], + where: [524, "PromptUserBoolExp!"], }, ], updatePromptUserByPk: [ - 592, + 516, { - _inc: [602], - _set: [613], - pkColumns: [611, "PromptUserPkColumnsInput!"], + _inc: [526], + _set: [537], + pkColumns: [535, "PromptUserPkColumnsInput!"], }, ], updatePromptUserMany: [ - 608, + 532, { - updates: [625, "[PromptUserUpdates!]!"], + updates: [549, "[PromptUserUpdates!]!"], }, ], updateReferral: [ - 651, + 575, { - _set: [656], - where: [644, "ReferralBoolExp!"], + _set: [580], + where: [568, "ReferralBoolExp!"], }, ], updateReferralByPk: [ - 638, + 562, { - _set: [656], - pkColumns: [654, "ReferralPkColumnsInput!"], + _set: [580], + pkColumns: [578, "ReferralPkColumnsInput!"], }, ], updateReferralMany: [ - 651, + 575, { - updates: [660, "[ReferralUpdates!]!"], + updates: [584, "[ReferralUpdates!]!"], }, ], updateSocialFollowing: [ - 676, + 600, { - _inc: [670], - _set: [679], - where: [669, "SocialFollowingBoolExp!"], + _inc: [594], + _set: [603], + where: [593, "SocialFollowingBoolExp!"], }, ], updateSocialFollowingMany: [ - 676, + 600, { - updates: [690, "[SocialFollowingUpdates!]!"], + updates: [614, "[SocialFollowingUpdates!]!"], }, ], updateSubcategoryEnum: [ - 713, + 637, { - _set: [719], - where: [706, "SubcategoryEnumBoolExp!"], + _set: [643], + where: [630, "SubcategoryEnumBoolExp!"], }, ], updateSubcategoryEnumByPk: [ - 700, + 624, { - _set: [719], - pkColumns: [717, "SubcategoryEnumPkColumnsInput!"], + _set: [643], + pkColumns: [641, "SubcategoryEnumPkColumnsInput!"], }, ], updateSubcategoryEnumMany: [ - 713, + 637, { - updates: [723, "[SubcategoryEnumUpdates!]!"], + updates: [647, "[SubcategoryEnumUpdates!]!"], }, ], updateTagEnum: [ - 740, + 664, { - _inc: [734], - _set: [745], - where: [732, "TagEnumBoolExp!"], + _inc: [658], + _set: [669], + where: [656, "TagEnumBoolExp!"], }, ], updateTagEnumByPk: [ - 724, + 648, { - _inc: [734], - _set: [745], - pkColumns: [743, "TagEnumPkColumnsInput!"], + _inc: [658], + _set: [669], + pkColumns: [667, "TagEnumPkColumnsInput!"], }, ], updateTagEnumMany: [ - 740, + 664, { - updates: [757, "[TagEnumUpdates!]!"], + updates: [681, "[TagEnumUpdates!]!"], }, ], updateThread: [ - 784, + 708, { - _append: [769], - _deleteAtPath: [775], - _deleteElem: [776], - _deleteKey: [777], - _inc: [778], - _prepend: [789], - _set: [793], - where: [773, "ThreadBoolExp!"], + _append: [693], + _deleteAtPath: [699], + _deleteElem: [700], + _deleteKey: [701], + _inc: [702], + _prepend: [713], + _set: [717], + where: [697, "ThreadBoolExp!"], }, ], updateThreadByPk: [ - 764, + 688, { - _append: [769], - _deleteAtPath: [775], - _deleteElem: [776], - _deleteKey: [777], - _inc: [778], - _prepend: [789], - _set: [793], - pkColumns: [788, "ThreadPkColumnsInput!"], + _append: [693], + _deleteAtPath: [699], + _deleteElem: [700], + _deleteKey: [701], + _inc: [702], + _prepend: [713], + _set: [717], + pkColumns: [712, "ThreadPkColumnsInput!"], }, ], updateThreadMany: [ - 784, + 708, { - updates: [805, "[ThreadUpdates!]!"], + updates: [729, "[ThreadUpdates!]!"], }, ], updateToken: [ - 821, + 745, { - _set: [827], - where: [816, "TokenBoolExp!"], + _set: [751], + where: [740, "TokenBoolExp!"], }, ], updateTokenByPk: [ - 813, + 737, { - _set: [827], - pkColumns: [825, "TokenPkColumnsInput!"], + _set: [751], + pkColumns: [749, "TokenPkColumnsInput!"], }, ], updateTokenMany: [ - 821, + 745, { - updates: [831, "[TokenUpdates!]!"], + updates: [755, "[TokenUpdates!]!"], }, ], updateToneEnum: [ - 840, + 764, { - _set: [846], - where: [835, "ToneEnumBoolExp!"], + _set: [770], + where: [759, "ToneEnumBoolExp!"], }, ], updateToneEnumByPk: [ - 832, + 756, { - _set: [846], - pkColumns: [844, "ToneEnumPkColumnsInput!"], + _set: [770], + pkColumns: [768, "ToneEnumPkColumnsInput!"], }, ], updateToneEnumMany: [ - 840, + 764, { - updates: [850, "[ToneEnumUpdates!]!"], + updates: [774, "[ToneEnumUpdates!]!"], }, ], updateTypeEnum: [ - 859, + 783, { - _set: [865], - where: [854, "TypeEnumBoolExp!"], + _set: [789], + where: [778, "TypeEnumBoolExp!"], }, ], updateTypeEnumByPk: [ - 851, + 775, { - _set: [865], - pkColumns: [863, "TypeEnumPkColumnsInput!"], + _set: [789], + pkColumns: [787, "TypeEnumPkColumnsInput!"], }, ], updateTypeEnumMany: [ - 859, + 783, { - updates: [869, "[TypeEnumUpdates!]!"], + updates: [793, "[TypeEnumUpdates!]!"], }, ], updateUser: [ - 878, + 802, { - _set: [885], - where: [873, "UserBoolExp!"], + _set: [827], + where: [797, "UserBoolExp!"], }, ], updateUserByPk: [ - 870, + 794, { - _set: [885], - pkColumns: [882, "UserPkColumnsInput!"], + _set: [827], + pkColumns: [824, "UserPkColumnsInput!"], }, ], updateUserMany: [ - 878, + 802, + { + updates: [854, "[UserUpdates!]!"], + }, + ], + updateUserOauthConnections: [ + 811, + { + _set: [816], + where: [806, "UserOauthConnectionsBoolExp!"], + }, + ], + updateUserOauthConnectionsByPk: [ + 803, { - updates: [912, "[UserUpdates!]!"], + _set: [816], + pkColumns: [814, "UserOauthConnectionsPkColumnsInput!"], + }, + ], + updateUserOauthConnectionsMany: [ + 811, + { + updates: [820, "[UserOauthConnectionsUpdates!]!"], }, ], updateUserToken: [ - 901, + 843, { - _set: [906], - where: [894, "UserTokenBoolExp!"], + _set: [848], + where: [836, "UserTokenBoolExp!"], }, ], updateUserTokenByPk: [ - 888, + 830, { - _set: [906], - pkColumns: [904, "UserTokenPkColumnsInput!"], + _set: [848], + pkColumns: [846, "UserTokenPkColumnsInput!"], }, ], updateUserTokenMany: [ - 901, + 843, + { + updates: [852, "[UserTokenUpdates!]!"], + }, + ], + updateUserWorkflows: [ + 863, + { + _set: [868], + where: [858, "UserWorkflowsBoolExp!"], + }, + ], + updateUserWorkflowsByPk: [ + 855, { - updates: [910, "[UserTokenUpdates!]!"], + _set: [868], + pkColumns: [866, "UserWorkflowsPkColumnsInput!"], }, ], - __typename: [697], + updateUserWorkflowsMany: [ + 863, + { + updates: [872, "[UserWorkflowsUpdates!]!"], + }, + ], + __typename: [621], }, Subscription: { category: [ 2, { distinctOn: [41, "[CategorySelectColumn!]"], - limit: [273], - offset: [273], + limit: [245], + offset: [245], orderBy: [39, "[CategoryOrderBy!]"], where: [6], }, @@ -9092,8 +8849,8 @@ export default { 3, { distinctOn: [41, "[CategorySelectColumn!]"], - limit: [273], - offset: [273], + limit: [245], + offset: [245], orderBy: [39, "[CategoryOrderBy!]"], where: [6], }, @@ -9101,15 +8858,15 @@ export default { categoryByPk: [ 2, { - categoryId: [273, "Int!"], + categoryId: [245, "Int!"], }, ], categoryEnum: [ 8, { distinctOn: [26, "[CategoryEnumSelectColumn!]"], - limit: [273], - offset: [273], + limit: [245], + offset: [245], orderBy: [24, "[CategoryEnumOrderBy!]"], where: [14], }, @@ -9118,8 +8875,8 @@ export default { 9, { distinctOn: [26, "[CategoryEnumSelectColumn!]"], - limit: [273], - offset: [273], + limit: [245], + offset: [245], orderBy: [24, "[CategoryEnumOrderBy!]"], where: [14], }, @@ -9127,14 +8884,14 @@ export default { categoryEnumByPk: [ 8, { - domain: [697, "String!"], - name: [697, "String!"], + domain: [621, "String!"], + name: [621, "String!"], }, ], categoryEnumStream: [ 8, { - batchSize: [273, "Int!"], + batchSize: [245, "Int!"], cursor: [28, "[CategoryEnumStreamCursorInput]!"], where: [14], }, @@ -9142,7 +8899,7 @@ export default { categoryStream: [ 2, { - batchSize: [273, "Int!"], + batchSize: [245, "Int!"], cursor: [46, "[CategoryStreamCursorInput]!"], where: [6], }, @@ -9151,8 +8908,8 @@ export default { 54, { distinctOn: [155, "[ChatbotSelectColumn!]"], - limit: [273], - offset: [273], + limit: [245], + offset: [245], orderBy: [153, "[ChatbotOrderBy!]"], where: [62], }, @@ -9161,8 +8918,8 @@ export default { 55, { distinctOn: [155, "[ChatbotSelectColumn!]"], - limit: [273], - offset: [273], + limit: [245], + offset: [245], orderBy: [153, "[ChatbotOrderBy!]"], where: [62], }, @@ -9170,15 +8927,15 @@ export default { chatbotByPk: [ 54, { - chatbotId: [273, "Int!"], + chatbotId: [245, "Int!"], }, ], chatbotCategory: [ 63, { distinctOn: [83, "[ChatbotCategorySelectColumn!]"], - limit: [273], - offset: [273], + limit: [245], + offset: [245], orderBy: [81, "[ChatbotCategoryOrderBy!]"], where: [71], }, @@ -9187,8 +8944,8 @@ export default { 64, { distinctOn: [83, "[ChatbotCategorySelectColumn!]"], - limit: [273], - offset: [273], + limit: [245], + offset: [245], orderBy: [81, "[ChatbotCategoryOrderBy!]"], where: [71], }, @@ -9196,14 +8953,14 @@ export default { chatbotCategoryByPk: [ 63, { - categoryId: [273, "Int!"], - chatbotId: [273, "Int!"], + categoryId: [245, "Int!"], + chatbotId: [245, "Int!"], }, ], chatbotCategoryStream: [ 63, { - batchSize: [273, "Int!"], + batchSize: [245, "Int!"], cursor: [91, "[ChatbotCategoryStreamCursorInput]!"], where: [71], }, @@ -9212,8 +8969,8 @@ export default { 104, { distinctOn: [124, "[ChatbotDomainSelectColumn!]"], - limit: [273], - offset: [273], + limit: [245], + offset: [245], orderBy: [122, "[ChatbotDomainOrderBy!]"], where: [112], }, @@ -9222,8 +8979,8 @@ export default { 105, { distinctOn: [124, "[ChatbotDomainSelectColumn!]"], - limit: [273], - offset: [273], + limit: [245], + offset: [245], orderBy: [122, "[ChatbotDomainOrderBy!]"], where: [112], }, @@ -9231,14 +8988,14 @@ export default { chatbotDomainByPk: [ 104, { - chatbotId: [273, "Int!"], - domainName: [697, "String!"], + chatbotId: [245, "Int!"], + domainName: [621, "String!"], }, ], chatbotDomainStream: [ 104, { - batchSize: [273, "Int!"], + batchSize: [245, "Int!"], cursor: [132, "[ChatbotDomainStreamCursorInput]!"], where: [112], }, @@ -9246,7 +9003,7 @@ export default { chatbotStream: [ 54, { - batchSize: [273, "Int!"], + batchSize: [245, "Int!"], cursor: [165, "[ChatbotStreamCursorInput]!"], where: [62], }, @@ -9255,8 +9012,8 @@ export default { 177, { distinctOn: [190, "[ComplexityEnumSelectColumn!]"], - limit: [273], - offset: [273], + limit: [245], + offset: [245], orderBy: [188, "[ComplexityEnumOrderBy!]"], where: [180], }, @@ -9265,8 +9022,8 @@ export default { 178, { distinctOn: [190, "[ComplexityEnumSelectColumn!]"], - limit: [273], - offset: [273], + limit: [245], + offset: [245], orderBy: [188, "[ComplexityEnumOrderBy!]"], where: [180], }, @@ -9274,870 +9031,869 @@ export default { complexityEnumByPk: [ 177, { - value: [697, "String!"], + value: [621, "String!"], }, ], complexityEnumStream: [ 177, { - batchSize: [273, "Int!"], + batchSize: [245, "Int!"], cursor: [192, "[ComplexityEnumStreamCursorInput]!"], where: [180], }, ], - department: [ - 197, - { - distinctOn: [212, "[DepartmentSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [210, "[DepartmentOrderBy!]"], - where: [201], - }, - ], - departmentAggregate: [ - 198, - { - distinctOn: [212, "[DepartmentSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [210, "[DepartmentOrderBy!]"], - where: [201], - }, - ], - departmentByPk: [ - 197, - { - departmentId: [273, "Int!"], - }, - ], - departmentStream: [ - 197, - { - batchSize: [273, "Int!"], - cursor: [217, "[DepartmentStreamCursorInput]!"], - where: [201], - }, - ], domainEnum: [ - 225, + 197, { - distinctOn: [238, "[DomainEnumSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [236, "[DomainEnumOrderBy!]"], - where: [228], + distinctOn: [210, "[DomainEnumSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [208, "[DomainEnumOrderBy!]"], + where: [200], }, ], domainEnumAggregate: [ - 226, + 198, { - distinctOn: [238, "[DomainEnumSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [236, "[DomainEnumOrderBy!]"], - where: [228], + distinctOn: [210, "[DomainEnumSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [208, "[DomainEnumOrderBy!]"], + where: [200], }, ], domainEnumByPk: [ - 225, + 197, { - name: [697, "String!"], + name: [621, "String!"], }, ], domainEnumStream: [ - 225, + 197, { - batchSize: [273, "Int!"], - cursor: [240, "[DomainEnumStreamCursorInput]!"], - where: [228], + batchSize: [245, "Int!"], + cursor: [212, "[DomainEnumStreamCursorInput]!"], + where: [200], }, ], example: [ - 244, + 216, { - distinctOn: [266, "[ExampleSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [263, "[ExampleOrderBy!]"], - where: [251], + distinctOn: [238, "[ExampleSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [235, "[ExampleOrderBy!]"], + where: [223], }, ], exampleAggregate: [ - 245, + 217, { - distinctOn: [266, "[ExampleSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [263, "[ExampleOrderBy!]"], - where: [251], + distinctOn: [238, "[ExampleSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [235, "[ExampleOrderBy!]"], + where: [223], }, ], exampleByPk: [ - 244, + 216, { - exampleId: [948, "uuid!"], + exampleId: [904, "uuid!"], }, ], exampleStream: [ - 244, + 216, { - batchSize: [273, "Int!"], - cursor: [268, "[ExampleStreamCursorInput]!"], - where: [251], + batchSize: [245, "Int!"], + cursor: [240, "[ExampleStreamCursorInput]!"], + where: [223], }, ], lengthEnum: [ - 277, + 249, { - distinctOn: [290, "[LengthEnumSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [288, "[LengthEnumOrderBy!]"], - where: [280], + distinctOn: [262, "[LengthEnumSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [260, "[LengthEnumOrderBy!]"], + where: [252], }, ], lengthEnumAggregate: [ - 278, + 250, { - distinctOn: [290, "[LengthEnumSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [288, "[LengthEnumOrderBy!]"], - where: [280], + distinctOn: [262, "[LengthEnumSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [260, "[LengthEnumOrderBy!]"], + where: [252], }, ], lengthEnumByPk: [ - 277, + 249, { - value: [697, "String!"], + value: [621, "String!"], }, ], lengthEnumStream: [ - 277, + 249, { - batchSize: [273, "Int!"], - cursor: [292, "[LengthEnumStreamCursorInput]!"], - where: [280], + batchSize: [245, "Int!"], + cursor: [264, "[LengthEnumStreamCursorInput]!"], + where: [252], }, ], message: [ - 296, + 268, { - distinctOn: [319, "[MessageSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [316, "[MessageOrderBy!]"], - where: [303], + distinctOn: [291, "[MessageSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [288, "[MessageOrderBy!]"], + where: [275], }, ], messageAggregate: [ - 297, + 269, { - distinctOn: [319, "[MessageSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [316, "[MessageOrderBy!]"], - where: [303], + distinctOn: [291, "[MessageSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [288, "[MessageOrderBy!]"], + where: [275], }, ], messageByPk: [ - 296, + 268, { - messageId: [948, "uuid!"], - slug: [697, "String!"], + messageId: [904, "uuid!"], + slug: [621, "String!"], }, ], messageStream: [ - 296, + 268, { - batchSize: [273, "Int!"], - cursor: [323, "[MessageStreamCursorInput]!"], - where: [303], + batchSize: [245, "Int!"], + cursor: [295, "[MessageStreamCursorInput]!"], + where: [275], }, ], messageTypeEnum: [ - 325, + 297, { - distinctOn: [338, "[MessageTypeEnumSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [336, "[MessageTypeEnumOrderBy!]"], - where: [328], + distinctOn: [310, "[MessageTypeEnumSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [308, "[MessageTypeEnumOrderBy!]"], + where: [300], }, ], messageTypeEnumAggregate: [ - 326, + 298, { - distinctOn: [338, "[MessageTypeEnumSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [336, "[MessageTypeEnumOrderBy!]"], - where: [328], + distinctOn: [310, "[MessageTypeEnumSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [308, "[MessageTypeEnumOrderBy!]"], + where: [300], }, ], messageTypeEnumByPk: [ - 325, + 297, { - value: [697, "String!"], + value: [621, "String!"], }, ], messageTypeEnumStream: [ - 325, + 297, { - batchSize: [273, "Int!"], - cursor: [340, "[MessageTypeEnumStreamCursorInput]!"], - where: [328], + batchSize: [245, "Int!"], + cursor: [312, "[MessageTypeEnumStreamCursorInput]!"], + where: [300], }, ], models: [ - 347, + 319, { - distinctOn: [381, "[ModelsSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [379, "[ModelsOrderBy!]"], - where: [350], + distinctOn: [353, "[ModelsSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [351, "[ModelsOrderBy!]"], + where: [322], }, ], modelsAggregate: [ - 348, + 320, { - distinctOn: [381, "[ModelsSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [379, "[ModelsOrderBy!]"], - where: [350], + distinctOn: [353, "[ModelsSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [351, "[ModelsOrderBy!]"], + where: [322], }, ], modelsByPk: [ - 347, + 319, { - model: [697, "String!"], + model: [621, "String!"], }, ], modelsEnum: [ - 352, + 324, { - distinctOn: [367, "[ModelsEnumSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [365, "[ModelsEnumOrderBy!]"], - where: [355], + distinctOn: [339, "[ModelsEnumSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [337, "[ModelsEnumOrderBy!]"], + where: [327], }, ], modelsEnumAggregate: [ - 353, + 325, { - distinctOn: [367, "[ModelsEnumSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [365, "[ModelsEnumOrderBy!]"], - where: [355], + distinctOn: [339, "[ModelsEnumSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [337, "[ModelsEnumOrderBy!]"], + where: [327], }, ], modelsEnumByPk: [ - 352, + 324, { - name: [697, "String!"], + name: [621, "String!"], }, ], modelsEnumStream: [ - 352, + 324, { - batchSize: [273, "Int!"], - cursor: [369, "[ModelsEnumStreamCursorInput]!"], - where: [355], + batchSize: [245, "Int!"], + cursor: [341, "[ModelsEnumStreamCursorInput]!"], + where: [327], }, ], modelsStream: [ - 347, - { - batchSize: [273, "Int!"], - cursor: [383, "[ModelsStreamCursorInput]!"], - where: [350], - }, - ], - organization: [ - 389, - { - distinctOn: [449, "[OrganizationSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [447, "[OrganizationOrderBy!]"], - where: [395], - }, - ], - organizationAggregate: [ - 390, - { - distinctOn: [449, "[OrganizationSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [447, "[OrganizationOrderBy!]"], - where: [395], - }, - ], - organizationByPk: [ - 389, - { - organizationId: [948, "uuid!"], - }, - ], - organizationChatbot: [ - 396, + 319, { - distinctOn: [416, "[OrganizationChatbotSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [414, "[OrganizationChatbotOrderBy!]"], - where: [404], + batchSize: [245, "Int!"], + cursor: [355, "[ModelsStreamCursorInput]!"], + where: [322], }, ], - organizationChatbotAggregate: [ - 397, + n8nCredentials: [ + 359, { - distinctOn: [416, "[OrganizationChatbotSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [414, "[OrganizationChatbotOrderBy!]"], - where: [404], + distinctOn: [371, "[N8nCredentialsSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [369, "[N8nCredentialsOrderBy!]"], + where: [362], }, ], - organizationChatbotByPk: [ - 396, + n8nCredentialsAggregate: [ + 360, { - chatbotId: [273, "Int!"], - organizationId: [948, "uuid!"], + distinctOn: [371, "[N8nCredentialsSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [369, "[N8nCredentialsOrderBy!]"], + where: [362], }, ], - organizationChatbotStream: [ - 396, + n8nCredentialsByPk: [ + 359, { - batchSize: [273, "Int!"], - cursor: [426, "[OrganizationChatbotStreamCursorInput]!"], - where: [404], + id: [904, "uuid!"], }, ], - organizationStream: [ - 389, + n8nCredentialsStream: [ + 359, { - batchSize: [273, "Int!"], - cursor: [451, "[OrganizationStreamCursorInput]!"], - where: [395], + batchSize: [245, "Int!"], + cursor: [373, "[N8nCredentialsStreamCursorInput]!"], + where: [362], }, ], preference: [ - 455, + 379, { - distinctOn: [476, "[PreferenceSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [474, "[PreferenceOrderBy!]"], - where: [463], + distinctOn: [400, "[PreferenceSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [398, "[PreferenceOrderBy!]"], + where: [387], }, ], preferenceAggregate: [ - 456, + 380, { - distinctOn: [476, "[PreferenceSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [474, "[PreferenceOrderBy!]"], - where: [463], + distinctOn: [400, "[PreferenceSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [398, "[PreferenceOrderBy!]"], + where: [387], }, ], preferenceByPk: [ - 455, + 379, { - preferenceId: [273, "Int!"], + preferenceId: [245, "Int!"], }, ], preferenceStream: [ - 455, + 379, { - batchSize: [273, "Int!"], - cursor: [486, "[PreferenceStreamCursorInput]!"], - where: [463], + batchSize: [245, "Int!"], + cursor: [410, "[PreferenceStreamCursorInput]!"], + where: [387], }, ], prompt: [ - 498, + 422, { - distinctOn: [559, "[PromptSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [557, "[PromptOrderBy!]"], - where: [506], + distinctOn: [483, "[PromptSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [481, "[PromptOrderBy!]"], + where: [430], }, ], promptAggregate: [ - 499, + 423, { - distinctOn: [559, "[PromptSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [557, "[PromptOrderBy!]"], - where: [506], + distinctOn: [483, "[PromptSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [481, "[PromptOrderBy!]"], + where: [430], }, ], promptByPk: [ - 498, + 422, { - promptId: [273, "Int!"], + promptId: [245, "Int!"], }, ], promptChatbot: [ - 507, + 431, { - distinctOn: [527, "[PromptChatbotSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [525, "[PromptChatbotOrderBy!]"], - where: [515], + distinctOn: [451, "[PromptChatbotSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [449, "[PromptChatbotOrderBy!]"], + where: [439], }, ], promptChatbotAggregate: [ - 508, + 432, { - distinctOn: [527, "[PromptChatbotSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [525, "[PromptChatbotOrderBy!]"], - where: [515], + distinctOn: [451, "[PromptChatbotSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [449, "[PromptChatbotOrderBy!]"], + where: [439], }, ], promptChatbotByPk: [ - 507, + 431, { - chabotId: [273, "Int!"], - promptId: [273, "Int!"], + chabotId: [245, "Int!"], + promptId: [245, "Int!"], }, ], promptChatbotStream: [ - 507, + 431, { - batchSize: [273, "Int!"], - cursor: [535, "[PromptChatbotStreamCursorInput]!"], - where: [515], + batchSize: [245, "Int!"], + cursor: [459, "[PromptChatbotStreamCursorInput]!"], + where: [439], }, ], promptStream: [ - 498, + 422, { - batchSize: [273, "Int!"], - cursor: [567, "[PromptStreamCursorInput]!"], - where: [506], + batchSize: [245, "Int!"], + cursor: [491, "[PromptStreamCursorInput]!"], + where: [430], }, ], promptTypeEnum: [ - 571, + 495, { - distinctOn: [584, "[PromptTypeEnumSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [582, "[PromptTypeEnumOrderBy!]"], - where: [574], + distinctOn: [508, "[PromptTypeEnumSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [506, "[PromptTypeEnumOrderBy!]"], + where: [498], }, ], promptTypeEnumAggregate: [ - 572, + 496, { - distinctOn: [584, "[PromptTypeEnumSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [582, "[PromptTypeEnumOrderBy!]"], - where: [574], + distinctOn: [508, "[PromptTypeEnumSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [506, "[PromptTypeEnumOrderBy!]"], + where: [498], }, ], promptTypeEnumByPk: [ - 571, + 495, { - value: [697, "String!"], + value: [621, "String!"], }, ], promptTypeEnumStream: [ - 571, + 495, { - batchSize: [273, "Int!"], - cursor: [586, "[PromptTypeEnumStreamCursorInput]!"], - where: [574], + batchSize: [245, "Int!"], + cursor: [510, "[PromptTypeEnumStreamCursorInput]!"], + where: [498], }, ], promptUser: [ - 592, + 516, { - distinctOn: [612, "[PromptUserSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [610, "[PromptUserOrderBy!]"], - where: [600], + distinctOn: [536, "[PromptUserSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [534, "[PromptUserOrderBy!]"], + where: [524], }, ], promptUserAggregate: [ - 593, + 517, { - distinctOn: [612, "[PromptUserSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [610, "[PromptUserOrderBy!]"], - where: [600], + distinctOn: [536, "[PromptUserSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [534, "[PromptUserOrderBy!]"], + where: [524], }, ], promptUserByPk: [ - 592, + 516, { - promptId: [273, "Int!"], - userId: [948, "uuid!"], + promptId: [245, "Int!"], + userId: [904, "uuid!"], }, ], promptUserStream: [ - 592, + 516, { - batchSize: [273, "Int!"], - cursor: [620, "[PromptUserStreamCursorInput]!"], - where: [600], + batchSize: [245, "Int!"], + cursor: [544, "[PromptUserStreamCursorInput]!"], + where: [524], }, ], referral: [ - 638, + 562, { - distinctOn: [655, "[ReferralSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [653, "[ReferralOrderBy!]"], - where: [644], + distinctOn: [579, "[ReferralSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [577, "[ReferralOrderBy!]"], + where: [568], }, ], referralAggregate: [ - 639, + 563, { - distinctOn: [655, "[ReferralSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [653, "[ReferralOrderBy!]"], - where: [644], + distinctOn: [579, "[ReferralSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [577, "[ReferralOrderBy!]"], + where: [568], }, ], referralByPk: [ - 638, + 562, { - referralCode: [697, "String!"], + referralCode: [621, "String!"], }, ], referralStream: [ - 638, + 562, { - batchSize: [273, "Int!"], - cursor: [657, "[ReferralStreamCursorInput]!"], - where: [644], + batchSize: [245, "Int!"], + cursor: [581, "[ReferralStreamCursorInput]!"], + where: [568], }, ], socialFollowing: [ - 661, + 585, { - distinctOn: [678, "[SocialFollowingSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [677, "[SocialFollowingOrderBy!]"], - where: [669], + distinctOn: [602, "[SocialFollowingSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [601, "[SocialFollowingOrderBy!]"], + where: [593], }, ], socialFollowingAggregate: [ - 662, + 586, { - distinctOn: [678, "[SocialFollowingSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [677, "[SocialFollowingOrderBy!]"], - where: [669], + distinctOn: [602, "[SocialFollowingSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [601, "[SocialFollowingOrderBy!]"], + where: [593], }, ], socialFollowingStream: [ - 661, + 585, { - batchSize: [273, "Int!"], - cursor: [686, "[SocialFollowingStreamCursorInput]!"], - where: [669], + batchSize: [245, "Int!"], + cursor: [610, "[SocialFollowingStreamCursorInput]!"], + where: [593], }, ], subcategoryEnum: [ - 700, + 624, { - distinctOn: [718, "[SubcategoryEnumSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [716, "[SubcategoryEnumOrderBy!]"], - where: [706], + distinctOn: [642, "[SubcategoryEnumSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [640, "[SubcategoryEnumOrderBy!]"], + where: [630], }, ], subcategoryEnumAggregate: [ - 701, + 625, { - distinctOn: [718, "[SubcategoryEnumSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [716, "[SubcategoryEnumOrderBy!]"], - where: [706], + distinctOn: [642, "[SubcategoryEnumSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [640, "[SubcategoryEnumOrderBy!]"], + where: [630], }, ], subcategoryEnumByPk: [ - 700, + 624, { - category: [697, "String!"], - domain: [697, "String!"], - name: [697, "String!"], + category: [621, "String!"], + domain: [621, "String!"], + name: [621, "String!"], }, ], subcategoryEnumStream: [ - 700, + 624, { - batchSize: [273, "Int!"], - cursor: [720, "[SubcategoryEnumStreamCursorInput]!"], - where: [706], + batchSize: [245, "Int!"], + cursor: [644, "[SubcategoryEnumStreamCursorInput]!"], + where: [630], }, ], tagEnum: [ - 724, + 648, { - distinctOn: [744, "[TagEnumSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [742, "[TagEnumOrderBy!]"], - where: [732], + distinctOn: [668, "[TagEnumSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [666, "[TagEnumOrderBy!]"], + where: [656], }, ], tagEnumAggregate: [ - 725, + 649, { - distinctOn: [744, "[TagEnumSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [742, "[TagEnumOrderBy!]"], - where: [732], + distinctOn: [668, "[TagEnumSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [666, "[TagEnumOrderBy!]"], + where: [656], }, ], tagEnumByPk: [ - 724, + 648, { - tagId: [948, "uuid!"], + tagId: [904, "uuid!"], }, ], tagEnumStream: [ - 724, + 648, { - batchSize: [273, "Int!"], - cursor: [752, "[TagEnumStreamCursorInput]!"], - where: [732], + batchSize: [245, "Int!"], + cursor: [676, "[TagEnumStreamCursorInput]!"], + where: [656], }, ], thread: [ - 764, + 688, { - distinctOn: [790, "[ThreadSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [787, "[ThreadOrderBy!]"], - where: [773], + distinctOn: [714, "[ThreadSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [711, "[ThreadOrderBy!]"], + where: [697], }, ], threadAggregate: [ - 765, + 689, { - distinctOn: [790, "[ThreadSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [787, "[ThreadOrderBy!]"], - where: [773], + distinctOn: [714, "[ThreadSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [711, "[ThreadOrderBy!]"], + where: [697], }, ], threadByPk: [ - 764, + 688, { - slug: [697, "String!"], - threadId: [948, "uuid!"], + slug: [621, "String!"], + threadId: [904, "uuid!"], }, ], threadStream: [ - 764, + 688, { - batchSize: [273, "Int!"], - cursor: [800, "[ThreadStreamCursorInput]!"], - where: [773], + batchSize: [245, "Int!"], + cursor: [724, "[ThreadStreamCursorInput]!"], + where: [697], }, ], token: [ - 813, + 737, { - distinctOn: [826, "[TokenSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [824, "[TokenOrderBy!]"], - where: [816], + distinctOn: [750, "[TokenSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [748, "[TokenOrderBy!]"], + where: [740], }, ], tokenAggregate: [ - 814, + 738, { - distinctOn: [826, "[TokenSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [824, "[TokenOrderBy!]"], - where: [816], + distinctOn: [750, "[TokenSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [748, "[TokenOrderBy!]"], + where: [740], }, ], tokenByPk: [ - 813, + 737, { - token: [697, "String!"], + token: [621, "String!"], }, ], tokenStream: [ - 813, + 737, { - batchSize: [273, "Int!"], - cursor: [828, "[TokenStreamCursorInput]!"], - where: [816], + batchSize: [245, "Int!"], + cursor: [752, "[TokenStreamCursorInput]!"], + where: [740], }, ], toneEnum: [ - 832, + 756, { - distinctOn: [845, "[ToneEnumSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [843, "[ToneEnumOrderBy!]"], - where: [835], + distinctOn: [769, "[ToneEnumSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [767, "[ToneEnumOrderBy!]"], + where: [759], }, ], toneEnumAggregate: [ - 833, + 757, { - distinctOn: [845, "[ToneEnumSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [843, "[ToneEnumOrderBy!]"], - where: [835], + distinctOn: [769, "[ToneEnumSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [767, "[ToneEnumOrderBy!]"], + where: [759], }, ], toneEnumByPk: [ - 832, + 756, { - value: [697, "String!"], + value: [621, "String!"], }, ], toneEnumStream: [ - 832, + 756, { - batchSize: [273, "Int!"], - cursor: [847, "[ToneEnumStreamCursorInput]!"], - where: [835], + batchSize: [245, "Int!"], + cursor: [771, "[ToneEnumStreamCursorInput]!"], + where: [759], }, ], typeEnum: [ - 851, + 775, { - distinctOn: [864, "[TypeEnumSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [862, "[TypeEnumOrderBy!]"], - where: [854], + distinctOn: [788, "[TypeEnumSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [786, "[TypeEnumOrderBy!]"], + where: [778], }, ], typeEnumAggregate: [ - 852, + 776, { - distinctOn: [864, "[TypeEnumSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [862, "[TypeEnumOrderBy!]"], - where: [854], + distinctOn: [788, "[TypeEnumSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [786, "[TypeEnumOrderBy!]"], + where: [778], }, ], typeEnumByPk: [ - 851, + 775, { - value: [697, "String!"], + value: [621, "String!"], }, ], typeEnumStream: [ - 851, + 775, { - batchSize: [273, "Int!"], - cursor: [866, "[TypeEnumStreamCursorInput]!"], - where: [854], + batchSize: [245, "Int!"], + cursor: [790, "[TypeEnumStreamCursorInput]!"], + where: [778], }, ], user: [ - 870, + 794, { - distinctOn: [884, "[UserSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [881, "[UserOrderBy!]"], - where: [873], + distinctOn: [826, "[UserSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [823, "[UserOrderBy!]"], + where: [797], }, ], userAggregate: [ - 871, + 795, { - distinctOn: [884, "[UserSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [881, "[UserOrderBy!]"], - where: [873], + distinctOn: [826, "[UserSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [823, "[UserOrderBy!]"], + where: [797], }, ], userByPk: [ - 870, + 794, + { + userId: [904, "uuid!"], + }, + ], + userOauthConnections: [ + 803, + { + distinctOn: [815, "[UserOauthConnectionsSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [813, "[UserOauthConnectionsOrderBy!]"], + where: [806], + }, + ], + userOauthConnectionsAggregate: [ + 804, { - userId: [948, "uuid!"], + distinctOn: [815, "[UserOauthConnectionsSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [813, "[UserOauthConnectionsOrderBy!]"], + where: [806], + }, + ], + userOauthConnectionsByPk: [ + 803, + { + id: [904, "uuid!"], + }, + ], + userOauthConnectionsStream: [ + 803, + { + batchSize: [245, "Int!"], + cursor: [817, "[UserOauthConnectionsStreamCursorInput]!"], + where: [806], }, ], userStream: [ - 870, + 794, { - batchSize: [273, "Int!"], - cursor: [886, "[UserStreamCursorInput]!"], - where: [873], + batchSize: [245, "Int!"], + cursor: [828, "[UserStreamCursorInput]!"], + where: [797], }, ], userToken: [ - 888, + 830, { - distinctOn: [905, "[UserTokenSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [903, "[UserTokenOrderBy!]"], - where: [894], + distinctOn: [847, "[UserTokenSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [845, "[UserTokenOrderBy!]"], + where: [836], }, ], userTokenAggregate: [ - 889, + 831, { - distinctOn: [905, "[UserTokenSelectColumn!]"], - limit: [273], - offset: [273], - orderBy: [903, "[UserTokenOrderBy!]"], - where: [894], + distinctOn: [847, "[UserTokenSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [845, "[UserTokenOrderBy!]"], + where: [836], }, ], userTokenByPk: [ - 888, + 830, { - token: [697, "String!"], - userId: [948, "uuid!"], + token: [621, "String!"], + userId: [904, "uuid!"], }, ], userTokenStream: [ - 888, + 830, + { + batchSize: [245, "Int!"], + cursor: [849, "[UserTokenStreamCursorInput]!"], + where: [836], + }, + ], + userWorkflows: [ + 855, + { + distinctOn: [867, "[UserWorkflowsSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [865, "[UserWorkflowsOrderBy!]"], + where: [858], + }, + ], + userWorkflowsAggregate: [ + 856, + { + distinctOn: [867, "[UserWorkflowsSelectColumn!]"], + limit: [245], + offset: [245], + orderBy: [865, "[UserWorkflowsOrderBy!]"], + where: [858], + }, + ], + userWorkflowsByPk: [ + 855, + { + id: [904, "uuid!"], + }, + ], + userWorkflowsStream: [ + 855, { - batchSize: [273, "Int!"], - cursor: [907, "[UserTokenStreamCursorInput]!"], - where: [894], + batchSize: [245, "Int!"], + cursor: [869, "[UserWorkflowsStreamCursorInput]!"], + where: [858], }, ], - __typename: [697], + __typename: [621], }, }, };