@codemation/host 0.7.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/CHANGELOG.md +89 -0
  2. package/LICENSE +37 -1
  3. package/dist/{ApiPaths-Dv1dcHu_.js → ApiPaths-DCvrlIjg.js} +12 -1
  4. package/dist/{ApiPaths-Dv1dcHu_.js.map → ApiPaths-DCvrlIjg.js.map} +1 -1
  5. package/dist/{AppConfigFactory-Cx4qQvRk.js → AppConfigFactory-D4LL1aOR.js} +77 -297
  6. package/dist/AppConfigFactory-D4LL1aOR.js.map +1 -0
  7. package/dist/{AppConfigFactory-DnLoQ9Li.d.ts → AppConfigFactory-DncmwCD1.d.ts} +2918 -199
  8. package/dist/{AppContainerFactory-DqKYCRNP.js → AppContainerFactory-jpYXGZGe.js} +1733 -475
  9. package/dist/AppContainerFactory-jpYXGZGe.js.map +1 -0
  10. package/dist/{CodemationAppContext-CKVv9W9q.d.ts → CodemationAppContext-K51b7oXe.d.ts} +9 -3
  11. package/dist/{CodemationAuthoring.types-DA3G3s6d.d.ts → CodemationAuthoring.types-BXlXIl4K.d.ts} +9 -4
  12. package/dist/{CodemationAuthoring.types-NGkBcmmT.js → CodemationAuthoring.types-BteaR3Dc.js} +3 -2
  13. package/dist/CodemationAuthoring.types-BteaR3Dc.js.map +1 -0
  14. package/dist/{CodemationConfigNormalizer-BAKjetJ6.d.ts → CodemationConfigNormalizer-B4rDYC9h.d.ts} +3 -3
  15. package/dist/{CodemationConsumerConfigLoader-GYpBBvqE.js → CodemationConsumerConfigLoader-By-6tuGc.js} +3 -1
  16. package/dist/CodemationConsumerConfigLoader-By-6tuGc.js.map +1 -0
  17. package/dist/{CodemationConsumerConfigLoader-nxOqvv46.d.ts → CodemationConsumerConfigLoader-Dt4jyLx6.d.ts} +3 -2
  18. package/dist/{CodemationPluginListMerger-DKLAHT2b.d.ts → CodemationPluginListMerger-DS6I3Xe0.d.ts} +64 -27
  19. package/dist/{persistenceServer-C-hH4z6l.js → CodemationPostgresPrismaClientFactory-C7156Fe-.js} +2 -2
  20. package/dist/CodemationPostgresPrismaClientFactory-C7156Fe-.js.map +1 -0
  21. package/dist/CodemationPostgresPrismaClientFactory-CTNTPnDr.d.ts +9 -0
  22. package/dist/{CredentialContractsRegistry-Bq2bq28t.d.ts → CredentialContractsRegistry-Dgu-rEXi.d.ts} +16 -3
  23. package/dist/{CredentialServices-Be2I60Th.d.ts → CredentialServices-B3wPyp2y.d.ts} +4 -4
  24. package/dist/{CredentialServices-Dk8yypeL.js → CredentialServices-Bios0dM8.js} +10 -4
  25. package/dist/CredentialServices-Bios0dM8.js.map +1 -0
  26. package/dist/{InternalPingRegistrar-DY3kSfxP.js → InternalPingRegistrar-BavAAnvk.js} +19 -16
  27. package/dist/InternalPingRegistrar-BavAAnvk.js.map +1 -0
  28. package/dist/{ItemsInputNormalizer-_RwIfRIQ.d.ts → ItemsInputNormalizer-CFkfNMLt.d.ts} +1434 -1225
  29. package/dist/PrismaMigrationDeployer-DdEcXXVi.d.ts +14 -0
  30. package/dist/{PublicFrontendBootstrapFactory-CY2FS-5g.d.ts → PublicFrontendBootstrapFactory-ClEjZP74.d.ts} +2 -2
  31. package/dist/{PublicFrontendBootstrapJsonCodec-CXG9Dxft.d.ts → PublicFrontendBootstrapJsonCodec-HNItQ7ol.d.ts} +6 -1
  32. package/dist/{TelemetryContracts-BtDx84Cp.d.ts → TelemetryContracts-DpZEODQM.d.ts} +2 -2
  33. package/dist/{WorkflowPolicyUiPresentationFactory-6MyjCvBO.d.ts → WorkflowPolicyUiPresentationFactory-BNn2fvR_.d.ts} +2 -2
  34. package/dist/{WorkflowPolicyUiPresentationFactory-Bb-ae_Zh.js → WorkflowPolicyUiPresentationFactory-DfvD2VHk.js} +1 -1
  35. package/dist/{WorkflowPolicyUiPresentationFactory-Bb-ae_Zh.js.map → WorkflowPolicyUiPresentationFactory-DfvD2VHk.js.map} +1 -1
  36. package/dist/authoring.d.ts +4 -4
  37. package/dist/authoring.js +1 -1
  38. package/dist/client.d.ts +1 -1
  39. package/dist/client.js +1 -1
  40. package/dist/consumer.d.ts +5 -5
  41. package/dist/consumer.js +1 -1
  42. package/dist/credentials.d.ts +5 -5
  43. package/dist/credentials.js +1 -1
  44. package/dist/devServerSidecar.d.ts +2 -2
  45. package/dist/dto.d.ts +5 -5
  46. package/dist/{index-DilAYwnH.d.ts → index-ChIfeWzk.d.ts} +71 -28
  47. package/dist/index.d.ts +49 -17
  48. package/dist/index.js +106 -13
  49. package/dist/index.js.map +1 -0
  50. package/dist/infrastructure/persistence/PrismaMigrationOperations.d.ts +44 -0
  51. package/dist/infrastructure/persistence/PrismaMigrationOperations.js +302 -0
  52. package/dist/infrastructure/persistence/PrismaMigrationOperations.js.map +1 -0
  53. package/dist/mapping.d.ts +2 -2
  54. package/dist/mapping.js +1 -1
  55. package/dist/nextServer.d.ts +15 -39
  56. package/dist/nextServer.js +6 -6
  57. package/dist/pairing.d.ts +27 -8
  58. package/dist/pairing.js +19 -3
  59. package/dist/pairing.js.map +1 -0
  60. package/dist/{pairing.types-snfZ_OzB.d.ts → pairing.types-D9Bjn98U.d.ts} +1 -1
  61. package/dist/persistenceServer.d.ts +31 -7
  62. package/dist/persistenceServer.js +2 -2
  63. package/dist/{server-C4bS62rg.d.ts → server-B5trn7y4.d.ts} +5 -5
  64. package/dist/{server-Y7kxwtCK.js → server-BlG9qV5S.js} +5 -5
  65. package/dist/{server-Y7kxwtCK.js.map → server-BlG9qV5S.js.map} +1 -1
  66. package/dist/server.d.ts +10 -10
  67. package/dist/server.js +9 -9
  68. package/package.json +28 -25
  69. package/playwright.config.ts +8 -2
  70. package/playwright.scaffolded-dev.config.ts +8 -2
  71. package/prisma/migrations/20260526120000_credential_material_pointer/migration.sql +18 -0
  72. package/prisma/migrations/20260527120000_add_human_task/migration.sql +32 -0
  73. package/prisma/migrations/20260527130000_add_hitl_state_json/migration.sql +6 -0
  74. package/prisma/migrations/20260527130000_add_hmac_nonce/migration.sql +12 -0
  75. package/prisma/migrations.sqlite/20260526120000_credential_material_pointer/migration.sql +13 -0
  76. package/prisma/migrations.sqlite/20260527120000_add_human_task/migration.sql +30 -0
  77. package/prisma/migrations.sqlite/20260527130000_add_hitl_state_json/migration.sql +6 -0
  78. package/prisma/migrations.sqlite/20260527130000_add_hmac_nonce/migration.sql +9 -0
  79. package/prisma/schema.postgresql.prisma +48 -0
  80. package/prisma/schema.sqlite.prisma +48 -0
  81. package/prisma-generated/prisma-postgresql-client/edge.js +40 -6
  82. package/prisma-generated/prisma-postgresql-client/index-browser.js +36 -2
  83. package/prisma-generated/prisma-postgresql-client/index.d.ts +3179 -163
  84. package/prisma-generated/prisma-postgresql-client/index.js +40 -6
  85. package/prisma-generated/prisma-postgresql-client/package.json +1 -1
  86. package/prisma-generated/prisma-postgresql-client/schema.prisma +48 -0
  87. package/prisma-generated/prisma-sqlite-client/edge.js +40 -6
  88. package/prisma-generated/prisma-sqlite-client/index-browser.js +36 -2
  89. package/prisma-generated/prisma-sqlite-client/index.d.ts +3175 -163
  90. package/prisma-generated/prisma-sqlite-client/index.js +40 -6
  91. package/prisma-generated/prisma-sqlite-client/package.json +1 -1
  92. package/prisma-generated/prisma-sqlite-client/schema.prisma +48 -0
  93. package/src/application/contracts/CredentialContractsRegistry.ts +15 -0
  94. package/src/application/credentials/AppGalleryProjector.ts +69 -0
  95. package/src/application/hitl/DecideHumanTaskCommandHandler.ts +149 -0
  96. package/src/application/hitl/DecisionSchemaValidator.ts +22 -0
  97. package/src/application/hitl/HitlCallbackHandler.ts +96 -0
  98. package/src/application/mapping/WorkflowDefinitionMapper.ts +1 -3
  99. package/src/application/queries/CredentialQueryHandlers.ts +2 -0
  100. package/src/application/queries/GetCredentialAppsQuery.ts +4 -0
  101. package/src/application/queries/GetCredentialAppsQueryHandler.ts +27 -0
  102. package/src/application/telemetry/ResumeTelemetryContextForRun.ts +53 -0
  103. package/src/application/telemetry/TelemetryRetentionTimestampFactory.ts +9 -8
  104. package/src/applicationTokens.ts +11 -1
  105. package/src/auth/managed/ManagedCorsMiddleware.ts +20 -5
  106. package/src/bootstrap/AppContainerFactory.ts +121 -3
  107. package/src/bootstrap/runtime/HeadlessApiRuntime.ts +47 -0
  108. package/src/credentials/CachingCredentialMaterialProvider.ts +96 -0
  109. package/src/credentials/CompositeCredentialMaterialProvider.ts +47 -0
  110. package/src/credentials/ControlPlaneCatalogFetcher.ts +8 -28
  111. package/src/credentials/ControlPlaneCredentialMaterialProvider.ts +79 -0
  112. package/src/credentials/CredentialOAuth2MaterialReader.ts +2 -7
  113. package/src/credentials/InternalCredentialsBindingRegistrar.ts +83 -0
  114. package/src/credentials/LocalCredentialMaterialProvider.ts +92 -0
  115. package/src/domain/credentials/CredentialInstanceService.ts +5 -1
  116. package/src/domain/credentials/CredentialTypeRegistryImpl.ts +18 -4
  117. package/src/domain/workflows/WorkflowActivationPreflightRules.ts +7 -4
  118. package/src/dto.ts +2 -0
  119. package/src/hitl/ControlPlaneInboxChannel.ts +102 -0
  120. package/src/hitl/HitlResumeTokenSigner.ts +80 -0
  121. package/src/hitl/HitlTimeoutJobScheduler.ts +77 -0
  122. package/src/hitl/HitlTimeoutWorker.ts +138 -0
  123. package/src/hitl/InboxChannelResolver.ts +49 -0
  124. package/src/hitl/LocalInboxChannel.ts +37 -0
  125. package/src/index.ts +3 -0
  126. package/src/infrastructure/persistence/PrismaCredentialStore.ts +10 -0
  127. package/src/infrastructure/persistence/PrismaHmacNonceStore.ts +29 -0
  128. package/src/infrastructure/persistence/PrismaHumanTaskStore.ts +156 -0
  129. package/src/infrastructure/persistence/PrismaMigrationDeployer.ts +53 -383
  130. package/src/infrastructure/persistence/PrismaMigrationOperations.ts +401 -0
  131. package/src/infrastructure/persistence/PrismaWorkflowRunRepository.ts +39 -0
  132. package/src/mcp/AgentMcpIntegrationImpl.ts +5 -1
  133. package/src/pairing/HmacNonceStore.ts +14 -0
  134. package/src/pairing/HmacNonceStoreToken.ts +4 -0
  135. package/src/pairing/HmacRequestSigner.ts +10 -1
  136. package/src/pairing/InMemoryHmacNonceStore.ts +24 -0
  137. package/src/pairing/IncomingHmacVerifier.ts +28 -12
  138. package/src/pairing/InternalHmacAuthMiddleware.ts +1 -1
  139. package/src/pairing/index.ts +3 -0
  140. package/src/presentation/config/CodemationAuthoring.types.ts +7 -1
  141. package/src/presentation/config/CodemationConfig.ts +6 -0
  142. package/src/presentation/http/ApiPaths.ts +14 -0
  143. package/src/presentation/http/HeadlessHttpServerFactory.ts +56 -0
  144. package/src/presentation/http/hono/HonoHttpAnonymousRoutePolicyRegistry.ts +4 -0
  145. package/src/presentation/http/hono/registrars/CredentialHonoApiRouteRegistrar.ts +1 -0
  146. package/src/presentation/http/hono/registrars/HitlDecideHonoApiRouteRegistrar.ts +54 -0
  147. package/src/presentation/http/hono/registrars/HitlInternalCallbackHonoApiRouteRegistrar.ts +33 -0
  148. package/src/presentation/http/hono/registrars/HitlResumeHonoApiRouteRegistrar.ts +43 -0
  149. package/src/presentation/http/routeHandlers/CredentialHttpRouteHandler.ts +9 -0
  150. package/src/presentation/http/routeHandlers/OAuth2HttpRouteHandlerFactory.ts +1 -1
  151. package/src/presentation/server/CodemationConsumerConfigLoader.ts +7 -2
  152. package/src/presentation/websocket/WorkflowWebsocketServerFactory.ts +16 -0
  153. package/src/server.ts +7 -2
  154. package/src/workflows/InternalWorkflowTestRunRegistrar.ts +9 -0
  155. package/tsconfig.json +1 -0
  156. package/dist/AppConfigFactory-Cx4qQvRk.js.map +0 -1
  157. package/dist/AppContainerFactory-DqKYCRNP.js.map +0 -1
  158. package/dist/CodemationAuthoring.types-NGkBcmmT.js.map +0 -1
  159. package/dist/CodemationConsumerConfigLoader-GYpBBvqE.js.map +0 -1
  160. package/dist/CredentialServices-Dk8yypeL.js.map +0 -1
  161. package/dist/InternalPingRegistrar-DY3kSfxP.js.map +0 -1
  162. package/dist/persistenceServer-C-hH4z6l.js.map +0 -1
  163. package/dist/persistenceServer-CeTHtC6E.d.ts +0 -30
  164. package/src/credentials/catalogTypes.ts +0 -4
@@ -1,5 +1,5 @@
1
- import { i as AppPersistenceConfig, r as AppConfig } from "./CodemationAppContext-CKVv9W9q.js";
2
- import { t as NormalizedCodemationConfig } from "./CodemationConfigNormalizer-BAKjetJ6.js";
1
+ import { r as AppConfig } from "./CodemationAppContext-K51b7oXe.js";
2
+ import { t as NormalizedCodemationConfig } from "./CodemationConfigNormalizer-B4rDYC9h.js";
3
3
  import { AnyNull, AnyNullClass, DbNull, DbNullClass, Decimal, JsonNull, JsonNullClass, NullTypes as NullTypes$1, ObjectEnumValue, PrismaClientInitializationError, PrismaClientKnownRequestError, PrismaClientRustPanicError, PrismaClientUnknownRequestError, PrismaClientValidationError, RawValue, Sql, Value, empty, isAnyNull, isDbNull, isJsonNull, isObjectEnumValue, join, raw, sql as sqltag } from "@prisma/client-runtime-utils";
4
4
 
5
5
  //#region prisma-generated/prisma-postgresql-client/runtime/client.d.ts
