@friggframework/core 2.0.0--canary.700.80ec1cc.0 → 2.0.0--canary.702.047d3c4.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 (130) hide show
  1. package/database/documentdb-utils.js +1 -6
  2. package/errors/index.js +0 -4
  3. package/generated/prisma-mongodb/edge.js +4 -52
  4. package/generated/prisma-mongodb/index-browser.js +1 -49
  5. package/generated/prisma-mongodb/index.d.ts +60 -3506
  6. package/generated/prisma-mongodb/index.js +4 -52
  7. package/generated/prisma-mongodb/package.json +1 -1
  8. package/generated/prisma-mongodb/schema.prisma +0 -65
  9. package/generated/prisma-mongodb/wasm.js +4 -52
  10. package/generated/prisma-postgresql/edge.js +4 -52
  11. package/generated/prisma-postgresql/index-browser.js +1 -49
  12. package/generated/prisma-postgresql/index.d.ts +94 -3824
  13. package/generated/prisma-postgresql/index.js +4 -52
  14. package/generated/prisma-postgresql/package.json +1 -1
  15. package/generated/prisma-postgresql/schema.prisma +0 -63
  16. package/generated/prisma-postgresql/wasm.js +4 -52
  17. package/handlers/WEBHOOKS.md +0 -29
  18. package/handlers/app-definition-loader.js +9 -2
  19. package/handlers/app-handler-helpers.js +2 -5
  20. package/handlers/integration-event-dispatcher.js +3 -7
  21. package/handlers/routers/integration-webhook-routers.js +38 -26
  22. package/index.js +0 -2
  23. package/integrations/integration-base.js +1 -162
  24. package/integrations/integration-router.js +1 -6
  25. package/integrations/repositories/integration-mapping-repository-documentdb.js +0 -50
  26. package/integrations/repositories/integration-mapping-repository-interface.js +0 -15
  27. package/integrations/repositories/integration-mapping-repository-mongo.js +0 -29
  28. package/integrations/repositories/integration-mapping-repository-postgres.js +0 -30
  29. package/integrations/repositories/integration-mapping-repository.js +0 -29
  30. package/integrations/repositories/integration-repository-documentdb.js +2 -6
  31. package/integrations/repositories/integration-repository-interface.js +0 -3
  32. package/integrations/repositories/integration-repository-mongo.js +5 -20
  33. package/integrations/repositories/integration-repository-postgres.js +1 -5
  34. package/integrations/repositories/process-repository-mongo.js +1 -1
  35. package/integrations/use-cases/create-integration.js +4 -14
  36. package/integrations/use-cases/delete-integration-for-user.js +4 -4
  37. package/integrations/use-cases/get-integration-for-user.js +2 -4
  38. package/integrations/use-cases/get-integration-instance.js +4 -4
  39. package/integrations/use-cases/get-integrations-for-user.js +4 -4
  40. package/integrations/use-cases/get-possible-integrations.js +2 -7
  41. package/integrations/use-cases/update-integration.js +4 -4
  42. package/package.json +6 -6
  43. package/prisma-mongodb/schema.prisma +0 -65
  44. package/prisma-postgresql/schema.prisma +0 -63
  45. package/queues/queuer-util.js +2 -9
  46. package/errors/mapping-already-exists-error.js +0 -14
  47. package/handlers/workers/integration-triggers.js +0 -25
  48. package/infrastructure/scheduler/recurrence.js +0 -204
  49. package/integrations/definitions/README.md +0 -278
  50. package/integrations/definitions/canonical.js +0 -11
  51. package/integrations/definitions/capabilities/AUDIT.md +0 -480
  52. package/integrations/definitions/capabilities/acmeerp.capabilities.json +0 -633
  53. package/integrations/definitions/capabilities/asana.capabilities.json +0 -279
  54. package/integrations/definitions/capabilities/calendly.capabilities.json +0 -385
  55. package/integrations/definitions/capabilities/docusign.capabilities.json +0 -314
  56. package/integrations/definitions/capabilities/fathom.capabilities.json +0 -238
  57. package/integrations/definitions/capabilities/github.capabilities.json +0 -585
  58. package/integrations/definitions/capabilities/hubspot.capabilities.json +0 -822
  59. package/integrations/definitions/capabilities/jira.capabilities.json +0 -391
  60. package/integrations/definitions/capabilities/klaviyo.capabilities.json +0 -503
  61. package/integrations/definitions/capabilities/linear.capabilities.json +0 -378
  62. package/integrations/definitions/capabilities/netsuite.capabilities.json +0 -535
  63. package/integrations/definitions/capabilities/notion.capabilities.json +0 -208
  64. package/integrations/definitions/capabilities/phone.capabilities.json +0 -511
  65. package/integrations/definitions/capabilities/pipedrive.capabilities.json +0 -430
  66. package/integrations/definitions/capabilities/quickbooks.capabilities.json +0 -635
  67. package/integrations/definitions/capabilities/salesforce.capabilities.json +0 -568
  68. package/integrations/definitions/capabilities/shopify.capabilities.json +0 -1128
  69. package/integrations/definitions/capabilities/slack.capabilities.json +0 -373
  70. package/integrations/definitions/capabilities/stripe.capabilities.json +0 -630
  71. package/integrations/definitions/capabilities/webflow.capabilities.json +0 -196
  72. package/integrations/definitions/capabilities/zendesk.capabilities.json +0 -422
  73. package/integrations/definitions/compile.js +0 -80
  74. package/integrations/definitions/config-form.js +0 -137
  75. package/integrations/definitions/examples/acme-erp-quickbooks.definition.json +0 -467
  76. package/integrations/definitions/examples/asana-slack.definition.json +0 -219
  77. package/integrations/definitions/examples/calendly-salesforce.definition.json +0 -459
  78. package/integrations/definitions/examples/docusign-salesforce.definition.json +0 -305
  79. package/integrations/definitions/examples/fathom-hubspot-notion.definition.json +0 -575
  80. package/integrations/definitions/examples/github-linear.definition.json +0 -322
  81. package/integrations/definitions/examples/hubspot-slack.definition.json +0 -427
  82. package/integrations/definitions/examples/klaviyo-hubspot.definition.json +0 -336
  83. package/integrations/definitions/examples/phone-hubspot.definition.json +0 -633
  84. package/integrations/definitions/examples/pipedrive-hubspot.definition.json +0 -136
  85. package/integrations/definitions/examples/pipedrive-phone.definition.json +0 -340
  86. package/integrations/definitions/examples/records/phone-hubspot.definition-version.json +0 -652
  87. package/integrations/definitions/examples/records/phone-hubspot.integration.json +0 -86
  88. package/integrations/definitions/examples/records/phone-hubspot.mappings.json +0 -39
  89. package/integrations/definitions/examples/records/phone-hubspot.workflow-run.json +0 -62
  90. package/integrations/definitions/examples/shopify-klaviyo.definition.json +0 -488
  91. package/integrations/definitions/examples/shopify-netsuite.definition.json +0 -622
  92. package/integrations/definitions/examples/stripe-quickbooks.definition.json +0 -476
  93. package/integrations/definitions/examples/webflow-hubspot-slack.definition.json +0 -262
  94. package/integrations/definitions/examples/zendesk-jira.definition.json +0 -604
  95. package/integrations/definitions/expressions.js +0 -229
  96. package/integrations/definitions/index.js +0 -45
  97. package/integrations/definitions/integration-runtime.js +0 -763
  98. package/integrations/definitions/interpreter.js +0 -104
  99. package/integrations/definitions/manifests.js +0 -177
  100. package/integrations/definitions/renderers/common.js +0 -67
  101. package/integrations/definitions/renderers/html.js +0 -129
  102. package/integrations/definitions/renderers/hubspot.js +0 -59
  103. package/integrations/definitions/renderers/preview.js +0 -154
  104. package/integrations/definitions/renderers/slack.js +0 -146
  105. package/integrations/definitions/repositories/definition-version-repository.js +0 -67
  106. package/integrations/definitions/repositories/workflow-run-repository.js +0 -80
  107. package/integrations/definitions/router.js +0 -170
  108. package/integrations/definitions/runtime.js +0 -268
  109. package/integrations/definitions/schema/capability-manifest.v0.1.schema.json +0 -549
  110. package/integrations/definitions/schema/installation.v0.1.schema.json +0 -130
  111. package/integrations/definitions/schema/integration-definition.v0.1.schema.json +0 -909
  112. package/integrations/definitions/schema/records.md +0 -105
  113. package/integrations/definitions/schema-check.js +0 -58
  114. package/integrations/definitions/scripts/check-manifests.js +0 -220
  115. package/integrations/definitions/scripts/validate.js +0 -66
  116. package/integrations/definitions/steps.js +0 -123
  117. package/integrations/definitions/sync-engine.js +0 -297
  118. package/integrations/definitions/tests/helpers-fake-crm.js +0 -49
  119. package/integrations/definitions/transforms.js +0 -91
  120. package/integrations/definitions/use-cases/definition-use-cases.js +0 -245
  121. package/integrations/definitions/validate.js +0 -436
  122. package/integrations/definitions/versioning.js +0 -176
  123. package/integrations/definitions/webhooks.js +0 -119
  124. package/integrations/integration-types.js +0 -64
  125. package/integrations/triggers.js +0 -244
  126. package/integrations/use-cases/run-trigger-tick.js +0 -155
  127. package/integrations/use-cases/run-trigger.js +0 -77
  128. package/prisma-postgresql/migrations/20261018000000_add_data_defined_integrations/migration.sql +0 -66
  129. package/prisma-postgresql/migrations/20261019000000_workflow_run_waits/migration.sql +0 -7
  130. package/prisma-postgresql/migrations/20261019120000_definition_workspace/migration.sql +0 -5
@@ -103,16 +103,6 @@ export type ScriptSchedule = $Result.DefaultSelection<Prisma.$ScriptSchedulePayl
103
103
  * history survives integration deletion.
104
104
  */
105
105
  export type UsageCounter = $Result.DefaultSelection<Prisma.$UsageCounterPayload>
106
- /**
107
- * Model IntegrationDefinitionVersion
108
- *
109
- */
110
- export type IntegrationDefinitionVersion = $Result.DefaultSelection<Prisma.$IntegrationDefinitionVersionPayload>
111
- /**
112
- * Model WorkflowRun
113
- *
114
- */
115
- export type WorkflowRun = $Result.DefaultSelection<Prisma.$WorkflowRunPayload>
116
106
 
117
107
  /**
118
108
  * Enums
@@ -157,16 +147,6 @@ export const AdminScriptExecutionState: {
157
147
 
158
148
  export type AdminScriptExecutionState = (typeof AdminScriptExecutionState)[keyof typeof AdminScriptExecutionState]
159
149
 
160
-
161
- export const DefinitionStatus: {
162
- DRAFT: 'DRAFT',
163
- PUBLISHED: 'PUBLISHED',
164
- DEPRECATED: 'DEPRECATED',
165
- RETIRED: 'RETIRED'
166
- };
167
-
168
- export type DefinitionStatus = (typeof DefinitionStatus)[keyof typeof DefinitionStatus]
169
-
170
150
  }
171
151
 
172
152
  export type UserType = $Enums.UserType
@@ -185,10 +165,6 @@ export type AdminScriptExecutionState = $Enums.AdminScriptExecutionState
185
165
 
186
166
  export const AdminScriptExecutionState: typeof $Enums.AdminScriptExecutionState
187
167
 
188
- export type DefinitionStatus = $Enums.DefinitionStatus
189
-
190
- export const DefinitionStatus: typeof $Enums.DefinitionStatus
191
-
192
168
  /**
193
169
  * ## Prisma Client ʲˢ
194
170
  *
@@ -466,26 +442,6 @@ export class PrismaClient<
466
442
  * ```
467
443
  */
468
444
  get usageCounter(): Prisma.UsageCounterDelegate<ExtArgs, ClientOptions>;
469
-
470
- /**
471
- * `prisma.integrationDefinitionVersion`: Exposes CRUD operations for the **IntegrationDefinitionVersion** model.
472
- * Example usage:
473
- * ```ts
474
- * // Fetch zero or more IntegrationDefinitionVersions
475
- * const integrationDefinitionVersions = await prisma.integrationDefinitionVersion.findMany()
476
- * ```
477
- */
478
- get integrationDefinitionVersion(): Prisma.IntegrationDefinitionVersionDelegate<ExtArgs, ClientOptions>;
479
-
480
- /**
481
- * `prisma.workflowRun`: Exposes CRUD operations for the **WorkflowRun** model.
482
- * Example usage:
483
- * ```ts
484
- * // Fetch zero or more WorkflowRuns
485
- * const workflowRuns = await prisma.workflowRun.findMany()
486
- * ```
487
- */
488
- get workflowRun(): Prisma.WorkflowRunDelegate<ExtArgs, ClientOptions>;
489
445
  }
490
446
 
491
447
  export namespace Prisma {
@@ -942,9 +898,7 @@ export namespace Prisma {
942
898
  WebsocketConnection: 'WebsocketConnection',
943
899
  AdminScriptExecution: 'AdminScriptExecution',
944
900
  ScriptSchedule: 'ScriptSchedule',
945
- UsageCounter: 'UsageCounter',
946
- IntegrationDefinitionVersion: 'IntegrationDefinitionVersion',
947
- WorkflowRun: 'WorkflowRun'
901
+ UsageCounter: 'UsageCounter'
948
902
  };
949
903
 
950
904
  export type ModelName = (typeof ModelName)[keyof typeof ModelName]
@@ -963,7 +917,7 @@ export namespace Prisma {
963
917
  omit: GlobalOmitOptions
964
918
  }
965
919
  meta: {
966
- modelProps: "user" | "token" | "credential" | "entity" | "integration" | "integrationMapping" | "sync" | "dataIdentifier" | "association" | "associationObject" | "process" | "state" | "websocketConnection" | "adminScriptExecution" | "scriptSchedule" | "usageCounter" | "integrationDefinitionVersion" | "workflowRun"
920
+ modelProps: "user" | "token" | "credential" | "entity" | "integration" | "integrationMapping" | "sync" | "dataIdentifier" | "association" | "associationObject" | "process" | "state" | "websocketConnection" | "adminScriptExecution" | "scriptSchedule" | "usageCounter"
967
921
  txIsolationLevel: Prisma.TransactionIsolationLevel
968
922
  }
969
923
  model: {
@@ -2151,154 +2105,6 @@ export namespace Prisma {
2151
2105
  }
2152
2106
  }
2153
2107
  }
2154
- IntegrationDefinitionVersion: {
2155
- payload: Prisma.$IntegrationDefinitionVersionPayload<ExtArgs>
2156
- fields: Prisma.IntegrationDefinitionVersionFieldRefs
2157
- operations: {
2158
- findUnique: {
2159
- args: Prisma.IntegrationDefinitionVersionFindUniqueArgs<ExtArgs>
2160
- result: $Utils.PayloadToResult<Prisma.$IntegrationDefinitionVersionPayload> | null
2161
- }
2162
- findUniqueOrThrow: {
2163
- args: Prisma.IntegrationDefinitionVersionFindUniqueOrThrowArgs<ExtArgs>
2164
- result: $Utils.PayloadToResult<Prisma.$IntegrationDefinitionVersionPayload>
2165
- }
2166
- findFirst: {
2167
- args: Prisma.IntegrationDefinitionVersionFindFirstArgs<ExtArgs>
2168
- result: $Utils.PayloadToResult<Prisma.$IntegrationDefinitionVersionPayload> | null
2169
- }
2170
- findFirstOrThrow: {
2171
- args: Prisma.IntegrationDefinitionVersionFindFirstOrThrowArgs<ExtArgs>
2172
- result: $Utils.PayloadToResult<Prisma.$IntegrationDefinitionVersionPayload>
2173
- }
2174
- findMany: {
2175
- args: Prisma.IntegrationDefinitionVersionFindManyArgs<ExtArgs>
2176
- result: $Utils.PayloadToResult<Prisma.$IntegrationDefinitionVersionPayload>[]
2177
- }
2178
- create: {
2179
- args: Prisma.IntegrationDefinitionVersionCreateArgs<ExtArgs>
2180
- result: $Utils.PayloadToResult<Prisma.$IntegrationDefinitionVersionPayload>
2181
- }
2182
- createMany: {
2183
- args: Prisma.IntegrationDefinitionVersionCreateManyArgs<ExtArgs>
2184
- result: BatchPayload
2185
- }
2186
- createManyAndReturn: {
2187
- args: Prisma.IntegrationDefinitionVersionCreateManyAndReturnArgs<ExtArgs>
2188
- result: $Utils.PayloadToResult<Prisma.$IntegrationDefinitionVersionPayload>[]
2189
- }
2190
- delete: {
2191
- args: Prisma.IntegrationDefinitionVersionDeleteArgs<ExtArgs>
2192
- result: $Utils.PayloadToResult<Prisma.$IntegrationDefinitionVersionPayload>
2193
- }
2194
- update: {
2195
- args: Prisma.IntegrationDefinitionVersionUpdateArgs<ExtArgs>
2196
- result: $Utils.PayloadToResult<Prisma.$IntegrationDefinitionVersionPayload>
2197
- }
2198
- deleteMany: {
2199
- args: Prisma.IntegrationDefinitionVersionDeleteManyArgs<ExtArgs>
2200
- result: BatchPayload
2201
- }
2202
- updateMany: {
2203
- args: Prisma.IntegrationDefinitionVersionUpdateManyArgs<ExtArgs>
2204
- result: BatchPayload
2205
- }
2206
- updateManyAndReturn: {
2207
- args: Prisma.IntegrationDefinitionVersionUpdateManyAndReturnArgs<ExtArgs>
2208
- result: $Utils.PayloadToResult<Prisma.$IntegrationDefinitionVersionPayload>[]
2209
- }
2210
- upsert: {
2211
- args: Prisma.IntegrationDefinitionVersionUpsertArgs<ExtArgs>
2212
- result: $Utils.PayloadToResult<Prisma.$IntegrationDefinitionVersionPayload>
2213
- }
2214
- aggregate: {
2215
- args: Prisma.IntegrationDefinitionVersionAggregateArgs<ExtArgs>
2216
- result: $Utils.Optional<AggregateIntegrationDefinitionVersion>
2217
- }
2218
- groupBy: {
2219
- args: Prisma.IntegrationDefinitionVersionGroupByArgs<ExtArgs>
2220
- result: $Utils.Optional<IntegrationDefinitionVersionGroupByOutputType>[]
2221
- }
2222
- count: {
2223
- args: Prisma.IntegrationDefinitionVersionCountArgs<ExtArgs>
2224
- result: $Utils.Optional<IntegrationDefinitionVersionCountAggregateOutputType> | number
2225
- }
2226
- }
2227
- }
2228
- WorkflowRun: {
2229
- payload: Prisma.$WorkflowRunPayload<ExtArgs>
2230
- fields: Prisma.WorkflowRunFieldRefs
2231
- operations: {
2232
- findUnique: {
2233
- args: Prisma.WorkflowRunFindUniqueArgs<ExtArgs>
2234
- result: $Utils.PayloadToResult<Prisma.$WorkflowRunPayload> | null
2235
- }
2236
- findUniqueOrThrow: {
2237
- args: Prisma.WorkflowRunFindUniqueOrThrowArgs<ExtArgs>
2238
- result: $Utils.PayloadToResult<Prisma.$WorkflowRunPayload>
2239
- }
2240
- findFirst: {
2241
- args: Prisma.WorkflowRunFindFirstArgs<ExtArgs>
2242
- result: $Utils.PayloadToResult<Prisma.$WorkflowRunPayload> | null
2243
- }
2244
- findFirstOrThrow: {
2245
- args: Prisma.WorkflowRunFindFirstOrThrowArgs<ExtArgs>
2246
- result: $Utils.PayloadToResult<Prisma.$WorkflowRunPayload>
2247
- }
2248
- findMany: {
2249
- args: Prisma.WorkflowRunFindManyArgs<ExtArgs>
2250
- result: $Utils.PayloadToResult<Prisma.$WorkflowRunPayload>[]
2251
- }
2252
- create: {
2253
- args: Prisma.WorkflowRunCreateArgs<ExtArgs>
2254
- result: $Utils.PayloadToResult<Prisma.$WorkflowRunPayload>
2255
- }
2256
- createMany: {
2257
- args: Prisma.WorkflowRunCreateManyArgs<ExtArgs>
2258
- result: BatchPayload
2259
- }
2260
- createManyAndReturn: {
2261
- args: Prisma.WorkflowRunCreateManyAndReturnArgs<ExtArgs>
2262
- result: $Utils.PayloadToResult<Prisma.$WorkflowRunPayload>[]
2263
- }
2264
- delete: {
2265
- args: Prisma.WorkflowRunDeleteArgs<ExtArgs>
2266
- result: $Utils.PayloadToResult<Prisma.$WorkflowRunPayload>
2267
- }
2268
- update: {
2269
- args: Prisma.WorkflowRunUpdateArgs<ExtArgs>
2270
- result: $Utils.PayloadToResult<Prisma.$WorkflowRunPayload>
2271
- }
2272
- deleteMany: {
2273
- args: Prisma.WorkflowRunDeleteManyArgs<ExtArgs>
2274
- result: BatchPayload
2275
- }
2276
- updateMany: {
2277
- args: Prisma.WorkflowRunUpdateManyArgs<ExtArgs>
2278
- result: BatchPayload
2279
- }
2280
- updateManyAndReturn: {
2281
- args: Prisma.WorkflowRunUpdateManyAndReturnArgs<ExtArgs>
2282
- result: $Utils.PayloadToResult<Prisma.$WorkflowRunPayload>[]
2283
- }
2284
- upsert: {
2285
- args: Prisma.WorkflowRunUpsertArgs<ExtArgs>
2286
- result: $Utils.PayloadToResult<Prisma.$WorkflowRunPayload>
2287
- }
2288
- aggregate: {
2289
- args: Prisma.WorkflowRunAggregateArgs<ExtArgs>
2290
- result: $Utils.Optional<AggregateWorkflowRun>
2291
- }
2292
- groupBy: {
2293
- args: Prisma.WorkflowRunGroupByArgs<ExtArgs>
2294
- result: $Utils.Optional<WorkflowRunGroupByOutputType>[]
2295
- }
2296
- count: {
2297
- args: Prisma.WorkflowRunCountArgs<ExtArgs>
2298
- result: $Utils.Optional<WorkflowRunCountAggregateOutputType> | number
2299
- }
2300
- }
2301
- }
2302
2108
  }
2303
2109
  } & {
2304
2110
  other: {
@@ -2411,8 +2217,6 @@ export namespace Prisma {
2411
2217
  adminScriptExecution?: AdminScriptExecutionOmit
2412
2218
  scriptSchedule?: ScriptScheduleOmit
2413
2219
  usageCounter?: UsageCounterOmit
2414
- integrationDefinitionVersion?: IntegrationDefinitionVersionOmit
2415
- workflowRun?: WorkflowRunOmit
2416
2220
  }
2417
2221
 
2418
2222
  /* Types for Logging */
@@ -2663,7 +2467,6 @@ export namespace Prisma {
2663
2467
  syncs: number
2664
2468
  mappings: number
2665
2469
  processes: number
2666
- workflowRuns: number
2667
2470
  }
2668
2471
 
2669
2472
  export type IntegrationCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -2672,7 +2475,6 @@ export namespace Prisma {
2672
2475
  syncs?: boolean | IntegrationCountOutputTypeCountSyncsArgs
2673
2476
  mappings?: boolean | IntegrationCountOutputTypeCountMappingsArgs
2674
2477
  processes?: boolean | IntegrationCountOutputTypeCountProcessesArgs
2675
- workflowRuns?: boolean | IntegrationCountOutputTypeCountWorkflowRunsArgs
2676
2478
  }
2677
2479
 
2678
2480
  // Custom InputTypes
@@ -2721,13 +2523,6 @@ export namespace Prisma {
2721
2523
  where?: ProcessWhereInput
2722
2524
  }
2723
2525
 
2724
- /**
2725
- * IntegrationCountOutputType without action
2726
- */
2727
- export type IntegrationCountOutputTypeCountWorkflowRunsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2728
- where?: WorkflowRunWhereInput
2729
- }
2730
-
2731
2526
 
2732
2527
  /**
2733
2528
  * Count Type SyncCountOutputType
@@ -8036,7 +7831,6 @@ export namespace Prisma {
8036
7831
  syncs?: boolean | Integration$syncsArgs<ExtArgs>
8037
7832
  mappings?: boolean | Integration$mappingsArgs<ExtArgs>
8038
7833
  processes?: boolean | Integration$processesArgs<ExtArgs>
8039
- workflowRuns?: boolean | Integration$workflowRunsArgs<ExtArgs>
8040
7834
  _count?: boolean | IntegrationCountOutputTypeDefaultArgs<ExtArgs>
8041
7835
  }, ExtArgs["result"]["integration"]>
8042
7836
 
@@ -8092,7 +7886,6 @@ export namespace Prisma {
8092
7886
  syncs?: boolean | Integration$syncsArgs<ExtArgs>
8093
7887
  mappings?: boolean | Integration$mappingsArgs<ExtArgs>
8094
7888
  processes?: boolean | Integration$processesArgs<ExtArgs>
8095
- workflowRuns?: boolean | Integration$workflowRunsArgs<ExtArgs>
8096
7889
  _count?: boolean | IntegrationCountOutputTypeDefaultArgs<ExtArgs>
8097
7890
  }
8098
7891
  export type IntegrationIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -8111,7 +7904,6 @@ export namespace Prisma {
8111
7904
  syncs: Prisma.$SyncPayload<ExtArgs>[]
8112
7905
  mappings: Prisma.$IntegrationMappingPayload<ExtArgs>[]
8113
7906
  processes: Prisma.$ProcessPayload<ExtArgs>[]
8114
- workflowRuns: Prisma.$WorkflowRunPayload<ExtArgs>[]
8115
7907
  }
8116
7908
  scalars: $Extensions.GetPayloadResult<{
8117
7909
  id: number
@@ -8525,7 +8317,6 @@ export namespace Prisma {
8525
8317
  syncs<T extends Integration$syncsArgs<ExtArgs> = {}>(args?: Subset<T, Integration$syncsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$SyncPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
8526
8318
  mappings<T extends Integration$mappingsArgs<ExtArgs> = {}>(args?: Subset<T, Integration$mappingsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$IntegrationMappingPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
8527
8319
  processes<T extends Integration$processesArgs<ExtArgs> = {}>(args?: Subset<T, Integration$processesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ProcessPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
8528
- workflowRuns<T extends Integration$workflowRunsArgs<ExtArgs> = {}>(args?: Subset<T, Integration$workflowRunsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$WorkflowRunPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
8529
8320
  /**
8530
8321
  * Attaches callbacks for the resolution and/or rejection of the Promise.
8531
8322
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -9100,30 +8891,6 @@ export namespace Prisma {
9100
8891
  distinct?: ProcessScalarFieldEnum | ProcessScalarFieldEnum[]
9101
8892
  }
9102
8893
 
9103
- /**
9104
- * Integration.workflowRuns
9105
- */
9106
- export type Integration$workflowRunsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
9107
- /**
9108
- * Select specific fields to fetch from the WorkflowRun
9109
- */
9110
- select?: WorkflowRunSelect<ExtArgs> | null
9111
- /**
9112
- * Omit specific fields from the WorkflowRun
9113
- */
9114
- omit?: WorkflowRunOmit<ExtArgs> | null
9115
- /**
9116
- * Choose, which related nodes to fetch as well
9117
- */
9118
- include?: WorkflowRunInclude<ExtArgs> | null
9119
- where?: WorkflowRunWhereInput
9120
- orderBy?: WorkflowRunOrderByWithRelationInput | WorkflowRunOrderByWithRelationInput[]
9121
- cursor?: WorkflowRunWhereUniqueInput
9122
- take?: number
9123
- skip?: number
9124
- distinct?: WorkflowRunScalarFieldEnum | WorkflowRunScalarFieldEnum[]
9125
- }
9126
-
9127
8894
  /**
9128
8895
  * Integration without action
9129
8896
  */
