
/* !!! This is code generated by Prisma. Do not edit directly. !!!
/* eslint-disable */
// biome-ignore-all lint: generated file

Object.defineProperty(exports, "__esModule", { value: true });

const {
  PrismaClientKnownRequestError,
  PrismaClientUnknownRequestError,
  PrismaClientRustPanicError,
  PrismaClientInitializationError,
  PrismaClientValidationError,
  getPrismaClient,
  sqltag,
  empty,
  join,
  raw,
  skip,
  Decimal,
  Debug,
  DbNull,
  JsonNull,
  AnyNull,
  NullTypes,
  makeStrictEnum,
  Extensions,
  warnOnce,
  defineDmmfProperty,
  Public,
  getRuntime,
  createParam,
} = require('./runtime/client.js')


const Prisma = {}

exports.Prisma = Prisma
exports.$Enums = {}

/**
 * Prisma Client JS version: 7.5.0
 * Query Engine version: 280c870be64f457428992c43c1f6d557fab6e29e
 */
Prisma.prismaVersion = {
  client: "7.5.0",
  engine: "280c870be64f457428992c43c1f6d557fab6e29e"
}

Prisma.PrismaClientKnownRequestError = PrismaClientKnownRequestError;
Prisma.PrismaClientUnknownRequestError = PrismaClientUnknownRequestError
Prisma.PrismaClientRustPanicError = PrismaClientRustPanicError
Prisma.PrismaClientInitializationError = PrismaClientInitializationError
Prisma.PrismaClientValidationError = PrismaClientValidationError
Prisma.Decimal = Decimal

/**
 * Re-export of sql-template-tag
 */
Prisma.sql = sqltag
Prisma.empty = empty
Prisma.join = join
Prisma.raw = raw
Prisma.validator = Public.validator

/**
* Extensions
*/
Prisma.getExtensionContext = Extensions.getExtensionContext
Prisma.defineExtension = Extensions.defineExtension

/**
 * Shorthand utilities for JSON filtering
 */
Prisma.DbNull = DbNull
Prisma.JsonNull = JsonNull
Prisma.AnyNull = AnyNull

Prisma.NullTypes = NullTypes




  const path = require('path')

/**
 * Enums
 */
exports.Prisma.TransactionIsolationLevel = makeStrictEnum({
  Serializable: 'Serializable'
});

exports.Prisma.RunScalarFieldEnum = {
  runId: 'runId',
  workflowId: 'workflowId',
  startedAt: 'startedAt',
  finishedAt: 'finishedAt',
  status: 'status',
  revision: 'revision',
  parentJson: 'parentJson',
  executionOptionsJson: 'executionOptionsJson',
  controlJson: 'controlJson',
  workflowSnapshotJson: 'workflowSnapshotJson',
  workflowSnapshotId: 'workflowSnapshotId',
  policySnapshotJson: 'policySnapshotJson',
  engineCountersJson: 'engineCountersJson',
  mutableStateJson: 'mutableStateJson',
  hitlStateJson: 'hitlStateJson',
  outputsByNodeJson: 'outputsByNodeJson',
  updatedAt: 'updatedAt',
  testSuiteRunId: 'testSuiteRunId',
  testCaseIndex: 'testCaseIndex',
  testCaseLabel: 'testCaseLabel',
  testCaseStatus: 'testCaseStatus'
};

exports.Prisma.RunWorkItemScalarFieldEnum = {
  workItemId: 'workItemId',
  runId: 'runId',
  workflowId: 'workflowId',
  status: 'status',
  targetNodeId: 'targetNodeId',
  batchId: 'batchId',
  queueName: 'queueName',
  claimToken: 'claimToken',
  claimedBy: 'claimedBy',
  claimedAt: 'claimedAt',
  availableAt: 'availableAt',
  enqueuedAt: 'enqueuedAt',
  completedAt: 'completedAt',
  failedAt: 'failedAt',
  sourceInstanceId: 'sourceInstanceId',
  parentInstanceId: 'parentInstanceId',
  itemsIn: 'itemsIn',
  inputsByPortJson: 'inputsByPortJson',
  errorJson: 'errorJson'
};

exports.Prisma.ExecutionInstanceScalarFieldEnum = {
  instanceId: 'instanceId',
  runId: 'runId',
  workflowId: 'workflowId',
  slotNodeId: 'slotNodeId',
  workflowNodeId: 'workflowNodeId',
  kind: 'kind',
  connectionKind: 'connectionKind',
  activationId: 'activationId',
  batchId: 'batchId',
  runIndex: 'runIndex',
  parentInstanceId: 'parentInstanceId',
  parentRunId: 'parentRunId',
  workerClaimToken: 'workerClaimToken',
  status: 'status',
  queuedAt: 'queuedAt',
  startedAt: 'startedAt',
  finishedAt: 'finishedAt',
  updatedAt: 'updatedAt',
  itemCount: 'itemCount',
  inputJson: 'inputJson',
  outputJson: 'outputJson',
  errorJson: 'errorJson',
  inputItemIndicesJson: 'inputItemIndicesJson',
  outputItemCount: 'outputItemCount',
  successfulItemCount: 'successfulItemCount',
  failedItemCount: 'failedItemCount',
  inputStorageKind: 'inputStorageKind',
  outputStorageKind: 'outputStorageKind',
  inputBytes: 'inputBytes',
  outputBytes: 'outputBytes',
  inputPreviewJson: 'inputPreviewJson',
  outputPreviewJson: 'outputPreviewJson',
  inputPayloadRef: 'inputPayloadRef',
  outputPayloadRef: 'outputPayloadRef',
  inputTruncated: 'inputTruncated',
  outputTruncated: 'outputTruncated',
  usedPinnedOutput: 'usedPinnedOutput',
  iterationId: 'iterationId',
  itemIndex: 'itemIndex',
  parentInvocationId: 'parentInvocationId',
  childRunId: 'childRunId'
};

exports.Prisma.RunSlotProjectionScalarFieldEnum = {
  runId: 'runId',
  workflowId: 'workflowId',
  revision: 'revision',
  updatedAt: 'updatedAt',
  slotStatesJson: 'slotStatesJson'
};

exports.Prisma.TestSuiteRunScalarFieldEnum = {
  id: 'id',
  workflowId: 'workflowId',
  triggerNodeId: 'triggerNodeId',
  triggerNodeName: 'triggerNodeName',
  status: 'status',
  concurrency: 'concurrency',
  startedAt: 'startedAt',
  finishedAt: 'finishedAt',
  totalCases: 'totalCases',
  passedCases: 'passedCases',
  failedCases: 'failedCases',
  nodeCoverageJson: 'nodeCoverageJson',
  errorMessage: 'errorMessage',
  updatedAt: 'updatedAt'
};

exports.Prisma.TestAssertionScalarFieldEnum = {
  id: 'id',
  runId: 'runId',
  testSuiteRunId: 'testSuiteRunId',
  workflowId: 'workflowId',
  nodeId: 'nodeId',
  iterationId: 'iterationId',
  itemIndex: 'itemIndex',
  name: 'name',
  score: 'score',
  passThreshold: 'passThreshold',
  errored: 'errored',
  expectedJson: 'expectedJson',
  actualJson: 'actualJson',
  message: 'message',
  detailsJson: 'detailsJson',
  createdAt: 'createdAt'
};

exports.Prisma.WorkflowDebuggerOverlayScalarFieldEnum = {
  workflowId: 'workflowId',
  updatedAt: 'updatedAt',
  copiedFromRunId: 'copiedFromRunId',
  stateJson: 'stateJson'
};

exports.Prisma.WorkflowActivationScalarFieldEnum = {
  workflowId: 'workflowId',
  isActive: 'isActive',
  updatedAt: 'updatedAt'
};

exports.Prisma.TriggerSetupStateScalarFieldEnum = {
  workflowId: 'workflowId',
  nodeId: 'nodeId',
  updatedAt: 'updatedAt',
  stateJson: 'stateJson'
};

exports.Prisma.RunTraceContextScalarFieldEnum = {
  runId: 'runId',
  workflowId: 'workflowId',
  traceId: 'traceId',
  rootSpanId: 'rootSpanId',
  serviceName: 'serviceName',
  createdAt: 'createdAt',
  expiresAt: 'expiresAt'
};

exports.Prisma.TelemetrySpanScalarFieldEnum = {
  telemetrySpanId: 'telemetrySpanId',
  traceId: 'traceId',
  spanId: 'spanId',
  parentSpanId: 'parentSpanId',
  runId: 'runId',
  workflowId: 'workflowId',
  nodeId: 'nodeId',
  activationId: 'activationId',
  connectionInvocationId: 'connectionInvocationId',
  name: 'name',
  kind: 'kind',
  status: 'status',
  statusMessage: 'statusMessage',
  startTime: 'startTime',
  endTime: 'endTime',
  workflowFolder: 'workflowFolder',
  nodeType: 'nodeType',
  nodeRole: 'nodeRole',
  modelName: 'modelName',
  attributesJson: 'attributesJson',
  eventsJson: 'eventsJson',
  retentionExpiresAt: 'retentionExpiresAt',
  iterationId: 'iterationId',
  itemIndex: 'itemIndex',
  parentInvocationId: 'parentInvocationId',
  updatedAt: 'updatedAt'
};

exports.Prisma.WorkflowSnapshotScalarFieldEnum = {
  id: 'id',
  workflowId: 'workflowId',
  snapshotHash: 'snapshotHash',
  snapshotJson: 'snapshotJson',
  createdAt: 'createdAt'
};

exports.Prisma.TelemetryArtifactScalarFieldEnum = {
  artifactId: 'artifactId',
  traceId: 'traceId',
  spanId: 'spanId',
  runId: 'runId',
  workflowId: 'workflowId',
  nodeId: 'nodeId',
  activationId: 'activationId',
  kind: 'kind',
  contentType: 'contentType',
  previewText: 'previewText',
  previewJson: 'previewJson',
  payloadText: 'payloadText',
  payloadJson: 'payloadJson',
  payloadStorageKey: 'payloadStorageKey',
  bytes: 'bytes',
  truncated: 'truncated',
  createdAt: 'createdAt',
  expiresAt: 'expiresAt',
  retentionExpiresAt: 'retentionExpiresAt'
};

exports.Prisma.TelemetryMetricPointScalarFieldEnum = {
  metricPointId: 'metricPointId',
  traceId: 'traceId',
  spanId: 'spanId',
  runId: 'runId',
  workflowId: 'workflowId',
  nodeId: 'nodeId',
  activationId: 'activationId',
  metricName: 'metricName',
  value: 'value',
  unit: 'unit',
  observedAt: 'observedAt',
  workflowFolder: 'workflowFolder',
  nodeType: 'nodeType',
  nodeRole: 'nodeRole',
  modelName: 'modelName',
  dimensionsJson: 'dimensionsJson',
  retentionExpiresAt: 'retentionExpiresAt',
  iterationId: 'iterationId',
  itemIndex: 'itemIndex',
  parentInvocationId: 'parentInvocationId'
};

exports.Prisma.CredentialInstanceScalarFieldEnum = {
  instanceId: 'instanceId',
  typeId: 'typeId',
  displayName: 'displayName',
  sourceKind: 'sourceKind',
  publicConfigJson: 'publicConfigJson',
  secretRefJson: 'secretRefJson',
  tagsJson: 'tagsJson',
  setupStatus: 'setupStatus',
  createdAt: 'createdAt',
  updatedAt: 'updatedAt',
  materialSource: 'materialSource',
  materialRef: 'materialRef'
};