@@ -2995,6 +2995,26 @@ declare class PrismaClient<ClientOptions extends Prisma.PrismaClientOptions = Pr
2995
2995
  * ```
2996
2996
  */
2997
2997
  get workflowAuditLog(): Prisma.WorkflowAuditLogDelegate<ExtArgs, ClientOptions>;
2998
+
2999
+ /**
3000
+ * `prisma.hmacNonce`: Exposes CRUD operations for the **HmacNonce** model.
3001
+ * Example usage:
3002
+ * ```ts
3003
+ * // Fetch zero or more HmacNonces
3004
+ * const hmacNonces = await prisma.hmacNonce.findMany()
3005
+ * ```
3006
+ */
3007
+ get hmacNonce(): Prisma.HmacNonceDelegate<ExtArgs, ClientOptions>;
3008
+
3009
+ /**
3010
+ * `prisma.humanTask`: Exposes CRUD operations for the **HumanTask** model.
3011
+ * Example usage:
3012
+ * ```ts
3013
+ * // Fetch zero or more HumanTasks
3014
+ * const humanTasks = await prisma.humanTask.findMany()
3015
+ * ```
3016
+ */
3017
+ get humanTask(): Prisma.HumanTaskDelegate<ExtArgs, ClientOptions>;
2998
3018
  }
2999
3019
  declare namespace Prisma {
3000
3020
  export import DMMF = runtime.DMMF;
@@ -3325,6 +3345,8 @@ declare namespace Prisma {
3325
3345
  Session: 'Session';
3326
3346
  VerificationToken: 'VerificationToken';
3327
3347
  WorkflowAuditLog: 'WorkflowAuditLog';
3348
+ HmacNonce: 'HmacNonce';
3349
+ HumanTask: 'HumanTask';
3328
3350
  };
3329
3351
  export type ModelName = (typeof ModelName)[keyof typeof ModelName];
3330
3352
  interface TypeMapCb<ClientOptions = {}> extends $Utils.Fn<{
@@ -3339,7 +3361,7 @@ declare namespace Prisma {
3339
3361
  omit: GlobalOmitOptions$1;
3340
3362
  };
3341
3363
  meta: {
3342
- modelProps: "run" | "runWorkItem" | "executionInstance" | "runSlotProjection" | "testSuiteRun" | "testAssertion" | "workflowDebuggerOverlay" | "workflowActivation" | "triggerSetupState" | "runTraceContext" | "telemetrySpan" | "workflowSnapshot" | "telemetryArtifact" | "telemetryMetricPoint" | "credentialInstance" | "credentialSecretMaterial" | "credentialOAuth2Material" | "credentialOAuth2State" | "credentialBinding" | "credentialTestResult" | "user" | "userInvite" | "account" | "session" | "verificationToken" | "workflowAuditLog";
3364
+ modelProps: "run" | "runWorkItem" | "executionInstance" | "runSlotProjection" | "testSuiteRun" | "testAssertion" | "workflowDebuggerOverlay" | "workflowActivation" | "triggerSetupState" | "runTraceContext" | "telemetrySpan" | "workflowSnapshot" | "telemetryArtifact" | "telemetryMetricPoint" | "credentialInstance" | "credentialSecretMaterial" | "credentialOAuth2Material" | "credentialOAuth2State" | "credentialBinding" | "credentialTestResult" | "user" | "userInvite" | "account" | "session" | "verificationToken" | "workflowAuditLog" | "hmacNonce" | "humanTask";
3343
3365
  txIsolationLevel: Prisma.TransactionIsolationLevel;
3344
3366
  };
3345
3367
  model: {
@@ -5267,6 +5289,154 @@ declare namespace Prisma {
5267
5289
  };
5268
5290
  };
5269
5291
  };
5292
+ HmacNonce: {
5293
+ payload: Prisma.$HmacNoncePayload<ExtArgs>;
5294
+ fields: Prisma.HmacNonceFieldRefs;
5295
+ operations: {
5296
+ findUnique: {
5297
+ args: Prisma.HmacNonceFindUniqueArgs<ExtArgs>;
5298
+ result: $Utils.PayloadToResult<Prisma.$HmacNoncePayload> | null;
5299
+ };
5300
+ findUniqueOrThrow: {
5301
+ args: Prisma.HmacNonceFindUniqueOrThrowArgs<ExtArgs>;
5302
+ result: $Utils.PayloadToResult<Prisma.$HmacNoncePayload>;
5303
+ };
5304
+ findFirst: {
5305
+ args: Prisma.HmacNonceFindFirstArgs<ExtArgs>;
5306
+ result: $Utils.PayloadToResult<Prisma.$HmacNoncePayload> | null;
5307
+ };
5308
+ findFirstOrThrow: {
5309
+ args: Prisma.HmacNonceFindFirstOrThrowArgs<ExtArgs>;
5310
+ result: $Utils.PayloadToResult<Prisma.$HmacNoncePayload>;
5311
+ };
5312
+ findMany: {
5313
+ args: Prisma.HmacNonceFindManyArgs<ExtArgs>;
5314
+ result: $Utils.PayloadToResult<Prisma.$HmacNoncePayload>[];
5315
+ };
5316
+ create: {
5317
+ args: Prisma.HmacNonceCreateArgs<ExtArgs>;
5318
+ result: $Utils.PayloadToResult<Prisma.$HmacNoncePayload>;
5319
+ };
5320
+ createMany: {
5321
+ args: Prisma.HmacNonceCreateManyArgs<ExtArgs>;
5322
+ result: BatchPayload;
5323
+ };
5324
+ createManyAndReturn: {
5325
+ args: Prisma.HmacNonceCreateManyAndReturnArgs<ExtArgs>;
5326
+ result: $Utils.PayloadToResult<Prisma.$HmacNoncePayload>[];
5327
+ };
5328
+ delete: {
5329
+ args: Prisma.HmacNonceDeleteArgs<ExtArgs>;
5330
+ result: $Utils.PayloadToResult<Prisma.$HmacNoncePayload>;
5331
+ };
5332
+ update: {
5333
+ args: Prisma.HmacNonceUpdateArgs<ExtArgs>;
5334
+ result: $Utils.PayloadToResult<Prisma.$HmacNoncePayload>;
5335
+ };
5336
+ deleteMany: {
5337
+ args: Prisma.HmacNonceDeleteManyArgs<ExtArgs>;
5338
+ result: BatchPayload;
5339
+ };
5340
+ updateMany: {
5341
+ args: Prisma.HmacNonceUpdateManyArgs<ExtArgs>;
5342
+ result: BatchPayload;
5343
+ };
5344
+ updateManyAndReturn: {
5345
+ args: Prisma.HmacNonceUpdateManyAndReturnArgs<ExtArgs>;
5346
+ result: $Utils.PayloadToResult<Prisma.$HmacNoncePayload>[];
5347
+ };
5348
+ upsert: {
5349
+ args: Prisma.HmacNonceUpsertArgs<ExtArgs>;
5350
+ result: $Utils.PayloadToResult<Prisma.$HmacNoncePayload>;
5351
+ };
5352
+ aggregate: {
5353
+ args: Prisma.HmacNonceAggregateArgs<ExtArgs>;
5354
+ result: $Utils.Optional<AggregateHmacNonce>;
5355
+ };
5356
+ groupBy: {
5357
+ args: Prisma.HmacNonceGroupByArgs<ExtArgs>;
5358
+ result: $Utils.Optional<HmacNonceGroupByOutputType>[];
5359
+ };
5360
+ count: {
5361
+ args: Prisma.HmacNonceCountArgs<ExtArgs>;
5362
+ result: $Utils.Optional<HmacNonceCountAggregateOutputType> | number;
5363
+ };
5364
+ };
5365
+ };
5366
+ HumanTask: {
5367
+ payload: Prisma.$HumanTaskPayload<ExtArgs>;
5368
+ fields: Prisma.HumanTaskFieldRefs;
5369
+ operations: {
5370
+ findUnique: {
5371
+ args: Prisma.HumanTaskFindUniqueArgs<ExtArgs>;
5372
+ result: $Utils.PayloadToResult<Prisma.$HumanTaskPayload> | null;
5373
+ };
5374
+ findUniqueOrThrow: {
5375
+ args: Prisma.HumanTaskFindUniqueOrThrowArgs<ExtArgs>;
5376
+ result: $Utils.PayloadToResult<Prisma.$HumanTaskPayload>;
5377
+ };
5378
+ findFirst: {
5379
+ args: Prisma.HumanTaskFindFirstArgs<ExtArgs>;
5380
+ result: $Utils.PayloadToResult<Prisma.$HumanTaskPayload> | null;
5381
+ };
5382
+ findFirstOrThrow: {
5383
+ args: Prisma.HumanTaskFindFirstOrThrowArgs<ExtArgs>;
5384
+ result: $Utils.PayloadToResult<Prisma.$HumanTaskPayload>;
5385
+ };
5386
+ findMany: {
5387
+ args: Prisma.HumanTaskFindManyArgs<ExtArgs>;
5388
+ result: $Utils.PayloadToResult<Prisma.$HumanTaskPayload>[];
5389
+ };
5390
+ create: {
5391
+ args: Prisma.HumanTaskCreateArgs<ExtArgs>;
5392
+ result: $Utils.PayloadToResult<Prisma.$HumanTaskPayload>;
5393
+ };
5394
+ createMany: {
5395
+ args: Prisma.HumanTaskCreateManyArgs<ExtArgs>;
5396
+ result: BatchPayload;
5397
+ };
5398
+ createManyAndReturn: {
5399
+ args: Prisma.HumanTaskCreateManyAndReturnArgs<ExtArgs>;
5400
+ result: $Utils.PayloadToResult<Prisma.$HumanTaskPayload>[];
5401
+ };
5402
+ delete: {
5403
+ args: Prisma.HumanTaskDeleteArgs<ExtArgs>;
5404
+ result: $Utils.PayloadToResult<Prisma.$HumanTaskPayload>;
5405
+ };
5406
+ update: {
5407
+ args: Prisma.HumanTaskUpdateArgs<ExtArgs>;
5408
+ result: $Utils.PayloadToResult<Prisma.$HumanTaskPayload>;
5409
+ };
5410
+ deleteMany: {
5411
+ args: Prisma.HumanTaskDeleteManyArgs<ExtArgs>;
5412
+ result: BatchPayload;
5413
+ };
5414
+ updateMany: {
5415
+ args: Prisma.HumanTaskUpdateManyArgs<ExtArgs>;
5416
+ result: BatchPayload;
5417
+ };
5418
+ updateManyAndReturn: {
5419
+ args: Prisma.HumanTaskUpdateManyAndReturnArgs<ExtArgs>;
5420
+ result: $Utils.PayloadToResult<Prisma.$HumanTaskPayload>[];
5421
+ };
5422
+ upsert: {
5423
+ args: Prisma.HumanTaskUpsertArgs<ExtArgs>;
5424
+ result: $Utils.PayloadToResult<Prisma.$HumanTaskPayload>;
5425
+ };
5426
+ aggregate: {
5427
+ args: Prisma.HumanTaskAggregateArgs<ExtArgs>;
5428
+ result: $Utils.Optional<AggregateHumanTask>;
5429
+ };
5430
+ groupBy: {
5431
+ args: Prisma.HumanTaskGroupByArgs<ExtArgs>;
5432
+ result: $Utils.Optional<HumanTaskGroupByOutputType>[];
5433
+ };
5434
+ count: {
5435
+ args: Prisma.HumanTaskCountArgs<ExtArgs>;
5436
+ result: $Utils.Optional<HumanTaskCountAggregateOutputType> | number;
5437
+ };
5438
+ };
5439
+ };
5270
5440
  };
5271
5441
  } & {
5272
5442
  other: {
@@ -5401,6 +5571,8 @@ declare namespace Prisma {
5401
5571
  session?: SessionOmit;
5402
5572
  verificationToken?: VerificationTokenOmit;
5403
5573
  workflowAuditLog?: WorkflowAuditLogOmit;
5574
+ hmacNonce?: HmacNonceOmit;
5575
+ humanTask?: HumanTaskOmit;
5404
5576
  };
5405
5577
 
5406
5578
  /* Types for Logging */
@@ -5642,6 +5814,7 @@ declare namespace Prisma {
5642
5814
  policySnapshotJson: string | null;
5643
5815
  engineCountersJson: string | null;
5644
5816
  mutableStateJson: string | null;
5817
+ hitlStateJson: string | null;
5645
5818
  outputsByNodeJson: string | null;
5646
5819
  updatedAt: string | null;
5647
5820
  testSuiteRunId: string | null;
@@ -5664,6 +5837,7 @@ declare namespace Prisma {
5664
5837
  policySnapshotJson: string | null;
5665
5838
  engineCountersJson: string | null;
5666
5839
  mutableStateJson: string | null;
5840
+ hitlStateJson: string | null;
5667
5841
  outputsByNodeJson: string | null;
5668
5842
  updatedAt: string | null;
5669
5843
  testSuiteRunId: string | null;
@@ -5686,6 +5860,7 @@ declare namespace Prisma {
5686
5860
  policySnapshotJson: number;
5687
5861
  engineCountersJson: number;
5688
5862
  mutableStateJson: number;
5863
+ hitlStateJson: number;
5689
5864
  outputsByNodeJson: number;
5690
5865
  updatedAt: number;
5691
5866
  testSuiteRunId: number;
@@ -5717,6 +5892,7 @@ declare namespace Prisma {
5717
5892
  policySnapshotJson?: true;
5718
5893
  engineCountersJson?: true;
5719
5894
  mutableStateJson?: true;
5895
+ hitlStateJson?: true;
5720
5896
  outputsByNodeJson?: true;
5721
5897
  updatedAt?: true;
5722
5898
  testSuiteRunId?: true;
@@ -5739,6 +5915,7 @@ declare namespace Prisma {
5739
5915
  policySnapshotJson?: true;
5740
5916
  engineCountersJson?: true;
5741
5917
  mutableStateJson?: true;
5918
+ hitlStateJson?: true;
5742
5919
  outputsByNodeJson?: true;
5743
5920
  updatedAt?: true;
5744
5921
  testSuiteRunId?: true;
@@ -5761,6 +5938,7 @@ declare namespace Prisma {
5761
5938
  policySnapshotJson?: true;
5762
5939
  engineCountersJson?: true;
5763
5940
  mutableStateJson?: true;
5941
+ hitlStateJson?: true;
5764
5942
  outputsByNodeJson?: true;
5765
5943
  updatedAt?: true;
5766
5944
  testSuiteRunId?: true;
@@ -5858,6 +6036,7 @@ declare namespace Prisma {
5858
6036
  policySnapshotJson: string | null;
5859
6037
  engineCountersJson: string | null;
5860
6038
  mutableStateJson: string | null;
6039
+ hitlStateJson: string | null;
5861
6040
  outputsByNodeJson: string;
5862
6041
  updatedAt: string;
5863
6042
  testSuiteRunId: string | null;
@@ -5886,6 +6065,7 @@ declare namespace Prisma {
5886
6065
  policySnapshotJson?: boolean;
5887
6066
  engineCountersJson?: boolean;
5888
6067
  mutableStateJson?: boolean;
6068
+ hitlStateJson?: boolean;
5889
6069
  outputsByNodeJson?: boolean;
5890
6070
  updatedAt?: boolean;
5891
6071
  testSuiteRunId?: boolean;
@@ -5915,6 +6095,7 @@ declare namespace Prisma {
5915
6095
  policySnapshotJson?: boolean;
5916
6096
  engineCountersJson?: boolean;
5917
6097
  mutableStateJson?: boolean;
6098
+ hitlStateJson?: boolean;
5918
6099
  outputsByNodeJson?: boolean;
5919
6100
  updatedAt?: boolean;
5920
6101
  testSuiteRunId?: boolean;
@@ -5939,6 +6120,7 @@ declare namespace Prisma {
5939
6120
  policySnapshotJson?: boolean;
5940
6121
  engineCountersJson?: boolean;
5941
6122
  mutableStateJson?: boolean;
6123
+ hitlStateJson?: boolean;
5942
6124
  outputsByNodeJson?: boolean;
5943
6125
  updatedAt?: boolean;
5944
6126
  testSuiteRunId?: boolean;
@@ -5963,6 +6145,7 @@ declare namespace Prisma {
5963
6145
  policySnapshotJson?: boolean;
5964
6146
  engineCountersJson?: boolean;
5965
6147
  mutableStateJson?: boolean;
6148
+ hitlStateJson?: boolean;
5966
6149
  outputsByNodeJson?: boolean;
5967
6150
  updatedAt?: boolean;
5968
6151
  testSuiteRunId?: boolean;
@@ -5970,7 +6153,7 @@ declare namespace Prisma {
5970
6153
  testCaseLabel?: boolean;
5971
6154
  testCaseStatus?: boolean;
5972
6155
  };
5973
- export type RunOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"runId" | "workflowId" | "startedAt" | "finishedAt" | "status" | "revision" | "parentJson" | "executionOptionsJson" | "controlJson" | "workflowSnapshotJson" | "workflowSnapshotId" | "policySnapshotJson" | "engineCountersJson" | "mutableStateJson" | "outputsByNodeJson" | "updatedAt" | "testSuiteRunId" | "testCaseIndex" | "testCaseLabel" | "testCaseStatus", ExtArgs["result"]["run"]>;
6156
+ export type RunOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"runId" | "workflowId" | "startedAt" | "finishedAt" | "status" | "revision" | "parentJson" | "executionOptionsJson" | "controlJson" | "workflowSnapshotJson" | "workflowSnapshotId" | "policySnapshotJson" | "engineCountersJson" | "mutableStateJson" | "hitlStateJson" | "outputsByNodeJson" | "updatedAt" | "testSuiteRunId" | "testCaseIndex" | "testCaseLabel" | "testCaseStatus", ExtArgs["result"]["run"]>;
5974
6157
  export type RunInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
5975
6158
  workItems?: boolean | Run$workItemsArgs<ExtArgs>;
5976
6159
  executionInstances?: boolean | Run$executionInstancesArgs<ExtArgs>;
@@ -6013,6 +6196,7 @@ declare namespace Prisma {
6013
6196
  policySnapshotJson: string | null;
6014
6197
  engineCountersJson: string | null;
6015
6198
  mutableStateJson: string | null;
6199
+ hitlStateJson: string | null;
6016
6200
  outputsByNodeJson: string;
6017
6201
  updatedAt: string;
6018
6202
  testSuiteRunId: string | null;
@@ -6398,6 +6582,7 @@ declare namespace Prisma {
6398
6582
  readonly policySnapshotJson: FieldRef<"Run", 'String'>;
6399
6583
  readonly engineCountersJson: FieldRef<"Run", 'String'>;
6400
6584
  readonly mutableStateJson: FieldRef<"Run", 'String'>;
6585
+ readonly hitlStateJson: FieldRef<"Run", 'String'>;
6401
6586
  readonly outputsByNodeJson: FieldRef<"Run", 'String'>;
6402
6587
  readonly updatedAt: FieldRef<"Run", 'String'>;
6403
6588
  readonly testSuiteRunId: FieldRef<"Run", 'String'>;
@@ -20875,6 +21060,8 @@ declare namespace Prisma {
20875
21060
  setupStatus: string | null;
20876
21061
  createdAt: string | null;
20877
21062
  updatedAt: string | null;
21063
+ materialSource: string | null;
21064
+ materialRef: string | null;
20878
21065
  };
20879
21066
  export type CredentialInstanceMaxAggregateOutputType = {
20880
21067
  instanceId: string | null;
@@ -20887,6 +21074,8 @@ declare namespace Prisma {
20887
21074
  setupStatus: string | null;
20888
21075
  createdAt: string | null;
20889
21076
  updatedAt: string | null;
21077
+ materialSource: string | null;
21078
+ materialRef: string | null;
20890
21079
  };
20891
21080
  export type CredentialInstanceCountAggregateOutputType = {
20892
21081
  instanceId: number;
@@ -20899,6 +21088,8 @@ declare namespace Prisma {
20899
21088
  setupStatus: number;
20900
21089
  createdAt: number;
20901
21090
  updatedAt: number;
21091
+ materialSource: number;
21092
+ materialRef: number;
20902
21093
  _all: number;
20903
21094
  };
20904
21095
  export type CredentialInstanceMinAggregateInputType = {
@@ -20912,6 +21103,8 @@ declare namespace Prisma {
20912
21103
  setupStatus?: true;
20913
21104
  createdAt?: true;
20914
21105
  updatedAt?: true;
21106
+ materialSource?: true;
21107
+ materialRef?: true;
20915
21108
  };
20916
21109
  export type CredentialInstanceMaxAggregateInputType = {
20917
21110
  instanceId?: true;
@@ -20924,6 +21117,8 @@ declare namespace Prisma {
20924
21117
  setupStatus?: true;
20925
21118
  createdAt?: true;
20926
21119
  updatedAt?: true;
21120
+ materialSource?: true;
21121
+ materialRef?: true;
20927
21122
  };
20928
21123
  export type CredentialInstanceCountAggregateInputType = {
20929
21124
  instanceId?: true;
@@ -20936,6 +21131,8 @@ declare namespace Prisma {
20936
21131
  setupStatus?: true;
20937
21132
  createdAt?: true;
20938
21133
  updatedAt?: true;
21134
+ materialSource?: true;
21135
+ materialRef?: true;
20939
21136
  _all?: true;
20940
21137
  };
20941
21138
  export type CredentialInstanceAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -21009,6 +21206,8 @@ declare namespace Prisma {
21009
21206
  setupStatus: string;
21010
21207
  createdAt: string;
21011
21208
  updatedAt: string;
21209
+ materialSource: string;
21210
+ materialRef: string;
21012
21211
  _count: CredentialInstanceCountAggregateOutputType | null;
21013
21212
  _min: CredentialInstanceMinAggregateOutputType | null;
21014
21213
  _max: CredentialInstanceMaxAggregateOutputType | null;
@@ -21025,6 +21224,8 @@ declare namespace Prisma {
21025
21224
  setupStatus?: boolean;
21026
21225
  createdAt?: boolean;
21027
21226
  updatedAt?: boolean;
21227
+ materialSource?: boolean;
21228
+ materialRef?: boolean;
21028
21229
  }, ExtArgs["result"]["credentialInstance"]>;
21029
21230
  export type CredentialInstanceSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
21030
21231
  instanceId?: boolean;
@@ -21037,6 +21238,8 @@ declare namespace Prisma {
21037
21238
  setupStatus?: boolean;
21038
21239
  createdAt?: boolean;
21039
21240
  updatedAt?: boolean;
21241
+ materialSource?: boolean;
21242
+ materialRef?: boolean;
21040
21243
  }, ExtArgs["result"]["credentialInstance"]>;
21041
21244
  export type CredentialInstanceSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
21042
21245
  instanceId?: boolean;
@@ -21049,6 +21252,8 @@ declare namespace Prisma {
21049
21252
  setupStatus?: boolean;
21050
21253
  createdAt?: boolean;
21051
21254
  updatedAt?: boolean;
21255
+ materialSource?: boolean;
21256
+ materialRef?: boolean;
21052
21257
  }, ExtArgs["result"]["credentialInstance"]>;
21053
21258
  export type CredentialInstanceSelectScalar = {
21054
21259
  instanceId?: boolean;
@@ -21061,8 +21266,10 @@ declare namespace Prisma {
21061
21266
  setupStatus?: boolean;
21062
21267
  createdAt?: boolean;
21063
21268
  updatedAt?: boolean;
21269
+ materialSource?: boolean;
21270
+ materialRef?: boolean;
21064
21271
  };
21065
- export type CredentialInstanceOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"instanceId" | "typeId" | "displayName" | "sourceKind" | "publicConfigJson" | "secretRefJson" | "tagsJson" | "setupStatus" | "createdAt" | "updatedAt", ExtArgs["result"]["credentialInstance"]>;
21272
+ export type CredentialInstanceOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"instanceId" | "typeId" | "displayName" | "sourceKind" | "publicConfigJson" | "secretRefJson" | "tagsJson" | "setupStatus" | "createdAt" | "updatedAt" | "materialSource" | "materialRef", ExtArgs["result"]["credentialInstance"]>;
21066
21273
  export type $CredentialInstancePayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21067
21274
  name: "CredentialInstance";
21068
21275
  objects: {};
@@ -21077,6 +21284,8 @@ declare namespace Prisma {
21077
21284
  setupStatus: string;
21078
21285
  createdAt: string;
21079
21286
  updatedAt: string;
21287
+ materialSource: string;
21288
+ materialRef: string;
21080
21289
  }, ExtArgs["result"]["credentialInstance"]>;
21081
21290
  composites: {};
21082
21291
  };
@@ -21446,6 +21655,8 @@ declare namespace Prisma {
21446
21655
  readonly setupStatus: FieldRef<"CredentialInstance", 'String'>;
21447
21656
  readonly createdAt: FieldRef<"CredentialInstance", 'String'>;
21448
21657
  readonly updatedAt: FieldRef<"CredentialInstance", 'String'>;
21658
+ readonly materialSource: FieldRef<"CredentialInstance", 'String'>;
21659
+ readonly materialRef: FieldRef<"CredentialInstance", 'String'>;
21449
21660
  }
21450
21661
 
21451
21662
  // Custom InputTypes
@@ -32178,389 +32389,2387 @@ declare namespace Prisma {
32178
32389
  }
32179
32390
 
32180
32391
  /**
32181
- * Fields of the WorkflowAuditLog model
32182
- */
32183
- interface WorkflowAuditLogFieldRefs {
32184
- readonly id: FieldRef<"WorkflowAuditLog", 'String'>;
32185
- readonly occurredAt: FieldRef<"WorkflowAuditLog", 'DateTime'>;
32186
- readonly actorUserId: FieldRef<"WorkflowAuditLog", 'String'>;
32187
- readonly actorSessionId: FieldRef<"WorkflowAuditLog", 'String'>;
32188
- readonly action: FieldRef<"WorkflowAuditLog", 'String'>;
32189
- readonly resourceType: FieldRef<"WorkflowAuditLog", 'String'>;
32190
- readonly resourceId: FieldRef<"WorkflowAuditLog", 'String'>;
32191
- readonly outcome: FieldRef<"WorkflowAuditLog", 'String'>;
32192
- readonly errorCode: FieldRef<"WorkflowAuditLog", 'String'>;
32193
- readonly correlationId: FieldRef<"WorkflowAuditLog", 'String'>;
32194
- readonly workflowId: FieldRef<"WorkflowAuditLog", 'String'>;
32195
- readonly runId: FieldRef<"WorkflowAuditLog", 'String'>;
32196
- readonly nodeId: FieldRef<"WorkflowAuditLog", 'String'>;
32392
+ * Fields of the WorkflowAuditLog model
32393
+ */
32394
+ interface WorkflowAuditLogFieldRefs {
32395
+ readonly id: FieldRef<"WorkflowAuditLog", 'String'>;
32396
+ readonly occurredAt: FieldRef<"WorkflowAuditLog", 'DateTime'>;
32397
+ readonly actorUserId: FieldRef<"WorkflowAuditLog", 'String'>;
32398
+ readonly actorSessionId: FieldRef<"WorkflowAuditLog", 'String'>;
32399
+ readonly action: FieldRef<"WorkflowAuditLog", 'String'>;
32400
+ readonly resourceType: FieldRef<"WorkflowAuditLog", 'String'>;
32401
+ readonly resourceId: FieldRef<"WorkflowAuditLog", 'String'>;
32402
+ readonly outcome: FieldRef<"WorkflowAuditLog", 'String'>;
32403
+ readonly errorCode: FieldRef<"WorkflowAuditLog", 'String'>;
32404
+ readonly correlationId: FieldRef<"WorkflowAuditLog", 'String'>;
32405
+ readonly workflowId: FieldRef<"WorkflowAuditLog", 'String'>;
32406
+ readonly runId: FieldRef<"WorkflowAuditLog", 'String'>;
32407
+ readonly nodeId: FieldRef<"WorkflowAuditLog", 'String'>;
32408
+ }
32409
+
32410
+ // Custom InputTypes
32411
+ /**
32412
+ * WorkflowAuditLog findUnique
32413
+ */
32414
+ export type WorkflowAuditLogFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
32415
+ /**
32416
+ * Select specific fields to fetch from the WorkflowAuditLog
32417
+ */
32418
+ select?: WorkflowAuditLogSelect<ExtArgs> | null;
32419
+ /**
32420
+ * Omit specific fields from the WorkflowAuditLog
32421
+ */
32422
+ omit?: WorkflowAuditLogOmit<ExtArgs> | null;
32423
+ /**
32424
+ * Filter, which WorkflowAuditLog to fetch.
32425
+ */
32426
+ where: WorkflowAuditLogWhereUniqueInput;
32427
+ };
32428
+
32429
+ /**
32430
+ * WorkflowAuditLog findUniqueOrThrow
32431
+ */
32432
+ export type WorkflowAuditLogFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
32433
+ /**
32434
+ * Select specific fields to fetch from the WorkflowAuditLog
32435
+ */
32436
+ select?: WorkflowAuditLogSelect<ExtArgs> | null;
32437
+ /**
32438
+ * Omit specific fields from the WorkflowAuditLog
32439
+ */
32440
+ omit?: WorkflowAuditLogOmit<ExtArgs> | null;
32441
+ /**
32442
+ * Filter, which WorkflowAuditLog to fetch.
32443
+ */
32444
+ where: WorkflowAuditLogWhereUniqueInput;
32445
+ };
32446
+
32447
+ /**
32448
+ * WorkflowAuditLog findFirst
32449
+ */
32450
+ export type WorkflowAuditLogFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
32451
+ /**
32452
+ * Select specific fields to fetch from the WorkflowAuditLog
32453
+ */
32454
+ select?: WorkflowAuditLogSelect<ExtArgs> | null;
32455
+ /**
32456
+ * Omit specific fields from the WorkflowAuditLog
32457
+ */
32458
+ omit?: WorkflowAuditLogOmit<ExtArgs> | null;
32459
+ /**
32460
+ * Filter, which WorkflowAuditLog to fetch.
32461
+ */
32462
+ where?: WorkflowAuditLogWhereInput;
32463
+ /**
32464
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
32465
+ *
32466
+ * Determine the order of WorkflowAuditLogs to fetch.
32467
+ */
32468
+ orderBy?: WorkflowAuditLogOrderByWithRelationInput | WorkflowAuditLogOrderByWithRelationInput[];
32469
+ /**
32470
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
32471
+ *
32472
+ * Sets the position for searching for WorkflowAuditLogs.
32473
+ */
32474
+ cursor?: WorkflowAuditLogWhereUniqueInput;
32475
+ /**
32476
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
32477
+ *
32478
+ * Take `±n` WorkflowAuditLogs from the position of the cursor.
32479
+ */
32480
+ take?: number;
32481
+ /**
32482
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
32483
+ *
32484
+ * Skip the first `n` WorkflowAuditLogs.
32485
+ */
32486
+ skip?: number;
32487
+ /**
32488
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
32489
+ *
32490
+ * Filter by unique combinations of WorkflowAuditLogs.
32491
+ */
32492
+ distinct?: WorkflowAuditLogScalarFieldEnum | WorkflowAuditLogScalarFieldEnum[];
32493
+ };
32494
+
32495
+ /**
32496
+ * WorkflowAuditLog findFirstOrThrow
32497
+ */
32498
+ export type WorkflowAuditLogFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
32499
+ /**
32500
+ * Select specific fields to fetch from the WorkflowAuditLog
32501
+ */
32502
+ select?: WorkflowAuditLogSelect<ExtArgs> | null;
32503
+ /**
32504
+ * Omit specific fields from the WorkflowAuditLog
32505
+ */
32506
+ omit?: WorkflowAuditLogOmit<ExtArgs> | null;
32507
+ /**
32508
+ * Filter, which WorkflowAuditLog to fetch.
32509
+ */
32510
+ where?: WorkflowAuditLogWhereInput;
32511
+ /**
32512
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
32513
+ *
32514
+ * Determine the order of WorkflowAuditLogs to fetch.
32515
+ */
32516
+ orderBy?: WorkflowAuditLogOrderByWithRelationInput | WorkflowAuditLogOrderByWithRelationInput[];
32517
+ /**
32518
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
32519
+ *
32520
+ * Sets the position for searching for WorkflowAuditLogs.
32521
+ */
32522
+ cursor?: WorkflowAuditLogWhereUniqueInput;
32523
+ /**
32524
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
32525
+ *
32526
+ * Take `±n` WorkflowAuditLogs from the position of the cursor.
32527
+ */
32528
+ take?: number;
32529
+ /**
32530
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
32531
+ *
32532
+ * Skip the first `n` WorkflowAuditLogs.
32533
+ */
32534
+ skip?: number;
32535
+ /**
32536
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
32537
+ *
32538
+ * Filter by unique combinations of WorkflowAuditLogs.
32539
+ */
32540
+ distinct?: WorkflowAuditLogScalarFieldEnum | WorkflowAuditLogScalarFieldEnum[];
32541
+ };
32542
+
32543
+ /**
32544
+ * WorkflowAuditLog findMany
32545
+ */
32546
+ export type WorkflowAuditLogFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
32547
+ /**
32548
+ * Select specific fields to fetch from the WorkflowAuditLog
32549
+ */
32550
+ select?: WorkflowAuditLogSelect<ExtArgs> | null;
32551
+ /**
32552
+ * Omit specific fields from the WorkflowAuditLog
32553
+ */
32554
+ omit?: WorkflowAuditLogOmit<ExtArgs> | null;
32555
+ /**
32556
+ * Filter, which WorkflowAuditLogs to fetch.
32557
+ */
32558
+ where?: WorkflowAuditLogWhereInput;
32559
+ /**
32560
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
32561
+ *
32562
+ * Determine the order of WorkflowAuditLogs to fetch.
32563
+ */
32564
+ orderBy?: WorkflowAuditLogOrderByWithRelationInput | WorkflowAuditLogOrderByWithRelationInput[];
32565
+ /**
32566
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
32567
+ *
32568
+ * Sets the position for listing WorkflowAuditLogs.
32569
+ */
32570
+ cursor?: WorkflowAuditLogWhereUniqueInput;
32571
+ /**
32572
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
32573
+ *
32574
+ * Take `±n` WorkflowAuditLogs from the position of the cursor.
32575
+ */
32576
+ take?: number;
32577
+ /**
32578
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
32579
+ *
32580
+ * Skip the first `n` WorkflowAuditLogs.
32581
+ */
32582
+ skip?: number;
32583
+ /**
32584
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
32585
+ *
32586
+ * Filter by unique combinations of WorkflowAuditLogs.
32587
+ */
32588
+ distinct?: WorkflowAuditLogScalarFieldEnum | WorkflowAuditLogScalarFieldEnum[];
32589
+ };
32590
+
32591
+ /**
32592
+ * WorkflowAuditLog create
32593
+ */
32594
+ export type WorkflowAuditLogCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
32595
+ /**
32596
+ * Select specific fields to fetch from the WorkflowAuditLog
32597
+ */
32598
+ select?: WorkflowAuditLogSelect<ExtArgs> | null;
32599
+ /**
32600
+ * Omit specific fields from the WorkflowAuditLog
32601
+ */
32602
+ omit?: WorkflowAuditLogOmit<ExtArgs> | null;
32603
+ /**
32604
+ * The data needed to create a WorkflowAuditLog.
32605
+ */
32606
+ data: XOR<WorkflowAuditLogCreateInput, WorkflowAuditLogUncheckedCreateInput>;
32607
+ };
32608
+
32609
+ /**
32610
+ * WorkflowAuditLog createMany
32611
+ */
32612
+ export type WorkflowAuditLogCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
32613
+ /**
32614
+ * The data used to create many WorkflowAuditLogs.
32615
+ */
32616
+ data: WorkflowAuditLogCreateManyInput | WorkflowAuditLogCreateManyInput[];
32617
+ skipDuplicates?: boolean;
32618
+ };
32619
+
32620
+ /**
32621
+ * WorkflowAuditLog createManyAndReturn
32622
+ */
32623
+ export type WorkflowAuditLogCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
32624
+ /**
32625
+ * Select specific fields to fetch from the WorkflowAuditLog
32626
+ */
32627
+ select?: WorkflowAuditLogSelectCreateManyAndReturn<ExtArgs> | null;
32628
+ /**
32629
+ * Omit specific fields from the WorkflowAuditLog
32630
+ */
32631
+ omit?: WorkflowAuditLogOmit<ExtArgs> | null;
32632
+ /**
32633
+ * The data used to create many WorkflowAuditLogs.
32634
+ */
32635
+ data: WorkflowAuditLogCreateManyInput | WorkflowAuditLogCreateManyInput[];
32636
+ skipDuplicates?: boolean;
32637
+ };
32638
+
32639
+ /**
32640
+ * WorkflowAuditLog update
32641
+ */
32642
+ export type WorkflowAuditLogUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
32643
+ /**
32644
+ * Select specific fields to fetch from the WorkflowAuditLog
32645
+ */
32646
+ select?: WorkflowAuditLogSelect<ExtArgs> | null;
32647
+ /**
32648
+ * Omit specific fields from the WorkflowAuditLog
32649
+ */
32650
+ omit?: WorkflowAuditLogOmit<ExtArgs> | null;
32651
+ /**
32652
+ * The data needed to update a WorkflowAuditLog.
32653
+ */
32654
+ data: XOR<WorkflowAuditLogUpdateInput, WorkflowAuditLogUncheckedUpdateInput>;
32655
+ /**
32656
+ * Choose, which WorkflowAuditLog to update.
32657
+ */
32658
+ where: WorkflowAuditLogWhereUniqueInput;
32659
+ };
32660
+
32661
+ /**
32662
+ * WorkflowAuditLog updateMany
32663
+ */
32664
+ export type WorkflowAuditLogUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
32665
+ /**
32666
+ * The data used to update WorkflowAuditLogs.
32667
+ */
32668
+ data: XOR<WorkflowAuditLogUpdateManyMutationInput, WorkflowAuditLogUncheckedUpdateManyInput>;
32669
+ /**
32670
+ * Filter which WorkflowAuditLogs to update
32671
+ */
32672
+ where?: WorkflowAuditLogWhereInput;
32673
+ /**
32674
+ * Limit how many WorkflowAuditLogs to update.
32675
+ */
32676
+ limit?: number;
32677
+ };
32678
+
32679
+ /**
32680
+ * WorkflowAuditLog updateManyAndReturn
32681
+ */
32682
+ export type WorkflowAuditLogUpdateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
32683
+ /**
32684
+ * Select specific fields to fetch from the WorkflowAuditLog
32685
+ */
32686
+ select?: WorkflowAuditLogSelectUpdateManyAndReturn<ExtArgs> | null;
32687
+ /**
32688
+ * Omit specific fields from the WorkflowAuditLog
32689
+ */
32690
+ omit?: WorkflowAuditLogOmit<ExtArgs> | null;
32691
+ /**
32692
+ * The data used to update WorkflowAuditLogs.
32693
+ */
32694
+ data: XOR<WorkflowAuditLogUpdateManyMutationInput, WorkflowAuditLogUncheckedUpdateManyInput>;
32695
+ /**
32696
+ * Filter which WorkflowAuditLogs to update
32697
+ */
32698
+ where?: WorkflowAuditLogWhereInput;
32699
+ /**
32700
+ * Limit how many WorkflowAuditLogs to update.
32701
+ */
32702
+ limit?: number;
32703
+ };
32704
+
32705
+ /**
32706
+ * WorkflowAuditLog upsert
32707
+ */
32708
+ export type WorkflowAuditLogUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
32709
+ /**
32710
+ * Select specific fields to fetch from the WorkflowAuditLog
32711
+ */
32712
+ select?: WorkflowAuditLogSelect<ExtArgs> | null;
32713
+ /**
32714
+ * Omit specific fields from the WorkflowAuditLog
32715
+ */
32716
+ omit?: WorkflowAuditLogOmit<ExtArgs> | null;
32717
+ /**
32718
+ * The filter to search for the WorkflowAuditLog to update in case it exists.
32719
+ */
32720
+ where: WorkflowAuditLogWhereUniqueInput;
32721
+ /**
32722
+ * In case the WorkflowAuditLog found by the `where` argument doesn't exist, create a new WorkflowAuditLog with this data.
32723
+ */
32724
+ create: XOR<WorkflowAuditLogCreateInput, WorkflowAuditLogUncheckedCreateInput>;
32725
+ /**
32726
+ * In case the WorkflowAuditLog was found with the provided `where` argument, update it with this data.
32727
+ */
32728
+ update: XOR<WorkflowAuditLogUpdateInput, WorkflowAuditLogUncheckedUpdateInput>;
32729
+ };
32730
+
32731
+ /**
32732
+ * WorkflowAuditLog delete
32733
+ */
32734
+ export type WorkflowAuditLogDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
32735
+ /**
32736
+ * Select specific fields to fetch from the WorkflowAuditLog
32737
+ */
32738
+ select?: WorkflowAuditLogSelect<ExtArgs> | null;
32739
+ /**
32740
+ * Omit specific fields from the WorkflowAuditLog
32741
+ */
32742
+ omit?: WorkflowAuditLogOmit<ExtArgs> | null;
32743
+ /**
32744
+ * Filter which WorkflowAuditLog to delete.
32745
+ */
32746
+ where: WorkflowAuditLogWhereUniqueInput;
32747
+ };
32748
+
32749
+ /**
32750
+ * WorkflowAuditLog deleteMany
32751
+ */
32752
+ export type WorkflowAuditLogDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
32753
+ /**
32754
+ * Filter which WorkflowAuditLogs to delete
32755
+ */
32756
+ where?: WorkflowAuditLogWhereInput;
32757
+ /**
32758
+ * Limit how many WorkflowAuditLogs to delete.
32759
+ */
32760
+ limit?: number;
32761
+ };
32762
+
32763
+ /**
32764
+ * WorkflowAuditLog without action
32765
+ */
32766
+ export type WorkflowAuditLogDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
32767
+ /**
32768
+ * Select specific fields to fetch from the WorkflowAuditLog
32769
+ */
32770
+ select?: WorkflowAuditLogSelect<ExtArgs> | null;
32771
+ /**
32772
+ * Omit specific fields from the WorkflowAuditLog
32773
+ */
32774
+ omit?: WorkflowAuditLogOmit<ExtArgs> | null;
32775
+ };
32776
+
32777
+ /**
32778
+ * Model HmacNonce
32779
+ */
32780
+
32781
+ export type AggregateHmacNonce = {
32782
+ _count: HmacNonceCountAggregateOutputType | null;
32783
+ _min: HmacNonceMinAggregateOutputType | null;
32784
+ _max: HmacNonceMaxAggregateOutputType | null;
32785
+ };
32786
+ export type HmacNonceMinAggregateOutputType = {
32787
+ nonce: string | null;
32788
+ expiresAt: Date | null;
32789
+ };
32790
+ export type HmacNonceMaxAggregateOutputType = {
32791
+ nonce: string | null;
32792
+ expiresAt: Date | null;
32793
+ };
32794
+ export type HmacNonceCountAggregateOutputType = {
32795
+ nonce: number;
32796
+ expiresAt: number;
32797
+ _all: number;
32798
+ };
32799
+ export type HmacNonceMinAggregateInputType = {
32800
+ nonce?: true;
32801
+ expiresAt?: true;
32802
+ };
32803
+ export type HmacNonceMaxAggregateInputType = {
32804
+ nonce?: true;
32805
+ expiresAt?: true;
32806
+ };
32807
+ export type HmacNonceCountAggregateInputType = {
32808
+ nonce?: true;
32809
+ expiresAt?: true;
32810
+ _all?: true;
32811
+ };
32812
+ export type HmacNonceAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
32813
+ /**
32814
+ * Filter which HmacNonce to aggregate.
32815
+ */
32816
+ where?: HmacNonceWhereInput;
32817
+ /**
32818
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
32819
+ *
32820
+ * Determine the order of HmacNonces to fetch.
32821
+ */
32822
+ orderBy?: HmacNonceOrderByWithRelationInput | HmacNonceOrderByWithRelationInput[];
32823
+ /**
32824
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
32825
+ *
32826
+ * Sets the start position
32827
+ */
32828
+ cursor?: HmacNonceWhereUniqueInput;
32829
+ /**
32830
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
32831
+ *
32832
+ * Take `±n` HmacNonces from the position of the cursor.
32833
+ */
32834
+ take?: number;
32835
+ /**
32836
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
32837
+ *
32838
+ * Skip the first `n` HmacNonces.
32839
+ */
32840
+ skip?: number;
32841
+ /**
32842
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
32843
+ *
32844
+ * Count returned HmacNonces
32845
+ **/
32846
+ _count?: true | HmacNonceCountAggregateInputType;
32847
+ /**
32848
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
32849
+ *
32850
+ * Select which fields to find the minimum value
32851
+ **/
32852
+ _min?: HmacNonceMinAggregateInputType;
32853
+ /**
32854
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
32855
+ *
32856
+ * Select which fields to find the maximum value
32857
+ **/
32858
+ _max?: HmacNonceMaxAggregateInputType;
32859
+ };
32860
+ export type GetHmacNonceAggregateType<T$1 extends HmacNonceAggregateArgs> = { [P in keyof T$1 & keyof AggregateHmacNonce]: P extends '_count' | 'count' ? T$1[P] extends true ? number : GetScalarType<T$1[P], AggregateHmacNonce[P]> : GetScalarType<T$1[P], AggregateHmacNonce[P]> };
32861
+ export type HmacNonceGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
32862
+ where?: HmacNonceWhereInput;
32863
+ orderBy?: HmacNonceOrderByWithAggregationInput | HmacNonceOrderByWithAggregationInput[];
32864
+ by: HmacNonceScalarFieldEnum[] | HmacNonceScalarFieldEnum;
32865
+ having?: HmacNonceScalarWhereWithAggregatesInput;
32866
+ take?: number;
32867
+ skip?: number;
32868
+ _count?: HmacNonceCountAggregateInputType | true;
32869
+ _min?: HmacNonceMinAggregateInputType;
32870
+ _max?: HmacNonceMaxAggregateInputType;
32871
+ };
32872
+ export type HmacNonceGroupByOutputType = {
32873
+ nonce: string;
32874
+ expiresAt: Date;
32875
+ _count: HmacNonceCountAggregateOutputType | null;
32876
+ _min: HmacNonceMinAggregateOutputType | null;
32877
+ _max: HmacNonceMaxAggregateOutputType | null;
32878
+ };
32879
+ type GetHmacNonceGroupByPayload<T$1 extends HmacNonceGroupByArgs> = Prisma.PrismaPromise<Array<PickEnumerable<HmacNonceGroupByOutputType, T$1['by']> & { [P in ((keyof T$1) & (keyof HmacNonceGroupByOutputType))]: P extends '_count' ? T$1[P] extends boolean ? number : GetScalarType<T$1[P], HmacNonceGroupByOutputType[P]> : GetScalarType<T$1[P], HmacNonceGroupByOutputType[P]> }>>;
32880
+ export type HmacNonceSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
32881
+ nonce?: boolean;
32882
+ expiresAt?: boolean;
32883
+ }, ExtArgs["result"]["hmacNonce"]>;
32884
+ export type HmacNonceSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
32885
+ nonce?: boolean;
32886
+ expiresAt?: boolean;
32887
+ }, ExtArgs["result"]["hmacNonce"]>;
32888
+ export type HmacNonceSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
32889
+ nonce?: boolean;
32890
+ expiresAt?: boolean;
32891
+ }, ExtArgs["result"]["hmacNonce"]>;
32892
+ export type HmacNonceSelectScalar = {
32893
+ nonce?: boolean;
32894
+ expiresAt?: boolean;
32895
+ };
32896
+ export type HmacNonceOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"nonce" | "expiresAt", ExtArgs["result"]["hmacNonce"]>;
32897
+ export type $HmacNoncePayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
32898
+ name: "HmacNonce";
32899
+ objects: {};
32900
+ scalars: $Extensions.GetPayloadResult<{
32901
+ nonce: string;
32902
+ expiresAt: Date;
32903
+ }, ExtArgs["result"]["hmacNonce"]>;
32904
+ composites: {};
32905
+ };
32906
+ type HmacNonceGetPayload<S$1 extends boolean | null | undefined | HmacNonceDefaultArgs> = $Result.GetResult<Prisma.$HmacNoncePayload, S$1>;
32907
+ type HmacNonceCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = Omit<HmacNonceFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
32908
+ select?: HmacNonceCountAggregateInputType | true;
32909
+ };
32910
+ export interface HmacNonceDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions$1 = {}> {
32911
+ [K: symbol]: {
32912
+ types: Prisma.TypeMap<ExtArgs>['model']['HmacNonce'];
32913
+ meta: {
32914
+ name: 'HmacNonce';
32915
+ };
32916
+ };
32917
+ /**
32918
+ * Find zero or one HmacNonce that matches the filter.
32919
+ * @param {HmacNonceFindUniqueArgs} args - Arguments to find a HmacNonce
32920
+ * @example
32921
+ * // Get one HmacNonce
32922
+ * const hmacNonce = await prisma.hmacNonce.findUnique({
32923
+ * where: {
32924
+ * // ... provide filter here
32925
+ * }
32926
+ * })
32927
+ */
32928
+ findUnique<T$1 extends HmacNonceFindUniqueArgs>(args: SelectSubset<T$1, HmacNonceFindUniqueArgs<ExtArgs>>): Prisma__HmacNonceClient<$Result.GetResult<Prisma.$HmacNoncePayload<ExtArgs>, T$1, "findUnique", GlobalOmitOptions$1> | null, null, ExtArgs, GlobalOmitOptions$1>;
32929
+
32930
+ /**
32931
+ * Find one HmacNonce that matches the filter or throw an error with `error.code='P2025'`
32932
+ * if no matches were found.
32933
+ * @param {HmacNonceFindUniqueOrThrowArgs} args - Arguments to find a HmacNonce
32934
+ * @example
32935
+ * // Get one HmacNonce
32936
+ * const hmacNonce = await prisma.hmacNonce.findUniqueOrThrow({
32937
+ * where: {
32938
+ * // ... provide filter here
32939
+ * }
32940
+ * })
32941
+ */
32942
+ findUniqueOrThrow<T$1 extends HmacNonceFindUniqueOrThrowArgs>(args: SelectSubset<T$1, HmacNonceFindUniqueOrThrowArgs<ExtArgs>>): Prisma__HmacNonceClient<$Result.GetResult<Prisma.$HmacNoncePayload<ExtArgs>, T$1, "findUniqueOrThrow", GlobalOmitOptions$1>, never, ExtArgs, GlobalOmitOptions$1>;
32943
+
32944
+ /**
32945
+ * Find the first HmacNonce that matches the filter.
32946
+ * Note, that providing `undefined` is treated as the value not being there.
32947
+ * Read more here: https://pris.ly/d/null-undefined
32948
+ * @param {HmacNonceFindFirstArgs} args - Arguments to find a HmacNonce
32949
+ * @example
32950
+ * // Get one HmacNonce
32951
+ * const hmacNonce = await prisma.hmacNonce.findFirst({
32952
+ * where: {
32953
+ * // ... provide filter here
32954
+ * }
32955
+ * })
32956
+ */
32957
+ findFirst<T$1 extends HmacNonceFindFirstArgs>(args?: SelectSubset<T$1, HmacNonceFindFirstArgs<ExtArgs>>): Prisma__HmacNonceClient<$Result.GetResult<Prisma.$HmacNoncePayload<ExtArgs>, T$1, "findFirst", GlobalOmitOptions$1> | null, null, ExtArgs, GlobalOmitOptions$1>;
32958
+
32959
+ /**
32960
+ * Find the first HmacNonce that matches the filter or
32961
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
32962
+ * Note, that providing `undefined` is treated as the value not being there.
32963
+ * Read more here: https://pris.ly/d/null-undefined
32964
+ * @param {HmacNonceFindFirstOrThrowArgs} args - Arguments to find a HmacNonce
32965
+ * @example
32966
+ * // Get one HmacNonce
32967
+ * const hmacNonce = await prisma.hmacNonce.findFirstOrThrow({
32968
+ * where: {
32969
+ * // ... provide filter here
32970
+ * }
32971
+ * })
32972
+ */
32973
+ findFirstOrThrow<T$1 extends HmacNonceFindFirstOrThrowArgs>(args?: SelectSubset<T$1, HmacNonceFindFirstOrThrowArgs<ExtArgs>>): Prisma__HmacNonceClient<$Result.GetResult<Prisma.$HmacNoncePayload<ExtArgs>, T$1, "findFirstOrThrow", GlobalOmitOptions$1>, never, ExtArgs, GlobalOmitOptions$1>;
32974
+
32975
+ /**
32976
+ * Find zero or more HmacNonces that matches the filter.
32977
+ * Note, that providing `undefined` is treated as the value not being there.
32978
+ * Read more here: https://pris.ly/d/null-undefined
32979
+ * @param {HmacNonceFindManyArgs} args - Arguments to filter and select certain fields only.
32980
+ * @example
32981
+ * // Get all HmacNonces
32982
+ * const hmacNonces = await prisma.hmacNonce.findMany()
32983
+ *
32984
+ * // Get first 10 HmacNonces
32985
+ * const hmacNonces = await prisma.hmacNonce.findMany({ take: 10 })
32986
+ *
32987
+ * // Only select the `nonce`
32988
+ * const hmacNonceWithNonceOnly = await prisma.hmacNonce.findMany({ select: { nonce: true } })
32989
+ *
32990
+ */
32991
+ findMany<T$1 extends HmacNonceFindManyArgs>(args?: SelectSubset<T$1, HmacNonceFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$HmacNoncePayload<ExtArgs>, T$1, "findMany", GlobalOmitOptions$1>>;
32992
+
32993
+ /**
32994
+ * Create a HmacNonce.
32995
+ * @param {HmacNonceCreateArgs} args - Arguments to create a HmacNonce.
32996
+ * @example
32997
+ * // Create one HmacNonce
32998
+ * const HmacNonce = await prisma.hmacNonce.create({
32999
+ * data: {
33000
+ * // ... data to create a HmacNonce
33001
+ * }
33002
+ * })
33003
+ *
33004
+ */
33005
+ create<T$1 extends HmacNonceCreateArgs>(args: SelectSubset<T$1, HmacNonceCreateArgs<ExtArgs>>): Prisma__HmacNonceClient<$Result.GetResult<Prisma.$HmacNoncePayload<ExtArgs>, T$1, "create", GlobalOmitOptions$1>, never, ExtArgs, GlobalOmitOptions$1>;
33006
+
33007
+ /**
33008
+ * Create many HmacNonces.
33009
+ * @param {HmacNonceCreateManyArgs} args - Arguments to create many HmacNonces.
33010
+ * @example
33011
+ * // Create many HmacNonces
33012
+ * const hmacNonce = await prisma.hmacNonce.createMany({
33013
+ * data: [
33014
+ * // ... provide data here
33015
+ * ]
33016
+ * })
33017
+ *
33018
+ */
33019
+ createMany<T$1 extends HmacNonceCreateManyArgs>(args?: SelectSubset<T$1, HmacNonceCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>;
33020
+
33021
+ /**
33022
+ * Create many HmacNonces and returns the data saved in the database.
33023
+ * @param {HmacNonceCreateManyAndReturnArgs} args - Arguments to create many HmacNonces.
33024
+ * @example
33025
+ * // Create many HmacNonces
33026
+ * const hmacNonce = await prisma.hmacNonce.createManyAndReturn({
33027
+ * data: [
33028
+ * // ... provide data here
33029
+ * ]
33030
+ * })
33031
+ *
33032
+ * // Create many HmacNonces and only return the `nonce`
33033
+ * const hmacNonceWithNonceOnly = await prisma.hmacNonce.createManyAndReturn({
33034
+ * select: { nonce: true },
33035
+ * data: [
33036
+ * // ... provide data here
33037
+ * ]
33038
+ * })
33039
+ * Note, that providing `undefined` is treated as the value not being there.
33040
+ * Read more here: https://pris.ly/d/null-undefined
33041
+ *
33042
+ */
33043
+ createManyAndReturn<T$1 extends HmacNonceCreateManyAndReturnArgs>(args?: SelectSubset<T$1, HmacNonceCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$HmacNoncePayload<ExtArgs>, T$1, "createManyAndReturn", GlobalOmitOptions$1>>;
33044
+
33045
+ /**
33046
+ * Delete a HmacNonce.
33047
+ * @param {HmacNonceDeleteArgs} args - Arguments to delete one HmacNonce.
33048
+ * @example
33049
+ * // Delete one HmacNonce
33050
+ * const HmacNonce = await prisma.hmacNonce.delete({
33051
+ * where: {
33052
+ * // ... filter to delete one HmacNonce
33053
+ * }
33054
+ * })
33055
+ *
33056
+ */
33057
+ delete<T$1 extends HmacNonceDeleteArgs>(args: SelectSubset<T$1, HmacNonceDeleteArgs<ExtArgs>>): Prisma__HmacNonceClient<$Result.GetResult<Prisma.$HmacNoncePayload<ExtArgs>, T$1, "delete", GlobalOmitOptions$1>, never, ExtArgs, GlobalOmitOptions$1>;
33058
+
33059
+ /**
33060
+ * Update one HmacNonce.
33061
+ * @param {HmacNonceUpdateArgs} args - Arguments to update one HmacNonce.
33062
+ * @example
33063
+ * // Update one HmacNonce
33064
+ * const hmacNonce = await prisma.hmacNonce.update({
33065
+ * where: {
33066
+ * // ... provide filter here
33067
+ * },
33068
+ * data: {
33069
+ * // ... provide data here
33070
+ * }
33071
+ * })
33072
+ *
33073
+ */
33074
+ update<T$1 extends HmacNonceUpdateArgs>(args: SelectSubset<T$1, HmacNonceUpdateArgs<ExtArgs>>): Prisma__HmacNonceClient<$Result.GetResult<Prisma.$HmacNoncePayload<ExtArgs>, T$1, "update", GlobalOmitOptions$1>, never, ExtArgs, GlobalOmitOptions$1>;
33075
+
33076
+ /**
33077
+ * Delete zero or more HmacNonces.
33078
+ * @param {HmacNonceDeleteManyArgs} args - Arguments to filter HmacNonces to delete.
33079
+ * @example
33080
+ * // Delete a few HmacNonces
33081
+ * const { count } = await prisma.hmacNonce.deleteMany({
33082
+ * where: {
33083
+ * // ... provide filter here
33084
+ * }
33085
+ * })
33086
+ *
33087
+ */
33088
+ deleteMany<T$1 extends HmacNonceDeleteManyArgs>(args?: SelectSubset<T$1, HmacNonceDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>;
33089
+
33090
+ /**
33091
+ * Update zero or more HmacNonces.
33092
+ * Note, that providing `undefined` is treated as the value not being there.
33093
+ * Read more here: https://pris.ly/d/null-undefined
33094
+ * @param {HmacNonceUpdateManyArgs} args - Arguments to update one or more rows.
33095
+ * @example
33096
+ * // Update many HmacNonces
33097
+ * const hmacNonce = await prisma.hmacNonce.updateMany({
33098
+ * where: {
33099
+ * // ... provide filter here
33100
+ * },
33101
+ * data: {
33102
+ * // ... provide data here
33103
+ * }
33104
+ * })
33105
+ *
33106
+ */
33107
+ updateMany<T$1 extends HmacNonceUpdateManyArgs>(args: SelectSubset<T$1, HmacNonceUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>;
33108
+
33109
+ /**
33110
+ * Update zero or more HmacNonces and returns the data updated in the database.
33111
+ * @param {HmacNonceUpdateManyAndReturnArgs} args - Arguments to update many HmacNonces.
33112
+ * @example
33113
+ * // Update many HmacNonces
33114
+ * const hmacNonce = await prisma.hmacNonce.updateManyAndReturn({
33115
+ * where: {
33116
+ * // ... provide filter here
33117
+ * },
33118
+ * data: [
33119
+ * // ... provide data here
33120
+ * ]
33121
+ * })
33122
+ *
33123
+ * // Update zero or more HmacNonces and only return the `nonce`
33124
+ * const hmacNonceWithNonceOnly = await prisma.hmacNonce.updateManyAndReturn({
33125
+ * select: { nonce: true },
33126
+ * where: {
33127
+ * // ... provide filter here
33128
+ * },
33129
+ * data: [
33130
+ * // ... provide data here
33131
+ * ]
33132
+ * })
33133
+ * Note, that providing `undefined` is treated as the value not being there.
33134
+ * Read more here: https://pris.ly/d/null-undefined
33135
+ *
33136
+ */
33137
+ updateManyAndReturn<T$1 extends HmacNonceUpdateManyAndReturnArgs>(args: SelectSubset<T$1, HmacNonceUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$HmacNoncePayload<ExtArgs>, T$1, "updateManyAndReturn", GlobalOmitOptions$1>>;
33138
+
33139
+ /**
33140
+ * Create or update one HmacNonce.
33141
+ * @param {HmacNonceUpsertArgs} args - Arguments to update or create a HmacNonce.
33142
+ * @example
33143
+ * // Update or create a HmacNonce
33144
+ * const hmacNonce = await prisma.hmacNonce.upsert({
33145
+ * create: {
33146
+ * // ... data to create a HmacNonce
33147
+ * },
33148
+ * update: {
33149
+ * // ... in case it already exists, update
33150
+ * },
33151
+ * where: {
33152
+ * // ... the filter for the HmacNonce we want to update
33153
+ * }
33154
+ * })
33155
+ */
33156
+ upsert<T$1 extends HmacNonceUpsertArgs>(args: SelectSubset<T$1, HmacNonceUpsertArgs<ExtArgs>>): Prisma__HmacNonceClient<$Result.GetResult<Prisma.$HmacNoncePayload<ExtArgs>, T$1, "upsert", GlobalOmitOptions$1>, never, ExtArgs, GlobalOmitOptions$1>;
33157
+
33158
+ /**
33159
+ * Count the number of HmacNonces.
33160
+ * Note, that providing `undefined` is treated as the value not being there.
33161
+ * Read more here: https://pris.ly/d/null-undefined
33162
+ * @param {HmacNonceCountArgs} args - Arguments to filter HmacNonces to count.
33163
+ * @example
33164
+ * // Count the number of HmacNonces
33165
+ * const count = await prisma.hmacNonce.count({
33166
+ * where: {
33167
+ * // ... the filter for the HmacNonces we want to count
33168
+ * }
33169
+ * })
33170
+ **/
33171
+ count<T$1 extends HmacNonceCountArgs>(args?: Subset<T$1, HmacNonceCountArgs>): Prisma.PrismaPromise<T$1 extends $Utils.Record<'select', any> ? T$1['select'] extends true ? number : GetScalarType<T$1['select'], HmacNonceCountAggregateOutputType> : number>;
33172
+
33173
+ /**
33174
+ * Allows you to perform aggregations operations on a HmacNonce.
33175
+ * Note, that providing `undefined` is treated as the value not being there.
33176
+ * Read more here: https://pris.ly/d/null-undefined
33177
+ * @param {HmacNonceAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
33178
+ * @example
33179
+ * // Ordered by age ascending
33180
+ * // Where email contains prisma.io
33181
+ * // Limited to the 10 users
33182
+ * const aggregations = await prisma.user.aggregate({
33183
+ * _avg: {
33184
+ * age: true,
33185
+ * },
33186
+ * where: {
33187
+ * email: {
33188
+ * contains: "prisma.io",
33189
+ * },
33190
+ * },
33191
+ * orderBy: {
33192
+ * age: "asc",
33193
+ * },
33194
+ * take: 10,
33195
+ * })
33196
+ **/
33197
+ aggregate<T$1 extends HmacNonceAggregateArgs>(args: Subset<T$1, HmacNonceAggregateArgs>): Prisma.PrismaPromise<GetHmacNonceAggregateType<T$1>>;
33198
+
33199
+ /**
33200
+ * Group by HmacNonce.
33201
+ * Note, that providing `undefined` is treated as the value not being there.
33202
+ * Read more here: https://pris.ly/d/null-undefined
33203
+ * @param {HmacNonceGroupByArgs} args - Group by arguments.
33204
+ * @example
33205
+ * // Group by city, order by createdAt, get count
33206
+ * const result = await prisma.user.groupBy({
33207
+ * by: ['city', 'createdAt'],
33208
+ * orderBy: {
33209
+ * createdAt: true
33210
+ * },
33211
+ * _count: {
33212
+ * _all: true
33213
+ * },
33214
+ * })
33215
+ *
33216
+ **/
33217
+ groupBy<T$1 extends HmacNonceGroupByArgs, HasSelectOrTake extends Or<Extends<'skip', Keys<T$1>>, Extends<'take', Keys<T$1>>>, OrderByArg extends (True extends HasSelectOrTake ? {
33218
+ orderBy: HmacNonceGroupByArgs['orderBy'];
33219
+ } : {
33220
+ orderBy?: HmacNonceGroupByArgs['orderBy'];
33221
+ }), OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T$1['orderBy']>>>, ByFields extends MaybeTupleToUnion<T$1['by']>, ByValid extends Has<ByFields, OrderFields>, HavingFields extends GetHavingFields<T$1['having']>, HavingValid extends Has<ByFields, HavingFields>, ByEmpty extends (T$1['by'] extends never[] ? True : False), InputErrors extends (ByEmpty extends True ? `Error: "by" must not be empty.` : HavingValid extends False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [Error, 'Field ', P, ` in "having" needs to be provided in "by"`] }[HavingFields] : 'take' extends Keys<T$1> ? 'orderBy' extends Keys<T$1> ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Keys<T$1> ? 'orderBy' extends Keys<T$1> ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields])>(args: SubsetIntersection<T$1, HmacNonceGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetHmacNonceGroupByPayload<T$1> : Prisma.PrismaPromise<InputErrors>;
33222
+ /**
33223
+ * Fields of the HmacNonce model
33224
+ */
33225
+ readonly fields: HmacNonceFieldRefs;
33226
+ }
33227
+
33228
+ /**
33229
+ * The delegate class that acts as a "Promise-like" for HmacNonce.
33230
+ * Why is this prefixed with `Prisma__`?
33231
+ * Because we want to prevent naming conflicts as mentioned in
33232
+ * https://github.com/prisma/prisma-client-js/issues/707
33233
+ */
33234
+ export interface Prisma__HmacNonceClient<T$1, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions$1 = {}> extends Prisma.PrismaPromise<T$1> {
33235
+ readonly [Symbol.toStringTag]: "PrismaPromise";
33236
+ /**
33237
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
33238
+ * @param onfulfilled The callback to execute when the Promise is resolved.
33239
+ * @param onrejected The callback to execute when the Promise is rejected.
33240
+ * @returns A Promise for the completion of which ever callback is executed.
33241
+ */
33242
+ then<TResult1 = T$1, TResult2 = never>(onfulfilled?: ((value: T$1) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>;
33243
+ /**
33244
+ * Attaches a callback for only the rejection of the Promise.
33245
+ * @param onrejected The callback to execute when the Promise is rejected.
33246
+ * @returns A Promise for the completion of the callback.
33247
+ */
33248
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T$1 | TResult>;
33249
+ /**
33250
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
33251
+ * resolved value cannot be modified from the callback.
33252
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
33253
+ * @returns A Promise for the completion of the callback.
33254
+ */
33255
+ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T$1>;
33256
+ }
33257
+
33258
+ /**
33259
+ * Fields of the HmacNonce model
33260
+ */
33261
+ interface HmacNonceFieldRefs {
33262
+ readonly nonce: FieldRef<"HmacNonce", 'String'>;
33263
+ readonly expiresAt: FieldRef<"HmacNonce", 'DateTime'>;
33264
+ }
33265
+
33266
+ // Custom InputTypes
33267
+ /**
33268
+ * HmacNonce findUnique
33269
+ */
33270
+ export type HmacNonceFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
33271
+ /**
33272
+ * Select specific fields to fetch from the HmacNonce
33273
+ */
33274
+ select?: HmacNonceSelect<ExtArgs> | null;
33275
+ /**
33276
+ * Omit specific fields from the HmacNonce
33277
+ */
33278
+ omit?: HmacNonceOmit<ExtArgs> | null;
33279
+ /**
33280
+ * Filter, which HmacNonce to fetch.
33281
+ */
33282
+ where: HmacNonceWhereUniqueInput;
33283
+ };
33284
+
33285
+ /**
33286
+ * HmacNonce findUniqueOrThrow
33287
+ */
33288
+ export type HmacNonceFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
33289
+ /**
33290
+ * Select specific fields to fetch from the HmacNonce
33291
+ */
33292
+ select?: HmacNonceSelect<ExtArgs> | null;
33293
+ /**
33294
+ * Omit specific fields from the HmacNonce
33295
+ */
33296
+ omit?: HmacNonceOmit<ExtArgs> | null;
33297
+ /**
33298
+ * Filter, which HmacNonce to fetch.
33299
+ */
33300
+ where: HmacNonceWhereUniqueInput;
33301
+ };
33302
+
33303
+ /**
33304
+ * HmacNonce findFirst
33305
+ */
33306
+ export type HmacNonceFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
33307
+ /**
33308
+ * Select specific fields to fetch from the HmacNonce
33309
+ */
33310
+ select?: HmacNonceSelect<ExtArgs> | null;
33311
+ /**
33312
+ * Omit specific fields from the HmacNonce
33313
+ */
33314
+ omit?: HmacNonceOmit<ExtArgs> | null;
33315
+ /**
33316
+ * Filter, which HmacNonce to fetch.
33317
+ */
33318
+ where?: HmacNonceWhereInput;
33319
+ /**
33320
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
33321
+ *
33322
+ * Determine the order of HmacNonces to fetch.
33323
+ */
33324
+ orderBy?: HmacNonceOrderByWithRelationInput | HmacNonceOrderByWithRelationInput[];
33325
+ /**
33326
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
33327
+ *
33328
+ * Sets the position for searching for HmacNonces.
33329
+ */
33330
+ cursor?: HmacNonceWhereUniqueInput;
33331
+ /**
33332
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
33333
+ *
33334
+ * Take `±n` HmacNonces from the position of the cursor.
33335
+ */
33336
+ take?: number;
33337
+ /**
33338
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
33339
+ *
33340
+ * Skip the first `n` HmacNonces.
33341
+ */
33342
+ skip?: number;
33343
+ /**
33344
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
33345
+ *
33346
+ * Filter by unique combinations of HmacNonces.
33347
+ */
33348
+ distinct?: HmacNonceScalarFieldEnum | HmacNonceScalarFieldEnum[];
33349
+ };
33350
+
33351
+ /**
33352
+ * HmacNonce findFirstOrThrow
33353
+ */
33354
+ export type HmacNonceFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
33355
+ /**
33356
+ * Select specific fields to fetch from the HmacNonce
33357
+ */
33358
+ select?: HmacNonceSelect<ExtArgs> | null;
33359
+ /**
33360
+ * Omit specific fields from the HmacNonce
33361
+ */
33362
+ omit?: HmacNonceOmit<ExtArgs> | null;
33363
+ /**
33364
+ * Filter, which HmacNonce to fetch.
33365
+ */
33366
+ where?: HmacNonceWhereInput;
33367
+ /**
33368
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
33369
+ *
33370
+ * Determine the order of HmacNonces to fetch.
33371
+ */
33372
+ orderBy?: HmacNonceOrderByWithRelationInput | HmacNonceOrderByWithRelationInput[];
33373
+ /**
33374
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
33375
+ *
33376
+ * Sets the position for searching for HmacNonces.
33377
+ */
33378
+ cursor?: HmacNonceWhereUniqueInput;
33379
+ /**
33380
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
33381
+ *
33382
+ * Take `±n` HmacNonces from the position of the cursor.
33383
+ */
33384
+ take?: number;
33385
+ /**
33386
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
33387
+ *
33388
+ * Skip the first `n` HmacNonces.
33389
+ */
33390
+ skip?: number;
33391
+ /**
33392
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
33393
+ *
33394
+ * Filter by unique combinations of HmacNonces.
33395
+ */
33396
+ distinct?: HmacNonceScalarFieldEnum | HmacNonceScalarFieldEnum[];
33397
+ };
33398
+
33399
+ /**
33400
+ * HmacNonce findMany
33401
+ */
33402
+ export type HmacNonceFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
33403
+ /**
33404
+ * Select specific fields to fetch from the HmacNonce
33405
+ */
33406
+ select?: HmacNonceSelect<ExtArgs> | null;
33407
+ /**
33408
+ * Omit specific fields from the HmacNonce
33409
+ */
33410
+ omit?: HmacNonceOmit<ExtArgs> | null;
33411
+ /**
33412
+ * Filter, which HmacNonces to fetch.
33413
+ */
33414
+ where?: HmacNonceWhereInput;
33415
+ /**
33416
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
33417
+ *
33418
+ * Determine the order of HmacNonces to fetch.
33419
+ */
33420
+ orderBy?: HmacNonceOrderByWithRelationInput | HmacNonceOrderByWithRelationInput[];
33421
+ /**
33422
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
33423
+ *
33424
+ * Sets the position for listing HmacNonces.
33425
+ */
33426
+ cursor?: HmacNonceWhereUniqueInput;
33427
+ /**
33428
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
33429
+ *
33430
+ * Take `±n` HmacNonces from the position of the cursor.
33431
+ */
33432
+ take?: number;
33433
+ /**
33434
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
33435
+ *
33436
+ * Skip the first `n` HmacNonces.
33437
+ */
33438
+ skip?: number;
33439
+ /**
33440
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
33441
+ *
33442
+ * Filter by unique combinations of HmacNonces.
33443
+ */
33444
+ distinct?: HmacNonceScalarFieldEnum | HmacNonceScalarFieldEnum[];
33445
+ };
33446
+
33447
+ /**
33448
+ * HmacNonce create
33449
+ */
33450
+ export type HmacNonceCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
33451
+ /**
33452
+ * Select specific fields to fetch from the HmacNonce
33453
+ */
33454
+ select?: HmacNonceSelect<ExtArgs> | null;
33455
+ /**
33456
+ * Omit specific fields from the HmacNonce
33457
+ */
33458
+ omit?: HmacNonceOmit<ExtArgs> | null;
33459
+ /**
33460
+ * The data needed to create a HmacNonce.
33461
+ */
33462
+ data: XOR<HmacNonceCreateInput, HmacNonceUncheckedCreateInput>;
33463
+ };
33464
+
33465
+ /**
33466
+ * HmacNonce createMany
33467
+ */
33468
+ export type HmacNonceCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
33469
+ /**
33470
+ * The data used to create many HmacNonces.
33471
+ */
33472
+ data: HmacNonceCreateManyInput | HmacNonceCreateManyInput[];
33473
+ skipDuplicates?: boolean;
33474
+ };
33475
+
33476
+ /**
33477
+ * HmacNonce createManyAndReturn
33478
+ */
33479
+ export type HmacNonceCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
33480
+ /**
33481
+ * Select specific fields to fetch from the HmacNonce
33482
+ */
33483
+ select?: HmacNonceSelectCreateManyAndReturn<ExtArgs> | null;
33484
+ /**
33485
+ * Omit specific fields from the HmacNonce
33486
+ */
33487
+ omit?: HmacNonceOmit<ExtArgs> | null;
33488
+ /**
33489
+ * The data used to create many HmacNonces.
33490
+ */
33491
+ data: HmacNonceCreateManyInput | HmacNonceCreateManyInput[];
33492
+ skipDuplicates?: boolean;
33493
+ };
33494
+
33495
+ /**
33496
+ * HmacNonce update
33497
+ */
33498
+ export type HmacNonceUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
33499
+ /**
33500
+ * Select specific fields to fetch from the HmacNonce
33501
+ */
33502
+ select?: HmacNonceSelect<ExtArgs> | null;
33503
+ /**
33504
+ * Omit specific fields from the HmacNonce
33505
+ */
33506
+ omit?: HmacNonceOmit<ExtArgs> | null;
33507
+ /**
33508
+ * The data needed to update a HmacNonce.
33509
+ */
33510
+ data: XOR<HmacNonceUpdateInput, HmacNonceUncheckedUpdateInput>;
33511
+ /**
33512
+ * Choose, which HmacNonce to update.
33513
+ */
33514
+ where: HmacNonceWhereUniqueInput;
33515
+ };
33516
+
33517
+ /**
33518
+ * HmacNonce updateMany
33519
+ */
33520
+ export type HmacNonceUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
33521
+ /**
33522
+ * The data used to update HmacNonces.
33523
+ */
33524
+ data: XOR<HmacNonceUpdateManyMutationInput, HmacNonceUncheckedUpdateManyInput>;
33525
+ /**
33526
+ * Filter which HmacNonces to update
33527
+ */
33528
+ where?: HmacNonceWhereInput;
33529
+ /**
33530
+ * Limit how many HmacNonces to update.
33531
+ */
33532
+ limit?: number;
33533
+ };
33534
+
33535
+ /**
33536
+ * HmacNonce updateManyAndReturn
33537
+ */
33538
+ export type HmacNonceUpdateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
33539
+ /**
33540
+ * Select specific fields to fetch from the HmacNonce
33541
+ */
33542
+ select?: HmacNonceSelectUpdateManyAndReturn<ExtArgs> | null;
33543
+ /**
33544
+ * Omit specific fields from the HmacNonce
33545
+ */
33546
+ omit?: HmacNonceOmit<ExtArgs> | null;
33547
+ /**
33548
+ * The data used to update HmacNonces.
33549
+ */
33550
+ data: XOR<HmacNonceUpdateManyMutationInput, HmacNonceUncheckedUpdateManyInput>;
33551
+ /**
33552
+ * Filter which HmacNonces to update
33553
+ */
33554
+ where?: HmacNonceWhereInput;
33555
+ /**
33556
+ * Limit how many HmacNonces to update.
33557
+ */
33558
+ limit?: number;
33559
+ };
33560
+
33561
+ /**
33562
+ * HmacNonce upsert
33563
+ */
33564
+ export type HmacNonceUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
33565
+ /**
33566
+ * Select specific fields to fetch from the HmacNonce
33567
+ */
33568
+ select?: HmacNonceSelect<ExtArgs> | null;
33569
+ /**
33570
+ * Omit specific fields from the HmacNonce
33571
+ */
33572
+ omit?: HmacNonceOmit<ExtArgs> | null;
33573
+ /**
33574
+ * The filter to search for the HmacNonce to update in case it exists.
33575
+ */
33576
+ where: HmacNonceWhereUniqueInput;
33577
+ /**
33578
+ * In case the HmacNonce found by the `where` argument doesn't exist, create a new HmacNonce with this data.
33579
+ */
33580
+ create: XOR<HmacNonceCreateInput, HmacNonceUncheckedCreateInput>;
33581
+ /**
33582
+ * In case the HmacNonce was found with the provided `where` argument, update it with this data.
33583
+ */
33584
+ update: XOR<HmacNonceUpdateInput, HmacNonceUncheckedUpdateInput>;
33585
+ };
33586
+
33587
+ /**
33588
+ * HmacNonce delete
33589
+ */
33590
+ export type HmacNonceDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
33591
+ /**
33592
+ * Select specific fields to fetch from the HmacNonce
33593
+ */
33594
+ select?: HmacNonceSelect<ExtArgs> | null;
33595
+ /**
33596
+ * Omit specific fields from the HmacNonce
33597
+ */
33598
+ omit?: HmacNonceOmit<ExtArgs> | null;
33599
+ /**
33600
+ * Filter which HmacNonce to delete.
33601
+ */
33602
+ where: HmacNonceWhereUniqueInput;
33603
+ };
33604
+
33605
+ /**
33606
+ * HmacNonce deleteMany
33607
+ */
33608
+ export type HmacNonceDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
33609
+ /**
33610
+ * Filter which HmacNonces to delete
33611
+ */
33612
+ where?: HmacNonceWhereInput;
33613
+ /**
33614
+ * Limit how many HmacNonces to delete.
33615
+ */
33616
+ limit?: number;
33617
+ };
33618
+
33619
+ /**
33620
+ * HmacNonce without action
33621
+ */
33622
+ export type HmacNonceDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
33623
+ /**
33624
+ * Select specific fields to fetch from the HmacNonce
33625
+ */
33626
+ select?: HmacNonceSelect<ExtArgs> | null;
33627
+ /**
33628
+ * Omit specific fields from the HmacNonce
33629
+ */
33630
+ omit?: HmacNonceOmit<ExtArgs> | null;
33631
+ };
33632
+
33633
+ /**
33634
+ * Model HumanTask
33635
+ */
33636
+
33637
+ export type AggregateHumanTask = {
33638
+ _count: HumanTaskCountAggregateOutputType | null;
33639
+ _avg: HumanTaskAvgAggregateOutputType | null;
33640
+ _sum: HumanTaskSumAggregateOutputType | null;
33641
+ _min: HumanTaskMinAggregateOutputType | null;
33642
+ _max: HumanTaskMaxAggregateOutputType | null;
33643
+ };
33644
+ export type HumanTaskAvgAggregateOutputType = {
33645
+ itemIndex: number | null;
33646
+ };
33647
+ export type HumanTaskSumAggregateOutputType = {
33648
+ itemIndex: number | null;
33649
+ };
33650
+ export type HumanTaskMinAggregateOutputType = {
33651
+ id: string | null;
33652
+ runId: string | null;
33653
+ workflowId: string | null;
33654
+ workspaceId: string | null;
33655
+ nodeId: string | null;
33656
+ activationId: string | null;
33657
+ itemIndex: number | null;
33658
+ status: string | null;
33659
+ channel: string | null;
33660
+ subjectJson: string | null;
33661
+ metadataJson: string | null;
33662
+ decisionSchemaJson: string | null;
33663
+ decisionSchemaHash: string | null;
33664
+ onTimeout: string | null;
33665
+ deliveryRefJson: string | null;
33666
+ decisionJson: string | null;
33667
+ decidedAt: Date | null;
33668
+ decidedByJson: string | null;
33669
+ resumeTokenHash: string | null;
33670
+ expiresAt: Date | null;
33671
+ createdAt: Date | null;
33672
+ };
33673
+ export type HumanTaskMaxAggregateOutputType = {
33674
+ id: string | null;
33675
+ runId: string | null;
33676
+ workflowId: string | null;
33677
+ workspaceId: string | null;
33678
+ nodeId: string | null;
33679
+ activationId: string | null;
33680
+ itemIndex: number | null;
33681
+ status: string | null;
33682
+ channel: string | null;
33683
+ subjectJson: string | null;
33684
+ metadataJson: string | null;
33685
+ decisionSchemaJson: string | null;
33686
+ decisionSchemaHash: string | null;
33687
+ onTimeout: string | null;
33688
+ deliveryRefJson: string | null;
33689
+ decisionJson: string | null;
33690
+ decidedAt: Date | null;
33691
+ decidedByJson: string | null;
33692
+ resumeTokenHash: string | null;
33693
+ expiresAt: Date | null;
33694
+ createdAt: Date | null;
33695
+ };
33696
+ export type HumanTaskCountAggregateOutputType = {
33697
+ id: number;
33698
+ runId: number;
33699
+ workflowId: number;
33700
+ workspaceId: number;
33701
+ nodeId: number;
33702
+ activationId: number;
33703
+ itemIndex: number;
33704
+ status: number;
33705
+ channel: number;
33706
+ subjectJson: number;
33707
+ metadataJson: number;
33708
+ decisionSchemaJson: number;
33709
+ decisionSchemaHash: number;
33710
+ onTimeout: number;
33711
+ deliveryRefJson: number;
33712
+ decisionJson: number;
33713
+ decidedAt: number;
33714
+ decidedByJson: number;
33715
+ resumeTokenHash: number;
33716
+ expiresAt: number;
33717
+ createdAt: number;
33718
+ _all: number;
33719
+ };
33720
+ export type HumanTaskAvgAggregateInputType = {
33721
+ itemIndex?: true;
33722
+ };
33723
+ export type HumanTaskSumAggregateInputType = {
33724
+ itemIndex?: true;
33725
+ };
33726
+ export type HumanTaskMinAggregateInputType = {
33727
+ id?: true;
33728
+ runId?: true;
33729
+ workflowId?: true;
33730
+ workspaceId?: true;
33731
+ nodeId?: true;
33732
+ activationId?: true;
33733
+ itemIndex?: true;
33734
+ status?: true;
33735
+ channel?: true;
33736
+ subjectJson?: true;
33737
+ metadataJson?: true;
33738
+ decisionSchemaJson?: true;
33739
+ decisionSchemaHash?: true;
33740
+ onTimeout?: true;
33741
+ deliveryRefJson?: true;
33742
+ decisionJson?: true;
33743
+ decidedAt?: true;
33744
+ decidedByJson?: true;
33745
+ resumeTokenHash?: true;
33746
+ expiresAt?: true;
33747
+ createdAt?: true;
33748
+ };
33749
+ export type HumanTaskMaxAggregateInputType = {
33750
+ id?: true;
33751
+ runId?: true;
33752
+ workflowId?: true;
33753
+ workspaceId?: true;
33754
+ nodeId?: true;
33755
+ activationId?: true;
33756
+ itemIndex?: true;
33757
+ status?: true;
33758
+ channel?: true;
33759
+ subjectJson?: true;
33760
+ metadataJson?: true;
33761
+ decisionSchemaJson?: true;
33762
+ decisionSchemaHash?: true;
33763
+ onTimeout?: true;
33764
+ deliveryRefJson?: true;
33765
+ decisionJson?: true;
33766
+ decidedAt?: true;
33767
+ decidedByJson?: true;
33768
+ resumeTokenHash?: true;
33769
+ expiresAt?: true;
33770
+ createdAt?: true;
33771
+ };
33772
+ export type HumanTaskCountAggregateInputType = {
33773
+ id?: true;
33774
+ runId?: true;
33775
+ workflowId?: true;
33776
+ workspaceId?: true;
33777
+ nodeId?: true;
33778
+ activationId?: true;
33779
+ itemIndex?: true;
33780
+ status?: true;
33781
+ channel?: true;
33782
+ subjectJson?: true;
33783
+ metadataJson?: true;
33784
+ decisionSchemaJson?: true;
33785
+ decisionSchemaHash?: true;
33786
+ onTimeout?: true;
33787
+ deliveryRefJson?: true;
33788
+ decisionJson?: true;
33789
+ decidedAt?: true;
33790
+ decidedByJson?: true;
33791
+ resumeTokenHash?: true;
33792
+ expiresAt?: true;
33793
+ createdAt?: true;
33794
+ _all?: true;
33795
+ };
33796
+ export type HumanTaskAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
33797
+ /**
33798
+ * Filter which HumanTask to aggregate.
33799
+ */
33800
+ where?: HumanTaskWhereInput;
33801
+ /**
33802
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
33803
+ *
33804
+ * Determine the order of HumanTasks to fetch.
33805
+ */
33806
+ orderBy?: HumanTaskOrderByWithRelationInput | HumanTaskOrderByWithRelationInput[];
33807
+ /**
33808
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
33809
+ *
33810
+ * Sets the start position
33811
+ */
33812
+ cursor?: HumanTaskWhereUniqueInput;
33813
+ /**
33814
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
33815
+ *
33816
+ * Take `±n` HumanTasks from the position of the cursor.
33817
+ */
33818
+ take?: number;
33819
+ /**
33820
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
33821
+ *
33822
+ * Skip the first `n` HumanTasks.
33823
+ */
33824
+ skip?: number;
33825
+ /**
33826
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
33827
+ *
33828
+ * Count returned HumanTasks
33829
+ **/
33830
+ _count?: true | HumanTaskCountAggregateInputType;
33831
+ /**
33832
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
33833
+ *
33834
+ * Select which fields to average
33835
+ **/
33836
+ _avg?: HumanTaskAvgAggregateInputType;
33837
+ /**
33838
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
33839
+ *
33840
+ * Select which fields to sum
33841
+ **/
33842
+ _sum?: HumanTaskSumAggregateInputType;
33843
+ /**
33844
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
33845
+ *
33846
+ * Select which fields to find the minimum value
33847
+ **/
33848
+ _min?: HumanTaskMinAggregateInputType;
33849
+ /**
33850
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
33851
+ *
33852
+ * Select which fields to find the maximum value
33853
+ **/
33854
+ _max?: HumanTaskMaxAggregateInputType;
33855
+ };
33856
+ export type GetHumanTaskAggregateType<T$1 extends HumanTaskAggregateArgs> = { [P in keyof T$1 & keyof AggregateHumanTask]: P extends '_count' | 'count' ? T$1[P] extends true ? number : GetScalarType<T$1[P], AggregateHumanTask[P]> : GetScalarType<T$1[P], AggregateHumanTask[P]> };
33857
+ export type HumanTaskGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
33858
+ where?: HumanTaskWhereInput;
33859
+ orderBy?: HumanTaskOrderByWithAggregationInput | HumanTaskOrderByWithAggregationInput[];
33860
+ by: HumanTaskScalarFieldEnum[] | HumanTaskScalarFieldEnum;
33861
+ having?: HumanTaskScalarWhereWithAggregatesInput;
33862
+ take?: number;
33863
+ skip?: number;
33864
+ _count?: HumanTaskCountAggregateInputType | true;
33865
+ _avg?: HumanTaskAvgAggregateInputType;
33866
+ _sum?: HumanTaskSumAggregateInputType;
33867
+ _min?: HumanTaskMinAggregateInputType;
33868
+ _max?: HumanTaskMaxAggregateInputType;
33869
+ };
33870
+ export type HumanTaskGroupByOutputType = {
33871
+ id: string;
33872
+ runId: string;
33873
+ workflowId: string;
33874
+ workspaceId: string | null;
33875
+ nodeId: string;
33876
+ activationId: string;
33877
+ itemIndex: number;
33878
+ status: string;
33879
+ channel: string;
33880
+ subjectJson: string;
33881
+ metadataJson: string;
33882
+ decisionSchemaJson: string;
33883
+ decisionSchemaHash: string;
33884
+ onTimeout: string;
33885
+ deliveryRefJson: string | null;
33886
+ decisionJson: string | null;
33887
+ decidedAt: Date | null;
33888
+ decidedByJson: string | null;
33889
+ resumeTokenHash: string;
33890
+ expiresAt: Date;
33891
+ createdAt: Date;
33892
+ _count: HumanTaskCountAggregateOutputType | null;
33893
+ _avg: HumanTaskAvgAggregateOutputType | null;
33894
+ _sum: HumanTaskSumAggregateOutputType | null;
33895
+ _min: HumanTaskMinAggregateOutputType | null;
33896
+ _max: HumanTaskMaxAggregateOutputType | null;
33897
+ };
33898
+ type GetHumanTaskGroupByPayload<T$1 extends HumanTaskGroupByArgs> = Prisma.PrismaPromise<Array<PickEnumerable<HumanTaskGroupByOutputType, T$1['by']> & { [P in ((keyof T$1) & (keyof HumanTaskGroupByOutputType))]: P extends '_count' ? T$1[P] extends boolean ? number : GetScalarType<T$1[P], HumanTaskGroupByOutputType[P]> : GetScalarType<T$1[P], HumanTaskGroupByOutputType[P]> }>>;
33899
+ export type HumanTaskSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
33900
+ id?: boolean;
33901
+ runId?: boolean;
33902
+ workflowId?: boolean;
33903
+ workspaceId?: boolean;
33904
+ nodeId?: boolean;
33905
+ activationId?: boolean;
33906
+ itemIndex?: boolean;
33907
+ status?: boolean;
33908
+ channel?: boolean;
33909
+ subjectJson?: boolean;
33910
+ metadataJson?: boolean;
33911
+ decisionSchemaJson?: boolean;
33912
+ decisionSchemaHash?: boolean;
33913
+ onTimeout?: boolean;
33914
+ deliveryRefJson?: boolean;
33915
+ decisionJson?: boolean;
33916
+ decidedAt?: boolean;
33917
+ decidedByJson?: boolean;
33918
+ resumeTokenHash?: boolean;
33919
+ expiresAt?: boolean;
33920
+ createdAt?: boolean;
33921
+ }, ExtArgs["result"]["humanTask"]>;
33922
+ export type HumanTaskSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
33923
+ id?: boolean;
33924
+ runId?: boolean;
33925
+ workflowId?: boolean;
33926
+ workspaceId?: boolean;
33927
+ nodeId?: boolean;
33928
+ activationId?: boolean;
33929
+ itemIndex?: boolean;
33930
+ status?: boolean;
33931
+ channel?: boolean;
33932
+ subjectJson?: boolean;
33933
+ metadataJson?: boolean;
33934
+ decisionSchemaJson?: boolean;
33935
+ decisionSchemaHash?: boolean;
33936
+ onTimeout?: boolean;
33937
+ deliveryRefJson?: boolean;
33938
+ decisionJson?: boolean;
33939
+ decidedAt?: boolean;
33940
+ decidedByJson?: boolean;
33941
+ resumeTokenHash?: boolean;
33942
+ expiresAt?: boolean;
33943
+ createdAt?: boolean;
33944
+ }, ExtArgs["result"]["humanTask"]>;
33945
+ export type HumanTaskSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
33946
+ id?: boolean;
33947
+ runId?: boolean;
33948
+ workflowId?: boolean;
33949
+ workspaceId?: boolean;
33950
+ nodeId?: boolean;
33951
+ activationId?: boolean;
33952
+ itemIndex?: boolean;
33953
+ status?: boolean;
33954
+ channel?: boolean;
33955
+ subjectJson?: boolean;
33956
+ metadataJson?: boolean;
33957
+ decisionSchemaJson?: boolean;
33958
+ decisionSchemaHash?: boolean;
33959
+ onTimeout?: boolean;
33960
+ deliveryRefJson?: boolean;
33961
+ decisionJson?: boolean;
33962
+ decidedAt?: boolean;
33963
+ decidedByJson?: boolean;
33964
+ resumeTokenHash?: boolean;
33965
+ expiresAt?: boolean;
33966
+ createdAt?: boolean;
33967
+ }, ExtArgs["result"]["humanTask"]>;
33968
+ export type HumanTaskSelectScalar = {
33969
+ id?: boolean;
33970
+ runId?: boolean;
33971
+ workflowId?: boolean;
33972
+ workspaceId?: boolean;
33973
+ nodeId?: boolean;
33974
+ activationId?: boolean;
33975
+ itemIndex?: boolean;
33976
+ status?: boolean;
33977
+ channel?: boolean;
33978
+ subjectJson?: boolean;
33979
+ metadataJson?: boolean;
33980
+ decisionSchemaJson?: boolean;
33981
+ decisionSchemaHash?: boolean;
33982
+ onTimeout?: boolean;
33983
+ deliveryRefJson?: boolean;
33984
+ decisionJson?: boolean;
33985
+ decidedAt?: boolean;
33986
+ decidedByJson?: boolean;
33987
+ resumeTokenHash?: boolean;
33988
+ expiresAt?: boolean;
33989
+ createdAt?: boolean;
33990
+ };
33991
+ export type HumanTaskOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "runId" | "workflowId" | "workspaceId" | "nodeId" | "activationId" | "itemIndex" | "status" | "channel" | "subjectJson" | "metadataJson" | "decisionSchemaJson" | "decisionSchemaHash" | "onTimeout" | "deliveryRefJson" | "decisionJson" | "decidedAt" | "decidedByJson" | "resumeTokenHash" | "expiresAt" | "createdAt", ExtArgs["result"]["humanTask"]>;
33992
+ export type $HumanTaskPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
33993
+ name: "HumanTask";
33994
+ objects: {};
33995
+ scalars: $Extensions.GetPayloadResult<{
33996
+ id: string;
33997
+ runId: string;
33998
+ workflowId: string;
33999
+ workspaceId: string | null;
34000
+ nodeId: string;
34001
+ activationId: string;
34002
+ itemIndex: number;
34003
+ /**
34004
+ * pending | decided | timed_out | auto_accepted | cancelled
34005
+ */
34006
+ status: string;
34007
+ /**
34008
+ * local | control-plane-inbox
34009
+ */
34010
+ channel: string;
34011
+ subjectJson: string;
34012
+ metadataJson: string;
34013
+ decisionSchemaJson: string;
34014
+ decisionSchemaHash: string;
34015
+ /**
34016
+ * halt | auto-accept
34017
+ */
34018
+ onTimeout: string;
34019
+ deliveryRefJson: string | null;
34020
+ decisionJson: string | null;
34021
+ decidedAt: Date | null;
34022
+ decidedByJson: string | null;
34023
+ resumeTokenHash: string;
34024
+ expiresAt: Date;
34025
+ createdAt: Date;
34026
+ }, ExtArgs["result"]["humanTask"]>;
34027
+ composites: {};
34028
+ };
34029
+ type HumanTaskGetPayload<S$1 extends boolean | null | undefined | HumanTaskDefaultArgs> = $Result.GetResult<Prisma.$HumanTaskPayload, S$1>;
34030
+ type HumanTaskCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = Omit<HumanTaskFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
34031
+ select?: HumanTaskCountAggregateInputType | true;
34032
+ };
34033
+ export interface HumanTaskDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions$1 = {}> {
34034
+ [K: symbol]: {
34035
+ types: Prisma.TypeMap<ExtArgs>['model']['HumanTask'];
34036
+ meta: {
34037
+ name: 'HumanTask';
34038
+ };
34039
+ };
34040
+ /**
34041
+ * Find zero or one HumanTask that matches the filter.
34042
+ * @param {HumanTaskFindUniqueArgs} args - Arguments to find a HumanTask
34043
+ * @example
34044
+ * // Get one HumanTask
34045
+ * const humanTask = await prisma.humanTask.findUnique({
34046
+ * where: {
34047
+ * // ... provide filter here
34048
+ * }
34049
+ * })
34050
+ */
34051
+ findUnique<T$1 extends HumanTaskFindUniqueArgs>(args: SelectSubset<T$1, HumanTaskFindUniqueArgs<ExtArgs>>): Prisma__HumanTaskClient<$Result.GetResult<Prisma.$HumanTaskPayload<ExtArgs>, T$1, "findUnique", GlobalOmitOptions$1> | null, null, ExtArgs, GlobalOmitOptions$1>;
34052
+
34053
+ /**
34054
+ * Find one HumanTask that matches the filter or throw an error with `error.code='P2025'`
34055
+ * if no matches were found.
34056
+ * @param {HumanTaskFindUniqueOrThrowArgs} args - Arguments to find a HumanTask
34057
+ * @example
34058
+ * // Get one HumanTask
34059
+ * const humanTask = await prisma.humanTask.findUniqueOrThrow({
34060
+ * where: {
34061
+ * // ... provide filter here
34062
+ * }
34063
+ * })
34064
+ */
34065
+ findUniqueOrThrow<T$1 extends HumanTaskFindUniqueOrThrowArgs>(args: SelectSubset<T$1, HumanTaskFindUniqueOrThrowArgs<ExtArgs>>): Prisma__HumanTaskClient<$Result.GetResult<Prisma.$HumanTaskPayload<ExtArgs>, T$1, "findUniqueOrThrow", GlobalOmitOptions$1>, never, ExtArgs, GlobalOmitOptions$1>;
34066
+
34067
+ /**
34068
+ * Find the first HumanTask that matches the filter.
34069
+ * Note, that providing `undefined` is treated as the value not being there.
34070
+ * Read more here: https://pris.ly/d/null-undefined
34071
+ * @param {HumanTaskFindFirstArgs} args - Arguments to find a HumanTask
34072
+ * @example
34073
+ * // Get one HumanTask
34074
+ * const humanTask = await prisma.humanTask.findFirst({
34075
+ * where: {
34076
+ * // ... provide filter here
34077
+ * }
34078
+ * })
34079
+ */
34080
+ findFirst<T$1 extends HumanTaskFindFirstArgs>(args?: SelectSubset<T$1, HumanTaskFindFirstArgs<ExtArgs>>): Prisma__HumanTaskClient<$Result.GetResult<Prisma.$HumanTaskPayload<ExtArgs>, T$1, "findFirst", GlobalOmitOptions$1> | null, null, ExtArgs, GlobalOmitOptions$1>;
34081
+
34082
+ /**
34083
+ * Find the first HumanTask that matches the filter or
34084
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
34085
+ * Note, that providing `undefined` is treated as the value not being there.
34086
+ * Read more here: https://pris.ly/d/null-undefined
34087
+ * @param {HumanTaskFindFirstOrThrowArgs} args - Arguments to find a HumanTask
34088
+ * @example
34089
+ * // Get one HumanTask
34090
+ * const humanTask = await prisma.humanTask.findFirstOrThrow({
34091
+ * where: {
34092
+ * // ... provide filter here
34093
+ * }
34094
+ * })
34095
+ */
34096
+ findFirstOrThrow<T$1 extends HumanTaskFindFirstOrThrowArgs>(args?: SelectSubset<T$1, HumanTaskFindFirstOrThrowArgs<ExtArgs>>): Prisma__HumanTaskClient<$Result.GetResult<Prisma.$HumanTaskPayload<ExtArgs>, T$1, "findFirstOrThrow", GlobalOmitOptions$1>, never, ExtArgs, GlobalOmitOptions$1>;
34097
+
34098
+ /**
34099
+ * Find zero or more HumanTasks that matches the filter.
34100
+ * Note, that providing `undefined` is treated as the value not being there.
34101
+ * Read more here: https://pris.ly/d/null-undefined
34102
+ * @param {HumanTaskFindManyArgs} args - Arguments to filter and select certain fields only.
34103
+ * @example
34104
+ * // Get all HumanTasks
34105
+ * const humanTasks = await prisma.humanTask.findMany()
34106
+ *
34107
+ * // Get first 10 HumanTasks
34108
+ * const humanTasks = await prisma.humanTask.findMany({ take: 10 })
34109
+ *
34110
+ * // Only select the `id`
34111
+ * const humanTaskWithIdOnly = await prisma.humanTask.findMany({ select: { id: true } })
34112
+ *
34113
+ */
34114
+ findMany<T$1 extends HumanTaskFindManyArgs>(args?: SelectSubset<T$1, HumanTaskFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$HumanTaskPayload<ExtArgs>, T$1, "findMany", GlobalOmitOptions$1>>;
34115
+
34116
+ /**
34117
+ * Create a HumanTask.
34118
+ * @param {HumanTaskCreateArgs} args - Arguments to create a HumanTask.
34119
+ * @example
34120
+ * // Create one HumanTask
34121
+ * const HumanTask = await prisma.humanTask.create({
34122
+ * data: {
34123
+ * // ... data to create a HumanTask
34124
+ * }
34125
+ * })
34126
+ *
34127
+ */
34128
+ create<T$1 extends HumanTaskCreateArgs>(args: SelectSubset<T$1, HumanTaskCreateArgs<ExtArgs>>): Prisma__HumanTaskClient<$Result.GetResult<Prisma.$HumanTaskPayload<ExtArgs>, T$1, "create", GlobalOmitOptions$1>, never, ExtArgs, GlobalOmitOptions$1>;
34129
+
34130
+ /**
34131
+ * Create many HumanTasks.
34132
+ * @param {HumanTaskCreateManyArgs} args - Arguments to create many HumanTasks.
34133
+ * @example
34134
+ * // Create many HumanTasks
34135
+ * const humanTask = await prisma.humanTask.createMany({
34136
+ * data: [
34137
+ * // ... provide data here
34138
+ * ]
34139
+ * })
34140
+ *
34141
+ */
34142
+ createMany<T$1 extends HumanTaskCreateManyArgs>(args?: SelectSubset<T$1, HumanTaskCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>;
34143
+
34144
+ /**
34145
+ * Create many HumanTasks and returns the data saved in the database.
34146
+ * @param {HumanTaskCreateManyAndReturnArgs} args - Arguments to create many HumanTasks.
34147
+ * @example
34148
+ * // Create many HumanTasks
34149
+ * const humanTask = await prisma.humanTask.createManyAndReturn({
34150
+ * data: [
34151
+ * // ... provide data here
34152
+ * ]
34153
+ * })
34154
+ *
34155
+ * // Create many HumanTasks and only return the `id`
34156
+ * const humanTaskWithIdOnly = await prisma.humanTask.createManyAndReturn({
34157
+ * select: { id: true },
34158
+ * data: [
34159
+ * // ... provide data here
34160
+ * ]
34161
+ * })
34162
+ * Note, that providing `undefined` is treated as the value not being there.
34163
+ * Read more here: https://pris.ly/d/null-undefined
34164
+ *
34165
+ */
34166
+ createManyAndReturn<T$1 extends HumanTaskCreateManyAndReturnArgs>(args?: SelectSubset<T$1, HumanTaskCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$HumanTaskPayload<ExtArgs>, T$1, "createManyAndReturn", GlobalOmitOptions$1>>;
34167
+
34168
+ /**
34169
+ * Delete a HumanTask.
34170
+ * @param {HumanTaskDeleteArgs} args - Arguments to delete one HumanTask.
34171
+ * @example
34172
+ * // Delete one HumanTask
34173
+ * const HumanTask = await prisma.humanTask.delete({
34174
+ * where: {
34175
+ * // ... filter to delete one HumanTask
34176
+ * }
34177
+ * })
34178
+ *
34179
+ */
34180
+ delete<T$1 extends HumanTaskDeleteArgs>(args: SelectSubset<T$1, HumanTaskDeleteArgs<ExtArgs>>): Prisma__HumanTaskClient<$Result.GetResult<Prisma.$HumanTaskPayload<ExtArgs>, T$1, "delete", GlobalOmitOptions$1>, never, ExtArgs, GlobalOmitOptions$1>;
34181
+
34182
+ /**
34183
+ * Update one HumanTask.
34184
+ * @param {HumanTaskUpdateArgs} args - Arguments to update one HumanTask.
34185
+ * @example
34186
+ * // Update one HumanTask
34187
+ * const humanTask = await prisma.humanTask.update({
34188
+ * where: {
34189
+ * // ... provide filter here
34190
+ * },
34191
+ * data: {
34192
+ * // ... provide data here
34193
+ * }
34194
+ * })
34195
+ *
34196
+ */
34197
+ update<T$1 extends HumanTaskUpdateArgs>(args: SelectSubset<T$1, HumanTaskUpdateArgs<ExtArgs>>): Prisma__HumanTaskClient<$Result.GetResult<Prisma.$HumanTaskPayload<ExtArgs>, T$1, "update", GlobalOmitOptions$1>, never, ExtArgs, GlobalOmitOptions$1>;
34198
+
34199
+ /**
34200
+ * Delete zero or more HumanTasks.
34201
+ * @param {HumanTaskDeleteManyArgs} args - Arguments to filter HumanTasks to delete.
34202
+ * @example
34203
+ * // Delete a few HumanTasks
34204
+ * const { count } = await prisma.humanTask.deleteMany({
34205
+ * where: {
34206
+ * // ... provide filter here
34207
+ * }
34208
+ * })
34209
+ *
34210
+ */
34211
+ deleteMany<T$1 extends HumanTaskDeleteManyArgs>(args?: SelectSubset<T$1, HumanTaskDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>;
34212
+
34213
+ /**
34214
+ * Update zero or more HumanTasks.
34215
+ * Note, that providing `undefined` is treated as the value not being there.
34216
+ * Read more here: https://pris.ly/d/null-undefined
34217
+ * @param {HumanTaskUpdateManyArgs} args - Arguments to update one or more rows.
34218
+ * @example
34219
+ * // Update many HumanTasks
34220
+ * const humanTask = await prisma.humanTask.updateMany({
34221
+ * where: {
34222
+ * // ... provide filter here
34223
+ * },
34224
+ * data: {
34225
+ * // ... provide data here
34226
+ * }
34227
+ * })
34228
+ *
34229
+ */
34230
+ updateMany<T$1 extends HumanTaskUpdateManyArgs>(args: SelectSubset<T$1, HumanTaskUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>;
34231
+
34232
+ /**
34233
+ * Update zero or more HumanTasks and returns the data updated in the database.
34234
+ * @param {HumanTaskUpdateManyAndReturnArgs} args - Arguments to update many HumanTasks.
34235
+ * @example
34236
+ * // Update many HumanTasks
34237
+ * const humanTask = await prisma.humanTask.updateManyAndReturn({
34238
+ * where: {
34239
+ * // ... provide filter here
34240
+ * },
34241
+ * data: [
34242
+ * // ... provide data here
34243
+ * ]
34244
+ * })
34245
+ *
34246
+ * // Update zero or more HumanTasks and only return the `id`
34247
+ * const humanTaskWithIdOnly = await prisma.humanTask.updateManyAndReturn({
34248
+ * select: { id: true },
34249
+ * where: {
34250
+ * // ... provide filter here
34251
+ * },
34252
+ * data: [
34253
+ * // ... provide data here
34254
+ * ]
34255
+ * })
34256
+ * Note, that providing `undefined` is treated as the value not being there.
34257
+ * Read more here: https://pris.ly/d/null-undefined
34258
+ *
34259
+ */
34260
+ updateManyAndReturn<T$1 extends HumanTaskUpdateManyAndReturnArgs>(args: SelectSubset<T$1, HumanTaskUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$HumanTaskPayload<ExtArgs>, T$1, "updateManyAndReturn", GlobalOmitOptions$1>>;
34261
+
34262
+ /**
34263
+ * Create or update one HumanTask.
34264
+ * @param {HumanTaskUpsertArgs} args - Arguments to update or create a HumanTask.
34265
+ * @example
34266
+ * // Update or create a HumanTask
34267
+ * const humanTask = await prisma.humanTask.upsert({
34268
+ * create: {
34269
+ * // ... data to create a HumanTask
34270
+ * },
34271
+ * update: {
34272
+ * // ... in case it already exists, update
34273
+ * },
34274
+ * where: {
34275
+ * // ... the filter for the HumanTask we want to update
34276
+ * }
34277
+ * })
34278
+ */
34279
+ upsert<T$1 extends HumanTaskUpsertArgs>(args: SelectSubset<T$1, HumanTaskUpsertArgs<ExtArgs>>): Prisma__HumanTaskClient<$Result.GetResult<Prisma.$HumanTaskPayload<ExtArgs>, T$1, "upsert", GlobalOmitOptions$1>, never, ExtArgs, GlobalOmitOptions$1>;
34280
+
34281
+ /**
34282
+ * Count the number of HumanTasks.
34283
+ * Note, that providing `undefined` is treated as the value not being there.
34284
+ * Read more here: https://pris.ly/d/null-undefined
34285
+ * @param {HumanTaskCountArgs} args - Arguments to filter HumanTasks to count.
34286
+ * @example
34287
+ * // Count the number of HumanTasks
34288
+ * const count = await prisma.humanTask.count({
34289
+ * where: {
34290
+ * // ... the filter for the HumanTasks we want to count
34291
+ * }
34292
+ * })
34293
+ **/
34294
+ count<T$1 extends HumanTaskCountArgs>(args?: Subset<T$1, HumanTaskCountArgs>): Prisma.PrismaPromise<T$1 extends $Utils.Record<'select', any> ? T$1['select'] extends true ? number : GetScalarType<T$1['select'], HumanTaskCountAggregateOutputType> : number>;
34295
+
34296
+ /**
34297
+ * Allows you to perform aggregations operations on a HumanTask.
34298
+ * Note, that providing `undefined` is treated as the value not being there.
34299
+ * Read more here: https://pris.ly/d/null-undefined
34300
+ * @param {HumanTaskAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
34301
+ * @example
34302
+ * // Ordered by age ascending
34303
+ * // Where email contains prisma.io
34304
+ * // Limited to the 10 users
34305
+ * const aggregations = await prisma.user.aggregate({
34306
+ * _avg: {
34307
+ * age: true,
34308
+ * },
34309
+ * where: {
34310
+ * email: {
34311
+ * contains: "prisma.io",
34312
+ * },
34313
+ * },
34314
+ * orderBy: {
34315
+ * age: "asc",
34316
+ * },
34317
+ * take: 10,
34318
+ * })
34319
+ **/
34320
+ aggregate<T$1 extends HumanTaskAggregateArgs>(args: Subset<T$1, HumanTaskAggregateArgs>): Prisma.PrismaPromise<GetHumanTaskAggregateType<T$1>>;
34321
+
34322
+ /**
34323
+ * Group by HumanTask.
34324
+ * Note, that providing `undefined` is treated as the value not being there.
34325
+ * Read more here: https://pris.ly/d/null-undefined
34326
+ * @param {HumanTaskGroupByArgs} args - Group by arguments.
34327
+ * @example
34328
+ * // Group by city, order by createdAt, get count
34329
+ * const result = await prisma.user.groupBy({
34330
+ * by: ['city', 'createdAt'],
34331
+ * orderBy: {
34332
+ * createdAt: true
34333
+ * },
34334
+ * _count: {
34335
+ * _all: true
34336
+ * },
34337
+ * })
34338
+ *
34339
+ **/
34340
+ groupBy<T$1 extends HumanTaskGroupByArgs, HasSelectOrTake extends Or<Extends<'skip', Keys<T$1>>, Extends<'take', Keys<T$1>>>, OrderByArg extends (True extends HasSelectOrTake ? {
34341
+ orderBy: HumanTaskGroupByArgs['orderBy'];
34342
+ } : {
34343
+ orderBy?: HumanTaskGroupByArgs['orderBy'];
34344
+ }), OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T$1['orderBy']>>>, ByFields extends MaybeTupleToUnion<T$1['by']>, ByValid extends Has<ByFields, OrderFields>, HavingFields extends GetHavingFields<T$1['having']>, HavingValid extends Has<ByFields, HavingFields>, ByEmpty extends (T$1['by'] extends never[] ? True : False), InputErrors extends (ByEmpty extends True ? `Error: "by" must not be empty.` : HavingValid extends False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [Error, 'Field ', P, ` in "having" needs to be provided in "by"`] }[HavingFields] : 'take' extends Keys<T$1> ? 'orderBy' extends Keys<T$1> ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Keys<T$1> ? 'orderBy' extends Keys<T$1> ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields])>(args: SubsetIntersection<T$1, HumanTaskGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetHumanTaskGroupByPayload<T$1> : Prisma.PrismaPromise<InputErrors>;
34345
+ /**
34346
+ * Fields of the HumanTask model
34347
+ */
34348
+ readonly fields: HumanTaskFieldRefs;
34349
+ }
34350
+
34351
+ /**
34352
+ * The delegate class that acts as a "Promise-like" for HumanTask.
34353
+ * Why is this prefixed with `Prisma__`?
34354
+ * Because we want to prevent naming conflicts as mentioned in
34355
+ * https://github.com/prisma/prisma-client-js/issues/707
34356
+ */
34357
+ export interface Prisma__HumanTaskClient<T$1, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions$1 = {}> extends Prisma.PrismaPromise<T$1> {
34358
+ readonly [Symbol.toStringTag]: "PrismaPromise";
34359
+ /**
34360
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
34361
+ * @param onfulfilled The callback to execute when the Promise is resolved.
34362
+ * @param onrejected The callback to execute when the Promise is rejected.
34363
+ * @returns A Promise for the completion of which ever callback is executed.
34364
+ */
34365
+ then<TResult1 = T$1, TResult2 = never>(onfulfilled?: ((value: T$1) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>;
34366
+ /**
34367
+ * Attaches a callback for only the rejection of the Promise.
34368
+ * @param onrejected The callback to execute when the Promise is rejected.
34369
+ * @returns A Promise for the completion of the callback.
34370
+ */
34371
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T$1 | TResult>;
34372
+ /**
34373
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
34374
+ * resolved value cannot be modified from the callback.
34375
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
34376
+ * @returns A Promise for the completion of the callback.
34377
+ */
34378
+ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T$1>;
34379
+ }
34380
+
34381
+ /**
34382
+ * Fields of the HumanTask model
34383
+ */
34384
+ interface HumanTaskFieldRefs {
34385
+ readonly id: FieldRef<"HumanTask", 'String'>;
34386
+ readonly runId: FieldRef<"HumanTask", 'String'>;
34387
+ readonly workflowId: FieldRef<"HumanTask", 'String'>;
34388
+ readonly workspaceId: FieldRef<"HumanTask", 'String'>;
34389
+ readonly nodeId: FieldRef<"HumanTask", 'String'>;
34390
+ readonly activationId: FieldRef<"HumanTask", 'String'>;
34391
+ readonly itemIndex: FieldRef<"HumanTask", 'Int'>;
34392
+ readonly status: FieldRef<"HumanTask", 'String'>;
34393
+ readonly channel: FieldRef<"HumanTask", 'String'>;
34394
+ readonly subjectJson: FieldRef<"HumanTask", 'String'>;
34395
+ readonly metadataJson: FieldRef<"HumanTask", 'String'>;
34396
+ readonly decisionSchemaJson: FieldRef<"HumanTask", 'String'>;
34397
+ readonly decisionSchemaHash: FieldRef<"HumanTask", 'String'>;
34398
+ readonly onTimeout: FieldRef<"HumanTask", 'String'>;
34399
+ readonly deliveryRefJson: FieldRef<"HumanTask", 'String'>;
34400
+ readonly decisionJson: FieldRef<"HumanTask", 'String'>;
34401
+ readonly decidedAt: FieldRef<"HumanTask", 'DateTime'>;
34402
+ readonly decidedByJson: FieldRef<"HumanTask", 'String'>;
34403
+ readonly resumeTokenHash: FieldRef<"HumanTask", 'String'>;
34404
+ readonly expiresAt: FieldRef<"HumanTask", 'DateTime'>;
34405
+ readonly createdAt: FieldRef<"HumanTask", 'DateTime'>;
32197
34406
  }
32198
34407
 
32199
34408
  // Custom InputTypes
32200
34409
  /**
32201
- * WorkflowAuditLog findUnique
34410
+ * HumanTask findUnique
32202
34411
  */
32203
- export type WorkflowAuditLogFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
34412
+ export type HumanTaskFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
32204
34413
  /**
32205
- * Select specific fields to fetch from the WorkflowAuditLog
34414
+ * Select specific fields to fetch from the HumanTask
32206
34415
  */
32207
- select?: WorkflowAuditLogSelect<ExtArgs> | null;
34416
+ select?: HumanTaskSelect<ExtArgs> | null;
32208
34417
  /**
32209
- * Omit specific fields from the WorkflowAuditLog
34418
+ * Omit specific fields from the HumanTask
32210
34419
  */
32211
- omit?: WorkflowAuditLogOmit<ExtArgs> | null;
34420
+ omit?: HumanTaskOmit<ExtArgs> | null;
32212
34421
  /**
32213
- * Filter, which WorkflowAuditLog to fetch.
34422
+ * Filter, which HumanTask to fetch.
32214
34423
  */
32215
- where: WorkflowAuditLogWhereUniqueInput;
34424
+ where: HumanTaskWhereUniqueInput;
32216
34425
  };
32217
34426
 
32218
34427
  /**
32219
- * WorkflowAuditLog findUniqueOrThrow
34428
+ * HumanTask findUniqueOrThrow
32220
34429
  */
32221
- export type WorkflowAuditLogFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
34430
+ export type HumanTaskFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
32222
34431
  /**
32223
- * Select specific fields to fetch from the WorkflowAuditLog
34432
+ * Select specific fields to fetch from the HumanTask
32224
34433
  */
32225
- select?: WorkflowAuditLogSelect<ExtArgs> | null;
34434
+ select?: HumanTaskSelect<ExtArgs> | null;
32226
34435
  /**
32227
- * Omit specific fields from the WorkflowAuditLog
34436
+ * Omit specific fields from the HumanTask
32228
34437
  */
32229
- omit?: WorkflowAuditLogOmit<ExtArgs> | null;
34438
+ omit?: HumanTaskOmit<ExtArgs> | null;
32230
34439
  /**
32231
- * Filter, which WorkflowAuditLog to fetch.
34440
+ * Filter, which HumanTask to fetch.
32232
34441
  */
32233
- where: WorkflowAuditLogWhereUniqueInput;
34442
+ where: HumanTaskWhereUniqueInput;
32234
34443
  };
32235
34444
 
32236
34445
  /**
32237
- * WorkflowAuditLog findFirst
34446
+ * HumanTask findFirst
32238
34447
  */
32239
- export type WorkflowAuditLogFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
34448
+ export type HumanTaskFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
32240
34449
  /**
32241
- * Select specific fields to fetch from the WorkflowAuditLog
34450
+ * Select specific fields to fetch from the HumanTask
32242
34451
  */
32243
- select?: WorkflowAuditLogSelect<ExtArgs> | null;
34452
+ select?: HumanTaskSelect<ExtArgs> | null;
32244
34453
  /**
32245
- * Omit specific fields from the WorkflowAuditLog
34454
+ * Omit specific fields from the HumanTask
32246
34455
  */
32247
- omit?: WorkflowAuditLogOmit<ExtArgs> | null;
34456
+ omit?: HumanTaskOmit<ExtArgs> | null;
32248
34457
  /**
32249
- * Filter, which WorkflowAuditLog to fetch.
34458
+ * Filter, which HumanTask to fetch.
32250
34459
  */
32251
- where?: WorkflowAuditLogWhereInput;
34460
+ where?: HumanTaskWhereInput;
32252
34461
  /**
32253
34462
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
32254
34463
  *
32255
- * Determine the order of WorkflowAuditLogs to fetch.
34464
+ * Determine the order of HumanTasks to fetch.
32256
34465
  */
32257
- orderBy?: WorkflowAuditLogOrderByWithRelationInput | WorkflowAuditLogOrderByWithRelationInput[];
34466
+ orderBy?: HumanTaskOrderByWithRelationInput | HumanTaskOrderByWithRelationInput[];
32258
34467
  /**
32259
34468
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
32260
34469
  *
32261
- * Sets the position for searching for WorkflowAuditLogs.
34470
+ * Sets the position for searching for HumanTasks.
32262
34471
  */
32263
- cursor?: WorkflowAuditLogWhereUniqueInput;
34472
+ cursor?: HumanTaskWhereUniqueInput;
32264
34473
  /**
32265
34474
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
32266
34475
  *
32267
- * Take `±n` WorkflowAuditLogs from the position of the cursor.
34476
+ * Take `±n` HumanTasks from the position of the cursor.
32268
34477
  */
32269
34478
  take?: number;
32270
34479
  /**
32271
34480
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
32272
34481
  *
32273
- * Skip the first `n` WorkflowAuditLogs.
34482
+ * Skip the first `n` HumanTasks.
32274
34483
  */
32275
34484
  skip?: number;
32276
34485
  /**
32277
34486
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
32278
34487
  *
32279
- * Filter by unique combinations of WorkflowAuditLogs.
34488
+ * Filter by unique combinations of HumanTasks.
32280
34489
  */
32281
- distinct?: WorkflowAuditLogScalarFieldEnum | WorkflowAuditLogScalarFieldEnum[];
34490
+ distinct?: HumanTaskScalarFieldEnum | HumanTaskScalarFieldEnum[];
32282
34491
  };
32283
34492
 
32284
34493
  /**
32285
- * WorkflowAuditLog findFirstOrThrow
34494
+ * HumanTask findFirstOrThrow
32286
34495
  */
32287
- export type WorkflowAuditLogFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
34496
+ export type HumanTaskFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
32288
34497
  /**
32289
- * Select specific fields to fetch from the WorkflowAuditLog
34498
+ * Select specific fields to fetch from the HumanTask
32290
34499
  */
32291
- select?: WorkflowAuditLogSelect<ExtArgs> | null;
34500
+ select?: HumanTaskSelect<ExtArgs> | null;
32292
34501
  /**
32293
- * Omit specific fields from the WorkflowAuditLog
34502
+ * Omit specific fields from the HumanTask
32294
34503
  */
32295
- omit?: WorkflowAuditLogOmit<ExtArgs> | null;
34504
+ omit?: HumanTaskOmit<ExtArgs> | null;
32296
34505
  /**
32297
- * Filter, which WorkflowAuditLog to fetch.
34506
+ * Filter, which HumanTask to fetch.
32298
34507
  */
32299
- where?: WorkflowAuditLogWhereInput;
34508
+ where?: HumanTaskWhereInput;
32300
34509
  /**
32301
34510
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
32302
34511
  *
32303
- * Determine the order of WorkflowAuditLogs to fetch.
34512
+ * Determine the order of HumanTasks to fetch.
32304
34513
  */
32305
- orderBy?: WorkflowAuditLogOrderByWithRelationInput | WorkflowAuditLogOrderByWithRelationInput[];
34514
+ orderBy?: HumanTaskOrderByWithRelationInput | HumanTaskOrderByWithRelationInput[];
32306
34515
  /**
32307
34516
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
32308
34517
  *
32309
- * Sets the position for searching for WorkflowAuditLogs.
34518
+ * Sets the position for searching for HumanTasks.
32310
34519
  */
32311
- cursor?: WorkflowAuditLogWhereUniqueInput;
34520
+ cursor?: HumanTaskWhereUniqueInput;
32312
34521
  /**
32313
34522
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
32314
34523
  *
32315
- * Take `±n` WorkflowAuditLogs from the position of the cursor.
34524
+ * Take `±n` HumanTasks from the position of the cursor.
32316
34525
  */
32317
34526
  take?: number;
32318
34527
  /**
32319
34528
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
32320
34529
  *
32321
- * Skip the first `n` WorkflowAuditLogs.
34530
+ * Skip the first `n` HumanTasks.
32322
34531
  */
32323
34532
  skip?: number;
32324
34533
  /**
32325
34534
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
32326
34535
  *
32327
- * Filter by unique combinations of WorkflowAuditLogs.
34536
+ * Filter by unique combinations of HumanTasks.
32328
34537
  */
32329
- distinct?: WorkflowAuditLogScalarFieldEnum | WorkflowAuditLogScalarFieldEnum[];
34538
+ distinct?: HumanTaskScalarFieldEnum | HumanTaskScalarFieldEnum[];
32330
34539
  };
32331
34540
 
32332
34541
  /**
32333
- * WorkflowAuditLog findMany
34542
+ * HumanTask findMany
32334
34543
  */
32335
- export type WorkflowAuditLogFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
34544
+ export type HumanTaskFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
32336
34545
  /**
32337
- * Select specific fields to fetch from the WorkflowAuditLog
34546
+ * Select specific fields to fetch from the HumanTask
32338
34547
  */
32339
- select?: WorkflowAuditLogSelect<ExtArgs> | null;
34548
+ select?: HumanTaskSelect<ExtArgs> | null;
32340
34549
  /**
32341
- * Omit specific fields from the WorkflowAuditLog
34550
+ * Omit specific fields from the HumanTask
32342
34551
  */
32343
- omit?: WorkflowAuditLogOmit<ExtArgs> | null;
34552
+ omit?: HumanTaskOmit<ExtArgs> | null;
32344
34553
  /**
32345
- * Filter, which WorkflowAuditLogs to fetch.
34554
+ * Filter, which HumanTasks to fetch.
32346
34555
  */
32347
- where?: WorkflowAuditLogWhereInput;
34556
+ where?: HumanTaskWhereInput;
32348
34557
  /**
32349
34558
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
32350
34559
  *
32351
- * Determine the order of WorkflowAuditLogs to fetch.
34560
+ * Determine the order of HumanTasks to fetch.
32352
34561
  */
32353
- orderBy?: WorkflowAuditLogOrderByWithRelationInput | WorkflowAuditLogOrderByWithRelationInput[];
34562
+ orderBy?: HumanTaskOrderByWithRelationInput | HumanTaskOrderByWithRelationInput[];
32354
34563
  /**
32355
34564
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
32356
34565
  *
32357
- * Sets the position for listing WorkflowAuditLogs.
34566
+ * Sets the position for listing HumanTasks.
32358
34567
  */
32359
- cursor?: WorkflowAuditLogWhereUniqueInput;
34568
+ cursor?: HumanTaskWhereUniqueInput;
32360
34569
  /**
32361
34570
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
32362
34571
  *
32363
- * Take `±n` WorkflowAuditLogs from the position of the cursor.
34572
+ * Take `±n` HumanTasks from the position of the cursor.
32364
34573
  */
32365
34574
  take?: number;
32366
34575
  /**
32367
34576
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
32368
34577
  *
32369
- * Skip the first `n` WorkflowAuditLogs.
34578
+ * Skip the first `n` HumanTasks.
32370
34579
  */
32371
34580
  skip?: number;
32372
34581
  /**
32373
34582
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
32374
34583
  *
32375
- * Filter by unique combinations of WorkflowAuditLogs.
34584
+ * Filter by unique combinations of HumanTasks.
32376
34585
  */
32377
- distinct?: WorkflowAuditLogScalarFieldEnum | WorkflowAuditLogScalarFieldEnum[];
34586
+ distinct?: HumanTaskScalarFieldEnum | HumanTaskScalarFieldEnum[];
32378
34587
  };
32379
34588
 
32380
34589
  /**
32381
- * WorkflowAuditLog create
34590
+ * HumanTask create
32382
34591
  */
32383
- export type WorkflowAuditLogCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
34592
+ export type HumanTaskCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
32384
34593
  /**
32385
- * Select specific fields to fetch from the WorkflowAuditLog
34594
+ * Select specific fields to fetch from the HumanTask
32386
34595
  */
32387
- select?: WorkflowAuditLogSelect<ExtArgs> | null;
34596
+ select?: HumanTaskSelect<ExtArgs> | null;
32388
34597
  /**
32389
- * Omit specific fields from the WorkflowAuditLog
34598
+ * Omit specific fields from the HumanTask
32390
34599
  */
32391
- omit?: WorkflowAuditLogOmit<ExtArgs> | null;
34600
+ omit?: HumanTaskOmit<ExtArgs> | null;
32392
34601
  /**
32393
- * The data needed to create a WorkflowAuditLog.
34602
+ * The data needed to create a HumanTask.
32394
34603
  */
32395
- data: XOR<WorkflowAuditLogCreateInput, WorkflowAuditLogUncheckedCreateInput>;
34604
+ data: XOR<HumanTaskCreateInput, HumanTaskUncheckedCreateInput>;
32396
34605
  };
32397
34606
 
32398
34607
  /**
32399
- * WorkflowAuditLog createMany
34608
+ * HumanTask createMany
32400
34609
  */
32401
- export type WorkflowAuditLogCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
34610
+ export type HumanTaskCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
32402
34611
  /**
32403
- * The data used to create many WorkflowAuditLogs.
34612
+ * The data used to create many HumanTasks.
32404
34613
  */
32405
- data: WorkflowAuditLogCreateManyInput | WorkflowAuditLogCreateManyInput[];
34614
+ data: HumanTaskCreateManyInput | HumanTaskCreateManyInput[];
32406
34615
  skipDuplicates?: boolean;
32407
34616
  };
32408
34617
 
32409
34618
  /**
32410
- * WorkflowAuditLog createManyAndReturn
34619
+ * HumanTask createManyAndReturn
32411
34620
  */
32412
- export type WorkflowAuditLogCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
34621
+ export type HumanTaskCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
32413
34622
  /**
32414
- * Select specific fields to fetch from the WorkflowAuditLog
34623
+ * Select specific fields to fetch from the HumanTask
32415
34624
  */
32416
- select?: WorkflowAuditLogSelectCreateManyAndReturn<ExtArgs> | null;
34625
+ select?: HumanTaskSelectCreateManyAndReturn<ExtArgs> | null;
32417
34626
  /**
32418
- * Omit specific fields from the WorkflowAuditLog
34627
+ * Omit specific fields from the HumanTask
32419
34628
  */
32420
- omit?: WorkflowAuditLogOmit<ExtArgs> | null;
34629
+ omit?: HumanTaskOmit<ExtArgs> | null;
32421
34630
  /**
32422
- * The data used to create many WorkflowAuditLogs.
34631
+ * The data used to create many HumanTasks.
32423
34632
  */
32424
- data: WorkflowAuditLogCreateManyInput | WorkflowAuditLogCreateManyInput[];
34633
+ data: HumanTaskCreateManyInput | HumanTaskCreateManyInput[];
32425
34634
  skipDuplicates?: boolean;
32426
34635
  };
32427
34636
 
32428
34637
  /**
32429
- * WorkflowAuditLog update
34638
+ * HumanTask update
32430
34639
  */
32431
- export type WorkflowAuditLogUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
34640
+ export type HumanTaskUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
32432
34641
  /**
32433
- * Select specific fields to fetch from the WorkflowAuditLog
34642
+ * Select specific fields to fetch from the HumanTask
32434
34643
  */
32435
- select?: WorkflowAuditLogSelect<ExtArgs> | null;
34644
+ select?: HumanTaskSelect<ExtArgs> | null;
32436
34645
  /**
32437
- * Omit specific fields from the WorkflowAuditLog
34646
+ * Omit specific fields from the HumanTask
32438
34647
  */
32439
- omit?: WorkflowAuditLogOmit<ExtArgs> | null;
34648
+ omit?: HumanTaskOmit<ExtArgs> | null;
32440
34649
  /**
32441
- * The data needed to update a WorkflowAuditLog.
34650
+ * The data needed to update a HumanTask.
32442
34651
  */
32443
- data: XOR<WorkflowAuditLogUpdateInput, WorkflowAuditLogUncheckedUpdateInput>;
34652
+ data: XOR<HumanTaskUpdateInput, HumanTaskUncheckedUpdateInput>;
32444
34653
  /**
32445
- * Choose, which WorkflowAuditLog to update.
34654
+ * Choose, which HumanTask to update.
32446
34655
  */
32447
- where: WorkflowAuditLogWhereUniqueInput;
34656
+ where: HumanTaskWhereUniqueInput;
32448
34657
  };
32449
34658
 
32450
34659
  /**
32451
- * WorkflowAuditLog updateMany
34660
+ * HumanTask updateMany
32452
34661
  */
32453
- export type WorkflowAuditLogUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
34662
+ export type HumanTaskUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
32454
34663
  /**
32455
- * The data used to update WorkflowAuditLogs.
34664
+ * The data used to update HumanTasks.
32456
34665
  */
32457
- data: XOR<WorkflowAuditLogUpdateManyMutationInput, WorkflowAuditLogUncheckedUpdateManyInput>;
34666
+ data: XOR<HumanTaskUpdateManyMutationInput, HumanTaskUncheckedUpdateManyInput>;
32458
34667
  /**
32459
- * Filter which WorkflowAuditLogs to update
34668
+ * Filter which HumanTasks to update
32460
34669
  */
32461
- where?: WorkflowAuditLogWhereInput;
34670
+ where?: HumanTaskWhereInput;
32462
34671
  /**
32463
- * Limit how many WorkflowAuditLogs to update.
34672
+ * Limit how many HumanTasks to update.
32464
34673
  */
32465
34674
  limit?: number;
32466
34675
  };
32467
34676
 
32468
34677
  /**
32469
- * WorkflowAuditLog updateManyAndReturn
34678
+ * HumanTask updateManyAndReturn
32470
34679
  */
32471
- export type WorkflowAuditLogUpdateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
34680
+ export type HumanTaskUpdateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
32472
34681
  /**
32473
- * Select specific fields to fetch from the WorkflowAuditLog
34682
+ * Select specific fields to fetch from the HumanTask
32474
34683
  */
32475
- select?: WorkflowAuditLogSelectUpdateManyAndReturn<ExtArgs> | null;
34684
+ select?: HumanTaskSelectUpdateManyAndReturn<ExtArgs> | null;
32476
34685
  /**
32477
- * Omit specific fields from the WorkflowAuditLog
34686
+ * Omit specific fields from the HumanTask
32478
34687
  */
32479
- omit?: WorkflowAuditLogOmit<ExtArgs> | null;
34688
+ omit?: HumanTaskOmit<ExtArgs> | null;
32480
34689
  /**
32481
- * The data used to update WorkflowAuditLogs.
34690
+ * The data used to update HumanTasks.
32482
34691
  */
32483
- data: XOR<WorkflowAuditLogUpdateManyMutationInput, WorkflowAuditLogUncheckedUpdateManyInput>;
34692
+ data: XOR<HumanTaskUpdateManyMutationInput, HumanTaskUncheckedUpdateManyInput>;
32484
34693
  /**
32485
- * Filter which WorkflowAuditLogs to update
34694
+ * Filter which HumanTasks to update
32486
34695
  */
32487
- where?: WorkflowAuditLogWhereInput;
34696
+ where?: HumanTaskWhereInput;
32488
34697
  /**
32489
- * Limit how many WorkflowAuditLogs to update.
34698
+ * Limit how many HumanTasks to update.
32490
34699
  */
32491
34700
  limit?: number;
32492
34701
  };
32493
34702
 
32494
34703
  /**
32495
- * WorkflowAuditLog upsert
34704
+ * HumanTask upsert
32496
34705
  */
32497
- export type WorkflowAuditLogUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
34706
+ export type HumanTaskUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
32498
34707
  /**
32499
- * Select specific fields to fetch from the WorkflowAuditLog
34708
+ * Select specific fields to fetch from the HumanTask
32500
34709
  */
32501
- select?: WorkflowAuditLogSelect<ExtArgs> | null;
34710
+ select?: HumanTaskSelect<ExtArgs> | null;
32502
34711
  /**
32503
- * Omit specific fields from the WorkflowAuditLog
34712
+ * Omit specific fields from the HumanTask
32504
34713
  */
32505
- omit?: WorkflowAuditLogOmit<ExtArgs> | null;
34714
+ omit?: HumanTaskOmit<ExtArgs> | null;
32506
34715
  /**
32507
- * The filter to search for the WorkflowAuditLog to update in case it exists.
34716
+ * The filter to search for the HumanTask to update in case it exists.
32508
34717
  */
32509
- where: WorkflowAuditLogWhereUniqueInput;
34718
+ where: HumanTaskWhereUniqueInput;
32510
34719
  /**
32511
- * In case the WorkflowAuditLog found by the `where` argument doesn't exist, create a new WorkflowAuditLog with this data.
34720
+ * In case the HumanTask found by the `where` argument doesn't exist, create a new HumanTask with this data.
32512
34721
  */
32513
- create: XOR<WorkflowAuditLogCreateInput, WorkflowAuditLogUncheckedCreateInput>;
34722
+ create: XOR<HumanTaskCreateInput, HumanTaskUncheckedCreateInput>;
32514
34723
  /**
32515
- * In case the WorkflowAuditLog was found with the provided `where` argument, update it with this data.
34724
+ * In case the HumanTask was found with the provided `where` argument, update it with this data.
32516
34725
  */
32517
- update: XOR<WorkflowAuditLogUpdateInput, WorkflowAuditLogUncheckedUpdateInput>;
34726
+ update: XOR<HumanTaskUpdateInput, HumanTaskUncheckedUpdateInput>;
32518
34727
  };
32519
34728
 
32520
34729
  /**
32521
- * WorkflowAuditLog delete
34730
+ * HumanTask delete
32522
34731
  */
32523
- export type WorkflowAuditLogDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
34732
+ export type HumanTaskDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
32524
34733
  /**
32525
- * Select specific fields to fetch from the WorkflowAuditLog
34734
+ * Select specific fields to fetch from the HumanTask
32526
34735
  */
32527
- select?: WorkflowAuditLogSelect<ExtArgs> | null;
34736
+ select?: HumanTaskSelect<ExtArgs> | null;
32528
34737
  /**
32529
- * Omit specific fields from the WorkflowAuditLog
34738
+ * Omit specific fields from the HumanTask
32530
34739
  */
32531
- omit?: WorkflowAuditLogOmit<ExtArgs> | null;
34740
+ omit?: HumanTaskOmit<ExtArgs> | null;
32532
34741
  /**
32533
- * Filter which WorkflowAuditLog to delete.
34742
+ * Filter which HumanTask to delete.
32534
34743
  */
32535
- where: WorkflowAuditLogWhereUniqueInput;
34744
+ where: HumanTaskWhereUniqueInput;
32536
34745
  };
32537
34746
 
32538
34747
  /**
32539
- * WorkflowAuditLog deleteMany
34748
+ * HumanTask deleteMany
32540
34749
  */
32541
- export type WorkflowAuditLogDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
34750
+ export type HumanTaskDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
32542
34751
  /**
32543
- * Filter which WorkflowAuditLogs to delete
34752
+ * Filter which HumanTasks to delete
32544
34753
  */
32545
- where?: WorkflowAuditLogWhereInput;
34754
+ where?: HumanTaskWhereInput;
32546
34755
  /**
32547
- * Limit how many WorkflowAuditLogs to delete.
34756
+ * Limit how many HumanTasks to delete.
32548
34757
  */
32549
34758
  limit?: number;
32550
34759
  };
32551
34760
 
32552
34761
  /**
32553
- * WorkflowAuditLog without action
34762
+ * HumanTask without action
32554
34763
  */
32555
- export type WorkflowAuditLogDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
34764
+ export type HumanTaskDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
32556
34765
  /**
32557
- * Select specific fields to fetch from the WorkflowAuditLog
34766
+ * Select specific fields to fetch from the HumanTask
32558
34767
  */
32559
- select?: WorkflowAuditLogSelect<ExtArgs> | null;
34768
+ select?: HumanTaskSelect<ExtArgs> | null;
32560
34769
  /**
32561
- * Omit specific fields from the WorkflowAuditLog
34770
+ * Omit specific fields from the HumanTask
32562
34771
  */
32563
- omit?: WorkflowAuditLogOmit<ExtArgs> | null;
34772
+ omit?: HumanTaskOmit<ExtArgs> | null;
32564
34773
  };
32565
34774
 
32566
34775
  /**
@@ -32589,6 +34798,7 @@ declare namespace Prisma {
32589
34798
  policySnapshotJson: 'policySnapshotJson';
32590
34799
  engineCountersJson: 'engineCountersJson';
32591
34800
  mutableStateJson: 'mutableStateJson';
34801
+ hitlStateJson: 'hitlStateJson';
32592
34802
  outputsByNodeJson: 'outputsByNodeJson';
32593
34803
  updatedAt: 'updatedAt';
32594
34804
  testSuiteRunId: 'testSuiteRunId';
@@ -32830,6 +35040,8 @@ declare namespace Prisma {
32830
35040
  setupStatus: 'setupStatus';
32831
35041
  createdAt: 'createdAt';
32832
35042
  updatedAt: 'updatedAt';
35043
+ materialSource: 'materialSource';
35044
+ materialRef: 'materialRef';
32833
35045
  };
32834
35046
  export type CredentialInstanceScalarFieldEnum = (typeof CredentialInstanceScalarFieldEnum)[keyof typeof CredentialInstanceScalarFieldEnum];
32835
35047
  export const CredentialSecretMaterialScalarFieldEnum: {
@@ -32957,6 +35169,35 @@ declare namespace Prisma {
32957
35169
  nodeId: 'nodeId';
32958
35170
  };
32959
35171
  export type WorkflowAuditLogScalarFieldEnum = (typeof WorkflowAuditLogScalarFieldEnum)[keyof typeof WorkflowAuditLogScalarFieldEnum];
35172
+ export const HmacNonceScalarFieldEnum: {
35173
+ nonce: 'nonce';
35174
+ expiresAt: 'expiresAt';
35175
+ };
35176
+ export type HmacNonceScalarFieldEnum = (typeof HmacNonceScalarFieldEnum)[keyof typeof HmacNonceScalarFieldEnum];
35177
+ export const HumanTaskScalarFieldEnum: {
35178
+ id: 'id';
35179
+ runId: 'runId';
35180
+ workflowId: 'workflowId';
35181
+ workspaceId: 'workspaceId';
35182
+ nodeId: 'nodeId';
35183
+ activationId: 'activationId';
35184
+ itemIndex: 'itemIndex';
35185
+ status: 'status';
35186
+ channel: 'channel';
35187
+ subjectJson: 'subjectJson';
35188
+ metadataJson: 'metadataJson';
35189
+ decisionSchemaJson: 'decisionSchemaJson';
35190
+ decisionSchemaHash: 'decisionSchemaHash';
35191
+ onTimeout: 'onTimeout';
35192
+ deliveryRefJson: 'deliveryRefJson';
35193
+ decisionJson: 'decisionJson';
35194
+ decidedAt: 'decidedAt';
35195
+ decidedByJson: 'decidedByJson';
35196
+ resumeTokenHash: 'resumeTokenHash';
35197
+ expiresAt: 'expiresAt';
35198
+ createdAt: 'createdAt';
35199
+ };
35200
+ export type HumanTaskScalarFieldEnum = (typeof HumanTaskScalarFieldEnum)[keyof typeof HumanTaskScalarFieldEnum];
32960
35201
  export const SortOrder: {
32961
35202
  asc: 'asc';
32962
35203
  desc: 'desc';
@@ -33044,6 +35285,7 @@ declare namespace Prisma {
33044
35285
  policySnapshotJson?: StringNullableFilter<"Run"> | string | null;
33045
35286
  engineCountersJson?: StringNullableFilter<"Run"> | string | null;
33046
35287
  mutableStateJson?: StringNullableFilter<"Run"> | string | null;
35288
+ hitlStateJson?: StringNullableFilter<"Run"> | string | null;
33047
35289
  outputsByNodeJson?: StringFilter<"Run"> | string;
33048
35290
  updatedAt?: StringFilter<"Run"> | string;
33049
35291
  testSuiteRunId?: StringNullableFilter<"Run"> | string | null;
@@ -33072,6 +35314,7 @@ declare namespace Prisma {
33072
35314
  policySnapshotJson?: SortOrderInput | SortOrder;
33073
35315
  engineCountersJson?: SortOrderInput | SortOrder;
33074
35316
  mutableStateJson?: SortOrderInput | SortOrder;
35317
+ hitlStateJson?: SortOrderInput | SortOrder;
33075
35318
  outputsByNodeJson?: SortOrder;
33076
35319
  updatedAt?: SortOrder;
33077
35320
  testSuiteRunId?: SortOrderInput | SortOrder;
@@ -33103,6 +35346,7 @@ declare namespace Prisma {
33103
35346
  policySnapshotJson?: StringNullableFilter<"Run"> | string | null;
33104
35347
  engineCountersJson?: StringNullableFilter<"Run"> | string | null;
33105
35348
  mutableStateJson?: StringNullableFilter<"Run"> | string | null;
35349
+ hitlStateJson?: StringNullableFilter<"Run"> | string | null;
33106
35350
  outputsByNodeJson?: StringFilter<"Run"> | string;
33107
35351
  updatedAt?: StringFilter<"Run"> | string;
33108
35352
  testSuiteRunId?: StringNullableFilter<"Run"> | string | null;
@@ -33131,6 +35375,7 @@ declare namespace Prisma {
33131
35375
  policySnapshotJson?: SortOrderInput | SortOrder;
33132
35376
  engineCountersJson?: SortOrderInput | SortOrder;
33133
35377
  mutableStateJson?: SortOrderInput | SortOrder;
35378
+ hitlStateJson?: SortOrderInput | SortOrder;
33134
35379
  outputsByNodeJson?: SortOrder;
33135
35380
  updatedAt?: SortOrder;
33136
35381
  testSuiteRunId?: SortOrderInput | SortOrder;
@@ -33161,6 +35406,7 @@ declare namespace Prisma {
33161
35406
  policySnapshotJson?: StringNullableWithAggregatesFilter<"Run"> | string | null;
33162
35407
  engineCountersJson?: StringNullableWithAggregatesFilter<"Run"> | string | null;
33163
35408
  mutableStateJson?: StringNullableWithAggregatesFilter<"Run"> | string | null;
35409
+ hitlStateJson?: StringNullableWithAggregatesFilter<"Run"> | string | null;
33164
35410
  outputsByNodeJson?: StringWithAggregatesFilter<"Run"> | string;
33165
35411
  updatedAt?: StringWithAggregatesFilter<"Run"> | string;
33166
35412
  testSuiteRunId?: StringNullableWithAggregatesFilter<"Run"> | string | null;
@@ -34427,6 +36673,8 @@ declare namespace Prisma {
34427
36673
  setupStatus?: StringFilter<"CredentialInstance"> | string;
34428
36674
  createdAt?: StringFilter<"CredentialInstance"> | string;
34429
36675
  updatedAt?: StringFilter<"CredentialInstance"> | string;
36676
+ materialSource?: StringFilter<"CredentialInstance"> | string;
36677
+ materialRef?: StringFilter<"CredentialInstance"> | string;
34430
36678
  };
34431
36679
  export type CredentialInstanceOrderByWithRelationInput = {
34432
36680
  instanceId?: SortOrder;
@@ -34439,6 +36687,8 @@ declare namespace Prisma {
34439
36687
  setupStatus?: SortOrder;
34440
36688
  createdAt?: SortOrder;
34441
36689
  updatedAt?: SortOrder;
36690
+ materialSource?: SortOrder;
36691
+ materialRef?: SortOrder;
34442
36692
  };
34443
36693
  export type CredentialInstanceWhereUniqueInput = Prisma.AtLeast<{
34444
36694
  instanceId?: string;
@@ -34454,6 +36704,8 @@ declare namespace Prisma {
34454
36704
  setupStatus?: StringFilter<"CredentialInstance"> | string;
34455
36705
  createdAt?: StringFilter<"CredentialInstance"> | string;
34456
36706
  updatedAt?: StringFilter<"CredentialInstance"> | string;
36707
+ materialSource?: StringFilter<"CredentialInstance"> | string;
36708
+ materialRef?: StringFilter<"CredentialInstance"> | string;
34457
36709
  }, "instanceId">;
34458
36710
  export type CredentialInstanceOrderByWithAggregationInput = {
34459
36711
  instanceId?: SortOrder;
@@ -34466,6 +36718,8 @@ declare namespace Prisma {
34466
36718
  setupStatus?: SortOrder;
34467
36719
  createdAt?: SortOrder;
34468
36720
  updatedAt?: SortOrder;
36721
+ materialSource?: SortOrder;
36722
+ materialRef?: SortOrder;
34469
36723
  _count?: CredentialInstanceCountOrderByAggregateInput;
34470
36724
  _max?: CredentialInstanceMaxOrderByAggregateInput;
34471
36725
  _min?: CredentialInstanceMinOrderByAggregateInput;
@@ -34484,6 +36738,8 @@ declare namespace Prisma {
34484
36738
  setupStatus?: StringWithAggregatesFilter<"CredentialInstance"> | string;
34485
36739
  createdAt?: StringWithAggregatesFilter<"CredentialInstance"> | string;
34486
36740
  updatedAt?: StringWithAggregatesFilter<"CredentialInstance"> | string;
36741
+ materialSource?: StringWithAggregatesFilter<"CredentialInstance"> | string;
36742
+ materialRef?: StringWithAggregatesFilter<"CredentialInstance"> | string;
34487
36743
  };
34488
36744
  export type CredentialSecretMaterialWhereInput = {
34489
36745
  AND?: CredentialSecretMaterialWhereInput | CredentialSecretMaterialWhereInput[];
@@ -35214,6 +37470,167 @@ declare namespace Prisma {
35214
37470
  runId?: StringNullableWithAggregatesFilter<"WorkflowAuditLog"> | string | null;
35215
37471
  nodeId?: StringNullableWithAggregatesFilter<"WorkflowAuditLog"> | string | null;
35216
37472
  };
37473
+ export type HmacNonceWhereInput = {
37474
+ AND?: HmacNonceWhereInput | HmacNonceWhereInput[];
37475
+ OR?: HmacNonceWhereInput[];
37476
+ NOT?: HmacNonceWhereInput | HmacNonceWhereInput[];
37477
+ nonce?: StringFilter<"HmacNonce"> | string;
37478
+ expiresAt?: DateTimeFilter<"HmacNonce"> | Date | string;
37479
+ };
37480
+ export type HmacNonceOrderByWithRelationInput = {
37481
+ nonce?: SortOrder;
37482
+ expiresAt?: SortOrder;
37483
+ };
37484
+ export type HmacNonceWhereUniqueInput = Prisma.AtLeast<{
37485
+ nonce?: string;
37486
+ AND?: HmacNonceWhereInput | HmacNonceWhereInput[];
37487
+ OR?: HmacNonceWhereInput[];
37488
+ NOT?: HmacNonceWhereInput | HmacNonceWhereInput[];
37489
+ expiresAt?: DateTimeFilter<"HmacNonce"> | Date | string;
37490
+ }, "nonce">;
37491
+ export type HmacNonceOrderByWithAggregationInput = {
37492
+ nonce?: SortOrder;
37493
+ expiresAt?: SortOrder;
37494
+ _count?: HmacNonceCountOrderByAggregateInput;
37495
+ _max?: HmacNonceMaxOrderByAggregateInput;
37496
+ _min?: HmacNonceMinOrderByAggregateInput;
37497
+ };
37498
+ export type HmacNonceScalarWhereWithAggregatesInput = {
37499
+ AND?: HmacNonceScalarWhereWithAggregatesInput | HmacNonceScalarWhereWithAggregatesInput[];
37500
+ OR?: HmacNonceScalarWhereWithAggregatesInput[];
37501
+ NOT?: HmacNonceScalarWhereWithAggregatesInput | HmacNonceScalarWhereWithAggregatesInput[];
37502
+ nonce?: StringWithAggregatesFilter<"HmacNonce"> | string;
37503
+ expiresAt?: DateTimeWithAggregatesFilter<"HmacNonce"> | Date | string;
37504
+ };
37505
+ export type HumanTaskWhereInput = {
37506
+ AND?: HumanTaskWhereInput | HumanTaskWhereInput[];
37507
+ OR?: HumanTaskWhereInput[];
37508
+ NOT?: HumanTaskWhereInput | HumanTaskWhereInput[];
37509
+ id?: StringFilter<"HumanTask"> | string;
37510
+ runId?: StringFilter<"HumanTask"> | string;
37511
+ workflowId?: StringFilter<"HumanTask"> | string;
37512
+ workspaceId?: StringNullableFilter<"HumanTask"> | string | null;
37513
+ nodeId?: StringFilter<"HumanTask"> | string;
37514
+ activationId?: StringFilter<"HumanTask"> | string;
37515
+ itemIndex?: IntFilter<"HumanTask"> | number;
37516
+ status?: StringFilter<"HumanTask"> | string;
37517
+ channel?: StringFilter<"HumanTask"> | string;
37518
+ subjectJson?: StringFilter<"HumanTask"> | string;
37519
+ metadataJson?: StringFilter<"HumanTask"> | string;
37520
+ decisionSchemaJson?: StringFilter<"HumanTask"> | string;
37521
+ decisionSchemaHash?: StringFilter<"HumanTask"> | string;
37522
+ onTimeout?: StringFilter<"HumanTask"> | string;
37523
+ deliveryRefJson?: StringNullableFilter<"HumanTask"> | string | null;
37524
+ decisionJson?: StringNullableFilter<"HumanTask"> | string | null;
37525
+ decidedAt?: DateTimeNullableFilter<"HumanTask"> | Date | string | null;
37526
+ decidedByJson?: StringNullableFilter<"HumanTask"> | string | null;
37527
+ resumeTokenHash?: StringFilter<"HumanTask"> | string;
37528
+ expiresAt?: DateTimeFilter<"HumanTask"> | Date | string;
37529
+ createdAt?: DateTimeFilter<"HumanTask"> | Date | string;
37530
+ };
37531
+ export type HumanTaskOrderByWithRelationInput = {
37532
+ id?: SortOrder;
37533
+ runId?: SortOrder;
37534
+ workflowId?: SortOrder;
37535
+ workspaceId?: SortOrderInput | SortOrder;
37536
+ nodeId?: SortOrder;
37537
+ activationId?: SortOrder;
37538
+ itemIndex?: SortOrder;
37539
+ status?: SortOrder;
37540
+ channel?: SortOrder;
37541
+ subjectJson?: SortOrder;
37542
+ metadataJson?: SortOrder;
37543
+ decisionSchemaJson?: SortOrder;
37544
+ decisionSchemaHash?: SortOrder;
37545
+ onTimeout?: SortOrder;
37546
+ deliveryRefJson?: SortOrderInput | SortOrder;
37547
+ decisionJson?: SortOrderInput | SortOrder;
37548
+ decidedAt?: SortOrderInput | SortOrder;
37549
+ decidedByJson?: SortOrderInput | SortOrder;
37550
+ resumeTokenHash?: SortOrder;
37551
+ expiresAt?: SortOrder;
37552
+ createdAt?: SortOrder;
37553
+ };
37554
+ export type HumanTaskWhereUniqueInput = Prisma.AtLeast<{
37555
+ id?: string;
37556
+ AND?: HumanTaskWhereInput | HumanTaskWhereInput[];
37557
+ OR?: HumanTaskWhereInput[];
37558
+ NOT?: HumanTaskWhereInput | HumanTaskWhereInput[];
37559
+ runId?: StringFilter<"HumanTask"> | string;
37560
+ workflowId?: StringFilter<"HumanTask"> | string;
37561
+ workspaceId?: StringNullableFilter<"HumanTask"> | string | null;
37562
+ nodeId?: StringFilter<"HumanTask"> | string;
37563
+ activationId?: StringFilter<"HumanTask"> | string;
37564
+ itemIndex?: IntFilter<"HumanTask"> | number;
37565
+ status?: StringFilter<"HumanTask"> | string;
37566
+ channel?: StringFilter<"HumanTask"> | string;
37567
+ subjectJson?: StringFilter<"HumanTask"> | string;
37568
+ metadataJson?: StringFilter<"HumanTask"> | string;
37569
+ decisionSchemaJson?: StringFilter<"HumanTask"> | string;
37570
+ decisionSchemaHash?: StringFilter<"HumanTask"> | string;
37571
+ onTimeout?: StringFilter<"HumanTask"> | string;
37572
+ deliveryRefJson?: StringNullableFilter<"HumanTask"> | string | null;
37573
+ decisionJson?: StringNullableFilter<"HumanTask"> | string | null;
37574
+ decidedAt?: DateTimeNullableFilter<"HumanTask"> | Date | string | null;
37575
+ decidedByJson?: StringNullableFilter<"HumanTask"> | string | null;
37576
+ resumeTokenHash?: StringFilter<"HumanTask"> | string;
37577
+ expiresAt?: DateTimeFilter<"HumanTask"> | Date | string;
37578
+ createdAt?: DateTimeFilter<"HumanTask"> | Date | string;
37579
+ }, "id">;
37580
+ export type HumanTaskOrderByWithAggregationInput = {
37581
+ id?: SortOrder;
37582
+ runId?: SortOrder;
37583
+ workflowId?: SortOrder;
37584
+ workspaceId?: SortOrderInput | SortOrder;
37585
+ nodeId?: SortOrder;
37586
+ activationId?: SortOrder;
37587
+ itemIndex?: SortOrder;
37588
+ status?: SortOrder;
37589
+ channel?: SortOrder;
37590
+ subjectJson?: SortOrder;
37591
+ metadataJson?: SortOrder;
37592
+ decisionSchemaJson?: SortOrder;
37593
+ decisionSchemaHash?: SortOrder;
37594
+ onTimeout?: SortOrder;
37595
+ deliveryRefJson?: SortOrderInput | SortOrder;
37596
+ decisionJson?: SortOrderInput | SortOrder;
37597
+ decidedAt?: SortOrderInput | SortOrder;
37598
+ decidedByJson?: SortOrderInput | SortOrder;
37599
+ resumeTokenHash?: SortOrder;
37600
+ expiresAt?: SortOrder;
37601
+ createdAt?: SortOrder;
37602
+ _count?: HumanTaskCountOrderByAggregateInput;
37603
+ _avg?: HumanTaskAvgOrderByAggregateInput;
37604
+ _max?: HumanTaskMaxOrderByAggregateInput;
37605
+ _min?: HumanTaskMinOrderByAggregateInput;
37606
+ _sum?: HumanTaskSumOrderByAggregateInput;
37607
+ };
37608
+ export type HumanTaskScalarWhereWithAggregatesInput = {
37609
+ AND?: HumanTaskScalarWhereWithAggregatesInput | HumanTaskScalarWhereWithAggregatesInput[];
37610
+ OR?: HumanTaskScalarWhereWithAggregatesInput[];
37611
+ NOT?: HumanTaskScalarWhereWithAggregatesInput | HumanTaskScalarWhereWithAggregatesInput[];
37612
+ id?: StringWithAggregatesFilter<"HumanTask"> | string;
37613
+ runId?: StringWithAggregatesFilter<"HumanTask"> | string;
37614
+ workflowId?: StringWithAggregatesFilter<"HumanTask"> | string;
37615
+ workspaceId?: StringNullableWithAggregatesFilter<"HumanTask"> | string | null;
37616
+ nodeId?: StringWithAggregatesFilter<"HumanTask"> | string;
37617
+ activationId?: StringWithAggregatesFilter<"HumanTask"> | string;
37618
+ itemIndex?: IntWithAggregatesFilter<"HumanTask"> | number;
37619
+ status?: StringWithAggregatesFilter<"HumanTask"> | string;
37620
+ channel?: StringWithAggregatesFilter<"HumanTask"> | string;
37621
+ subjectJson?: StringWithAggregatesFilter<"HumanTask"> | string;
37622
+ metadataJson?: StringWithAggregatesFilter<"HumanTask"> | string;
37623
+ decisionSchemaJson?: StringWithAggregatesFilter<"HumanTask"> | string;
37624
+ decisionSchemaHash?: StringWithAggregatesFilter<"HumanTask"> | string;
37625
+ onTimeout?: StringWithAggregatesFilter<"HumanTask"> | string;
37626
+ deliveryRefJson?: StringNullableWithAggregatesFilter<"HumanTask"> | string | null;
37627
+ decisionJson?: StringNullableWithAggregatesFilter<"HumanTask"> | string | null;
37628
+ decidedAt?: DateTimeNullableWithAggregatesFilter<"HumanTask"> | Date | string | null;
37629
+ decidedByJson?: StringNullableWithAggregatesFilter<"HumanTask"> | string | null;
37630
+ resumeTokenHash?: StringWithAggregatesFilter<"HumanTask"> | string;
37631
+ expiresAt?: DateTimeWithAggregatesFilter<"HumanTask"> | Date | string;
37632
+ createdAt?: DateTimeWithAggregatesFilter<"HumanTask"> | Date | string;
37633
+ };
35217
37634
  export type RunCreateInput = {
35218
37635
  runId: string;
35219
37636
  workflowId: string;
@@ -35228,6 +37645,7 @@ declare namespace Prisma {
35228
37645
  policySnapshotJson?: string | null;
35229
37646
  engineCountersJson?: string | null;
35230
37647
  mutableStateJson?: string | null;
37648
+ hitlStateJson?: string | null;
35231
37649
  outputsByNodeJson: string;
35232
37650
  updatedAt: string;
35233
37651
  testCaseIndex?: number | null;
@@ -35255,6 +37673,7 @@ declare namespace Prisma {
35255
37673
  policySnapshotJson?: string | null;
35256
37674
  engineCountersJson?: string | null;
35257
37675
  mutableStateJson?: string | null;
37676
+ hitlStateJson?: string | null;
35258
37677
  outputsByNodeJson: string;
35259
37678
  updatedAt: string;
35260
37679
  testSuiteRunId?: string | null;
@@ -35280,6 +37699,7 @@ declare namespace Prisma {
35280
37699
  policySnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null;
35281
37700
  engineCountersJson?: NullableStringFieldUpdateOperationsInput | string | null;
35282
37701
  mutableStateJson?: NullableStringFieldUpdateOperationsInput | string | null;
37702
+ hitlStateJson?: NullableStringFieldUpdateOperationsInput | string | null;
35283
37703
  outputsByNodeJson?: StringFieldUpdateOperationsInput | string;
35284
37704
  updatedAt?: StringFieldUpdateOperationsInput | string;
35285
37705
  testCaseIndex?: NullableIntFieldUpdateOperationsInput | number | null;
@@ -35307,6 +37727,7 @@ declare namespace Prisma {
35307
37727
  policySnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null;
35308
37728
  engineCountersJson?: NullableStringFieldUpdateOperationsInput | string | null;
35309
37729
  mutableStateJson?: NullableStringFieldUpdateOperationsInput | string | null;
37730
+ hitlStateJson?: NullableStringFieldUpdateOperationsInput | string | null;
35310
37731
  outputsByNodeJson?: StringFieldUpdateOperationsInput | string;
35311
37732
  updatedAt?: StringFieldUpdateOperationsInput | string;
35312
37733
  testSuiteRunId?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -35333,6 +37754,7 @@ declare namespace Prisma {
35333
37754
  policySnapshotJson?: string | null;
35334
37755
  engineCountersJson?: string | null;
35335
37756
  mutableStateJson?: string | null;
37757
+ hitlStateJson?: string | null;
35336
37758
  outputsByNodeJson: string;
35337
37759
  updatedAt: string;
35338
37760
  testSuiteRunId?: string | null;
@@ -35354,6 +37776,7 @@ declare namespace Prisma {
35354
37776
  policySnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null;
35355
37777
  engineCountersJson?: NullableStringFieldUpdateOperationsInput | string | null;
35356
37778
  mutableStateJson?: NullableStringFieldUpdateOperationsInput | string | null;
37779
+ hitlStateJson?: NullableStringFieldUpdateOperationsInput | string | null;
35357
37780
  outputsByNodeJson?: StringFieldUpdateOperationsInput | string;
35358
37781
  updatedAt?: StringFieldUpdateOperationsInput | string;
35359
37782
  testCaseIndex?: NullableIntFieldUpdateOperationsInput | number | null;
@@ -35375,6 +37798,7 @@ declare namespace Prisma {
35375
37798
  policySnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null;
35376
37799
  engineCountersJson?: NullableStringFieldUpdateOperationsInput | string | null;
35377
37800
  mutableStateJson?: NullableStringFieldUpdateOperationsInput | string | null;
37801
+ hitlStateJson?: NullableStringFieldUpdateOperationsInput | string | null;
35378
37802
  outputsByNodeJson?: StringFieldUpdateOperationsInput | string;
35379
37803
  updatedAt?: StringFieldUpdateOperationsInput | string;
35380
37804
  testSuiteRunId?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -36863,6 +39287,8 @@ declare namespace Prisma {
36863
39287
  setupStatus: string;
36864
39288
  createdAt: string;
36865
39289
  updatedAt: string;
39290
+ materialSource?: string;
39291
+ materialRef?: string;
36866
39292
  };
36867
39293
  export type CredentialInstanceUncheckedCreateInput = {
36868
39294
  instanceId: string;
@@ -36875,6 +39301,8 @@ declare namespace Prisma {
36875
39301
  setupStatus: string;
36876
39302
  createdAt: string;
36877
39303
  updatedAt: string;
39304
+ materialSource?: string;
39305
+ materialRef?: string;
36878
39306
  };
36879
39307
  export type CredentialInstanceUpdateInput = {
36880
39308
  instanceId?: StringFieldUpdateOperationsInput | string;
@@ -36887,6 +39315,8 @@ declare namespace Prisma {
36887
39315
  setupStatus?: StringFieldUpdateOperationsInput | string;
36888
39316
  createdAt?: StringFieldUpdateOperationsInput | string;
36889
39317
  updatedAt?: StringFieldUpdateOperationsInput | string;
39318
+ materialSource?: StringFieldUpdateOperationsInput | string;
39319
+ materialRef?: StringFieldUpdateOperationsInput | string;
36890
39320
  };
36891
39321
  export type CredentialInstanceUncheckedUpdateInput = {
36892
39322
  instanceId?: StringFieldUpdateOperationsInput | string;
@@ -36899,6 +39329,8 @@ declare namespace Prisma {
36899
39329
  setupStatus?: StringFieldUpdateOperationsInput | string;
36900
39330
  createdAt?: StringFieldUpdateOperationsInput | string;
36901
39331
  updatedAt?: StringFieldUpdateOperationsInput | string;
39332
+ materialSource?: StringFieldUpdateOperationsInput | string;
39333
+ materialRef?: StringFieldUpdateOperationsInput | string;
36902
39334
  };
36903
39335
  export type CredentialInstanceCreateManyInput = {
36904
39336
  instanceId: string;
@@ -36911,6 +39343,8 @@ declare namespace Prisma {
36911
39343
  setupStatus: string;
36912
39344
  createdAt: string;
36913
39345
  updatedAt: string;
39346
+ materialSource?: string;
39347
+ materialRef?: string;
36914
39348
  };
36915
39349
  export type CredentialInstanceUpdateManyMutationInput = {
36916
39350
  instanceId?: StringFieldUpdateOperationsInput | string;
@@ -36923,6 +39357,8 @@ declare namespace Prisma {
36923
39357
  setupStatus?: StringFieldUpdateOperationsInput | string;
36924
39358
  createdAt?: StringFieldUpdateOperationsInput | string;
36925
39359
  updatedAt?: StringFieldUpdateOperationsInput | string;
39360
+ materialSource?: StringFieldUpdateOperationsInput | string;
39361
+ materialRef?: StringFieldUpdateOperationsInput | string;
36926
39362
  };
36927
39363
  export type CredentialInstanceUncheckedUpdateManyInput = {
36928
39364
  instanceId?: StringFieldUpdateOperationsInput | string;
@@ -36935,6 +39371,8 @@ declare namespace Prisma {
36935
39371
  setupStatus?: StringFieldUpdateOperationsInput | string;
36936
39372
  createdAt?: StringFieldUpdateOperationsInput | string;
36937
39373
  updatedAt?: StringFieldUpdateOperationsInput | string;
39374
+ materialSource?: StringFieldUpdateOperationsInput | string;
39375
+ materialRef?: StringFieldUpdateOperationsInput | string;
36938
39376
  };
36939
39377
  export type CredentialSecretMaterialCreateInput = {
36940
39378
  instanceId: string;
@@ -37743,6 +40181,195 @@ declare namespace Prisma {
37743
40181
  runId?: NullableStringFieldUpdateOperationsInput | string | null;
37744
40182
  nodeId?: NullableStringFieldUpdateOperationsInput | string | null;
37745
40183
  };
40184
+ export type HmacNonceCreateInput = {
40185
+ nonce: string;
40186
+ expiresAt: Date | string;
40187
+ };
40188
+ export type HmacNonceUncheckedCreateInput = {
40189
+ nonce: string;
40190
+ expiresAt: Date | string;
40191
+ };
40192
+ export type HmacNonceUpdateInput = {
40193
+ nonce?: StringFieldUpdateOperationsInput | string;
40194
+ expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string;
40195
+ };
40196
+ export type HmacNonceUncheckedUpdateInput = {
40197
+ nonce?: StringFieldUpdateOperationsInput | string;
40198
+ expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string;
40199
+ };
40200
+ export type HmacNonceCreateManyInput = {
40201
+ nonce: string;
40202
+ expiresAt: Date | string;
40203
+ };
40204
+ export type HmacNonceUpdateManyMutationInput = {
40205
+ nonce?: StringFieldUpdateOperationsInput | string;
40206
+ expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string;
40207
+ };
40208
+ export type HmacNonceUncheckedUpdateManyInput = {
40209
+ nonce?: StringFieldUpdateOperationsInput | string;
40210
+ expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string;
40211
+ };
40212
+ export type HumanTaskCreateInput = {
40213
+ id: string;
40214
+ runId: string;
40215
+ workflowId: string;
40216
+ workspaceId?: string | null;
40217
+ nodeId: string;
40218
+ activationId: string;
40219
+ itemIndex: number;
40220
+ status: string;
40221
+ channel: string;
40222
+ subjectJson: string;
40223
+ metadataJson: string;
40224
+ decisionSchemaJson: string;
40225
+ decisionSchemaHash: string;
40226
+ onTimeout: string;
40227
+ deliveryRefJson?: string | null;
40228
+ decisionJson?: string | null;
40229
+ decidedAt?: Date | string | null;
40230
+ decidedByJson?: string | null;
40231
+ resumeTokenHash: string;
40232
+ expiresAt: Date | string;
40233
+ createdAt?: Date | string;
40234
+ };
40235
+ export type HumanTaskUncheckedCreateInput = {
40236
+ id: string;
40237
+ runId: string;
40238
+ workflowId: string;
40239
+ workspaceId?: string | null;
40240
+ nodeId: string;
40241
+ activationId: string;
40242
+ itemIndex: number;
40243
+ status: string;
40244
+ channel: string;
40245
+ subjectJson: string;
40246
+ metadataJson: string;
40247
+ decisionSchemaJson: string;
40248
+ decisionSchemaHash: string;
40249
+ onTimeout: string;
40250
+ deliveryRefJson?: string | null;
40251
+ decisionJson?: string | null;
40252
+ decidedAt?: Date | string | null;
40253
+ decidedByJson?: string | null;
40254
+ resumeTokenHash: string;
40255
+ expiresAt: Date | string;
40256
+ createdAt?: Date | string;
40257
+ };
40258
+ export type HumanTaskUpdateInput = {
40259
+ id?: StringFieldUpdateOperationsInput | string;
40260
+ runId?: StringFieldUpdateOperationsInput | string;
40261
+ workflowId?: StringFieldUpdateOperationsInput | string;
40262
+ workspaceId?: NullableStringFieldUpdateOperationsInput | string | null;
40263
+ nodeId?: StringFieldUpdateOperationsInput | string;
40264
+ activationId?: StringFieldUpdateOperationsInput | string;
40265
+ itemIndex?: IntFieldUpdateOperationsInput | number;
40266
+ status?: StringFieldUpdateOperationsInput | string;
40267
+ channel?: StringFieldUpdateOperationsInput | string;
40268
+ subjectJson?: StringFieldUpdateOperationsInput | string;
40269
+ metadataJson?: StringFieldUpdateOperationsInput | string;
40270
+ decisionSchemaJson?: StringFieldUpdateOperationsInput | string;
40271
+ decisionSchemaHash?: StringFieldUpdateOperationsInput | string;
40272
+ onTimeout?: StringFieldUpdateOperationsInput | string;
40273
+ deliveryRefJson?: NullableStringFieldUpdateOperationsInput | string | null;
40274
+ decisionJson?: NullableStringFieldUpdateOperationsInput | string | null;
40275
+ decidedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
40276
+ decidedByJson?: NullableStringFieldUpdateOperationsInput | string | null;
40277
+ resumeTokenHash?: StringFieldUpdateOperationsInput | string;
40278
+ expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string;
40279
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
40280
+ };
40281
+ export type HumanTaskUncheckedUpdateInput = {
40282
+ id?: StringFieldUpdateOperationsInput | string;
40283
+ runId?: StringFieldUpdateOperationsInput | string;
40284
+ workflowId?: StringFieldUpdateOperationsInput | string;
40285
+ workspaceId?: NullableStringFieldUpdateOperationsInput | string | null;
40286
+ nodeId?: StringFieldUpdateOperationsInput | string;
40287
+ activationId?: StringFieldUpdateOperationsInput | string;
40288
+ itemIndex?: IntFieldUpdateOperationsInput | number;
40289
+ status?: StringFieldUpdateOperationsInput | string;
40290
+ channel?: StringFieldUpdateOperationsInput | string;
40291
+ subjectJson?: StringFieldUpdateOperationsInput | string;
40292
+ metadataJson?: StringFieldUpdateOperationsInput | string;
40293
+ decisionSchemaJson?: StringFieldUpdateOperationsInput | string;
40294
+ decisionSchemaHash?: StringFieldUpdateOperationsInput | string;
40295
+ onTimeout?: StringFieldUpdateOperationsInput | string;
40296
+ deliveryRefJson?: NullableStringFieldUpdateOperationsInput | string | null;
40297
+ decisionJson?: NullableStringFieldUpdateOperationsInput | string | null;
40298
+ decidedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
40299
+ decidedByJson?: NullableStringFieldUpdateOperationsInput | string | null;
40300
+ resumeTokenHash?: StringFieldUpdateOperationsInput | string;
40301
+ expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string;
40302
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
40303
+ };
40304
+ export type HumanTaskCreateManyInput = {
40305
+ id: string;
40306
+ runId: string;
40307
+ workflowId: string;
40308
+ workspaceId?: string | null;
40309
+ nodeId: string;
40310
+ activationId: string;
40311
+ itemIndex: number;
40312
+ status: string;
40313
+ channel: string;
40314
+ subjectJson: string;
40315
+ metadataJson: string;
40316
+ decisionSchemaJson: string;
40317
+ decisionSchemaHash: string;
40318
+ onTimeout: string;
40319
+ deliveryRefJson?: string | null;
40320
+ decisionJson?: string | null;
40321
+ decidedAt?: Date | string | null;
40322
+ decidedByJson?: string | null;
40323
+ resumeTokenHash: string;
40324
+ expiresAt: Date | string;
40325
+ createdAt?: Date | string;
40326
+ };
40327
+ export type HumanTaskUpdateManyMutationInput = {
40328
+ id?: StringFieldUpdateOperationsInput | string;
40329
+ runId?: StringFieldUpdateOperationsInput | string;
40330
+ workflowId?: StringFieldUpdateOperationsInput | string;
40331
+ workspaceId?: NullableStringFieldUpdateOperationsInput | string | null;
40332
+ nodeId?: StringFieldUpdateOperationsInput | string;
40333
+ activationId?: StringFieldUpdateOperationsInput | string;
40334
+ itemIndex?: IntFieldUpdateOperationsInput | number;
40335
+ status?: StringFieldUpdateOperationsInput | string;
40336
+ channel?: StringFieldUpdateOperationsInput | string;
40337
+ subjectJson?: StringFieldUpdateOperationsInput | string;
40338
+ metadataJson?: StringFieldUpdateOperationsInput | string;
40339
+ decisionSchemaJson?: StringFieldUpdateOperationsInput | string;
40340
+ decisionSchemaHash?: StringFieldUpdateOperationsInput | string;
40341
+ onTimeout?: StringFieldUpdateOperationsInput | string;
40342
+ deliveryRefJson?: NullableStringFieldUpdateOperationsInput | string | null;
40343
+ decisionJson?: NullableStringFieldUpdateOperationsInput | string | null;
40344
+ decidedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
40345
+ decidedByJson?: NullableStringFieldUpdateOperationsInput | string | null;
40346
+ resumeTokenHash?: StringFieldUpdateOperationsInput | string;
40347
+ expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string;
40348
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
40349
+ };
40350
+ export type HumanTaskUncheckedUpdateManyInput = {
40351
+ id?: StringFieldUpdateOperationsInput | string;
40352
+ runId?: StringFieldUpdateOperationsInput | string;
40353
+ workflowId?: StringFieldUpdateOperationsInput | string;
40354
+ workspaceId?: NullableStringFieldUpdateOperationsInput | string | null;
40355
+ nodeId?: StringFieldUpdateOperationsInput | string;
40356
+ activationId?: StringFieldUpdateOperationsInput | string;
40357
+ itemIndex?: IntFieldUpdateOperationsInput | number;
40358
+ status?: StringFieldUpdateOperationsInput | string;
40359
+ channel?: StringFieldUpdateOperationsInput | string;
40360
+ subjectJson?: StringFieldUpdateOperationsInput | string;
40361
+ metadataJson?: StringFieldUpdateOperationsInput | string;
40362
+ decisionSchemaJson?: StringFieldUpdateOperationsInput | string;
40363
+ decisionSchemaHash?: StringFieldUpdateOperationsInput | string;
40364
+ onTimeout?: StringFieldUpdateOperationsInput | string;
40365
+ deliveryRefJson?: NullableStringFieldUpdateOperationsInput | string | null;
40366
+ decisionJson?: NullableStringFieldUpdateOperationsInput | string | null;
40367
+ decidedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
40368
+ decidedByJson?: NullableStringFieldUpdateOperationsInput | string | null;
40369
+ resumeTokenHash?: StringFieldUpdateOperationsInput | string;
40370
+ expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string;
40371
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
40372
+ };
37746
40373
  export type StringFilter<$PrismaModel = never> = {
37747
40374
  equals?: string | StringFieldRefInput<$PrismaModel>;
37748
40375
  in?: string[] | ListStringFieldRefInput<$PrismaModel>;
@@ -37846,6 +40473,7 @@ declare namespace Prisma {
37846
40473
  policySnapshotJson?: SortOrder;
37847
40474
  engineCountersJson?: SortOrder;
37848
40475
  mutableStateJson?: SortOrder;
40476
+ hitlStateJson?: SortOrder;
37849
40477
  outputsByNodeJson?: SortOrder;
37850
40478
  updatedAt?: SortOrder;
37851
40479
  testSuiteRunId?: SortOrder;
@@ -37872,6 +40500,7 @@ declare namespace Prisma {
37872
40500
  policySnapshotJson?: SortOrder;
37873
40501
  engineCountersJson?: SortOrder;
37874
40502
  mutableStateJson?: SortOrder;
40503
+ hitlStateJson?: SortOrder;
37875
40504
  outputsByNodeJson?: SortOrder;
37876
40505
  updatedAt?: SortOrder;
37877
40506
  testSuiteRunId?: SortOrder;
@@ -37894,6 +40523,7 @@ declare namespace Prisma {
37894
40523
  policySnapshotJson?: SortOrder;
37895
40524
  engineCountersJson?: SortOrder;
37896
40525
  mutableStateJson?: SortOrder;
40526
+ hitlStateJson?: SortOrder;
37897
40527
  outputsByNodeJson?: SortOrder;
37898
40528
  updatedAt?: SortOrder;
37899
40529
  testSuiteRunId?: SortOrder;
@@ -38786,6 +41416,8 @@ declare namespace Prisma {
38786
41416
  setupStatus?: SortOrder;
38787
41417
  createdAt?: SortOrder;
38788
41418
  updatedAt?: SortOrder;
41419
+ materialSource?: SortOrder;
41420
+ materialRef?: SortOrder;
38789
41421
  };
38790
41422
  export type CredentialInstanceMaxOrderByAggregateInput = {
38791
41423
  instanceId?: SortOrder;
@@ -38798,6 +41430,8 @@ declare namespace Prisma {
38798
41430
  setupStatus?: SortOrder;
38799
41431
  createdAt?: SortOrder;
38800
41432
  updatedAt?: SortOrder;
41433
+ materialSource?: SortOrder;
41434
+ materialRef?: SortOrder;
38801
41435
  };
38802
41436
  export type CredentialInstanceMinOrderByAggregateInput = {
38803
41437
  instanceId?: SortOrder;
@@ -38810,6 +41444,8 @@ declare namespace Prisma {
38810
41444
  setupStatus?: SortOrder;
38811
41445
  createdAt?: SortOrder;
38812
41446
  updatedAt?: SortOrder;
41447
+ materialSource?: SortOrder;
41448
+ materialRef?: SortOrder;
38813
41449
  };
38814
41450
  export type CredentialSecretMaterialCountOrderByAggregateInput = {
38815
41451
  instanceId?: SortOrder;
@@ -39258,6 +41894,93 @@ declare namespace Prisma {
39258
41894
  runId?: SortOrder;
39259
41895
  nodeId?: SortOrder;
39260
41896
  };
41897
+ export type HmacNonceCountOrderByAggregateInput = {
41898
+ nonce?: SortOrder;
41899
+ expiresAt?: SortOrder;
41900
+ };
41901
+ export type HmacNonceMaxOrderByAggregateInput = {
41902
+ nonce?: SortOrder;
41903
+ expiresAt?: SortOrder;
41904
+ };
41905
+ export type HmacNonceMinOrderByAggregateInput = {
41906
+ nonce?: SortOrder;
41907
+ expiresAt?: SortOrder;
41908
+ };
41909
+ export type HumanTaskCountOrderByAggregateInput = {
41910
+ id?: SortOrder;
41911
+ runId?: SortOrder;
41912
+ workflowId?: SortOrder;
41913
+ workspaceId?: SortOrder;
41914
+ nodeId?: SortOrder;
41915
+ activationId?: SortOrder;
41916
+ itemIndex?: SortOrder;
41917
+ status?: SortOrder;
41918
+ channel?: SortOrder;
41919
+ subjectJson?: SortOrder;
41920
+ metadataJson?: SortOrder;
41921
+ decisionSchemaJson?: SortOrder;
41922
+ decisionSchemaHash?: SortOrder;
41923
+ onTimeout?: SortOrder;
41924
+ deliveryRefJson?: SortOrder;
41925
+ decisionJson?: SortOrder;
41926
+ decidedAt?: SortOrder;
41927
+ decidedByJson?: SortOrder;
41928
+ resumeTokenHash?: SortOrder;
41929
+ expiresAt?: SortOrder;
41930
+ createdAt?: SortOrder;
41931
+ };
41932
+ export type HumanTaskAvgOrderByAggregateInput = {
41933
+ itemIndex?: SortOrder;
41934
+ };
41935
+ export type HumanTaskMaxOrderByAggregateInput = {
41936
+ id?: SortOrder;
41937
+ runId?: SortOrder;
41938
+ workflowId?: SortOrder;
41939
+ workspaceId?: SortOrder;
41940
+ nodeId?: SortOrder;
41941
+ activationId?: SortOrder;
41942
+ itemIndex?: SortOrder;
41943
+ status?: SortOrder;
41944
+ channel?: SortOrder;
41945
+ subjectJson?: SortOrder;
41946
+ metadataJson?: SortOrder;
41947
+ decisionSchemaJson?: SortOrder;
41948
+ decisionSchemaHash?: SortOrder;
41949
+ onTimeout?: SortOrder;
41950
+ deliveryRefJson?: SortOrder;
41951
+ decisionJson?: SortOrder;
41952
+ decidedAt?: SortOrder;
41953
+ decidedByJson?: SortOrder;
41954
+ resumeTokenHash?: SortOrder;
41955
+ expiresAt?: SortOrder;
41956
+ createdAt?: SortOrder;
41957
+ };
41958
+ export type HumanTaskMinOrderByAggregateInput = {
41959
+ id?: SortOrder;
41960
+ runId?: SortOrder;
41961
+ workflowId?: SortOrder;
41962
+ workspaceId?: SortOrder;
41963
+ nodeId?: SortOrder;
41964
+ activationId?: SortOrder;
41965
+ itemIndex?: SortOrder;
41966
+ status?: SortOrder;
41967
+ channel?: SortOrder;
41968
+ subjectJson?: SortOrder;
41969
+ metadataJson?: SortOrder;
41970
+ decisionSchemaJson?: SortOrder;
41971
+ decisionSchemaHash?: SortOrder;
41972
+ onTimeout?: SortOrder;
41973
+ deliveryRefJson?: SortOrder;
41974
+ decisionJson?: SortOrder;
41975
+ decidedAt?: SortOrder;
41976
+ decidedByJson?: SortOrder;
41977
+ resumeTokenHash?: SortOrder;
41978
+ expiresAt?: SortOrder;
41979
+ createdAt?: SortOrder;
41980
+ };
41981
+ export type HumanTaskSumOrderByAggregateInput = {
41982
+ itemIndex?: SortOrder;
41983
+ };
39261
41984
  export type RunWorkItemCreateNestedManyWithoutRunInput = {
39262
41985
  create?: XOR<RunWorkItemCreateWithoutRunInput, RunWorkItemUncheckedCreateWithoutRunInput> | RunWorkItemCreateWithoutRunInput[] | RunWorkItemUncheckedCreateWithoutRunInput[];
39263
41986
  connectOrCreate?: RunWorkItemCreateOrConnectWithoutRunInput | RunWorkItemCreateOrConnectWithoutRunInput[];
@@ -40509,6 +43232,7 @@ declare namespace Prisma {
40509
43232
  policySnapshotJson?: string | null;
40510
43233
  engineCountersJson?: string | null;
40511
43234
  mutableStateJson?: string | null;
43235
+ hitlStateJson?: string | null;
40512
43236
  outputsByNodeJson: string;
40513
43237
  updatedAt: string;
40514
43238
  testCaseIndex?: number | null;
@@ -40535,6 +43259,7 @@ declare namespace Prisma {
40535
43259
  policySnapshotJson?: string | null;
40536
43260
  engineCountersJson?: string | null;
40537
43261
  mutableStateJson?: string | null;
43262
+ hitlStateJson?: string | null;
40538
43263
  outputsByNodeJson: string;
40539
43264
  updatedAt: string;
40540
43265
  testSuiteRunId?: string | null;
@@ -40572,6 +43297,7 @@ declare namespace Prisma {
40572
43297
  policySnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null;
40573
43298
  engineCountersJson?: NullableStringFieldUpdateOperationsInput | string | null;
40574
43299
  mutableStateJson?: NullableStringFieldUpdateOperationsInput | string | null;
43300
+ hitlStateJson?: NullableStringFieldUpdateOperationsInput | string | null;
40575
43301
  outputsByNodeJson?: StringFieldUpdateOperationsInput | string;
40576
43302
  updatedAt?: StringFieldUpdateOperationsInput | string;
40577
43303
  testCaseIndex?: NullableIntFieldUpdateOperationsInput | number | null;
@@ -40598,6 +43324,7 @@ declare namespace Prisma {
40598
43324
  policySnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null;
40599
43325
  engineCountersJson?: NullableStringFieldUpdateOperationsInput | string | null;
40600
43326
  mutableStateJson?: NullableStringFieldUpdateOperationsInput | string | null;
43327
+ hitlStateJson?: NullableStringFieldUpdateOperationsInput | string | null;
40601
43328
  outputsByNodeJson?: StringFieldUpdateOperationsInput | string;
40602
43329
  updatedAt?: StringFieldUpdateOperationsInput | string;
40603
43330
  testSuiteRunId?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -40622,6 +43349,7 @@ declare namespace Prisma {
40622
43349
  policySnapshotJson?: string | null;
40623
43350
  engineCountersJson?: string | null;
40624
43351
  mutableStateJson?: string | null;
43352
+ hitlStateJson?: string | null;
40625
43353
  outputsByNodeJson: string;
40626
43354
  updatedAt: string;
40627
43355
  testCaseIndex?: number | null;
@@ -40648,6 +43376,7 @@ declare namespace Prisma {
40648
43376
  policySnapshotJson?: string | null;
40649
43377
  engineCountersJson?: string | null;
40650
43378
  mutableStateJson?: string | null;
43379
+ hitlStateJson?: string | null;
40651
43380
  outputsByNodeJson: string;
40652
43381
  updatedAt: string;
40653
43382
  testSuiteRunId?: string | null;
@@ -40685,6 +43414,7 @@ declare namespace Prisma {
40685
43414
  policySnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null;
40686
43415
  engineCountersJson?: NullableStringFieldUpdateOperationsInput | string | null;
40687
43416
  mutableStateJson?: NullableStringFieldUpdateOperationsInput | string | null;
43417
+ hitlStateJson?: NullableStringFieldUpdateOperationsInput | string | null;
40688
43418
  outputsByNodeJson?: StringFieldUpdateOperationsInput | string;
40689
43419
  updatedAt?: StringFieldUpdateOperationsInput | string;
40690
43420
  testCaseIndex?: NullableIntFieldUpdateOperationsInput | number | null;
@@ -40711,6 +43441,7 @@ declare namespace Prisma {
40711
43441
  policySnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null;
40712
43442
  engineCountersJson?: NullableStringFieldUpdateOperationsInput | string | null;
40713
43443
  mutableStateJson?: NullableStringFieldUpdateOperationsInput | string | null;
43444
+ hitlStateJson?: NullableStringFieldUpdateOperationsInput | string | null;
40714
43445
  outputsByNodeJson?: StringFieldUpdateOperationsInput | string;
40715
43446
  updatedAt?: StringFieldUpdateOperationsInput | string;
40716
43447
  testSuiteRunId?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -40735,6 +43466,7 @@ declare namespace Prisma {
40735
43466
  policySnapshotJson?: string | null;
40736
43467
  engineCountersJson?: string | null;
40737
43468
  mutableStateJson?: string | null;
43469
+ hitlStateJson?: string | null;
40738
43470
  outputsByNodeJson: string;
40739
43471
  updatedAt: string;
40740
43472
  testCaseIndex?: number | null;
@@ -40761,6 +43493,7 @@ declare namespace Prisma {
40761
43493
  policySnapshotJson?: string | null;
40762
43494
  engineCountersJson?: string | null;
40763
43495
  mutableStateJson?: string | null;
43496
+ hitlStateJson?: string | null;
40764
43497
  outputsByNodeJson: string;
40765
43498
  updatedAt: string;
40766
43499
  testSuiteRunId?: string | null;
@@ -40798,6 +43531,7 @@ declare namespace Prisma {
40798
43531
  policySnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null;
40799
43532
  engineCountersJson?: NullableStringFieldUpdateOperationsInput | string | null;
40800
43533
  mutableStateJson?: NullableStringFieldUpdateOperationsInput | string | null;
43534
+ hitlStateJson?: NullableStringFieldUpdateOperationsInput | string | null;
40801
43535
  outputsByNodeJson?: StringFieldUpdateOperationsInput | string;
40802
43536
  updatedAt?: StringFieldUpdateOperationsInput | string;
40803
43537
  testCaseIndex?: NullableIntFieldUpdateOperationsInput | number | null;
@@ -40824,6 +43558,7 @@ declare namespace Prisma {
40824
43558
  policySnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null;
40825
43559
  engineCountersJson?: NullableStringFieldUpdateOperationsInput | string | null;
40826
43560
  mutableStateJson?: NullableStringFieldUpdateOperationsInput | string | null;
43561
+ hitlStateJson?: NullableStringFieldUpdateOperationsInput | string | null;
40827
43562
  outputsByNodeJson?: StringFieldUpdateOperationsInput | string;
40828
43563
  updatedAt?: StringFieldUpdateOperationsInput | string;
40829
43564
  testSuiteRunId?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -40848,6 +43583,7 @@ declare namespace Prisma {
40848
43583
  policySnapshotJson?: string | null;
40849
43584
  engineCountersJson?: string | null;
40850
43585
  mutableStateJson?: string | null;
43586
+ hitlStateJson?: string | null;
40851
43587
  outputsByNodeJson: string;
40852
43588
  updatedAt: string;
40853
43589
  testCaseIndex?: number | null;
@@ -40874,6 +43610,7 @@ declare namespace Prisma {
40874
43610
  policySnapshotJson?: string | null;
40875
43611
  engineCountersJson?: string | null;
40876
43612
  mutableStateJson?: string | null;
43613
+ hitlStateJson?: string | null;
40877
43614
  outputsByNodeJson: string;
40878
43615
  updatedAt: string;
40879
43616
  testCaseIndex?: number | null;
@@ -40965,6 +43702,7 @@ declare namespace Prisma {
40965
43702
  policySnapshotJson?: StringNullableFilter<"Run"> | string | null;
40966
43703
  engineCountersJson?: StringNullableFilter<"Run"> | string | null;
40967
43704
  mutableStateJson?: StringNullableFilter<"Run"> | string | null;
43705
+ hitlStateJson?: StringNullableFilter<"Run"> | string | null;
40968
43706
  outputsByNodeJson?: StringFilter<"Run"> | string;
40969
43707
  updatedAt?: StringFilter<"Run"> | string;
40970
43708
  testSuiteRunId?: StringNullableFilter<"Run"> | string | null;
@@ -40999,6 +43737,7 @@ declare namespace Prisma {
40999
43737
  policySnapshotJson?: string | null;
41000
43738
  engineCountersJson?: string | null;
41001
43739
  mutableStateJson?: string | null;
43740
+ hitlStateJson?: string | null;
41002
43741
  outputsByNodeJson: string;
41003
43742
  updatedAt: string;
41004
43743
  testCaseIndex?: number | null;
@@ -41025,6 +43764,7 @@ declare namespace Prisma {
41025
43764
  policySnapshotJson?: string | null;
41026
43765
  engineCountersJson?: string | null;
41027
43766
  mutableStateJson?: string | null;
43767
+ hitlStateJson?: string | null;
41028
43768
  outputsByNodeJson: string;
41029
43769
  updatedAt: string;
41030
43770
  testSuiteRunId?: string | null;
@@ -41100,6 +43840,7 @@ declare namespace Prisma {
41100
43840
  policySnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null;
41101
43841
  engineCountersJson?: NullableStringFieldUpdateOperationsInput | string | null;
41102
43842
  mutableStateJson?: NullableStringFieldUpdateOperationsInput | string | null;
43843
+ hitlStateJson?: NullableStringFieldUpdateOperationsInput | string | null;
41103
43844
  outputsByNodeJson?: StringFieldUpdateOperationsInput | string;
41104
43845
  updatedAt?: StringFieldUpdateOperationsInput | string;
41105
43846
  testCaseIndex?: NullableIntFieldUpdateOperationsInput | number | null;
@@ -41126,6 +43867,7 @@ declare namespace Prisma {
41126
43867
  policySnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null;
41127
43868
  engineCountersJson?: NullableStringFieldUpdateOperationsInput | string | null;
41128
43869
  mutableStateJson?: NullableStringFieldUpdateOperationsInput | string | null;
43870
+ hitlStateJson?: NullableStringFieldUpdateOperationsInput | string | null;
41129
43871
  outputsByNodeJson?: StringFieldUpdateOperationsInput | string;
41130
43872
  updatedAt?: StringFieldUpdateOperationsInput | string;
41131
43873
  testSuiteRunId?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -41193,6 +43935,7 @@ declare namespace Prisma {
41193
43935
  policySnapshotJson?: string | null;
41194
43936
  engineCountersJson?: string | null;
41195
43937
  mutableStateJson?: string | null;
43938
+ hitlStateJson?: string | null;
41196
43939
  outputsByNodeJson: string;
41197
43940
  updatedAt: string;
41198
43941
  testCaseIndex?: number | null;
@@ -41218,6 +43961,7 @@ declare namespace Prisma {
41218
43961
  policySnapshotJson?: string | null;
41219
43962
  engineCountersJson?: string | null;
41220
43963
  mutableStateJson?: string | null;
43964
+ hitlStateJson?: string | null;
41221
43965
  outputsByNodeJson: string;
41222
43966
  updatedAt: string;
41223
43967
  testSuiteRunId?: string | null;
@@ -41953,6 +44697,7 @@ declare namespace Prisma {
41953
44697
  policySnapshotJson?: string | null;
41954
44698
  engineCountersJson?: string | null;
41955
44699
  mutableStateJson?: string | null;
44700
+ hitlStateJson?: string | null;
41956
44701
  outputsByNodeJson: string;
41957
44702
  updatedAt: string;
41958
44703
  testCaseIndex?: number | null;
@@ -41990,6 +44735,7 @@ declare namespace Prisma {
41990
44735
  policySnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null;
41991
44736
  engineCountersJson?: NullableStringFieldUpdateOperationsInput | string | null;
41992
44737
  mutableStateJson?: NullableStringFieldUpdateOperationsInput | string | null;
44738
+ hitlStateJson?: NullableStringFieldUpdateOperationsInput | string | null;
41993
44739
  outputsByNodeJson?: StringFieldUpdateOperationsInput | string;
41994
44740
  updatedAt?: StringFieldUpdateOperationsInput | string;
41995
44741
  testCaseIndex?: NullableIntFieldUpdateOperationsInput | number | null;
@@ -42016,6 +44762,7 @@ declare namespace Prisma {
42016
44762
  policySnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null;
42017
44763
  engineCountersJson?: NullableStringFieldUpdateOperationsInput | string | null;
42018
44764
  mutableStateJson?: NullableStringFieldUpdateOperationsInput | string | null;
44765
+ hitlStateJson?: NullableStringFieldUpdateOperationsInput | string | null;
42019
44766
  outputsByNodeJson?: StringFieldUpdateOperationsInput | string;
42020
44767
  updatedAt?: StringFieldUpdateOperationsInput | string;
42021
44768
  testCaseIndex?: NullableIntFieldUpdateOperationsInput | number | null;
@@ -42041,6 +44788,7 @@ declare namespace Prisma {
42041
44788
  policySnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null;
42042
44789
  engineCountersJson?: NullableStringFieldUpdateOperationsInput | string | null;
42043
44790
  mutableStateJson?: NullableStringFieldUpdateOperationsInput | string | null;
44791
+ hitlStateJson?: NullableStringFieldUpdateOperationsInput | string | null;
42044
44792
  outputsByNodeJson?: StringFieldUpdateOperationsInput | string;
42045
44793
  updatedAt?: StringFieldUpdateOperationsInput | string;
42046
44794
  testCaseIndex?: NullableIntFieldUpdateOperationsInput | number | null;
@@ -42112,6 +44860,7 @@ declare namespace Prisma {
42112
44860
  policySnapshotJson?: string | null;
42113
44861
  engineCountersJson?: string | null;
42114
44862
  mutableStateJson?: string | null;
44863
+ hitlStateJson?: string | null;
42115
44864
  outputsByNodeJson: string;
42116
44865
  updatedAt: string;
42117
44866
  testSuiteRunId?: string | null;
@@ -42133,6 +44882,7 @@ declare namespace Prisma {
42133
44882
  policySnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null;
42134
44883
  engineCountersJson?: NullableStringFieldUpdateOperationsInput | string | null;
42135
44884
  mutableStateJson?: NullableStringFieldUpdateOperationsInput | string | null;
44885
+ hitlStateJson?: NullableStringFieldUpdateOperationsInput | string | null;
42136
44886
  outputsByNodeJson?: StringFieldUpdateOperationsInput | string;
42137
44887
  updatedAt?: StringFieldUpdateOperationsInput | string;
42138
44888
  testCaseIndex?: NullableIntFieldUpdateOperationsInput | number | null;
@@ -42158,6 +44908,7 @@ declare namespace Prisma {
42158
44908
  policySnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null;
42159
44909
  engineCountersJson?: NullableStringFieldUpdateOperationsInput | string | null;
42160
44910
  mutableStateJson?: NullableStringFieldUpdateOperationsInput | string | null;
44911
+ hitlStateJson?: NullableStringFieldUpdateOperationsInput | string | null;
42161
44912
  outputsByNodeJson?: StringFieldUpdateOperationsInput | string;
42162
44913
  updatedAt?: StringFieldUpdateOperationsInput | string;
42163
44914
  testSuiteRunId?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -42183,6 +44934,7 @@ declare namespace Prisma {
42183
44934
  policySnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null;
42184
44935
  engineCountersJson?: NullableStringFieldUpdateOperationsInput | string | null;
42185
44936
  mutableStateJson?: NullableStringFieldUpdateOperationsInput | string | null;
44937
+ hitlStateJson?: NullableStringFieldUpdateOperationsInput | string | null;
42186
44938
  outputsByNodeJson?: StringFieldUpdateOperationsInput | string;
42187
44939
  updatedAt?: StringFieldUpdateOperationsInput | string;
42188
44940
  testSuiteRunId?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -42344,39 +45096,6 @@ declare namespace Prisma {
42344
45096
  //#region src/infrastructure/persistence/PrismaDatabaseClient.d.ts
42345
45097
  type PrismaDatabaseClient = PrismaClient;
42346
45098
  //#endregion
42347
- //#region src/infrastructure/persistence/PrismaMigrationDeployer.d.ts
42348
- /**
42349
- * Runs `prisma migrate deploy` against TCP PostgreSQL or a SQLite database file.
42350
- */
42351
- declare class PrismaMigrationDeployer {
42352
- private static readonly normalizedRuntimeMigrationName;
42353
- private readonly require;
42354
- deployPersistence(persistence: AppPersistenceConfig, env?: Readonly<NodeJS.ProcessEnv>): Promise<void>;
42355
- deploy(args: Readonly<{
42356
- databaseUrl: string;
42357
- env?: Readonly<NodeJS.ProcessEnv>;
42358
- }>): Promise<void>;
42359
- private deploySqlite;
42360
- private deployPostgres;
42361
- private deployWithProvider;
42362
- private resolveAppliedMigration;
42363
- private runPrismaCommand;
42364
- private tryRecoverPartiallyAppliedNormalizedRuntimeMigration;
42365
- private isRecoverableNormalizedRuntimeMigrationError;
42366
- private repairPartiallyAppliedNormalizedRuntimeSqliteDatabase;
42367
- private hasActiveFailedMigrationRecord;
42368
- private readSqliteTableColumns;
42369
- private ensureNormalizedRuntimeRepairArtifacts;
42370
- private cleanupNormalizedRuntimeLegacyArtifacts;
42371
- private sqliteFilePathToDatabaseUrl;
42372
- private createProcessEnvironment;
42373
- private resolvePrismaCliPath;
42374
- private resolveAbsolutePrismaConfigPath;
42375
- resolvePackageRoot(env?: Readonly<NodeJS.ProcessEnv>): string;
42376
- private ensureSqliteParentDirectoryExists;
42377
- private createDeployError;
42378
- }
42379
- //#endregion
42380
45099
  //#region src/bootstrap/runtime/AppConfigFactory.d.ts
42381
45100
  declare class AppConfigFactory {
42382
45101
  private readonly pluginPackageMetadata;
@@ -42407,5 +45126,5 @@ declare class AppConfigFactory {
42407
45126
  private resolveWebSocketPort;
42408
45127
  }
42409
45128
  //#endregion
42410
- export { PrismaClient as i, PrismaMigrationDeployer as n, PrismaDatabaseClient as r, AppConfigFactory as t };
42411
- //# sourceMappingURL=AppConfigFactory-DnLoQ9Li.d.ts.map
45129
+ export { PrismaDatabaseClient as n, PrismaClient as r, AppConfigFactory as t };
45130
+ //# sourceMappingURL=AppConfigFactory-DncmwCD1.d.ts.map