@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
  *
@@ -433,26 +409,6 @@ export class PrismaClient<
433
409
  * ```
434
410
  */
435
411
  get usageCounter(): Prisma.UsageCounterDelegate<ExtArgs, ClientOptions>;
436
-
437
- /**
438
- * `prisma.integrationDefinitionVersion`: Exposes CRUD operations for the **IntegrationDefinitionVersion** model.
439
- * Example usage:
440
- * ```ts
441
- * // Fetch zero or more IntegrationDefinitionVersions
442
- * const integrationDefinitionVersions = await prisma.integrationDefinitionVersion.findMany()
443
- * ```
444
- */
445
- get integrationDefinitionVersion(): Prisma.IntegrationDefinitionVersionDelegate<ExtArgs, ClientOptions>;
446
-
447
- /**
448
- * `prisma.workflowRun`: Exposes CRUD operations for the **WorkflowRun** model.
449
- * Example usage:
450
- * ```ts
451
- * // Fetch zero or more WorkflowRuns
452
- * const workflowRuns = await prisma.workflowRun.findMany()
453
- * ```
454
- */
455
- get workflowRun(): Prisma.WorkflowRunDelegate<ExtArgs, ClientOptions>;
456
412
  }
457
413
 
458
414
  export namespace Prisma {
@@ -909,9 +865,7 @@ export namespace Prisma {
909
865
  WebsocketConnection: 'WebsocketConnection',
910
866
  AdminScriptExecution: 'AdminScriptExecution',
911
867
  ScriptSchedule: 'ScriptSchedule',
912
- UsageCounter: 'UsageCounter',
913
- IntegrationDefinitionVersion: 'IntegrationDefinitionVersion',
914
- WorkflowRun: 'WorkflowRun'
868
+ UsageCounter: 'UsageCounter'
915
869
  };
916
870
 
917
871
  export type ModelName = (typeof ModelName)[keyof typeof ModelName]
@@ -930,7 +884,7 @@ export namespace Prisma {
930
884
  omit: GlobalOmitOptions
931
885
  }
932
886
  meta: {
933
- modelProps: "user" | "token" | "credential" | "entity" | "integration" | "integrationMapping" | "process" | "sync" | "dataIdentifier" | "association" | "associationObject" | "state" | "websocketConnection" | "adminScriptExecution" | "scriptSchedule" | "usageCounter" | "integrationDefinitionVersion" | "workflowRun"
887
+ modelProps: "user" | "token" | "credential" | "entity" | "integration" | "integrationMapping" | "process" | "sync" | "dataIdentifier" | "association" | "associationObject" | "state" | "websocketConnection" | "adminScriptExecution" | "scriptSchedule" | "usageCounter"
934
888
  txIsolationLevel: never
935
889
  }
936
890
  model: {
@@ -2118,154 +2072,6 @@ export namespace Prisma {
2118
2072
  }
2119
2073
  }
2120
2074
  }
2121
- IntegrationDefinitionVersion: {
2122
- payload: Prisma.$IntegrationDefinitionVersionPayload<ExtArgs>
2123
- fields: Prisma.IntegrationDefinitionVersionFieldRefs
2124
- operations: {
2125
- findUnique: {
2126
- args: Prisma.IntegrationDefinitionVersionFindUniqueArgs<ExtArgs>
2127
- result: $Utils.PayloadToResult<Prisma.$IntegrationDefinitionVersionPayload> | null
2128
- }
2129
- findUniqueOrThrow: {
2130
- args: Prisma.IntegrationDefinitionVersionFindUniqueOrThrowArgs<ExtArgs>
2131
- result: $Utils.PayloadToResult<Prisma.$IntegrationDefinitionVersionPayload>
2132
- }
2133
- findFirst: {
2134
- args: Prisma.IntegrationDefinitionVersionFindFirstArgs<ExtArgs>
2135
- result: $Utils.PayloadToResult<Prisma.$IntegrationDefinitionVersionPayload> | null
2136
- }
2137
- findFirstOrThrow: {
2138
- args: Prisma.IntegrationDefinitionVersionFindFirstOrThrowArgs<ExtArgs>
2139
- result: $Utils.PayloadToResult<Prisma.$IntegrationDefinitionVersionPayload>
2140
- }
2141
- findMany: {
2142
- args: Prisma.IntegrationDefinitionVersionFindManyArgs<ExtArgs>
2143
- result: $Utils.PayloadToResult<Prisma.$IntegrationDefinitionVersionPayload>[]
2144
- }
2145
- create: {
2146
- args: Prisma.IntegrationDefinitionVersionCreateArgs<ExtArgs>
2147
- result: $Utils.PayloadToResult<Prisma.$IntegrationDefinitionVersionPayload>
2148
- }
2149
- createMany: {
2150
- args: Prisma.IntegrationDefinitionVersionCreateManyArgs<ExtArgs>
2151
- result: BatchPayload
2152
- }
2153
- delete: {
2154
- args: Prisma.IntegrationDefinitionVersionDeleteArgs<ExtArgs>
2155
- result: $Utils.PayloadToResult<Prisma.$IntegrationDefinitionVersionPayload>
2156
- }
2157
- update: {
2158
- args: Prisma.IntegrationDefinitionVersionUpdateArgs<ExtArgs>
2159
- result: $Utils.PayloadToResult<Prisma.$IntegrationDefinitionVersionPayload>
2160
- }
2161
- deleteMany: {
2162
- args: Prisma.IntegrationDefinitionVersionDeleteManyArgs<ExtArgs>
2163
- result: BatchPayload
2164
- }
2165
- updateMany: {
2166
- args: Prisma.IntegrationDefinitionVersionUpdateManyArgs<ExtArgs>
2167
- result: BatchPayload
2168
- }
2169
- upsert: {
2170
- args: Prisma.IntegrationDefinitionVersionUpsertArgs<ExtArgs>
2171
- result: $Utils.PayloadToResult<Prisma.$IntegrationDefinitionVersionPayload>
2172
- }
2173
- aggregate: {
2174
- args: Prisma.IntegrationDefinitionVersionAggregateArgs<ExtArgs>
2175
- result: $Utils.Optional<AggregateIntegrationDefinitionVersion>
2176
- }
2177
- groupBy: {
2178
- args: Prisma.IntegrationDefinitionVersionGroupByArgs<ExtArgs>
2179
- result: $Utils.Optional<IntegrationDefinitionVersionGroupByOutputType>[]
2180
- }
2181
- findRaw: {
2182
- args: Prisma.IntegrationDefinitionVersionFindRawArgs<ExtArgs>
2183
- result: JsonObject
2184
- }
2185
- aggregateRaw: {
2186
- args: Prisma.IntegrationDefinitionVersionAggregateRawArgs<ExtArgs>
2187
- result: JsonObject
2188
- }
2189
- count: {
2190
- args: Prisma.IntegrationDefinitionVersionCountArgs<ExtArgs>
2191
- result: $Utils.Optional<IntegrationDefinitionVersionCountAggregateOutputType> | number
2192
- }
2193
- }
2194
- }
2195
- WorkflowRun: {
2196
- payload: Prisma.$WorkflowRunPayload<ExtArgs>
2197
- fields: Prisma.WorkflowRunFieldRefs
2198
- operations: {
2199
- findUnique: {
2200
- args: Prisma.WorkflowRunFindUniqueArgs<ExtArgs>
2201
- result: $Utils.PayloadToResult<Prisma.$WorkflowRunPayload> | null
2202
- }
2203
- findUniqueOrThrow: {
2204
- args: Prisma.WorkflowRunFindUniqueOrThrowArgs<ExtArgs>
2205
- result: $Utils.PayloadToResult<Prisma.$WorkflowRunPayload>
2206
- }
2207
- findFirst: {
2208
- args: Prisma.WorkflowRunFindFirstArgs<ExtArgs>
2209
- result: $Utils.PayloadToResult<Prisma.$WorkflowRunPayload> | null
2210
- }
2211
- findFirstOrThrow: {
2212
- args: Prisma.WorkflowRunFindFirstOrThrowArgs<ExtArgs>
2213
- result: $Utils.PayloadToResult<Prisma.$WorkflowRunPayload>
2214
- }
2215
- findMany: {
2216
- args: Prisma.WorkflowRunFindManyArgs<ExtArgs>
2217
- result: $Utils.PayloadToResult<Prisma.$WorkflowRunPayload>[]
2218
- }
2219
- create: {
2220
- args: Prisma.WorkflowRunCreateArgs<ExtArgs>
2221
- result: $Utils.PayloadToResult<Prisma.$WorkflowRunPayload>
2222
- }
2223
- createMany: {
2224
- args: Prisma.WorkflowRunCreateManyArgs<ExtArgs>
2225
- result: BatchPayload
2226
- }
2227
- delete: {
2228
- args: Prisma.WorkflowRunDeleteArgs<ExtArgs>
2229
- result: $Utils.PayloadToResult<Prisma.$WorkflowRunPayload>
2230
- }
2231
- update: {
2232
- args: Prisma.WorkflowRunUpdateArgs<ExtArgs>
2233
- result: $Utils.PayloadToResult<Prisma.$WorkflowRunPayload>
2234
- }
2235
- deleteMany: {
2236
- args: Prisma.WorkflowRunDeleteManyArgs<ExtArgs>
2237
- result: BatchPayload
2238
- }
2239
- updateMany: {
2240
- args: Prisma.WorkflowRunUpdateManyArgs<ExtArgs>
2241
- result: BatchPayload
2242
- }
2243
- upsert: {
2244
- args: Prisma.WorkflowRunUpsertArgs<ExtArgs>
2245
- result: $Utils.PayloadToResult<Prisma.$WorkflowRunPayload>
2246
- }
2247
- aggregate: {
2248
- args: Prisma.WorkflowRunAggregateArgs<ExtArgs>
2249
- result: $Utils.Optional<AggregateWorkflowRun>
2250
- }
2251
- groupBy: {
2252
- args: Prisma.WorkflowRunGroupByArgs<ExtArgs>
2253
- result: $Utils.Optional<WorkflowRunGroupByOutputType>[]
2254
- }
2255
- findRaw: {
2256
- args: Prisma.WorkflowRunFindRawArgs<ExtArgs>
2257
- result: JsonObject
2258
- }
2259
- aggregateRaw: {
2260
- args: Prisma.WorkflowRunAggregateRawArgs<ExtArgs>
2261
- result: JsonObject
2262
- }
2263
- count: {
2264
- args: Prisma.WorkflowRunCountArgs<ExtArgs>
2265
- result: $Utils.Optional<WorkflowRunCountAggregateOutputType> | number
2266
- }
2267
- }
2268
- }
2269
2075
  }
2270
2076
  } & {
2271
2077
  other: {
@@ -2361,8 +2167,6 @@ export namespace Prisma {
2361
2167
  adminScriptExecution?: AdminScriptExecutionOmit
2362
2168
  scriptSchedule?: ScriptScheduleOmit
2363
2169
  usageCounter?: UsageCounterOmit
2364
- integrationDefinitionVersion?: IntegrationDefinitionVersionOmit
2365
- workflowRun?: WorkflowRunOmit
2366
2170
  }
2367
2171
 
2368
2172
  /* Types for Logging */
@@ -2613,7 +2417,6 @@ export namespace Prisma {
2613
2417
  syncs: number
2614
2418
  mappings: number
2615
2419
  processes: number
2616
- workflowRuns: number
2617
2420
  }
2618
2421
 
2619
2422
  export type IntegrationCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -2622,7 +2425,6 @@ export namespace Prisma {
2622
2425
  syncs?: boolean | IntegrationCountOutputTypeCountSyncsArgs
2623
2426
  mappings?: boolean | IntegrationCountOutputTypeCountMappingsArgs
2624
2427
  processes?: boolean | IntegrationCountOutputTypeCountProcessesArgs
2625
- workflowRuns?: boolean | IntegrationCountOutputTypeCountWorkflowRunsArgs
2626
2428
  }
2627
2429
 
2628
2430
  // Custom InputTypes
@@ -2671,13 +2473,6 @@ export namespace Prisma {
2671
2473
  where?: ProcessWhereInput
2672
2474
  }
2673
2475
 
2674
- /**
2675
- * IntegrationCountOutputType without action
2676
- */
2677
- export type IntegrationCountOutputTypeCountWorkflowRunsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2678
- where?: WorkflowRunWhereInput
2679
- }
2680
-
2681
2476
 
2682
2477
  /**
2683
2478
  * Count Type SyncCountOutputType
@@ -7404,7 +7199,6 @@ export namespace Prisma {
7404
7199
  syncs?: boolean | Integration$syncsArgs<ExtArgs>
7405
7200
  mappings?: boolean | Integration$mappingsArgs<ExtArgs>
7406
7201
  processes?: boolean | Integration$processesArgs<ExtArgs>
7407
- workflowRuns?: boolean | Integration$workflowRunsArgs<ExtArgs>
7408
7202
  _count?: boolean | IntegrationCountOutputTypeDefaultArgs<ExtArgs>
7409
7203
  }, ExtArgs["result"]["integration"]>
7410
7204
 
@@ -7433,7 +7227,6 @@ export namespace Prisma {
7433
7227
  syncs?: boolean | Integration$syncsArgs<ExtArgs>
7434
7228
  mappings?: boolean | Integration$mappingsArgs<ExtArgs>
7435
7229
  processes?: boolean | Integration$processesArgs<ExtArgs>
7436
- workflowRuns?: boolean | Integration$workflowRunsArgs<ExtArgs>
7437
7230
  _count?: boolean | IntegrationCountOutputTypeDefaultArgs<ExtArgs>
7438
7231
  }
7439
7232
 
@@ -7446,7 +7239,6 @@ export namespace Prisma {
7446
7239
  syncs: Prisma.$SyncPayload<ExtArgs>[]
7447
7240
  mappings: Prisma.$IntegrationMappingPayload<ExtArgs>[]
7448
7241
  processes: Prisma.$ProcessPayload<ExtArgs>[]
7449
- workflowRuns: Prisma.$WorkflowRunPayload<ExtArgs>[]
7450
7242
  }
7451
7243
  scalars: $Extensions.GetPayloadResult<{
7452
7244
  id: string
@@ -7830,7 +7622,6 @@ export namespace Prisma {
7830
7622
  syncs<T extends Integration$syncsArgs<ExtArgs> = {}>(args?: Subset<T, Integration$syncsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$SyncPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
7831
7623
  mappings<T extends Integration$mappingsArgs<ExtArgs> = {}>(args?: Subset<T, Integration$mappingsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$IntegrationMappingPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
7832
7624
  processes<T extends Integration$processesArgs<ExtArgs> = {}>(args?: Subset<T, Integration$processesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ProcessPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
7833
- workflowRuns<T extends Integration$workflowRunsArgs<ExtArgs> = {}>(args?: Subset<T, Integration$workflowRunsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$WorkflowRunPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
7834
7625
  /**
7835
7626
  * Attaches callbacks for the resolution and/or rejection of the Promise.
7836
7627
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -8380,30 +8171,6 @@ export namespace Prisma {
8380
8171
  distinct?: ProcessScalarFieldEnum | ProcessScalarFieldEnum[]
8381
8172
  }
8382
8173
 
8383
- /**
8384
- * Integration.workflowRuns
8385
- */
8386
- export type Integration$workflowRunsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
8387
- /**
8388
- * Select specific fields to fetch from the WorkflowRun
8389
- */
8390
- select?: WorkflowRunSelect<ExtArgs> | null
8391
- /**
8392
- * Omit specific fields from the WorkflowRun
8393
- */
8394
- omit?: WorkflowRunOmit<ExtArgs> | null
8395
- /**
8396
- * Choose, which related nodes to fetch as well
8397
- */
8398
- include?: WorkflowRunInclude<ExtArgs> | null
8399
- where?: WorkflowRunWhereInput
8400
- orderBy?: WorkflowRunOrderByWithRelationInput | WorkflowRunOrderByWithRelationInput[]
8401
- cursor?: WorkflowRunWhereUniqueInput
8402
- take?: number
8403
- skip?: number
8404
- distinct?: WorkflowRunScalarFieldEnum | WorkflowRunScalarFieldEnum[]
8405
- }
8406
-
8407
8174
  /**
8408
8175
  * Integration without action
8409
8176
  */
@@ -19273,2223 +19040,65 @@ export namespace Prisma {
19273
19040
 
19274
19041
 
19275
19042
  /**
19276
- * Model IntegrationDefinitionVersion
19043
+ * Enums
19277
19044
  */
19278
19045
 
19279
- export type AggregateIntegrationDefinitionVersion = {
19280
- _count: IntegrationDefinitionVersionCountAggregateOutputType | null
19281
- _min: IntegrationDefinitionVersionMinAggregateOutputType | null
19282
- _max: IntegrationDefinitionVersionMaxAggregateOutputType | null
19283
- }
19284
-
19285
- export type IntegrationDefinitionVersionMinAggregateOutputType = {
19286
- id: string | null
19287
- definitionId: string | null
19288
- version: string | null
19289
- schemaVersion: string | null
19290
- status: $Enums.DefinitionStatus | null
19291
- checksum: string | null
19292
- changeLevel: string | null
19293
- previousVersion: string | null
19294
- notes: string | null
19295
- createdBy: string | null
19296
- workspaceId: string | null
19297
- publishedAt: Date | null
19298
- createdAt: Date | null
19299
- updatedAt: Date | null
19300
- }
19301
-
19302
- export type IntegrationDefinitionVersionMaxAggregateOutputType = {
19303
- id: string | null
19304
- definitionId: string | null
19305
- version: string | null
19306
- schemaVersion: string | null
19307
- status: $Enums.DefinitionStatus | null
19308
- checksum: string | null
19309
- changeLevel: string | null
19310
- previousVersion: string | null
19311
- notes: string | null
19312
- createdBy: string | null
19313
- workspaceId: string | null
19314
- publishedAt: Date | null
19315
- createdAt: Date | null
19316
- updatedAt: Date | null
19317
- }
19046
+ export const UserScalarFieldEnum: {
19047
+ id: 'id',
19048
+ type: 'type',
19049
+ createdAt: 'createdAt',
19050
+ updatedAt: 'updatedAt',
19051
+ email: 'email',
19052
+ username: 'username',
19053
+ hashword: 'hashword',
19054
+ appUserId: 'appUserId',
19055
+ organizationId: 'organizationId',
19056
+ appOrgId: 'appOrgId',
19057
+ name: 'name'
19058
+ };
19318
19059
 
19319
- export type IntegrationDefinitionVersionCountAggregateOutputType = {
19320
- id: number
19321
- definitionId: number
19322
- version: number
19323
- schemaVersion: number
19324
- status: number
19325
- checksum: number
19326
- document: number
19327
- changeLevel: number
19328
- previousVersion: number
19329
- notes: number
19330
- createdBy: number
19331
- workspaceId: number
19332
- publishedAt: number
19333
- createdAt: number
19334
- updatedAt: number
19335
- _all: number
19336
- }
19060
+ export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum]
19337
19061
 
19338
19062
 
19339
- export type IntegrationDefinitionVersionMinAggregateInputType = {
19340
- id?: true
19341
- definitionId?: true
19342
- version?: true
19343
- schemaVersion?: true
19344
- status?: true
19345
- checksum?: true
19346
- changeLevel?: true
19347
- previousVersion?: true
19348
- notes?: true
19349
- createdBy?: true
19350
- workspaceId?: true
19351
- publishedAt?: true
19352
- createdAt?: true
19353
- updatedAt?: true
19354
- }
19063
+ export const TokenScalarFieldEnum: {
19064
+ id: 'id',
19065
+ token: 'token',
19066
+ created: 'created',
19067
+ expires: 'expires',
19068
+ userId: 'userId'
19069
+ };
19355
19070
 
19356
- export type IntegrationDefinitionVersionMaxAggregateInputType = {
19357
- id?: true
19358
- definitionId?: true
19359
- version?: true
19360
- schemaVersion?: true
19361
- status?: true
19362
- checksum?: true
19363
- changeLevel?: true
19364
- previousVersion?: true
19365
- notes?: true
19366
- createdBy?: true
19367
- workspaceId?: true
19368
- publishedAt?: true
19369
- createdAt?: true
19370
- updatedAt?: true
19371
- }
19071
+ export type TokenScalarFieldEnum = (typeof TokenScalarFieldEnum)[keyof typeof TokenScalarFieldEnum]
19372
19072
 
19373
- export type IntegrationDefinitionVersionCountAggregateInputType = {
19374
- id?: true
19375
- definitionId?: true
19376
- version?: true
19377
- schemaVersion?: true
19378
- status?: true
19379
- checksum?: true
19380
- document?: true
19381
- changeLevel?: true
19382
- previousVersion?: true
19383
- notes?: true
19384
- createdBy?: true
19385
- workspaceId?: true
19386
- publishedAt?: true
19387
- createdAt?: true
19388
- updatedAt?: true
19389
- _all?: true
19390
- }
19391
19073
 
19392
- export type IntegrationDefinitionVersionAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
19393
- /**
19394
- * Filter which IntegrationDefinitionVersion to aggregate.
19395
- */
19396
- where?: IntegrationDefinitionVersionWhereInput
19397
- /**
19398
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
19399
- *
19400
- * Determine the order of IntegrationDefinitionVersions to fetch.
19401
- */
19402
- orderBy?: IntegrationDefinitionVersionOrderByWithRelationInput | IntegrationDefinitionVersionOrderByWithRelationInput[]
19403
- /**
19404
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
19405
- *
19406
- * Sets the start position
19407
- */
19408
- cursor?: IntegrationDefinitionVersionWhereUniqueInput
19409
- /**
19410
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
19411
- *
19412
- * Take `±n` IntegrationDefinitionVersions from the position of the cursor.
19413
- */
19414
- take?: number
19415
- /**
19416
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
19417
- *
19418
- * Skip the first `n` IntegrationDefinitionVersions.
19419
- */
19420
- skip?: number
19421
- /**
19422
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
19423
- *
19424
- * Count returned IntegrationDefinitionVersions
19425
- **/
19426
- _count?: true | IntegrationDefinitionVersionCountAggregateInputType
19427
- /**
19428
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
19429
- *
19430
- * Select which fields to find the minimum value
19431
- **/
19432
- _min?: IntegrationDefinitionVersionMinAggregateInputType
19433
- /**
19434
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
19435
- *
19436
- * Select which fields to find the maximum value
19437
- **/
19438
- _max?: IntegrationDefinitionVersionMaxAggregateInputType
19439
- }
19074
+ export const CredentialScalarFieldEnum: {
19075
+ id: 'id',
19076
+ userId: 'userId',
19077
+ authIsValid: 'authIsValid',
19078
+ externalId: 'externalId',
19079
+ data: 'data',
19080
+ createdAt: 'createdAt',
19081
+ updatedAt: 'updatedAt'
19082
+ };
19440
19083
 
19441
- export type GetIntegrationDefinitionVersionAggregateType<T extends IntegrationDefinitionVersionAggregateArgs> = {
19442
- [P in keyof T & keyof AggregateIntegrationDefinitionVersion]: P extends '_count' | 'count'
19443
- ? T[P] extends true
19444
- ? number
19445
- : GetScalarType<T[P], AggregateIntegrationDefinitionVersion[P]>
19446
- : GetScalarType<T[P], AggregateIntegrationDefinitionVersion[P]>
19447
- }
19084
+ export type CredentialScalarFieldEnum = (typeof CredentialScalarFieldEnum)[keyof typeof CredentialScalarFieldEnum]
19448
19085
 
19449
19086
 
19087
+ export const EntityScalarFieldEnum: {
19088
+ id: 'id',
19089
+ credentialId: 'credentialId',
19090
+ userId: 'userId',
19091
+ name: 'name',
19092
+ moduleName: 'moduleName',
19093
+ externalId: 'externalId',
19094
+ data: 'data',
19095
+ createdAt: 'createdAt',
19096
+ updatedAt: 'updatedAt',
19097
+ integrationIds: 'integrationIds',
19098
+ syncIds: 'syncIds'
19099
+ };
19450
19100
 
19451
-
19452
- export type IntegrationDefinitionVersionGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
19453
- where?: IntegrationDefinitionVersionWhereInput
19454
- orderBy?: IntegrationDefinitionVersionOrderByWithAggregationInput | IntegrationDefinitionVersionOrderByWithAggregationInput[]
19455
- by: IntegrationDefinitionVersionScalarFieldEnum[] | IntegrationDefinitionVersionScalarFieldEnum
19456
- having?: IntegrationDefinitionVersionScalarWhereWithAggregatesInput
19457
- take?: number
19458
- skip?: number
19459
- _count?: IntegrationDefinitionVersionCountAggregateInputType | true
19460
- _min?: IntegrationDefinitionVersionMinAggregateInputType
19461
- _max?: IntegrationDefinitionVersionMaxAggregateInputType
19462
- }
19463
-
19464
- export type IntegrationDefinitionVersionGroupByOutputType = {
19465
- id: string
19466
- definitionId: string
19467
- version: string
19468
- schemaVersion: string
19469
- status: $Enums.DefinitionStatus
19470
- checksum: string
19471
- document: JsonValue
19472
- changeLevel: string | null
19473
- previousVersion: string | null
19474
- notes: string | null
19475
- createdBy: string | null
19476
- workspaceId: string | null
19477
- publishedAt: Date | null
19478
- createdAt: Date
19479
- updatedAt: Date
19480
- _count: IntegrationDefinitionVersionCountAggregateOutputType | null
19481
- _min: IntegrationDefinitionVersionMinAggregateOutputType | null
19482
- _max: IntegrationDefinitionVersionMaxAggregateOutputType | null
19483
- }
19484
-
19485
- type GetIntegrationDefinitionVersionGroupByPayload<T extends IntegrationDefinitionVersionGroupByArgs> = Prisma.PrismaPromise<
19486
- Array<
19487
- PickEnumerable<IntegrationDefinitionVersionGroupByOutputType, T['by']> &
19488
- {
19489
- [P in ((keyof T) & (keyof IntegrationDefinitionVersionGroupByOutputType))]: P extends '_count'
19490
- ? T[P] extends boolean
19491
- ? number
19492
- : GetScalarType<T[P], IntegrationDefinitionVersionGroupByOutputType[P]>
19493
- : GetScalarType<T[P], IntegrationDefinitionVersionGroupByOutputType[P]>
19494
- }
19495
- >
19496
- >
19497
-
19498
-
19499
- export type IntegrationDefinitionVersionSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
19500
- id?: boolean
19501
- definitionId?: boolean
19502
- version?: boolean
19503
- schemaVersion?: boolean
19504
- status?: boolean
19505
- checksum?: boolean
19506
- document?: boolean
19507
- changeLevel?: boolean
19508
- previousVersion?: boolean
19509
- notes?: boolean
19510
- createdBy?: boolean
19511
- workspaceId?: boolean
19512
- publishedAt?: boolean
19513
- createdAt?: boolean
19514
- updatedAt?: boolean
19515
- }, ExtArgs["result"]["integrationDefinitionVersion"]>
19516
-
19517
-
19518
-
19519
- export type IntegrationDefinitionVersionSelectScalar = {
19520
- id?: boolean
19521
- definitionId?: boolean
19522
- version?: boolean
19523
- schemaVersion?: boolean
19524
- status?: boolean
19525
- checksum?: boolean
19526
- document?: boolean
19527
- changeLevel?: boolean
19528
- previousVersion?: boolean
19529
- notes?: boolean
19530
- createdBy?: boolean
19531
- workspaceId?: boolean
19532
- publishedAt?: boolean
19533
- createdAt?: boolean
19534
- updatedAt?: boolean
19535
- }
19536
-
19537
- 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"]>
19538
-
19539
- export type $IntegrationDefinitionVersionPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
19540
- name: "IntegrationDefinitionVersion"
19541
- objects: {}
19542
- scalars: $Extensions.GetPayloadResult<{
19543
- id: string
19544
- definitionId: string
19545
- version: string
19546
- schemaVersion: string
19547
- status: $Enums.DefinitionStatus
19548
- checksum: string
19549
- document: Prisma.JsonValue
19550
- changeLevel: string | null
19551
- previousVersion: string | null
19552
- notes: string | null
19553
- createdBy: string | null
19554
- workspaceId: string | null
19555
- publishedAt: Date | null
19556
- createdAt: Date
19557
- updatedAt: Date
19558
- }, ExtArgs["result"]["integrationDefinitionVersion"]>
19559
- composites: {}
19560
- }
19561
-
19562
- type IntegrationDefinitionVersionGetPayload<S extends boolean | null | undefined | IntegrationDefinitionVersionDefaultArgs> = $Result.GetResult<Prisma.$IntegrationDefinitionVersionPayload, S>
19563
-
19564
- type IntegrationDefinitionVersionCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
19565
- Omit<IntegrationDefinitionVersionFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
19566
- select?: IntegrationDefinitionVersionCountAggregateInputType | true
19567
- }
19568
-
19569
- export interface IntegrationDefinitionVersionDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
19570
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['IntegrationDefinitionVersion'], meta: { name: 'IntegrationDefinitionVersion' } }
19571
- /**
19572
- * Find zero or one IntegrationDefinitionVersion that matches the filter.
19573
- * @param {IntegrationDefinitionVersionFindUniqueArgs} args - Arguments to find a IntegrationDefinitionVersion
19574
- * @example
19575
- * // Get one IntegrationDefinitionVersion
19576
- * const integrationDefinitionVersion = await prisma.integrationDefinitionVersion.findUnique({
19577
- * where: {
19578
- * // ... provide filter here
19579
- * }
19580
- * })
19581
- */
19582
- findUnique<T extends IntegrationDefinitionVersionFindUniqueArgs>(args: SelectSubset<T, IntegrationDefinitionVersionFindUniqueArgs<ExtArgs>>): Prisma__IntegrationDefinitionVersionClient<$Result.GetResult<Prisma.$IntegrationDefinitionVersionPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
19583
-
19584
- /**
19585
- * Find one IntegrationDefinitionVersion that matches the filter or throw an error with `error.code='P2025'`
19586
- * if no matches were found.
19587
- * @param {IntegrationDefinitionVersionFindUniqueOrThrowArgs} args - Arguments to find a IntegrationDefinitionVersion
19588
- * @example
19589
- * // Get one IntegrationDefinitionVersion
19590
- * const integrationDefinitionVersion = await prisma.integrationDefinitionVersion.findUniqueOrThrow({
19591
- * where: {
19592
- * // ... provide filter here
19593
- * }
19594
- * })
19595
- */
19596
- findUniqueOrThrow<T extends IntegrationDefinitionVersionFindUniqueOrThrowArgs>(args: SelectSubset<T, IntegrationDefinitionVersionFindUniqueOrThrowArgs<ExtArgs>>): Prisma__IntegrationDefinitionVersionClient<$Result.GetResult<Prisma.$IntegrationDefinitionVersionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
19597
-
19598
- /**
19599
- * Find the first IntegrationDefinitionVersion that matches the filter.
19600
- * Note, that providing `undefined` is treated as the value not being there.
19601
- * Read more here: https://pris.ly/d/null-undefined
19602
- * @param {IntegrationDefinitionVersionFindFirstArgs} args - Arguments to find a IntegrationDefinitionVersion
19603
- * @example
19604
- * // Get one IntegrationDefinitionVersion
19605
- * const integrationDefinitionVersion = await prisma.integrationDefinitionVersion.findFirst({
19606
- * where: {
19607
- * // ... provide filter here
19608
- * }
19609
- * })
19610
- */
19611
- findFirst<T extends IntegrationDefinitionVersionFindFirstArgs>(args?: SelectSubset<T, IntegrationDefinitionVersionFindFirstArgs<ExtArgs>>): Prisma__IntegrationDefinitionVersionClient<$Result.GetResult<Prisma.$IntegrationDefinitionVersionPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
19612
-
19613
- /**
19614
- * Find the first IntegrationDefinitionVersion that matches the filter or
19615
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
19616
- * Note, that providing `undefined` is treated as the value not being there.
19617
- * Read more here: https://pris.ly/d/null-undefined
19618
- * @param {IntegrationDefinitionVersionFindFirstOrThrowArgs} args - Arguments to find a IntegrationDefinitionVersion
19619
- * @example
19620
- * // Get one IntegrationDefinitionVersion
19621
- * const integrationDefinitionVersion = await prisma.integrationDefinitionVersion.findFirstOrThrow({
19622
- * where: {
19623
- * // ... provide filter here
19624
- * }
19625
- * })
19626
- */
19627
- findFirstOrThrow<T extends IntegrationDefinitionVersionFindFirstOrThrowArgs>(args?: SelectSubset<T, IntegrationDefinitionVersionFindFirstOrThrowArgs<ExtArgs>>): Prisma__IntegrationDefinitionVersionClient<$Result.GetResult<Prisma.$IntegrationDefinitionVersionPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
19628
-
19629
- /**
19630
- * Find zero or more IntegrationDefinitionVersions that matches the filter.
19631
- * Note, that providing `undefined` is treated as the value not being there.
19632
- * Read more here: https://pris.ly/d/null-undefined
19633
- * @param {IntegrationDefinitionVersionFindManyArgs} args - Arguments to filter and select certain fields only.
19634
- * @example
19635
- * // Get all IntegrationDefinitionVersions
19636
- * const integrationDefinitionVersions = await prisma.integrationDefinitionVersion.findMany()
19637
- *
19638
- * // Get first 10 IntegrationDefinitionVersions
19639
- * const integrationDefinitionVersions = await prisma.integrationDefinitionVersion.findMany({ take: 10 })
19640
- *
19641
- * // Only select the `id`
19642
- * const integrationDefinitionVersionWithIdOnly = await prisma.integrationDefinitionVersion.findMany({ select: { id: true } })
19643
- *
19644
- */
19645
- findMany<T extends IntegrationDefinitionVersionFindManyArgs>(args?: SelectSubset<T, IntegrationDefinitionVersionFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$IntegrationDefinitionVersionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
19646
-
19647
- /**
19648
- * Create a IntegrationDefinitionVersion.
19649
- * @param {IntegrationDefinitionVersionCreateArgs} args - Arguments to create a IntegrationDefinitionVersion.
19650
- * @example
19651
- * // Create one IntegrationDefinitionVersion
19652
- * const IntegrationDefinitionVersion = await prisma.integrationDefinitionVersion.create({
19653
- * data: {
19654
- * // ... data to create a IntegrationDefinitionVersion
19655
- * }
19656
- * })
19657
- *
19658
- */
19659
- create<T extends IntegrationDefinitionVersionCreateArgs>(args: SelectSubset<T, IntegrationDefinitionVersionCreateArgs<ExtArgs>>): Prisma__IntegrationDefinitionVersionClient<$Result.GetResult<Prisma.$IntegrationDefinitionVersionPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
19660
-
19661
- /**
19662
- * Create many IntegrationDefinitionVersions.
19663
- * @param {IntegrationDefinitionVersionCreateManyArgs} args - Arguments to create many IntegrationDefinitionVersions.
19664
- * @example
19665
- * // Create many IntegrationDefinitionVersions
19666
- * const integrationDefinitionVersion = await prisma.integrationDefinitionVersion.createMany({
19667
- * data: [
19668
- * // ... provide data here
19669
- * ]
19670
- * })
19671
- *
19672
- */
19673
- createMany<T extends IntegrationDefinitionVersionCreateManyArgs>(args?: SelectSubset<T, IntegrationDefinitionVersionCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
19674
-
19675
- /**
19676
- * Delete a IntegrationDefinitionVersion.
19677
- * @param {IntegrationDefinitionVersionDeleteArgs} args - Arguments to delete one IntegrationDefinitionVersion.
19678
- * @example
19679
- * // Delete one IntegrationDefinitionVersion
19680
- * const IntegrationDefinitionVersion = await prisma.integrationDefinitionVersion.delete({
19681
- * where: {
19682
- * // ... filter to delete one IntegrationDefinitionVersion
19683
- * }
19684
- * })
19685
- *
19686
- */
19687
- delete<T extends IntegrationDefinitionVersionDeleteArgs>(args: SelectSubset<T, IntegrationDefinitionVersionDeleteArgs<ExtArgs>>): Prisma__IntegrationDefinitionVersionClient<$Result.GetResult<Prisma.$IntegrationDefinitionVersionPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
19688
-
19689
- /**
19690
- * Update one IntegrationDefinitionVersion.
19691
- * @param {IntegrationDefinitionVersionUpdateArgs} args - Arguments to update one IntegrationDefinitionVersion.
19692
- * @example
19693
- * // Update one IntegrationDefinitionVersion
19694
- * const integrationDefinitionVersion = await prisma.integrationDefinitionVersion.update({
19695
- * where: {
19696
- * // ... provide filter here
19697
- * },
19698
- * data: {
19699
- * // ... provide data here
19700
- * }
19701
- * })
19702
- *
19703
- */
19704
- update<T extends IntegrationDefinitionVersionUpdateArgs>(args: SelectSubset<T, IntegrationDefinitionVersionUpdateArgs<ExtArgs>>): Prisma__IntegrationDefinitionVersionClient<$Result.GetResult<Prisma.$IntegrationDefinitionVersionPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
19705
-
19706
- /**
19707
- * Delete zero or more IntegrationDefinitionVersions.
19708
- * @param {IntegrationDefinitionVersionDeleteManyArgs} args - Arguments to filter IntegrationDefinitionVersions to delete.
19709
- * @example
19710
- * // Delete a few IntegrationDefinitionVersions
19711
- * const { count } = await prisma.integrationDefinitionVersion.deleteMany({
19712
- * where: {
19713
- * // ... provide filter here
19714
- * }
19715
- * })
19716
- *
19717
- */
19718
- deleteMany<T extends IntegrationDefinitionVersionDeleteManyArgs>(args?: SelectSubset<T, IntegrationDefinitionVersionDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
19719
-
19720
- /**
19721
- * Update zero or more IntegrationDefinitionVersions.
19722
- * Note, that providing `undefined` is treated as the value not being there.
19723
- * Read more here: https://pris.ly/d/null-undefined
19724
- * @param {IntegrationDefinitionVersionUpdateManyArgs} args - Arguments to update one or more rows.
19725
- * @example
19726
- * // Update many IntegrationDefinitionVersions
19727
- * const integrationDefinitionVersion = await prisma.integrationDefinitionVersion.updateMany({
19728
- * where: {
19729
- * // ... provide filter here
19730
- * },
19731
- * data: {
19732
- * // ... provide data here
19733
- * }
19734
- * })
19735
- *
19736
- */
19737
- updateMany<T extends IntegrationDefinitionVersionUpdateManyArgs>(args: SelectSubset<T, IntegrationDefinitionVersionUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
19738
-
19739
- /**
19740
- * Create or update one IntegrationDefinitionVersion.
19741
- * @param {IntegrationDefinitionVersionUpsertArgs} args - Arguments to update or create a IntegrationDefinitionVersion.
19742
- * @example
19743
- * // Update or create a IntegrationDefinitionVersion
19744
- * const integrationDefinitionVersion = await prisma.integrationDefinitionVersion.upsert({
19745
- * create: {
19746
- * // ... data to create a IntegrationDefinitionVersion
19747
- * },
19748
- * update: {
19749
- * // ... in case it already exists, update
19750
- * },
19751
- * where: {
19752
- * // ... the filter for the IntegrationDefinitionVersion we want to update
19753
- * }
19754
- * })
19755
- */
19756
- upsert<T extends IntegrationDefinitionVersionUpsertArgs>(args: SelectSubset<T, IntegrationDefinitionVersionUpsertArgs<ExtArgs>>): Prisma__IntegrationDefinitionVersionClient<$Result.GetResult<Prisma.$IntegrationDefinitionVersionPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
19757
-
19758
- /**
19759
- * Find zero or more IntegrationDefinitionVersions that matches the filter.
19760
- * @param {IntegrationDefinitionVersionFindRawArgs} args - Select which filters you would like to apply.
19761
- * @example
19762
- * const integrationDefinitionVersion = await prisma.integrationDefinitionVersion.findRaw({
19763
- * filter: { age: { $gt: 25 } }
19764
- * })
19765
- */
19766
- findRaw(args?: IntegrationDefinitionVersionFindRawArgs): Prisma.PrismaPromise<JsonObject>
19767
-
19768
- /**
19769
- * Perform aggregation operations on a IntegrationDefinitionVersion.
19770
- * @param {IntegrationDefinitionVersionAggregateRawArgs} args - Select which aggregations you would like to apply.
19771
- * @example
19772
- * const integrationDefinitionVersion = await prisma.integrationDefinitionVersion.aggregateRaw({
19773
- * pipeline: [
19774
- * { $match: { status: "registered" } },
19775
- * { $group: { _id: "$country", total: { $sum: 1 } } }
19776
- * ]
19777
- * })
19778
- */
19779
- aggregateRaw(args?: IntegrationDefinitionVersionAggregateRawArgs): Prisma.PrismaPromise<JsonObject>
19780
-
19781
-
19782
- /**
19783
- * Count the number of IntegrationDefinitionVersions.
19784
- * Note, that providing `undefined` is treated as the value not being there.
19785
- * Read more here: https://pris.ly/d/null-undefined
19786
- * @param {IntegrationDefinitionVersionCountArgs} args - Arguments to filter IntegrationDefinitionVersions to count.
19787
- * @example
19788
- * // Count the number of IntegrationDefinitionVersions
19789
- * const count = await prisma.integrationDefinitionVersion.count({
19790
- * where: {
19791
- * // ... the filter for the IntegrationDefinitionVersions we want to count
19792
- * }
19793
- * })
19794
- **/
19795
- count<T extends IntegrationDefinitionVersionCountArgs>(
19796
- args?: Subset<T, IntegrationDefinitionVersionCountArgs>,
19797
- ): Prisma.PrismaPromise<
19798
- T extends $Utils.Record<'select', any>
19799
- ? T['select'] extends true
19800
- ? number
19801
- : GetScalarType<T['select'], IntegrationDefinitionVersionCountAggregateOutputType>
19802
- : number
19803
- >
19804
-
19805
- /**
19806
- * Allows you to perform aggregations operations on a IntegrationDefinitionVersion.
19807
- * Note, that providing `undefined` is treated as the value not being there.
19808
- * Read more here: https://pris.ly/d/null-undefined
19809
- * @param {IntegrationDefinitionVersionAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
19810
- * @example
19811
- * // Ordered by age ascending
19812
- * // Where email contains prisma.io
19813
- * // Limited to the 10 users
19814
- * const aggregations = await prisma.user.aggregate({
19815
- * _avg: {
19816
- * age: true,
19817
- * },
19818
- * where: {
19819
- * email: {
19820
- * contains: "prisma.io",
19821
- * },
19822
- * },
19823
- * orderBy: {
19824
- * age: "asc",
19825
- * },
19826
- * take: 10,
19827
- * })
19828
- **/
19829
- aggregate<T extends IntegrationDefinitionVersionAggregateArgs>(args: Subset<T, IntegrationDefinitionVersionAggregateArgs>): Prisma.PrismaPromise<GetIntegrationDefinitionVersionAggregateType<T>>
19830
-
19831
- /**
19832
- * Group by IntegrationDefinitionVersion.
19833
- * Note, that providing `undefined` is treated as the value not being there.
19834
- * Read more here: https://pris.ly/d/null-undefined
19835
- * @param {IntegrationDefinitionVersionGroupByArgs} args - Group by arguments.
19836
- * @example
19837
- * // Group by city, order by createdAt, get count
19838
- * const result = await prisma.user.groupBy({
19839
- * by: ['city', 'createdAt'],
19840
- * orderBy: {
19841
- * createdAt: true
19842
- * },
19843
- * _count: {
19844
- * _all: true
19845
- * },
19846
- * })
19847
- *
19848
- **/
19849
- groupBy<
19850
- T extends IntegrationDefinitionVersionGroupByArgs,
19851
- HasSelectOrTake extends Or<
19852
- Extends<'skip', Keys<T>>,
19853
- Extends<'take', Keys<T>>
19854
- >,
19855
- OrderByArg extends True extends HasSelectOrTake
19856
- ? { orderBy: IntegrationDefinitionVersionGroupByArgs['orderBy'] }
19857
- : { orderBy?: IntegrationDefinitionVersionGroupByArgs['orderBy'] },
19858
- OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
19859
- ByFields extends MaybeTupleToUnion<T['by']>,
19860
- ByValid extends Has<ByFields, OrderFields>,
19861
- HavingFields extends GetHavingFields<T['having']>,
19862
- HavingValid extends Has<ByFields, HavingFields>,
19863
- ByEmpty extends T['by'] extends never[] ? True : False,
19864
- InputErrors extends ByEmpty extends True
19865
- ? `Error: "by" must not be empty.`
19866
- : HavingValid extends False
19867
- ? {
19868
- [P in HavingFields]: P extends ByFields
19869
- ? never
19870
- : P extends string
19871
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
19872
- : [
19873
- Error,
19874
- 'Field ',
19875
- P,
19876
- ` in "having" needs to be provided in "by"`,
19877
- ]
19878
- }[HavingFields]
19879
- : 'take' extends Keys<T>
19880
- ? 'orderBy' extends Keys<T>
19881
- ? ByValid extends True
19882
- ? {}
19883
- : {
19884
- [P in OrderFields]: P extends ByFields
19885
- ? never
19886
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
19887
- }[OrderFields]
19888
- : 'Error: If you provide "take", you also need to provide "orderBy"'
19889
- : 'skip' extends Keys<T>
19890
- ? 'orderBy' extends Keys<T>
19891
- ? ByValid extends True
19892
- ? {}
19893
- : {
19894
- [P in OrderFields]: P extends ByFields
19895
- ? never
19896
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
19897
- }[OrderFields]
19898
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
19899
- : ByValid extends True
19900
- ? {}
19901
- : {
19902
- [P in OrderFields]: P extends ByFields
19903
- ? never
19904
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
19905
- }[OrderFields]
19906
- >(args: SubsetIntersection<T, IntegrationDefinitionVersionGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetIntegrationDefinitionVersionGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
19907
- /**
19908
- * Fields of the IntegrationDefinitionVersion model
19909
- */
19910
- readonly fields: IntegrationDefinitionVersionFieldRefs;
19911
- }
19912
-
19913
- /**
19914
- * The delegate class that acts as a "Promise-like" for IntegrationDefinitionVersion.
19915
- * Why is this prefixed with `Prisma__`?
19916
- * Because we want to prevent naming conflicts as mentioned in
19917
- * https://github.com/prisma/prisma-client-js/issues/707
19918
- */
19919
- export interface Prisma__IntegrationDefinitionVersionClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
19920
- readonly [Symbol.toStringTag]: "PrismaPromise"
19921
- /**
19922
- * Attaches callbacks for the resolution and/or rejection of the Promise.
19923
- * @param onfulfilled The callback to execute when the Promise is resolved.
19924
- * @param onrejected The callback to execute when the Promise is rejected.
19925
- * @returns A Promise for the completion of which ever callback is executed.
19926
- */
19927
- 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>
19928
- /**
19929
- * Attaches a callback for only the rejection of the Promise.
19930
- * @param onrejected The callback to execute when the Promise is rejected.
19931
- * @returns A Promise for the completion of the callback.
19932
- */
19933
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
19934
- /**
19935
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
19936
- * resolved value cannot be modified from the callback.
19937
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
19938
- * @returns A Promise for the completion of the callback.
19939
- */
19940
- finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
19941
- }
19942
-
19943
-
19944
-
19945
-
19946
- /**
19947
- * Fields of the IntegrationDefinitionVersion model
19948
- */
19949
- interface IntegrationDefinitionVersionFieldRefs {
19950
- readonly id: FieldRef<"IntegrationDefinitionVersion", 'String'>
19951
- readonly definitionId: FieldRef<"IntegrationDefinitionVersion", 'String'>
19952
- readonly version: FieldRef<"IntegrationDefinitionVersion", 'String'>
19953
- readonly schemaVersion: FieldRef<"IntegrationDefinitionVersion", 'String'>
19954
- readonly status: FieldRef<"IntegrationDefinitionVersion", 'DefinitionStatus'>
19955
- readonly checksum: FieldRef<"IntegrationDefinitionVersion", 'String'>
19956
- readonly document: FieldRef<"IntegrationDefinitionVersion", 'Json'>
19957
- readonly changeLevel: FieldRef<"IntegrationDefinitionVersion", 'String'>
19958
- readonly previousVersion: FieldRef<"IntegrationDefinitionVersion", 'String'>
19959
- readonly notes: FieldRef<"IntegrationDefinitionVersion", 'String'>
19960
- readonly createdBy: FieldRef<"IntegrationDefinitionVersion", 'String'>
19961
- readonly workspaceId: FieldRef<"IntegrationDefinitionVersion", 'String'>
19962
- readonly publishedAt: FieldRef<"IntegrationDefinitionVersion", 'DateTime'>
19963
- readonly createdAt: FieldRef<"IntegrationDefinitionVersion", 'DateTime'>
19964
- readonly updatedAt: FieldRef<"IntegrationDefinitionVersion", 'DateTime'>
19965
- }
19966
-
19967
-
19968
- // Custom InputTypes
19969
- /**
19970
- * IntegrationDefinitionVersion findUnique
19971
- */
19972
- export type IntegrationDefinitionVersionFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
19973
- /**
19974
- * Select specific fields to fetch from the IntegrationDefinitionVersion
19975
- */
19976
- select?: IntegrationDefinitionVersionSelect<ExtArgs> | null
19977
- /**
19978
- * Omit specific fields from the IntegrationDefinitionVersion
19979
- */
19980
- omit?: IntegrationDefinitionVersionOmit<ExtArgs> | null
19981
- /**
19982
- * Filter, which IntegrationDefinitionVersion to fetch.
19983
- */
19984
- where: IntegrationDefinitionVersionWhereUniqueInput
19985
- }
19986
-
19987
- /**
19988
- * IntegrationDefinitionVersion findUniqueOrThrow
19989
- */
19990
- export type IntegrationDefinitionVersionFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
19991
- /**
19992
- * Select specific fields to fetch from the IntegrationDefinitionVersion
19993
- */
19994
- select?: IntegrationDefinitionVersionSelect<ExtArgs> | null
19995
- /**
19996
- * Omit specific fields from the IntegrationDefinitionVersion
19997
- */
19998
- omit?: IntegrationDefinitionVersionOmit<ExtArgs> | null
19999
- /**
20000
- * Filter, which IntegrationDefinitionVersion to fetch.
20001
- */
20002
- where: IntegrationDefinitionVersionWhereUniqueInput
20003
- }
20004
-
20005
- /**
20006
- * IntegrationDefinitionVersion findFirst
20007
- */
20008
- export type IntegrationDefinitionVersionFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
20009
- /**
20010
- * Select specific fields to fetch from the IntegrationDefinitionVersion
20011
- */
20012
- select?: IntegrationDefinitionVersionSelect<ExtArgs> | null
20013
- /**
20014
- * Omit specific fields from the IntegrationDefinitionVersion
20015
- */
20016
- omit?: IntegrationDefinitionVersionOmit<ExtArgs> | null
20017
- /**
20018
- * Filter, which IntegrationDefinitionVersion to fetch.
20019
- */
20020
- where?: IntegrationDefinitionVersionWhereInput
20021
- /**
20022
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
20023
- *
20024
- * Determine the order of IntegrationDefinitionVersions to fetch.
20025
- */
20026
- orderBy?: IntegrationDefinitionVersionOrderByWithRelationInput | IntegrationDefinitionVersionOrderByWithRelationInput[]
20027
- /**
20028
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
20029
- *
20030
- * Sets the position for searching for IntegrationDefinitionVersions.
20031
- */
20032
- cursor?: IntegrationDefinitionVersionWhereUniqueInput
20033
- /**
20034
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
20035
- *
20036
- * Take `±n` IntegrationDefinitionVersions from the position of the cursor.
20037
- */
20038
- take?: number
20039
- /**
20040
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
20041
- *
20042
- * Skip the first `n` IntegrationDefinitionVersions.
20043
- */
20044
- skip?: number
20045
- /**
20046
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
20047
- *
20048
- * Filter by unique combinations of IntegrationDefinitionVersions.
20049
- */
20050
- distinct?: IntegrationDefinitionVersionScalarFieldEnum | IntegrationDefinitionVersionScalarFieldEnum[]
20051
- }
20052
-
20053
- /**
20054
- * IntegrationDefinitionVersion findFirstOrThrow
20055
- */
20056
- export type IntegrationDefinitionVersionFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
20057
- /**
20058
- * Select specific fields to fetch from the IntegrationDefinitionVersion
20059
- */
20060
- select?: IntegrationDefinitionVersionSelect<ExtArgs> | null
20061
- /**
20062
- * Omit specific fields from the IntegrationDefinitionVersion
20063
- */
20064
- omit?: IntegrationDefinitionVersionOmit<ExtArgs> | null
20065
- /**
20066
- * Filter, which IntegrationDefinitionVersion to fetch.
20067
- */
20068
- where?: IntegrationDefinitionVersionWhereInput
20069
- /**
20070
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
20071
- *
20072
- * Determine the order of IntegrationDefinitionVersions to fetch.
20073
- */
20074
- orderBy?: IntegrationDefinitionVersionOrderByWithRelationInput | IntegrationDefinitionVersionOrderByWithRelationInput[]
20075
- /**
20076
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
20077
- *
20078
- * Sets the position for searching for IntegrationDefinitionVersions.
20079
- */
20080
- cursor?: IntegrationDefinitionVersionWhereUniqueInput
20081
- /**
20082
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
20083
- *
20084
- * Take `±n` IntegrationDefinitionVersions from the position of the cursor.
20085
- */
20086
- take?: number
20087
- /**
20088
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
20089
- *
20090
- * Skip the first `n` IntegrationDefinitionVersions.
20091
- */
20092
- skip?: number
20093
- /**
20094
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
20095
- *
20096
- * Filter by unique combinations of IntegrationDefinitionVersions.
20097
- */
20098
- distinct?: IntegrationDefinitionVersionScalarFieldEnum | IntegrationDefinitionVersionScalarFieldEnum[]
20099
- }
20100
-
20101
- /**
20102
- * IntegrationDefinitionVersion findMany
20103
- */
20104
- export type IntegrationDefinitionVersionFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
20105
- /**
20106
- * Select specific fields to fetch from the IntegrationDefinitionVersion
20107
- */
20108
- select?: IntegrationDefinitionVersionSelect<ExtArgs> | null
20109
- /**
20110
- * Omit specific fields from the IntegrationDefinitionVersion
20111
- */
20112
- omit?: IntegrationDefinitionVersionOmit<ExtArgs> | null
20113
- /**
20114
- * Filter, which IntegrationDefinitionVersions to fetch.
20115
- */
20116
- where?: IntegrationDefinitionVersionWhereInput
20117
- /**
20118
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
20119
- *
20120
- * Determine the order of IntegrationDefinitionVersions to fetch.
20121
- */
20122
- orderBy?: IntegrationDefinitionVersionOrderByWithRelationInput | IntegrationDefinitionVersionOrderByWithRelationInput[]
20123
- /**
20124
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
20125
- *
20126
- * Sets the position for listing IntegrationDefinitionVersions.
20127
- */
20128
- cursor?: IntegrationDefinitionVersionWhereUniqueInput
20129
- /**
20130
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
20131
- *
20132
- * Take `±n` IntegrationDefinitionVersions from the position of the cursor.
20133
- */
20134
- take?: number
20135
- /**
20136
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
20137
- *
20138
- * Skip the first `n` IntegrationDefinitionVersions.
20139
- */
20140
- skip?: number
20141
- distinct?: IntegrationDefinitionVersionScalarFieldEnum | IntegrationDefinitionVersionScalarFieldEnum[]
20142
- }
20143
-
20144
- /**
20145
- * IntegrationDefinitionVersion create
20146
- */
20147
- export type IntegrationDefinitionVersionCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
20148
- /**
20149
- * Select specific fields to fetch from the IntegrationDefinitionVersion
20150
- */
20151
- select?: IntegrationDefinitionVersionSelect<ExtArgs> | null
20152
- /**
20153
- * Omit specific fields from the IntegrationDefinitionVersion
20154
- */
20155
- omit?: IntegrationDefinitionVersionOmit<ExtArgs> | null
20156
- /**
20157
- * The data needed to create a IntegrationDefinitionVersion.
20158
- */
20159
- data: XOR<IntegrationDefinitionVersionCreateInput, IntegrationDefinitionVersionUncheckedCreateInput>
20160
- }
20161
-
20162
- /**
20163
- * IntegrationDefinitionVersion createMany
20164
- */
20165
- export type IntegrationDefinitionVersionCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
20166
- /**
20167
- * The data used to create many IntegrationDefinitionVersions.
20168
- */
20169
- data: IntegrationDefinitionVersionCreateManyInput | IntegrationDefinitionVersionCreateManyInput[]
20170
- }
20171
-
20172
- /**
20173
- * IntegrationDefinitionVersion update
20174
- */
20175
- export type IntegrationDefinitionVersionUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
20176
- /**
20177
- * Select specific fields to fetch from the IntegrationDefinitionVersion
20178
- */
20179
- select?: IntegrationDefinitionVersionSelect<ExtArgs> | null
20180
- /**
20181
- * Omit specific fields from the IntegrationDefinitionVersion
20182
- */
20183
- omit?: IntegrationDefinitionVersionOmit<ExtArgs> | null
20184
- /**
20185
- * The data needed to update a IntegrationDefinitionVersion.
20186
- */
20187
- data: XOR<IntegrationDefinitionVersionUpdateInput, IntegrationDefinitionVersionUncheckedUpdateInput>
20188
- /**
20189
- * Choose, which IntegrationDefinitionVersion to update.
20190
- */
20191
- where: IntegrationDefinitionVersionWhereUniqueInput
20192
- }
20193
-
20194
- /**
20195
- * IntegrationDefinitionVersion updateMany
20196
- */
20197
- export type IntegrationDefinitionVersionUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
20198
- /**
20199
- * The data used to update IntegrationDefinitionVersions.
20200
- */
20201
- data: XOR<IntegrationDefinitionVersionUpdateManyMutationInput, IntegrationDefinitionVersionUncheckedUpdateManyInput>
20202
- /**
20203
- * Filter which IntegrationDefinitionVersions to update
20204
- */
20205
- where?: IntegrationDefinitionVersionWhereInput
20206
- /**
20207
- * Limit how many IntegrationDefinitionVersions to update.
20208
- */
20209
- limit?: number
20210
- }
20211
-
20212
- /**
20213
- * IntegrationDefinitionVersion upsert
20214
- */
20215
- export type IntegrationDefinitionVersionUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
20216
- /**
20217
- * Select specific fields to fetch from the IntegrationDefinitionVersion
20218
- */
20219
- select?: IntegrationDefinitionVersionSelect<ExtArgs> | null
20220
- /**
20221
- * Omit specific fields from the IntegrationDefinitionVersion
20222
- */
20223
- omit?: IntegrationDefinitionVersionOmit<ExtArgs> | null
20224
- /**
20225
- * The filter to search for the IntegrationDefinitionVersion to update in case it exists.
20226
- */
20227
- where: IntegrationDefinitionVersionWhereUniqueInput
20228
- /**
20229
- * In case the IntegrationDefinitionVersion found by the `where` argument doesn't exist, create a new IntegrationDefinitionVersion with this data.
20230
- */
20231
- create: XOR<IntegrationDefinitionVersionCreateInput, IntegrationDefinitionVersionUncheckedCreateInput>
20232
- /**
20233
- * In case the IntegrationDefinitionVersion was found with the provided `where` argument, update it with this data.
20234
- */
20235
- update: XOR<IntegrationDefinitionVersionUpdateInput, IntegrationDefinitionVersionUncheckedUpdateInput>
20236
- }
20237
-
20238
- /**
20239
- * IntegrationDefinitionVersion delete
20240
- */
20241
- export type IntegrationDefinitionVersionDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
20242
- /**
20243
- * Select specific fields to fetch from the IntegrationDefinitionVersion
20244
- */
20245
- select?: IntegrationDefinitionVersionSelect<ExtArgs> | null
20246
- /**
20247
- * Omit specific fields from the IntegrationDefinitionVersion
20248
- */
20249
- omit?: IntegrationDefinitionVersionOmit<ExtArgs> | null
20250
- /**
20251
- * Filter which IntegrationDefinitionVersion to delete.
20252
- */
20253
- where: IntegrationDefinitionVersionWhereUniqueInput
20254
- }
20255
-
20256
- /**
20257
- * IntegrationDefinitionVersion deleteMany
20258
- */
20259
- export type IntegrationDefinitionVersionDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
20260
- /**
20261
- * Filter which IntegrationDefinitionVersions to delete
20262
- */
20263
- where?: IntegrationDefinitionVersionWhereInput
20264
- /**
20265
- * Limit how many IntegrationDefinitionVersions to delete.
20266
- */
20267
- limit?: number
20268
- }
20269
-
20270
- /**
20271
- * IntegrationDefinitionVersion findRaw
20272
- */
20273
- export type IntegrationDefinitionVersionFindRawArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
20274
- /**
20275
- * The query predicate filter. If unspecified, then all documents in the collection will match the predicate. ${@link https://docs.mongodb.com/manual/reference/operator/query MongoDB Docs}.
20276
- */
20277
- filter?: InputJsonValue
20278
- /**
20279
- * Additional options to pass to the `find` command ${@link https://docs.mongodb.com/manual/reference/command/find/#command-fields MongoDB Docs}.
20280
- */
20281
- options?: InputJsonValue
20282
- }
20283
-
20284
- /**
20285
- * IntegrationDefinitionVersion aggregateRaw
20286
- */
20287
- export type IntegrationDefinitionVersionAggregateRawArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
20288
- /**
20289
- * An array of aggregation stages to process and transform the document stream via the aggregation pipeline. ${@link https://docs.mongodb.com/manual/reference/operator/aggregation-pipeline MongoDB Docs}.
20290
- */
20291
- pipeline?: InputJsonValue[]
20292
- /**
20293
- * Additional options to pass to the `aggregate` command ${@link https://docs.mongodb.com/manual/reference/command/aggregate/#command-fields MongoDB Docs}.
20294
- */
20295
- options?: InputJsonValue
20296
- }
20297
-
20298
- /**
20299
- * IntegrationDefinitionVersion without action
20300
- */
20301
- export type IntegrationDefinitionVersionDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
20302
- /**
20303
- * Select specific fields to fetch from the IntegrationDefinitionVersion
20304
- */
20305
- select?: IntegrationDefinitionVersionSelect<ExtArgs> | null
20306
- /**
20307
- * Omit specific fields from the IntegrationDefinitionVersion
20308
- */
20309
- omit?: IntegrationDefinitionVersionOmit<ExtArgs> | null
20310
- }
20311
-
20312
-
20313
- /**
20314
- * Model WorkflowRun
20315
- */
20316
-
20317
- export type AggregateWorkflowRun = {
20318
- _count: WorkflowRunCountAggregateOutputType | null
20319
- _min: WorkflowRunMinAggregateOutputType | null
20320
- _max: WorkflowRunMaxAggregateOutputType | null
20321
- }
20322
-
20323
- export type WorkflowRunMinAggregateOutputType = {
20324
- id: string | null
20325
- integrationId: string | null
20326
- definitionId: string | null
20327
- definitionVersion: string | null
20328
- workflowId: string | null
20329
- triggerType: string | null
20330
- eventId: string | null
20331
- status: string | null
20332
- reason: string | null
20333
- error: string | null
20334
- retryable: boolean | null
20335
- runKey: string | null
20336
- resumeAt: Date | null
20337
- startedAt: Date | null
20338
- endedAt: Date | null
20339
- createdAt: Date | null
20340
- }
20341
-
20342
- export type WorkflowRunMaxAggregateOutputType = {
20343
- id: string | null
20344
- integrationId: string | null
20345
- definitionId: string | null
20346
- definitionVersion: string | null
20347
- workflowId: string | null
20348
- triggerType: string | null
20349
- eventId: string | null
20350
- status: string | null
20351
- reason: string | null
20352
- error: string | null
20353
- retryable: boolean | null
20354
- runKey: string | null
20355
- resumeAt: Date | null
20356
- startedAt: Date | null
20357
- endedAt: Date | null
20358
- createdAt: Date | null
20359
- }
20360
-
20361
- export type WorkflowRunCountAggregateOutputType = {
20362
- id: number
20363
- integrationId: number
20364
- definitionId: number
20365
- definitionVersion: number
20366
- workflowId: number
20367
- triggerType: number
20368
- eventId: number
20369
- status: number
20370
- reason: number
20371
- error: number
20372
- retryable: number
20373
- trace: number
20374
- runKey: number
20375
- waitingFor: number
20376
- resumeAt: number
20377
- startedAt: number
20378
- endedAt: number
20379
- createdAt: number
20380
- _all: number
20381
- }
20382
-
20383
-
20384
- export type WorkflowRunMinAggregateInputType = {
20385
- id?: true
20386
- integrationId?: true
20387
- definitionId?: true
20388
- definitionVersion?: true
20389
- workflowId?: true
20390
- triggerType?: true
20391
- eventId?: true
20392
- status?: true
20393
- reason?: true
20394
- error?: true
20395
- retryable?: true
20396
- runKey?: true
20397
- resumeAt?: true
20398
- startedAt?: true
20399
- endedAt?: true
20400
- createdAt?: true
20401
- }
20402
-
20403
- export type WorkflowRunMaxAggregateInputType = {
20404
- id?: true
20405
- integrationId?: true
20406
- definitionId?: true
20407
- definitionVersion?: true
20408
- workflowId?: true
20409
- triggerType?: true
20410
- eventId?: true
20411
- status?: true
20412
- reason?: true
20413
- error?: true
20414
- retryable?: true
20415
- runKey?: true
20416
- resumeAt?: true
20417
- startedAt?: true
20418
- endedAt?: true
20419
- createdAt?: true
20420
- }
20421
-
20422
- export type WorkflowRunCountAggregateInputType = {
20423
- id?: true
20424
- integrationId?: true
20425
- definitionId?: true
20426
- definitionVersion?: true
20427
- workflowId?: true
20428
- triggerType?: true
20429
- eventId?: true
20430
- status?: true
20431
- reason?: true
20432
- error?: true
20433
- retryable?: true
20434
- trace?: true
20435
- runKey?: true
20436
- waitingFor?: true
20437
- resumeAt?: true
20438
- startedAt?: true
20439
- endedAt?: true
20440
- createdAt?: true
20441
- _all?: true
20442
- }
20443
-
20444
- export type WorkflowRunAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
20445
- /**
20446
- * Filter which WorkflowRun to aggregate.
20447
- */
20448
- where?: WorkflowRunWhereInput
20449
- /**
20450
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
20451
- *
20452
- * Determine the order of WorkflowRuns to fetch.
20453
- */
20454
- orderBy?: WorkflowRunOrderByWithRelationInput | WorkflowRunOrderByWithRelationInput[]
20455
- /**
20456
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
20457
- *
20458
- * Sets the start position
20459
- */
20460
- cursor?: WorkflowRunWhereUniqueInput
20461
- /**
20462
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
20463
- *
20464
- * Take `±n` WorkflowRuns from the position of the cursor.
20465
- */
20466
- take?: number
20467
- /**
20468
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
20469
- *
20470
- * Skip the first `n` WorkflowRuns.
20471
- */
20472
- skip?: number
20473
- /**
20474
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
20475
- *
20476
- * Count returned WorkflowRuns
20477
- **/
20478
- _count?: true | WorkflowRunCountAggregateInputType
20479
- /**
20480
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
20481
- *
20482
- * Select which fields to find the minimum value
20483
- **/
20484
- _min?: WorkflowRunMinAggregateInputType
20485
- /**
20486
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
20487
- *
20488
- * Select which fields to find the maximum value
20489
- **/
20490
- _max?: WorkflowRunMaxAggregateInputType
20491
- }
20492
-
20493
- export type GetWorkflowRunAggregateType<T extends WorkflowRunAggregateArgs> = {
20494
- [P in keyof T & keyof AggregateWorkflowRun]: P extends '_count' | 'count'
20495
- ? T[P] extends true
20496
- ? number
20497
- : GetScalarType<T[P], AggregateWorkflowRun[P]>
20498
- : GetScalarType<T[P], AggregateWorkflowRun[P]>
20499
- }
20500
-
20501
-
20502
-
20503
-
20504
- export type WorkflowRunGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
20505
- where?: WorkflowRunWhereInput
20506
- orderBy?: WorkflowRunOrderByWithAggregationInput | WorkflowRunOrderByWithAggregationInput[]
20507
- by: WorkflowRunScalarFieldEnum[] | WorkflowRunScalarFieldEnum
20508
- having?: WorkflowRunScalarWhereWithAggregatesInput
20509
- take?: number
20510
- skip?: number
20511
- _count?: WorkflowRunCountAggregateInputType | true
20512
- _min?: WorkflowRunMinAggregateInputType
20513
- _max?: WorkflowRunMaxAggregateInputType
20514
- }
20515
-
20516
- export type WorkflowRunGroupByOutputType = {
20517
- id: string
20518
- integrationId: string
20519
- definitionId: string
20520
- definitionVersion: string
20521
- workflowId: string
20522
- triggerType: string
20523
- eventId: string | null
20524
- status: string
20525
- reason: string | null
20526
- error: string | null
20527
- retryable: boolean
20528
- trace: JsonValue
20529
- runKey: string | null
20530
- waitingFor: JsonValue | null
20531
- resumeAt: Date | null
20532
- startedAt: Date
20533
- endedAt: Date | null
20534
- createdAt: Date
20535
- _count: WorkflowRunCountAggregateOutputType | null
20536
- _min: WorkflowRunMinAggregateOutputType | null
20537
- _max: WorkflowRunMaxAggregateOutputType | null
20538
- }
20539
-
20540
- type GetWorkflowRunGroupByPayload<T extends WorkflowRunGroupByArgs> = Prisma.PrismaPromise<
20541
- Array<
20542
- PickEnumerable<WorkflowRunGroupByOutputType, T['by']> &
20543
- {
20544
- [P in ((keyof T) & (keyof WorkflowRunGroupByOutputType))]: P extends '_count'
20545
- ? T[P] extends boolean
20546
- ? number
20547
- : GetScalarType<T[P], WorkflowRunGroupByOutputType[P]>
20548
- : GetScalarType<T[P], WorkflowRunGroupByOutputType[P]>
20549
- }
20550
- >
20551
- >
20552
-
20553
-
20554
- export type WorkflowRunSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
20555
- id?: boolean
20556
- integrationId?: boolean
20557
- definitionId?: boolean
20558
- definitionVersion?: boolean
20559
- workflowId?: boolean
20560
- triggerType?: boolean
20561
- eventId?: boolean
20562
- status?: boolean
20563
- reason?: boolean
20564
- error?: boolean
20565
- retryable?: boolean
20566
- trace?: boolean
20567
- runKey?: boolean
20568
- waitingFor?: boolean
20569
- resumeAt?: boolean
20570
- startedAt?: boolean
20571
- endedAt?: boolean
20572
- createdAt?: boolean
20573
- integration?: boolean | IntegrationDefaultArgs<ExtArgs>
20574
- }, ExtArgs["result"]["workflowRun"]>
20575
-
20576
-
20577
-
20578
- export type WorkflowRunSelectScalar = {
20579
- id?: boolean
20580
- integrationId?: boolean
20581
- definitionId?: boolean
20582
- definitionVersion?: boolean
20583
- workflowId?: boolean
20584
- triggerType?: boolean
20585
- eventId?: boolean
20586
- status?: boolean
20587
- reason?: boolean
20588
- error?: boolean
20589
- retryable?: boolean
20590
- trace?: boolean
20591
- runKey?: boolean
20592
- waitingFor?: boolean
20593
- resumeAt?: boolean
20594
- startedAt?: boolean
20595
- endedAt?: boolean
20596
- createdAt?: boolean
20597
- }
20598
-
20599
- 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"]>
20600
- export type WorkflowRunInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
20601
- integration?: boolean | IntegrationDefaultArgs<ExtArgs>
20602
- }
20603
-
20604
- export type $WorkflowRunPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
20605
- name: "WorkflowRun"
20606
- objects: {
20607
- integration: Prisma.$IntegrationPayload<ExtArgs>
20608
- }
20609
- scalars: $Extensions.GetPayloadResult<{
20610
- id: string
20611
- integrationId: string
20612
- definitionId: string
20613
- definitionVersion: string
20614
- workflowId: string
20615
- triggerType: string
20616
- eventId: string | null
20617
- status: string
20618
- reason: string | null
20619
- error: string | null
20620
- retryable: boolean
20621
- trace: Prisma.JsonValue
20622
- /**
20623
- * The runtime's run id (run_...): how routes and resume jobs address a run
20624
- */
20625
- runKey: string | null
20626
- /**
20627
- * A paused run (status waiting): which step, and what it waits for. Never request or response bodies.
20628
- */
20629
- waitingFor: Prisma.JsonValue | null
20630
- resumeAt: Date | null
20631
- startedAt: Date
20632
- endedAt: Date | null
20633
- createdAt: Date
20634
- }, ExtArgs["result"]["workflowRun"]>
20635
- composites: {}
20636
- }
20637
-
20638
- type WorkflowRunGetPayload<S extends boolean | null | undefined | WorkflowRunDefaultArgs> = $Result.GetResult<Prisma.$WorkflowRunPayload, S>
20639
-
20640
- type WorkflowRunCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
20641
- Omit<WorkflowRunFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
20642
- select?: WorkflowRunCountAggregateInputType | true
20643
- }
20644
-
20645
- export interface WorkflowRunDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
20646
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['WorkflowRun'], meta: { name: 'WorkflowRun' } }
20647
- /**
20648
- * Find zero or one WorkflowRun that matches the filter.
20649
- * @param {WorkflowRunFindUniqueArgs} args - Arguments to find a WorkflowRun
20650
- * @example
20651
- * // Get one WorkflowRun
20652
- * const workflowRun = await prisma.workflowRun.findUnique({
20653
- * where: {
20654
- * // ... provide filter here
20655
- * }
20656
- * })
20657
- */
20658
- findUnique<T extends WorkflowRunFindUniqueArgs>(args: SelectSubset<T, WorkflowRunFindUniqueArgs<ExtArgs>>): Prisma__WorkflowRunClient<$Result.GetResult<Prisma.$WorkflowRunPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
20659
-
20660
- /**
20661
- * Find one WorkflowRun that matches the filter or throw an error with `error.code='P2025'`
20662
- * if no matches were found.
20663
- * @param {WorkflowRunFindUniqueOrThrowArgs} args - Arguments to find a WorkflowRun
20664
- * @example
20665
- * // Get one WorkflowRun
20666
- * const workflowRun = await prisma.workflowRun.findUniqueOrThrow({
20667
- * where: {
20668
- * // ... provide filter here
20669
- * }
20670
- * })
20671
- */
20672
- findUniqueOrThrow<T extends WorkflowRunFindUniqueOrThrowArgs>(args: SelectSubset<T, WorkflowRunFindUniqueOrThrowArgs<ExtArgs>>): Prisma__WorkflowRunClient<$Result.GetResult<Prisma.$WorkflowRunPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
20673
-
20674
- /**
20675
- * Find the first WorkflowRun that matches the filter.
20676
- * Note, that providing `undefined` is treated as the value not being there.
20677
- * Read more here: https://pris.ly/d/null-undefined
20678
- * @param {WorkflowRunFindFirstArgs} args - Arguments to find a WorkflowRun
20679
- * @example
20680
- * // Get one WorkflowRun
20681
- * const workflowRun = await prisma.workflowRun.findFirst({
20682
- * where: {
20683
- * // ... provide filter here
20684
- * }
20685
- * })
20686
- */
20687
- findFirst<T extends WorkflowRunFindFirstArgs>(args?: SelectSubset<T, WorkflowRunFindFirstArgs<ExtArgs>>): Prisma__WorkflowRunClient<$Result.GetResult<Prisma.$WorkflowRunPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
20688
-
20689
- /**
20690
- * Find the first WorkflowRun that matches the filter or
20691
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
20692
- * Note, that providing `undefined` is treated as the value not being there.
20693
- * Read more here: https://pris.ly/d/null-undefined
20694
- * @param {WorkflowRunFindFirstOrThrowArgs} args - Arguments to find a WorkflowRun
20695
- * @example
20696
- * // Get one WorkflowRun
20697
- * const workflowRun = await prisma.workflowRun.findFirstOrThrow({
20698
- * where: {
20699
- * // ... provide filter here
20700
- * }
20701
- * })
20702
- */
20703
- findFirstOrThrow<T extends WorkflowRunFindFirstOrThrowArgs>(args?: SelectSubset<T, WorkflowRunFindFirstOrThrowArgs<ExtArgs>>): Prisma__WorkflowRunClient<$Result.GetResult<Prisma.$WorkflowRunPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
20704
-
20705
- /**
20706
- * Find zero or more WorkflowRuns that matches the filter.
20707
- * Note, that providing `undefined` is treated as the value not being there.
20708
- * Read more here: https://pris.ly/d/null-undefined
20709
- * @param {WorkflowRunFindManyArgs} args - Arguments to filter and select certain fields only.
20710
- * @example
20711
- * // Get all WorkflowRuns
20712
- * const workflowRuns = await prisma.workflowRun.findMany()
20713
- *
20714
- * // Get first 10 WorkflowRuns
20715
- * const workflowRuns = await prisma.workflowRun.findMany({ take: 10 })
20716
- *
20717
- * // Only select the `id`
20718
- * const workflowRunWithIdOnly = await prisma.workflowRun.findMany({ select: { id: true } })
20719
- *
20720
- */
20721
- findMany<T extends WorkflowRunFindManyArgs>(args?: SelectSubset<T, WorkflowRunFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$WorkflowRunPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
20722
-
20723
- /**
20724
- * Create a WorkflowRun.
20725
- * @param {WorkflowRunCreateArgs} args - Arguments to create a WorkflowRun.
20726
- * @example
20727
- * // Create one WorkflowRun
20728
- * const WorkflowRun = await prisma.workflowRun.create({
20729
- * data: {
20730
- * // ... data to create a WorkflowRun
20731
- * }
20732
- * })
20733
- *
20734
- */
20735
- create<T extends WorkflowRunCreateArgs>(args: SelectSubset<T, WorkflowRunCreateArgs<ExtArgs>>): Prisma__WorkflowRunClient<$Result.GetResult<Prisma.$WorkflowRunPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
20736
-
20737
- /**
20738
- * Create many WorkflowRuns.
20739
- * @param {WorkflowRunCreateManyArgs} args - Arguments to create many WorkflowRuns.
20740
- * @example
20741
- * // Create many WorkflowRuns
20742
- * const workflowRun = await prisma.workflowRun.createMany({
20743
- * data: [
20744
- * // ... provide data here
20745
- * ]
20746
- * })
20747
- *
20748
- */
20749
- createMany<T extends WorkflowRunCreateManyArgs>(args?: SelectSubset<T, WorkflowRunCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
20750
-
20751
- /**
20752
- * Delete a WorkflowRun.
20753
- * @param {WorkflowRunDeleteArgs} args - Arguments to delete one WorkflowRun.
20754
- * @example
20755
- * // Delete one WorkflowRun
20756
- * const WorkflowRun = await prisma.workflowRun.delete({
20757
- * where: {
20758
- * // ... filter to delete one WorkflowRun
20759
- * }
20760
- * })
20761
- *
20762
- */
20763
- delete<T extends WorkflowRunDeleteArgs>(args: SelectSubset<T, WorkflowRunDeleteArgs<ExtArgs>>): Prisma__WorkflowRunClient<$Result.GetResult<Prisma.$WorkflowRunPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
20764
-
20765
- /**
20766
- * Update one WorkflowRun.
20767
- * @param {WorkflowRunUpdateArgs} args - Arguments to update one WorkflowRun.
20768
- * @example
20769
- * // Update one WorkflowRun
20770
- * const workflowRun = await prisma.workflowRun.update({
20771
- * where: {
20772
- * // ... provide filter here
20773
- * },
20774
- * data: {
20775
- * // ... provide data here
20776
- * }
20777
- * })
20778
- *
20779
- */
20780
- update<T extends WorkflowRunUpdateArgs>(args: SelectSubset<T, WorkflowRunUpdateArgs<ExtArgs>>): Prisma__WorkflowRunClient<$Result.GetResult<Prisma.$WorkflowRunPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
20781
-
20782
- /**
20783
- * Delete zero or more WorkflowRuns.
20784
- * @param {WorkflowRunDeleteManyArgs} args - Arguments to filter WorkflowRuns to delete.
20785
- * @example
20786
- * // Delete a few WorkflowRuns
20787
- * const { count } = await prisma.workflowRun.deleteMany({
20788
- * where: {
20789
- * // ... provide filter here
20790
- * }
20791
- * })
20792
- *
20793
- */
20794
- deleteMany<T extends WorkflowRunDeleteManyArgs>(args?: SelectSubset<T, WorkflowRunDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
20795
-
20796
- /**
20797
- * Update zero or more WorkflowRuns.
20798
- * Note, that providing `undefined` is treated as the value not being there.
20799
- * Read more here: https://pris.ly/d/null-undefined
20800
- * @param {WorkflowRunUpdateManyArgs} args - Arguments to update one or more rows.
20801
- * @example
20802
- * // Update many WorkflowRuns
20803
- * const workflowRun = await prisma.workflowRun.updateMany({
20804
- * where: {
20805
- * // ... provide filter here
20806
- * },
20807
- * data: {
20808
- * // ... provide data here
20809
- * }
20810
- * })
20811
- *
20812
- */
20813
- updateMany<T extends WorkflowRunUpdateManyArgs>(args: SelectSubset<T, WorkflowRunUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
20814
-
20815
- /**
20816
- * Create or update one WorkflowRun.
20817
- * @param {WorkflowRunUpsertArgs} args - Arguments to update or create a WorkflowRun.
20818
- * @example
20819
- * // Update or create a WorkflowRun
20820
- * const workflowRun = await prisma.workflowRun.upsert({
20821
- * create: {
20822
- * // ... data to create a WorkflowRun
20823
- * },
20824
- * update: {
20825
- * // ... in case it already exists, update
20826
- * },
20827
- * where: {
20828
- * // ... the filter for the WorkflowRun we want to update
20829
- * }
20830
- * })
20831
- */
20832
- upsert<T extends WorkflowRunUpsertArgs>(args: SelectSubset<T, WorkflowRunUpsertArgs<ExtArgs>>): Prisma__WorkflowRunClient<$Result.GetResult<Prisma.$WorkflowRunPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
20833
-
20834
- /**
20835
- * Find zero or more WorkflowRuns that matches the filter.
20836
- * @param {WorkflowRunFindRawArgs} args - Select which filters you would like to apply.
20837
- * @example
20838
- * const workflowRun = await prisma.workflowRun.findRaw({
20839
- * filter: { age: { $gt: 25 } }
20840
- * })
20841
- */
20842
- findRaw(args?: WorkflowRunFindRawArgs): Prisma.PrismaPromise<JsonObject>
20843
-
20844
- /**
20845
- * Perform aggregation operations on a WorkflowRun.
20846
- * @param {WorkflowRunAggregateRawArgs} args - Select which aggregations you would like to apply.
20847
- * @example
20848
- * const workflowRun = await prisma.workflowRun.aggregateRaw({
20849
- * pipeline: [
20850
- * { $match: { status: "registered" } },
20851
- * { $group: { _id: "$country", total: { $sum: 1 } } }
20852
- * ]
20853
- * })
20854
- */
20855
- aggregateRaw(args?: WorkflowRunAggregateRawArgs): Prisma.PrismaPromise<JsonObject>
20856
-
20857
-
20858
- /**
20859
- * Count the number of WorkflowRuns.
20860
- * Note, that providing `undefined` is treated as the value not being there.
20861
- * Read more here: https://pris.ly/d/null-undefined
20862
- * @param {WorkflowRunCountArgs} args - Arguments to filter WorkflowRuns to count.
20863
- * @example
20864
- * // Count the number of WorkflowRuns
20865
- * const count = await prisma.workflowRun.count({
20866
- * where: {
20867
- * // ... the filter for the WorkflowRuns we want to count
20868
- * }
20869
- * })
20870
- **/
20871
- count<T extends WorkflowRunCountArgs>(
20872
- args?: Subset<T, WorkflowRunCountArgs>,
20873
- ): Prisma.PrismaPromise<
20874
- T extends $Utils.Record<'select', any>
20875
- ? T['select'] extends true
20876
- ? number
20877
- : GetScalarType<T['select'], WorkflowRunCountAggregateOutputType>
20878
- : number
20879
- >
20880
-
20881
- /**
20882
- * Allows you to perform aggregations operations on a WorkflowRun.
20883
- * Note, that providing `undefined` is treated as the value not being there.
20884
- * Read more here: https://pris.ly/d/null-undefined
20885
- * @param {WorkflowRunAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
20886
- * @example
20887
- * // Ordered by age ascending
20888
- * // Where email contains prisma.io
20889
- * // Limited to the 10 users
20890
- * const aggregations = await prisma.user.aggregate({
20891
- * _avg: {
20892
- * age: true,
20893
- * },
20894
- * where: {
20895
- * email: {
20896
- * contains: "prisma.io",
20897
- * },
20898
- * },
20899
- * orderBy: {
20900
- * age: "asc",
20901
- * },
20902
- * take: 10,
20903
- * })
20904
- **/
20905
- aggregate<T extends WorkflowRunAggregateArgs>(args: Subset<T, WorkflowRunAggregateArgs>): Prisma.PrismaPromise<GetWorkflowRunAggregateType<T>>
20906
-
20907
- /**
20908
- * Group by WorkflowRun.
20909
- * Note, that providing `undefined` is treated as the value not being there.
20910
- * Read more here: https://pris.ly/d/null-undefined
20911
- * @param {WorkflowRunGroupByArgs} args - Group by arguments.
20912
- * @example
20913
- * // Group by city, order by createdAt, get count
20914
- * const result = await prisma.user.groupBy({
20915
- * by: ['city', 'createdAt'],
20916
- * orderBy: {
20917
- * createdAt: true
20918
- * },
20919
- * _count: {
20920
- * _all: true
20921
- * },
20922
- * })
20923
- *
20924
- **/
20925
- groupBy<
20926
- T extends WorkflowRunGroupByArgs,
20927
- HasSelectOrTake extends Or<
20928
- Extends<'skip', Keys<T>>,
20929
- Extends<'take', Keys<T>>
20930
- >,
20931
- OrderByArg extends True extends HasSelectOrTake
20932
- ? { orderBy: WorkflowRunGroupByArgs['orderBy'] }
20933
- : { orderBy?: WorkflowRunGroupByArgs['orderBy'] },
20934
- OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
20935
- ByFields extends MaybeTupleToUnion<T['by']>,
20936
- ByValid extends Has<ByFields, OrderFields>,
20937
- HavingFields extends GetHavingFields<T['having']>,
20938
- HavingValid extends Has<ByFields, HavingFields>,
20939
- ByEmpty extends T['by'] extends never[] ? True : False,
20940
- InputErrors extends ByEmpty extends True
20941
- ? `Error: "by" must not be empty.`
20942
- : HavingValid extends False
20943
- ? {
20944
- [P in HavingFields]: P extends ByFields
20945
- ? never
20946
- : P extends string
20947
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
20948
- : [
20949
- Error,
20950
- 'Field ',
20951
- P,
20952
- ` in "having" needs to be provided in "by"`,
20953
- ]
20954
- }[HavingFields]
20955
- : 'take' extends Keys<T>
20956
- ? 'orderBy' extends Keys<T>
20957
- ? ByValid extends True
20958
- ? {}
20959
- : {
20960
- [P in OrderFields]: P extends ByFields
20961
- ? never
20962
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
20963
- }[OrderFields]
20964
- : 'Error: If you provide "take", you also need to provide "orderBy"'
20965
- : 'skip' extends Keys<T>
20966
- ? 'orderBy' extends Keys<T>
20967
- ? ByValid extends True
20968
- ? {}
20969
- : {
20970
- [P in OrderFields]: P extends ByFields
20971
- ? never
20972
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
20973
- }[OrderFields]
20974
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
20975
- : ByValid extends True
20976
- ? {}
20977
- : {
20978
- [P in OrderFields]: P extends ByFields
20979
- ? never
20980
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
20981
- }[OrderFields]
20982
- >(args: SubsetIntersection<T, WorkflowRunGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetWorkflowRunGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
20983
- /**
20984
- * Fields of the WorkflowRun model
20985
- */
20986
- readonly fields: WorkflowRunFieldRefs;
20987
- }
20988
-
20989
- /**
20990
- * The delegate class that acts as a "Promise-like" for WorkflowRun.
20991
- * Why is this prefixed with `Prisma__`?
20992
- * Because we want to prevent naming conflicts as mentioned in
20993
- * https://github.com/prisma/prisma-client-js/issues/707
20994
- */
20995
- export interface Prisma__WorkflowRunClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
20996
- readonly [Symbol.toStringTag]: "PrismaPromise"
20997
- integration<T extends IntegrationDefaultArgs<ExtArgs> = {}>(args?: Subset<T, IntegrationDefaultArgs<ExtArgs>>): Prisma__IntegrationClient<$Result.GetResult<Prisma.$IntegrationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
20998
- /**
20999
- * Attaches callbacks for the resolution and/or rejection of the Promise.
21000
- * @param onfulfilled The callback to execute when the Promise is resolved.
21001
- * @param onrejected The callback to execute when the Promise is rejected.
21002
- * @returns A Promise for the completion of which ever callback is executed.
21003
- */
21004
- 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>
21005
- /**
21006
- * Attaches a callback for only the rejection of the Promise.
21007
- * @param onrejected The callback to execute when the Promise is rejected.
21008
- * @returns A Promise for the completion of the callback.
21009
- */
21010
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
21011
- /**
21012
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
21013
- * resolved value cannot be modified from the callback.
21014
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
21015
- * @returns A Promise for the completion of the callback.
21016
- */
21017
- finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
21018
- }
21019
-
21020
-
21021
-
21022
-
21023
- /**
21024
- * Fields of the WorkflowRun model
21025
- */
21026
- interface WorkflowRunFieldRefs {
21027
- readonly id: FieldRef<"WorkflowRun", 'String'>
21028
- readonly integrationId: FieldRef<"WorkflowRun", 'String'>
21029
- readonly definitionId: FieldRef<"WorkflowRun", 'String'>
21030
- readonly definitionVersion: FieldRef<"WorkflowRun", 'String'>
21031
- readonly workflowId: FieldRef<"WorkflowRun", 'String'>
21032
- readonly triggerType: FieldRef<"WorkflowRun", 'String'>
21033
- readonly eventId: FieldRef<"WorkflowRun", 'String'>
21034
- readonly status: FieldRef<"WorkflowRun", 'String'>
21035
- readonly reason: FieldRef<"WorkflowRun", 'String'>
21036
- readonly error: FieldRef<"WorkflowRun", 'String'>
21037
- readonly retryable: FieldRef<"WorkflowRun", 'Boolean'>
21038
- readonly trace: FieldRef<"WorkflowRun", 'Json'>
21039
- readonly runKey: FieldRef<"WorkflowRun", 'String'>
21040
- readonly waitingFor: FieldRef<"WorkflowRun", 'Json'>
21041
- readonly resumeAt: FieldRef<"WorkflowRun", 'DateTime'>
21042
- readonly startedAt: FieldRef<"WorkflowRun", 'DateTime'>
21043
- readonly endedAt: FieldRef<"WorkflowRun", 'DateTime'>
21044
- readonly createdAt: FieldRef<"WorkflowRun", 'DateTime'>
21045
- }
21046
-
21047
-
21048
- // Custom InputTypes
21049
- /**
21050
- * WorkflowRun findUnique
21051
- */
21052
- export type WorkflowRunFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21053
- /**
21054
- * Select specific fields to fetch from the WorkflowRun
21055
- */
21056
- select?: WorkflowRunSelect<ExtArgs> | null
21057
- /**
21058
- * Omit specific fields from the WorkflowRun
21059
- */
21060
- omit?: WorkflowRunOmit<ExtArgs> | null
21061
- /**
21062
- * Choose, which related nodes to fetch as well
21063
- */
21064
- include?: WorkflowRunInclude<ExtArgs> | null
21065
- /**
21066
- * Filter, which WorkflowRun to fetch.
21067
- */
21068
- where: WorkflowRunWhereUniqueInput
21069
- }
21070
-
21071
- /**
21072
- * WorkflowRun findUniqueOrThrow
21073
- */
21074
- export type WorkflowRunFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21075
- /**
21076
- * Select specific fields to fetch from the WorkflowRun
21077
- */
21078
- select?: WorkflowRunSelect<ExtArgs> | null
21079
- /**
21080
- * Omit specific fields from the WorkflowRun
21081
- */
21082
- omit?: WorkflowRunOmit<ExtArgs> | null
21083
- /**
21084
- * Choose, which related nodes to fetch as well
21085
- */
21086
- include?: WorkflowRunInclude<ExtArgs> | null
21087
- /**
21088
- * Filter, which WorkflowRun to fetch.
21089
- */
21090
- where: WorkflowRunWhereUniqueInput
21091
- }
21092
-
21093
- /**
21094
- * WorkflowRun findFirst
21095
- */
21096
- export type WorkflowRunFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21097
- /**
21098
- * Select specific fields to fetch from the WorkflowRun
21099
- */
21100
- select?: WorkflowRunSelect<ExtArgs> | null
21101
- /**
21102
- * Omit specific fields from the WorkflowRun
21103
- */
21104
- omit?: WorkflowRunOmit<ExtArgs> | null
21105
- /**
21106
- * Choose, which related nodes to fetch as well
21107
- */
21108
- include?: WorkflowRunInclude<ExtArgs> | null
21109
- /**
21110
- * Filter, which WorkflowRun to fetch.
21111
- */
21112
- where?: WorkflowRunWhereInput
21113
- /**
21114
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
21115
- *
21116
- * Determine the order of WorkflowRuns to fetch.
21117
- */
21118
- orderBy?: WorkflowRunOrderByWithRelationInput | WorkflowRunOrderByWithRelationInput[]
21119
- /**
21120
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
21121
- *
21122
- * Sets the position for searching for WorkflowRuns.
21123
- */
21124
- cursor?: WorkflowRunWhereUniqueInput
21125
- /**
21126
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
21127
- *
21128
- * Take `±n` WorkflowRuns from the position of the cursor.
21129
- */
21130
- take?: number
21131
- /**
21132
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
21133
- *
21134
- * Skip the first `n` WorkflowRuns.
21135
- */
21136
- skip?: number
21137
- /**
21138
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
21139
- *
21140
- * Filter by unique combinations of WorkflowRuns.
21141
- */
21142
- distinct?: WorkflowRunScalarFieldEnum | WorkflowRunScalarFieldEnum[]
21143
- }
21144
-
21145
- /**
21146
- * WorkflowRun findFirstOrThrow
21147
- */
21148
- export type WorkflowRunFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21149
- /**
21150
- * Select specific fields to fetch from the WorkflowRun
21151
- */
21152
- select?: WorkflowRunSelect<ExtArgs> | null
21153
- /**
21154
- * Omit specific fields from the WorkflowRun
21155
- */
21156
- omit?: WorkflowRunOmit<ExtArgs> | null
21157
- /**
21158
- * Choose, which related nodes to fetch as well
21159
- */
21160
- include?: WorkflowRunInclude<ExtArgs> | null
21161
- /**
21162
- * Filter, which WorkflowRun to fetch.
21163
- */
21164
- where?: WorkflowRunWhereInput
21165
- /**
21166
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
21167
- *
21168
- * Determine the order of WorkflowRuns to fetch.
21169
- */
21170
- orderBy?: WorkflowRunOrderByWithRelationInput | WorkflowRunOrderByWithRelationInput[]
21171
- /**
21172
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
21173
- *
21174
- * Sets the position for searching for WorkflowRuns.
21175
- */
21176
- cursor?: WorkflowRunWhereUniqueInput
21177
- /**
21178
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
21179
- *
21180
- * Take `±n` WorkflowRuns from the position of the cursor.
21181
- */
21182
- take?: number
21183
- /**
21184
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
21185
- *
21186
- * Skip the first `n` WorkflowRuns.
21187
- */
21188
- skip?: number
21189
- /**
21190
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
21191
- *
21192
- * Filter by unique combinations of WorkflowRuns.
21193
- */
21194
- distinct?: WorkflowRunScalarFieldEnum | WorkflowRunScalarFieldEnum[]
21195
- }
21196
-
21197
- /**
21198
- * WorkflowRun findMany
21199
- */
21200
- export type WorkflowRunFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21201
- /**
21202
- * Select specific fields to fetch from the WorkflowRun
21203
- */
21204
- select?: WorkflowRunSelect<ExtArgs> | null
21205
- /**
21206
- * Omit specific fields from the WorkflowRun
21207
- */
21208
- omit?: WorkflowRunOmit<ExtArgs> | null
21209
- /**
21210
- * Choose, which related nodes to fetch as well
21211
- */
21212
- include?: WorkflowRunInclude<ExtArgs> | null
21213
- /**
21214
- * Filter, which WorkflowRuns to fetch.
21215
- */
21216
- where?: WorkflowRunWhereInput
21217
- /**
21218
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
21219
- *
21220
- * Determine the order of WorkflowRuns to fetch.
21221
- */
21222
- orderBy?: WorkflowRunOrderByWithRelationInput | WorkflowRunOrderByWithRelationInput[]
21223
- /**
21224
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
21225
- *
21226
- * Sets the position for listing WorkflowRuns.
21227
- */
21228
- cursor?: WorkflowRunWhereUniqueInput
21229
- /**
21230
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
21231
- *
21232
- * Take `±n` WorkflowRuns from the position of the cursor.
21233
- */
21234
- take?: number
21235
- /**
21236
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
21237
- *
21238
- * Skip the first `n` WorkflowRuns.
21239
- */
21240
- skip?: number
21241
- distinct?: WorkflowRunScalarFieldEnum | WorkflowRunScalarFieldEnum[]
21242
- }
21243
-
21244
- /**
21245
- * WorkflowRun create
21246
- */
21247
- export type WorkflowRunCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21248
- /**
21249
- * Select specific fields to fetch from the WorkflowRun
21250
- */
21251
- select?: WorkflowRunSelect<ExtArgs> | null
21252
- /**
21253
- * Omit specific fields from the WorkflowRun
21254
- */
21255
- omit?: WorkflowRunOmit<ExtArgs> | null
21256
- /**
21257
- * Choose, which related nodes to fetch as well
21258
- */
21259
- include?: WorkflowRunInclude<ExtArgs> | null
21260
- /**
21261
- * The data needed to create a WorkflowRun.
21262
- */
21263
- data: XOR<WorkflowRunCreateInput, WorkflowRunUncheckedCreateInput>
21264
- }
21265
-
21266
- /**
21267
- * WorkflowRun createMany
21268
- */
21269
- export type WorkflowRunCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21270
- /**
21271
- * The data used to create many WorkflowRuns.
21272
- */
21273
- data: WorkflowRunCreateManyInput | WorkflowRunCreateManyInput[]
21274
- }
21275
-
21276
- /**
21277
- * WorkflowRun update
21278
- */
21279
- export type WorkflowRunUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21280
- /**
21281
- * Select specific fields to fetch from the WorkflowRun
21282
- */
21283
- select?: WorkflowRunSelect<ExtArgs> | null
21284
- /**
21285
- * Omit specific fields from the WorkflowRun
21286
- */
21287
- omit?: WorkflowRunOmit<ExtArgs> | null
21288
- /**
21289
- * Choose, which related nodes to fetch as well
21290
- */
21291
- include?: WorkflowRunInclude<ExtArgs> | null
21292
- /**
21293
- * The data needed to update a WorkflowRun.
21294
- */
21295
- data: XOR<WorkflowRunUpdateInput, WorkflowRunUncheckedUpdateInput>
21296
- /**
21297
- * Choose, which WorkflowRun to update.
21298
- */
21299
- where: WorkflowRunWhereUniqueInput
21300
- }
21301
-
21302
- /**
21303
- * WorkflowRun updateMany
21304
- */
21305
- export type WorkflowRunUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21306
- /**
21307
- * The data used to update WorkflowRuns.
21308
- */
21309
- data: XOR<WorkflowRunUpdateManyMutationInput, WorkflowRunUncheckedUpdateManyInput>
21310
- /**
21311
- * Filter which WorkflowRuns to update
21312
- */
21313
- where?: WorkflowRunWhereInput
21314
- /**
21315
- * Limit how many WorkflowRuns to update.
21316
- */
21317
- limit?: number
21318
- }
21319
-
21320
- /**
21321
- * WorkflowRun upsert
21322
- */
21323
- export type WorkflowRunUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21324
- /**
21325
- * Select specific fields to fetch from the WorkflowRun
21326
- */
21327
- select?: WorkflowRunSelect<ExtArgs> | null
21328
- /**
21329
- * Omit specific fields from the WorkflowRun
21330
- */
21331
- omit?: WorkflowRunOmit<ExtArgs> | null
21332
- /**
21333
- * Choose, which related nodes to fetch as well
21334
- */
21335
- include?: WorkflowRunInclude<ExtArgs> | null
21336
- /**
21337
- * The filter to search for the WorkflowRun to update in case it exists.
21338
- */
21339
- where: WorkflowRunWhereUniqueInput
21340
- /**
21341
- * In case the WorkflowRun found by the `where` argument doesn't exist, create a new WorkflowRun with this data.
21342
- */
21343
- create: XOR<WorkflowRunCreateInput, WorkflowRunUncheckedCreateInput>
21344
- /**
21345
- * In case the WorkflowRun was found with the provided `where` argument, update it with this data.
21346
- */
21347
- update: XOR<WorkflowRunUpdateInput, WorkflowRunUncheckedUpdateInput>
21348
- }
21349
-
21350
- /**
21351
- * WorkflowRun delete
21352
- */
21353
- export type WorkflowRunDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21354
- /**
21355
- * Select specific fields to fetch from the WorkflowRun
21356
- */
21357
- select?: WorkflowRunSelect<ExtArgs> | null
21358
- /**
21359
- * Omit specific fields from the WorkflowRun
21360
- */
21361
- omit?: WorkflowRunOmit<ExtArgs> | null
21362
- /**
21363
- * Choose, which related nodes to fetch as well
21364
- */
21365
- include?: WorkflowRunInclude<ExtArgs> | null
21366
- /**
21367
- * Filter which WorkflowRun to delete.
21368
- */
21369
- where: WorkflowRunWhereUniqueInput
21370
- }
21371
-
21372
- /**
21373
- * WorkflowRun deleteMany
21374
- */
21375
- export type WorkflowRunDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21376
- /**
21377
- * Filter which WorkflowRuns to delete
21378
- */
21379
- where?: WorkflowRunWhereInput
21380
- /**
21381
- * Limit how many WorkflowRuns to delete.
21382
- */
21383
- limit?: number
21384
- }
21385
-
21386
- /**
21387
- * WorkflowRun findRaw
21388
- */
21389
- export type WorkflowRunFindRawArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21390
- /**
21391
- * The query predicate filter. If unspecified, then all documents in the collection will match the predicate. ${@link https://docs.mongodb.com/manual/reference/operator/query MongoDB Docs}.
21392
- */
21393
- filter?: InputJsonValue
21394
- /**
21395
- * Additional options to pass to the `find` command ${@link https://docs.mongodb.com/manual/reference/command/find/#command-fields MongoDB Docs}.
21396
- */
21397
- options?: InputJsonValue
21398
- }
21399
-
21400
- /**
21401
- * WorkflowRun aggregateRaw
21402
- */
21403
- export type WorkflowRunAggregateRawArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21404
- /**
21405
- * An array of aggregation stages to process and transform the document stream via the aggregation pipeline. ${@link https://docs.mongodb.com/manual/reference/operator/aggregation-pipeline MongoDB Docs}.
21406
- */
21407
- pipeline?: InputJsonValue[]
21408
- /**
21409
- * Additional options to pass to the `aggregate` command ${@link https://docs.mongodb.com/manual/reference/command/aggregate/#command-fields MongoDB Docs}.
21410
- */
21411
- options?: InputJsonValue
21412
- }
21413
-
21414
- /**
21415
- * WorkflowRun without action
21416
- */
21417
- export type WorkflowRunDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
21418
- /**
21419
- * Select specific fields to fetch from the WorkflowRun
21420
- */
21421
- select?: WorkflowRunSelect<ExtArgs> | null
21422
- /**
21423
- * Omit specific fields from the WorkflowRun
21424
- */
21425
- omit?: WorkflowRunOmit<ExtArgs> | null
21426
- /**
21427
- * Choose, which related nodes to fetch as well
21428
- */
21429
- include?: WorkflowRunInclude<ExtArgs> | null
21430
- }
21431
-
21432
-
21433
- /**
21434
- * Enums
21435
- */
21436
-
21437
- export const UserScalarFieldEnum: {
21438
- id: 'id',
21439
- type: 'type',
21440
- createdAt: 'createdAt',
21441
- updatedAt: 'updatedAt',
21442
- email: 'email',
21443
- username: 'username',
21444
- hashword: 'hashword',
21445
- appUserId: 'appUserId',
21446
- organizationId: 'organizationId',
21447
- appOrgId: 'appOrgId',
21448
- name: 'name'
21449
- };
21450
-
21451
- export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum]
21452
-
21453
-
21454
- export const TokenScalarFieldEnum: {
21455
- id: 'id',
21456
- token: 'token',
21457
- created: 'created',
21458
- expires: 'expires',
21459
- userId: 'userId'
21460
- };
21461
-
21462
- export type TokenScalarFieldEnum = (typeof TokenScalarFieldEnum)[keyof typeof TokenScalarFieldEnum]
21463
-
21464
-
21465
- export const CredentialScalarFieldEnum: {
21466
- id: 'id',
21467
- userId: 'userId',
21468
- authIsValid: 'authIsValid',
21469
- externalId: 'externalId',
21470
- data: 'data',
21471
- createdAt: 'createdAt',
21472
- updatedAt: 'updatedAt'
21473
- };
21474
-
21475
- export type CredentialScalarFieldEnum = (typeof CredentialScalarFieldEnum)[keyof typeof CredentialScalarFieldEnum]
21476
-
21477
-
21478
- export const EntityScalarFieldEnum: {
21479
- id: 'id',
21480
- credentialId: 'credentialId',
21481
- userId: 'userId',
21482
- name: 'name',
21483
- moduleName: 'moduleName',
21484
- externalId: 'externalId',
21485
- data: 'data',
21486
- createdAt: 'createdAt',
21487
- updatedAt: 'updatedAt',
21488
- integrationIds: 'integrationIds',
21489
- syncIds: 'syncIds'
21490
- };
21491
-
21492
- export type EntityScalarFieldEnum = (typeof EntityScalarFieldEnum)[keyof typeof EntityScalarFieldEnum]
19101
+ export type EntityScalarFieldEnum = (typeof EntityScalarFieldEnum)[keyof typeof EntityScalarFieldEnum]
21493
19102
 
21494
19103
 
21495
19104
  export const IntegrationScalarFieldEnum: {
@@ -21648,51 +19257,6 @@ export namespace Prisma {
21648
19257
  export type UsageCounterScalarFieldEnum = (typeof UsageCounterScalarFieldEnum)[keyof typeof UsageCounterScalarFieldEnum]
21649
19258
 
21650
19259
 
21651
- export const IntegrationDefinitionVersionScalarFieldEnum: {
21652
- id: 'id',
21653
- definitionId: 'definitionId',
21654
- version: 'version',
21655
- schemaVersion: 'schemaVersion',
21656
- status: 'status',
21657
- checksum: 'checksum',
21658
- document: 'document',
21659
- changeLevel: 'changeLevel',
21660
- previousVersion: 'previousVersion',
21661
- notes: 'notes',
21662
- createdBy: 'createdBy',
21663
- workspaceId: 'workspaceId',
21664
- publishedAt: 'publishedAt',
21665
- createdAt: 'createdAt',
21666
- updatedAt: 'updatedAt'
21667
- };
21668
-
21669
- export type IntegrationDefinitionVersionScalarFieldEnum = (typeof IntegrationDefinitionVersionScalarFieldEnum)[keyof typeof IntegrationDefinitionVersionScalarFieldEnum]
21670
-
21671
-
21672
- export const WorkflowRunScalarFieldEnum: {
21673
- id: 'id',
21674
- integrationId: 'integrationId',
21675
- definitionId: 'definitionId',
21676
- definitionVersion: 'definitionVersion',
21677
- workflowId: 'workflowId',
21678
- triggerType: 'triggerType',
21679
- eventId: 'eventId',
21680
- status: 'status',
21681
- reason: 'reason',
21682
- error: 'error',
21683
- retryable: 'retryable',
21684
- trace: 'trace',
21685
- runKey: 'runKey',
21686
- waitingFor: 'waitingFor',
21687
- resumeAt: 'resumeAt',
21688
- startedAt: 'startedAt',
21689
- endedAt: 'endedAt',
21690
- createdAt: 'createdAt'
21691
- };
21692
-
21693
- export type WorkflowRunScalarFieldEnum = (typeof WorkflowRunScalarFieldEnum)[keyof typeof WorkflowRunScalarFieldEnum]
21694
-
21695
-
21696
19260
  export const SortOrder: {
21697
19261
  asc: 'asc',
21698
19262
  desc: 'desc'
@@ -21826,20 +19390,6 @@ export namespace Prisma {
21826
19390
 
21827
19391
 
21828
19392
 
21829
- /**
21830
- * Reference to a field of type 'DefinitionStatus'
21831
- */
21832
- export type EnumDefinitionStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DefinitionStatus'>
21833
-
21834
-
21835
-
21836
- /**
21837
- * Reference to a field of type 'DefinitionStatus[]'
21838
- */
21839
- export type ListEnumDefinitionStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DefinitionStatus[]'>
21840
-
21841
-
21842
-
21843
19393
  /**
21844
19394
  * Reference to a field of type 'Int'
21845
19395
  */
@@ -22220,7 +19770,6 @@ export namespace Prisma {
22220
19770
  syncs?: SyncListRelationFilter
22221
19771
  mappings?: IntegrationMappingListRelationFilter
22222
19772
  processes?: ProcessListRelationFilter
22223
- workflowRuns?: WorkflowRunListRelationFilter
22224
19773
  }
22225
19774
 
22226
19775
  export type IntegrationOrderByWithRelationInput = {
@@ -22242,7 +19791,6 @@ export namespace Prisma {
22242
19791
  syncs?: SyncOrderByRelationAggregateInput
22243
19792
  mappings?: IntegrationMappingOrderByRelationAggregateInput
22244
19793
  processes?: ProcessOrderByRelationAggregateInput
22245
- workflowRuns?: WorkflowRunOrderByRelationAggregateInput
22246
19794
  }
22247
19795
 
22248
19796
  export type IntegrationWhereUniqueInput = Prisma.AtLeast<{
@@ -22267,7 +19815,6 @@ export namespace Prisma {
22267
19815
  syncs?: SyncListRelationFilter
22268
19816
  mappings?: IntegrationMappingListRelationFilter
22269
19817
  processes?: ProcessListRelationFilter
22270
- workflowRuns?: WorkflowRunListRelationFilter
22271
19818
  }, "id">
22272
19819
 
22273
19820
  export type IntegrationOrderByWithAggregationInput = {
@@ -22990,240 +20537,17 @@ export namespace Prisma {
22990
20537
  }
22991
20538
 
22992
20539
  export type UsageCounterScalarWhereWithAggregatesInput = {
22993
- AND?: UsageCounterScalarWhereWithAggregatesInput | UsageCounterScalarWhereWithAggregatesInput[]
22994
- OR?: UsageCounterScalarWhereWithAggregatesInput[]
22995
- NOT?: UsageCounterScalarWhereWithAggregatesInput | UsageCounterScalarWhereWithAggregatesInput[]
22996
- id?: StringWithAggregatesFilter<"UsageCounter"> | string
22997
- integrationId?: StringWithAggregatesFilter<"UsageCounter"> | string
22998
- integrationType?: StringWithAggregatesFilter<"UsageCounter"> | string
22999
- metric?: StringWithAggregatesFilter<"UsageCounter"> | string
23000
- window?: StringWithAggregatesFilter<"UsageCounter"> | string
23001
- value?: BigIntWithAggregatesFilter<"UsageCounter"> | bigint | number
23002
- createdAt?: DateTimeWithAggregatesFilter<"UsageCounter"> | Date | string
23003
- updatedAt?: DateTimeWithAggregatesFilter<"UsageCounter"> | Date | string
23004
- }
23005
-
23006
- export type IntegrationDefinitionVersionWhereInput = {
23007
- AND?: IntegrationDefinitionVersionWhereInput | IntegrationDefinitionVersionWhereInput[]
23008
- OR?: IntegrationDefinitionVersionWhereInput[]
23009
- NOT?: IntegrationDefinitionVersionWhereInput | IntegrationDefinitionVersionWhereInput[]
23010
- id?: StringFilter<"IntegrationDefinitionVersion"> | string
23011
- definitionId?: StringFilter<"IntegrationDefinitionVersion"> | string
23012
- version?: StringFilter<"IntegrationDefinitionVersion"> | string
23013
- schemaVersion?: StringFilter<"IntegrationDefinitionVersion"> | string
23014
- status?: EnumDefinitionStatusFilter<"IntegrationDefinitionVersion"> | $Enums.DefinitionStatus
23015
- checksum?: StringFilter<"IntegrationDefinitionVersion"> | string
23016
- document?: JsonFilter<"IntegrationDefinitionVersion">
23017
- changeLevel?: StringNullableFilter<"IntegrationDefinitionVersion"> | string | null
23018
- previousVersion?: StringNullableFilter<"IntegrationDefinitionVersion"> | string | null
23019
- notes?: StringNullableFilter<"IntegrationDefinitionVersion"> | string | null
23020
- createdBy?: StringNullableFilter<"IntegrationDefinitionVersion"> | string | null
23021
- workspaceId?: StringNullableFilter<"IntegrationDefinitionVersion"> | string | null
23022
- publishedAt?: DateTimeNullableFilter<"IntegrationDefinitionVersion"> | Date | string | null
23023
- createdAt?: DateTimeFilter<"IntegrationDefinitionVersion"> | Date | string
23024
- updatedAt?: DateTimeFilter<"IntegrationDefinitionVersion"> | Date | string
23025
- }
23026
-
23027
- export type IntegrationDefinitionVersionOrderByWithRelationInput = {
23028
- id?: SortOrder
23029
- definitionId?: SortOrder
23030
- version?: SortOrder
23031
- schemaVersion?: SortOrder
23032
- status?: SortOrder
23033
- checksum?: SortOrder
23034
- document?: SortOrder
23035
- changeLevel?: SortOrder
23036
- previousVersion?: SortOrder
23037
- notes?: SortOrder
23038
- createdBy?: SortOrder
23039
- workspaceId?: SortOrder
23040
- publishedAt?: SortOrder
23041
- createdAt?: SortOrder
23042
- updatedAt?: SortOrder
23043
- }
23044
-
23045
- export type IntegrationDefinitionVersionWhereUniqueInput = Prisma.AtLeast<{
23046
- id?: string
23047
- definitionId_version?: IntegrationDefinitionVersionDefinitionIdVersionCompoundUniqueInput
23048
- AND?: IntegrationDefinitionVersionWhereInput | IntegrationDefinitionVersionWhereInput[]
23049
- OR?: IntegrationDefinitionVersionWhereInput[]
23050
- NOT?: IntegrationDefinitionVersionWhereInput | IntegrationDefinitionVersionWhereInput[]
23051
- definitionId?: StringFilter<"IntegrationDefinitionVersion"> | string
23052
- version?: StringFilter<"IntegrationDefinitionVersion"> | string
23053
- schemaVersion?: StringFilter<"IntegrationDefinitionVersion"> | string
23054
- status?: EnumDefinitionStatusFilter<"IntegrationDefinitionVersion"> | $Enums.DefinitionStatus
23055
- checksum?: StringFilter<"IntegrationDefinitionVersion"> | string
23056
- document?: JsonFilter<"IntegrationDefinitionVersion">
23057
- changeLevel?: StringNullableFilter<"IntegrationDefinitionVersion"> | string | null
23058
- previousVersion?: StringNullableFilter<"IntegrationDefinitionVersion"> | string | null
23059
- notes?: StringNullableFilter<"IntegrationDefinitionVersion"> | string | null
23060
- createdBy?: StringNullableFilter<"IntegrationDefinitionVersion"> | string | null
23061
- workspaceId?: StringNullableFilter<"IntegrationDefinitionVersion"> | string | null
23062
- publishedAt?: DateTimeNullableFilter<"IntegrationDefinitionVersion"> | Date | string | null
23063
- createdAt?: DateTimeFilter<"IntegrationDefinitionVersion"> | Date | string
23064
- updatedAt?: DateTimeFilter<"IntegrationDefinitionVersion"> | Date | string
23065
- }, "id" | "definitionId_version">
23066
-
23067
- export type IntegrationDefinitionVersionOrderByWithAggregationInput = {
23068
- id?: SortOrder
23069
- definitionId?: SortOrder
23070
- version?: SortOrder
23071
- schemaVersion?: SortOrder
23072
- status?: SortOrder
23073
- checksum?: SortOrder
23074
- document?: SortOrder
23075
- changeLevel?: SortOrder
23076
- previousVersion?: SortOrder
23077
- notes?: SortOrder
23078
- createdBy?: SortOrder
23079
- workspaceId?: SortOrder
23080
- publishedAt?: SortOrder
23081
- createdAt?: SortOrder
23082
- updatedAt?: SortOrder
23083
- _count?: IntegrationDefinitionVersionCountOrderByAggregateInput
23084
- _max?: IntegrationDefinitionVersionMaxOrderByAggregateInput
23085
- _min?: IntegrationDefinitionVersionMinOrderByAggregateInput
23086
- }
23087
-
23088
- export type IntegrationDefinitionVersionScalarWhereWithAggregatesInput = {
23089
- AND?: IntegrationDefinitionVersionScalarWhereWithAggregatesInput | IntegrationDefinitionVersionScalarWhereWithAggregatesInput[]
23090
- OR?: IntegrationDefinitionVersionScalarWhereWithAggregatesInput[]
23091
- NOT?: IntegrationDefinitionVersionScalarWhereWithAggregatesInput | IntegrationDefinitionVersionScalarWhereWithAggregatesInput[]
23092
- id?: StringWithAggregatesFilter<"IntegrationDefinitionVersion"> | string
23093
- definitionId?: StringWithAggregatesFilter<"IntegrationDefinitionVersion"> | string
23094
- version?: StringWithAggregatesFilter<"IntegrationDefinitionVersion"> | string
23095
- schemaVersion?: StringWithAggregatesFilter<"IntegrationDefinitionVersion"> | string
23096
- status?: EnumDefinitionStatusWithAggregatesFilter<"IntegrationDefinitionVersion"> | $Enums.DefinitionStatus
23097
- checksum?: StringWithAggregatesFilter<"IntegrationDefinitionVersion"> | string
23098
- document?: JsonWithAggregatesFilter<"IntegrationDefinitionVersion">
23099
- changeLevel?: StringNullableWithAggregatesFilter<"IntegrationDefinitionVersion"> | string | null
23100
- previousVersion?: StringNullableWithAggregatesFilter<"IntegrationDefinitionVersion"> | string | null
23101
- notes?: StringNullableWithAggregatesFilter<"IntegrationDefinitionVersion"> | string | null
23102
- createdBy?: StringNullableWithAggregatesFilter<"IntegrationDefinitionVersion"> | string | null
23103
- workspaceId?: StringNullableWithAggregatesFilter<"IntegrationDefinitionVersion"> | string | null
23104
- publishedAt?: DateTimeNullableWithAggregatesFilter<"IntegrationDefinitionVersion"> | Date | string | null
23105
- createdAt?: DateTimeWithAggregatesFilter<"IntegrationDefinitionVersion"> | Date | string
23106
- updatedAt?: DateTimeWithAggregatesFilter<"IntegrationDefinitionVersion"> | Date | string
23107
- }
23108
-
23109
- export type WorkflowRunWhereInput = {
23110
- AND?: WorkflowRunWhereInput | WorkflowRunWhereInput[]
23111
- OR?: WorkflowRunWhereInput[]
23112
- NOT?: WorkflowRunWhereInput | WorkflowRunWhereInput[]
23113
- id?: StringFilter<"WorkflowRun"> | string
23114
- integrationId?: StringFilter<"WorkflowRun"> | string
23115
- definitionId?: StringFilter<"WorkflowRun"> | string
23116
- definitionVersion?: StringFilter<"WorkflowRun"> | string
23117
- workflowId?: StringFilter<"WorkflowRun"> | string
23118
- triggerType?: StringFilter<"WorkflowRun"> | string
23119
- eventId?: StringNullableFilter<"WorkflowRun"> | string | null
23120
- status?: StringFilter<"WorkflowRun"> | string
23121
- reason?: StringNullableFilter<"WorkflowRun"> | string | null
23122
- error?: StringNullableFilter<"WorkflowRun"> | string | null
23123
- retryable?: BoolFilter<"WorkflowRun"> | boolean
23124
- trace?: JsonFilter<"WorkflowRun">
23125
- runKey?: StringNullableFilter<"WorkflowRun"> | string | null
23126
- waitingFor?: JsonNullableFilter<"WorkflowRun">
23127
- resumeAt?: DateTimeNullableFilter<"WorkflowRun"> | Date | string | null
23128
- startedAt?: DateTimeFilter<"WorkflowRun"> | Date | string
23129
- endedAt?: DateTimeNullableFilter<"WorkflowRun"> | Date | string | null
23130
- createdAt?: DateTimeFilter<"WorkflowRun"> | Date | string
23131
- integration?: XOR<IntegrationScalarRelationFilter, IntegrationWhereInput>
23132
- }
23133
-
23134
- export type WorkflowRunOrderByWithRelationInput = {
23135
- id?: SortOrder
23136
- integrationId?: SortOrder
23137
- definitionId?: SortOrder
23138
- definitionVersion?: SortOrder
23139
- workflowId?: SortOrder
23140
- triggerType?: SortOrder
23141
- eventId?: SortOrder
23142
- status?: SortOrder
23143
- reason?: SortOrder
23144
- error?: SortOrder
23145
- retryable?: SortOrder
23146
- trace?: SortOrder
23147
- runKey?: SortOrder
23148
- waitingFor?: SortOrder
23149
- resumeAt?: SortOrder
23150
- startedAt?: SortOrder
23151
- endedAt?: SortOrder
23152
- createdAt?: SortOrder
23153
- integration?: IntegrationOrderByWithRelationInput
23154
- }
23155
-
23156
- export type WorkflowRunWhereUniqueInput = Prisma.AtLeast<{
23157
- id?: string
23158
- AND?: WorkflowRunWhereInput | WorkflowRunWhereInput[]
23159
- OR?: WorkflowRunWhereInput[]
23160
- NOT?: WorkflowRunWhereInput | WorkflowRunWhereInput[]
23161
- integrationId?: StringFilter<"WorkflowRun"> | string
23162
- definitionId?: StringFilter<"WorkflowRun"> | string
23163
- definitionVersion?: StringFilter<"WorkflowRun"> | string
23164
- workflowId?: StringFilter<"WorkflowRun"> | string
23165
- triggerType?: StringFilter<"WorkflowRun"> | string
23166
- eventId?: StringNullableFilter<"WorkflowRun"> | string | null
23167
- status?: StringFilter<"WorkflowRun"> | string
23168
- reason?: StringNullableFilter<"WorkflowRun"> | string | null
23169
- error?: StringNullableFilter<"WorkflowRun"> | string | null
23170
- retryable?: BoolFilter<"WorkflowRun"> | boolean
23171
- trace?: JsonFilter<"WorkflowRun">
23172
- runKey?: StringNullableFilter<"WorkflowRun"> | string | null
23173
- waitingFor?: JsonNullableFilter<"WorkflowRun">
23174
- resumeAt?: DateTimeNullableFilter<"WorkflowRun"> | Date | string | null
23175
- startedAt?: DateTimeFilter<"WorkflowRun"> | Date | string
23176
- endedAt?: DateTimeNullableFilter<"WorkflowRun"> | Date | string | null
23177
- createdAt?: DateTimeFilter<"WorkflowRun"> | Date | string
23178
- integration?: XOR<IntegrationScalarRelationFilter, IntegrationWhereInput>
23179
- }, "id">
23180
-
23181
- export type WorkflowRunOrderByWithAggregationInput = {
23182
- id?: SortOrder
23183
- integrationId?: SortOrder
23184
- definitionId?: SortOrder
23185
- definitionVersion?: SortOrder
23186
- workflowId?: SortOrder
23187
- triggerType?: SortOrder
23188
- eventId?: SortOrder
23189
- status?: SortOrder
23190
- reason?: SortOrder
23191
- error?: SortOrder
23192
- retryable?: SortOrder
23193
- trace?: SortOrder
23194
- runKey?: SortOrder
23195
- waitingFor?: SortOrder
23196
- resumeAt?: SortOrder
23197
- startedAt?: SortOrder
23198
- endedAt?: SortOrder
23199
- createdAt?: SortOrder
23200
- _count?: WorkflowRunCountOrderByAggregateInput
23201
- _max?: WorkflowRunMaxOrderByAggregateInput
23202
- _min?: WorkflowRunMinOrderByAggregateInput
23203
- }
23204
-
23205
- export type WorkflowRunScalarWhereWithAggregatesInput = {
23206
- AND?: WorkflowRunScalarWhereWithAggregatesInput | WorkflowRunScalarWhereWithAggregatesInput[]
23207
- OR?: WorkflowRunScalarWhereWithAggregatesInput[]
23208
- NOT?: WorkflowRunScalarWhereWithAggregatesInput | WorkflowRunScalarWhereWithAggregatesInput[]
23209
- id?: StringWithAggregatesFilter<"WorkflowRun"> | string
23210
- integrationId?: StringWithAggregatesFilter<"WorkflowRun"> | string
23211
- definitionId?: StringWithAggregatesFilter<"WorkflowRun"> | string
23212
- definitionVersion?: StringWithAggregatesFilter<"WorkflowRun"> | string
23213
- workflowId?: StringWithAggregatesFilter<"WorkflowRun"> | string
23214
- triggerType?: StringWithAggregatesFilter<"WorkflowRun"> | string
23215
- eventId?: StringNullableWithAggregatesFilter<"WorkflowRun"> | string | null
23216
- status?: StringWithAggregatesFilter<"WorkflowRun"> | string
23217
- reason?: StringNullableWithAggregatesFilter<"WorkflowRun"> | string | null
23218
- error?: StringNullableWithAggregatesFilter<"WorkflowRun"> | string | null
23219
- retryable?: BoolWithAggregatesFilter<"WorkflowRun"> | boolean
23220
- trace?: JsonWithAggregatesFilter<"WorkflowRun">
23221
- runKey?: StringNullableWithAggregatesFilter<"WorkflowRun"> | string | null
23222
- waitingFor?: JsonNullableWithAggregatesFilter<"WorkflowRun">
23223
- resumeAt?: DateTimeNullableWithAggregatesFilter<"WorkflowRun"> | Date | string | null
23224
- startedAt?: DateTimeWithAggregatesFilter<"WorkflowRun"> | Date | string
23225
- endedAt?: DateTimeNullableWithAggregatesFilter<"WorkflowRun"> | Date | string | null
23226
- createdAt?: DateTimeWithAggregatesFilter<"WorkflowRun"> | Date | string
20540
+ AND?: UsageCounterScalarWhereWithAggregatesInput | UsageCounterScalarWhereWithAggregatesInput[]
20541
+ OR?: UsageCounterScalarWhereWithAggregatesInput[]
20542
+ NOT?: UsageCounterScalarWhereWithAggregatesInput | UsageCounterScalarWhereWithAggregatesInput[]
20543
+ id?: StringWithAggregatesFilter<"UsageCounter"> | string
20544
+ integrationId?: StringWithAggregatesFilter<"UsageCounter"> | string
20545
+ integrationType?: StringWithAggregatesFilter<"UsageCounter"> | string
20546
+ metric?: StringWithAggregatesFilter<"UsageCounter"> | string
20547
+ window?: StringWithAggregatesFilter<"UsageCounter"> | string
20548
+ value?: BigIntWithAggregatesFilter<"UsageCounter"> | bigint | number
20549
+ createdAt?: DateTimeWithAggregatesFilter<"UsageCounter"> | Date | string
20550
+ updatedAt?: DateTimeWithAggregatesFilter<"UsageCounter"> | Date | string
23227
20551
  }
23228
20552
 
23229
20553
  export type UserCreateInput = {
@@ -23582,7 +20906,6 @@ export namespace Prisma {
23582
20906
  syncs?: SyncCreateNestedManyWithoutIntegrationInput
23583
20907
  mappings?: IntegrationMappingCreateNestedManyWithoutIntegrationInput
23584
20908
  processes?: ProcessCreateNestedManyWithoutIntegrationInput
23585
- workflowRuns?: WorkflowRunCreateNestedManyWithoutIntegrationInput
23586
20909
  }
23587
20910
 
23588
20911
  export type IntegrationUncheckedCreateInput = {
@@ -23603,7 +20926,6 @@ export namespace Prisma {
23603
20926
  syncs?: SyncUncheckedCreateNestedManyWithoutIntegrationInput
23604
20927
  mappings?: IntegrationMappingUncheckedCreateNestedManyWithoutIntegrationInput
23605
20928
  processes?: ProcessUncheckedCreateNestedManyWithoutIntegrationInput
23606
- workflowRuns?: WorkflowRunUncheckedCreateNestedManyWithoutIntegrationInput
23607
20929
  }
23608
20930
 
23609
20931
  export type IntegrationUpdateInput = {
@@ -23622,7 +20944,6 @@ export namespace Prisma {
23622
20944
  syncs?: SyncUpdateManyWithoutIntegrationNestedInput
23623
20945
  mappings?: IntegrationMappingUpdateManyWithoutIntegrationNestedInput
23624
20946
  processes?: ProcessUpdateManyWithoutIntegrationNestedInput
23625
- workflowRuns?: WorkflowRunUpdateManyWithoutIntegrationNestedInput
23626
20947
  }
23627
20948
 
23628
20949
  export type IntegrationUncheckedUpdateInput = {
@@ -23642,7 +20963,6 @@ export namespace Prisma {
23642
20963
  syncs?: SyncUncheckedUpdateManyWithoutIntegrationNestedInput
23643
20964
  mappings?: IntegrationMappingUncheckedUpdateManyWithoutIntegrationNestedInput
23644
20965
  processes?: ProcessUncheckedUpdateManyWithoutIntegrationNestedInput
23645
- workflowRuns?: WorkflowRunUncheckedUpdateManyWithoutIntegrationNestedInput
23646
20966
  }
23647
20967
 
23648
20968
  export type IntegrationCreateManyInput = {
@@ -24377,270 +21697,6 @@ export namespace Prisma {
24377
21697
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
24378
21698
  }
24379
21699
 
24380
- export type IntegrationDefinitionVersionCreateInput = {
24381
- id?: string
24382
- definitionId: string
24383
- version: string
24384
- schemaVersion: string
24385
- status?: $Enums.DefinitionStatus
24386
- checksum: string
24387
- document: InputJsonValue
24388
- changeLevel?: string | null
24389
- previousVersion?: string | null
24390
- notes?: string | null
24391
- createdBy?: string | null
24392
- workspaceId?: string | null
24393
- publishedAt?: Date | string | null
24394
- createdAt?: Date | string
24395
- updatedAt?: Date | string
24396
- }
24397
-
24398
- export type IntegrationDefinitionVersionUncheckedCreateInput = {
24399
- id?: string
24400
- definitionId: string
24401
- version: string
24402
- schemaVersion: string
24403
- status?: $Enums.DefinitionStatus
24404
- checksum: string
24405
- document: InputJsonValue
24406
- changeLevel?: string | null
24407
- previousVersion?: string | null
24408
- notes?: string | null
24409
- createdBy?: string | null
24410
- workspaceId?: string | null
24411
- publishedAt?: Date | string | null
24412
- createdAt?: Date | string
24413
- updatedAt?: Date | string
24414
- }
24415
-
24416
- export type IntegrationDefinitionVersionUpdateInput = {
24417
- definitionId?: StringFieldUpdateOperationsInput | string
24418
- version?: StringFieldUpdateOperationsInput | string
24419
- schemaVersion?: StringFieldUpdateOperationsInput | string
24420
- status?: EnumDefinitionStatusFieldUpdateOperationsInput | $Enums.DefinitionStatus
24421
- checksum?: StringFieldUpdateOperationsInput | string
24422
- document?: InputJsonValue | InputJsonValue
24423
- changeLevel?: NullableStringFieldUpdateOperationsInput | string | null
24424
- previousVersion?: NullableStringFieldUpdateOperationsInput | string | null
24425
- notes?: NullableStringFieldUpdateOperationsInput | string | null
24426
- createdBy?: NullableStringFieldUpdateOperationsInput | string | null
24427
- workspaceId?: NullableStringFieldUpdateOperationsInput | string | null
24428
- publishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
24429
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
24430
- updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
24431
- }
24432
-
24433
- export type IntegrationDefinitionVersionUncheckedUpdateInput = {
24434
- definitionId?: StringFieldUpdateOperationsInput | string
24435
- version?: StringFieldUpdateOperationsInput | string
24436
- schemaVersion?: StringFieldUpdateOperationsInput | string
24437
- status?: EnumDefinitionStatusFieldUpdateOperationsInput | $Enums.DefinitionStatus
24438
- checksum?: StringFieldUpdateOperationsInput | string
24439
- document?: InputJsonValue | InputJsonValue
24440
- changeLevel?: NullableStringFieldUpdateOperationsInput | string | null
24441
- previousVersion?: NullableStringFieldUpdateOperationsInput | string | null
24442
- notes?: NullableStringFieldUpdateOperationsInput | string | null
24443
- createdBy?: NullableStringFieldUpdateOperationsInput | string | null
24444
- workspaceId?: NullableStringFieldUpdateOperationsInput | string | null
24445
- publishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
24446
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
24447
- updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
24448
- }
24449
-
24450
- export type IntegrationDefinitionVersionCreateManyInput = {
24451
- id?: string
24452
- definitionId: string
24453
- version: string
24454
- schemaVersion: string
24455
- status?: $Enums.DefinitionStatus
24456
- checksum: string
24457
- document: InputJsonValue
24458
- changeLevel?: string | null
24459
- previousVersion?: string | null
24460
- notes?: string | null
24461
- createdBy?: string | null
24462
- workspaceId?: string | null
24463
- publishedAt?: Date | string | null
24464
- createdAt?: Date | string
24465
- updatedAt?: Date | string
24466
- }
24467
-
24468
- export type IntegrationDefinitionVersionUpdateManyMutationInput = {
24469
- definitionId?: StringFieldUpdateOperationsInput | string
24470
- version?: StringFieldUpdateOperationsInput | string
24471
- schemaVersion?: StringFieldUpdateOperationsInput | string
24472
- status?: EnumDefinitionStatusFieldUpdateOperationsInput | $Enums.DefinitionStatus
24473
- checksum?: StringFieldUpdateOperationsInput | string
24474
- document?: InputJsonValue | InputJsonValue
24475
- changeLevel?: NullableStringFieldUpdateOperationsInput | string | null
24476
- previousVersion?: NullableStringFieldUpdateOperationsInput | string | null
24477
- notes?: NullableStringFieldUpdateOperationsInput | string | null
24478
- createdBy?: NullableStringFieldUpdateOperationsInput | string | null
24479
- workspaceId?: NullableStringFieldUpdateOperationsInput | string | null
24480
- publishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
24481
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
24482
- updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
24483
- }
24484
-
24485
- export type IntegrationDefinitionVersionUncheckedUpdateManyInput = {
24486
- definitionId?: StringFieldUpdateOperationsInput | string
24487
- version?: StringFieldUpdateOperationsInput | string
24488
- schemaVersion?: StringFieldUpdateOperationsInput | string
24489
- status?: EnumDefinitionStatusFieldUpdateOperationsInput | $Enums.DefinitionStatus
24490
- checksum?: StringFieldUpdateOperationsInput | string
24491
- document?: InputJsonValue | InputJsonValue
24492
- changeLevel?: NullableStringFieldUpdateOperationsInput | string | null
24493
- previousVersion?: NullableStringFieldUpdateOperationsInput | string | null
24494
- notes?: NullableStringFieldUpdateOperationsInput | string | null
24495
- createdBy?: NullableStringFieldUpdateOperationsInput | string | null
24496
- workspaceId?: NullableStringFieldUpdateOperationsInput | string | null
24497
- publishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
24498
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
24499
- updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
24500
- }
24501
-
24502
- export type WorkflowRunCreateInput = {
24503
- id?: string
24504
- definitionId: string
24505
- definitionVersion: string
24506
- workflowId: string
24507
- triggerType: string
24508
- eventId?: string | null
24509
- status: string
24510
- reason?: string | null
24511
- error?: string | null
24512
- retryable?: boolean
24513
- trace?: InputJsonValue
24514
- runKey?: string | null
24515
- waitingFor?: InputJsonValue | null
24516
- resumeAt?: Date | string | null
24517
- startedAt: Date | string
24518
- endedAt?: Date | string | null
24519
- createdAt?: Date | string
24520
- integration: IntegrationCreateNestedOneWithoutWorkflowRunsInput
24521
- }
24522
-
24523
- export type WorkflowRunUncheckedCreateInput = {
24524
- id?: string
24525
- integrationId: string
24526
- definitionId: string
24527
- definitionVersion: string
24528
- workflowId: string
24529
- triggerType: string
24530
- eventId?: string | null
24531
- status: string
24532
- reason?: string | null
24533
- error?: string | null
24534
- retryable?: boolean
24535
- trace?: InputJsonValue
24536
- runKey?: string | null
24537
- waitingFor?: InputJsonValue | null
24538
- resumeAt?: Date | string | null
24539
- startedAt: Date | string
24540
- endedAt?: Date | string | null
24541
- createdAt?: Date | string
24542
- }
24543
-
24544
- export type WorkflowRunUpdateInput = {
24545
- definitionId?: StringFieldUpdateOperationsInput | string
24546
- definitionVersion?: StringFieldUpdateOperationsInput | string
24547
- workflowId?: StringFieldUpdateOperationsInput | string
24548
- triggerType?: StringFieldUpdateOperationsInput | string
24549
- eventId?: NullableStringFieldUpdateOperationsInput | string | null
24550
- status?: StringFieldUpdateOperationsInput | string
24551
- reason?: NullableStringFieldUpdateOperationsInput | string | null
24552
- error?: NullableStringFieldUpdateOperationsInput | string | null
24553
- retryable?: BoolFieldUpdateOperationsInput | boolean
24554
- trace?: InputJsonValue | InputJsonValue
24555
- runKey?: NullableStringFieldUpdateOperationsInput | string | null
24556
- waitingFor?: InputJsonValue | InputJsonValue | null
24557
- resumeAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
24558
- startedAt?: DateTimeFieldUpdateOperationsInput | Date | string
24559
- endedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
24560
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
24561
- integration?: IntegrationUpdateOneRequiredWithoutWorkflowRunsNestedInput
24562
- }
24563
-
24564
- export type WorkflowRunUncheckedUpdateInput = {
24565
- integrationId?: StringFieldUpdateOperationsInput | string
24566
- definitionId?: StringFieldUpdateOperationsInput | string
24567
- definitionVersion?: StringFieldUpdateOperationsInput | string
24568
- workflowId?: StringFieldUpdateOperationsInput | string
24569
- triggerType?: StringFieldUpdateOperationsInput | string
24570
- eventId?: NullableStringFieldUpdateOperationsInput | string | null
24571
- status?: StringFieldUpdateOperationsInput | string
24572
- reason?: NullableStringFieldUpdateOperationsInput | string | null
24573
- error?: NullableStringFieldUpdateOperationsInput | string | null
24574
- retryable?: BoolFieldUpdateOperationsInput | boolean
24575
- trace?: InputJsonValue | InputJsonValue
24576
- runKey?: NullableStringFieldUpdateOperationsInput | string | null
24577
- waitingFor?: InputJsonValue | InputJsonValue | null
24578
- resumeAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
24579
- startedAt?: DateTimeFieldUpdateOperationsInput | Date | string
24580
- endedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
24581
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
24582
- }
24583
-
24584
- export type WorkflowRunCreateManyInput = {
24585
- id?: string
24586
- integrationId: string
24587
- definitionId: string
24588
- definitionVersion: string
24589
- workflowId: string
24590
- triggerType: string
24591
- eventId?: string | null
24592
- status: string
24593
- reason?: string | null
24594
- error?: string | null
24595
- retryable?: boolean
24596
- trace?: InputJsonValue
24597
- runKey?: string | null
24598
- waitingFor?: InputJsonValue | null
24599
- resumeAt?: Date | string | null
24600
- startedAt: Date | string
24601
- endedAt?: Date | string | null
24602
- createdAt?: Date | string
24603
- }
24604
-
24605
- export type WorkflowRunUpdateManyMutationInput = {
24606
- definitionId?: StringFieldUpdateOperationsInput | string
24607
- definitionVersion?: StringFieldUpdateOperationsInput | string
24608
- workflowId?: StringFieldUpdateOperationsInput | string
24609
- triggerType?: StringFieldUpdateOperationsInput | string
24610
- eventId?: NullableStringFieldUpdateOperationsInput | string | null
24611
- status?: StringFieldUpdateOperationsInput | string
24612
- reason?: NullableStringFieldUpdateOperationsInput | string | null
24613
- error?: NullableStringFieldUpdateOperationsInput | string | null
24614
- retryable?: BoolFieldUpdateOperationsInput | boolean
24615
- trace?: InputJsonValue | InputJsonValue
24616
- runKey?: NullableStringFieldUpdateOperationsInput | string | null
24617
- waitingFor?: InputJsonValue | InputJsonValue | null
24618
- resumeAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
24619
- startedAt?: DateTimeFieldUpdateOperationsInput | Date | string
24620
- endedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
24621
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
24622
- }
24623
-
24624
- export type WorkflowRunUncheckedUpdateManyInput = {
24625
- integrationId?: StringFieldUpdateOperationsInput | string
24626
- definitionId?: StringFieldUpdateOperationsInput | string
24627
- definitionVersion?: StringFieldUpdateOperationsInput | string
24628
- workflowId?: StringFieldUpdateOperationsInput | string
24629
- triggerType?: StringFieldUpdateOperationsInput | string
24630
- eventId?: NullableStringFieldUpdateOperationsInput | string | null
24631
- status?: StringFieldUpdateOperationsInput | string
24632
- reason?: NullableStringFieldUpdateOperationsInput | string | null
24633
- error?: NullableStringFieldUpdateOperationsInput | string | null
24634
- retryable?: BoolFieldUpdateOperationsInput | boolean
24635
- trace?: InputJsonValue | InputJsonValue
24636
- runKey?: NullableStringFieldUpdateOperationsInput | string | null
24637
- waitingFor?: InputJsonValue | InputJsonValue | null
24638
- resumeAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
24639
- startedAt?: DateTimeFieldUpdateOperationsInput | Date | string
24640
- endedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
24641
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
24642
- }
24643
-
24644
21700
  export type StringFilter<$PrismaModel = never> = {
24645
21701
  equals?: string | StringFieldRefInput<$PrismaModel>
24646
21702
  in?: string[] | ListStringFieldRefInput<$PrismaModel>
@@ -25097,12 +22153,6 @@ export namespace Prisma {
25097
22153
  none?: IntegrationMappingWhereInput
25098
22154
  }
25099
22155
 
25100
- export type WorkflowRunListRelationFilter = {
25101
- every?: WorkflowRunWhereInput
25102
- some?: WorkflowRunWhereInput
25103
- none?: WorkflowRunWhereInput
25104
- }
25105
-
25106
22156
  export type AssociationOrderByRelationAggregateInput = {
25107
22157
  _count?: SortOrder
25108
22158
  }
@@ -25111,10 +22161,6 @@ export namespace Prisma {
25111
22161
  _count?: SortOrder
25112
22162
  }
25113
22163
 
25114
- export type WorkflowRunOrderByRelationAggregateInput = {
25115
- _count?: SortOrder
25116
- }
25117
-
25118
22164
  export type IntegrationCountOrderByAggregateInput = {
25119
22165
  id?: SortOrder
25120
22166
  userId?: SortOrder
@@ -25585,139 +22631,6 @@ export namespace Prisma {
25585
22631
  _max?: NestedBigIntFilter<$PrismaModel>
25586
22632
  }
25587
22633
 
25588
- export type EnumDefinitionStatusFilter<$PrismaModel = never> = {
25589
- equals?: $Enums.DefinitionStatus | EnumDefinitionStatusFieldRefInput<$PrismaModel>
25590
- in?: $Enums.DefinitionStatus[] | ListEnumDefinitionStatusFieldRefInput<$PrismaModel>
25591
- notIn?: $Enums.DefinitionStatus[] | ListEnumDefinitionStatusFieldRefInput<$PrismaModel>
25592
- not?: NestedEnumDefinitionStatusFilter<$PrismaModel> | $Enums.DefinitionStatus
25593
- }
25594
-
25595
- export type IntegrationDefinitionVersionDefinitionIdVersionCompoundUniqueInput = {
25596
- definitionId: string
25597
- version: string
25598
- }
25599
-
25600
- export type IntegrationDefinitionVersionCountOrderByAggregateInput = {
25601
- id?: SortOrder
25602
- definitionId?: SortOrder
25603
- version?: SortOrder
25604
- schemaVersion?: SortOrder
25605
- status?: SortOrder
25606
- checksum?: SortOrder
25607
- document?: SortOrder
25608
- changeLevel?: SortOrder
25609
- previousVersion?: SortOrder
25610
- notes?: SortOrder
25611
- createdBy?: SortOrder
25612
- workspaceId?: SortOrder
25613
- publishedAt?: SortOrder
25614
- createdAt?: SortOrder
25615
- updatedAt?: SortOrder
25616
- }
25617
-
25618
- export type IntegrationDefinitionVersionMaxOrderByAggregateInput = {
25619
- id?: SortOrder
25620
- definitionId?: SortOrder
25621
- version?: SortOrder
25622
- schemaVersion?: SortOrder
25623
- status?: SortOrder
25624
- checksum?: SortOrder
25625
- changeLevel?: SortOrder
25626
- previousVersion?: SortOrder
25627
- notes?: SortOrder
25628
- createdBy?: SortOrder
25629
- workspaceId?: SortOrder
25630
- publishedAt?: SortOrder
25631
- createdAt?: SortOrder
25632
- updatedAt?: SortOrder
25633
- }
25634
-
25635
- export type IntegrationDefinitionVersionMinOrderByAggregateInput = {
25636
- id?: SortOrder
25637
- definitionId?: SortOrder
25638
- version?: SortOrder
25639
- schemaVersion?: SortOrder
25640
- status?: SortOrder
25641
- checksum?: SortOrder
25642
- changeLevel?: SortOrder
25643
- previousVersion?: SortOrder
25644
- notes?: SortOrder
25645
- createdBy?: SortOrder
25646
- workspaceId?: SortOrder
25647
- publishedAt?: SortOrder
25648
- createdAt?: SortOrder
25649
- updatedAt?: SortOrder
25650
- }
25651
-
25652
- export type EnumDefinitionStatusWithAggregatesFilter<$PrismaModel = never> = {
25653
- equals?: $Enums.DefinitionStatus | EnumDefinitionStatusFieldRefInput<$PrismaModel>
25654
- in?: $Enums.DefinitionStatus[] | ListEnumDefinitionStatusFieldRefInput<$PrismaModel>
25655
- notIn?: $Enums.DefinitionStatus[] | ListEnumDefinitionStatusFieldRefInput<$PrismaModel>
25656
- not?: NestedEnumDefinitionStatusWithAggregatesFilter<$PrismaModel> | $Enums.DefinitionStatus
25657
- _count?: NestedIntFilter<$PrismaModel>
25658
- _min?: NestedEnumDefinitionStatusFilter<$PrismaModel>
25659
- _max?: NestedEnumDefinitionStatusFilter<$PrismaModel>
25660
- }
25661
-
25662
- export type WorkflowRunCountOrderByAggregateInput = {
25663
- id?: SortOrder
25664
- integrationId?: SortOrder
25665
- definitionId?: SortOrder
25666
- definitionVersion?: SortOrder
25667
- workflowId?: SortOrder
25668
- triggerType?: SortOrder
25669
- eventId?: SortOrder
25670
- status?: SortOrder
25671
- reason?: SortOrder
25672
- error?: SortOrder
25673
- retryable?: SortOrder
25674
- trace?: SortOrder
25675
- runKey?: SortOrder
25676
- waitingFor?: SortOrder
25677
- resumeAt?: SortOrder
25678
- startedAt?: SortOrder
25679
- endedAt?: SortOrder
25680
- createdAt?: SortOrder
25681
- }
25682
-
25683
- export type WorkflowRunMaxOrderByAggregateInput = {
25684
- id?: SortOrder
25685
- integrationId?: SortOrder
25686
- definitionId?: SortOrder
25687
- definitionVersion?: SortOrder
25688
- workflowId?: SortOrder
25689
- triggerType?: SortOrder
25690
- eventId?: SortOrder
25691
- status?: SortOrder
25692
- reason?: SortOrder
25693
- error?: SortOrder
25694
- retryable?: SortOrder
25695
- runKey?: SortOrder
25696
- resumeAt?: SortOrder
25697
- startedAt?: SortOrder
25698
- endedAt?: SortOrder
25699
- createdAt?: SortOrder
25700
- }
25701
-
25702
- export type WorkflowRunMinOrderByAggregateInput = {
25703
- id?: SortOrder
25704
- integrationId?: SortOrder
25705
- definitionId?: SortOrder
25706
- definitionVersion?: SortOrder
25707
- workflowId?: SortOrder
25708
- triggerType?: SortOrder
25709
- eventId?: SortOrder
25710
- status?: SortOrder
25711
- reason?: SortOrder
25712
- error?: SortOrder
25713
- retryable?: SortOrder
25714
- runKey?: SortOrder
25715
- resumeAt?: SortOrder
25716
- startedAt?: SortOrder
25717
- endedAt?: SortOrder
25718
- createdAt?: SortOrder
25719
- }
25720
-
25721
22634
  export type UserCreateNestedOneWithoutMembersInput = {
25722
22635
  create?: XOR<UserCreateWithoutMembersInput, UserUncheckedCreateWithoutMembersInput>
25723
22636
  connectOrCreate?: UserCreateOrConnectWithoutMembersInput
@@ -26335,13 +23248,6 @@ export namespace Prisma {
26335
23248
  connect?: ProcessWhereUniqueInput | ProcessWhereUniqueInput[]
26336
23249
  }
26337
23250
 
26338
- export type WorkflowRunCreateNestedManyWithoutIntegrationInput = {
26339
- create?: XOR<WorkflowRunCreateWithoutIntegrationInput, WorkflowRunUncheckedCreateWithoutIntegrationInput> | WorkflowRunCreateWithoutIntegrationInput[] | WorkflowRunUncheckedCreateWithoutIntegrationInput[]
26340
- connectOrCreate?: WorkflowRunCreateOrConnectWithoutIntegrationInput | WorkflowRunCreateOrConnectWithoutIntegrationInput[]
26341
- createMany?: WorkflowRunCreateManyIntegrationInputEnvelope
26342
- connect?: WorkflowRunWhereUniqueInput | WorkflowRunWhereUniqueInput[]
26343
- }
26344
-
26345
23251
  export type IntegrationCreateentityIdsInput = {
26346
23252
  set: string[]
26347
23253
  }
@@ -26380,13 +23286,6 @@ export namespace Prisma {
26380
23286
  connect?: ProcessWhereUniqueInput | ProcessWhereUniqueInput[]
26381
23287
  }
26382
23288
 
26383
- export type WorkflowRunUncheckedCreateNestedManyWithoutIntegrationInput = {
26384
- create?: XOR<WorkflowRunCreateWithoutIntegrationInput, WorkflowRunUncheckedCreateWithoutIntegrationInput> | WorkflowRunCreateWithoutIntegrationInput[] | WorkflowRunUncheckedCreateWithoutIntegrationInput[]
26385
- connectOrCreate?: WorkflowRunCreateOrConnectWithoutIntegrationInput | WorkflowRunCreateOrConnectWithoutIntegrationInput[]
26386
- createMany?: WorkflowRunCreateManyIntegrationInputEnvelope
26387
- connect?: WorkflowRunWhereUniqueInput | WorkflowRunWhereUniqueInput[]
26388
- }
26389
-
26390
23289
  export type EnumIntegrationStatusFieldUpdateOperationsInput = {
26391
23290
  set?: $Enums.IntegrationStatus
26392
23291
  }
@@ -26470,20 +23369,6 @@ export namespace Prisma {
26470
23369
  deleteMany?: ProcessScalarWhereInput | ProcessScalarWhereInput[]
26471
23370
  }
26472
23371
 
26473
- export type WorkflowRunUpdateManyWithoutIntegrationNestedInput = {
26474
- create?: XOR<WorkflowRunCreateWithoutIntegrationInput, WorkflowRunUncheckedCreateWithoutIntegrationInput> | WorkflowRunCreateWithoutIntegrationInput[] | WorkflowRunUncheckedCreateWithoutIntegrationInput[]
26475
- connectOrCreate?: WorkflowRunCreateOrConnectWithoutIntegrationInput | WorkflowRunCreateOrConnectWithoutIntegrationInput[]
26476
- upsert?: WorkflowRunUpsertWithWhereUniqueWithoutIntegrationInput | WorkflowRunUpsertWithWhereUniqueWithoutIntegrationInput[]
26477
- createMany?: WorkflowRunCreateManyIntegrationInputEnvelope
26478
- set?: WorkflowRunWhereUniqueInput | WorkflowRunWhereUniqueInput[]
26479
- disconnect?: WorkflowRunWhereUniqueInput | WorkflowRunWhereUniqueInput[]
26480
- delete?: WorkflowRunWhereUniqueInput | WorkflowRunWhereUniqueInput[]
26481
- connect?: WorkflowRunWhereUniqueInput | WorkflowRunWhereUniqueInput[]
26482
- update?: WorkflowRunUpdateWithWhereUniqueWithoutIntegrationInput | WorkflowRunUpdateWithWhereUniqueWithoutIntegrationInput[]
26483
- updateMany?: WorkflowRunUpdateManyWithWhereWithoutIntegrationInput | WorkflowRunUpdateManyWithWhereWithoutIntegrationInput[]
26484
- deleteMany?: WorkflowRunScalarWhereInput | WorkflowRunScalarWhereInput[]
26485
- }
26486
-
26487
23372
  export type IntegrationUpdateentityIdsInput = {
26488
23373
  set?: string[]
26489
23374
  push?: string | string[]
@@ -26558,20 +23443,6 @@ export namespace Prisma {
26558
23443
  deleteMany?: ProcessScalarWhereInput | ProcessScalarWhereInput[]
26559
23444
  }
26560
23445
 
26561
- export type WorkflowRunUncheckedUpdateManyWithoutIntegrationNestedInput = {
26562
- create?: XOR<WorkflowRunCreateWithoutIntegrationInput, WorkflowRunUncheckedCreateWithoutIntegrationInput> | WorkflowRunCreateWithoutIntegrationInput[] | WorkflowRunUncheckedCreateWithoutIntegrationInput[]
26563
- connectOrCreate?: WorkflowRunCreateOrConnectWithoutIntegrationInput | WorkflowRunCreateOrConnectWithoutIntegrationInput[]
26564
- upsert?: WorkflowRunUpsertWithWhereUniqueWithoutIntegrationInput | WorkflowRunUpsertWithWhereUniqueWithoutIntegrationInput[]
26565
- createMany?: WorkflowRunCreateManyIntegrationInputEnvelope
26566
- set?: WorkflowRunWhereUniqueInput | WorkflowRunWhereUniqueInput[]
26567
- disconnect?: WorkflowRunWhereUniqueInput | WorkflowRunWhereUniqueInput[]
26568
- delete?: WorkflowRunWhereUniqueInput | WorkflowRunWhereUniqueInput[]
26569
- connect?: WorkflowRunWhereUniqueInput | WorkflowRunWhereUniqueInput[]
26570
- update?: WorkflowRunUpdateWithWhereUniqueWithoutIntegrationInput | WorkflowRunUpdateWithWhereUniqueWithoutIntegrationInput[]
26571
- updateMany?: WorkflowRunUpdateManyWithWhereWithoutIntegrationInput | WorkflowRunUpdateManyWithWhereWithoutIntegrationInput[]
26572
- deleteMany?: WorkflowRunScalarWhereInput | WorkflowRunScalarWhereInput[]
26573
- }
26574
-
26575
23446
  export type IntegrationCreateNestedOneWithoutMappingsInput = {
26576
23447
  create?: XOR<IntegrationCreateWithoutMappingsInput, IntegrationUncheckedCreateWithoutMappingsInput>
26577
23448
  connectOrCreate?: IntegrationCreateOrConnectWithoutMappingsInput
@@ -26871,24 +23742,6 @@ export namespace Prisma {
26871
23742
  divide?: bigint | number
26872
23743
  }
26873
23744
 
26874
- export type EnumDefinitionStatusFieldUpdateOperationsInput = {
26875
- set?: $Enums.DefinitionStatus
26876
- }
26877
-
26878
- export type IntegrationCreateNestedOneWithoutWorkflowRunsInput = {
26879
- create?: XOR<IntegrationCreateWithoutWorkflowRunsInput, IntegrationUncheckedCreateWithoutWorkflowRunsInput>
26880
- connectOrCreate?: IntegrationCreateOrConnectWithoutWorkflowRunsInput
26881
- connect?: IntegrationWhereUniqueInput
26882
- }
26883
-
26884
- export type IntegrationUpdateOneRequiredWithoutWorkflowRunsNestedInput = {
26885
- create?: XOR<IntegrationCreateWithoutWorkflowRunsInput, IntegrationUncheckedCreateWithoutWorkflowRunsInput>
26886
- connectOrCreate?: IntegrationCreateOrConnectWithoutWorkflowRunsInput
26887
- upsert?: IntegrationUpsertWithoutWorkflowRunsInput
26888
- connect?: IntegrationWhereUniqueInput
26889
- update?: XOR<XOR<IntegrationUpdateToOneWithWhereWithoutWorkflowRunsInput, IntegrationUpdateWithoutWorkflowRunsInput>, IntegrationUncheckedUpdateWithoutWorkflowRunsInput>
26890
- }
26891
-
26892
23745
  export type NestedStringFilter<$PrismaModel = never> = {
26893
23746
  equals?: string | StringFieldRefInput<$PrismaModel>
26894
23747
  in?: string[] | ListStringFieldRefInput<$PrismaModel>
@@ -27185,23 +24038,6 @@ export namespace Prisma {
27185
24038
  not?: NestedFloatFilter<$PrismaModel> | number
27186
24039
  }
27187
24040
 
27188
- export type NestedEnumDefinitionStatusFilter<$PrismaModel = never> = {
27189
- equals?: $Enums.DefinitionStatus | EnumDefinitionStatusFieldRefInput<$PrismaModel>
27190
- in?: $Enums.DefinitionStatus[] | ListEnumDefinitionStatusFieldRefInput<$PrismaModel>
27191
- notIn?: $Enums.DefinitionStatus[] | ListEnumDefinitionStatusFieldRefInput<$PrismaModel>
27192
- not?: NestedEnumDefinitionStatusFilter<$PrismaModel> | $Enums.DefinitionStatus
27193
- }
27194
-
27195
- export type NestedEnumDefinitionStatusWithAggregatesFilter<$PrismaModel = never> = {
27196
- equals?: $Enums.DefinitionStatus | EnumDefinitionStatusFieldRefInput<$PrismaModel>
27197
- in?: $Enums.DefinitionStatus[] | ListEnumDefinitionStatusFieldRefInput<$PrismaModel>
27198
- notIn?: $Enums.DefinitionStatus[] | ListEnumDefinitionStatusFieldRefInput<$PrismaModel>
27199
- not?: NestedEnumDefinitionStatusWithAggregatesFilter<$PrismaModel> | $Enums.DefinitionStatus
27200
- _count?: NestedIntFilter<$PrismaModel>
27201
- _min?: NestedEnumDefinitionStatusFilter<$PrismaModel>
27202
- _max?: NestedEnumDefinitionStatusFilter<$PrismaModel>
27203
- }
27204
-
27205
24041
  export type UserCreateWithoutMembersInput = {
27206
24042
  id?: string
27207
24043
  type: $Enums.UserType
@@ -27401,7 +24237,6 @@ export namespace Prisma {
27401
24237
  syncs?: SyncCreateNestedManyWithoutIntegrationInput
27402
24238
  mappings?: IntegrationMappingCreateNestedManyWithoutIntegrationInput
27403
24239
  processes?: ProcessCreateNestedManyWithoutIntegrationInput
27404
- workflowRuns?: WorkflowRunCreateNestedManyWithoutIntegrationInput
27405
24240
  }
27406
24241
 
27407
24242
  export type IntegrationUncheckedCreateWithoutUserInput = {
@@ -27421,7 +24256,6 @@ export namespace Prisma {
27421
24256
  syncs?: SyncUncheckedCreateNestedManyWithoutIntegrationInput
27422
24257
  mappings?: IntegrationMappingUncheckedCreateNestedManyWithoutIntegrationInput
27423
24258
  processes?: ProcessUncheckedCreateNestedManyWithoutIntegrationInput
27424
- workflowRuns?: WorkflowRunUncheckedCreateNestedManyWithoutIntegrationInput
27425
24259
  }
27426
24260
 
27427
24261
  export type IntegrationCreateOrConnectWithoutUserInput = {
@@ -28028,7 +24862,6 @@ export namespace Prisma {
28028
24862
  syncs?: SyncCreateNestedManyWithoutIntegrationInput
28029
24863
  mappings?: IntegrationMappingCreateNestedManyWithoutIntegrationInput
28030
24864
  processes?: ProcessCreateNestedManyWithoutIntegrationInput
28031
- workflowRuns?: WorkflowRunCreateNestedManyWithoutIntegrationInput
28032
24865
  }
28033
24866
 
28034
24867
  export type IntegrationUncheckedCreateWithoutEntitiesInput = {
@@ -28048,7 +24881,6 @@ export namespace Prisma {
28048
24881
  syncs?: SyncUncheckedCreateNestedManyWithoutIntegrationInput
28049
24882
  mappings?: IntegrationMappingUncheckedCreateNestedManyWithoutIntegrationInput
28050
24883
  processes?: ProcessUncheckedCreateNestedManyWithoutIntegrationInput
28051
- workflowRuns?: WorkflowRunUncheckedCreateNestedManyWithoutIntegrationInput
28052
24884
  }
28053
24885
 
28054
24886
  export type IntegrationCreateOrConnectWithoutEntitiesInput = {
@@ -28493,55 +25325,6 @@ export namespace Prisma {
28493
25325
  data: ProcessCreateManyIntegrationInput | ProcessCreateManyIntegrationInput[]
28494
25326
  }
28495
25327
 
28496
- export type WorkflowRunCreateWithoutIntegrationInput = {
28497
- id?: string
28498
- definitionId: string
28499
- definitionVersion: string
28500
- workflowId: string
28501
- triggerType: string
28502
- eventId?: string | null
28503
- status: string
28504
- reason?: string | null
28505
- error?: string | null
28506
- retryable?: boolean
28507
- trace?: InputJsonValue
28508
- runKey?: string | null
28509
- waitingFor?: InputJsonValue | null
28510
- resumeAt?: Date | string | null
28511
- startedAt: Date | string
28512
- endedAt?: Date | string | null
28513
- createdAt?: Date | string
28514
- }
28515
-
28516
- export type WorkflowRunUncheckedCreateWithoutIntegrationInput = {
28517
- id?: string
28518
- definitionId: string
28519
- definitionVersion: string
28520
- workflowId: string
28521
- triggerType: string
28522
- eventId?: string | null
28523
- status: string
28524
- reason?: string | null
28525
- error?: string | null
28526
- retryable?: boolean
28527
- trace?: InputJsonValue
28528
- runKey?: string | null
28529
- waitingFor?: InputJsonValue | null
28530
- resumeAt?: Date | string | null
28531
- startedAt: Date | string
28532
- endedAt?: Date | string | null
28533
- createdAt?: Date | string
28534
- }
28535
-
28536
- export type WorkflowRunCreateOrConnectWithoutIntegrationInput = {
28537
- where: WorkflowRunWhereUniqueInput
28538
- create: XOR<WorkflowRunCreateWithoutIntegrationInput, WorkflowRunUncheckedCreateWithoutIntegrationInput>
28539
- }
28540
-
28541
- export type WorkflowRunCreateManyIntegrationInputEnvelope = {
28542
- data: WorkflowRunCreateManyIntegrationInput | WorkflowRunCreateManyIntegrationInput[]
28543
- }
28544
-
28545
25328
  export type UserUpsertWithoutIntegrationsInput = {
28546
25329
  update: XOR<UserUpdateWithoutIntegrationsInput, UserUncheckedUpdateWithoutIntegrationsInput>
28547
25330
  create: XOR<UserCreateWithoutIntegrationsInput, UserUncheckedCreateWithoutIntegrationsInput>
@@ -28692,46 +25475,6 @@ export namespace Prisma {
28692
25475
  data: XOR<ProcessUpdateManyMutationInput, ProcessUncheckedUpdateManyWithoutIntegrationInput>
28693
25476
  }
28694
25477
 
28695
- export type WorkflowRunUpsertWithWhereUniqueWithoutIntegrationInput = {
28696
- where: WorkflowRunWhereUniqueInput
28697
- update: XOR<WorkflowRunUpdateWithoutIntegrationInput, WorkflowRunUncheckedUpdateWithoutIntegrationInput>
28698
- create: XOR<WorkflowRunCreateWithoutIntegrationInput, WorkflowRunUncheckedCreateWithoutIntegrationInput>
28699
- }
28700
-
28701
- export type WorkflowRunUpdateWithWhereUniqueWithoutIntegrationInput = {
28702
- where: WorkflowRunWhereUniqueInput
28703
- data: XOR<WorkflowRunUpdateWithoutIntegrationInput, WorkflowRunUncheckedUpdateWithoutIntegrationInput>
28704
- }
28705
-
28706
- export type WorkflowRunUpdateManyWithWhereWithoutIntegrationInput = {
28707
- where: WorkflowRunScalarWhereInput
28708
- data: XOR<WorkflowRunUpdateManyMutationInput, WorkflowRunUncheckedUpdateManyWithoutIntegrationInput>
28709
- }
28710
-
28711
- export type WorkflowRunScalarWhereInput = {
28712
- AND?: WorkflowRunScalarWhereInput | WorkflowRunScalarWhereInput[]
28713
- OR?: WorkflowRunScalarWhereInput[]
28714
- NOT?: WorkflowRunScalarWhereInput | WorkflowRunScalarWhereInput[]
28715
- id?: StringFilter<"WorkflowRun"> | string
28716
- integrationId?: StringFilter<"WorkflowRun"> | string
28717
- definitionId?: StringFilter<"WorkflowRun"> | string
28718
- definitionVersion?: StringFilter<"WorkflowRun"> | string
28719
- workflowId?: StringFilter<"WorkflowRun"> | string
28720
- triggerType?: StringFilter<"WorkflowRun"> | string
28721
- eventId?: StringNullableFilter<"WorkflowRun"> | string | null
28722
- status?: StringFilter<"WorkflowRun"> | string
28723
- reason?: StringNullableFilter<"WorkflowRun"> | string | null
28724
- error?: StringNullableFilter<"WorkflowRun"> | string | null
28725
- retryable?: BoolFilter<"WorkflowRun"> | boolean
28726
- trace?: JsonFilter<"WorkflowRun">
28727
- runKey?: StringNullableFilter<"WorkflowRun"> | string | null
28728
- waitingFor?: JsonNullableFilter<"WorkflowRun">
28729
- resumeAt?: DateTimeNullableFilter<"WorkflowRun"> | Date | string | null
28730
- startedAt?: DateTimeFilter<"WorkflowRun"> | Date | string
28731
- endedAt?: DateTimeNullableFilter<"WorkflowRun"> | Date | string | null
28732
- createdAt?: DateTimeFilter<"WorkflowRun"> | Date | string
28733
- }
28734
-
28735
25478
  export type IntegrationCreateWithoutMappingsInput = {
28736
25479
  id?: string
28737
25480
  status?: $Enums.IntegrationStatus
@@ -28748,7 +25491,6 @@ export namespace Prisma {
28748
25491
  associations?: AssociationCreateNestedManyWithoutIntegrationInput
28749
25492
  syncs?: SyncCreateNestedManyWithoutIntegrationInput
28750
25493
  processes?: ProcessCreateNestedManyWithoutIntegrationInput
28751
- workflowRuns?: WorkflowRunCreateNestedManyWithoutIntegrationInput
28752
25494
  }
28753
25495
 
28754
25496
  export type IntegrationUncheckedCreateWithoutMappingsInput = {
@@ -28768,7 +25510,6 @@ export namespace Prisma {
28768
25510
  associations?: AssociationUncheckedCreateNestedManyWithoutIntegrationInput
28769
25511
  syncs?: SyncUncheckedCreateNestedManyWithoutIntegrationInput
28770
25512
  processes?: ProcessUncheckedCreateNestedManyWithoutIntegrationInput
28771
- workflowRuns?: WorkflowRunUncheckedCreateNestedManyWithoutIntegrationInput
28772
25513
  }
28773
25514
 
28774
25515
  export type IntegrationCreateOrConnectWithoutMappingsInput = {
@@ -28802,7 +25543,6 @@ export namespace Prisma {
28802
25543
  associations?: AssociationUpdateManyWithoutIntegrationNestedInput
28803
25544
  syncs?: SyncUpdateManyWithoutIntegrationNestedInput
28804
25545
  processes?: ProcessUpdateManyWithoutIntegrationNestedInput
28805
- workflowRuns?: WorkflowRunUpdateManyWithoutIntegrationNestedInput
28806
25546
  }
28807
25547
 
28808
25548
  export type IntegrationUncheckedUpdateWithoutMappingsInput = {
@@ -28821,7 +25561,6 @@ export namespace Prisma {
28821
25561
  associations?: AssociationUncheckedUpdateManyWithoutIntegrationNestedInput
28822
25562
  syncs?: SyncUncheckedUpdateManyWithoutIntegrationNestedInput
28823
25563
  processes?: ProcessUncheckedUpdateManyWithoutIntegrationNestedInput
28824
- workflowRuns?: WorkflowRunUncheckedUpdateManyWithoutIntegrationNestedInput
28825
25564
  }
28826
25565
 
28827
25566
  export type UserCreateWithoutProcessesInput = {
@@ -28883,7 +25622,6 @@ export namespace Prisma {
28883
25622
  associations?: AssociationCreateNestedManyWithoutIntegrationInput
28884
25623
  syncs?: SyncCreateNestedManyWithoutIntegrationInput
28885
25624
  mappings?: IntegrationMappingCreateNestedManyWithoutIntegrationInput
28886
- workflowRuns?: WorkflowRunCreateNestedManyWithoutIntegrationInput
28887
25625
  }
28888
25626
 
28889
25627
  export type IntegrationUncheckedCreateWithoutProcessesInput = {
@@ -28903,7 +25641,6 @@ export namespace Prisma {
28903
25641
  associations?: AssociationUncheckedCreateNestedManyWithoutIntegrationInput
28904
25642
  syncs?: SyncUncheckedCreateNestedManyWithoutIntegrationInput
28905
25643
  mappings?: IntegrationMappingUncheckedCreateNestedManyWithoutIntegrationInput
28906
- workflowRuns?: WorkflowRunUncheckedCreateNestedManyWithoutIntegrationInput
28907
25644
  }
28908
25645
 
28909
25646
  export type IntegrationCreateOrConnectWithoutProcessesInput = {
@@ -28984,7 +25721,6 @@ export namespace Prisma {
28984
25721
  associations?: AssociationUpdateManyWithoutIntegrationNestedInput
28985
25722
  syncs?: SyncUpdateManyWithoutIntegrationNestedInput
28986
25723
  mappings?: IntegrationMappingUpdateManyWithoutIntegrationNestedInput
28987
- workflowRuns?: WorkflowRunUpdateManyWithoutIntegrationNestedInput
28988
25724
  }
28989
25725
 
28990
25726
  export type IntegrationUncheckedUpdateWithoutProcessesInput = {
@@ -29003,7 +25739,6 @@ export namespace Prisma {
29003
25739
  associations?: AssociationUncheckedUpdateManyWithoutIntegrationNestedInput
29004
25740
  syncs?: SyncUncheckedUpdateManyWithoutIntegrationNestedInput
29005
25741
  mappings?: IntegrationMappingUncheckedUpdateManyWithoutIntegrationNestedInput
29006
- workflowRuns?: WorkflowRunUncheckedUpdateManyWithoutIntegrationNestedInput
29007
25742
  }
29008
25743
 
29009
25744
  export type IntegrationCreateWithoutSyncsInput = {
@@ -29022,7 +25757,6 @@ export namespace Prisma {
29022
25757
  associations?: AssociationCreateNestedManyWithoutIntegrationInput
29023
25758
  mappings?: IntegrationMappingCreateNestedManyWithoutIntegrationInput
29024
25759
  processes?: ProcessCreateNestedManyWithoutIntegrationInput
29025
- workflowRuns?: WorkflowRunCreateNestedManyWithoutIntegrationInput
29026
25760
  }
29027
25761
 
29028
25762
  export type IntegrationUncheckedCreateWithoutSyncsInput = {
@@ -29042,7 +25776,6 @@ export namespace Prisma {
29042
25776
  associations?: AssociationUncheckedCreateNestedManyWithoutIntegrationInput
29043
25777
  mappings?: IntegrationMappingUncheckedCreateNestedManyWithoutIntegrationInput
29044
25778
  processes?: ProcessUncheckedCreateNestedManyWithoutIntegrationInput
29045
- workflowRuns?: WorkflowRunUncheckedCreateNestedManyWithoutIntegrationInput
29046
25779
  }
29047
25780
 
29048
25781
  export type IntegrationCreateOrConnectWithoutSyncsInput = {
@@ -29136,7 +25869,6 @@ export namespace Prisma {
29136
25869
  associations?: AssociationUpdateManyWithoutIntegrationNestedInput
29137
25870
  mappings?: IntegrationMappingUpdateManyWithoutIntegrationNestedInput
29138
25871
  processes?: ProcessUpdateManyWithoutIntegrationNestedInput
29139
- workflowRuns?: WorkflowRunUpdateManyWithoutIntegrationNestedInput
29140
25872
  }
29141
25873
 
29142
25874
  export type IntegrationUncheckedUpdateWithoutSyncsInput = {
@@ -29155,7 +25887,6 @@ export namespace Prisma {
29155
25887
  associations?: AssociationUncheckedUpdateManyWithoutIntegrationNestedInput
29156
25888
  mappings?: IntegrationMappingUncheckedUpdateManyWithoutIntegrationNestedInput
29157
25889
  processes?: ProcessUncheckedUpdateManyWithoutIntegrationNestedInput
29158
- workflowRuns?: WorkflowRunUncheckedUpdateManyWithoutIntegrationNestedInput
29159
25890
  }
29160
25891
 
29161
25892
  export type EntityUpsertWithWhereUniqueWithoutSyncsInput = {
@@ -29332,7 +26063,6 @@ export namespace Prisma {
29332
26063
  syncs?: SyncCreateNestedManyWithoutIntegrationInput
29333
26064
  mappings?: IntegrationMappingCreateNestedManyWithoutIntegrationInput
29334
26065
  processes?: ProcessCreateNestedManyWithoutIntegrationInput
29335
- workflowRuns?: WorkflowRunCreateNestedManyWithoutIntegrationInput
29336
26066
  }
29337
26067
 
29338
26068
  export type IntegrationUncheckedCreateWithoutAssociationsInput = {
@@ -29352,7 +26082,6 @@ export namespace Prisma {
29352
26082
  syncs?: SyncUncheckedCreateNestedManyWithoutIntegrationInput
29353
26083
  mappings?: IntegrationMappingUncheckedCreateNestedManyWithoutIntegrationInput
29354
26084
  processes?: ProcessUncheckedCreateNestedManyWithoutIntegrationInput
29355
- workflowRuns?: WorkflowRunUncheckedCreateNestedManyWithoutIntegrationInput
29356
26085
  }
29357
26086
 
29358
26087
  export type IntegrationCreateOrConnectWithoutAssociationsInput = {
@@ -29411,7 +26140,6 @@ export namespace Prisma {
29411
26140
  syncs?: SyncUpdateManyWithoutIntegrationNestedInput
29412
26141
  mappings?: IntegrationMappingUpdateManyWithoutIntegrationNestedInput
29413
26142
  processes?: ProcessUpdateManyWithoutIntegrationNestedInput
29414
- workflowRuns?: WorkflowRunUpdateManyWithoutIntegrationNestedInput
29415
26143
  }
29416
26144
 
29417
26145
  export type IntegrationUncheckedUpdateWithoutAssociationsInput = {
@@ -29430,7 +26158,6 @@ export namespace Prisma {
29430
26158
  syncs?: SyncUncheckedUpdateManyWithoutIntegrationNestedInput
29431
26159
  mappings?: IntegrationMappingUncheckedUpdateManyWithoutIntegrationNestedInput
29432
26160
  processes?: ProcessUncheckedUpdateManyWithoutIntegrationNestedInput
29433
- workflowRuns?: WorkflowRunUncheckedUpdateManyWithoutIntegrationNestedInput
29434
26161
  }
29435
26162
 
29436
26163
  export type AssociationObjectUpsertWithWhereUniqueWithoutAssociationInput = {
@@ -29573,98 +26300,6 @@ export namespace Prisma {
29573
26300
  dataIdentifiers?: DataIdentifierUncheckedUpdateManyWithoutEntityNestedInput
29574
26301
  }
29575
26302
 
29576
- export type IntegrationCreateWithoutWorkflowRunsInput = {
29577
- id?: string
29578
- status?: $Enums.IntegrationStatus
29579
- config?: InputJsonValue | null
29580
- version?: string | null
29581
- errors?: InputJsonValue
29582
- warnings?: InputJsonValue
29583
- info?: InputJsonValue
29584
- logs?: InputJsonValue
29585
- createdAt?: Date | string
29586
- updatedAt?: Date | string
29587
- user?: UserCreateNestedOneWithoutIntegrationsInput
29588
- entities?: EntityCreateNestedManyWithoutIntegrationsInput
29589
- associations?: AssociationCreateNestedManyWithoutIntegrationInput
29590
- syncs?: SyncCreateNestedManyWithoutIntegrationInput
29591
- mappings?: IntegrationMappingCreateNestedManyWithoutIntegrationInput
29592
- processes?: ProcessCreateNestedManyWithoutIntegrationInput
29593
- }
29594
-
29595
- export type IntegrationUncheckedCreateWithoutWorkflowRunsInput = {
29596
- id?: string
29597
- userId?: string | null
29598
- status?: $Enums.IntegrationStatus
29599
- config?: InputJsonValue | null
29600
- version?: string | null
29601
- entityIds?: IntegrationCreateentityIdsInput | string[]
29602
- errors?: InputJsonValue
29603
- warnings?: InputJsonValue
29604
- info?: InputJsonValue
29605
- logs?: InputJsonValue
29606
- createdAt?: Date | string
29607
- updatedAt?: Date | string
29608
- entities?: EntityUncheckedCreateNestedManyWithoutIntegrationsInput
29609
- associations?: AssociationUncheckedCreateNestedManyWithoutIntegrationInput
29610
- syncs?: SyncUncheckedCreateNestedManyWithoutIntegrationInput
29611
- mappings?: IntegrationMappingUncheckedCreateNestedManyWithoutIntegrationInput
29612
- processes?: ProcessUncheckedCreateNestedManyWithoutIntegrationInput
29613
- }
29614
-
29615
- export type IntegrationCreateOrConnectWithoutWorkflowRunsInput = {
29616
- where: IntegrationWhereUniqueInput
29617
- create: XOR<IntegrationCreateWithoutWorkflowRunsInput, IntegrationUncheckedCreateWithoutWorkflowRunsInput>
29618
- }
29619
-
29620
- export type IntegrationUpsertWithoutWorkflowRunsInput = {
29621
- update: XOR<IntegrationUpdateWithoutWorkflowRunsInput, IntegrationUncheckedUpdateWithoutWorkflowRunsInput>
29622
- create: XOR<IntegrationCreateWithoutWorkflowRunsInput, IntegrationUncheckedCreateWithoutWorkflowRunsInput>
29623
- where?: IntegrationWhereInput
29624
- }
29625
-
29626
- export type IntegrationUpdateToOneWithWhereWithoutWorkflowRunsInput = {
29627
- where?: IntegrationWhereInput
29628
- data: XOR<IntegrationUpdateWithoutWorkflowRunsInput, IntegrationUncheckedUpdateWithoutWorkflowRunsInput>
29629
- }
29630
-
29631
- export type IntegrationUpdateWithoutWorkflowRunsInput = {
29632
- status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
29633
- config?: InputJsonValue | InputJsonValue | null
29634
- version?: NullableStringFieldUpdateOperationsInput | string | null
29635
- errors?: InputJsonValue | InputJsonValue
29636
- warnings?: InputJsonValue | InputJsonValue
29637
- info?: InputJsonValue | InputJsonValue
29638
- logs?: InputJsonValue | InputJsonValue
29639
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
29640
- updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
29641
- user?: UserUpdateOneWithoutIntegrationsNestedInput
29642
- entities?: EntityUpdateManyWithoutIntegrationsNestedInput
29643
- associations?: AssociationUpdateManyWithoutIntegrationNestedInput
29644
- syncs?: SyncUpdateManyWithoutIntegrationNestedInput
29645
- mappings?: IntegrationMappingUpdateManyWithoutIntegrationNestedInput
29646
- processes?: ProcessUpdateManyWithoutIntegrationNestedInput
29647
- }
29648
-
29649
- export type IntegrationUncheckedUpdateWithoutWorkflowRunsInput = {
29650
- userId?: NullableStringFieldUpdateOperationsInput | string | null
29651
- status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
29652
- config?: InputJsonValue | InputJsonValue | null
29653
- version?: NullableStringFieldUpdateOperationsInput | string | null
29654
- entityIds?: IntegrationUpdateentityIdsInput | string[]
29655
- errors?: InputJsonValue | InputJsonValue
29656
- warnings?: InputJsonValue | InputJsonValue
29657
- info?: InputJsonValue | InputJsonValue
29658
- logs?: InputJsonValue | InputJsonValue
29659
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
29660
- updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
29661
- entities?: EntityUncheckedUpdateManyWithoutIntegrationsNestedInput
29662
- associations?: AssociationUncheckedUpdateManyWithoutIntegrationNestedInput
29663
- syncs?: SyncUncheckedUpdateManyWithoutIntegrationNestedInput
29664
- mappings?: IntegrationMappingUncheckedUpdateManyWithoutIntegrationNestedInput
29665
- processes?: ProcessUncheckedUpdateManyWithoutIntegrationNestedInput
29666
- }
29667
-
29668
26303
  export type UserCreateManyOrganizationInput = {
29669
26304
  id?: string
29670
26305
  type: $Enums.UserType
@@ -29884,7 +26519,6 @@ export namespace Prisma {
29884
26519
  syncs?: SyncUpdateManyWithoutIntegrationNestedInput
29885
26520
  mappings?: IntegrationMappingUpdateManyWithoutIntegrationNestedInput
29886
26521
  processes?: ProcessUpdateManyWithoutIntegrationNestedInput
29887
- workflowRuns?: WorkflowRunUpdateManyWithoutIntegrationNestedInput
29888
26522
  }
29889
26523
 
29890
26524
  export type IntegrationUncheckedUpdateWithoutUserInput = {
@@ -29903,7 +26537,6 @@ export namespace Prisma {
29903
26537
  syncs?: SyncUncheckedUpdateManyWithoutIntegrationNestedInput
29904
26538
  mappings?: IntegrationMappingUncheckedUpdateManyWithoutIntegrationNestedInput
29905
26539
  processes?: ProcessUncheckedUpdateManyWithoutIntegrationNestedInput
29906
- workflowRuns?: WorkflowRunUncheckedUpdateManyWithoutIntegrationNestedInput
29907
26540
  }
29908
26541
 
29909
26542
  export type IntegrationUncheckedUpdateManyWithoutUserInput = {
@@ -30043,7 +26676,6 @@ export namespace Prisma {
30043
26676
  syncs?: SyncUpdateManyWithoutIntegrationNestedInput
30044
26677
  mappings?: IntegrationMappingUpdateManyWithoutIntegrationNestedInput
30045
26678
  processes?: ProcessUpdateManyWithoutIntegrationNestedInput
30046
- workflowRuns?: WorkflowRunUpdateManyWithoutIntegrationNestedInput
30047
26679
  }
30048
26680
 
30049
26681
  export type IntegrationUncheckedUpdateWithoutEntitiesInput = {
@@ -30062,7 +26694,6 @@ export namespace Prisma {
30062
26694
  syncs?: SyncUncheckedUpdateManyWithoutIntegrationNestedInput
30063
26695
  mappings?: IntegrationMappingUncheckedUpdateManyWithoutIntegrationNestedInput
30064
26696
  processes?: ProcessUncheckedUpdateManyWithoutIntegrationNestedInput
30065
- workflowRuns?: WorkflowRunUncheckedUpdateManyWithoutIntegrationNestedInput
30066
26697
  }
30067
26698
 
30068
26699
  export type IntegrationUncheckedUpdateManyWithoutEntitiesInput = {
@@ -30176,26 +26807,6 @@ export namespace Prisma {
30176
26807
  updatedAt?: Date | string
30177
26808
  }
30178
26809
 
30179
- export type WorkflowRunCreateManyIntegrationInput = {
30180
- id?: string
30181
- definitionId: string
30182
- definitionVersion: string
30183
- workflowId: string
30184
- triggerType: string
30185
- eventId?: string | null
30186
- status: string
30187
- reason?: string | null
30188
- error?: string | null
30189
- retryable?: boolean
30190
- trace?: InputJsonValue
30191
- runKey?: string | null
30192
- waitingFor?: InputJsonValue | null
30193
- resumeAt?: Date | string | null
30194
- startedAt: Date | string
30195
- endedAt?: Date | string | null
30196
- createdAt?: Date | string
30197
- }
30198
-
30199
26810
  export type EntityUpdateWithoutIntegrationsInput = {
30200
26811
  name?: NullableStringFieldUpdateOperationsInput | string | null
30201
26812
  moduleName?: NullableStringFieldUpdateOperationsInput | string | null
@@ -30340,63 +26951,6 @@ export namespace Prisma {
30340
26951
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
30341
26952
  }
30342
26953
 
30343
- export type WorkflowRunUpdateWithoutIntegrationInput = {
30344
- definitionId?: StringFieldUpdateOperationsInput | string
30345
- definitionVersion?: StringFieldUpdateOperationsInput | string
30346
- workflowId?: StringFieldUpdateOperationsInput | string
30347
- triggerType?: StringFieldUpdateOperationsInput | string
30348
- eventId?: NullableStringFieldUpdateOperationsInput | string | null
30349
- status?: StringFieldUpdateOperationsInput | string
30350
- reason?: NullableStringFieldUpdateOperationsInput | string | null
30351
- error?: NullableStringFieldUpdateOperationsInput | string | null
30352
- retryable?: BoolFieldUpdateOperationsInput | boolean
30353
- trace?: InputJsonValue | InputJsonValue
30354
- runKey?: NullableStringFieldUpdateOperationsInput | string | null
30355
- waitingFor?: InputJsonValue | InputJsonValue | null
30356
- resumeAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
30357
- startedAt?: DateTimeFieldUpdateOperationsInput | Date | string
30358
- endedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
30359
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
30360
- }
30361
-
30362
- export type WorkflowRunUncheckedUpdateWithoutIntegrationInput = {
30363
- definitionId?: StringFieldUpdateOperationsInput | string
30364
- definitionVersion?: StringFieldUpdateOperationsInput | string
30365
- workflowId?: StringFieldUpdateOperationsInput | string
30366
- triggerType?: StringFieldUpdateOperationsInput | string
30367
- eventId?: NullableStringFieldUpdateOperationsInput | string | null
30368
- status?: StringFieldUpdateOperationsInput | string
30369
- reason?: NullableStringFieldUpdateOperationsInput | string | null
30370
- error?: NullableStringFieldUpdateOperationsInput | string | null
30371
- retryable?: BoolFieldUpdateOperationsInput | boolean
30372
- trace?: InputJsonValue | InputJsonValue
30373
- runKey?: NullableStringFieldUpdateOperationsInput | string | null
30374
- waitingFor?: InputJsonValue | InputJsonValue | null
30375
- resumeAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
30376
- startedAt?: DateTimeFieldUpdateOperationsInput | Date | string
30377
- endedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
30378
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
30379
- }
30380
-
30381
- export type WorkflowRunUncheckedUpdateManyWithoutIntegrationInput = {
30382
- definitionId?: StringFieldUpdateOperationsInput | string
30383
- definitionVersion?: StringFieldUpdateOperationsInput | string
30384
- workflowId?: StringFieldUpdateOperationsInput | string
30385
- triggerType?: StringFieldUpdateOperationsInput | string
30386
- eventId?: NullableStringFieldUpdateOperationsInput | string | null
30387
- status?: StringFieldUpdateOperationsInput | string
30388
- reason?: NullableStringFieldUpdateOperationsInput | string | null
30389
- error?: NullableStringFieldUpdateOperationsInput | string | null
30390
- retryable?: BoolFieldUpdateOperationsInput | boolean
30391
- trace?: InputJsonValue | InputJsonValue
30392
- runKey?: NullableStringFieldUpdateOperationsInput | string | null
30393
- waitingFor?: InputJsonValue | InputJsonValue | null
30394
- resumeAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
30395
- startedAt?: DateTimeFieldUpdateOperationsInput | Date | string
30396
- endedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
30397
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
30398
- }
30399
-
30400
26954
  export type DataIdentifierCreateManySyncInput = {
30401
26955
  id?: string
30402
26956
  entityId: string