exports.Prisma.CredentialSecretMaterialScalarFieldEnum = {
  instanceId: 'instanceId',
  encryptedJson: 'encryptedJson',
  encryptionKeyId: 'encryptionKeyId',
  schemaVersion: 'schemaVersion',
  updatedAt: 'updatedAt'
};

exports.Prisma.CredentialOAuth2MaterialScalarFieldEnum = {
  instanceId: 'instanceId',
  encryptedJson: 'encryptedJson',
  encryptionKeyId: 'encryptionKeyId',
  schemaVersion: 'schemaVersion',
  providerId: 'providerId',
  connectedEmail: 'connectedEmail',
  connectedAt: 'connectedAt',
  scopesJson: 'scopesJson',
  updatedAt: 'updatedAt'
};

exports.Prisma.CredentialOAuth2StateScalarFieldEnum = {
  state: 'state',
  instanceId: 'instanceId',
  codeVerifier: 'codeVerifier',
  providerId: 'providerId',
  requestedScopesJson: 'requestedScopesJson',
  createdAt: 'createdAt',
  expiresAt: 'expiresAt'
};

exports.Prisma.CredentialBindingScalarFieldEnum = {
  workflowId: 'workflowId',
  nodeId: 'nodeId',
  slotKey: 'slotKey',
  instanceId: 'instanceId',
  updatedAt: 'updatedAt'
};

exports.Prisma.CredentialTestResultScalarFieldEnum = {
  testId: 'testId',
  instanceId: 'instanceId',
  status: 'status',
  message: 'message',
  detailsJson: 'detailsJson',
  testedAt: 'testedAt',
  expiresAt: 'expiresAt'
};

exports.Prisma.UserScalarFieldEnum = {
  id: 'id',
  name: 'name',
  email: 'email',
  emailVerified: 'emailVerified',
  image: 'image',
  passwordHash: 'passwordHash',
  accountStatus: 'accountStatus',
  createdAt: 'createdAt',
  updatedAt: 'updatedAt'
};

exports.Prisma.UserInviteScalarFieldEnum = {
  id: 'id',
  userId: 'userId',
  tokenHash: 'tokenHash',
  expiresAt: 'expiresAt',
  createdAt: 'createdAt',
  revokedAt: 'revokedAt'
};

exports.Prisma.AccountScalarFieldEnum = {
  id: 'id',
  userId: 'userId',
  type: 'type',
  provider: 'provider',
  providerAccountId: 'providerAccountId',
  password: 'password',
  refresh_token: 'refresh_token',
  access_token: 'access_token',
  expires_at: 'expires_at',
  accessTokenExpiresAt: 'accessTokenExpiresAt',
  refreshTokenExpiresAt: 'refreshTokenExpiresAt',
  token_type: 'token_type',
  scope: 'scope',
  id_token: 'id_token',
  session_state: 'session_state',
  createdAt: 'createdAt',
  updatedAt: 'updatedAt'
};

exports.Prisma.SessionScalarFieldEnum = {
  id: 'id',
  sessionToken: 'sessionToken',
  userId: 'userId',
  expires: 'expires',
  createdAt: 'createdAt',
  updatedAt: 'updatedAt',
  ipAddress: 'ipAddress',
  userAgent: 'userAgent'
};

exports.Prisma.VerificationTokenScalarFieldEnum = {
  id: 'id',
  identifier: 'identifier',
  token: 'token',
  expires: 'expires',
  createdAt: 'createdAt',
  updatedAt: 'updatedAt'
};

exports.Prisma.WorkflowAuditLogScalarFieldEnum = {
  id: 'id',
  occurredAt: 'occurredAt',
  actorUserId: 'actorUserId',
  actorSessionId: 'actorSessionId',
  action: 'action',
  resourceType: 'resourceType',
  resourceId: 'resourceId',
  outcome: 'outcome',
  errorCode: 'errorCode',
  correlationId: 'correlationId',
  workflowId: 'workflowId',
  runId: 'runId',
  nodeId: 'nodeId'
};

exports.Prisma.HmacNonceScalarFieldEnum = {
  nonce: 'nonce',
  expiresAt: 'expiresAt'
};

exports.Prisma.HumanTaskScalarFieldEnum = {
  id: 'id',
  runId: 'runId',
  workflowId: 'workflowId',
  workspaceId: 'workspaceId',
  nodeId: 'nodeId',
  activationId: 'activationId',
  itemIndex: 'itemIndex',
  status: 'status',
  channel: 'channel',
  subjectJson: 'subjectJson',
  metadataJson: 'metadataJson',
  decisionSchemaJson: 'decisionSchemaJson',
  decisionSchemaHash: 'decisionSchemaHash',
  onTimeout: 'onTimeout',
  deliveryRefJson: 'deliveryRefJson',
  decisionJson: 'decisionJson',
  decidedAt: 'decidedAt',
  decidedByJson: 'decidedByJson',
  resumeTokenHash: 'resumeTokenHash',
  expiresAt: 'expiresAt',
  createdAt: 'createdAt'
};

exports.Prisma.SortOrder = {
  asc: 'asc',
  desc: 'desc'
};

exports.Prisma.NullsOrder = {
  first: 'first',
  last: 'last'
};


exports.Prisma.ModelName = {
  Run: 'Run',
  RunWorkItem: 'RunWorkItem',
  ExecutionInstance: 'ExecutionInstance',
  RunSlotProjection: 'RunSlotProjection',
  TestSuiteRun: 'TestSuiteRun',
  TestAssertion: 'TestAssertion',
  WorkflowDebuggerOverlay: 'WorkflowDebuggerOverlay',
  WorkflowActivation: 'WorkflowActivation',
  TriggerSetupState: 'TriggerSetupState',
  RunTraceContext: 'RunTraceContext',
  TelemetrySpan: 'TelemetrySpan',
  WorkflowSnapshot: 'WorkflowSnapshot',
  TelemetryArtifact: 'TelemetryArtifact',
  TelemetryMetricPoint: 'TelemetryMetricPoint',
  CredentialInstance: 'CredentialInstance',
  CredentialSecretMaterial: 'CredentialSecretMaterial',
  CredentialOAuth2Material: 'CredentialOAuth2Material',
  CredentialOAuth2State: 'CredentialOAuth2State',
  CredentialBinding: 'CredentialBinding',
  CredentialTestResult: 'CredentialTestResult',
  User: 'User',
  UserInvite: 'UserInvite',
  Account: 'Account',
  Session: 'Session',
  VerificationToken: 'VerificationToken',
  WorkflowAuditLog: 'WorkflowAuditLog',
  HmacNonce: 'HmacNonce',
  HumanTask: 'HumanTask'
};
/**
 * Create the Client
 */