@@ -21358,2476 +21125,58 @@ export namespace Prisma {
21358
21125
 
21359
21126
 
21360
21127
  /**
21361
- * Model IntegrationDefinitionVersion
21128
+ * Enums
21362
21129
  */
21363
21130
 
21364
- export type AggregateIntegrationDefinitionVersion = {
21365
- _count: IntegrationDefinitionVersionCountAggregateOutputType | null
21366
- _avg: IntegrationDefinitionVersionAvgAggregateOutputType | null
21367
- _sum: IntegrationDefinitionVersionSumAggregateOutputType | null
21368
- _min: IntegrationDefinitionVersionMinAggregateOutputType | null
21369
- _max: IntegrationDefinitionVersionMaxAggregateOutputType | null
21370
- }
21371
-
21372
- export type IntegrationDefinitionVersionAvgAggregateOutputType = {
21373
- id: number | null
21374
- }
21375
-
21376
- export type IntegrationDefinitionVersionSumAggregateOutputType = {
21377
- id: number | null
21378
- }
21131
+ export const TransactionIsolationLevel: {
21132
+ ReadUncommitted: 'ReadUncommitted',
21133
+ ReadCommitted: 'ReadCommitted',
21134
+ RepeatableRead: 'RepeatableRead',
21135
+ Serializable: 'Serializable'
21136
+ };
21379
21137
 
21380
- export type IntegrationDefinitionVersionMinAggregateOutputType = {
21381
- id: number | null
21382
- definitionId: string | null
21383
- version: string | null
21384
- schemaVersion: string | null
21385
- status: $Enums.DefinitionStatus | null
21386
- checksum: string | null
21387
- changeLevel: string | null
21388
- previousVersion: string | null
21389
- notes: string | null
21390
- createdBy: string | null
21391
- workspaceId: string | null
21392
- publishedAt: Date | null
21393
- createdAt: Date | null
21394
- updatedAt: Date | null
21395
- }
21138
+ export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel]
21396
21139
 
21397
- export type IntegrationDefinitionVersionMaxAggregateOutputType = {
21398
- id: number | null
21399
- definitionId: string | null
21400
- version: string | null
21401
- schemaVersion: string | null
21402
- status: $Enums.DefinitionStatus | null
21403
- checksum: string | null
21404
- changeLevel: string | null
21405
- previousVersion: string | null
21406
- notes: string | null
21407
- createdBy: string | null
21408
- workspaceId: string | null
21409
- publishedAt: Date | null
21410
- createdAt: Date | null
21411
- updatedAt: Date | null
21412
- }
21413
21140
 
21414
- export type IntegrationDefinitionVersionCountAggregateOutputType = {
21415
- id: number
21416
- definitionId: number
21417
- version: number
21418
- schemaVersion: number
21419
- status: number
21420
- checksum: number
21421
- document: number
21422
- changeLevel: number
21423
- previousVersion: number
21424
- notes: number
21425
- createdBy: number
21426
- workspaceId: number
21427
- publishedAt: number
21428
- createdAt: number
21429
- updatedAt: number
21430
- _all: number
21431
- }
21141
+ export const UserScalarFieldEnum: {
21142
+ id: 'id',
21143
+ type: 'type',
21144
+ createdAt: 'createdAt',
21145
+ updatedAt: 'updatedAt',
21146
+ email: 'email',
21147
+ username: 'username',
21148
+ hashword: 'hashword',
21149
+ appUserId: 'appUserId',
21150
+ organizationId: 'organizationId',
21151
+ appOrgId: 'appOrgId',
21152
+ name: 'name'
21153
+ };
21432
21154
 
21155
+ export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum]
21433
21156
 
21434
- export type IntegrationDefinitionVersionAvgAggregateInputType = {
21435
- id?: true
21436
- }
21437
21157
 
21438
- export type IntegrationDefinitionVersionSumAggregateInputType = {
21439
- id?: true
21440
- }
21158
+ export const TokenScalarFieldEnum: {
21159
+ id: 'id',
21160
+ token: 'token',
21161
+ created: 'created',
21162
+ expires: 'expires',
21163
+ userId: 'userId'
21164
+ };
21441
21165
 
21442
- export type IntegrationDefinitionVersionMinAggregateInputType = {
21443
- id?: true
21444
- definitionId?: true
21445
- version?: true
21446
- schemaVersion?: true
21447
- status?: true
21448
- checksum?: true
21449
- changeLevel?: true
21450
- previousVersion?: true
21451
- notes?: true
21452
- createdBy?: true
21453
- workspaceId?: true
21454
- publishedAt?: true
21455
- createdAt?: true
21456
- updatedAt?: true
21457
- }
21166
+ export type TokenScalarFieldEnum = (typeof TokenScalarFieldEnum)[keyof typeof TokenScalarFieldEnum]
21458
21167
 
21459
- export type IntegrationDefinitionVersionMaxAggregateInputType = {
21460
- id?: true
21461
- definitionId?: true
21462
- version?: true
21463
- schemaVersion?: true
21464
- status?: true
21465
- checksum?: true
21466
- changeLevel?: true
21467
- previousVersion?: true
21468
- notes?: true
21469
- createdBy?: true
21470
- workspaceId?: true
21471
- publishedAt?: true
21472
- createdAt?: true
21473
- updatedAt?: true
21474
- }
21475
21168
 
21476
- export type IntegrationDefinitionVersionCountAggregateInputType = {
21477
- id?: true
21478
- definitionId?: true
21479
- version?: true
21480
- schemaVersion?: true
21481
- status?: true
21482
- checksum?: true
21483
- document?: true
21484
- changeLevel?: true
21485
- previousVersion?: true
21486
- notes?: true
21487
- createdBy?: true
21488
- workspaceId?: true
21489
- publishedAt?: true
21490
- createdAt?: true
21491
- updatedAt?: true
21492
- _all?: true
21493
- }
21169
+ export const CredentialScalarFieldEnum: {
21170
+ id: 'id',
21171
+ userId: 'userId',
21172
+ authIsValid: 'authIsValid',
21173
+ externalId: 'externalId',
21174
+ data: 'data',
21175
+ createdAt: 'createdAt',
21176
+ updatedAt: 'updatedAt'
21177
+ };
21494
21178
 
21495
- export type IntegrationDefinitionVersionAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21496
- /**
21497
- * Filter which IntegrationDefinitionVersion to aggregate.
21498
- */
21499
- where?: IntegrationDefinitionVersionWhereInput
21500
- /**
21501
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
21502
- *
21503
- * Determine the order of IntegrationDefinitionVersions to fetch.
21504
- */
21505
- orderBy?: IntegrationDefinitionVersionOrderByWithRelationInput | IntegrationDefinitionVersionOrderByWithRelationInput[]
21506
- /**
21507
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
21508
- *
21509
- * Sets the start position
21510
- */
21511
- cursor?: IntegrationDefinitionVersionWhereUniqueInput
21512
- /**
21513
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
21514
- *
21515
- * Take `±n` IntegrationDefinitionVersions from the position of the cursor.
21516
- */
21517
- take?: number
21518
- /**
21519
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
21520
- *
21521
- * Skip the first `n` IntegrationDefinitionVersions.
21522
- */
21523
- skip?: number
21524
- /**
21525
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
21526
- *
21527
- * Count returned IntegrationDefinitionVersions
21528
- **/
21529
- _count?: true | IntegrationDefinitionVersionCountAggregateInputType
21530
- /**
21531
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
21532
- *
21533
- * Select which fields to average
21534
- **/
21535
- _avg?: IntegrationDefinitionVersionAvgAggregateInputType
21536
- /**
21537
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
21538
- *
21539
- * Select which fields to sum
21540
- **/
21541
- _sum?: IntegrationDefinitionVersionSumAggregateInputType
21542
- /**
21543
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
21544
- *
21545
- * Select which fields to find the minimum value
21546
- **/
21547
- _min?: IntegrationDefinitionVersionMinAggregateInputType
21548
- /**
21549
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
21550
- *
21551
- * Select which fields to find the maximum value
21552
- **/
21553
- _max?: IntegrationDefinitionVersionMaxAggregateInputType
21554
- }
21555
-
21556
- export type GetIntegrationDefinitionVersionAggregateType<T extends IntegrationDefinitionVersionAggregateArgs> = {
21557
- [P in keyof T & keyof AggregateIntegrationDefinitionVersion]: P extends '_count' | 'count'
21558
- ? T[P] extends true
21559
- ? number
21560
- : GetScalarType<T[P], AggregateIntegrationDefinitionVersion[P]>
21561
- : GetScalarType<T[P], AggregateIntegrationDefinitionVersion[P]>
21562
- }
21563
-
21564
-
21565
-
21566
-
21567
- export type IntegrationDefinitionVersionGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21568
- where?: IntegrationDefinitionVersionWhereInput
21569
- orderBy?: IntegrationDefinitionVersionOrderByWithAggregationInput | IntegrationDefinitionVersionOrderByWithAggregationInput[]
21570
- by: IntegrationDefinitionVersionScalarFieldEnum[] | IntegrationDefinitionVersionScalarFieldEnum
21571
- having?: IntegrationDefinitionVersionScalarWhereWithAggregatesInput
21572
- take?: number
21573
- skip?: number
21574
- _count?: IntegrationDefinitionVersionCountAggregateInputType | true
21575
- _avg?: IntegrationDefinitionVersionAvgAggregateInputType
21576
- _sum?: IntegrationDefinitionVersionSumAggregateInputType
21577
- _min?: IntegrationDefinitionVersionMinAggregateInputType
21578
- _max?: IntegrationDefinitionVersionMaxAggregateInputType
21579
- }
21580
-
21581
- export type IntegrationDefinitionVersionGroupByOutputType = {
21582
- id: number
21583
- definitionId: string
21584
- version: string
21585
- schemaVersion: string
21586
- status: $Enums.DefinitionStatus
21587
- checksum: string
21588
- document: JsonValue
21589
- changeLevel: string | null
21590
- previousVersion: string | null
21591
- notes: string | null
21592
- createdBy: string | null
21593
- workspaceId: string | null
21594
- publishedAt: Date | null
21595
- createdAt: Date
21596
- updatedAt: Date
21597
- _count: IntegrationDefinitionVersionCountAggregateOutputType | null
21598
- _avg: IntegrationDefinitionVersionAvgAggregateOutputType | null
21599
- _sum: IntegrationDefinitionVersionSumAggregateOutputType | null
21600
- _min: IntegrationDefinitionVersionMinAggregateOutputType | null
21601
- _max: IntegrationDefinitionVersionMaxAggregateOutputType | null
21602
- }
21603
-
21604
- type GetIntegrationDefinitionVersionGroupByPayload<T extends IntegrationDefinitionVersionGroupByArgs> = Prisma.PrismaPromise<
21605
- Array<
21606
- PickEnumerable<IntegrationDefinitionVersionGroupByOutputType, T['by']> &
21607
- {
21608
- [P in ((keyof T) & (keyof IntegrationDefinitionVersionGroupByOutputType))]: P extends '_count'
21609
- ? T[P] extends boolean
21610
- ? number
21611
- : GetScalarType<T[P], IntegrationDefinitionVersionGroupByOutputType[P]>
21612
- : GetScalarType<T[P], IntegrationDefinitionVersionGroupByOutputType[P]>
21613
- }
21614
- >
21615
- >
21616
-
21617
-
21618
- export type IntegrationDefinitionVersionSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
21619
- id?: boolean
21620
- definitionId?: boolean
21621
- version?: boolean
21622
- schemaVersion?: boolean
21623
- status?: boolean
21624
- checksum?: boolean
21625
- document?: boolean
21626
- changeLevel?: boolean
21627
- previousVersion?: boolean
21628
- notes?: boolean
21629
- createdBy?: boolean
21630
- workspaceId?: boolean
21631
- publishedAt?: boolean
21632
- createdAt?: boolean
21633
- updatedAt?: boolean
21634
- }, ExtArgs["result"]["integrationDefinitionVersion"]>
21635
-
21636
- export type IntegrationDefinitionVersionSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
21637
- id?: boolean
21638
- definitionId?: boolean
21639
- version?: boolean
21640
- schemaVersion?: boolean
21641
- status?: boolean
21642
- checksum?: boolean
21643
- document?: boolean
21644
- changeLevel?: boolean
21645
- previousVersion?: boolean
21646
- notes?: boolean
21647
- createdBy?: boolean
21648
- workspaceId?: boolean
21649
- publishedAt?: boolean
21650
- createdAt?: boolean
21651
- updatedAt?: boolean
21652
- }, ExtArgs["result"]["integrationDefinitionVersion"]>
21653
-
21654
- export type IntegrationDefinitionVersionSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
21655
- id?: boolean
21656
- definitionId?: boolean
21657
- version?: boolean
21658
- schemaVersion?: boolean
21659
- status?: boolean
21660
- checksum?: boolean
21661
- document?: boolean
21662
- changeLevel?: boolean
21663
- previousVersion?: boolean
21664
- notes?: boolean
21665
- createdBy?: boolean
21666
- workspaceId?: boolean
21667
- publishedAt?: boolean
21668
- createdAt?: boolean
21669
- updatedAt?: boolean
21670
- }, ExtArgs["result"]["integrationDefinitionVersion"]>
21671
-
21672
- export type IntegrationDefinitionVersionSelectScalar = {
21673
- id?: boolean
21674
- definitionId?: boolean
21675
- version?: boolean
21676
- schemaVersion?: boolean
21677
- status?: boolean
21678
- checksum?: boolean
21679
- document?: boolean
21680
- changeLevel?: boolean
21681
- previousVersion?: boolean
21682
- notes?: boolean
21683
- createdBy?: boolean
21684
- workspaceId?: boolean
21685
- publishedAt?: boolean
21686
- createdAt?: boolean
21687
- updatedAt?: boolean
21688
- }
21689
-
21690
- export type IntegrationDefinitionVersionOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "definitionId" | "version" | "schemaVersion" | "status" | "checksum" | "document" | "changeLevel" | "previousVersion" | "notes" | "createdBy" | "workspaceId" | "publishedAt" | "createdAt" | "updatedAt", ExtArgs["result"]["integrationDefinitionVersion"]>
21691
-
21692
- export type $IntegrationDefinitionVersionPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21693
- name: "IntegrationDefinitionVersion"
21694
- objects: {}
21695
- scalars: $Extensions.GetPayloadResult<{
21696
- id: number
21697
- definitionId: string
21698
- version: string
21699
- schemaVersion: string
21700
- status: $Enums.DefinitionStatus
21701
- checksum: string
21702
- document: Prisma.JsonValue
21703
- changeLevel: string | null
21704
- previousVersion: string | null
21705
- notes: string | null
21706
- createdBy: string | null
21707
- workspaceId: string | null
21708
- publishedAt: Date | null
21709
- createdAt: Date
21710
- updatedAt: Date
21711
- }, ExtArgs["result"]["integrationDefinitionVersion"]>
21712
- composites: {}
21713
- }
21714
-
21715
- type IntegrationDefinitionVersionGetPayload<S extends boolean | null | undefined | IntegrationDefinitionVersionDefaultArgs> = $Result.GetResult<Prisma.$IntegrationDefinitionVersionPayload, S>
21716
-
21717
- type IntegrationDefinitionVersionCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
21718
- Omit<IntegrationDefinitionVersionFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
21719
- select?: IntegrationDefinitionVersionCountAggregateInputType | true
21720
- }
21721
-
21722
- export interface IntegrationDefinitionVersionDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
21723
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['IntegrationDefinitionVersion'], meta: { name: 'IntegrationDefinitionVersion' } }
21724
- /**
21725
- * Find zero or one IntegrationDefinitionVersion that matches the filter.
21726
- * @param {IntegrationDefinitionVersionFindUniqueArgs} args - Arguments to find a IntegrationDefinitionVersion
21727
- * @example
21728
- * // Get one IntegrationDefinitionVersion
21729
- * const integrationDefinitionVersion = await prisma.integrationDefinitionVersion.findUnique({
21730
- * where: {
21731
- * // ... provide filter here
21732
- * }
21733
- * })
21734
- */
21735
- findUnique<T extends IntegrationDefinitionVersionFindUniqueArgs>(args: SelectSubset<T, IntegrationDefinitionVersionFindUniqueArgs<ExtArgs>>): Prisma__IntegrationDefinitionVersionClient<$Result.GetResult<Prisma.$IntegrationDefinitionVersionPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
21736
-
21737
- /**
21738
- * Find one IntegrationDefinitionVersion that matches the filter or throw an error with `error.code='P2025'`
21739
- * if no matches were found.
21740
- * @param {IntegrationDefinitionVersionFindUniqueOrThrowArgs} args - Arguments to find a IntegrationDefinitionVersion
21741
- * @example
21742
- * // Get one IntegrationDefinitionVersion
21743
- * const integrationDefinitionVersion = await prisma.integrationDefinitionVersion.findUniqueOrThrow({
21744
- * where: {
21745
- * // ... provide filter here
21746
- * }
21747
- * })
21748
- */
21749
- findUniqueOrThrow<T extends IntegrationDefinitionVersionFindUniqueOrThrowArgs>(args: SelectSubset<T, IntegrationDefinitionVersionFindUniqueOrThrowArgs<ExtArgs>>): Prisma__IntegrationDefinitionVersionClient<$Result.GetResult<Prisma.$IntegrationDefinitionVersionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
21750
-
21751
- /**
21752
- * Find the first IntegrationDefinitionVersion that matches the filter.
21753
- * Note, that providing `undefined` is treated as the value not being there.
21754
- * Read more here: https://pris.ly/d/null-undefined
21755
- * @param {IntegrationDefinitionVersionFindFirstArgs} args - Arguments to find a IntegrationDefinitionVersion
21756
- * @example
21757
- * // Get one IntegrationDefinitionVersion
21758
- * const integrationDefinitionVersion = await prisma.integrationDefinitionVersion.findFirst({
21759
- * where: {
21760
- * // ... provide filter here
21761
- * }
21762
- * })
21763
- */
21764
- findFirst<T extends IntegrationDefinitionVersionFindFirstArgs>(args?: SelectSubset<T, IntegrationDefinitionVersionFindFirstArgs<ExtArgs>>): Prisma__IntegrationDefinitionVersionClient<$Result.GetResult<Prisma.$IntegrationDefinitionVersionPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
21765
-
21766
- /**
21767
- * Find the first IntegrationDefinitionVersion that matches the filter or
21768
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
21769
- * Note, that providing `undefined` is treated as the value not being there.
21770
- * Read more here: https://pris.ly/d/null-undefined
21771
- * @param {IntegrationDefinitionVersionFindFirstOrThrowArgs} args - Arguments to find a IntegrationDefinitionVersion
21772
- * @example
21773
- * // Get one IntegrationDefinitionVersion
21774
- * const integrationDefinitionVersion = await prisma.integrationDefinitionVersion.findFirstOrThrow({
21775
- * where: {
21776
- * // ... provide filter here
21777
- * }
21778
- * })
21779
- */
21780
- findFirstOrThrow<T extends IntegrationDefinitionVersionFindFirstOrThrowArgs>(args?: SelectSubset<T, IntegrationDefinitionVersionFindFirstOrThrowArgs<ExtArgs>>): Prisma__IntegrationDefinitionVersionClient<$Result.GetResult<Prisma.$IntegrationDefinitionVersionPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
21781
-
21782
- /**
21783
- * Find zero or more IntegrationDefinitionVersions that matches the filter.
21784
- * Note, that providing `undefined` is treated as the value not being there.
21785
- * Read more here: https://pris.ly/d/null-undefined
21786
- * @param {IntegrationDefinitionVersionFindManyArgs} args - Arguments to filter and select certain fields only.
21787
- * @example
21788
- * // Get all IntegrationDefinitionVersions
21789
- * const integrationDefinitionVersions = await prisma.integrationDefinitionVersion.findMany()
21790
- *
21791
- * // Get first 10 IntegrationDefinitionVersions
21792
- * const integrationDefinitionVersions = await prisma.integrationDefinitionVersion.findMany({ take: 10 })
21793
- *
21794
- * // Only select the `id`
21795
- * const integrationDefinitionVersionWithIdOnly = await prisma.integrationDefinitionVersion.findMany({ select: { id: true } })
21796
- *
21797
- */
21798
- findMany<T extends IntegrationDefinitionVersionFindManyArgs>(args?: SelectSubset<T, IntegrationDefinitionVersionFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$IntegrationDefinitionVersionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
21799
-
21800
- /**
21801
- * Create a IntegrationDefinitionVersion.
21802
- * @param {IntegrationDefinitionVersionCreateArgs} args - Arguments to create a IntegrationDefinitionVersion.
21803
- * @example
21804
- * // Create one IntegrationDefinitionVersion
21805
- * const IntegrationDefinitionVersion = await prisma.integrationDefinitionVersion.create({
21806
- * data: {
21807
- * // ... data to create a IntegrationDefinitionVersion
21808
- * }
21809
- * })
21810
- *
21811
- */
21812
- create<T extends IntegrationDefinitionVersionCreateArgs>(args: SelectSubset<T, IntegrationDefinitionVersionCreateArgs<ExtArgs>>): Prisma__IntegrationDefinitionVersionClient<$Result.GetResult<Prisma.$IntegrationDefinitionVersionPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
21813
-
21814
- /**
21815
- * Create many IntegrationDefinitionVersions.
21816
- * @param {IntegrationDefinitionVersionCreateManyArgs} args - Arguments to create many IntegrationDefinitionVersions.
21817
- * @example
21818
- * // Create many IntegrationDefinitionVersions
21819
- * const integrationDefinitionVersion = await prisma.integrationDefinitionVersion.createMany({
21820
- * data: [
21821
- * // ... provide data here
21822
- * ]
21823
- * })
21824
- *
21825
- */
21826
- createMany<T extends IntegrationDefinitionVersionCreateManyArgs>(args?: SelectSubset<T, IntegrationDefinitionVersionCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
21827
-
21828
- /**
21829
- * Create many IntegrationDefinitionVersions and returns the data saved in the database.
21830
- * @param {IntegrationDefinitionVersionCreateManyAndReturnArgs} args - Arguments to create many IntegrationDefinitionVersions.
21831
- * @example
21832
- * // Create many IntegrationDefinitionVersions
21833
- * const integrationDefinitionVersion = await prisma.integrationDefinitionVersion.createManyAndReturn({
21834
- * data: [
21835
- * // ... provide data here
21836
- * ]
21837
- * })
21838
- *
21839
- * // Create many IntegrationDefinitionVersions and only return the `id`
21840
- * const integrationDefinitionVersionWithIdOnly = await prisma.integrationDefinitionVersion.createManyAndReturn({
21841
- * select: { id: true },
21842
- * data: [
21843
- * // ... provide data here
21844
- * ]
21845
- * })
21846
- * Note, that providing `undefined` is treated as the value not being there.
21847
- * Read more here: https://pris.ly/d/null-undefined
21848
- *
21849
- */
21850
- createManyAndReturn<T extends IntegrationDefinitionVersionCreateManyAndReturnArgs>(args?: SelectSubset<T, IntegrationDefinitionVersionCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$IntegrationDefinitionVersionPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
21851
-
21852
- /**
21853
- * Delete a IntegrationDefinitionVersion.
21854
- * @param {IntegrationDefinitionVersionDeleteArgs} args - Arguments to delete one IntegrationDefinitionVersion.
21855
- * @example
21856
- * // Delete one IntegrationDefinitionVersion
21857
- * const IntegrationDefinitionVersion = await prisma.integrationDefinitionVersion.delete({
21858
- * where: {
21859
- * // ... filter to delete one IntegrationDefinitionVersion
21860
- * }
21861
- * })
21862
- *
21863
- */
21864
- delete<T extends IntegrationDefinitionVersionDeleteArgs>(args: SelectSubset<T, IntegrationDefinitionVersionDeleteArgs<ExtArgs>>): Prisma__IntegrationDefinitionVersionClient<$Result.GetResult<Prisma.$IntegrationDefinitionVersionPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
21865
-
21866
- /**
21867
- * Update one IntegrationDefinitionVersion.
21868
- * @param {IntegrationDefinitionVersionUpdateArgs} args - Arguments to update one IntegrationDefinitionVersion.
21869
- * @example
21870
- * // Update one IntegrationDefinitionVersion
21871
- * const integrationDefinitionVersion = await prisma.integrationDefinitionVersion.update({
21872
- * where: {
21873
- * // ... provide filter here
21874
- * },
21875
- * data: {
21876
- * // ... provide data here
21877
- * }
21878
- * })
21879
- *
21880
- */
21881
- update<T extends IntegrationDefinitionVersionUpdateArgs>(args: SelectSubset<T, IntegrationDefinitionVersionUpdateArgs<ExtArgs>>): Prisma__IntegrationDefinitionVersionClient<$Result.GetResult<Prisma.$IntegrationDefinitionVersionPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
21882
-
21883
- /**
21884
- * Delete zero or more IntegrationDefinitionVersions.
21885
- * @param {IntegrationDefinitionVersionDeleteManyArgs} args - Arguments to filter IntegrationDefinitionVersions to delete.
21886
- * @example
21887
- * // Delete a few IntegrationDefinitionVersions
21888
- * const { count } = await prisma.integrationDefinitionVersion.deleteMany({
21889
- * where: {
21890
- * // ... provide filter here
21891
- * }
21892
- * })
21893
- *
21894
- */
21895
- deleteMany<T extends IntegrationDefinitionVersionDeleteManyArgs>(args?: SelectSubset<T, IntegrationDefinitionVersionDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
21896
-
21897
- /**
21898
- * Update zero or more IntegrationDefinitionVersions.
21899
- * Note, that providing `undefined` is treated as the value not being there.
21900
- * Read more here: https://pris.ly/d/null-undefined
21901
- * @param {IntegrationDefinitionVersionUpdateManyArgs} args - Arguments to update one or more rows.
21902
- * @example
21903
- * // Update many IntegrationDefinitionVersions
21904
- * const integrationDefinitionVersion = await prisma.integrationDefinitionVersion.updateMany({
21905
- * where: {
21906
- * // ... provide filter here
21907
- * },
21908
- * data: {
21909
- * // ... provide data here
21910
- * }
21911
- * })
21912
- *
21913
- */
21914
- updateMany<T extends IntegrationDefinitionVersionUpdateManyArgs>(args: SelectSubset<T, IntegrationDefinitionVersionUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
21915
-
21916
- /**
21917
- * Update zero or more IntegrationDefinitionVersions and returns the data updated in the database.
21918
- * @param {IntegrationDefinitionVersionUpdateManyAndReturnArgs} args - Arguments to update many IntegrationDefinitionVersions.
21919
- * @example
21920
- * // Update many IntegrationDefinitionVersions
21921
- * const integrationDefinitionVersion = await prisma.integrationDefinitionVersion.updateManyAndReturn({
21922
- * where: {
21923
- * // ... provide filter here
21924
- * },
21925
- * data: [
21926
- * // ... provide data here
21927
- * ]
21928
- * })
21929
- *
21930
- * // Update zero or more IntegrationDefinitionVersions and only return the `id`
21931
- * const integrationDefinitionVersionWithIdOnly = await prisma.integrationDefinitionVersion.updateManyAndReturn({
21932
- * select: { id: true },
21933
- * where: {
21934
- * // ... provide filter here
21935
- * },
21936
- * data: [
21937
- * // ... provide data here
21938
- * ]
21939
- * })
21940
- * Note, that providing `undefined` is treated as the value not being there.
21941
- * Read more here: https://pris.ly/d/null-undefined
21942
- *
21943
- */
21944
- updateManyAndReturn<T extends IntegrationDefinitionVersionUpdateManyAndReturnArgs>(args: SelectSubset<T, IntegrationDefinitionVersionUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$IntegrationDefinitionVersionPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
21945
-
21946
- /**
21947
- * Create or update one IntegrationDefinitionVersion.
21948
- * @param {IntegrationDefinitionVersionUpsertArgs} args - Arguments to update or create a IntegrationDefinitionVersion.
21949
- * @example
21950
- * // Update or create a IntegrationDefinitionVersion
21951
- * const integrationDefinitionVersion = await prisma.integrationDefinitionVersion.upsert({
21952
- * create: {
21953
- * // ... data to create a IntegrationDefinitionVersion
21954
- * },
21955
- * update: {
21956
- * // ... in case it already exists, update
21957
- * },
21958
- * where: {
21959
- * // ... the filter for the IntegrationDefinitionVersion we want to update
21960
- * }
21961
- * })
21962
- */
21963
- upsert<T extends IntegrationDefinitionVersionUpsertArgs>(args: SelectSubset<T, IntegrationDefinitionVersionUpsertArgs<ExtArgs>>): Prisma__IntegrationDefinitionVersionClient<$Result.GetResult<Prisma.$IntegrationDefinitionVersionPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
21964
-
21965
-
21966
- /**
21967
- * Count the number of IntegrationDefinitionVersions.
21968
- * Note, that providing `undefined` is treated as the value not being there.
21969
- * Read more here: https://pris.ly/d/null-undefined
21970
- * @param {IntegrationDefinitionVersionCountArgs} args - Arguments to filter IntegrationDefinitionVersions to count.
21971
- * @example
21972
- * // Count the number of IntegrationDefinitionVersions
21973
- * const count = await prisma.integrationDefinitionVersion.count({
21974
- * where: {
21975
- * // ... the filter for the IntegrationDefinitionVersions we want to count
21976
- * }
21977
- * })
21978
- **/
21979
- count<T extends IntegrationDefinitionVersionCountArgs>(
21980
- args?: Subset<T, IntegrationDefinitionVersionCountArgs>,
21981
- ): Prisma.PrismaPromise<
21982
- T extends $Utils.Record<'select', any>
21983
- ? T['select'] extends true
21984
- ? number
21985
- : GetScalarType<T['select'], IntegrationDefinitionVersionCountAggregateOutputType>
21986
- : number
21987
- >
21988
-
21989
- /**
21990
- * Allows you to perform aggregations operations on a IntegrationDefinitionVersion.
21991
- * Note, that providing `undefined` is treated as the value not being there.
21992
- * Read more here: https://pris.ly/d/null-undefined
21993
- * @param {IntegrationDefinitionVersionAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
21994
- * @example
21995
- * // Ordered by age ascending
21996
- * // Where email contains prisma.io
21997
- * // Limited to the 10 users
21998
- * const aggregations = await prisma.user.aggregate({
21999
- * _avg: {
22000
- * age: true,
22001
- * },
22002
- * where: {
22003
- * email: {
22004
- * contains: "prisma.io",
22005
- * },
22006
- * },
22007
- * orderBy: {
22008
- * age: "asc",
22009
- * },
22010
- * take: 10,
22011
- * })
22012
- **/
22013
- aggregate<T extends IntegrationDefinitionVersionAggregateArgs>(args: Subset<T, IntegrationDefinitionVersionAggregateArgs>): Prisma.PrismaPromise<GetIntegrationDefinitionVersionAggregateType<T>>
22014
-
22015
- /**
22016
- * Group by IntegrationDefinitionVersion.
22017
- * Note, that providing `undefined` is treated as the value not being there.
22018
- * Read more here: https://pris.ly/d/null-undefined
22019
- * @param {IntegrationDefinitionVersionGroupByArgs} args - Group by arguments.
22020
- * @example
22021
- * // Group by city, order by createdAt, get count
22022
- * const result = await prisma.user.groupBy({
22023
- * by: ['city', 'createdAt'],
22024
- * orderBy: {
22025
- * createdAt: true
22026
- * },
22027
- * _count: {
22028
- * _all: true
22029
- * },
22030
- * })
22031
- *
22032
- **/
22033
- groupBy<
22034
- T extends IntegrationDefinitionVersionGroupByArgs,
22035
- HasSelectOrTake extends Or<
22036
- Extends<'skip', Keys<T>>,
22037
- Extends<'take', Keys<T>>
22038
- >,
22039
- OrderByArg extends True extends HasSelectOrTake
22040
- ? { orderBy: IntegrationDefinitionVersionGroupByArgs['orderBy'] }
22041
- : { orderBy?: IntegrationDefinitionVersionGroupByArgs['orderBy'] },
22042
- OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
22043
- ByFields extends MaybeTupleToUnion<T['by']>,
22044
- ByValid extends Has<ByFields, OrderFields>,
22045
- HavingFields extends GetHavingFields<T['having']>,
22046
- HavingValid extends Has<ByFields, HavingFields>,
22047
- ByEmpty extends T['by'] extends never[] ? True : False,
22048
- InputErrors extends ByEmpty extends True
22049
- ? `Error: "by" must not be empty.`
22050
- : HavingValid extends False
22051
- ? {
22052
- [P in HavingFields]: P extends ByFields
22053
- ? never
22054
- : P extends string
22055
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
22056
- : [
22057
- Error,
22058
- 'Field ',
22059
- P,
22060
- ` in "having" needs to be provided in "by"`,
22061
- ]
22062
- }[HavingFields]
22063
- : 'take' extends Keys<T>
22064
- ? 'orderBy' extends Keys<T>
22065
- ? ByValid extends True
22066
- ? {}
22067
- : {
22068
- [P in OrderFields]: P extends ByFields
22069
- ? never
22070
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
22071
- }[OrderFields]
22072
- : 'Error: If you provide "take", you also need to provide "orderBy"'
22073
- : 'skip' extends Keys<T>
22074
- ? 'orderBy' extends Keys<T>
22075
- ? ByValid extends True
22076
- ? {}
22077
- : {
22078
- [P in OrderFields]: P extends ByFields
22079
- ? never
22080
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
22081
- }[OrderFields]
22082
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
22083
- : ByValid extends True
22084
- ? {}
22085
- : {
22086
- [P in OrderFields]: P extends ByFields
22087
- ? never
22088
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
22089
- }[OrderFields]
22090
- >(args: SubsetIntersection<T, IntegrationDefinitionVersionGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetIntegrationDefinitionVersionGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
22091
- /**
22092
- * Fields of the IntegrationDefinitionVersion model
22093
- */
22094
- readonly fields: IntegrationDefinitionVersionFieldRefs;
22095
- }
22096
-
22097
- /**
22098
- * The delegate class that acts as a "Promise-like" for IntegrationDefinitionVersion.
22099
- * Why is this prefixed with `Prisma__`?
22100
- * Because we want to prevent naming conflicts as mentioned in
22101
- * https://github.com/prisma/prisma-client-js/issues/707
22102
- */
22103
- export interface Prisma__IntegrationDefinitionVersionClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
22104
- readonly [Symbol.toStringTag]: "PrismaPromise"
22105
- /**
22106
- * Attaches callbacks for the resolution and/or rejection of the Promise.
22107
- * @param onfulfilled The callback to execute when the Promise is resolved.
22108
- * @param onrejected The callback to execute when the Promise is rejected.
22109
- * @returns A Promise for the completion of which ever callback is executed.
22110
- */
22111
- then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
22112
- /**
22113
- * Attaches a callback for only the rejection of the Promise.
22114
- * @param onrejected The callback to execute when the Promise is rejected.
22115
- * @returns A Promise for the completion of the callback.
22116
- */
22117
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
22118
- /**
22119
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
22120
- * resolved value cannot be modified from the callback.
22121
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
22122
- * @returns A Promise for the completion of the callback.
22123
- */
22124
- finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
22125
- }
22126
-
22127
-
22128
-
22129
-
22130
- /**
22131
- * Fields of the IntegrationDefinitionVersion model
22132
- */
22133
- interface IntegrationDefinitionVersionFieldRefs {
22134
- readonly id: FieldRef<"IntegrationDefinitionVersion", 'Int'>
22135
- readonly definitionId: FieldRef<"IntegrationDefinitionVersion", 'String'>
22136
- readonly version: FieldRef<"IntegrationDefinitionVersion", 'String'>
22137
- readonly schemaVersion: FieldRef<"IntegrationDefinitionVersion", 'String'>
22138
- readonly status: FieldRef<"IntegrationDefinitionVersion", 'DefinitionStatus'>
22139
- readonly checksum: FieldRef<"IntegrationDefinitionVersion", 'String'>
22140
- readonly document: FieldRef<"IntegrationDefinitionVersion", 'Json'>
22141
- readonly changeLevel: FieldRef<"IntegrationDefinitionVersion", 'String'>
22142
- readonly previousVersion: FieldRef<"IntegrationDefinitionVersion", 'String'>
22143
- readonly notes: FieldRef<"IntegrationDefinitionVersion", 'String'>
22144
- readonly createdBy: FieldRef<"IntegrationDefinitionVersion", 'String'>
22145
- readonly workspaceId: FieldRef<"IntegrationDefinitionVersion", 'String'>
22146
- readonly publishedAt: FieldRef<"IntegrationDefinitionVersion", 'DateTime'>
22147
- readonly createdAt: FieldRef<"IntegrationDefinitionVersion", 'DateTime'>
22148
- readonly updatedAt: FieldRef<"IntegrationDefinitionVersion", 'DateTime'>
22149
- }
22150
-
22151
-
22152
- // Custom InputTypes
22153
- /**
22154
- * IntegrationDefinitionVersion findUnique
22155
- */
22156
- export type IntegrationDefinitionVersionFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22157
- /**
22158
- * Select specific fields to fetch from the IntegrationDefinitionVersion
22159
- */
22160
- select?: IntegrationDefinitionVersionSelect<ExtArgs> | null
22161
- /**
22162
- * Omit specific fields from the IntegrationDefinitionVersion
22163
- */
22164
- omit?: IntegrationDefinitionVersionOmit<ExtArgs> | null
22165
- /**
22166
- * Filter, which IntegrationDefinitionVersion to fetch.
22167
- */
22168
- where: IntegrationDefinitionVersionWhereUniqueInput
22169
- }
22170
-
22171
- /**
22172
- * IntegrationDefinitionVersion findUniqueOrThrow
22173
- */
22174
- export type IntegrationDefinitionVersionFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22175
- /**
22176
- * Select specific fields to fetch from the IntegrationDefinitionVersion
22177
- */
22178
- select?: IntegrationDefinitionVersionSelect<ExtArgs> | null
22179
- /**
22180
- * Omit specific fields from the IntegrationDefinitionVersion
22181
- */
22182
- omit?: IntegrationDefinitionVersionOmit<ExtArgs> | null
22183
- /**
22184
- * Filter, which IntegrationDefinitionVersion to fetch.
22185
- */
22186
- where: IntegrationDefinitionVersionWhereUniqueInput
22187
- }
22188
-
22189
- /**
22190
- * IntegrationDefinitionVersion findFirst
22191
- */
22192
- export type IntegrationDefinitionVersionFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22193
- /**
22194
- * Select specific fields to fetch from the IntegrationDefinitionVersion
22195
- */
22196
- select?: IntegrationDefinitionVersionSelect<ExtArgs> | null
22197
- /**
22198
- * Omit specific fields from the IntegrationDefinitionVersion
22199
- */
22200
- omit?: IntegrationDefinitionVersionOmit<ExtArgs> | null
22201
- /**
22202
- * Filter, which IntegrationDefinitionVersion to fetch.
22203
- */
22204
- where?: IntegrationDefinitionVersionWhereInput
22205
- /**
22206
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
22207
- *
22208
- * Determine the order of IntegrationDefinitionVersions to fetch.
22209
- */
22210
- orderBy?: IntegrationDefinitionVersionOrderByWithRelationInput | IntegrationDefinitionVersionOrderByWithRelationInput[]
22211
- /**
22212
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
22213
- *
22214
- * Sets the position for searching for IntegrationDefinitionVersions.
22215
- */
22216
- cursor?: IntegrationDefinitionVersionWhereUniqueInput
22217
- /**
22218
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
22219
- *
22220
- * Take `±n` IntegrationDefinitionVersions from the position of the cursor.
22221
- */
22222
- take?: number
22223
- /**
22224
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
22225
- *
22226
- * Skip the first `n` IntegrationDefinitionVersions.
22227
- */
22228
- skip?: number
22229
- /**
22230
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
22231
- *
22232
- * Filter by unique combinations of IntegrationDefinitionVersions.
22233
- */
22234
- distinct?: IntegrationDefinitionVersionScalarFieldEnum | IntegrationDefinitionVersionScalarFieldEnum[]
22235
- }
22236
-
22237
- /**
22238
- * IntegrationDefinitionVersion findFirstOrThrow
22239
- */
22240
- export type IntegrationDefinitionVersionFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22241
- /**
22242
- * Select specific fields to fetch from the IntegrationDefinitionVersion
22243
- */
22244
- select?: IntegrationDefinitionVersionSelect<ExtArgs> | null
22245
- /**
22246
- * Omit specific fields from the IntegrationDefinitionVersion
22247
- */
22248
- omit?: IntegrationDefinitionVersionOmit<ExtArgs> | null
22249
- /**
22250
- * Filter, which IntegrationDefinitionVersion to fetch.
22251
- */
22252
- where?: IntegrationDefinitionVersionWhereInput
22253
- /**
22254
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
22255
- *
22256
- * Determine the order of IntegrationDefinitionVersions to fetch.
22257
- */
22258
- orderBy?: IntegrationDefinitionVersionOrderByWithRelationInput | IntegrationDefinitionVersionOrderByWithRelationInput[]
22259
- /**
22260
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
22261
- *
22262
- * Sets the position for searching for IntegrationDefinitionVersions.
22263
- */
22264
- cursor?: IntegrationDefinitionVersionWhereUniqueInput
22265
- /**
22266
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
22267
- *
22268
- * Take `±n` IntegrationDefinitionVersions from the position of the cursor.
22269
- */
22270
- take?: number
22271
- /**
22272
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
22273
- *
22274
- * Skip the first `n` IntegrationDefinitionVersions.
22275
- */
22276
- skip?: number
22277
- /**
22278
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
22279
- *
22280
- * Filter by unique combinations of IntegrationDefinitionVersions.
22281
- */
22282
- distinct?: IntegrationDefinitionVersionScalarFieldEnum | IntegrationDefinitionVersionScalarFieldEnum[]
22283
- }
22284
-
22285
- /**
22286
- * IntegrationDefinitionVersion findMany
22287
- */
22288
- export type IntegrationDefinitionVersionFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22289
- /**
22290
- * Select specific fields to fetch from the IntegrationDefinitionVersion
22291
- */
22292
- select?: IntegrationDefinitionVersionSelect<ExtArgs> | null
22293
- /**
22294
- * Omit specific fields from the IntegrationDefinitionVersion
22295
- */
22296
- omit?: IntegrationDefinitionVersionOmit<ExtArgs> | null
22297
- /**
22298
- * Filter, which IntegrationDefinitionVersions to fetch.
22299
- */
22300
- where?: IntegrationDefinitionVersionWhereInput
22301
- /**
22302
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
22303
- *
22304
- * Determine the order of IntegrationDefinitionVersions to fetch.
22305
- */
22306
- orderBy?: IntegrationDefinitionVersionOrderByWithRelationInput | IntegrationDefinitionVersionOrderByWithRelationInput[]
22307
- /**
22308
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
22309
- *
22310
- * Sets the position for listing IntegrationDefinitionVersions.
22311
- */
22312
- cursor?: IntegrationDefinitionVersionWhereUniqueInput
22313
- /**
22314
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
22315
- *
22316
- * Take `±n` IntegrationDefinitionVersions from the position of the cursor.
22317
- */
22318
- take?: number
22319
- /**
22320
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
22321
- *
22322
- * Skip the first `n` IntegrationDefinitionVersions.
22323
- */
22324
- skip?: number
22325
- distinct?: IntegrationDefinitionVersionScalarFieldEnum | IntegrationDefinitionVersionScalarFieldEnum[]
22326
- }
22327
-
22328
- /**
22329
- * IntegrationDefinitionVersion create
22330
- */
22331
- export type IntegrationDefinitionVersionCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22332
- /**
22333
- * Select specific fields to fetch from the IntegrationDefinitionVersion
22334
- */
22335
- select?: IntegrationDefinitionVersionSelect<ExtArgs> | null
22336
- /**
22337
- * Omit specific fields from the IntegrationDefinitionVersion
22338
- */
22339
- omit?: IntegrationDefinitionVersionOmit<ExtArgs> | null
22340
- /**
22341
- * The data needed to create a IntegrationDefinitionVersion.
22342
- */
22343
- data: XOR<IntegrationDefinitionVersionCreateInput, IntegrationDefinitionVersionUncheckedCreateInput>
22344
- }
22345
-
22346
- /**
22347
- * IntegrationDefinitionVersion createMany
22348
- */
22349
- export type IntegrationDefinitionVersionCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22350
- /**
22351
- * The data used to create many IntegrationDefinitionVersions.
22352
- */
22353
- data: IntegrationDefinitionVersionCreateManyInput | IntegrationDefinitionVersionCreateManyInput[]
22354
- skipDuplicates?: boolean
22355
- }
22356
-
22357
- /**
22358
- * IntegrationDefinitionVersion createManyAndReturn
22359
- */
22360
- export type IntegrationDefinitionVersionCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22361
- /**
22362
- * Select specific fields to fetch from the IntegrationDefinitionVersion
22363
- */
22364
- select?: IntegrationDefinitionVersionSelectCreateManyAndReturn<ExtArgs> | null
22365
- /**
22366
- * Omit specific fields from the IntegrationDefinitionVersion
22367
- */
22368
- omit?: IntegrationDefinitionVersionOmit<ExtArgs> | null
22369
- /**
22370
- * The data used to create many IntegrationDefinitionVersions.
22371
- */
22372
- data: IntegrationDefinitionVersionCreateManyInput | IntegrationDefinitionVersionCreateManyInput[]
22373
- skipDuplicates?: boolean
22374
- }
22375
-
22376
- /**
22377
- * IntegrationDefinitionVersion update
22378
- */
22379
- export type IntegrationDefinitionVersionUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22380
- /**
22381
- * Select specific fields to fetch from the IntegrationDefinitionVersion
22382
- */
22383
- select?: IntegrationDefinitionVersionSelect<ExtArgs> | null
22384
- /**
22385
- * Omit specific fields from the IntegrationDefinitionVersion
22386
- */
22387
- omit?: IntegrationDefinitionVersionOmit<ExtArgs> | null
22388
- /**
22389
- * The data needed to update a IntegrationDefinitionVersion.
22390
- */
22391
- data: XOR<IntegrationDefinitionVersionUpdateInput, IntegrationDefinitionVersionUncheckedUpdateInput>
22392
- /**
22393
- * Choose, which IntegrationDefinitionVersion to update.
22394
- */
22395
- where: IntegrationDefinitionVersionWhereUniqueInput
22396
- }
22397
-
22398
- /**
22399
- * IntegrationDefinitionVersion updateMany
22400
- */
22401
- export type IntegrationDefinitionVersionUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22402
- /**
22403
- * The data used to update IntegrationDefinitionVersions.
22404
- */
22405
- data: XOR<IntegrationDefinitionVersionUpdateManyMutationInput, IntegrationDefinitionVersionUncheckedUpdateManyInput>
22406
- /**
22407
- * Filter which IntegrationDefinitionVersions to update
22408
- */
22409
- where?: IntegrationDefinitionVersionWhereInput
22410
- /**
22411
- * Limit how many IntegrationDefinitionVersions to update.
22412
- */
22413
- limit?: number
22414
- }
22415
-
22416
- /**
22417
- * IntegrationDefinitionVersion updateManyAndReturn
22418
- */
22419
- export type IntegrationDefinitionVersionUpdateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22420
- /**
22421
- * Select specific fields to fetch from the IntegrationDefinitionVersion
22422
- */
22423
- select?: IntegrationDefinitionVersionSelectUpdateManyAndReturn<ExtArgs> | null
22424
- /**
22425
- * Omit specific fields from the IntegrationDefinitionVersion
22426
- */
22427
- omit?: IntegrationDefinitionVersionOmit<ExtArgs> | null
22428
- /**
22429
- * The data used to update IntegrationDefinitionVersions.
22430
- */
22431
- data: XOR<IntegrationDefinitionVersionUpdateManyMutationInput, IntegrationDefinitionVersionUncheckedUpdateManyInput>
22432
- /**
22433
- * Filter which IntegrationDefinitionVersions to update
22434
- */
22435
- where?: IntegrationDefinitionVersionWhereInput
22436
- /**
22437
- * Limit how many IntegrationDefinitionVersions to update.
22438
- */
22439
- limit?: number
22440
- }
22441
-
22442
- /**
22443
- * IntegrationDefinitionVersion upsert
22444
- */
22445
- export type IntegrationDefinitionVersionUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22446
- /**
22447
- * Select specific fields to fetch from the IntegrationDefinitionVersion
22448
- */
22449
- select?: IntegrationDefinitionVersionSelect<ExtArgs> | null
22450
- /**
22451
- * Omit specific fields from the IntegrationDefinitionVersion
22452
- */
22453
- omit?: IntegrationDefinitionVersionOmit<ExtArgs> | null
22454
- /**
22455
- * The filter to search for the IntegrationDefinitionVersion to update in case it exists.
22456
- */
22457
- where: IntegrationDefinitionVersionWhereUniqueInput
22458
- /**
22459
- * In case the IntegrationDefinitionVersion found by the `where` argument doesn't exist, create a new IntegrationDefinitionVersion with this data.
22460
- */
22461
- create: XOR<IntegrationDefinitionVersionCreateInput, IntegrationDefinitionVersionUncheckedCreateInput>
22462
- /**
22463
- * In case the IntegrationDefinitionVersion was found with the provided `where` argument, update it with this data.
22464
- */
22465
- update: XOR<IntegrationDefinitionVersionUpdateInput, IntegrationDefinitionVersionUncheckedUpdateInput>
22466
- }
22467
-
22468
- /**
22469
- * IntegrationDefinitionVersion delete
22470
- */
22471
- export type IntegrationDefinitionVersionDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22472
- /**
22473
- * Select specific fields to fetch from the IntegrationDefinitionVersion
22474
- */
22475
- select?: IntegrationDefinitionVersionSelect<ExtArgs> | null
22476
- /**
22477
- * Omit specific fields from the IntegrationDefinitionVersion
22478
- */
22479
- omit?: IntegrationDefinitionVersionOmit<ExtArgs> | null
22480
- /**
22481
- * Filter which IntegrationDefinitionVersion to delete.
22482
- */
22483
- where: IntegrationDefinitionVersionWhereUniqueInput
22484
- }
22485
-
22486
- /**
22487
- * IntegrationDefinitionVersion deleteMany
22488
- */
22489
- export type IntegrationDefinitionVersionDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22490
- /**
22491
- * Filter which IntegrationDefinitionVersions to delete
22492
- */
22493
- where?: IntegrationDefinitionVersionWhereInput
22494
- /**
22495
- * Limit how many IntegrationDefinitionVersions to delete.
22496
- */
22497
- limit?: number
22498
- }
22499
-
22500
- /**
22501
- * IntegrationDefinitionVersion without action
22502
- */
22503
- export type IntegrationDefinitionVersionDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22504
- /**
22505
- * Select specific fields to fetch from the IntegrationDefinitionVersion
22506
- */
22507
- select?: IntegrationDefinitionVersionSelect<ExtArgs> | null
22508
- /**
22509
- * Omit specific fields from the IntegrationDefinitionVersion
22510
- */
22511
- omit?: IntegrationDefinitionVersionOmit<ExtArgs> | null
22512
- }
22513
-
22514
-
22515
- /**
22516
- * Model WorkflowRun
22517
- */
22518
-
22519
- export type AggregateWorkflowRun = {
22520
- _count: WorkflowRunCountAggregateOutputType | null
22521
- _avg: WorkflowRunAvgAggregateOutputType | null
22522
- _sum: WorkflowRunSumAggregateOutputType | null
22523
- _min: WorkflowRunMinAggregateOutputType | null
22524
- _max: WorkflowRunMaxAggregateOutputType | null
22525
- }
22526
-
22527
- export type WorkflowRunAvgAggregateOutputType = {
22528
- id: number | null
22529
- integrationId: number | null
22530
- }
22531
-
22532
- export type WorkflowRunSumAggregateOutputType = {
22533
- id: number | null
22534
- integrationId: number | null
22535
- }
22536
-
22537
- export type WorkflowRunMinAggregateOutputType = {
22538
- id: number | null
22539
- integrationId: number | null
22540
- definitionId: string | null
22541
- definitionVersion: string | null
22542
- workflowId: string | null
22543
- triggerType: string | null
22544
- eventId: string | null
22545
- status: string | null
22546
- reason: string | null
22547
- error: string | null
22548
- retryable: boolean | null
22549
- runKey: string | null
22550
- resumeAt: Date | null
22551
- startedAt: Date | null
22552
- endedAt: Date | null
22553
- createdAt: Date | null
22554
- }
22555
-
22556
- export type WorkflowRunMaxAggregateOutputType = {
22557
- id: number | null
22558
- integrationId: number | null
22559
- definitionId: string | null
22560
- definitionVersion: string | null
22561
- workflowId: string | null
22562
- triggerType: string | null
22563
- eventId: string | null
22564
- status: string | null
22565
- reason: string | null
22566
- error: string | null
22567
- retryable: boolean | null
22568
- runKey: string | null
22569
- resumeAt: Date | null
22570
- startedAt: Date | null
22571
- endedAt: Date | null
22572
- createdAt: Date | null
22573
- }
22574
-
22575
- export type WorkflowRunCountAggregateOutputType = {
22576
- id: number
22577
- integrationId: number
22578
- definitionId: number
22579
- definitionVersion: number
22580
- workflowId: number
22581
- triggerType: number
22582
- eventId: number
22583
- status: number
22584
- reason: number
22585
- error: number
22586
- retryable: number
22587
- trace: number
22588
- runKey: number
22589
- waitingFor: number
22590
- resumeAt: number
22591
- startedAt: number
22592
- endedAt: number
22593
- createdAt: number
22594
- _all: number
22595
- }
22596
-
22597
-
22598
- export type WorkflowRunAvgAggregateInputType = {
22599
- id?: true
22600
- integrationId?: true
22601
- }
22602
-
22603
- export type WorkflowRunSumAggregateInputType = {
22604
- id?: true
22605
- integrationId?: true
22606
- }
22607
-
22608
- export type WorkflowRunMinAggregateInputType = {
22609
- id?: true
22610
- integrationId?: true
22611
- definitionId?: true
22612
- definitionVersion?: true
22613
- workflowId?: true
22614
- triggerType?: true
22615
- eventId?: true
22616
- status?: true
22617
- reason?: true
22618
- error?: true
22619
- retryable?: true
22620
- runKey?: true
22621
- resumeAt?: true
22622
- startedAt?: true
22623
- endedAt?: true
22624
- createdAt?: true
22625
- }
22626
-
22627
- export type WorkflowRunMaxAggregateInputType = {
22628
- id?: true
22629
- integrationId?: true
22630
- definitionId?: true
22631
- definitionVersion?: true
22632
- workflowId?: true
22633
- triggerType?: true
22634
- eventId?: true
22635
- status?: true
22636
- reason?: true
22637
- error?: true
22638
- retryable?: true
22639
- runKey?: true
22640
- resumeAt?: true
22641
- startedAt?: true
22642
- endedAt?: true
22643
- createdAt?: true
22644
- }
22645
-
22646
- export type WorkflowRunCountAggregateInputType = {
22647
- id?: true
22648
- integrationId?: true
22649
- definitionId?: true
22650
- definitionVersion?: true
22651
- workflowId?: true
22652
- triggerType?: true
22653
- eventId?: true
22654
- status?: true
22655
- reason?: true
22656
- error?: true
22657
- retryable?: true
22658
- trace?: true
22659
- runKey?: true
22660
- waitingFor?: true
22661
- resumeAt?: true
22662
- startedAt?: true
22663
- endedAt?: true
22664
- createdAt?: true
22665
- _all?: true
22666
- }
22667
-
22668
- export type WorkflowRunAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22669
- /**
22670
- * Filter which WorkflowRun to aggregate.
22671
- */
22672
- where?: WorkflowRunWhereInput
22673
- /**
22674
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
22675
- *
22676
- * Determine the order of WorkflowRuns to fetch.
22677
- */
22678
- orderBy?: WorkflowRunOrderByWithRelationInput | WorkflowRunOrderByWithRelationInput[]
22679
- /**
22680
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
22681
- *
22682
- * Sets the start position
22683
- */
22684
- cursor?: WorkflowRunWhereUniqueInput
22685
- /**
22686
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
22687
- *
22688
- * Take `±n` WorkflowRuns from the position of the cursor.
22689
- */
22690
- take?: number
22691
- /**
22692
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
22693
- *
22694
- * Skip the first `n` WorkflowRuns.
22695
- */
22696
- skip?: number
22697
- /**
22698
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
22699
- *
22700
- * Count returned WorkflowRuns
22701
- **/
22702
- _count?: true | WorkflowRunCountAggregateInputType
22703
- /**
22704
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
22705
- *
22706
- * Select which fields to average
22707
- **/
22708
- _avg?: WorkflowRunAvgAggregateInputType
22709
- /**
22710
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
22711
- *
22712
- * Select which fields to sum
22713
- **/
22714
- _sum?: WorkflowRunSumAggregateInputType
22715
- /**
22716
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
22717
- *
22718
- * Select which fields to find the minimum value
22719
- **/
22720
- _min?: WorkflowRunMinAggregateInputType
22721
- /**
22722
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
22723
- *
22724
- * Select which fields to find the maximum value
22725
- **/
22726
- _max?: WorkflowRunMaxAggregateInputType
22727
- }
22728
-
22729
- export type GetWorkflowRunAggregateType<T extends WorkflowRunAggregateArgs> = {
22730
- [P in keyof T & keyof AggregateWorkflowRun]: P extends '_count' | 'count'
22731
- ? T[P] extends true
22732
- ? number
22733
- : GetScalarType<T[P], AggregateWorkflowRun[P]>
22734
- : GetScalarType<T[P], AggregateWorkflowRun[P]>
22735
- }
22736
-
22737
-
22738
-
22739
-
22740
- export type WorkflowRunGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22741
- where?: WorkflowRunWhereInput
22742
- orderBy?: WorkflowRunOrderByWithAggregationInput | WorkflowRunOrderByWithAggregationInput[]
22743
- by: WorkflowRunScalarFieldEnum[] | WorkflowRunScalarFieldEnum
22744
- having?: WorkflowRunScalarWhereWithAggregatesInput
22745
- take?: number
22746
- skip?: number
22747
- _count?: WorkflowRunCountAggregateInputType | true
22748
- _avg?: WorkflowRunAvgAggregateInputType
22749
- _sum?: WorkflowRunSumAggregateInputType
22750
- _min?: WorkflowRunMinAggregateInputType
22751
- _max?: WorkflowRunMaxAggregateInputType
22752
- }
22753
-
22754
- export type WorkflowRunGroupByOutputType = {
22755
- id: number
22756
- integrationId: number
22757
- definitionId: string
22758
- definitionVersion: string
22759
- workflowId: string
22760
- triggerType: string
22761
- eventId: string | null
22762
- status: string
22763
- reason: string | null
22764
- error: string | null
22765
- retryable: boolean
22766
- trace: JsonValue
22767
- runKey: string | null
22768
- waitingFor: JsonValue | null
22769
- resumeAt: Date | null
22770
- startedAt: Date
22771
- endedAt: Date | null
22772
- createdAt: Date
22773
- _count: WorkflowRunCountAggregateOutputType | null
22774
- _avg: WorkflowRunAvgAggregateOutputType | null
22775
- _sum: WorkflowRunSumAggregateOutputType | null
22776
- _min: WorkflowRunMinAggregateOutputType | null
22777
- _max: WorkflowRunMaxAggregateOutputType | null
22778
- }
22779
-
22780
- type GetWorkflowRunGroupByPayload<T extends WorkflowRunGroupByArgs> = Prisma.PrismaPromise<
22781
- Array<
22782
- PickEnumerable<WorkflowRunGroupByOutputType, T['by']> &
22783
- {
22784
- [P in ((keyof T) & (keyof WorkflowRunGroupByOutputType))]: P extends '_count'
22785
- ? T[P] extends boolean
22786
- ? number
22787
- : GetScalarType<T[P], WorkflowRunGroupByOutputType[P]>
22788
- : GetScalarType<T[P], WorkflowRunGroupByOutputType[P]>
22789
- }
22790
- >
22791
- >
22792
-
22793
-
22794
- export type WorkflowRunSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
22795
- id?: boolean
22796
- integrationId?: boolean
22797
- definitionId?: boolean
22798
- definitionVersion?: boolean
22799
- workflowId?: boolean
22800
- triggerType?: boolean
22801
- eventId?: boolean
22802
- status?: boolean
22803
- reason?: boolean
22804
- error?: boolean
22805
- retryable?: boolean
22806
- trace?: boolean
22807
- runKey?: boolean
22808
- waitingFor?: boolean
22809
- resumeAt?: boolean
22810
- startedAt?: boolean
22811
- endedAt?: boolean
22812
- createdAt?: boolean
22813
- integration?: boolean | IntegrationDefaultArgs<ExtArgs>
22814
- }, ExtArgs["result"]["workflowRun"]>
22815
-
22816
- export type WorkflowRunSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
22817
- id?: boolean
22818
- integrationId?: boolean
22819
- definitionId?: boolean
22820
- definitionVersion?: boolean
22821
- workflowId?: boolean
22822
- triggerType?: boolean
22823
- eventId?: boolean
22824
- status?: boolean
22825
- reason?: boolean
22826
- error?: boolean
22827
- retryable?: boolean
22828
- trace?: boolean
22829
- runKey?: boolean
22830
- waitingFor?: boolean
22831
- resumeAt?: boolean
22832
- startedAt?: boolean
22833
- endedAt?: boolean
22834
- createdAt?: boolean
22835
- integration?: boolean | IntegrationDefaultArgs<ExtArgs>
22836
- }, ExtArgs["result"]["workflowRun"]>
22837
-
22838
- export type WorkflowRunSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
22839
- id?: boolean
22840
- integrationId?: boolean
22841
- definitionId?: boolean
22842
- definitionVersion?: boolean
22843
- workflowId?: boolean
22844
- triggerType?: boolean
22845
- eventId?: boolean
22846
- status?: boolean
22847
- reason?: boolean
22848
- error?: boolean
22849
- retryable?: boolean
22850
- trace?: boolean
22851
- runKey?: boolean
22852
- waitingFor?: boolean
22853
- resumeAt?: boolean
22854
- startedAt?: boolean
22855
- endedAt?: boolean
22856
- createdAt?: boolean
22857
- integration?: boolean | IntegrationDefaultArgs<ExtArgs>
22858
- }, ExtArgs["result"]["workflowRun"]>
22859
-
22860
- export type WorkflowRunSelectScalar = {
22861
- id?: boolean
22862
- integrationId?: boolean
22863
- definitionId?: boolean
22864
- definitionVersion?: boolean
22865
- workflowId?: boolean
22866
- triggerType?: boolean
22867
- eventId?: boolean
22868
- status?: boolean
22869
- reason?: boolean
22870
- error?: boolean
22871
- retryable?: boolean
22872
- trace?: boolean
22873
- runKey?: boolean
22874
- waitingFor?: boolean
22875
- resumeAt?: boolean
22876
- startedAt?: boolean
22877
- endedAt?: boolean
22878
- createdAt?: boolean
22879
- }
22880
-
22881
- export type WorkflowRunOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "integrationId" | "definitionId" | "definitionVersion" | "workflowId" | "triggerType" | "eventId" | "status" | "reason" | "error" | "retryable" | "trace" | "runKey" | "waitingFor" | "resumeAt" | "startedAt" | "endedAt" | "createdAt", ExtArgs["result"]["workflowRun"]>
22882
- export type WorkflowRunInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22883
- integration?: boolean | IntegrationDefaultArgs<ExtArgs>
22884
- }
22885
- export type WorkflowRunIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22886
- integration?: boolean | IntegrationDefaultArgs<ExtArgs>
22887
- }
22888
- export type WorkflowRunIncludeUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22889
- integration?: boolean | IntegrationDefaultArgs<ExtArgs>
22890
- }
22891
-
22892
- export type $WorkflowRunPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22893
- name: "WorkflowRun"
22894
- objects: {
22895
- integration: Prisma.$IntegrationPayload<ExtArgs>
22896
- }
22897
- scalars: $Extensions.GetPayloadResult<{
22898
- id: number
22899
- integrationId: number
22900
- definitionId: string
22901
- definitionVersion: string
22902
- workflowId: string
22903
- triggerType: string
22904
- eventId: string | null
22905
- status: string
22906
- reason: string | null
22907
- error: string | null
22908
- retryable: boolean
22909
- trace: Prisma.JsonValue
22910
- /**
22911
- * The runtime's run id (run_...): how routes and resume jobs address a run
22912
- */
22913
- runKey: string | null
22914
- /**
22915
- * A paused run (status waiting): which step, and what it waits for. Never request or response bodies.
22916
- */
22917
- waitingFor: Prisma.JsonValue | null
22918
- resumeAt: Date | null
22919
- startedAt: Date
22920
- endedAt: Date | null
22921
- createdAt: Date
22922
- }, ExtArgs["result"]["workflowRun"]>
22923
- composites: {}
22924
- }
22925
-
22926
- type WorkflowRunGetPayload<S extends boolean | null | undefined | WorkflowRunDefaultArgs> = $Result.GetResult<Prisma.$WorkflowRunPayload, S>
22927
-
22928
- type WorkflowRunCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
22929
- Omit<WorkflowRunFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
22930
- select?: WorkflowRunCountAggregateInputType | true
22931
- }
22932
-
22933
- export interface WorkflowRunDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
22934
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['WorkflowRun'], meta: { name: 'WorkflowRun' } }
22935
- /**
22936
- * Find zero or one WorkflowRun that matches the filter.
22937
- * @param {WorkflowRunFindUniqueArgs} args - Arguments to find a WorkflowRun
22938
- * @example
22939
- * // Get one WorkflowRun
22940
- * const workflowRun = await prisma.workflowRun.findUnique({
22941
- * where: {
22942
- * // ... provide filter here
22943
- * }
22944
- * })
22945
- */
22946
- findUnique<T extends WorkflowRunFindUniqueArgs>(args: SelectSubset<T, WorkflowRunFindUniqueArgs<ExtArgs>>): Prisma__WorkflowRunClient<$Result.GetResult<Prisma.$WorkflowRunPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
22947
-
22948
- /**
22949
- * Find one WorkflowRun that matches the filter or throw an error with `error.code='P2025'`
22950
- * if no matches were found.
22951
- * @param {WorkflowRunFindUniqueOrThrowArgs} args - Arguments to find a WorkflowRun
22952
- * @example
22953
- * // Get one WorkflowRun
22954
- * const workflowRun = await prisma.workflowRun.findUniqueOrThrow({
22955
- * where: {
22956
- * // ... provide filter here
22957
- * }
22958
- * })
22959
- */
22960
- findUniqueOrThrow<T extends WorkflowRunFindUniqueOrThrowArgs>(args: SelectSubset<T, WorkflowRunFindUniqueOrThrowArgs<ExtArgs>>): Prisma__WorkflowRunClient<$Result.GetResult<Prisma.$WorkflowRunPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
22961
-
22962
- /**
22963
- * Find the first WorkflowRun that matches the filter.
22964
- * Note, that providing `undefined` is treated as the value not being there.
22965
- * Read more here: https://pris.ly/d/null-undefined
22966
- * @param {WorkflowRunFindFirstArgs} args - Arguments to find a WorkflowRun
22967
- * @example
22968
- * // Get one WorkflowRun
22969
- * const workflowRun = await prisma.workflowRun.findFirst({
22970
- * where: {
22971
- * // ... provide filter here
22972
- * }
22973
- * })
22974
- */
22975
- findFirst<T extends WorkflowRunFindFirstArgs>(args?: SelectSubset<T, WorkflowRunFindFirstArgs<ExtArgs>>): Prisma__WorkflowRunClient<$Result.GetResult<Prisma.$WorkflowRunPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
22976
-
22977
- /**
22978
- * Find the first WorkflowRun that matches the filter or
22979
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
22980
- * Note, that providing `undefined` is treated as the value not being there.
22981
- * Read more here: https://pris.ly/d/null-undefined
22982
- * @param {WorkflowRunFindFirstOrThrowArgs} args - Arguments to find a WorkflowRun
22983
- * @example
22984
- * // Get one WorkflowRun
22985
- * const workflowRun = await prisma.workflowRun.findFirstOrThrow({
22986
- * where: {
22987
- * // ... provide filter here
22988
- * }
22989
- * })
22990
- */
22991
- findFirstOrThrow<T extends WorkflowRunFindFirstOrThrowArgs>(args?: SelectSubset<T, WorkflowRunFindFirstOrThrowArgs<ExtArgs>>): Prisma__WorkflowRunClient<$Result.GetResult<Prisma.$WorkflowRunPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
22992
-
22993
- /**
22994
- * Find zero or more WorkflowRuns that matches the filter.
22995
- * Note, that providing `undefined` is treated as the value not being there.
22996
- * Read more here: https://pris.ly/d/null-undefined
22997
- * @param {WorkflowRunFindManyArgs} args - Arguments to filter and select certain fields only.
22998
- * @example
22999
- * // Get all WorkflowRuns
23000
- * const workflowRuns = await prisma.workflowRun.findMany()
23001
- *
23002
- * // Get first 10 WorkflowRuns
23003
- * const workflowRuns = await prisma.workflowRun.findMany({ take: 10 })
23004
- *
23005
- * // Only select the `id`
23006
- * const workflowRunWithIdOnly = await prisma.workflowRun.findMany({ select: { id: true } })
23007
- *
23008
- */
23009
- findMany<T extends WorkflowRunFindManyArgs>(args?: SelectSubset<T, WorkflowRunFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$WorkflowRunPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
23010
-
23011
- /**
23012
- * Create a WorkflowRun.
23013
- * @param {WorkflowRunCreateArgs} args - Arguments to create a WorkflowRun.
23014
- * @example
23015
- * // Create one WorkflowRun
23016
- * const WorkflowRun = await prisma.workflowRun.create({
23017
- * data: {
23018
- * // ... data to create a WorkflowRun
23019
- * }
23020
- * })
23021
- *
23022
- */
23023
- create<T extends WorkflowRunCreateArgs>(args: SelectSubset<T, WorkflowRunCreateArgs<ExtArgs>>): Prisma__WorkflowRunClient<$Result.GetResult<Prisma.$WorkflowRunPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
23024
-
23025
- /**
23026
- * Create many WorkflowRuns.
23027
- * @param {WorkflowRunCreateManyArgs} args - Arguments to create many WorkflowRuns.
23028
- * @example
23029
- * // Create many WorkflowRuns
23030
- * const workflowRun = await prisma.workflowRun.createMany({
23031
- * data: [
23032
- * // ... provide data here
23033
- * ]
23034
- * })
23035
- *
23036
- */
23037
- createMany<T extends WorkflowRunCreateManyArgs>(args?: SelectSubset<T, WorkflowRunCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
23038
-
23039
- /**
23040
- * Create many WorkflowRuns and returns the data saved in the database.
23041
- * @param {WorkflowRunCreateManyAndReturnArgs} args - Arguments to create many WorkflowRuns.
23042
- * @example
23043
- * // Create many WorkflowRuns
23044
- * const workflowRun = await prisma.workflowRun.createManyAndReturn({
23045
- * data: [
23046
- * // ... provide data here
23047
- * ]
23048
- * })
23049
- *
23050
- * // Create many WorkflowRuns and only return the `id`
23051
- * const workflowRunWithIdOnly = await prisma.workflowRun.createManyAndReturn({
23052
- * select: { id: true },
23053
- * data: [
23054
- * // ... provide data here
23055
- * ]
23056
- * })
23057
- * Note, that providing `undefined` is treated as the value not being there.
23058
- * Read more here: https://pris.ly/d/null-undefined
23059
- *
23060
- */
23061
- createManyAndReturn<T extends WorkflowRunCreateManyAndReturnArgs>(args?: SelectSubset<T, WorkflowRunCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$WorkflowRunPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
23062
-
23063
- /**
23064
- * Delete a WorkflowRun.
23065
- * @param {WorkflowRunDeleteArgs} args - Arguments to delete one WorkflowRun.
23066
- * @example
23067
- * // Delete one WorkflowRun
23068
- * const WorkflowRun = await prisma.workflowRun.delete({
23069
- * where: {
23070
- * // ... filter to delete one WorkflowRun
23071
- * }
23072
- * })
23073
- *
23074
- */
23075
- delete<T extends WorkflowRunDeleteArgs>(args: SelectSubset<T, WorkflowRunDeleteArgs<ExtArgs>>): Prisma__WorkflowRunClient<$Result.GetResult<Prisma.$WorkflowRunPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
23076
-
23077
- /**
23078
- * Update one WorkflowRun.
23079
- * @param {WorkflowRunUpdateArgs} args - Arguments to update one WorkflowRun.
23080
- * @example
23081
- * // Update one WorkflowRun
23082
- * const workflowRun = await prisma.workflowRun.update({
23083
- * where: {
23084
- * // ... provide filter here
23085
- * },
23086
- * data: {
23087
- * // ... provide data here
23088
- * }
23089
- * })
23090
- *
23091
- */
23092
- update<T extends WorkflowRunUpdateArgs>(args: SelectSubset<T, WorkflowRunUpdateArgs<ExtArgs>>): Prisma__WorkflowRunClient<$Result.GetResult<Prisma.$WorkflowRunPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
23093
-
23094
- /**
23095
- * Delete zero or more WorkflowRuns.
23096
- * @param {WorkflowRunDeleteManyArgs} args - Arguments to filter WorkflowRuns to delete.
23097
- * @example
23098
- * // Delete a few WorkflowRuns
23099
- * const { count } = await prisma.workflowRun.deleteMany({
23100
- * where: {
23101
- * // ... provide filter here
23102
- * }
23103
- * })
23104
- *
23105
- */
23106
- deleteMany<T extends WorkflowRunDeleteManyArgs>(args?: SelectSubset<T, WorkflowRunDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
23107
-
23108
- /**
23109
- * Update zero or more WorkflowRuns.
23110
- * Note, that providing `undefined` is treated as the value not being there.
23111
- * Read more here: https://pris.ly/d/null-undefined
23112
- * @param {WorkflowRunUpdateManyArgs} args - Arguments to update one or more rows.
23113
- * @example
23114
- * // Update many WorkflowRuns
23115
- * const workflowRun = await prisma.workflowRun.updateMany({
23116
- * where: {
23117
- * // ... provide filter here
23118
- * },
23119
- * data: {
23120
- * // ... provide data here
23121
- * }
23122
- * })
23123
- *
23124
- */
23125
- updateMany<T extends WorkflowRunUpdateManyArgs>(args: SelectSubset<T, WorkflowRunUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
23126
-
23127
- /**
23128
- * Update zero or more WorkflowRuns and returns the data updated in the database.
23129
- * @param {WorkflowRunUpdateManyAndReturnArgs} args - Arguments to update many WorkflowRuns.
23130
- * @example
23131
- * // Update many WorkflowRuns
23132
- * const workflowRun = await prisma.workflowRun.updateManyAndReturn({
23133
- * where: {
23134
- * // ... provide filter here
23135
- * },
23136
- * data: [
23137
- * // ... provide data here
23138
- * ]
23139
- * })
23140
- *
23141
- * // Update zero or more WorkflowRuns and only return the `id`
23142
- * const workflowRunWithIdOnly = await prisma.workflowRun.updateManyAndReturn({
23143
- * select: { id: true },
23144
- * where: {
23145
- * // ... provide filter here
23146
- * },
23147
- * data: [
23148
- * // ... provide data here
23149
- * ]
23150
- * })
23151
- * Note, that providing `undefined` is treated as the value not being there.
23152
- * Read more here: https://pris.ly/d/null-undefined
23153
- *
23154
- */
23155
- updateManyAndReturn<T extends WorkflowRunUpdateManyAndReturnArgs>(args: SelectSubset<T, WorkflowRunUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$WorkflowRunPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
23156
-
23157
- /**
23158
- * Create or update one WorkflowRun.
23159
- * @param {WorkflowRunUpsertArgs} args - Arguments to update or create a WorkflowRun.
23160
- * @example
23161
- * // Update or create a WorkflowRun
23162
- * const workflowRun = await prisma.workflowRun.upsert({
23163
- * create: {
23164
- * // ... data to create a WorkflowRun
23165
- * },
23166
- * update: {
23167
- * // ... in case it already exists, update
23168
- * },
23169
- * where: {
23170
- * // ... the filter for the WorkflowRun we want to update
23171
- * }
23172
- * })
23173
- */
23174
- upsert<T extends WorkflowRunUpsertArgs>(args: SelectSubset<T, WorkflowRunUpsertArgs<ExtArgs>>): Prisma__WorkflowRunClient<$Result.GetResult<Prisma.$WorkflowRunPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
23175
-
23176
-
23177
- /**
23178
- * Count the number of WorkflowRuns.
23179
- * Note, that providing `undefined` is treated as the value not being there.
23180
- * Read more here: https://pris.ly/d/null-undefined
23181
- * @param {WorkflowRunCountArgs} args - Arguments to filter WorkflowRuns to count.
23182
- * @example
23183
- * // Count the number of WorkflowRuns
23184
- * const count = await prisma.workflowRun.count({
23185
- * where: {
23186
- * // ... the filter for the WorkflowRuns we want to count
23187
- * }
23188
- * })
23189
- **/
23190
- count<T extends WorkflowRunCountArgs>(
23191
- args?: Subset<T, WorkflowRunCountArgs>,
23192
- ): Prisma.PrismaPromise<
23193
- T extends $Utils.Record<'select', any>
23194
- ? T['select'] extends true
23195
- ? number
23196
- : GetScalarType<T['select'], WorkflowRunCountAggregateOutputType>
23197
- : number
23198
- >
23199
-
23200
- /**
23201
- * Allows you to perform aggregations operations on a WorkflowRun.
23202
- * Note, that providing `undefined` is treated as the value not being there.
23203
- * Read more here: https://pris.ly/d/null-undefined
23204
- * @param {WorkflowRunAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
23205
- * @example
23206
- * // Ordered by age ascending
23207
- * // Where email contains prisma.io
23208
- * // Limited to the 10 users
23209
- * const aggregations = await prisma.user.aggregate({
23210
- * _avg: {
23211
- * age: true,
23212
- * },
23213
- * where: {
23214
- * email: {
23215
- * contains: "prisma.io",
23216
- * },
23217
- * },
23218
- * orderBy: {
23219
- * age: "asc",
23220
- * },
23221
- * take: 10,
23222
- * })
23223
- **/
23224
- aggregate<T extends WorkflowRunAggregateArgs>(args: Subset<T, WorkflowRunAggregateArgs>): Prisma.PrismaPromise<GetWorkflowRunAggregateType<T>>
23225
-
23226
- /**
23227
- * Group by WorkflowRun.
23228
- * Note, that providing `undefined` is treated as the value not being there.
23229
- * Read more here: https://pris.ly/d/null-undefined
23230
- * @param {WorkflowRunGroupByArgs} args - Group by arguments.
23231
- * @example
23232
- * // Group by city, order by createdAt, get count
23233
- * const result = await prisma.user.groupBy({
23234
- * by: ['city', 'createdAt'],
23235
- * orderBy: {
23236
- * createdAt: true
23237
- * },
23238
- * _count: {
23239
- * _all: true
23240
- * },
23241
- * })
23242
- *
23243
- **/
23244
- groupBy<
23245
- T extends WorkflowRunGroupByArgs,
23246
- HasSelectOrTake extends Or<
23247
- Extends<'skip', Keys<T>>,
23248
- Extends<'take', Keys<T>>
23249
- >,
23250
- OrderByArg extends True extends HasSelectOrTake
23251
- ? { orderBy: WorkflowRunGroupByArgs['orderBy'] }
23252
- : { orderBy?: WorkflowRunGroupByArgs['orderBy'] },
23253
- OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
23254
- ByFields extends MaybeTupleToUnion<T['by']>,
23255
- ByValid extends Has<ByFields, OrderFields>,
23256
- HavingFields extends GetHavingFields<T['having']>,
23257
- HavingValid extends Has<ByFields, HavingFields>,
23258
- ByEmpty extends T['by'] extends never[] ? True : False,
23259
- InputErrors extends ByEmpty extends True
23260
- ? `Error: "by" must not be empty.`
23261
- : HavingValid extends False
23262
- ? {
23263
- [P in HavingFields]: P extends ByFields
23264
- ? never
23265
- : P extends string
23266
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
23267
- : [
23268
- Error,
23269
- 'Field ',
23270
- P,
23271
- ` in "having" needs to be provided in "by"`,
23272
- ]
23273
- }[HavingFields]
23274
- : 'take' extends Keys<T>
23275
- ? 'orderBy' extends Keys<T>
23276
- ? ByValid extends True
23277
- ? {}
23278
- : {
23279
- [P in OrderFields]: P extends ByFields
23280
- ? never
23281
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
23282
- }[OrderFields]
23283
- : 'Error: If you provide "take", you also need to provide "orderBy"'
23284
- : 'skip' extends Keys<T>
23285
- ? 'orderBy' extends Keys<T>
23286
- ? ByValid extends True
23287
- ? {}
23288
- : {
23289
- [P in OrderFields]: P extends ByFields
23290
- ? never
23291
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
23292
- }[OrderFields]
23293
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
23294
- : ByValid extends True
23295
- ? {}
23296
- : {
23297
- [P in OrderFields]: P extends ByFields
23298
- ? never
23299
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
23300
- }[OrderFields]
23301
- >(args: SubsetIntersection<T, WorkflowRunGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetWorkflowRunGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
23302
- /**
23303
- * Fields of the WorkflowRun model
23304
- */
23305
- readonly fields: WorkflowRunFieldRefs;
23306
- }
23307
-
23308
- /**
23309
- * The delegate class that acts as a "Promise-like" for WorkflowRun.
23310
- * Why is this prefixed with `Prisma__`?
23311
- * Because we want to prevent naming conflicts as mentioned in
23312
- * https://github.com/prisma/prisma-client-js/issues/707
23313
- */
23314
- export interface Prisma__WorkflowRunClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
23315
- readonly [Symbol.toStringTag]: "PrismaPromise"
23316
- integration<T extends IntegrationDefaultArgs<ExtArgs> = {}>(args?: Subset<T, IntegrationDefaultArgs<ExtArgs>>): Prisma__IntegrationClient<$Result.GetResult<Prisma.$IntegrationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
23317
- /**
23318
- * Attaches callbacks for the resolution and/or rejection of the Promise.
23319
- * @param onfulfilled The callback to execute when the Promise is resolved.
23320
- * @param onrejected The callback to execute when the Promise is rejected.
23321
- * @returns A Promise for the completion of which ever callback is executed.
23322
- */
23323
- then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
23324
- /**
23325
- * Attaches a callback for only the rejection of the Promise.
23326
- * @param onrejected The callback to execute when the Promise is rejected.
23327
- * @returns A Promise for the completion of the callback.
23328
- */
23329
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
23330
- /**
23331
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
23332
- * resolved value cannot be modified from the callback.
23333
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
23334
- * @returns A Promise for the completion of the callback.
23335
- */
23336
- finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
23337
- }
23338
-
23339
-
23340
-
23341
-
23342
- /**
23343
- * Fields of the WorkflowRun model
23344
- */
23345
- interface WorkflowRunFieldRefs {
23346
- readonly id: FieldRef<"WorkflowRun", 'Int'>
23347
- readonly integrationId: FieldRef<"WorkflowRun", 'Int'>
23348
- readonly definitionId: FieldRef<"WorkflowRun", 'String'>
23349
- readonly definitionVersion: FieldRef<"WorkflowRun", 'String'>
23350
- readonly workflowId: FieldRef<"WorkflowRun", 'String'>
23351
- readonly triggerType: FieldRef<"WorkflowRun", 'String'>
23352
- readonly eventId: FieldRef<"WorkflowRun", 'String'>
23353
- readonly status: FieldRef<"WorkflowRun", 'String'>
23354
- readonly reason: FieldRef<"WorkflowRun", 'String'>
23355
- readonly error: FieldRef<"WorkflowRun", 'String'>
23356
- readonly retryable: FieldRef<"WorkflowRun", 'Boolean'>
23357
- readonly trace: FieldRef<"WorkflowRun", 'Json'>
23358
- readonly runKey: FieldRef<"WorkflowRun", 'String'>
23359
- readonly waitingFor: FieldRef<"WorkflowRun", 'Json'>
23360
- readonly resumeAt: FieldRef<"WorkflowRun", 'DateTime'>
23361
- readonly startedAt: FieldRef<"WorkflowRun", 'DateTime'>
23362
- readonly endedAt: FieldRef<"WorkflowRun", 'DateTime'>
23363
- readonly createdAt: FieldRef<"WorkflowRun", 'DateTime'>
23364
- }
23365
-
23366
-
23367
- // Custom InputTypes
23368
- /**
23369
- * WorkflowRun findUnique
23370
- */
23371
- export type WorkflowRunFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
23372
- /**
23373
- * Select specific fields to fetch from the WorkflowRun
23374
- */
23375
- select?: WorkflowRunSelect<ExtArgs> | null
23376
- /**
23377
- * Omit specific fields from the WorkflowRun
23378
- */
23379
- omit?: WorkflowRunOmit<ExtArgs> | null
23380
- /**
23381
- * Choose, which related nodes to fetch as well
23382
- */
23383
- include?: WorkflowRunInclude<ExtArgs> | null
23384
- /**
23385
- * Filter, which WorkflowRun to fetch.
23386
- */
23387
- where: WorkflowRunWhereUniqueInput
23388
- }
23389
-
23390
- /**
23391
- * WorkflowRun findUniqueOrThrow
23392
- */
23393
- export type WorkflowRunFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
23394
- /**
23395
- * Select specific fields to fetch from the WorkflowRun
23396
- */
23397
- select?: WorkflowRunSelect<ExtArgs> | null
23398
- /**
23399
- * Omit specific fields from the WorkflowRun
23400
- */
23401
- omit?: WorkflowRunOmit<ExtArgs> | null
23402
- /**
23403
- * Choose, which related nodes to fetch as well
23404
- */
23405
- include?: WorkflowRunInclude<ExtArgs> | null
23406
- /**
23407
- * Filter, which WorkflowRun to fetch.
23408
- */
23409
- where: WorkflowRunWhereUniqueInput
23410
- }
23411
-
23412
- /**
23413
- * WorkflowRun findFirst
23414
- */
23415
- export type WorkflowRunFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
23416
- /**
23417
- * Select specific fields to fetch from the WorkflowRun
23418
- */
23419
- select?: WorkflowRunSelect<ExtArgs> | null
23420
- /**
23421
- * Omit specific fields from the WorkflowRun
23422
- */
23423
- omit?: WorkflowRunOmit<ExtArgs> | null
23424
- /**
23425
- * Choose, which related nodes to fetch as well
23426
- */
23427
- include?: WorkflowRunInclude<ExtArgs> | null
23428
- /**
23429
- * Filter, which WorkflowRun to fetch.
23430
- */
23431
- where?: WorkflowRunWhereInput
23432
- /**
23433
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
23434
- *
23435
- * Determine the order of WorkflowRuns to fetch.
23436
- */
23437
- orderBy?: WorkflowRunOrderByWithRelationInput | WorkflowRunOrderByWithRelationInput[]
23438
- /**
23439
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
23440
- *
23441
- * Sets the position for searching for WorkflowRuns.
23442
- */
23443
- cursor?: WorkflowRunWhereUniqueInput
23444
- /**
23445
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
23446
- *
23447
- * Take `±n` WorkflowRuns from the position of the cursor.
23448
- */
23449
- take?: number
23450
- /**
23451
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
23452
- *
23453
- * Skip the first `n` WorkflowRuns.
23454
- */
23455
- skip?: number
23456
- /**
23457
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
23458
- *
23459
- * Filter by unique combinations of WorkflowRuns.
23460
- */
23461
- distinct?: WorkflowRunScalarFieldEnum | WorkflowRunScalarFieldEnum[]
23462
- }
23463
-
23464
- /**
23465
- * WorkflowRun findFirstOrThrow
23466
- */
23467
- export type WorkflowRunFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
23468
- /**
23469
- * Select specific fields to fetch from the WorkflowRun
23470
- */
23471
- select?: WorkflowRunSelect<ExtArgs> | null
23472
- /**
23473
- * Omit specific fields from the WorkflowRun
23474
- */
23475
- omit?: WorkflowRunOmit<ExtArgs> | null
23476
- /**
23477
- * Choose, which related nodes to fetch as well
23478
- */
23479
- include?: WorkflowRunInclude<ExtArgs> | null
23480
- /**
23481
- * Filter, which WorkflowRun to fetch.
23482
- */
23483
- where?: WorkflowRunWhereInput
23484
- /**
23485
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
23486
- *
23487
- * Determine the order of WorkflowRuns to fetch.
23488
- */
23489
- orderBy?: WorkflowRunOrderByWithRelationInput | WorkflowRunOrderByWithRelationInput[]
23490
- /**
23491
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
23492
- *
23493
- * Sets the position for searching for WorkflowRuns.
23494
- */
23495
- cursor?: WorkflowRunWhereUniqueInput
23496
- /**
23497
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
23498
- *
23499
- * Take `±n` WorkflowRuns from the position of the cursor.
23500
- */
23501
- take?: number
23502
- /**
23503
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
23504
- *
23505
- * Skip the first `n` WorkflowRuns.
23506
- */
23507
- skip?: number
23508
- /**
23509
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
23510
- *
23511
- * Filter by unique combinations of WorkflowRuns.
23512
- */
23513
- distinct?: WorkflowRunScalarFieldEnum | WorkflowRunScalarFieldEnum[]
23514
- }
23515
-
23516
- /**
23517
- * WorkflowRun findMany
23518
- */
23519
- export type WorkflowRunFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
23520
- /**
23521
- * Select specific fields to fetch from the WorkflowRun
23522
- */
23523
- select?: WorkflowRunSelect<ExtArgs> | null
23524
- /**
23525
- * Omit specific fields from the WorkflowRun
23526
- */
23527
- omit?: WorkflowRunOmit<ExtArgs> | null
23528
- /**
23529
- * Choose, which related nodes to fetch as well
23530
- */
23531
- include?: WorkflowRunInclude<ExtArgs> | null
23532
- /**
23533
- * Filter, which WorkflowRuns to fetch.
23534
- */
23535
- where?: WorkflowRunWhereInput
23536
- /**
23537
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
23538
- *
23539
- * Determine the order of WorkflowRuns to fetch.
23540
- */
23541
- orderBy?: WorkflowRunOrderByWithRelationInput | WorkflowRunOrderByWithRelationInput[]
23542
- /**
23543
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
23544
- *
23545
- * Sets the position for listing WorkflowRuns.
23546
- */
23547
- cursor?: WorkflowRunWhereUniqueInput
23548
- /**
23549
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
23550
- *
23551
- * Take `±n` WorkflowRuns from the position of the cursor.
23552
- */
23553
- take?: number
23554
- /**
23555
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
23556
- *
23557
- * Skip the first `n` WorkflowRuns.
23558
- */
23559
- skip?: number
23560
- distinct?: WorkflowRunScalarFieldEnum | WorkflowRunScalarFieldEnum[]
23561
- }
23562
-
23563
- /**
23564
- * WorkflowRun create
23565
- */
23566
- export type WorkflowRunCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
23567
- /**
23568
- * Select specific fields to fetch from the WorkflowRun
23569
- */
23570
- select?: WorkflowRunSelect<ExtArgs> | null
23571
- /**
23572
- * Omit specific fields from the WorkflowRun
23573
- */
23574
- omit?: WorkflowRunOmit<ExtArgs> | null
23575
- /**
23576
- * Choose, which related nodes to fetch as well
23577
- */
23578
- include?: WorkflowRunInclude<ExtArgs> | null
23579
- /**
23580
- * The data needed to create a WorkflowRun.
23581
- */
23582
- data: XOR<WorkflowRunCreateInput, WorkflowRunUncheckedCreateInput>
23583
- }
23584
-
23585
- /**
23586
- * WorkflowRun createMany
23587
- */
23588
- export type WorkflowRunCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
23589
- /**
23590
- * The data used to create many WorkflowRuns.
23591
- */
23592
- data: WorkflowRunCreateManyInput | WorkflowRunCreateManyInput[]
23593
- skipDuplicates?: boolean
23594
- }
23595
-
23596
- /**
23597
- * WorkflowRun createManyAndReturn
23598
- */
23599
- export type WorkflowRunCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
23600
- /**
23601
- * Select specific fields to fetch from the WorkflowRun
23602
- */
23603
- select?: WorkflowRunSelectCreateManyAndReturn<ExtArgs> | null
23604
- /**
23605
- * Omit specific fields from the WorkflowRun
23606
- */
23607
- omit?: WorkflowRunOmit<ExtArgs> | null
23608
- /**
23609
- * The data used to create many WorkflowRuns.
23610
- */
23611
- data: WorkflowRunCreateManyInput | WorkflowRunCreateManyInput[]
23612
- skipDuplicates?: boolean
23613
- /**
23614
- * Choose, which related nodes to fetch as well
23615
- */
23616
- include?: WorkflowRunIncludeCreateManyAndReturn<ExtArgs> | null
23617
- }
23618
-
23619
- /**
23620
- * WorkflowRun update
23621
- */
23622
- export type WorkflowRunUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
23623
- /**
23624
- * Select specific fields to fetch from the WorkflowRun
23625
- */
23626
- select?: WorkflowRunSelect<ExtArgs> | null
23627
- /**
23628
- * Omit specific fields from the WorkflowRun
23629
- */
23630
- omit?: WorkflowRunOmit<ExtArgs> | null
23631
- /**
23632
- * Choose, which related nodes to fetch as well
23633
- */
23634
- include?: WorkflowRunInclude<ExtArgs> | null
23635
- /**
23636
- * The data needed to update a WorkflowRun.
23637
- */
23638
- data: XOR<WorkflowRunUpdateInput, WorkflowRunUncheckedUpdateInput>
23639
- /**
23640
- * Choose, which WorkflowRun to update.
23641
- */
23642
- where: WorkflowRunWhereUniqueInput
23643
- }
23644
-
23645
- /**
23646
- * WorkflowRun updateMany
23647
- */
23648
- export type WorkflowRunUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
23649
- /**
23650
- * The data used to update WorkflowRuns.
23651
- */
23652
- data: XOR<WorkflowRunUpdateManyMutationInput, WorkflowRunUncheckedUpdateManyInput>
23653
- /**
23654
- * Filter which WorkflowRuns to update
23655
- */
23656
- where?: WorkflowRunWhereInput
23657
- /**
23658
- * Limit how many WorkflowRuns to update.
23659
- */
23660
- limit?: number
23661
- }
23662
-
23663
- /**
23664
- * WorkflowRun updateManyAndReturn
23665
- */
23666
- export type WorkflowRunUpdateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
23667
- /**
23668
- * Select specific fields to fetch from the WorkflowRun
23669
- */
23670
- select?: WorkflowRunSelectUpdateManyAndReturn<ExtArgs> | null
23671
- /**
23672
- * Omit specific fields from the WorkflowRun
23673
- */
23674
- omit?: WorkflowRunOmit<ExtArgs> | null
23675
- /**
23676
- * The data used to update WorkflowRuns.
23677
- */
23678
- data: XOR<WorkflowRunUpdateManyMutationInput, WorkflowRunUncheckedUpdateManyInput>
23679
- /**
23680
- * Filter which WorkflowRuns to update
23681
- */
23682
- where?: WorkflowRunWhereInput
23683
- /**
23684
- * Limit how many WorkflowRuns to update.
23685
- */
23686
- limit?: number
23687
- /**
23688
- * Choose, which related nodes to fetch as well
23689
- */
23690
- include?: WorkflowRunIncludeUpdateManyAndReturn<ExtArgs> | null
23691
- }
23692
-
23693
- /**
23694
- * WorkflowRun upsert
23695
- */
23696
- export type WorkflowRunUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
23697
- /**
23698
- * Select specific fields to fetch from the WorkflowRun
23699
- */
23700
- select?: WorkflowRunSelect<ExtArgs> | null
23701
- /**
23702
- * Omit specific fields from the WorkflowRun
23703
- */
23704
- omit?: WorkflowRunOmit<ExtArgs> | null
23705
- /**
23706
- * Choose, which related nodes to fetch as well
23707
- */
23708
- include?: WorkflowRunInclude<ExtArgs> | null
23709
- /**
23710
- * The filter to search for the WorkflowRun to update in case it exists.
23711
- */
23712
- where: WorkflowRunWhereUniqueInput
23713
- /**
23714
- * In case the WorkflowRun found by the `where` argument doesn't exist, create a new WorkflowRun with this data.
23715
- */
23716
- create: XOR<WorkflowRunCreateInput, WorkflowRunUncheckedCreateInput>
23717
- /**
23718
- * In case the WorkflowRun was found with the provided `where` argument, update it with this data.
23719
- */
23720
- update: XOR<WorkflowRunUpdateInput, WorkflowRunUncheckedUpdateInput>
23721
- }
23722
-
23723
- /**
23724
- * WorkflowRun delete
23725
- */
23726
- export type WorkflowRunDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
23727
- /**
23728
- * Select specific fields to fetch from the WorkflowRun
23729
- */
23730
- select?: WorkflowRunSelect<ExtArgs> | null
23731
- /**
23732
- * Omit specific fields from the WorkflowRun
23733
- */
23734
- omit?: WorkflowRunOmit<ExtArgs> | null
23735
- /**
23736
- * Choose, which related nodes to fetch as well
23737
- */
23738
- include?: WorkflowRunInclude<ExtArgs> | null
23739
- /**
23740
- * Filter which WorkflowRun to delete.
23741
- */
23742
- where: WorkflowRunWhereUniqueInput
23743
- }
23744
-
23745
- /**
23746
- * WorkflowRun deleteMany
23747
- */
23748
- export type WorkflowRunDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
23749
- /**
23750
- * Filter which WorkflowRuns to delete
23751
- */
23752
- where?: WorkflowRunWhereInput
23753
- /**
23754
- * Limit how many WorkflowRuns to delete.
23755
- */
23756
- limit?: number
23757
- }
23758
-
23759
- /**
23760
- * WorkflowRun without action
23761
- */
23762
- export type WorkflowRunDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
23763
- /**
23764
- * Select specific fields to fetch from the WorkflowRun
23765
- */
23766
- select?: WorkflowRunSelect<ExtArgs> | null
23767
- /**
23768
- * Omit specific fields from the WorkflowRun
23769
- */
23770
- omit?: WorkflowRunOmit<ExtArgs> | null
23771
- /**
23772
- * Choose, which related nodes to fetch as well
23773
- */
23774
- include?: WorkflowRunInclude<ExtArgs> | null
23775
- }
23776
-
23777
-
23778
- /**
23779
- * Enums
23780
- */
23781
-
23782
- export const TransactionIsolationLevel: {
23783
- ReadUncommitted: 'ReadUncommitted',
23784
- ReadCommitted: 'ReadCommitted',
23785
- RepeatableRead: 'RepeatableRead',
23786
- Serializable: 'Serializable'
23787
- };
23788
-
23789
- export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel]
23790
-
23791
-
23792
- export const UserScalarFieldEnum: {
23793
- id: 'id',
23794
- type: 'type',
23795
- createdAt: 'createdAt',
23796
- updatedAt: 'updatedAt',
23797
- email: 'email',
23798
- username: 'username',
23799
- hashword: 'hashword',
23800
- appUserId: 'appUserId',
23801
- organizationId: 'organizationId',
23802
- appOrgId: 'appOrgId',
23803
- name: 'name'
23804
- };
23805
-
23806
- export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum]
23807
-
23808
-
23809
- export const TokenScalarFieldEnum: {
23810
- id: 'id',
23811
- token: 'token',
23812
- created: 'created',
23813
- expires: 'expires',
23814
- userId: 'userId'
23815
- };
23816
-
23817
- export type TokenScalarFieldEnum = (typeof TokenScalarFieldEnum)[keyof typeof TokenScalarFieldEnum]
23818
-
23819
-
23820
- export const CredentialScalarFieldEnum: {
23821
- id: 'id',
23822
- userId: 'userId',
23823
- authIsValid: 'authIsValid',
23824
- externalId: 'externalId',
23825
- data: 'data',
23826
- createdAt: 'createdAt',
23827
- updatedAt: 'updatedAt'
23828
- };
23829
-
23830
- export type CredentialScalarFieldEnum = (typeof CredentialScalarFieldEnum)[keyof typeof CredentialScalarFieldEnum]
21179
+ export type CredentialScalarFieldEnum = (typeof CredentialScalarFieldEnum)[keyof typeof CredentialScalarFieldEnum]
23831
21180
 