const config = {
  "previewFeatures": [],
  "clientVersion": "7.5.0",
  "engineVersion": "280c870be64f457428992c43c1f6d557fab6e29e",
  "activeProvider": "sqlite",
  "inlineSchema": "generator client {\n  provider = \"prisma-client-js\"\n  output   = \"../prisma-generated/prisma-sqlite-client\"\n}\n\ndatasource db {\n  provider = \"sqlite\"\n}\n\nmodel Run {\n  runId                String  @id @map(\"run_id\")\n  workflowId           String  @map(\"workflow_id\")\n  startedAt            String  @map(\"started_at\")\n  finishedAt           String? @map(\"finished_at\")\n  status               String\n  revision             Int     @default(0)\n  parentJson           String? @map(\"parent_json\")\n  executionOptionsJson String? @map(\"execution_options_json\")\n  controlJson          String? @map(\"control_json\")\n  workflowSnapshotJson String? @map(\"workflow_snapshot_json\")\n  workflowSnapshotId   String? @map(\"workflow_snapshot_id\")\n  policySnapshotJson   String? @map(\"policy_snapshot_json\")\n  engineCountersJson   String? @map(\"engine_counters_json\")\n  mutableStateJson     String? @map(\"mutable_state_json\")\n  hitlStateJson        String? @map(\"hitl_state_json\")\n  outputsByNodeJson    String  @map(\"outputs_by_node_json\")\n  updatedAt            String  @map(\"updated_at\")\n  testSuiteRunId       String? @map(\"test_suite_run_id\")\n  testCaseIndex        Int?    @map(\"test_case_index\")\n  testCaseLabel        String? @map(\"test_case_label\")\n  testCaseStatus       String? @map(\"test_case_status\")\n\n  workItems          RunWorkItem[]\n  executionInstances ExecutionInstance[]\n  slotProjection     RunSlotProjection?\n  testSuiteRun       TestSuiteRun?       @relation(fields: [testSuiteRunId], references: [id])\n  testAssertions     TestAssertion[]\n  workflowSnapshot   WorkflowSnapshot?   @relation(fields: [workflowSnapshotId], references: [id])\n\n  @@index([workflowId, startedAt])\n  @@index([workflowId, status, finishedAt])\n  @@index([testSuiteRunId, testCaseIndex])\n  @@index([workflowSnapshotId])\n}\n\nmodel RunWorkItem {\n  workItemId       String  @id @map(\"work_item_id\")\n  runId            String  @map(\"run_id\")\n  workflowId       String  @map(\"workflow_id\")\n  status           String\n  targetNodeId     String  @map(\"target_node_id\")\n  batchId          String  @map(\"batch_id\")\n  queueName        String? @map(\"queue_name\")\n  claimToken       String? @map(\"claim_token\")\n  claimedBy        String? @map(\"claimed_by\")\n  claimedAt        String? @map(\"claimed_at\")\n  availableAt      String  @map(\"available_at\")\n  enqueuedAt       String  @map(\"enqueued_at\")\n  completedAt      String? @map(\"completed_at\")\n  failedAt         String? @map(\"failed_at\")\n  sourceInstanceId String? @map(\"source_instance_id\")\n  parentInstanceId String? @map(\"parent_instance_id\")\n  itemsIn          Int     @map(\"items_in\")\n  inputsByPortJson String  @map(\"inputs_by_port_json\")\n  errorJson        String? @map(\"error_json\")\n\n  run Run @relation(fields: [runId], references: [runId], onDelete: Cascade)\n\n  @@index([runId, status, availableAt])\n  @@index([runId, targetNodeId, batchId])\n}\n\nmodel ExecutionInstance {\n  instanceId           String   @id @map(\"instance_id\")\n  runId                String   @map(\"run_id\")\n  workflowId           String   @map(\"workflow_id\")\n  slotNodeId           String   @map(\"slot_node_id\")\n  workflowNodeId       String   @map(\"workflow_node_id\")\n  kind                 String\n  connectionKind       String?  @map(\"connection_kind\")\n  activationId         String?  @map(\"activation_id\")\n  batchId              String   @map(\"batch_id\")\n  runIndex             Int      @map(\"run_index\")\n  parentInstanceId     String?  @map(\"parent_instance_id\")\n  parentRunId          String?  @map(\"parent_run_id\")\n  workerClaimToken     String?  @map(\"worker_claim_token\")\n  status               String\n  queuedAt             String?  @map(\"queued_at\")\n  startedAt            String?  @map(\"started_at\")\n  finishedAt           String?  @map(\"finished_at\")\n  updatedAt            String   @map(\"updated_at\")\n  itemCount            Int      @map(\"item_count\")\n  inputJson            String?  @map(\"input_json\")\n  outputJson           String?  @map(\"output_json\")\n  errorJson            String?  @map(\"error_json\")\n  inputItemIndicesJson String?  @map(\"input_item_indices_json\")\n  outputItemCount      Int?     @map(\"output_item_count\")\n  successfulItemCount  Int?     @map(\"successful_item_count\")\n  failedItemCount      Int?     @map(\"failed_item_count\")\n  inputStorageKind     String?  @map(\"input_storage_kind\")\n  outputStorageKind    String?  @map(\"output_storage_kind\")\n  inputBytes           Int?     @map(\"input_bytes\")\n  outputBytes          Int?     @map(\"output_bytes\")\n  inputPreviewJson     String?  @map(\"input_preview_json\")\n  outputPreviewJson    String?  @map(\"output_preview_json\")\n  inputPayloadRef      String?  @map(\"input_payload_ref\")\n  outputPayloadRef     String?  @map(\"output_payload_ref\")\n  inputTruncated       Boolean? @map(\"input_truncated\")\n  outputTruncated      Boolean? @map(\"output_truncated\")\n  usedPinnedOutput     Boolean? @map(\"used_pinned_output\")\n  iterationId          String?  @map(\"iteration_id\")\n  itemIndex            Int?     @map(\"item_index\")\n  parentInvocationId   String?  @map(\"parent_invocation_id\")\n  childRunId           String?  @map(\"child_run_id\")\n\n  run Run @relation(fields: [runId], references: [runId], onDelete: Cascade)\n\n  @@unique([runId, slotNodeId, runIndex])\n  @@index([runId, slotNodeId, updatedAt])\n  @@index([runId, parentInstanceId, updatedAt])\n  @@index([runId, kind, updatedAt])\n  @@index([iterationId])\n}\n\nmodel RunSlotProjection {\n  runId          String @id @map(\"run_id\")\n  workflowId     String @map(\"workflow_id\")\n  revision       Int\n  updatedAt      String @map(\"updated_at\")\n  slotStatesJson String @map(\"slot_states_json\")\n\n  run Run @relation(fields: [runId], references: [runId], onDelete: Cascade)\n\n  @@index([workflowId, updatedAt])\n}\n\n/// One execution of a TestTrigger node — orchestrator fans one Run per yielded test-case item.\n/// `triggerNodeId` is *not* a foreign key — workflows live in code, not in DB. `triggerNodeName`\n/// is snapshotted so historical viewing survives renames/deletions of the trigger node.\nmodel TestSuiteRun {\n  id               String  @id\n  workflowId       String  @map(\"workflow_id\")\n  triggerNodeId    String  @map(\"trigger_node_id\")\n  triggerNodeName  String? @map(\"trigger_node_name\")\n  status           String\n  concurrency      Int\n  startedAt        String  @map(\"started_at\")\n  finishedAt       String? @map(\"finished_at\")\n  totalCases       Int     @default(0) @map(\"total_cases\")\n  passedCases      Int     @default(0) @map(\"passed_cases\")\n  failedCases      Int     @default(0) @map(\"failed_cases\")\n  /// Set of nodeIds executed across all child Runs in this suite (JSON array of strings).\n  nodeCoverageJson String? @map(\"node_coverage_json\")\n  errorMessage     String? @map(\"error_message\")\n  updatedAt        String  @map(\"updated_at\")\n\n  runs       Run[]\n  assertions TestAssertion[]\n\n  @@index([workflowId, startedAt])\n  @@index([workflowId, triggerNodeId, startedAt])\n  @@index([status, finishedAt])\n}\n\n/// One assertion record persisted by the host-side TestAssertionPersister whenever a node with\n/// `emitsAssertions: true` completes inside a test-context run. Each assertion item emitted on\n/// `main` becomes one row.\nmodel TestAssertion {\n  id             String  @id\n  runId          String  @map(\"run_id\")\n  testSuiteRunId String  @map(\"test_suite_run_id\")\n  workflowId     String  @map(\"workflow_id\")\n  nodeId         String  @map(\"node_id\")\n  iterationId    String? @map(\"iteration_id\")\n  itemIndex      Int?    @map(\"item_index\")\n  name           String\n  score          Float\n  passThreshold  Float?  @map(\"pass_threshold\")\n  errored        Boolean @default(false)\n  expectedJson   String? @map(\"expected_json\")\n  actualJson     String? @map(\"actual_json\")\n  message        String?\n  detailsJson    String? @map(\"details_json\")\n  createdAt      String  @map(\"created_at\")\n\n  run          Run          @relation(fields: [runId], references: [runId], onDelete: Cascade)\n  testSuiteRun TestSuiteRun @relation(fields: [testSuiteRunId], references: [id], onDelete: Cascade)\n\n  @@index([testSuiteRunId, createdAt])\n  @@index([runId, createdAt])\n  @@index([nodeId])\n}\n\nmodel WorkflowDebuggerOverlay {\n  workflowId      String  @id @map(\"workflow_id\")\n  updatedAt       String  @map(\"updated_at\")\n  copiedFromRunId String? @map(\"copied_from_run_id\")\n  stateJson       String  @map(\"state_json\")\n}\n\nmodel WorkflowActivation {\n  workflowId String  @id @map(\"workflow_id\")\n  isActive   Boolean @default(false) @map(\"is_active\")\n  updatedAt  String  @map(\"updated_at\")\n}\n\nmodel TriggerSetupState {\n  workflowId String @map(\"workflow_id\")\n  nodeId     String @map(\"node_id\")\n  updatedAt  String @map(\"updated_at\")\n  stateJson  String @map(\"state_json\")\n\n  @@id([workflowId, nodeId])\n}\n\nmodel RunTraceContext {\n  runId       String  @id @map(\"run_id\")\n  workflowId  String  @map(\"workflow_id\")\n  traceId     String  @unique @map(\"trace_id\")\n  rootSpanId  String  @map(\"root_span_id\")\n  serviceName String? @map(\"service_name\")\n  createdAt   String  @map(\"created_at\")\n  expiresAt   String? @map(\"expires_at\")\n\n  @@index([workflowId, createdAt])\n}\n\nmodel TelemetrySpan {\n  telemetrySpanId        String  @id @map(\"telemetry_span_id\")\n  traceId                String  @map(\"trace_id\")\n  spanId                 String  @map(\"span_id\")\n  parentSpanId           String? @map(\"parent_span_id\")\n  runId                  String  @map(\"run_id\")\n  workflowId             String  @map(\"workflow_id\")\n  nodeId                 String? @map(\"node_id\")\n  activationId           String? @map(\"activation_id\")\n  connectionInvocationId String? @map(\"connection_invocation_id\")\n  name                   String\n  kind                   String\n  status                 String?\n  statusMessage          String? @map(\"status_message\")\n  startTime              String? @map(\"start_time\")\n  endTime                String? @map(\"end_time\")\n  workflowFolder         String? @map(\"workflow_folder\")\n  nodeType               String? @map(\"node_type\")\n  nodeRole               String? @map(\"node_role\")\n  modelName              String? @map(\"model_name\")\n  attributesJson         String? @map(\"attributes_json\")\n  eventsJson             String? @map(\"events_json\")\n  retentionExpiresAt     String? @map(\"retention_expires_at\")\n  iterationId            String? @map(\"iteration_id\")\n  itemIndex              Int?    @map(\"item_index\")\n  parentInvocationId     String? @map(\"parent_invocation_id\")\n  updatedAt              String  @map(\"updated_at\")\n\n  @@unique([traceId, spanId])\n  @@index([traceId, startTime])\n  @@index([workflowId, endTime])\n  @@index([workflowId, status, endTime])\n  @@index([runId, endTime])\n  @@index([modelName, endTime])\n  @@index([connectionInvocationId])\n  @@index([iterationId])\n  @@index([retentionExpiresAt])\n}\n\nmodel WorkflowSnapshot {\n  id           String @id\n  workflowId   String @map(\"workflow_id\")\n  /// SHA-256 hex digest of snapshotJson — dedup key: same workflow content → one row.\n  snapshotHash String @map(\"snapshot_hash\")\n  snapshotJson String @map(\"snapshot_json\")\n  createdAt    String @map(\"created_at\")\n\n  runs Run[]\n\n  @@unique([workflowId, snapshotHash])\n  @@index([workflowId, snapshotHash])\n}\n\nmodel TelemetryArtifact {\n  artifactId         String   @id @map(\"artifact_id\")\n  traceId            String   @map(\"trace_id\")\n  spanId             String   @map(\"span_id\")\n  runId              String   @map(\"run_id\")\n  workflowId         String   @map(\"workflow_id\")\n  nodeId             String?  @map(\"node_id\")\n  activationId       String?  @map(\"activation_id\")\n  kind               String\n  contentType        String   @map(\"content_type\")\n  previewText        String?  @map(\"preview_text\")\n  previewJson        String?  @map(\"preview_json\")\n  payloadText        String?  @map(\"payload_text\")\n  payloadJson        String?  @map(\"payload_json\")\n  payloadStorageKey  String?  @map(\"payload_storage_key\")\n  bytes              Int?\n  truncated          Boolean?\n  createdAt          String   @map(\"created_at\")\n  expiresAt          String?  @map(\"expires_at\")\n  retentionExpiresAt String?  @map(\"retention_expires_at\")\n\n  @@index([traceId, createdAt])\n  @@index([spanId, createdAt])\n  @@index([runId, createdAt])\n  @@index([retentionExpiresAt])\n}\n\nmodel TelemetryMetricPoint {\n  metricPointId      String  @id @map(\"metric_point_id\")\n  traceId            String? @map(\"trace_id\")\n  spanId             String? @map(\"span_id\")\n  runId              String? @map(\"run_id\")\n  workflowId         String  @map(\"workflow_id\")\n  nodeId             String? @map(\"node_id\")\n  activationId       String? @map(\"activation_id\")\n  metricName         String  @map(\"metric_name\")\n  value              Float\n  unit               String?\n  observedAt         String  @map(\"observed_at\")\n  workflowFolder     String? @map(\"workflow_folder\")\n  nodeType           String? @map(\"node_type\")\n  nodeRole           String? @map(\"node_role\")\n  modelName          String? @map(\"model_name\")\n  dimensionsJson     String? @map(\"dimensions_json\")\n  retentionExpiresAt String? @map(\"retention_expires_at\")\n  iterationId        String? @map(\"iteration_id\")\n  itemIndex          Int?    @map(\"item_index\")\n  parentInvocationId String? @map(\"parent_invocation_id\")\n\n  @@index([workflowId, observedAt])\n  @@index([workflowId, metricName, observedAt])\n  @@index([runId, observedAt])\n  @@index([traceId, observedAt])\n  @@index([modelName, observedAt])\n  @@index([iterationId])\n  @@index([retentionExpiresAt])\n}\n\nmodel CredentialInstance {\n  instanceId       String @id @map(\"instance_id\")\n  typeId           String @map(\"type_id\")\n  displayName      String @map(\"display_name\")\n  sourceKind       String @map(\"source_kind\")\n  publicConfigJson String @map(\"public_config_json\")\n  secretRefJson    String @map(\"secret_ref_json\")\n  tagsJson         String @map(\"tags_json\")\n  setupStatus      String @map(\"setup_status\")\n  createdAt        String @map(\"created_at\")\n  updatedAt        String @map(\"updated_at\")\n  // Material provider seam — see docs/design/credentials-oauth-unification.md.\n  // Pointer to where the bytes live (workspace DB vs control plane).\n  materialSource   String @default(\"local\") @map(\"material_source\")\n  materialRef      String @default(\"\") @map(\"material_ref\")\n}\n\nmodel CredentialSecretMaterial {\n  instanceId      String @id @map(\"instance_id\")\n  encryptedJson   String @map(\"encrypted_json\")\n  encryptionKeyId String @map(\"encryption_key_id\")\n  schemaVersion   Int    @map(\"schema_version\")\n  updatedAt       String @map(\"updated_at\")\n}\n\nmodel CredentialOAuth2Material {\n  instanceId      String  @id @map(\"instance_id\")\n  encryptedJson   String  @map(\"encrypted_json\")\n  encryptionKeyId String  @map(\"encryption_key_id\")\n  schemaVersion   Int     @map(\"schema_version\")\n  providerId      String  @map(\"provider_id\")\n  connectedEmail  String? @map(\"connected_email\")\n  connectedAt     String? @map(\"connected_at\")\n  scopesJson      String  @map(\"scopes_json\")\n  updatedAt       String  @map(\"updated_at\")\n}\n\nmodel CredentialOAuth2State {\n  state               String  @id\n  instanceId          String  @map(\"instance_id\")\n  codeVerifier        String? @map(\"code_verifier\")\n  providerId          String? @map(\"provider_id\")\n  requestedScopesJson String  @map(\"requested_scopes_json\")\n  createdAt           String  @map(\"created_at\")\n  expiresAt           String  @map(\"expires_at\")\n\n  @@index([instanceId])\n  @@index([expiresAt])\n}\n\nmodel CredentialBinding {\n  workflowId String @map(\"workflow_id\")\n  nodeId     String @map(\"node_id\")\n  slotKey    String @map(\"slot_key\")\n  instanceId String @map(\"instance_id\")\n  updatedAt  String @map(\"updated_at\")\n\n  @@id([workflowId, nodeId, slotKey])\n  @@index([instanceId])\n}\n\nmodel CredentialTestResult {\n  testId      String  @id @map(\"test_id\")\n  instanceId  String  @map(\"instance_id\")\n  status      String\n  message     String?\n  detailsJson String  @map(\"details_json\")\n  testedAt    String  @map(\"tested_at\")\n  expiresAt   String? @map(\"expires_at\")\n\n  @@index([instanceId, testedAt])\n}\n\n/// Better Auth user directory (DB sessions + optional OAuth linking)\nmodel User {\n  id            String       @id @default(cuid())\n  name          String?\n  email         String?      @unique\n  emailVerified Boolean      @default(false) @map(\"email_verified\")\n  image         String?\n  passwordHash  String?      @map(\"password_hash\")\n  /// invited | active | inactive (local directory / invite flow)\n  accountStatus String       @default(\"active\") @map(\"account_status\")\n  createdAt     DateTime     @default(now()) @map(\"created_at\")\n  updatedAt     DateTime     @updatedAt @map(\"updated_at\")\n  accounts      Account[]\n  sessions      Session[]\n  invites       UserInvite[]\n\n  @@map(\"codemation_auth_user\")\n}\n\nmodel UserInvite {\n  id        String    @id @default(cuid())\n  userId    String    @map(\"user_id\")\n  tokenHash String    @unique @map(\"token_hash\")\n  expiresAt DateTime  @map(\"expires_at\")\n  createdAt DateTime  @map(\"created_at\")\n  revokedAt DateTime? @map(\"revoked_at\")\n  user      User      @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n  @@index([userId])\n  @@map(\"codemation_auth_user_invite\")\n}\n\nmodel Account {\n  id                    String    @id @default(cuid())\n  userId                String    @map(\"user_id\")\n  /// Legacy Auth.js discriminator; Better Auth omits it on create — default keeps OAuth/credential rows valid.\n  type                  String    @default(\"oauth\")\n  provider              String\n  providerAccountId     String    @map(\"provider_account_id\")\n  /// Better Auth email/password (credential provider) hash; kept in sync with `User.passwordHash` for local flows.\n  password              String?   @map(\"password\")\n  refresh_token         String?\n  access_token          String?\n  expires_at            Int?\n  accessTokenExpiresAt  DateTime? @map(\"access_token_expires_at\")\n  refreshTokenExpiresAt DateTime? @map(\"refresh_token_expires_at\")\n  token_type            String?\n  scope                 String?\n  id_token              String?\n  session_state         String?\n  createdAt             DateTime  @default(now()) @map(\"created_at\")\n  updatedAt             DateTime  @updatedAt @map(\"updated_at\")\n\n  user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n  @@unique([provider, providerAccountId])\n  @@map(\"codemation_auth_account\")\n}\n\nmodel Session {\n  id           String   @id @default(cuid())\n  sessionToken String   @unique @map(\"session_token\")\n  userId       String   @map(\"user_id\")\n  expires      DateTime\n  createdAt    DateTime @default(now()) @map(\"created_at\")\n  updatedAt    DateTime @updatedAt @map(\"updated_at\")\n  ipAddress    String?  @map(\"ip_address\")\n  userAgent    String?  @map(\"user_agent\")\n  user         User     @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n  @@map(\"codemation_auth_session\")\n}\n\nmodel VerificationToken {\n  id         String   @id @default(cuid())\n  identifier String\n  token      String\n  expires    DateTime\n  createdAt  DateTime @default(now()) @map(\"created_at\")\n  updatedAt  DateTime @updatedAt @map(\"updated_at\")\n\n  @@unique([identifier, token])\n  @@map(\"codemation_auth_verification_token\")\n}\n\nmodel WorkflowAuditLog {\n  id             String   @id @map(\"id\")\n  occurredAt     DateTime @map(\"occurred_at\")\n  actorUserId    String   @map(\"actor_user_id\")\n  actorSessionId String?  @map(\"actor_session_id\")\n  action         String   @map(\"action\")\n  resourceType   String   @map(\"resource_type\")\n  resourceId     String   @map(\"resource_id\")\n  outcome        String   @map(\"outcome\")\n  errorCode      String?  @map(\"error_code\")\n  correlationId  String?  @map(\"correlation_id\")\n  workflowId     String   @map(\"workflow_id\")\n  runId          String?  @map(\"run_id\")\n  nodeId         String?  @map(\"node_id\")\n\n  @@index([actorUserId, occurredAt])\n  @@index([workflowId, occurredAt])\n  @@map(\"workflow_audit_log\")\n}\n\n/// HMAC nonce store for replay protection (T6 security fix).\n/// Nonces are persisted across process restarts so a replayed request within\n/// the 300-second timestamp window is rejected even after a restart.\nmodel HmacNonce {\n  nonce     String   @id @map(\"nonce\")\n  expiresAt DateTime @map(\"expires_at\")\n\n  @@index([expiresAt])\n  @@map(\"hmac_nonce\")\n}\n\nmodel HumanTask {\n  id                 String    @id @map(\"id\")\n  runId              String    @map(\"run_id\")\n  workflowId         String    @map(\"workflow_id\")\n  workspaceId        String?   @map(\"workspace_id\")\n  nodeId             String    @map(\"node_id\")\n  activationId       String    @map(\"activation_id\")\n  itemIndex          Int       @map(\"item_index\")\n  /// pending | decided | timed_out | auto_accepted | cancelled\n  status             String    @map(\"status\")\n  /// local | control-plane-inbox\n  channel            String    @map(\"channel\")\n  subjectJson        String    @map(\"subject_json\")\n  metadataJson       String    @map(\"metadata_json\")\n  decisionSchemaJson String    @map(\"decision_schema_json\")\n  decisionSchemaHash String    @map(\"decision_schema_hash\")\n  /// halt | auto-accept\n  onTimeout          String    @map(\"on_timeout\")\n  deliveryRefJson    String?   @map(\"delivery_ref_json\")\n  decisionJson       String?   @map(\"decision_json\")\n  decidedAt          DateTime? @map(\"decided_at\")\n  decidedByJson      String?   @map(\"decided_by_json\")\n  resumeTokenHash    String    @map(\"resume_token_hash\")\n  expiresAt          DateTime  @map(\"expires_at\")\n  createdAt          DateTime  @default(now()) @map(\"created_at\")\n\n  @@index([runId])\n  @@index([workflowId, status])\n  @@index([workspaceId, status, expiresAt])\n  @@map(\"human_task\")\n}\n"
}