23832
21181
 
23833
21182
  export const EntityScalarFieldEnum: {
@@ -23997,51 +21346,6 @@ export namespace Prisma {
23997
21346
  export type UsageCounterScalarFieldEnum = (typeof UsageCounterScalarFieldEnum)[keyof typeof UsageCounterScalarFieldEnum]
23998
21347
 
23999
21348
 
24000
- export const IntegrationDefinitionVersionScalarFieldEnum: {
24001
- id: 'id',
24002
- definitionId: 'definitionId',
24003
- version: 'version',
24004
- schemaVersion: 'schemaVersion',
24005
- status: 'status',
24006
- checksum: 'checksum',
24007
- document: 'document',
24008
- changeLevel: 'changeLevel',
24009
- previousVersion: 'previousVersion',
24010
- notes: 'notes',
24011
- createdBy: 'createdBy',
24012
- workspaceId: 'workspaceId',
24013
- publishedAt: 'publishedAt',
24014
- createdAt: 'createdAt',
24015
- updatedAt: 'updatedAt'
24016
- };
24017
-
24018
- export type IntegrationDefinitionVersionScalarFieldEnum = (typeof IntegrationDefinitionVersionScalarFieldEnum)[keyof typeof IntegrationDefinitionVersionScalarFieldEnum]
24019
-
24020
-
24021
- export const WorkflowRunScalarFieldEnum: {
24022
- id: 'id',
24023
- integrationId: 'integrationId',
24024
- definitionId: 'definitionId',
24025
- definitionVersion: 'definitionVersion',
24026
- workflowId: 'workflowId',
24027
- triggerType: 'triggerType',
24028
- eventId: 'eventId',
24029
- status: 'status',
24030
- reason: 'reason',
24031
- error: 'error',
24032
- retryable: 'retryable',
24033
- trace: 'trace',
24034
- runKey: 'runKey',
24035
- waitingFor: 'waitingFor',
24036
- resumeAt: 'resumeAt',
24037
- startedAt: 'startedAt',
24038
- endedAt: 'endedAt',
24039
- createdAt: 'createdAt'
24040
- };
24041
-
24042
- export type WorkflowRunScalarFieldEnum = (typeof WorkflowRunScalarFieldEnum)[keyof typeof WorkflowRunScalarFieldEnum]
24043
-
24044
-
24045
21349
  export const SortOrder: {
24046
21350
  asc: 'asc',
24047
21351
  desc: 'desc'
@@ -24228,20 +21532,6 @@ export namespace Prisma {
24228
21532
 
24229
21533
 
24230
21534
 
24231
- /**
24232
- * Reference to a field of type 'DefinitionStatus'
24233
- */
24234
- export type EnumDefinitionStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DefinitionStatus'>
24235
-
24236
-
24237
-
24238
- /**
24239
- * Reference to a field of type 'DefinitionStatus[]'
24240
- */
24241
- export type ListEnumDefinitionStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DefinitionStatus[]'>
24242
-
24243
-
24244
-
24245
21535
  /**
24246
21536
  * Reference to a field of type 'Float'
24247
21537
  */
@@ -24605,7 +21895,6 @@ export namespace Prisma {
24605
21895
  syncs?: SyncListRelationFilter
24606
21896
  mappings?: IntegrationMappingListRelationFilter
24607
21897
  processes?: ProcessListRelationFilter
24608
- workflowRuns?: WorkflowRunListRelationFilter
24609
21898
  }
24610
21899
 
24611
21900
  export type IntegrationOrderByWithRelationInput = {
@@ -24626,7 +21915,6 @@ export namespace Prisma {
24626
21915
  syncs?: SyncOrderByRelationAggregateInput
24627
21916
  mappings?: IntegrationMappingOrderByRelationAggregateInput
24628
21917
  processes?: ProcessOrderByRelationAggregateInput
24629
- workflowRuns?: WorkflowRunOrderByRelationAggregateInput
24630
21918
  }
24631
21919
 
24632
21920
  export type IntegrationWhereUniqueInput = Prisma.AtLeast<{
@@ -24650,7 +21938,6 @@ export namespace Prisma {
24650
21938
  syncs?: SyncListRelationFilter
24651
21939
  mappings?: IntegrationMappingListRelationFilter
24652
21940
  processes?: ProcessListRelationFilter
24653
- workflowRuns?: WorkflowRunListRelationFilter
24654
21941
  }, "id">
24655
21942
 
24656
21943
  export type IntegrationOrderByWithAggregationInput = {
@@ -25403,233 +22690,6 @@ export namespace Prisma {
25403
22690
  updatedAt?: DateTimeWithAggregatesFilter<"UsageCounter"> | Date | string
25404
22691
  }
25405
22692
 
25406
- export type IntegrationDefinitionVersionWhereInput = {
25407
- AND?: IntegrationDefinitionVersionWhereInput | IntegrationDefinitionVersionWhereInput[]
25408
- OR?: IntegrationDefinitionVersionWhereInput[]
25409
- NOT?: IntegrationDefinitionVersionWhereInput | IntegrationDefinitionVersionWhereInput[]
25410
- id?: IntFilter<"IntegrationDefinitionVersion"> | number
25411
- definitionId?: StringFilter<"IntegrationDefinitionVersion"> | string
25412
- version?: StringFilter<"IntegrationDefinitionVersion"> | string
25413
- schemaVersion?: StringFilter<"IntegrationDefinitionVersion"> | string
25414
- status?: EnumDefinitionStatusFilter<"IntegrationDefinitionVersion"> | $Enums.DefinitionStatus
25415
- checksum?: StringFilter<"IntegrationDefinitionVersion"> | string
25416
- document?: JsonFilter<"IntegrationDefinitionVersion">
25417
- changeLevel?: StringNullableFilter<"IntegrationDefinitionVersion"> | string | null
25418
- previousVersion?: StringNullableFilter<"IntegrationDefinitionVersion"> | string | null
25419
- notes?: StringNullableFilter<"IntegrationDefinitionVersion"> | string | null
25420
- createdBy?: StringNullableFilter<"IntegrationDefinitionVersion"> | string | null
25421
- workspaceId?: StringNullableFilter<"IntegrationDefinitionVersion"> | string | null
25422
- publishedAt?: DateTimeNullableFilter<"IntegrationDefinitionVersion"> | Date | string | null
25423
- createdAt?: DateTimeFilter<"IntegrationDefinitionVersion"> | Date | string
25424
- updatedAt?: DateTimeFilter<"IntegrationDefinitionVersion"> | Date | string
25425
- }
25426
-
25427
- export type IntegrationDefinitionVersionOrderByWithRelationInput = {
25428
- id?: SortOrder
25429
- definitionId?: SortOrder
25430
- version?: SortOrder
25431
- schemaVersion?: SortOrder
25432
- status?: SortOrder
25433
- checksum?: SortOrder
25434
- document?: SortOrder
25435
- changeLevel?: SortOrderInput | SortOrder
25436
- previousVersion?: SortOrderInput | SortOrder
25437
- notes?: SortOrderInput | SortOrder
25438
- createdBy?: SortOrderInput | SortOrder
25439
- workspaceId?: SortOrderInput | SortOrder
25440
- publishedAt?: SortOrderInput | SortOrder
25441
- createdAt?: SortOrder
25442
- updatedAt?: SortOrder
25443
- }
25444
-
25445
- export type IntegrationDefinitionVersionWhereUniqueInput = Prisma.AtLeast<{
25446
- id?: number
25447
- definitionId_version?: IntegrationDefinitionVersionDefinitionIdVersionCompoundUniqueInput
25448
- AND?: IntegrationDefinitionVersionWhereInput | IntegrationDefinitionVersionWhereInput[]
25449
- OR?: IntegrationDefinitionVersionWhereInput[]
25450
- NOT?: IntegrationDefinitionVersionWhereInput | IntegrationDefinitionVersionWhereInput[]
25451
- definitionId?: StringFilter<"IntegrationDefinitionVersion"> | string
25452
- version?: StringFilter<"IntegrationDefinitionVersion"> | string
25453
- schemaVersion?: StringFilter<"IntegrationDefinitionVersion"> | string
25454
- status?: EnumDefinitionStatusFilter<"IntegrationDefinitionVersion"> | $Enums.DefinitionStatus
25455
- checksum?: StringFilter<"IntegrationDefinitionVersion"> | string
25456
- document?: JsonFilter<"IntegrationDefinitionVersion">
25457
- changeLevel?: StringNullableFilter<"IntegrationDefinitionVersion"> | string | null
25458
- previousVersion?: StringNullableFilter<"IntegrationDefinitionVersion"> | string | null
25459
- notes?: StringNullableFilter<"IntegrationDefinitionVersion"> | string | null
25460
- createdBy?: StringNullableFilter<"IntegrationDefinitionVersion"> | string | null
25461
- workspaceId?: StringNullableFilter<"IntegrationDefinitionVersion"> | string | null
25462
- publishedAt?: DateTimeNullableFilter<"IntegrationDefinitionVersion"> | Date | string | null
25463
- createdAt?: DateTimeFilter<"IntegrationDefinitionVersion"> | Date | string
25464
- updatedAt?: DateTimeFilter<"IntegrationDefinitionVersion"> | Date | string
25465
- }, "id" | "definitionId_version">
25466
-
25467
- export type IntegrationDefinitionVersionOrderByWithAggregationInput = {
25468
- id?: SortOrder
25469
- definitionId?: SortOrder
25470
- version?: SortOrder
25471
- schemaVersion?: SortOrder
25472
- status?: SortOrder
25473
- checksum?: SortOrder
25474
- document?: SortOrder
25475
- changeLevel?: SortOrderInput | SortOrder
25476
- previousVersion?: SortOrderInput | SortOrder
25477
- notes?: SortOrderInput | SortOrder
25478
- createdBy?: SortOrderInput | SortOrder
25479
- workspaceId?: SortOrderInput | SortOrder
25480
- publishedAt?: SortOrderInput | SortOrder
25481
- createdAt?: SortOrder
25482
- updatedAt?: SortOrder
25483
- _count?: IntegrationDefinitionVersionCountOrderByAggregateInput
25484
- _avg?: IntegrationDefinitionVersionAvgOrderByAggregateInput
25485
- _max?: IntegrationDefinitionVersionMaxOrderByAggregateInput
25486
- _min?: IntegrationDefinitionVersionMinOrderByAggregateInput
25487
- _sum?: IntegrationDefinitionVersionSumOrderByAggregateInput
25488
- }
25489
-
25490
- export type IntegrationDefinitionVersionScalarWhereWithAggregatesInput = {
25491
- AND?: IntegrationDefinitionVersionScalarWhereWithAggregatesInput | IntegrationDefinitionVersionScalarWhereWithAggregatesInput[]
25492
- OR?: IntegrationDefinitionVersionScalarWhereWithAggregatesInput[]
25493
- NOT?: IntegrationDefinitionVersionScalarWhereWithAggregatesInput | IntegrationDefinitionVersionScalarWhereWithAggregatesInput[]
25494
- id?: IntWithAggregatesFilter<"IntegrationDefinitionVersion"> | number
25495
- definitionId?: StringWithAggregatesFilter<"IntegrationDefinitionVersion"> | string
25496
- version?: StringWithAggregatesFilter<"IntegrationDefinitionVersion"> | string
25497
- schemaVersion?: StringWithAggregatesFilter<"IntegrationDefinitionVersion"> | string
25498
- status?: EnumDefinitionStatusWithAggregatesFilter<"IntegrationDefinitionVersion"> | $Enums.DefinitionStatus
25499
- checksum?: StringWithAggregatesFilter<"IntegrationDefinitionVersion"> | string
25500
- document?: JsonWithAggregatesFilter<"IntegrationDefinitionVersion">
25501
- changeLevel?: StringNullableWithAggregatesFilter<"IntegrationDefinitionVersion"> | string | null
25502
- previousVersion?: StringNullableWithAggregatesFilter<"IntegrationDefinitionVersion"> | string | null
25503
- notes?: StringNullableWithAggregatesFilter<"IntegrationDefinitionVersion"> | string | null
25504
- createdBy?: StringNullableWithAggregatesFilter<"IntegrationDefinitionVersion"> | string | null
25505
- workspaceId?: StringNullableWithAggregatesFilter<"IntegrationDefinitionVersion"> | string | null
25506
- publishedAt?: DateTimeNullableWithAggregatesFilter<"IntegrationDefinitionVersion"> | Date | string | null
25507
- createdAt?: DateTimeWithAggregatesFilter<"IntegrationDefinitionVersion"> | Date | string
25508
- updatedAt?: DateTimeWithAggregatesFilter<"IntegrationDefinitionVersion"> | Date | string
25509
- }
25510
-
25511
- export type WorkflowRunWhereInput = {
25512
- AND?: WorkflowRunWhereInput | WorkflowRunWhereInput[]
25513
- OR?: WorkflowRunWhereInput[]
25514
- NOT?: WorkflowRunWhereInput | WorkflowRunWhereInput[]
25515
- id?: IntFilter<"WorkflowRun"> | number
25516
- integrationId?: IntFilter<"WorkflowRun"> | number
25517
- definitionId?: StringFilter<"WorkflowRun"> | string
25518
- definitionVersion?: StringFilter<"WorkflowRun"> | string
25519
- workflowId?: StringFilter<"WorkflowRun"> | string
25520
- triggerType?: StringFilter<"WorkflowRun"> | string
25521
- eventId?: StringNullableFilter<"WorkflowRun"> | string | null
25522
- status?: StringFilter<"WorkflowRun"> | string
25523
- reason?: StringNullableFilter<"WorkflowRun"> | string | null
25524
- error?: StringNullableFilter<"WorkflowRun"> | string | null
25525
- retryable?: BoolFilter<"WorkflowRun"> | boolean
25526
- trace?: JsonFilter<"WorkflowRun">
25527
- runKey?: StringNullableFilter<"WorkflowRun"> | string | null
25528
- waitingFor?: JsonNullableFilter<"WorkflowRun">
25529
- resumeAt?: DateTimeNullableFilter<"WorkflowRun"> | Date | string | null
25530
- startedAt?: DateTimeFilter<"WorkflowRun"> | Date | string
25531
- endedAt?: DateTimeNullableFilter<"WorkflowRun"> | Date | string | null
25532
- createdAt?: DateTimeFilter<"WorkflowRun"> | Date | string
25533
- integration?: XOR<IntegrationScalarRelationFilter, IntegrationWhereInput>
25534
- }
25535
-
25536
- export type WorkflowRunOrderByWithRelationInput = {
25537
- id?: SortOrder
25538
- integrationId?: SortOrder
25539
- definitionId?: SortOrder
25540
- definitionVersion?: SortOrder
25541
- workflowId?: SortOrder
25542
- triggerType?: SortOrder
25543
- eventId?: SortOrderInput | SortOrder
25544
- status?: SortOrder
25545
- reason?: SortOrderInput | SortOrder
25546
- error?: SortOrderInput | SortOrder
25547
- retryable?: SortOrder
25548
- trace?: SortOrder
25549
- runKey?: SortOrderInput | SortOrder
25550
- waitingFor?: SortOrderInput | SortOrder
25551
- resumeAt?: SortOrderInput | SortOrder
25552
- startedAt?: SortOrder
25553
- endedAt?: SortOrderInput | SortOrder
25554
- createdAt?: SortOrder
25555
- integration?: IntegrationOrderByWithRelationInput
25556
- }
25557
-
25558
- export type WorkflowRunWhereUniqueInput = Prisma.AtLeast<{
25559
- id?: number
25560
- AND?: WorkflowRunWhereInput | WorkflowRunWhereInput[]
25561
- OR?: WorkflowRunWhereInput[]
25562
- NOT?: WorkflowRunWhereInput | WorkflowRunWhereInput[]
25563
- integrationId?: IntFilter<"WorkflowRun"> | number
25564
- definitionId?: StringFilter<"WorkflowRun"> | string
25565
- definitionVersion?: StringFilter<"WorkflowRun"> | string
25566
- workflowId?: StringFilter<"WorkflowRun"> | string
25567
- triggerType?: StringFilter<"WorkflowRun"> | string
25568
- eventId?: StringNullableFilter<"WorkflowRun"> | string | null
25569
- status?: StringFilter<"WorkflowRun"> | string
25570
- reason?: StringNullableFilter<"WorkflowRun"> | string | null
25571
- error?: StringNullableFilter<"WorkflowRun"> | string | null
25572
- retryable?: BoolFilter<"WorkflowRun"> | boolean
25573
- trace?: JsonFilter<"WorkflowRun">
25574
- runKey?: StringNullableFilter<"WorkflowRun"> | string | null
25575
- waitingFor?: JsonNullableFilter<"WorkflowRun">
25576
- resumeAt?: DateTimeNullableFilter<"WorkflowRun"> | Date | string | null
25577
- startedAt?: DateTimeFilter<"WorkflowRun"> | Date | string
25578
- endedAt?: DateTimeNullableFilter<"WorkflowRun"> | Date | string | null
25579
- createdAt?: DateTimeFilter<"WorkflowRun"> | Date | string
25580
- integration?: XOR<IntegrationScalarRelationFilter, IntegrationWhereInput>
25581
- }, "id">
25582
-
25583
- export type WorkflowRunOrderByWithAggregationInput = {
25584
- id?: SortOrder
25585
- integrationId?: SortOrder
25586
- definitionId?: SortOrder
25587
- definitionVersion?: SortOrder
25588
- workflowId?: SortOrder
25589
- triggerType?: SortOrder
25590
- eventId?: SortOrderInput | SortOrder
25591
- status?: SortOrder
25592
- reason?: SortOrderInput | SortOrder
25593
- error?: SortOrderInput | SortOrder
25594
- retryable?: SortOrder
25595
- trace?: SortOrder
25596
- runKey?: SortOrderInput | SortOrder
25597
- waitingFor?: SortOrderInput | SortOrder
25598
- resumeAt?: SortOrderInput | SortOrder
25599
- startedAt?: SortOrder
25600
- endedAt?: SortOrderInput | SortOrder
25601
- createdAt?: SortOrder
25602
- _count?: WorkflowRunCountOrderByAggregateInput
25603
- _avg?: WorkflowRunAvgOrderByAggregateInput
25604
- _max?: WorkflowRunMaxOrderByAggregateInput
25605
- _min?: WorkflowRunMinOrderByAggregateInput
25606
- _sum?: WorkflowRunSumOrderByAggregateInput
25607
- }
25608
-
25609
- export type WorkflowRunScalarWhereWithAggregatesInput = {
25610
- AND?: WorkflowRunScalarWhereWithAggregatesInput | WorkflowRunScalarWhereWithAggregatesInput[]
25611
- OR?: WorkflowRunScalarWhereWithAggregatesInput[]
25612
- NOT?: WorkflowRunScalarWhereWithAggregatesInput | WorkflowRunScalarWhereWithAggregatesInput[]
25613
- id?: IntWithAggregatesFilter<"WorkflowRun"> | number
25614
- integrationId?: IntWithAggregatesFilter<"WorkflowRun"> | number
25615
- definitionId?: StringWithAggregatesFilter<"WorkflowRun"> | string
25616
- definitionVersion?: StringWithAggregatesFilter<"WorkflowRun"> | string
25617
- workflowId?: StringWithAggregatesFilter<"WorkflowRun"> | string
25618
- triggerType?: StringWithAggregatesFilter<"WorkflowRun"> | string
25619
- eventId?: StringNullableWithAggregatesFilter<"WorkflowRun"> | string | null
25620
- status?: StringWithAggregatesFilter<"WorkflowRun"> | string
25621
- reason?: StringNullableWithAggregatesFilter<"WorkflowRun"> | string | null
25622
- error?: StringNullableWithAggregatesFilter<"WorkflowRun"> | string | null
25623
- retryable?: BoolWithAggregatesFilter<"WorkflowRun"> | boolean
25624
- trace?: JsonWithAggregatesFilter<"WorkflowRun">
25625
- runKey?: StringNullableWithAggregatesFilter<"WorkflowRun"> | string | null
25626
- waitingFor?: JsonNullableWithAggregatesFilter<"WorkflowRun">
25627
- resumeAt?: DateTimeNullableWithAggregatesFilter<"WorkflowRun"> | Date | string | null
25628
- startedAt?: DateTimeWithAggregatesFilter<"WorkflowRun"> | Date | string
25629
- endedAt?: DateTimeNullableWithAggregatesFilter<"WorkflowRun"> | Date | string | null
25630
- createdAt?: DateTimeWithAggregatesFilter<"WorkflowRun"> | Date | string
25631
- }
25632
-
25633
22693
  export type UserCreateInput = {
25634
22694
  type: $Enums.UserType
25635
22695
  createdAt?: Date | string
@@ -25981,7 +23041,6 @@ export namespace Prisma {
25981
23041
  syncs?: SyncCreateNestedManyWithoutIntegrationInput
25982
23042
  mappings?: IntegrationMappingCreateNestedManyWithoutIntegrationInput
25983
23043
  processes?: ProcessCreateNestedManyWithoutIntegrationInput
25984
- workflowRuns?: WorkflowRunCreateNestedManyWithoutIntegrationInput
25985
23044
  }
25986
23045
 
25987
23046
  export type IntegrationUncheckedCreateInput = {
@@ -26001,7 +23060,6 @@ export namespace Prisma {
26001
23060
  syncs?: SyncUncheckedCreateNestedManyWithoutIntegrationInput
26002
23061
  mappings?: IntegrationMappingUncheckedCreateNestedManyWithoutIntegrationInput
26003
23062
  processes?: ProcessUncheckedCreateNestedManyWithoutIntegrationInput
26004
- workflowRuns?: WorkflowRunUncheckedCreateNestedManyWithoutIntegrationInput
26005
23063
  }
26006
23064
 
26007
23065
  export type IntegrationUpdateInput = {
@@ -26020,7 +23078,6 @@ export namespace Prisma {
26020
23078
  syncs?: SyncUpdateManyWithoutIntegrationNestedInput
26021
23079
  mappings?: IntegrationMappingUpdateManyWithoutIntegrationNestedInput
26022
23080
  processes?: ProcessUpdateManyWithoutIntegrationNestedInput
26023
- workflowRuns?: WorkflowRunUpdateManyWithoutIntegrationNestedInput
26024
23081
  }
26025
23082
 
26026
23083
  export type IntegrationUncheckedUpdateInput = {
@@ -26040,7 +23097,6 @@ export namespace Prisma {
26040
23097
  syncs?: SyncUncheckedUpdateManyWithoutIntegrationNestedInput
26041
23098
  mappings?: IntegrationMappingUncheckedUpdateManyWithoutIntegrationNestedInput
26042
23099
  processes?: ProcessUncheckedUpdateManyWithoutIntegrationNestedInput
26043
- workflowRuns?: WorkflowRunUncheckedUpdateManyWithoutIntegrationNestedInput
26044
23100
  }
26045
23101
 
26046
23102
  export type IntegrationCreateManyInput = {
@@ -26692,351 +23748,85 @@ export namespace Prisma {
26692
23748
  cronExpression?: NullableStringFieldUpdateOperationsInput | string | null
26693
23749
  timezone?: StringFieldUpdateOperationsInput | string
26694
23750
  lastTriggeredAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
26695
- nextTriggerAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
26696
- externalScheduleId?: NullableStringFieldUpdateOperationsInput | string | null
26697
- externalScheduleName?: NullableStringFieldUpdateOperationsInput | string | null
26698
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
26699
- updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
26700
- }
26701
-
26702
- export type UsageCounterCreateInput = {
26703
- integrationId: string
26704
- integrationType: string
26705
- metric: string
26706
- window: string
26707
- value?: bigint | number
26708
- createdAt?: Date | string
26709
- updatedAt?: Date | string
26710
- }
26711
-
26712
- export type UsageCounterUncheckedCreateInput = {
26713
- id?: number
26714
- integrationId: string
26715
- integrationType: string
26716
- metric: string
26717
- window: string
26718
- value?: bigint | number
26719
- createdAt?: Date | string
26720
- updatedAt?: Date | string
26721
- }
26722
-
26723
- export type UsageCounterUpdateInput = {
26724
- integrationId?: StringFieldUpdateOperationsInput | string
26725
- integrationType?: StringFieldUpdateOperationsInput | string
26726
- metric?: StringFieldUpdateOperationsInput | string
26727
- window?: StringFieldUpdateOperationsInput | string
26728
- value?: BigIntFieldUpdateOperationsInput | bigint | number
26729
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
26730
- updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
26731
- }
26732
-
26733
- export type UsageCounterUncheckedUpdateInput = {
26734
- id?: IntFieldUpdateOperationsInput | number
26735
- integrationId?: StringFieldUpdateOperationsInput | string
26736
- integrationType?: StringFieldUpdateOperationsInput | string
26737
- metric?: StringFieldUpdateOperationsInput | string
26738
- window?: StringFieldUpdateOperationsInput | string
26739
- value?: BigIntFieldUpdateOperationsInput | bigint | number
26740
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
26741
- updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
26742
- }
26743
-
26744
- export type UsageCounterCreateManyInput = {
26745
- id?: number
26746
- integrationId: string
26747
- integrationType: string
26748
- metric: string
26749
- window: string
26750
- value?: bigint | number
26751
- createdAt?: Date | string
26752
- updatedAt?: Date | string
26753
- }
26754
-
26755
- export type UsageCounterUpdateManyMutationInput = {
26756
- integrationId?: StringFieldUpdateOperationsInput | string
26757
- integrationType?: StringFieldUpdateOperationsInput | string
26758
- metric?: StringFieldUpdateOperationsInput | string
26759
- window?: StringFieldUpdateOperationsInput | string
26760
- value?: BigIntFieldUpdateOperationsInput | bigint | number
26761
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
26762
- updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
26763
- }
26764
-
26765
- export type UsageCounterUncheckedUpdateManyInput = {
26766
- id?: IntFieldUpdateOperationsInput | number
26767
- integrationId?: StringFieldUpdateOperationsInput | string
26768
- integrationType?: StringFieldUpdateOperationsInput | string
26769
- metric?: StringFieldUpdateOperationsInput | string
26770
- window?: StringFieldUpdateOperationsInput | string
26771
- value?: BigIntFieldUpdateOperationsInput | bigint | number
26772
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
26773
- updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
26774
- }
26775
-
26776
- export type IntegrationDefinitionVersionCreateInput = {
26777
- definitionId: string
26778
- version: string
26779
- schemaVersion: string
26780
- status?: $Enums.DefinitionStatus
26781
- checksum: string
26782
- document: JsonNullValueInput | InputJsonValue
26783
- changeLevel?: string | null
26784
- previousVersion?: string | null
26785
- notes?: string | null
26786
- createdBy?: string | null
26787
- workspaceId?: string | null
26788
- publishedAt?: Date | string | null
26789
- createdAt?: Date | string
26790
- updatedAt?: Date | string
26791
- }
26792
-
26793
- export type IntegrationDefinitionVersionUncheckedCreateInput = {
26794
- id?: number
26795
- definitionId: string
26796
- version: string
26797
- schemaVersion: string
26798
- status?: $Enums.DefinitionStatus
26799
- checksum: string
26800
- document: JsonNullValueInput | InputJsonValue
26801
- changeLevel?: string | null
26802
- previousVersion?: string | null
26803
- notes?: string | null
26804
- createdBy?: string | null
26805
- workspaceId?: string | null
26806
- publishedAt?: Date | string | null
26807
- createdAt?: Date | string
26808
- updatedAt?: Date | string
26809
- }
26810
-
26811
- export type IntegrationDefinitionVersionUpdateInput = {
26812
- definitionId?: StringFieldUpdateOperationsInput | string
26813
- version?: StringFieldUpdateOperationsInput | string
26814
- schemaVersion?: StringFieldUpdateOperationsInput | string
26815
- status?: EnumDefinitionStatusFieldUpdateOperationsInput | $Enums.DefinitionStatus
26816
- checksum?: StringFieldUpdateOperationsInput | string
26817
- document?: JsonNullValueInput | InputJsonValue
26818
- changeLevel?: NullableStringFieldUpdateOperationsInput | string | null
26819
- previousVersion?: NullableStringFieldUpdateOperationsInput | string | null
26820
- notes?: NullableStringFieldUpdateOperationsInput | string | null
26821
- createdBy?: NullableStringFieldUpdateOperationsInput | string | null
26822
- workspaceId?: NullableStringFieldUpdateOperationsInput | string | null
26823
- publishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
26824
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
26825
- updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
26826
- }
26827
-
26828
- export type IntegrationDefinitionVersionUncheckedUpdateInput = {
26829
- id?: IntFieldUpdateOperationsInput | number
26830
- definitionId?: StringFieldUpdateOperationsInput | string
26831
- version?: StringFieldUpdateOperationsInput | string
26832
- schemaVersion?: StringFieldUpdateOperationsInput | string
26833
- status?: EnumDefinitionStatusFieldUpdateOperationsInput | $Enums.DefinitionStatus
26834
- checksum?: StringFieldUpdateOperationsInput | string
26835
- document?: JsonNullValueInput | InputJsonValue
26836
- changeLevel?: NullableStringFieldUpdateOperationsInput | string | null
26837
- previousVersion?: NullableStringFieldUpdateOperationsInput | string | null
26838
- notes?: NullableStringFieldUpdateOperationsInput | string | null
26839
- createdBy?: NullableStringFieldUpdateOperationsInput | string | null
26840
- workspaceId?: NullableStringFieldUpdateOperationsInput | string | null
26841
- publishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
26842
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
26843
- updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
26844
- }
26845
-
26846
- export type IntegrationDefinitionVersionCreateManyInput = {
26847
- id?: number
26848
- definitionId: string
26849
- version: string
26850
- schemaVersion: string
26851
- status?: $Enums.DefinitionStatus
26852
- checksum: string
26853
- document: JsonNullValueInput | InputJsonValue
26854
- changeLevel?: string | null
26855
- previousVersion?: string | null
26856
- notes?: string | null
26857
- createdBy?: string | null
26858
- workspaceId?: string | null
26859
- publishedAt?: Date | string | null
26860
- createdAt?: Date | string
26861
- updatedAt?: Date | string
26862
- }
26863
-
26864
- export type IntegrationDefinitionVersionUpdateManyMutationInput = {
26865
- definitionId?: StringFieldUpdateOperationsInput | string
26866
- version?: StringFieldUpdateOperationsInput | string
26867
- schemaVersion?: StringFieldUpdateOperationsInput | string
26868
- status?: EnumDefinitionStatusFieldUpdateOperationsInput | $Enums.DefinitionStatus
26869
- checksum?: StringFieldUpdateOperationsInput | string
26870
- document?: JsonNullValueInput | InputJsonValue
26871
- changeLevel?: NullableStringFieldUpdateOperationsInput | string | null
26872
- previousVersion?: NullableStringFieldUpdateOperationsInput | string | null
26873
- notes?: NullableStringFieldUpdateOperationsInput | string | null
26874
- createdBy?: NullableStringFieldUpdateOperationsInput | string | null
26875
- workspaceId?: NullableStringFieldUpdateOperationsInput | string | null
26876
- publishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
26877
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
26878
- updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
26879
- }
26880
-
26881
- export type IntegrationDefinitionVersionUncheckedUpdateManyInput = {
26882
- id?: IntFieldUpdateOperationsInput | number
26883
- definitionId?: StringFieldUpdateOperationsInput | string
26884
- version?: StringFieldUpdateOperationsInput | string
26885
- schemaVersion?: StringFieldUpdateOperationsInput | string
26886
- status?: EnumDefinitionStatusFieldUpdateOperationsInput | $Enums.DefinitionStatus
26887
- checksum?: StringFieldUpdateOperationsInput | string
26888
- document?: JsonNullValueInput | InputJsonValue
26889
- changeLevel?: NullableStringFieldUpdateOperationsInput | string | null
26890
- previousVersion?: NullableStringFieldUpdateOperationsInput | string | null
26891
- notes?: NullableStringFieldUpdateOperationsInput | string | null
26892
- createdBy?: NullableStringFieldUpdateOperationsInput | string | null
26893
- workspaceId?: NullableStringFieldUpdateOperationsInput | string | null
26894
- publishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
23751
+ nextTriggerAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
23752
+ externalScheduleId?: NullableStringFieldUpdateOperationsInput | string | null
23753
+ externalScheduleName?: NullableStringFieldUpdateOperationsInput | string | null
26895
23754
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
26896
23755
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
26897
23756
  }
26898
23757
 
26899
- export type WorkflowRunCreateInput = {
26900
- definitionId: string
26901
- definitionVersion: string
26902
- workflowId: string
26903
- triggerType: string
26904
- eventId?: string | null
26905
- status: string
26906
- reason?: string | null
26907
- error?: string | null
26908
- retryable?: boolean
26909
- trace?: JsonNullValueInput | InputJsonValue
26910
- runKey?: string | null
26911
- waitingFor?: NullableJsonNullValueInput | InputJsonValue
26912
- resumeAt?: Date | string | null
26913
- startedAt: Date | string
26914
- endedAt?: Date | string | null
23758
+ export type UsageCounterCreateInput = {
23759
+ integrationId: string
23760
+ integrationType: string
23761
+ metric: string
23762
+ window: string
23763
+ value?: bigint | number
26915
23764
  createdAt?: Date | string
26916
- integration: IntegrationCreateNestedOneWithoutWorkflowRunsInput
23765
+ updatedAt?: Date | string
26917
23766
  }
26918
23767
 
26919
- export type WorkflowRunUncheckedCreateInput = {
23768
+ export type UsageCounterUncheckedCreateInput = {
26920
23769
  id?: number
26921
- integrationId: number
26922
- definitionId: string
26923
- definitionVersion: string
26924
- workflowId: string
26925
- triggerType: string
26926
- eventId?: string | null
26927
- status: string
26928
- reason?: string | null
26929
- error?: string | null
26930
- retryable?: boolean
26931
- trace?: JsonNullValueInput | InputJsonValue
26932
- runKey?: string | null
26933
- waitingFor?: NullableJsonNullValueInput | InputJsonValue
26934
- resumeAt?: Date | string | null
26935
- startedAt: Date | string
26936
- endedAt?: Date | string | null
23770
+ integrationId: string
23771
+ integrationType: string
23772
+ metric: string
23773
+ window: string
23774
+ value?: bigint | number
26937
23775
  createdAt?: Date | string
23776
+ updatedAt?: Date | string
26938
23777
  }
26939
23778
 
26940
- export type WorkflowRunUpdateInput = {
26941
- definitionId?: StringFieldUpdateOperationsInput | string
26942
- definitionVersion?: StringFieldUpdateOperationsInput | string
26943
- workflowId?: StringFieldUpdateOperationsInput | string
26944
- triggerType?: StringFieldUpdateOperationsInput | string
26945
- eventId?: NullableStringFieldUpdateOperationsInput | string | null
26946
- status?: StringFieldUpdateOperationsInput | string
26947
- reason?: NullableStringFieldUpdateOperationsInput | string | null
26948
- error?: NullableStringFieldUpdateOperationsInput | string | null
26949
- retryable?: BoolFieldUpdateOperationsInput | boolean
26950
- trace?: JsonNullValueInput | InputJsonValue
26951
- runKey?: NullableStringFieldUpdateOperationsInput | string | null
26952
- waitingFor?: NullableJsonNullValueInput | InputJsonValue
26953
- resumeAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
26954
- startedAt?: DateTimeFieldUpdateOperationsInput | Date | string
26955
- endedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
23779
+ export type UsageCounterUpdateInput = {
23780
+ integrationId?: StringFieldUpdateOperationsInput | string
23781
+ integrationType?: StringFieldUpdateOperationsInput | string
23782
+ metric?: StringFieldUpdateOperationsInput | string
23783
+ window?: StringFieldUpdateOperationsInput | string
23784
+ value?: BigIntFieldUpdateOperationsInput | bigint | number
26956
23785
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
26957
- integration?: IntegrationUpdateOneRequiredWithoutWorkflowRunsNestedInput
23786
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
26958
23787
  }
26959
23788
 
26960
- export type WorkflowRunUncheckedUpdateInput = {
23789
+ export type UsageCounterUncheckedUpdateInput = {
26961
23790
  id?: IntFieldUpdateOperationsInput | number
26962
- integrationId?: IntFieldUpdateOperationsInput | number
26963
- definitionId?: StringFieldUpdateOperationsInput | string
26964
- definitionVersion?: StringFieldUpdateOperationsInput | string
26965
- workflowId?: StringFieldUpdateOperationsInput | string
26966
- triggerType?: StringFieldUpdateOperationsInput | string
26967
- eventId?: NullableStringFieldUpdateOperationsInput | string | null
26968
- status?: StringFieldUpdateOperationsInput | string
26969
- reason?: NullableStringFieldUpdateOperationsInput | string | null
26970
- error?: NullableStringFieldUpdateOperationsInput | string | null
26971
- retryable?: BoolFieldUpdateOperationsInput | boolean
26972
- trace?: JsonNullValueInput | InputJsonValue
26973
- runKey?: NullableStringFieldUpdateOperationsInput | string | null
26974
- waitingFor?: NullableJsonNullValueInput | InputJsonValue
26975
- resumeAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
26976
- startedAt?: DateTimeFieldUpdateOperationsInput | Date | string
26977
- endedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
23791
+ integrationId?: StringFieldUpdateOperationsInput | string
23792
+ integrationType?: StringFieldUpdateOperationsInput | string
23793
+ metric?: StringFieldUpdateOperationsInput | string
23794
+ window?: StringFieldUpdateOperationsInput | string
23795
+ value?: BigIntFieldUpdateOperationsInput | bigint | number
26978
23796
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
23797
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
26979
23798
  }
26980
23799
 
26981
- export type WorkflowRunCreateManyInput = {
23800
+ export type UsageCounterCreateManyInput = {
26982
23801
  id?: number
26983
- integrationId: number
26984
- definitionId: string
26985
- definitionVersion: string
26986
- workflowId: string
26987
- triggerType: string
26988
- eventId?: string | null
26989
- status: string
26990
- reason?: string | null
26991
- error?: string | null
26992
- retryable?: boolean
26993
- trace?: JsonNullValueInput | InputJsonValue
26994
- runKey?: string | null
26995
- waitingFor?: NullableJsonNullValueInput | InputJsonValue
26996
- resumeAt?: Date | string | null
26997
- startedAt: Date | string
26998
- endedAt?: Date | string | null
23802
+ integrationId: string
23803
+ integrationType: string
23804
+ metric: string
23805
+ window: string
23806
+ value?: bigint | number
26999
23807
  createdAt?: Date | string
23808
+ updatedAt?: Date | string
27000
23809
  }
27001
23810
 
27002
- export type WorkflowRunUpdateManyMutationInput = {
27003
- definitionId?: StringFieldUpdateOperationsInput | string
27004
- definitionVersion?: StringFieldUpdateOperationsInput | string
27005
- workflowId?: StringFieldUpdateOperationsInput | string
27006
- triggerType?: StringFieldUpdateOperationsInput | string
27007
- eventId?: NullableStringFieldUpdateOperationsInput | string | null
27008
- status?: StringFieldUpdateOperationsInput | string
27009
- reason?: NullableStringFieldUpdateOperationsInput | string | null
27010
- error?: NullableStringFieldUpdateOperationsInput | string | null
27011
- retryable?: BoolFieldUpdateOperationsInput | boolean
27012
- trace?: JsonNullValueInput | InputJsonValue
27013
- runKey?: NullableStringFieldUpdateOperationsInput | string | null
27014
- waitingFor?: NullableJsonNullValueInput | InputJsonValue
27015
- resumeAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
27016
- startedAt?: DateTimeFieldUpdateOperationsInput | Date | string
27017
- endedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
23811
+ export type UsageCounterUpdateManyMutationInput = {
23812
+ integrationId?: StringFieldUpdateOperationsInput | string
23813
+ integrationType?: StringFieldUpdateOperationsInput | string
23814
+ metric?: StringFieldUpdateOperationsInput | string
23815
+ window?: StringFieldUpdateOperationsInput | string
23816
+ value?: BigIntFieldUpdateOperationsInput | bigint | number
27018
23817
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
23818
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
27019
23819
  }
27020
23820
 
27021
- export type WorkflowRunUncheckedUpdateManyInput = {
23821
+ export type UsageCounterUncheckedUpdateManyInput = {
27022
23822
  id?: IntFieldUpdateOperationsInput | number
27023
- integrationId?: IntFieldUpdateOperationsInput | number
27024
- definitionId?: StringFieldUpdateOperationsInput | string
27025
- definitionVersion?: StringFieldUpdateOperationsInput | string
27026
- workflowId?: StringFieldUpdateOperationsInput | string
27027
- triggerType?: StringFieldUpdateOperationsInput | string
27028
- eventId?: NullableStringFieldUpdateOperationsInput | string | null
27029
- status?: StringFieldUpdateOperationsInput | string
27030
- reason?: NullableStringFieldUpdateOperationsInput | string | null
27031
- error?: NullableStringFieldUpdateOperationsInput | string | null
27032
- retryable?: BoolFieldUpdateOperationsInput | boolean
27033
- trace?: JsonNullValueInput | InputJsonValue
27034
- runKey?: NullableStringFieldUpdateOperationsInput | string | null
27035
- waitingFor?: NullableJsonNullValueInput | InputJsonValue
27036
- resumeAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
27037
- startedAt?: DateTimeFieldUpdateOperationsInput | Date | string
27038
- endedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
23823
+ integrationId?: StringFieldUpdateOperationsInput | string
23824
+ integrationType?: StringFieldUpdateOperationsInput | string
23825
+ metric?: StringFieldUpdateOperationsInput | string
23826
+ window?: StringFieldUpdateOperationsInput | string
23827
+ value?: BigIntFieldUpdateOperationsInput | bigint | number
27039
23828
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
23829
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
27040
23830
  }
27041
23831
 
27042
23832
  export type IntFilter<$PrismaModel = never> = {
@@ -27615,12 +24405,6 @@ export namespace Prisma {
27615
24405
  none?: IntegrationMappingWhereInput
27616
24406
  }
27617
24407
 
27618
- export type WorkflowRunListRelationFilter = {
27619
- every?: WorkflowRunWhereInput
27620
- some?: WorkflowRunWhereInput
27621
- none?: WorkflowRunWhereInput
27622
- }
27623
-
27624
24408
  export type AssociationOrderByRelationAggregateInput = {
27625
24409
  _count?: SortOrder
27626
24410
  }
@@ -27629,10 +24413,6 @@ export namespace Prisma {
27629
24413
  _count?: SortOrder
27630
24414
  }
27631
24415
 
27632
- export type WorkflowRunOrderByRelationAggregateInput = {
27633
- _count?: SortOrder
27634
- }
27635
-
27636
24416
  export type IntegrationCountOrderByAggregateInput = {
27637
24417
  id?: SortOrder
27638
24418
  userId?: SortOrder
@@ -28244,157 +25024,6 @@ export namespace Prisma {
28244
25024
  _max?: NestedBigIntFilter<$PrismaModel>
28245
25025
  }
28246
25026
 
28247
- export type EnumDefinitionStatusFilter<$PrismaModel = never> = {
28248
- equals?: $Enums.DefinitionStatus | EnumDefinitionStatusFieldRefInput<$PrismaModel>
28249
- in?: $Enums.DefinitionStatus[] | ListEnumDefinitionStatusFieldRefInput<$PrismaModel>
28250
- notIn?: $Enums.DefinitionStatus[] | ListEnumDefinitionStatusFieldRefInput<$PrismaModel>
28251
- not?: NestedEnumDefinitionStatusFilter<$PrismaModel> | $Enums.DefinitionStatus
28252
- }
28253
-
28254
- export type IntegrationDefinitionVersionDefinitionIdVersionCompoundUniqueInput = {
28255
- definitionId: string
28256
- version: string
28257
- }
28258
-
28259
- export type IntegrationDefinitionVersionCountOrderByAggregateInput = {
28260
- id?: SortOrder
28261
- definitionId?: SortOrder
28262
- version?: SortOrder
28263
- schemaVersion?: SortOrder
28264
- status?: SortOrder
28265
- checksum?: SortOrder
28266
- document?: SortOrder
28267
- changeLevel?: SortOrder
28268
- previousVersion?: SortOrder
28269
- notes?: SortOrder
28270
- createdBy?: SortOrder
28271
- workspaceId?: SortOrder
28272
- publishedAt?: SortOrder
28273
- createdAt?: SortOrder
28274
- updatedAt?: SortOrder
28275
- }
28276
-
28277
- export type IntegrationDefinitionVersionAvgOrderByAggregateInput = {
28278
- id?: SortOrder
28279
- }
28280
-
28281
- export type IntegrationDefinitionVersionMaxOrderByAggregateInput = {
28282
- id?: SortOrder
28283
- definitionId?: SortOrder
28284
- version?: SortOrder
28285
- schemaVersion?: SortOrder
28286
- status?: SortOrder
28287
- checksum?: SortOrder
28288
- changeLevel?: SortOrder
28289
- previousVersion?: SortOrder
28290
- notes?: SortOrder
28291
- createdBy?: SortOrder
28292
- workspaceId?: SortOrder
28293
- publishedAt?: SortOrder
28294
- createdAt?: SortOrder
28295
- updatedAt?: SortOrder
28296
- }
28297
-
28298
- export type IntegrationDefinitionVersionMinOrderByAggregateInput = {
28299
- id?: SortOrder
28300
- definitionId?: SortOrder
28301
- version?: SortOrder
28302
- schemaVersion?: SortOrder
28303
- status?: SortOrder
28304
- checksum?: SortOrder
28305
- changeLevel?: SortOrder
28306
- previousVersion?: SortOrder
28307
- notes?: SortOrder
28308
- createdBy?: SortOrder
28309
- workspaceId?: SortOrder
28310
- publishedAt?: SortOrder
28311
- createdAt?: SortOrder
28312
- updatedAt?: SortOrder
28313
- }
28314
-
28315
- export type IntegrationDefinitionVersionSumOrderByAggregateInput = {
28316
- id?: SortOrder
28317
- }
28318
-
28319
- export type EnumDefinitionStatusWithAggregatesFilter<$PrismaModel = never> = {
28320
- equals?: $Enums.DefinitionStatus | EnumDefinitionStatusFieldRefInput<$PrismaModel>
28321
- in?: $Enums.DefinitionStatus[] | ListEnumDefinitionStatusFieldRefInput<$PrismaModel>
28322
- notIn?: $Enums.DefinitionStatus[] | ListEnumDefinitionStatusFieldRefInput<$PrismaModel>
28323
- not?: NestedEnumDefinitionStatusWithAggregatesFilter<$PrismaModel> | $Enums.DefinitionStatus
28324
- _count?: NestedIntFilter<$PrismaModel>
28325
- _min?: NestedEnumDefinitionStatusFilter<$PrismaModel>
28326
- _max?: NestedEnumDefinitionStatusFilter<$PrismaModel>
28327
- }
28328
-
28329
- export type WorkflowRunCountOrderByAggregateInput = {
28330
- id?: SortOrder
28331
- integrationId?: SortOrder
28332
- definitionId?: SortOrder
28333
- definitionVersion?: SortOrder
28334
- workflowId?: SortOrder
28335
- triggerType?: SortOrder
28336
- eventId?: SortOrder
28337
- status?: SortOrder
28338
- reason?: SortOrder
28339
- error?: SortOrder
28340
- retryable?: SortOrder
28341
- trace?: SortOrder
28342
- runKey?: SortOrder
28343
- waitingFor?: SortOrder
28344
- resumeAt?: SortOrder
28345
- startedAt?: SortOrder
28346
- endedAt?: SortOrder
28347
- createdAt?: SortOrder
28348
- }
28349
-
28350
- export type WorkflowRunAvgOrderByAggregateInput = {
28351
- id?: SortOrder
28352
- integrationId?: SortOrder
28353
- }
28354
-
28355
- export type WorkflowRunMaxOrderByAggregateInput = {
28356
- id?: SortOrder
28357
- integrationId?: SortOrder
28358
- definitionId?: SortOrder
28359
- definitionVersion?: SortOrder
28360
- workflowId?: SortOrder
28361
- triggerType?: SortOrder
28362
- eventId?: SortOrder
28363
- status?: SortOrder
28364
- reason?: SortOrder
28365
- error?: SortOrder
28366
- retryable?: SortOrder
28367
- runKey?: SortOrder
28368
- resumeAt?: SortOrder
28369
- startedAt?: SortOrder
28370
- endedAt?: SortOrder
28371
- createdAt?: SortOrder
28372
- }
28373
-
28374
- export type WorkflowRunMinOrderByAggregateInput = {
28375
- id?: SortOrder
28376
- integrationId?: SortOrder
28377
- definitionId?: SortOrder
28378
- definitionVersion?: SortOrder
28379
- workflowId?: SortOrder
28380
- triggerType?: SortOrder
28381
- eventId?: SortOrder
28382
- status?: SortOrder
28383
- reason?: SortOrder
28384
- error?: SortOrder
28385
- retryable?: SortOrder
28386
- runKey?: SortOrder
28387
- resumeAt?: SortOrder
28388
- startedAt?: SortOrder
28389
- endedAt?: SortOrder
28390
- createdAt?: SortOrder
28391
- }
28392
-
28393
- export type WorkflowRunSumOrderByAggregateInput = {
28394
- id?: SortOrder
28395
- integrationId?: SortOrder
28396
- }
28397
-
28398
25027
  export type UserCreateNestedOneWithoutMembersInput = {
28399
25028
  create?: XOR<UserCreateWithoutMembersInput, UserUncheckedCreateWithoutMembersInput>
28400
25029
  connectOrCreate?: UserCreateOrConnectWithoutMembersInput
@@ -29007,13 +25636,6 @@ export namespace Prisma {
29007
25636
  connect?: ProcessWhereUniqueInput | ProcessWhereUniqueInput[]
29008
25637
  }
29009
25638
 
29010
- export type WorkflowRunCreateNestedManyWithoutIntegrationInput = {
29011
- create?: XOR<WorkflowRunCreateWithoutIntegrationInput, WorkflowRunUncheckedCreateWithoutIntegrationInput> | WorkflowRunCreateWithoutIntegrationInput[] | WorkflowRunUncheckedCreateWithoutIntegrationInput[]
29012
- connectOrCreate?: WorkflowRunCreateOrConnectWithoutIntegrationInput | WorkflowRunCreateOrConnectWithoutIntegrationInput[]
29013
- createMany?: WorkflowRunCreateManyIntegrationInputEnvelope
29014
- connect?: WorkflowRunWhereUniqueInput | WorkflowRunWhereUniqueInput[]
29015
- }
29016
-
29017
25639
  export type EntityUncheckedCreateNestedManyWithoutIntegrationsInput = {
29018
25640
  create?: XOR<EntityCreateWithoutIntegrationsInput, EntityUncheckedCreateWithoutIntegrationsInput> | EntityCreateWithoutIntegrationsInput[] | EntityUncheckedCreateWithoutIntegrationsInput[]
29019
25641
  connectOrCreate?: EntityCreateOrConnectWithoutIntegrationsInput | EntityCreateOrConnectWithoutIntegrationsInput[]
@@ -29048,13 +25670,6 @@ export namespace Prisma {
29048
25670
  connect?: ProcessWhereUniqueInput | ProcessWhereUniqueInput[]
29049
25671
  }
29050
25672
 
29051
- export type WorkflowRunUncheckedCreateNestedManyWithoutIntegrationInput = {
29052
- create?: XOR<WorkflowRunCreateWithoutIntegrationInput, WorkflowRunUncheckedCreateWithoutIntegrationInput> | WorkflowRunCreateWithoutIntegrationInput[] | WorkflowRunUncheckedCreateWithoutIntegrationInput[]
29053
- connectOrCreate?: WorkflowRunCreateOrConnectWithoutIntegrationInput | WorkflowRunCreateOrConnectWithoutIntegrationInput[]
29054
- createMany?: WorkflowRunCreateManyIntegrationInputEnvelope
29055
- connect?: WorkflowRunWhereUniqueInput | WorkflowRunWhereUniqueInput[]
29056
- }
29057
-
29058
25673
  export type EnumIntegrationStatusFieldUpdateOperationsInput = {
29059
25674
  set?: $Enums.IntegrationStatus
29060
25675
  }
@@ -29138,20 +25753,6 @@ export namespace Prisma {
29138
25753
  deleteMany?: ProcessScalarWhereInput | ProcessScalarWhereInput[]
29139
25754
  }
29140
25755
 
29141
- export type WorkflowRunUpdateManyWithoutIntegrationNestedInput = {
29142
- create?: XOR<WorkflowRunCreateWithoutIntegrationInput, WorkflowRunUncheckedCreateWithoutIntegrationInput> | WorkflowRunCreateWithoutIntegrationInput[] | WorkflowRunUncheckedCreateWithoutIntegrationInput[]
29143
- connectOrCreate?: WorkflowRunCreateOrConnectWithoutIntegrationInput | WorkflowRunCreateOrConnectWithoutIntegrationInput[]
29144
- upsert?: WorkflowRunUpsertWithWhereUniqueWithoutIntegrationInput | WorkflowRunUpsertWithWhereUniqueWithoutIntegrationInput[]
29145
- createMany?: WorkflowRunCreateManyIntegrationInputEnvelope
29146
- set?: WorkflowRunWhereUniqueInput | WorkflowRunWhereUniqueInput[]
29147
- disconnect?: WorkflowRunWhereUniqueInput | WorkflowRunWhereUniqueInput[]
29148
- delete?: WorkflowRunWhereUniqueInput | WorkflowRunWhereUniqueInput[]
29149
- connect?: WorkflowRunWhereUniqueInput | WorkflowRunWhereUniqueInput[]
29150
- update?: WorkflowRunUpdateWithWhereUniqueWithoutIntegrationInput | WorkflowRunUpdateWithWhereUniqueWithoutIntegrationInput[]
29151
- updateMany?: WorkflowRunUpdateManyWithWhereWithoutIntegrationInput | WorkflowRunUpdateManyWithWhereWithoutIntegrationInput[]
29152
- deleteMany?: WorkflowRunScalarWhereInput | WorkflowRunScalarWhereInput[]
29153
- }
29154
-
29155
25756
  export type EntityUncheckedUpdateManyWithoutIntegrationsNestedInput = {
29156
25757
  create?: XOR<EntityCreateWithoutIntegrationsInput, EntityUncheckedCreateWithoutIntegrationsInput> | EntityCreateWithoutIntegrationsInput[] | EntityUncheckedCreateWithoutIntegrationsInput[]
29157
25758
  connectOrCreate?: EntityCreateOrConnectWithoutIntegrationsInput | EntityCreateOrConnectWithoutIntegrationsInput[]
@@ -29221,20 +25822,6 @@ export namespace Prisma {
29221
25822
  deleteMany?: ProcessScalarWhereInput | ProcessScalarWhereInput[]
29222
25823
  }
29223
25824
 
29224
- export type WorkflowRunUncheckedUpdateManyWithoutIntegrationNestedInput = {
29225
- create?: XOR<WorkflowRunCreateWithoutIntegrationInput, WorkflowRunUncheckedCreateWithoutIntegrationInput> | WorkflowRunCreateWithoutIntegrationInput[] | WorkflowRunUncheckedCreateWithoutIntegrationInput[]
29226
- connectOrCreate?: WorkflowRunCreateOrConnectWithoutIntegrationInput | WorkflowRunCreateOrConnectWithoutIntegrationInput[]
29227
- upsert?: WorkflowRunUpsertWithWhereUniqueWithoutIntegrationInput | WorkflowRunUpsertWithWhereUniqueWithoutIntegrationInput[]
29228
- createMany?: WorkflowRunCreateManyIntegrationInputEnvelope
29229
- set?: WorkflowRunWhereUniqueInput | WorkflowRunWhereUniqueInput[]
29230
- disconnect?: WorkflowRunWhereUniqueInput | WorkflowRunWhereUniqueInput[]
29231
- delete?: WorkflowRunWhereUniqueInput | WorkflowRunWhereUniqueInput[]
29232
- connect?: WorkflowRunWhereUniqueInput | WorkflowRunWhereUniqueInput[]
29233
- update?: WorkflowRunUpdateWithWhereUniqueWithoutIntegrationInput | WorkflowRunUpdateWithWhereUniqueWithoutIntegrationInput[]
29234
- updateMany?: WorkflowRunUpdateManyWithWhereWithoutIntegrationInput | WorkflowRunUpdateManyWithWhereWithoutIntegrationInput[]
29235
- deleteMany?: WorkflowRunScalarWhereInput | WorkflowRunScalarWhereInput[]
29236
- }
29237
-
29238
25825
  export type IntegrationCreateNestedOneWithoutMappingsInput = {
29239
25826
  create?: XOR<IntegrationCreateWithoutMappingsInput, IntegrationUncheckedCreateWithoutMappingsInput>
29240
25827
  connectOrCreate?: IntegrationCreateOrConnectWithoutMappingsInput
@@ -29623,24 +26210,6 @@ export namespace Prisma {
29623
26210
  divide?: bigint | number
29624
26211
  }
29625
26212
 
29626
- export type EnumDefinitionStatusFieldUpdateOperationsInput = {
29627
- set?: $Enums.DefinitionStatus
29628
- }
29629
-
29630
- export type IntegrationCreateNestedOneWithoutWorkflowRunsInput = {
29631
- create?: XOR<IntegrationCreateWithoutWorkflowRunsInput, IntegrationUncheckedCreateWithoutWorkflowRunsInput>
29632
- connectOrCreate?: IntegrationCreateOrConnectWithoutWorkflowRunsInput
29633
- connect?: IntegrationWhereUniqueInput
29634
- }
29635
-
29636
- export type IntegrationUpdateOneRequiredWithoutWorkflowRunsNestedInput = {
29637
- create?: XOR<IntegrationCreateWithoutWorkflowRunsInput, IntegrationUncheckedCreateWithoutWorkflowRunsInput>
29638
- connectOrCreate?: IntegrationCreateOrConnectWithoutWorkflowRunsInput
29639
- upsert?: IntegrationUpsertWithoutWorkflowRunsInput
29640
- connect?: IntegrationWhereUniqueInput
29641
- update?: XOR<XOR<IntegrationUpdateToOneWithWhereWithoutWorkflowRunsInput, IntegrationUpdateWithoutWorkflowRunsInput>, IntegrationUncheckedUpdateWithoutWorkflowRunsInput>
29642
- }
29643
-
29644
26213
  export type NestedIntFilter<$PrismaModel = never> = {
29645
26214
  equals?: number | IntFieldRefInput<$PrismaModel>
29646
26215
  in?: number[] | ListIntFieldRefInput<$PrismaModel>
@@ -29996,23 +26565,6 @@ export namespace Prisma {
29996
26565
  _max?: NestedBigIntFilter<$PrismaModel>
29997
26566
  }
29998
26567
 
29999
- export type NestedEnumDefinitionStatusFilter<$PrismaModel = never> = {
30000
- equals?: $Enums.DefinitionStatus | EnumDefinitionStatusFieldRefInput<$PrismaModel>
30001
- in?: $Enums.DefinitionStatus[] | ListEnumDefinitionStatusFieldRefInput<$PrismaModel>
30002
- notIn?: $Enums.DefinitionStatus[] | ListEnumDefinitionStatusFieldRefInput<$PrismaModel>
30003
- not?: NestedEnumDefinitionStatusFilter<$PrismaModel> | $Enums.DefinitionStatus
30004
- }
30005
-
30006
- export type NestedEnumDefinitionStatusWithAggregatesFilter<$PrismaModel = never> = {
30007
- equals?: $Enums.DefinitionStatus | EnumDefinitionStatusFieldRefInput<$PrismaModel>
30008
- in?: $Enums.DefinitionStatus[] | ListEnumDefinitionStatusFieldRefInput<$PrismaModel>
30009
- notIn?: $Enums.DefinitionStatus[] | ListEnumDefinitionStatusFieldRefInput<$PrismaModel>
30010
- not?: NestedEnumDefinitionStatusWithAggregatesFilter<$PrismaModel> | $Enums.DefinitionStatus
30011
- _count?: NestedIntFilter<$PrismaModel>
30012
- _min?: NestedEnumDefinitionStatusFilter<$PrismaModel>
30013
- _max?: NestedEnumDefinitionStatusFilter<$PrismaModel>
30014
- }
30015
-
30016
26568
  export type UserCreateWithoutMembersInput = {
30017
26569
  type: $Enums.UserType
30018
26570
  createdAt?: Date | string
@@ -30208,7 +26760,6 @@ export namespace Prisma {
30208
26760
  syncs?: SyncCreateNestedManyWithoutIntegrationInput
30209
26761
  mappings?: IntegrationMappingCreateNestedManyWithoutIntegrationInput
30210
26762
  processes?: ProcessCreateNestedManyWithoutIntegrationInput
30211
- workflowRuns?: WorkflowRunCreateNestedManyWithoutIntegrationInput
30212
26763
  }
30213
26764
 
30214
26765
  export type IntegrationUncheckedCreateWithoutUserInput = {
@@ -30227,7 +26778,6 @@ export namespace Prisma {
30227
26778
  syncs?: SyncUncheckedCreateNestedManyWithoutIntegrationInput
30228
26779
  mappings?: IntegrationMappingUncheckedCreateNestedManyWithoutIntegrationInput
30229
26780
  processes?: ProcessUncheckedCreateNestedManyWithoutIntegrationInput
30230
- workflowRuns?: WorkflowRunUncheckedCreateNestedManyWithoutIntegrationInput
30231
26781
  }
30232
26782
 
30233
26783
  export type IntegrationCreateOrConnectWithoutUserInput = {
@@ -30827,7 +27377,6 @@ export namespace Prisma {
30827
27377
  syncs?: SyncCreateNestedManyWithoutIntegrationInput
30828
27378
  mappings?: IntegrationMappingCreateNestedManyWithoutIntegrationInput
30829
27379
  processes?: ProcessCreateNestedManyWithoutIntegrationInput
30830
- workflowRuns?: WorkflowRunCreateNestedManyWithoutIntegrationInput
30831
27380
  }
30832
27381
 
30833
27382
  export type IntegrationUncheckedCreateWithoutEntitiesInput = {
@@ -30846,7 +27395,6 @@ export namespace Prisma {
30846
27395
  syncs?: SyncUncheckedCreateNestedManyWithoutIntegrationInput
30847
27396
  mappings?: IntegrationMappingUncheckedCreateNestedManyWithoutIntegrationInput
30848
27397
  processes?: ProcessUncheckedCreateNestedManyWithoutIntegrationInput
30849
- workflowRuns?: WorkflowRunUncheckedCreateNestedManyWithoutIntegrationInput
30850
27398
  }
30851
27399
 
30852
27400
  export type IntegrationCreateOrConnectWithoutEntitiesInput = {
@@ -31285,55 +27833,6 @@ export namespace Prisma {
31285
27833
  skipDuplicates?: boolean
31286
27834
  }
31287
27835
 
31288
- export type WorkflowRunCreateWithoutIntegrationInput = {
31289
- definitionId: string
31290
- definitionVersion: string
31291
- workflowId: string
31292
- triggerType: string
31293
- eventId?: string | null
31294
- status: string
31295
- reason?: string | null
31296
- error?: string | null
31297
- retryable?: boolean
31298
- trace?: JsonNullValueInput | InputJsonValue
31299
- runKey?: string | null
31300
- waitingFor?: NullableJsonNullValueInput | InputJsonValue
31301
- resumeAt?: Date | string | null
31302
- startedAt: Date | string
31303
- endedAt?: Date | string | null
31304
- createdAt?: Date | string
31305
- }
31306
-
31307
- export type WorkflowRunUncheckedCreateWithoutIntegrationInput = {
31308
- id?: number
31309
- definitionId: string
31310
- definitionVersion: string
31311
- workflowId: string
31312
- triggerType: string
31313
- eventId?: string | null
31314
- status: string
31315
- reason?: string | null
31316
- error?: string | null
31317
- retryable?: boolean
31318
- trace?: JsonNullValueInput | InputJsonValue
31319
- runKey?: string | null
31320
- waitingFor?: NullableJsonNullValueInput | InputJsonValue
31321
- resumeAt?: Date | string | null
31322
- startedAt: Date | string
31323
- endedAt?: Date | string | null
31324
- createdAt?: Date | string
31325
- }
31326
-
31327
- export type WorkflowRunCreateOrConnectWithoutIntegrationInput = {
31328
- where: WorkflowRunWhereUniqueInput
31329
- create: XOR<WorkflowRunCreateWithoutIntegrationInput, WorkflowRunUncheckedCreateWithoutIntegrationInput>
31330
- }
31331
-
31332
- export type WorkflowRunCreateManyIntegrationInputEnvelope = {
31333
- data: WorkflowRunCreateManyIntegrationInput | WorkflowRunCreateManyIntegrationInput[]
31334
- skipDuplicates?: boolean
31335
- }
31336
-
31337
27836
  export type UserUpsertWithoutIntegrationsInput = {
31338
27837
  update: XOR<UserUpdateWithoutIntegrationsInput, UserUncheckedUpdateWithoutIntegrationsInput>
31339
27838
  create: XOR<UserCreateWithoutIntegrationsInput, UserUncheckedCreateWithoutIntegrationsInput>
@@ -31485,46 +27984,6 @@ export namespace Prisma {
31485
27984
  data: XOR<ProcessUpdateManyMutationInput, ProcessUncheckedUpdateManyWithoutIntegrationInput>
31486
27985
  }
31487
27986
 
31488
- export type WorkflowRunUpsertWithWhereUniqueWithoutIntegrationInput = {
31489
- where: WorkflowRunWhereUniqueInput
31490
- update: XOR<WorkflowRunUpdateWithoutIntegrationInput, WorkflowRunUncheckedUpdateWithoutIntegrationInput>
31491
- create: XOR<WorkflowRunCreateWithoutIntegrationInput, WorkflowRunUncheckedCreateWithoutIntegrationInput>
31492
- }
31493
-
31494
- export type WorkflowRunUpdateWithWhereUniqueWithoutIntegrationInput = {
31495
- where: WorkflowRunWhereUniqueInput
31496
- data: XOR<WorkflowRunUpdateWithoutIntegrationInput, WorkflowRunUncheckedUpdateWithoutIntegrationInput>
31497
- }
31498
-
31499
- export type WorkflowRunUpdateManyWithWhereWithoutIntegrationInput = {
31500
- where: WorkflowRunScalarWhereInput
31501
- data: XOR<WorkflowRunUpdateManyMutationInput, WorkflowRunUncheckedUpdateManyWithoutIntegrationInput>
31502
- }
31503
-
31504
- export type WorkflowRunScalarWhereInput = {
31505
- AND?: WorkflowRunScalarWhereInput | WorkflowRunScalarWhereInput[]
31506
- OR?: WorkflowRunScalarWhereInput[]
31507
- NOT?: WorkflowRunScalarWhereInput | WorkflowRunScalarWhereInput[]
31508
- id?: IntFilter<"WorkflowRun"> | number
31509
- integrationId?: IntFilter<"WorkflowRun"> | number
31510
- definitionId?: StringFilter<"WorkflowRun"> | string
31511
- definitionVersion?: StringFilter<"WorkflowRun"> | string
31512
- workflowId?: StringFilter<"WorkflowRun"> | string
31513
- triggerType?: StringFilter<"WorkflowRun"> | string
31514
- eventId?: StringNullableFilter<"WorkflowRun"> | string | null
31515
- status?: StringFilter<"WorkflowRun"> | string
31516
- reason?: StringNullableFilter<"WorkflowRun"> | string | null
31517
- error?: StringNullableFilter<"WorkflowRun"> | string | null
31518
- retryable?: BoolFilter<"WorkflowRun"> | boolean
31519
- trace?: JsonFilter<"WorkflowRun">
31520
- runKey?: StringNullableFilter<"WorkflowRun"> | string | null
31521
- waitingFor?: JsonNullableFilter<"WorkflowRun">
31522
- resumeAt?: DateTimeNullableFilter<"WorkflowRun"> | Date | string | null
31523
- startedAt?: DateTimeFilter<"WorkflowRun"> | Date | string
31524
- endedAt?: DateTimeNullableFilter<"WorkflowRun"> | Date | string | null
31525
- createdAt?: DateTimeFilter<"WorkflowRun"> | Date | string
31526
- }
31527
-
31528
27987
  export type IntegrationCreateWithoutMappingsInput = {
31529
27988
  status?: $Enums.IntegrationStatus
31530
27989
  config?: NullableJsonNullValueInput | InputJsonValue
@@ -31540,7 +27999,6 @@ export namespace Prisma {
31540
27999
  associations?: AssociationCreateNestedManyWithoutIntegrationInput
31541
28000
  syncs?: SyncCreateNestedManyWithoutIntegrationInput
31542
28001
  processes?: ProcessCreateNestedManyWithoutIntegrationInput
31543
- workflowRuns?: WorkflowRunCreateNestedManyWithoutIntegrationInput
31544
28002
  }
31545
28003
 
31546
28004
  export type IntegrationUncheckedCreateWithoutMappingsInput = {
@@ -31559,7 +28017,6 @@ export namespace Prisma {
31559
28017
  associations?: AssociationUncheckedCreateNestedManyWithoutIntegrationInput
31560
28018
  syncs?: SyncUncheckedCreateNestedManyWithoutIntegrationInput
31561
28019
  processes?: ProcessUncheckedCreateNestedManyWithoutIntegrationInput
31562
- workflowRuns?: WorkflowRunUncheckedCreateNestedManyWithoutIntegrationInput
31563
28020
  }
31564
28021
 
31565
28022
  export type IntegrationCreateOrConnectWithoutMappingsInput = {
@@ -31593,7 +28050,6 @@ export namespace Prisma {
31593
28050
  associations?: AssociationUpdateManyWithoutIntegrationNestedInput
31594
28051
  syncs?: SyncUpdateManyWithoutIntegrationNestedInput
31595
28052
  processes?: ProcessUpdateManyWithoutIntegrationNestedInput
31596
- workflowRuns?: WorkflowRunUpdateManyWithoutIntegrationNestedInput
31597
28053
  }
31598
28054
 
31599
28055
  export type IntegrationUncheckedUpdateWithoutMappingsInput = {
@@ -31612,7 +28068,6 @@ export namespace Prisma {
31612
28068
  associations?: AssociationUncheckedUpdateManyWithoutIntegrationNestedInput
31613
28069
  syncs?: SyncUncheckedUpdateManyWithoutIntegrationNestedInput
31614
28070
  processes?: ProcessUncheckedUpdateManyWithoutIntegrationNestedInput
31615
- workflowRuns?: WorkflowRunUncheckedUpdateManyWithoutIntegrationNestedInput
31616
28071
  }
31617
28072
 
31618
28073
  export type IntegrationCreateWithoutSyncsInput = {
@@ -31630,7 +28085,6 @@ export namespace Prisma {
31630
28085
  associations?: AssociationCreateNestedManyWithoutIntegrationInput
31631
28086
  mappings?: IntegrationMappingCreateNestedManyWithoutIntegrationInput
31632
28087
  processes?: ProcessCreateNestedManyWithoutIntegrationInput
31633
- workflowRuns?: WorkflowRunCreateNestedManyWithoutIntegrationInput
31634
28088
  }
31635
28089
 
31636
28090
  export type IntegrationUncheckedCreateWithoutSyncsInput = {
@@ -31649,7 +28103,6 @@ export namespace Prisma {
31649
28103
  associations?: AssociationUncheckedCreateNestedManyWithoutIntegrationInput
31650
28104
  mappings?: IntegrationMappingUncheckedCreateNestedManyWithoutIntegrationInput
31651
28105
  processes?: ProcessUncheckedCreateNestedManyWithoutIntegrationInput
31652
- workflowRuns?: WorkflowRunUncheckedCreateNestedManyWithoutIntegrationInput
31653
28106
  }
31654
28107
 
31655
28108
  export type IntegrationCreateOrConnectWithoutSyncsInput = {
@@ -31740,7 +28193,6 @@ export namespace Prisma {
31740
28193
  associations?: AssociationUpdateManyWithoutIntegrationNestedInput
31741
28194
  mappings?: IntegrationMappingUpdateManyWithoutIntegrationNestedInput
31742
28195
  processes?: ProcessUpdateManyWithoutIntegrationNestedInput
31743
- workflowRuns?: WorkflowRunUpdateManyWithoutIntegrationNestedInput
31744
28196
  }
31745
28197
 
31746
28198
  export type IntegrationUncheckedUpdateWithoutSyncsInput = {
@@ -31759,7 +28211,6 @@ export namespace Prisma {
31759
28211
  associations?: AssociationUncheckedUpdateManyWithoutIntegrationNestedInput
31760
28212
  mappings?: IntegrationMappingUncheckedUpdateManyWithoutIntegrationNestedInput
31761
28213
  processes?: ProcessUncheckedUpdateManyWithoutIntegrationNestedInput
31762
- workflowRuns?: WorkflowRunUncheckedUpdateManyWithoutIntegrationNestedInput
31763
28214
  }
31764
28215
 
31765
28216
  export type EntityUpsertWithWhereUniqueWithoutSyncsInput = {
@@ -31929,7 +28380,6 @@ export namespace Prisma {
31929
28380
  syncs?: SyncCreateNestedManyWithoutIntegrationInput
31930
28381
  mappings?: IntegrationMappingCreateNestedManyWithoutIntegrationInput
31931
28382
  processes?: ProcessCreateNestedManyWithoutIntegrationInput
31932
- workflowRuns?: WorkflowRunCreateNestedManyWithoutIntegrationInput
31933
28383
  }
31934
28384
 
31935
28385
  export type IntegrationUncheckedCreateWithoutAssociationsInput = {
@@ -31948,7 +28398,6 @@ export namespace Prisma {
31948
28398
  syncs?: SyncUncheckedCreateNestedManyWithoutIntegrationInput
31949
28399
  mappings?: IntegrationMappingUncheckedCreateNestedManyWithoutIntegrationInput
31950
28400
  processes?: ProcessUncheckedCreateNestedManyWithoutIntegrationInput
31951
- workflowRuns?: WorkflowRunUncheckedCreateNestedManyWithoutIntegrationInput
31952
28401
  }
31953
28402
 
31954
28403
  export type IntegrationCreateOrConnectWithoutAssociationsInput = {
@@ -32007,7 +28456,6 @@ export namespace Prisma {
32007
28456
  syncs?: SyncUpdateManyWithoutIntegrationNestedInput
32008
28457
  mappings?: IntegrationMappingUpdateManyWithoutIntegrationNestedInput
32009
28458
  processes?: ProcessUpdateManyWithoutIntegrationNestedInput
32010
- workflowRuns?: WorkflowRunUpdateManyWithoutIntegrationNestedInput
32011
28459
  }
32012
28460
 
32013
28461
  export type IntegrationUncheckedUpdateWithoutAssociationsInput = {
@@ -32026,7 +28474,6 @@ export namespace Prisma {
32026
28474
  syncs?: SyncUncheckedUpdateManyWithoutIntegrationNestedInput
32027
28475
  mappings?: IntegrationMappingUncheckedUpdateManyWithoutIntegrationNestedInput
32028
28476
  processes?: ProcessUncheckedUpdateManyWithoutIntegrationNestedInput
32029
- workflowRuns?: WorkflowRunUncheckedUpdateManyWithoutIntegrationNestedInput
32030
28477
  }
32031
28478
 
32032
28479
  export type AssociationObjectUpsertWithWhereUniqueWithoutAssociationInput = {
@@ -32222,7 +28669,6 @@ export namespace Prisma {
32222
28669
  associations?: AssociationCreateNestedManyWithoutIntegrationInput
32223
28670
  syncs?: SyncCreateNestedManyWithoutIntegrationInput
32224
28671
  mappings?: IntegrationMappingCreateNestedManyWithoutIntegrationInput
32225
- workflowRuns?: WorkflowRunCreateNestedManyWithoutIntegrationInput
32226
28672
  }
32227
28673
 
32228
28674
  export type IntegrationUncheckedCreateWithoutProcessesInput = {
@@ -32241,7 +28687,6 @@ export namespace Prisma {
32241
28687
  associations?: AssociationUncheckedCreateNestedManyWithoutIntegrationInput
32242
28688
  syncs?: SyncUncheckedCreateNestedManyWithoutIntegrationInput
32243
28689
  mappings?: IntegrationMappingUncheckedCreateNestedManyWithoutIntegrationInput
32244
- workflowRuns?: WorkflowRunUncheckedCreateNestedManyWithoutIntegrationInput
32245
28690
  }
32246
28691
 
32247
28692
  export type IntegrationCreateOrConnectWithoutProcessesInput = {
@@ -32392,7 +28837,6 @@ export namespace Prisma {
32392
28837
  associations?: AssociationUpdateManyWithoutIntegrationNestedInput
32393
28838
  syncs?: SyncUpdateManyWithoutIntegrationNestedInput
32394
28839
  mappings?: IntegrationMappingUpdateManyWithoutIntegrationNestedInput
32395
- workflowRuns?: WorkflowRunUpdateManyWithoutIntegrationNestedInput
32396
28840
  }
32397
28841
 
32398
28842
  export type IntegrationUncheckedUpdateWithoutProcessesInput = {
@@ -32411,7 +28855,6 @@ export namespace Prisma {
32411
28855
  associations?: AssociationUncheckedUpdateManyWithoutIntegrationNestedInput
32412
28856
  syncs?: SyncUncheckedUpdateManyWithoutIntegrationNestedInput
32413
28857
  mappings?: IntegrationMappingUncheckedUpdateManyWithoutIntegrationNestedInput
32414
- workflowRuns?: WorkflowRunUncheckedUpdateManyWithoutIntegrationNestedInput
32415
28858
  }
32416
28859
 
32417
28860
  export type ProcessUpsertWithoutChildProcessesInput = {
@@ -32594,96 +29037,6 @@ export namespace Prisma {
32594
29037
  updatedAt?: DateTimeFilter<"AdminScriptExecution"> | Date | string
32595
29038
  }
32596
29039
 
32597
- export type IntegrationCreateWithoutWorkflowRunsInput = {
32598
- status?: $Enums.IntegrationStatus
32599
- config?: NullableJsonNullValueInput | InputJsonValue
32600
- version?: string | null
32601
- errors?: JsonNullValueInput | InputJsonValue
32602
- warnings?: JsonNullValueInput | InputJsonValue
32603
- info?: JsonNullValueInput | InputJsonValue
32604
- logs?: JsonNullValueInput | InputJsonValue
32605
- createdAt?: Date | string
32606
- updatedAt?: Date | string
32607
- user?: UserCreateNestedOneWithoutIntegrationsInput
32608
- entities?: EntityCreateNestedManyWithoutIntegrationsInput
32609
- associations?: AssociationCreateNestedManyWithoutIntegrationInput
32610
- syncs?: SyncCreateNestedManyWithoutIntegrationInput
32611
- mappings?: IntegrationMappingCreateNestedManyWithoutIntegrationInput
32612
- processes?: ProcessCreateNestedManyWithoutIntegrationInput
32613
- }
32614
-
32615
- export type IntegrationUncheckedCreateWithoutWorkflowRunsInput = {
32616
- id?: number
32617
- userId?: number | null
32618
- status?: $Enums.IntegrationStatus
32619
- config?: NullableJsonNullValueInput | InputJsonValue
32620
- version?: string | null
32621
- errors?: JsonNullValueInput | InputJsonValue
32622
- warnings?: JsonNullValueInput | InputJsonValue
32623
- info?: JsonNullValueInput | InputJsonValue
32624
- logs?: JsonNullValueInput | InputJsonValue
32625
- createdAt?: Date | string
32626
- updatedAt?: Date | string
32627
- entities?: EntityUncheckedCreateNestedManyWithoutIntegrationsInput
32628
- associations?: AssociationUncheckedCreateNestedManyWithoutIntegrationInput
32629
- syncs?: SyncUncheckedCreateNestedManyWithoutIntegrationInput
32630
- mappings?: IntegrationMappingUncheckedCreateNestedManyWithoutIntegrationInput
32631
- processes?: ProcessUncheckedCreateNestedManyWithoutIntegrationInput
32632
- }
32633
-
32634
- export type IntegrationCreateOrConnectWithoutWorkflowRunsInput = {
32635
- where: IntegrationWhereUniqueInput
32636
- create: XOR<IntegrationCreateWithoutWorkflowRunsInput, IntegrationUncheckedCreateWithoutWorkflowRunsInput>
32637
- }
32638
-
32639
- export type IntegrationUpsertWithoutWorkflowRunsInput = {
32640
- update: XOR<IntegrationUpdateWithoutWorkflowRunsInput, IntegrationUncheckedUpdateWithoutWorkflowRunsInput>
32641
- create: XOR<IntegrationCreateWithoutWorkflowRunsInput, IntegrationUncheckedCreateWithoutWorkflowRunsInput>
32642
- where?: IntegrationWhereInput
32643
- }
32644
-
32645
- export type IntegrationUpdateToOneWithWhereWithoutWorkflowRunsInput = {
32646
- where?: IntegrationWhereInput
32647
- data: XOR<IntegrationUpdateWithoutWorkflowRunsInput, IntegrationUncheckedUpdateWithoutWorkflowRunsInput>
32648
- }
32649
-
32650
- export type IntegrationUpdateWithoutWorkflowRunsInput = {
32651
- status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
32652
- config?: NullableJsonNullValueInput | InputJsonValue
32653
- version?: NullableStringFieldUpdateOperationsInput | string | null
32654
- errors?: JsonNullValueInput | InputJsonValue
32655
- warnings?: JsonNullValueInput | InputJsonValue
32656
- info?: JsonNullValueInput | InputJsonValue
32657
- logs?: JsonNullValueInput | InputJsonValue
32658
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
32659
- updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
32660
- user?: UserUpdateOneWithoutIntegrationsNestedInput
32661
- entities?: EntityUpdateManyWithoutIntegrationsNestedInput
32662
- associations?: AssociationUpdateManyWithoutIntegrationNestedInput
32663
- syncs?: SyncUpdateManyWithoutIntegrationNestedInput
32664
- mappings?: IntegrationMappingUpdateManyWithoutIntegrationNestedInput
32665
- processes?: ProcessUpdateManyWithoutIntegrationNestedInput
32666
- }
32667
-
32668
- export type IntegrationUncheckedUpdateWithoutWorkflowRunsInput = {
32669
- id?: IntFieldUpdateOperationsInput | number
32670
- userId?: NullableIntFieldUpdateOperationsInput | number | null
32671
- status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
32672
- config?: NullableJsonNullValueInput | InputJsonValue
32673
- version?: NullableStringFieldUpdateOperationsInput | string | null
32674
- errors?: JsonNullValueInput | InputJsonValue
32675
- warnings?: JsonNullValueInput | InputJsonValue
32676
- info?: JsonNullValueInput | InputJsonValue
32677
- logs?: JsonNullValueInput | InputJsonValue
32678
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
32679
- updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
32680
- entities?: EntityUncheckedUpdateManyWithoutIntegrationsNestedInput
32681
- associations?: AssociationUncheckedUpdateManyWithoutIntegrationNestedInput
32682
- syncs?: SyncUncheckedUpdateManyWithoutIntegrationNestedInput
32683
- mappings?: IntegrationMappingUncheckedUpdateManyWithoutIntegrationNestedInput
32684
- processes?: ProcessUncheckedUpdateManyWithoutIntegrationNestedInput
32685
- }
32686
-
32687
29040
  export type UserCreateManyOrganizationInput = {
32688
29041
  id?: number
32689
29042
  type: $Enums.UserType
@@ -32903,7 +29256,6 @@ export namespace Prisma {
32903
29256
  syncs?: SyncUpdateManyWithoutIntegrationNestedInput
32904
29257
  mappings?: IntegrationMappingUpdateManyWithoutIntegrationNestedInput
32905
29258
  processes?: ProcessUpdateManyWithoutIntegrationNestedInput
32906
- workflowRuns?: WorkflowRunUpdateManyWithoutIntegrationNestedInput
32907
29259
  }
32908
29260
 
32909
29261
  export type IntegrationUncheckedUpdateWithoutUserInput = {
@@ -32922,7 +29274,6 @@ export namespace Prisma {
32922
29274
  syncs?: SyncUncheckedUpdateManyWithoutIntegrationNestedInput
32923
29275
  mappings?: IntegrationMappingUncheckedUpdateManyWithoutIntegrationNestedInput
32924
29276
  processes?: ProcessUncheckedUpdateManyWithoutIntegrationNestedInput
32925
- workflowRuns?: WorkflowRunUncheckedUpdateManyWithoutIntegrationNestedInput
32926
29277
  }
32927
29278
 
32928
29279
  export type IntegrationUncheckedUpdateManyWithoutUserInput = {
@@ -33059,7 +29410,6 @@ export namespace Prisma {
33059
29410
  syncs?: SyncUpdateManyWithoutIntegrationNestedInput
33060
29411
  mappings?: IntegrationMappingUpdateManyWithoutIntegrationNestedInput
33061
29412
  processes?: ProcessUpdateManyWithoutIntegrationNestedInput
33062
- workflowRuns?: WorkflowRunUpdateManyWithoutIntegrationNestedInput
33063
29413
  }
33064
29414
 
33065
29415
  export type IntegrationUncheckedUpdateWithoutEntitiesInput = {
@@ -33078,7 +29428,6 @@ export namespace Prisma {
33078
29428
  syncs?: SyncUncheckedUpdateManyWithoutIntegrationNestedInput
33079
29429
  mappings?: IntegrationMappingUncheckedUpdateManyWithoutIntegrationNestedInput
33080
29430
  processes?: ProcessUncheckedUpdateManyWithoutIntegrationNestedInput
33081
- workflowRuns?: WorkflowRunUncheckedUpdateManyWithoutIntegrationNestedInput
33082
29431
  }
33083
29432
 
33084
29433
  export type IntegrationUncheckedUpdateManyWithoutEntitiesInput = {
@@ -33194,26 +29543,6 @@ export namespace Prisma {
33194
29543
  updatedAt?: Date | string
33195
29544
  }
33196
29545
 
33197
- export type WorkflowRunCreateManyIntegrationInput = {
33198
- id?: number
33199
- definitionId: string
33200
- definitionVersion: string
33201
- workflowId: string
33202
- triggerType: string
33203
- eventId?: string | null
33204
- status: string
33205
- reason?: string | null
33206
- error?: string | null
33207
- retryable?: boolean
33208
- trace?: JsonNullValueInput | InputJsonValue
33209
- runKey?: string | null
33210
- waitingFor?: NullableJsonNullValueInput | InputJsonValue
33211
- resumeAt?: Date | string | null
33212
- startedAt: Date | string
33213
- endedAt?: Date | string | null
33214
- createdAt?: Date | string
33215
- }
33216
-
33217
29546
  export type EntityUpdateWithoutIntegrationsInput = {
33218
29547
  name?: NullableStringFieldUpdateOperationsInput | string | null
33219
29548
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
@@ -33361,65 +29690,6 @@ export namespace Prisma {
33361
29690
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
33362
29691
  }
33363
29692
 
33364
- export type WorkflowRunUpdateWithoutIntegrationInput = {
33365
- definitionId?: StringFieldUpdateOperationsInput | string
33366
- definitionVersion?: StringFieldUpdateOperationsInput | string
33367
- workflowId?: StringFieldUpdateOperationsInput | string
33368
- triggerType?: StringFieldUpdateOperationsInput | string
33369
- eventId?: NullableStringFieldUpdateOperationsInput | string | null
33370
- status?: StringFieldUpdateOperationsInput | string
33371
- reason?: NullableStringFieldUpdateOperationsInput | string | null
33372
- error?: NullableStringFieldUpdateOperationsInput | string | null
33373
- retryable?: BoolFieldUpdateOperationsInput | boolean
33374
- trace?: JsonNullValueInput | InputJsonValue
33375
- runKey?: NullableStringFieldUpdateOperationsInput | string | null
33376
- waitingFor?: NullableJsonNullValueInput | InputJsonValue
33377
- resumeAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
33378
- startedAt?: DateTimeFieldUpdateOperationsInput | Date | string
33379
- endedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
33380
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
33381
- }
33382
-
33383
- export type WorkflowRunUncheckedUpdateWithoutIntegrationInput = {
33384
- id?: IntFieldUpdateOperationsInput | number
33385
- definitionId?: StringFieldUpdateOperationsInput | string
33386
- definitionVersion?: StringFieldUpdateOperationsInput | string
33387
- workflowId?: StringFieldUpdateOperationsInput | string
33388
- triggerType?: StringFieldUpdateOperationsInput | string
33389
- eventId?: NullableStringFieldUpdateOperationsInput | string | null
33390
- status?: StringFieldUpdateOperationsInput | string
33391
- reason?: NullableStringFieldUpdateOperationsInput | string | null
33392
- error?: NullableStringFieldUpdateOperationsInput | string | null
33393
- retryable?: BoolFieldUpdateOperationsInput | boolean
33394
- trace?: JsonNullValueInput | InputJsonValue
33395
- runKey?: NullableStringFieldUpdateOperationsInput | string | null
33396
- waitingFor?: NullableJsonNullValueInput | InputJsonValue
33397
- resumeAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
33398
- startedAt?: DateTimeFieldUpdateOperationsInput | Date | string
33399
- endedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
33400
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
33401
- }
33402
-
33403
- export type WorkflowRunUncheckedUpdateManyWithoutIntegrationInput = {
33404
- id?: IntFieldUpdateOperationsInput | number
33405
- definitionId?: StringFieldUpdateOperationsInput | string
33406
- definitionVersion?: StringFieldUpdateOperationsInput | string
33407
- workflowId?: StringFieldUpdateOperationsInput | string
33408
- triggerType?: StringFieldUpdateOperationsInput | string
33409
- eventId?: NullableStringFieldUpdateOperationsInput | string | null
33410
- status?: StringFieldUpdateOperationsInput | string
33411
- reason?: NullableStringFieldUpdateOperationsInput | string | null
33412
- error?: NullableStringFieldUpdateOperationsInput | string | null
33413
- retryable?: BoolFieldUpdateOperationsInput | boolean
33414
- trace?: JsonNullValueInput | InputJsonValue
33415
- runKey?: NullableStringFieldUpdateOperationsInput | string | null
33416
- waitingFor?: NullableJsonNullValueInput | InputJsonValue
33417
- resumeAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
33418
- startedAt?: DateTimeFieldUpdateOperationsInput | Date | string
33419
- endedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
33420
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
33421
- }
33422
-
33423
29693
  export type DataIdentifierCreateManySyncInput = {
33424
29694
  id?: number
33425
29695
  entityId: number