config.runtimeDataModel = JSON.parse("{\"models\":{\"Run\":{\"fields\":[{\"name\":\"runId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"run_id\"},{\"name\":\"workflowId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"workflow_id\"},{\"name\":\"startedAt\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"started_at\"},{\"name\":\"finishedAt\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"finished_at\"},{\"name\":\"status\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"revision\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"parentJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"parent_json\"},{\"name\":\"executionOptionsJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"execution_options_json\"},{\"name\":\"controlJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"control_json\"},{\"name\":\"workflowSnapshotJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"workflow_snapshot_json\"},{\"name\":\"workflowSnapshotId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"workflow_snapshot_id\"},{\"name\":\"policySnapshotJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"policy_snapshot_json\"},{\"name\":\"engineCountersJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"engine_counters_json\"},{\"name\":\"mutableStateJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"mutable_state_json\"},{\"name\":\"hitlStateJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"hitl_state_json\"},{\"name\":\"outputsByNodeJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"outputs_by_node_json\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"updated_at\"},{\"name\":\"testSuiteRunId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"test_suite_run_id\"},{\"name\":\"testCaseIndex\",\"kind\":\"scalar\",\"type\":\"Int\",\"dbName\":\"test_case_index\"},{\"name\":\"testCaseLabel\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"test_case_label\"},{\"name\":\"testCaseStatus\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"test_case_status\"},{\"name\":\"workItems\",\"kind\":\"object\",\"type\":\"RunWorkItem\",\"relationName\":\"RunToRunWorkItem\"},{\"name\":\"executionInstances\",\"kind\":\"object\",\"type\":\"ExecutionInstance\",\"relationName\":\"ExecutionInstanceToRun\"},{\"name\":\"slotProjection\",\"kind\":\"object\",\"type\":\"RunSlotProjection\",\"relationName\":\"RunToRunSlotProjection\"},{\"name\":\"testSuiteRun\",\"kind\":\"object\",\"type\":\"TestSuiteRun\",\"relationName\":\"RunToTestSuiteRun\"},{\"name\":\"testAssertions\",\"kind\":\"object\",\"type\":\"TestAssertion\",\"relationName\":\"RunToTestAssertion\"},{\"name\":\"workflowSnapshot\",\"kind\":\"object\",\"type\":\"WorkflowSnapshot\",\"relationName\":\"RunToWorkflowSnapshot\"}],\"dbName\":null},\"RunWorkItem\":{\"fields\":[{\"name\":\"workItemId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"work_item_id\"},{\"name\":\"runId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"run_id\"},{\"name\":\"workflowId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"workflow_id\"},{\"name\":\"status\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"targetNodeId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"target_node_id\"},{\"name\":\"batchId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"batch_id\"},{\"name\":\"queueName\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"queue_name\"},{\"name\":\"claimToken\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"claim_token\"},{\"name\":\"claimedBy\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"claimed_by\"},{\"name\":\"claimedAt\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"claimed_at\"},{\"name\":\"availableAt\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"available_at\"},{\"name\":\"enqueuedAt\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"enqueued_at\"},{\"name\":\"completedAt\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"completed_at\"},{\"name\":\"failedAt\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"failed_at\"},{\"name\":\"sourceInstanceId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"source_instance_id\"},{\"name\":\"parentInstanceId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"parent_instance_id\"},{\"name\":\"itemsIn\",\"kind\":\"scalar\",\"type\":\"Int\",\"dbName\":\"items_in\"},{\"name\":\"inputsByPortJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"inputs_by_port_json\"},{\"name\":\"errorJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"error_json\"},{\"name\":\"run\",\"kind\":\"object\",\"type\":\"Run\",\"relationName\":\"RunToRunWorkItem\"}],\"dbName\":null},\"ExecutionInstance\":{\"fields\":[{\"name\":\"instanceId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"instance_id\"},{\"name\":\"runId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"run_id\"},{\"name\":\"workflowId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"workflow_id\"},{\"name\":\"slotNodeId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"slot_node_id\"},{\"name\":\"workflowNodeId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"workflow_node_id\"},{\"name\":\"kind\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"connectionKind\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"connection_kind\"},{\"name\":\"activationId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"activation_id\"},{\"name\":\"batchId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"batch_id\"},{\"name\":\"runIndex\",\"kind\":\"scalar\",\"type\":\"Int\",\"dbName\":\"run_index\"},{\"name\":\"parentInstanceId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"parent_instance_id\"},{\"name\":\"parentRunId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"parent_run_id\"},{\"name\":\"workerClaimToken\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"worker_claim_token\"},{\"name\":\"status\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"queuedAt\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"queued_at\"},{\"name\":\"startedAt\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"started_at\"},{\"name\":\"finishedAt\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"finished_at\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"updated_at\"},{\"name\":\"itemCount\",\"kind\":\"scalar\",\"type\":\"Int\",\"dbName\":\"item_count\"},{\"name\":\"inputJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"input_json\"},{\"name\":\"outputJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"output_json\"},{\"name\":\"errorJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"error_json\"},{\"name\":\"inputItemIndicesJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"input_item_indices_json\"},{\"name\":\"outputItemCount\",\"kind\":\"scalar\",\"type\":\"Int\",\"dbName\":\"output_item_count\"},{\"name\":\"successfulItemCount\",\"kind\":\"scalar\",\"type\":\"Int\",\"dbName\":\"successful_item_count\"},{\"name\":\"failedItemCount\",\"kind\":\"scalar\",\"type\":\"Int\",\"dbName\":\"failed_item_count\"},{\"name\":\"inputStorageKind\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"input_storage_kind\"},{\"name\":\"outputStorageKind\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"output_storage_kind\"},{\"name\":\"inputBytes\",\"kind\":\"scalar\",\"type\":\"Int\",\"dbName\":\"input_bytes\"},{\"name\":\"outputBytes\",\"kind\":\"scalar\",\"type\":\"Int\",\"dbName\":\"output_bytes\"},{\"name\":\"inputPreviewJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"input_preview_json\"},{\"name\":\"outputPreviewJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"output_preview_json\"},{\"name\":\"inputPayloadRef\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"input_payload_ref\"},{\"name\":\"outputPayloadRef\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"output_payload_ref\"},{\"name\":\"inputTruncated\",\"kind\":\"scalar\",\"type\":\"Boolean\",\"dbName\":\"input_truncated\"},{\"name\":\"outputTruncated\",\"kind\":\"scalar\",\"type\":\"Boolean\",\"dbName\":\"output_truncated\"},{\"name\":\"usedPinnedOutput\",\"kind\":\"scalar\",\"type\":\"Boolean\",\"dbName\":\"used_pinned_output\"},{\"name\":\"iterationId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"iteration_id\"},{\"name\":\"itemIndex\",\"kind\":\"scalar\",\"type\":\"Int\",\"dbName\":\"item_index\"},{\"name\":\"parentInvocationId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"parent_invocation_id\"},{\"name\":\"childRunId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"child_run_id\"},{\"name\":\"run\",\"kind\":\"object\",\"type\":\"Run\",\"relationName\":\"ExecutionInstanceToRun\"}],\"dbName\":null},\"RunSlotProjection\":{\"fields\":[{\"name\":\"runId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"run_id\"},{\"name\":\"workflowId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"workflow_id\"},{\"name\":\"revision\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"updated_at\"},{\"name\":\"slotStatesJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"slot_states_json\"},{\"name\":\"run\",\"kind\":\"object\",\"type\":\"Run\",\"relationName\":\"RunToRunSlotProjection\"}],\"dbName\":null},\"TestSuiteRun\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"workflowId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"workflow_id\"},{\"name\":\"triggerNodeId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"trigger_node_id\"},{\"name\":\"triggerNodeName\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"trigger_node_name\"},{\"name\":\"status\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"concurrency\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"startedAt\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"started_at\"},{\"name\":\"finishedAt\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"finished_at\"},{\"name\":\"totalCases\",\"kind\":\"scalar\",\"type\":\"Int\",\"dbName\":\"total_cases\"},{\"name\":\"passedCases\",\"kind\":\"scalar\",\"type\":\"Int\",\"dbName\":\"passed_cases\"},{\"name\":\"failedCases\",\"kind\":\"scalar\",\"type\":\"Int\",\"dbName\":\"failed_cases\"},{\"name\":\"nodeCoverageJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"node_coverage_json\"},{\"name\":\"errorMessage\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"error_message\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"updated_at\"},{\"name\":\"runs\",\"kind\":\"object\",\"type\":\"Run\",\"relationName\":\"RunToTestSuiteRun\"},{\"name\":\"assertions\",\"kind\":\"object\",\"type\":\"TestAssertion\",\"relationName\":\"TestAssertionToTestSuiteRun\"}],\"dbName\":null},\"TestAssertion\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"runId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"run_id\"},{\"name\":\"testSuiteRunId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"test_suite_run_id\"},{\"name\":\"workflowId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"workflow_id\"},{\"name\":\"nodeId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"node_id\"},{\"name\":\"iterationId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"iteration_id\"},{\"name\":\"itemIndex\",\"kind\":\"scalar\",\"type\":\"Int\",\"dbName\":\"item_index\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"score\",\"kind\":\"scalar\",\"type\":\"Float\"},{\"name\":\"passThreshold\",\"kind\":\"scalar\",\"type\":\"Float\",\"dbName\":\"pass_threshold\"},{\"name\":\"errored\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"expectedJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"expected_json\"},{\"name\":\"actualJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"actual_json\"},{\"name\":\"message\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"detailsJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"details_json\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"created_at\"},{\"name\":\"run\",\"kind\":\"object\",\"type\":\"Run\",\"relationName\":\"RunToTestAssertion\"},{\"name\":\"testSuiteRun\",\"kind\":\"object\",\"type\":\"TestSuiteRun\",\"relationName\":\"TestAssertionToTestSuiteRun\"}],\"dbName\":null},\"WorkflowDebuggerOverlay\":{\"fields\":[{\"name\":\"workflowId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"workflow_id\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"updated_at\"},{\"name\":\"copiedFromRunId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"copied_from_run_id\"},{\"name\":\"stateJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"state_json\"}],\"dbName\":null},\"WorkflowActivation\":{\"fields\":[{\"name\":\"workflowId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"workflow_id\"},{\"name\":\"isActive\",\"kind\":\"scalar\",\"type\":\"Boolean\",\"dbName\":\"is_active\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"updated_at\"}],\"dbName\":null},\"TriggerSetupState\":{\"fields\":[{\"name\":\"workflowId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"workflow_id\"},{\"name\":\"nodeId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"node_id\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"updated_at\"},{\"name\":\"stateJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"state_json\"}],\"dbName\":null},\"RunTraceContext\":{\"fields\":[{\"name\":\"runId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"run_id\"},{\"name\":\"workflowId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"workflow_id\"},{\"name\":\"traceId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"trace_id\"},{\"name\":\"rootSpanId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"root_span_id\"},{\"name\":\"serviceName\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"service_name\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"created_at\"},{\"name\":\"expiresAt\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"expires_at\"}],\"dbName\":null},\"TelemetrySpan\":{\"fields\":[{\"name\":\"telemetrySpanId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"telemetry_span_id\"},{\"name\":\"traceId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"trace_id\"},{\"name\":\"spanId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"span_id\"},{\"name\":\"parentSpanId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"parent_span_id\"},{\"name\":\"runId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"run_id\"},{\"name\":\"workflowId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"workflow_id\"},{\"name\":\"nodeId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"node_id\"},{\"name\":\"activationId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"activation_id\"},{\"name\":\"connectionInvocationId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"connection_invocation_id\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"kind\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"status\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"statusMessage\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"status_message\"},{\"name\":\"startTime\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"start_time\"},{\"name\":\"endTime\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"end_time\"},{\"name\":\"workflowFolder\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"workflow_folder\"},{\"name\":\"nodeType\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"node_type\"},{\"name\":\"nodeRole\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"node_role\"},{\"name\":\"modelName\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"model_name\"},{\"name\":\"attributesJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"attributes_json\"},{\"name\":\"eventsJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"events_json\"},{\"name\":\"retentionExpiresAt\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"retention_expires_at\"},{\"name\":\"iterationId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"iteration_id\"},{\"name\":\"itemIndex\",\"kind\":\"scalar\",\"type\":\"Int\",\"dbName\":\"item_index\"},{\"name\":\"parentInvocationId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"parent_invocation_id\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"updated_at\"}],\"dbName\":null},\"WorkflowSnapshot\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"workflowId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"workflow_id\"},{\"name\":\"snapshotHash\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"snapshot_hash\"},{\"name\":\"snapshotJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"snapshot_json\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"created_at\"},{\"name\":\"runs\",\"kind\":\"object\",\"type\":\"Run\",\"relationName\":\"RunToWorkflowSnapshot\"}],\"dbName\":null},\"TelemetryArtifact\":{\"fields\":[{\"name\":\"artifactId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"artifact_id\"},{\"name\":\"traceId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"trace_id\"},{\"name\":\"spanId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"span_id\"},{\"name\":\"runId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"run_id\"},{\"name\":\"workflowId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"workflow_id\"},{\"name\":\"nodeId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"node_id\"},{\"name\":\"activationId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"activation_id\"},{\"name\":\"kind\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"contentType\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"content_type\"},{\"name\":\"previewText\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"preview_text\"},{\"name\":\"previewJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"preview_json\"},{\"name\":\"payloadText\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"payload_text\"},{\"name\":\"payloadJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"payload_json\"},{\"name\":\"payloadStorageKey\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"payload_storage_key\"},{\"name\":\"bytes\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"truncated\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"created_at\"},{\"name\":\"expiresAt\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"expires_at\"},{\"name\":\"retentionExpiresAt\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"retention_expires_at\"}],\"dbName\":null},\"TelemetryMetricPoint\":{\"fields\":[{\"name\":\"metricPointId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"metric_point_id\"},{\"name\":\"traceId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"trace_id\"},{\"name\":\"spanId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"span_id\"},{\"name\":\"runId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"run_id\"},{\"name\":\"workflowId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"workflow_id\"},{\"name\":\"nodeId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"node_id\"},{\"name\":\"activationId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"activation_id\"},{\"name\":\"metricName\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"metric_name\"},{\"name\":\"value\",\"kind\":\"scalar\",\"type\":\"Float\"},{\"name\":\"unit\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"observedAt\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"observed_at\"},{\"name\":\"workflowFolder\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"workflow_folder\"},{\"name\":\"nodeType\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"node_type\"},{\"name\":\"nodeRole\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"node_role\"},{\"name\":\"modelName\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"model_name\"},{\"name\":\"dimensionsJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"dimensions_json\"},{\"name\":\"retentionExpiresAt\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"retention_expires_at\"},{\"name\":\"iterationId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"iteration_id\"},{\"name\":\"itemIndex\",\"kind\":\"scalar\",\"type\":\"Int\",\"dbName\":\"item_index\"},{\"name\":\"parentInvocationId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"parent_invocation_id\"}],\"dbName\":null},\"CredentialInstance\":{\"fields\":[{\"name\":\"instanceId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"instance_id\"},{\"name\":\"typeId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"type_id\"},{\"name\":\"displayName\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"display_name\"},{\"name\":\"sourceKind\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"source_kind\"},{\"name\":\"publicConfigJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"public_config_json\"},{\"name\":\"secretRefJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"secret_ref_json\"},{\"name\":\"tagsJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"tags_json\"},{\"name\":\"setupStatus\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"setup_status\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"created_at\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"updated_at\"},{\"name\":\"materialSource\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"material_source\"},{\"name\":\"materialRef\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"material_ref\"}],\"dbName\":null},\"CredentialSecretMaterial\":{\"fields\":[{\"name\":\"instanceId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"instance_id\"},{\"name\":\"encryptedJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"encrypted_json\"},{\"name\":\"encryptionKeyId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"encryption_key_id\"},{\"name\":\"schemaVersion\",\"kind\":\"scalar\",\"type\":\"Int\",\"dbName\":\"schema_version\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"updated_at\"}],\"dbName\":null},\"CredentialOAuth2Material\":{\"fields\":[{\"name\":\"instanceId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"instance_id\"},{\"name\":\"encryptedJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"encrypted_json\"},{\"name\":\"encryptionKeyId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"encryption_key_id\"},{\"name\":\"schemaVersion\",\"kind\":\"scalar\",\"type\":\"Int\",\"dbName\":\"schema_version\"},{\"name\":\"providerId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"provider_id\"},{\"name\":\"connectedEmail\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"connected_email\"},{\"name\":\"connectedAt\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"connected_at\"},{\"name\":\"scopesJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"scopes_json\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"updated_at\"}],\"dbName\":null},\"CredentialOAuth2State\":{\"fields\":[{\"name\":\"state\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"instanceId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"instance_id\"},{\"name\":\"codeVerifier\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"code_verifier\"},{\"name\":\"providerId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"provider_id\"},{\"name\":\"requestedScopesJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"requested_scopes_json\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"created_at\"},{\"name\":\"expiresAt\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"expires_at\"}],\"dbName\":null},\"CredentialBinding\":{\"fields\":[{\"name\":\"workflowId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"workflow_id\"},{\"name\":\"nodeId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"node_id\"},{\"name\":\"slotKey\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"slot_key\"},{\"name\":\"instanceId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"instance_id\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"updated_at\"}],\"dbName\":null},\"CredentialTestResult\":{\"fields\":[{\"name\":\"testId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"test_id\"},{\"name\":\"instanceId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"instance_id\"},{\"name\":\"status\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"message\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"detailsJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"details_json\"},{\"name\":\"testedAt\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"tested_at\"},{\"name\":\"expiresAt\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"expires_at\"}],\"dbName\":null},\"User\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"email\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"emailVerified\",\"kind\":\"scalar\",\"type\":\"Boolean\",\"dbName\":\"email_verified\"},{\"name\":\"image\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"passwordHash\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"password_hash\"},{\"name\":\"accountStatus\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"account_status\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"updated_at\"},{\"name\":\"accounts\",\"kind\":\"object\",\"type\":\"Account\",\"relationName\":\"AccountToUser\"},{\"name\":\"sessions\",\"kind\":\"object\",\"type\":\"Session\",\"relationName\":\"SessionToUser\"},{\"name\":\"invites\",\"kind\":\"object\",\"type\":\"UserInvite\",\"relationName\":\"UserToUserInvite\"}],\"dbName\":\"codemation_auth_user\"},\"UserInvite\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"user_id\"},{\"name\":\"tokenHash\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"token_hash\"},{\"name\":\"expiresAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"expires_at\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"revokedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"revoked_at\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"UserToUserInvite\"}],\"dbName\":\"codemation_auth_user_invite\"},\"Account\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"user_id\"},{\"name\":\"type\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"provider\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"providerAccountId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"provider_account_id\"},{\"name\":\"password\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"password\"},{\"name\":\"refresh_token\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"access_token\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"expires_at\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"accessTokenExpiresAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"access_token_expires_at\"},{\"name\":\"refreshTokenExpiresAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"refresh_token_expires_at\"},{\"name\":\"token_type\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"scope\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"id_token\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"session_state\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"updated_at\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"AccountToUser\"}],\"dbName\":\"codemation_auth_account\"},\"Session\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"sessionToken\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"session_token\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"user_id\"},{\"name\":\"expires\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"updated_at\"},{\"name\":\"ipAddress\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"ip_address\"},{\"name\":\"userAgent\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"user_agent\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"SessionToUser\"}],\"dbName\":\"codemation_auth_session\"},\"VerificationToken\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"identifier\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"token\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"expires\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"updated_at\"}],\"dbName\":\"codemation_auth_verification_token\"},\"WorkflowAuditLog\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"id\"},{\"name\":\"occurredAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"occurred_at\"},{\"name\":\"actorUserId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"actor_user_id\"},{\"name\":\"actorSessionId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"actor_session_id\"},{\"name\":\"action\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"action\"},{\"name\":\"resourceType\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"resource_type\"},{\"name\":\"resourceId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"resource_id\"},{\"name\":\"outcome\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"outcome\"},{\"name\":\"errorCode\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"error_code\"},{\"name\":\"correlationId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"correlation_id\"},{\"name\":\"workflowId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"workflow_id\"},{\"name\":\"runId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"run_id\"},{\"name\":\"nodeId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"node_id\"}],\"dbName\":\"workflow_audit_log\"},\"HmacNonce\":{\"fields\":[{\"name\":\"nonce\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"nonce\"},{\"name\":\"expiresAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"expires_at\"}],\"dbName\":\"hmac_nonce\"},\"HumanTask\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"id\"},{\"name\":\"runId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"run_id\"},{\"name\":\"workflowId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"workflow_id\"},{\"name\":\"workspaceId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"workspace_id\"},{\"name\":\"nodeId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"node_id\"},{\"name\":\"activationId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"activation_id\"},{\"name\":\"itemIndex\",\"kind\":\"scalar\",\"type\":\"Int\",\"dbName\":\"item_index\"},{\"name\":\"status\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"status\"},{\"name\":\"channel\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"channel\"},{\"name\":\"subjectJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"subject_json\"},{\"name\":\"metadataJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"metadata_json\"},{\"name\":\"decisionSchemaJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"decision_schema_json\"},{\"name\":\"decisionSchemaHash\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"decision_schema_hash\"},{\"name\":\"onTimeout\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"on_timeout\"},{\"name\":\"deliveryRefJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"delivery_ref_json\"},{\"name\":\"decisionJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"decision_json\"},{\"name\":\"decidedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"decided_at\"},{\"name\":\"decidedByJson\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"decided_by_json\"},{\"name\":\"resumeTokenHash\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"resume_token_hash\"},{\"name\":\"expiresAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"expires_at\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"}],\"dbName\":\"human_task\"}},\"enums\":{},\"types\":{}}")
defineDmmfProperty(exports.Prisma, config.runtimeDataModel)
config.parameterizationSchema = {
  strings: JSON.parse("[\"where\",\"orderBy\",\"cursor\",\"run\",\"workItems\",\"executionInstances\",\"slotProjection\",\"runs\",\"testSuiteRun\",\"assertions\",\"_count\",\"testAssertions\",\"workflowSnapshot\",\"Run.findUnique\",\"Run.findUniqueOrThrow\",\"Run.findFirst\",\"Run.findFirstOrThrow\",\"Run.findMany\",\"data\",\"Run.createOne\",\"Run.createMany\",\"Run.createManyAndReturn\",\"Run.updateOne\",\"Run.updateMany\",\"Run.updateManyAndReturn\",\"create\",\"update\",\"Run.upsertOne\",\"Run.deleteOne\",\"Run.deleteMany\",\"having\",\"_avg\",\"_sum\",\"_min\",\"_max\",\"Run.groupBy\",\"Run.aggregate\",\"RunWorkItem.findUnique\",\"RunWorkItem.findUniqueOrThrow\",\"RunWorkItem.findFirst\",\"RunWorkItem.findFirstOrThrow\",\"RunWorkItem.findMany\",\"RunWorkItem.createOne\",\"RunWorkItem.createMany\",\"RunWorkItem.createManyAndReturn\",\"RunWorkItem.updateOne\",\"RunWorkItem.updateMany\",\"RunWorkItem.updateManyAndReturn\",\"RunWorkItem.upsertOne\",\"RunWorkItem.deleteOne\",\"RunWorkItem.deleteMany\",\"RunWorkItem.groupBy\",\"RunWorkItem.aggregate\",\"ExecutionInstance.findUnique\",\"ExecutionInstance.findUniqueOrThrow\",\"ExecutionInstance.findFirst\",\"ExecutionInstance.findFirstOrThrow\",\"ExecutionInstance.findMany\",\"ExecutionInstance.createOne\",\"ExecutionInstance.createMany\",\"ExecutionInstance.createManyAndReturn\",\"ExecutionInstance.updateOne\",\"ExecutionInstance.updateMany\",\"ExecutionInstance.updateManyAndReturn\",\"ExecutionInstance.upsertOne\",\"ExecutionInstance.deleteOne\",\"ExecutionInstance.deleteMany\",\"ExecutionInstance.groupBy\",\"ExecutionInstance.aggregate\",\"RunSlotProjection.findUnique\",\"RunSlotProjection.findUniqueOrThrow\",\"RunSlotProjection.findFirst\",\"RunSlotProjection.findFirstOrThrow\",\"RunSlotProjection.findMany\",\"RunSlotProjection.createOne\",\"RunSlotProjection.createMany\",\"RunSlotProjection.createManyAndReturn\",\"RunSlotProjection.updateOne\",\"RunSlotProjection.updateMany\",\"RunSlotProjection.updateManyAndReturn\",\"RunSlotProjection.upsertOne\",\"RunSlotProjection.deleteOne\",\"RunSlotProjection.deleteMany\",\"RunSlotProjection.groupBy\",\"RunSlotProjection.aggregate\",\"TestSuiteRun.findUnique\",\"TestSuiteRun.findUniqueOrThrow\",\"TestSuiteRun.findFirst\",\"TestSuiteRun.findFirstOrThrow\",\"TestSuiteRun.findMany\",\"TestSuiteRun.createOne\",\"TestSuiteRun.createMany\",\"TestSuiteRun.createManyAndReturn\",\"TestSuiteRun.updateOne\",\"TestSuiteRun.updateMany\",\"TestSuiteRun.updateManyAndReturn\",\"TestSuiteRun.upsertOne\",\"TestSuiteRun.deleteOne\",\"TestSuiteRun.deleteMany\",\"TestSuiteRun.groupBy\",\"TestSuiteRun.aggregate\",\"TestAssertion.findUnique\",\"TestAssertion.findUniqueOrThrow\",\"TestAssertion.findFirst\",\"TestAssertion.findFirstOrThrow\",\"TestAssertion.findMany\",\"TestAssertion.createOne\",\"TestAssertion.createMany\",\"TestAssertion.createManyAndReturn\",\"TestAssertion.updateOne\",\"TestAssertion.updateMany\",\"TestAssertion.updateManyAndReturn\",\"TestAssertion.upsertOne\",\"TestAssertion.deleteOne\",\"TestAssertion.deleteMany\",\"TestAssertion.groupBy\",\"TestAssertion.aggregate\",\"WorkflowDebuggerOverlay.findUnique\",\"WorkflowDebuggerOverlay.findUniqueOrThrow\",\"WorkflowDebuggerOverlay.findFirst\",\"WorkflowDebuggerOverlay.findFirstOrThrow\",\"WorkflowDebuggerOverlay.findMany\",\"WorkflowDebuggerOverlay.createOne\",\"WorkflowDebuggerOverlay.createMany\",\"WorkflowDebuggerOverlay.createManyAndReturn\",\"WorkflowDebuggerOverlay.updateOne\",\"WorkflowDebuggerOverlay.updateMany\",\"WorkflowDebuggerOverlay.updateManyAndReturn\",\"WorkflowDebuggerOverlay.upsertOne\",\"WorkflowDebuggerOverlay.deleteOne\",\"WorkflowDebuggerOverlay.deleteMany\",\"WorkflowDebuggerOverlay.groupBy\",\"WorkflowDebuggerOverlay.aggregate\",\"WorkflowActivation.findUnique\",\"WorkflowActivation.findUniqueOrThrow\",\"WorkflowActivation.findFirst\",\"WorkflowActivation.findFirstOrThrow\",\"WorkflowActivation.findMany\",\"WorkflowActivation.createOne\",\"WorkflowActivation.createMany\",\"WorkflowActivation.createManyAndReturn\",\"WorkflowActivation.updateOne\",\"WorkflowActivation.updateMany\",\"WorkflowActivation.updateManyAndReturn\",\"WorkflowActivation.upsertOne\",\"WorkflowActivation.deleteOne\",\"WorkflowActivation.deleteMany\",\"WorkflowActivation.groupBy\",\"WorkflowActivation.aggregate\",\"TriggerSetupState.findUnique\",\"TriggerSetupState.findUniqueOrThrow\",\"TriggerSetupState.findFirst\",\"TriggerSetupState.findFirstOrThrow\",\"TriggerSetupState.findMany\",\"TriggerSetupState.createOne\",\"TriggerSetupState.createMany\",\"TriggerSetupState.createManyAndReturn\",\"TriggerSetupState.updateOne\",\"TriggerSetupState.updateMany\",\"TriggerSetupState.updateManyAndReturn\",\"TriggerSetupState.upsertOne\",\"TriggerSetupState.deleteOne\",\"TriggerSetupState.deleteMany\",\"TriggerSetupState.groupBy\",\"TriggerSetupState.aggregate\",\"RunTraceContext.findUnique\",\"RunTraceContext.findUniqueOrThrow\",\"RunTraceContext.findFirst\",\"RunTraceContext.findFirstOrThrow\",\"RunTraceContext.findMany\",\"RunTraceContext.createOne\",\"RunTraceContext.createMany\",\"RunTraceContext.createManyAndReturn\",\"RunTraceContext.updateOne\",\"RunTraceContext.updateMany\",\"RunTraceContext.updateManyAndReturn\",\"RunTraceContext.upsertOne\",\"RunTraceContext.deleteOne\",\"RunTraceContext.deleteMany\",\"RunTraceContext.groupBy\",\"RunTraceContext.aggregate\",\"TelemetrySpan.findUnique\",\"TelemetrySpan.findUniqueOrThrow\",\"TelemetrySpan.findFirst\",\"TelemetrySpan.findFirstOrThrow\",\"TelemetrySpan.findMany\",\"TelemetrySpan.createOne\",\"TelemetrySpan.createMany\",\"TelemetrySpan.createManyAndReturn\",\"TelemetrySpan.updateOne\",\"TelemetrySpan.updateMany\",\"TelemetrySpan.updateManyAndReturn\",\"TelemetrySpan.upsertOne\",\"TelemetrySpan.deleteOne\",\"TelemetrySpan.deleteMany\",\"TelemetrySpan.groupBy\",\"TelemetrySpan.aggregate\",\"WorkflowSnapshot.findUnique\",\"WorkflowSnapshot.findUniqueOrThrow\",\"WorkflowSnapshot.findFirst\",\"WorkflowSnapshot.findFirstOrThrow\",\"WorkflowSnapshot.findMany\",\"WorkflowSnapshot.createOne\",\"WorkflowSnapshot.createMany\",\"WorkflowSnapshot.createManyAndReturn\",\"WorkflowSnapshot.updateOne\",\"WorkflowSnapshot.updateMany\",\"WorkflowSnapshot.updateManyAndReturn\",\"WorkflowSnapshot.upsertOne\",\"WorkflowSnapshot.deleteOne\",\"WorkflowSnapshot.deleteMany\",\"WorkflowSnapshot.groupBy\",\"WorkflowSnapshot.aggregate\",\"TelemetryArtifact.findUnique\",\"TelemetryArtifact.findUniqueOrThrow\",\"TelemetryArtifact.findFirst\",\"TelemetryArtifact.findFirstOrThrow\",\"TelemetryArtifact.findMany\",\"TelemetryArtifact.createOne\",\"TelemetryArtifact.createMany\",\"TelemetryArtifact.createManyAndReturn\",\"TelemetryArtifact.updateOne\",\"TelemetryArtifact.updateMany\",\"TelemetryArtifact.updateManyAndReturn\",\"TelemetryArtifact.upsertOne\",\"TelemetryArtifact.deleteOne\",\"TelemetryArtifact.deleteMany\",\"TelemetryArtifact.groupBy\",\"TelemetryArtifact.aggregate\",\"TelemetryMetricPoint.findUnique\",\"TelemetryMetricPoint.findUniqueOrThrow\",\"TelemetryMetricPoint.findFirst\",\"TelemetryMetricPoint.findFirstOrThrow\",\"TelemetryMetricPoint.findMany\",\"TelemetryMetricPoint.createOne\",\"TelemetryMetricPoint.createMany\",\"TelemetryMetricPoint.createManyAndReturn\",\"TelemetryMetricPoint.updateOne\",\"TelemetryMetricPoint.updateMany\",\"TelemetryMetricPoint.updateManyAndReturn\",\"TelemetryMetricPoint.upsertOne\",\"TelemetryMetricPoint.deleteOne\",\"TelemetryMetricPoint.deleteMany\",\"TelemetryMetricPoint.groupBy\",\"TelemetryMetricPoint.aggregate\",\"CredentialInstance.findUnique\",\"CredentialInstance.findUniqueOrThrow\",\"CredentialInstance.findFirst\",\"CredentialInstance.findFirstOrThrow\",\"CredentialInstance.findMany\",\"CredentialInstance.createOne\",\"CredentialInstance.createMany\",\"CredentialInstance.createManyAndReturn\",\"CredentialInstance.updateOne\",\"CredentialInstance.updateMany\",\"CredentialInstance.updateManyAndReturn\",\"CredentialInstance.upsertOne\",\"CredentialInstance.deleteOne\",\"CredentialInstance.deleteMany\",\"CredentialInstance.groupBy\",\"CredentialInstance.aggregate\",\"CredentialSecretMaterial.findUnique\",\"CredentialSecretMaterial.findUniqueOrThrow\",\"CredentialSecretMaterial.findFirst\",\"CredentialSecretMaterial.findFirstOrThrow\",\"CredentialSecretMaterial.findMany\",\"CredentialSecretMaterial.createOne\",\"CredentialSecretMaterial.createMany\",\"CredentialSecretMaterial.createManyAndReturn\",\"CredentialSecretMaterial.updateOne\",\"CredentialSecretMaterial.updateMany\",\"CredentialSecretMaterial.updateManyAndReturn\",\"CredentialSecretMaterial.upsertOne\",\"CredentialSecretMaterial.deleteOne\",\"CredentialSecretMaterial.deleteMany\",\"CredentialSecretMaterial.groupBy\",\"CredentialSecretMaterial.aggregate\",\"CredentialOAuth2Material.findUnique\",\"CredentialOAuth2Material.findUniqueOrThrow\",\"CredentialOAuth2Material.findFirst\",\"CredentialOAuth2Material.findFirstOrThrow\",\"CredentialOAuth2Material.findMany\",\"CredentialOAuth2Material.createOne\",\"CredentialOAuth2Material.createMany\",\"CredentialOAuth2Material.createManyAndReturn\",\"CredentialOAuth2Material.updateOne\",\"CredentialOAuth2Material.updateMany\",\"CredentialOAuth2Material.updateManyAndReturn\",\"CredentialOAuth2Material.upsertOne\",\"CredentialOAuth2Material.deleteOne\",\"CredentialOAuth2Material.deleteMany\",\"CredentialOAuth2Material.groupBy\",\"CredentialOAuth2Material.aggregate\",\"CredentialOAuth2State.findUnique\",\"CredentialOAuth2State.findUniqueOrThrow\",\"CredentialOAuth2State.findFirst\",\"CredentialOAuth2State.findFirstOrThrow\",\"CredentialOAuth2State.findMany\",\"CredentialOAuth2State.createOne\",\"CredentialOAuth2State.createMany\",\"CredentialOAuth2State.createManyAndReturn\",\"CredentialOAuth2State.updateOne\",\"CredentialOAuth2State.updateMany\",\"CredentialOAuth2State.updateManyAndReturn\",\"CredentialOAuth2State.upsertOne\",\"CredentialOAuth2State.deleteOne\",\"CredentialOAuth2State.deleteMany\",\"CredentialOAuth2State.groupBy\",\"CredentialOAuth2State.aggregate\",\"CredentialBinding.findUnique\",\"CredentialBinding.findUniqueOrThrow\",\"CredentialBinding.findFirst\",\"CredentialBinding.findFirstOrThrow\",\"CredentialBinding.findMany\",\"CredentialBinding.createOne\",\"CredentialBinding.createMany\",\"CredentialBinding.createManyAndReturn\",\"CredentialBinding.updateOne\",\"CredentialBinding.updateMany\",\"CredentialBinding.updateManyAndReturn\",\"CredentialBinding.upsertOne\",\"CredentialBinding.deleteOne\",\"CredentialBinding.deleteMany\",\"CredentialBinding.groupBy\",\"CredentialBinding.aggregate\",\"CredentialTestResult.findUnique\",\"CredentialTestResult.findUniqueOrThrow\",\"CredentialTestResult.findFirst\",\"CredentialTestResult.findFirstOrThrow\",\"CredentialTestResult.findMany\",\"CredentialTestResult.createOne\",\"CredentialTestResult.createMany\",\"CredentialTestResult.createManyAndReturn\",\"CredentialTestResult.updateOne\",\"CredentialTestResult.updateMany\",\"CredentialTestResult.updateManyAndReturn\",\"CredentialTestResult.upsertOne\",\"CredentialTestResult.deleteOne\",\"CredentialTestResult.deleteMany\",\"CredentialTestResult.groupBy\",\"CredentialTestResult.aggregate\",\"user\",\"accounts\",\"sessions\",\"invites\",\"User.findUnique\",\"User.findUniqueOrThrow\",\"User.findFirst\",\"User.findFirstOrThrow\",\"User.findMany\",\"User.createOne\",\"User.createMany\",\"User.createManyAndReturn\",\"User.updateOne\",\"User.updateMany\",\"User.updateManyAndReturn\",\"User.upsertOne\",\"User.deleteOne\",\"User.deleteMany\",\"User.groupBy\",\"User.aggregate\",\"UserInvite.findUnique\",\"UserInvite.findUniqueOrThrow\",\"UserInvite.findFirst\",\"UserInvite.findFirstOrThrow\",\"UserInvite.findMany\",\"UserInvite.createOne\",\"UserInvite.createMany\",\"UserInvite.createManyAndReturn\",\"UserInvite.updateOne\",\"UserInvite.updateMany\",\"UserInvite.updateManyAndReturn\",\"UserInvite.upsertOne\",\"UserInvite.deleteOne\",\"UserInvite.deleteMany\",\"UserInvite.groupBy\",\"UserInvite.aggregate\",\"Account.findUnique\",\"Account.findUniqueOrThrow\",\"Account.findFirst\",\"Account.findFirstOrThrow\",\"Account.findMany\",\"Account.createOne\",\"Account.createMany\",\"Account.createManyAndReturn\",\"Account.updateOne\",\"Account.updateMany\",\"Account.updateManyAndReturn\",\"Account.upsertOne\",\"Account.deleteOne\",\"Account.deleteMany\",\"Account.groupBy\",\"Account.aggregate\",\"Session.findUnique\",\"Session.findUniqueOrThrow\",\"Session.findFirst\",\"Session.findFirstOrThrow\",\"Session.findMany\",\"Session.createOne\",\"Session.createMany\",\"Session.createManyAndReturn\",\"Session.updateOne\",\"Session.updateMany\",\"Session.updateManyAndReturn\",\"Session.upsertOne\",\"Session.deleteOne\",\"Session.deleteMany\",\"Session.groupBy\",\"Session.aggregate\",\"VerificationToken.findUnique\",\"VerificationToken.findUniqueOrThrow\",\"VerificationToken.findFirst\",\"VerificationToken.findFirstOrThrow\",\"VerificationToken.findMany\",\"VerificationToken.createOne\",\"VerificationToken.createMany\",\"VerificationToken.createManyAndReturn\",\"VerificationToken.updateOne\",\"VerificationToken.updateMany\",\"VerificationToken.updateManyAndReturn\",\"VerificationToken.upsertOne\",\"VerificationToken.deleteOne\",\"VerificationToken.deleteMany\",\"VerificationToken.groupBy\",\"VerificationToken.aggregate\",\"WorkflowAuditLog.findUnique\",\"WorkflowAuditLog.findUniqueOrThrow\",\"WorkflowAuditLog.findFirst\",\"WorkflowAuditLog.findFirstOrThrow\",\"WorkflowAuditLog.findMany\",\"WorkflowAuditLog.createOne\",\"WorkflowAuditLog.createMany\",\"WorkflowAuditLog.createManyAndReturn\",\"WorkflowAuditLog.updateOne\",\"WorkflowAuditLog.updateMany\",\"WorkflowAuditLog.updateManyAndReturn\",\"WorkflowAuditLog.upsertOne\",\"WorkflowAuditLog.deleteOne\",\"WorkflowAuditLog.deleteMany\",\"WorkflowAuditLog.groupBy\",\"WorkflowAuditLog.aggregate\",\"HmacNonce.findUnique\",\"HmacNonce.findUniqueOrThrow\",\"HmacNonce.findFirst\",\"HmacNonce.findFirstOrThrow\",\"HmacNonce.findMany\",\"HmacNonce.createOne\",\"HmacNonce.createMany\",\"HmacNonce.createManyAndReturn\",\"HmacNonce.updateOne\",\"HmacNonce.updateMany\",\"HmacNonce.updateManyAndReturn\",\"HmacNonce.upsertOne\",\"HmacNonce.deleteOne\",\"HmacNonce.deleteMany\",\"HmacNonce.groupBy\",\"HmacNonce.aggregate\",\"HumanTask.findUnique\",\"HumanTask.findUniqueOrThrow\",\"HumanTask.findFirst\",\"HumanTask.findFirstOrThrow\",\"HumanTask.findMany\",\"HumanTask.createOne\",\"HumanTask.createMany\",\"HumanTask.createManyAndReturn\",\"HumanTask.updateOne\",\"HumanTask.updateMany\",\"HumanTask.updateManyAndReturn\",\"HumanTask.upsertOne\",\"HumanTask.deleteOne\",\"HumanTask.deleteMany\",\"HumanTask.groupBy\",\"HumanTask.aggregate\",\"AND\",\"OR\",\"NOT\",\"id\",\"runId\",\"workflowId\",\"workspaceId\",\"nodeId\",\"activationId\",\"itemIndex\",\"status\",\"channel\",\"subjectJson\",\"metadataJson\",\"decisionSchemaJson\",\"decisionSchemaHash\",\"onTimeout\",\"deliveryRefJson\",\"decisionJson\",\"decidedAt\",\"decidedByJson\",\"resumeTokenHash\",\"expiresAt\",\"createdAt\",\"equals\",\"in\",\"notIn\",\"lt\",\"lte\",\"gt\",\"gte\",\"not\",\"contains\",\"startsWith\",\"endsWith\",\"nonce\",\"occurredAt\",\"actorUserId\",\"actorSessionId\",\"action\",\"resourceType\",\"resourceId\",\"outcome\",\"errorCode\",\"correlationId\",\"identifier\",\"token\",\"expires\",\"updatedAt\",\"identifier_token\",\"sessionToken\",\"userId\",\"ipAddress\",\"userAgent\",\"type\",\"provider\",\"providerAccountId\",\"password\",\"refresh_token\",\"access_token\",\"expires_at\",\"accessTokenExpiresAt\",\"refreshTokenExpiresAt\",\"token_type\",\"scope\",\"id_token\",\"session_state\",\"tokenHash\",\"revokedAt\",\"name\",\"email\",\"emailVerified\",\"image\",\"passwordHash\",\"accountStatus\",\"every\",\"some\",\"none\",\"provider_providerAccountId\",\"testId\",\"instanceId\",\"message\",\"detailsJson\",\"testedAt\",\"slotKey\",\"workflowId_nodeId_slotKey\",\"state\",\"codeVerifier\",\"providerId\",\"requestedScopesJson\",\"encryptedJson\",\"encryptionKeyId\",\"schemaVersion\",\"connectedEmail\",\"connectedAt\",\"scopesJson\",\"typeId\",\"displayName\",\"sourceKind\",\"publicConfigJson\",\"secretRefJson\",\"tagsJson\",\"setupStatus\",\"materialSource\",\"materialRef\",\"metricPointId\",\"traceId\",\"spanId\",\"metricName\",\"value\",\"unit\",\"observedAt\",\"workflowFolder\",\"nodeType\",\"nodeRole\",\"modelName\",\"dimensionsJson\",\"retentionExpiresAt\",\"iterationId\",\"parentInvocationId\",\"artifactId\",\"kind\",\"contentType\",\"previewText\",\"previewJson\",\"payloadText\",\"payloadJson\",\"payloadStorageKey\",\"bytes\",\"truncated\",\"snapshotHash\",\"snapshotJson\",\"workflowId_snapshotHash\",\"telemetrySpanId\",\"parentSpanId\",\"connectionInvocationId\",\"statusMessage\",\"startTime\",\"endTime\",\"attributesJson\",\"eventsJson\",\"traceId_spanId\",\"rootSpanId\",\"serviceName\",\"stateJson\",\"workflowId_nodeId\",\"isActive\",\"copiedFromRunId\",\"testSuiteRunId\",\"score\",\"passThreshold\",\"errored\",\"expectedJson\",\"actualJson\",\"triggerNodeId\",\"triggerNodeName\",\"concurrency\",\"startedAt\",\"finishedAt\",\"totalCases\",\"passedCases\",\"failedCases\",\"nodeCoverageJson\",\"errorMessage\",\"revision\",\"slotStatesJson\",\"slotNodeId\",\"workflowNodeId\",\"connectionKind\",\"batchId\",\"runIndex\",\"parentInstanceId\",\"parentRunId\",\"workerClaimToken\",\"queuedAt\",\"itemCount\",\"inputJson\",\"outputJson\",\"errorJson\",\"inputItemIndicesJson\",\"outputItemCount\",\"successfulItemCount\",\"failedItemCount\",\"inputStorageKind\",\"outputStorageKind\",\"inputBytes\",\"outputBytes\",\"inputPreviewJson\",\"outputPreviewJson\",\"inputPayloadRef\",\"outputPayloadRef\",\"inputTruncated\",\"outputTruncated\",\"usedPinnedOutput\",\"childRunId\",\"workItemId\",\"targetNodeId\",\"queueName\",\"claimToken\",\"claimedBy\",\"claimedAt\",\"availableAt\",\"enqueuedAt\",\"completedAt\",\"failedAt\",\"sourceInstanceId\",\"itemsIn\",\"inputsByPortJson\",\"parentJson\",\"executionOptionsJson\",\"controlJson\",\"workflowSnapshotJson\",\"workflowSnapshotId\",\"policySnapshotJson\",\"engineCountersJson\",\"mutableStateJson\",\"hitlStateJson\",\"outputsByNodeJson\",\"testCaseIndex\",\"testCaseLabel\",\"testCaseStatus\",\"runId_slotNodeId_runIndex\",\"is\",\"isNot\",\"connectOrCreate\",\"upsert\",\"createMany\",\"set\",\"disconnect\",\"delete\",\"connect\",\"updateMany\",\"deleteMany\",\"increment\",\"decrement\",\"multiply\",\"divide\"]"),
  graph: " "
}
config.compilerWasm = {
      getRuntime: async () => require('./query_compiler_fast_bg.js'),
      getQueryCompilerWasmModule: async () => {
        const { Buffer } = require('node:buffer')
        const { wasm } = require('./query_compiler_fast_bg.wasm-base64.js')
        const queryCompilerWasmFileBytes = Buffer.from(wasm, 'base64')

        return new WebAssembly.Module(queryCompilerWasmFileBytes)
      },
      importName: './query_compiler_fast_bg.js',
    }

const PrismaClient = getPrismaClient(config)
exports.PrismaClient = PrismaClient
Object.assign(exports, Prisma)
