@inversifyjs/http-insights 0.0.0-stage → 0.2.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 (273) hide show
  1. package/.prettierignore +1 -0
  2. package/LICENSE +21 -0
  3. package/lib/foundation/db/adapter/inversify/modules/DbContainerModule.d.ts +6 -0
  4. package/lib/foundation/db/adapter/inversify/modules/DbContainerModule.d.ts.map +1 -0
  5. package/lib/foundation/db/adapter/inversify/modules/DbContainerModule.js +28 -0
  6. package/lib/foundation/db/adapter/inversify/modules/DbContainerModule.js.map +1 -0
  7. package/lib/foundation/db/models/databaseUrl.d.ts +2 -0
  8. package/lib/foundation/db/models/databaseUrl.d.ts.map +1 -0
  9. package/lib/foundation/db/models/databaseUrl.js +2 -0
  10. package/lib/foundation/db/models/databaseUrl.js.map +1 -0
  11. package/lib/foundation/inversify/pipes/standardSchemaValidationPipe.d.ts +3 -0
  12. package/lib/foundation/inversify/pipes/standardSchemaValidationPipe.d.ts.map +1 -0
  13. package/lib/foundation/inversify/pipes/standardSchemaValidationPipe.js +3 -0
  14. package/lib/foundation/inversify/pipes/standardSchemaValidationPipe.js.map +1 -0
  15. package/lib/foundation/modules/Builder.d.ts +4 -0
  16. package/lib/foundation/modules/Builder.d.ts.map +1 -0
  17. package/lib/foundation/modules/Builder.js +2 -0
  18. package/lib/foundation/modules/Builder.js.map +1 -0
  19. package/lib/generated/prisma/browser.d.ts +55 -0
  20. package/lib/generated/prisma/browser.d.ts.map +1 -0
  21. package/lib/generated/prisma/browser.js +18 -0
  22. package/lib/generated/prisma/browser.js.map +1 -0
  23. package/lib/generated/prisma/client.d.ts +74 -0
  24. package/lib/generated/prisma/client.d.ts.map +1 -0
  25. package/lib/generated/prisma/client.js +35 -0
  26. package/lib/generated/prisma/client.js.map +1 -0
  27. package/lib/generated/prisma/commonInputTypes.d.ts +361 -0
  28. package/lib/generated/prisma/commonInputTypes.d.ts.map +1 -0
  29. package/lib/generated/prisma/commonInputTypes.js +11 -0
  30. package/lib/generated/prisma/commonInputTypes.js.map +1 -0
  31. package/lib/generated/prisma/enums.d.ts +2 -0
  32. package/lib/generated/prisma/enums.d.ts.map +1 -0
  33. package/lib/generated/prisma/enums.js +11 -0
  34. package/lib/generated/prisma/enums.js.map +1 -0
  35. package/lib/generated/prisma/internal/class.d.ts +232 -0
  36. package/lib/generated/prisma/internal/class.d.ts.map +1 -0
  37. package/lib/generated/prisma/internal/class.js +52 -0
  38. package/lib/generated/prisma/internal/class.js.map +1 -0
  39. package/lib/generated/prisma/internal/prismaNamespace.d.ts +1398 -0
  40. package/lib/generated/prisma/internal/prismaNamespace.d.ts.map +1 -0
  41. package/lib/generated/prisma/internal/prismaNamespace.js +212 -0
  42. package/lib/generated/prisma/internal/prismaNamespace.js.map +1 -0
  43. package/lib/generated/prisma/internal/prismaNamespaceBrowser.d.ts +185 -0
  44. package/lib/generated/prisma/internal/prismaNamespaceBrowser.d.ts.map +1 -0
  45. package/lib/generated/prisma/internal/prismaNamespaceBrowser.js +183 -0
  46. package/lib/generated/prisma/internal/prismaNamespaceBrowser.js.map +1 -0
  47. package/lib/generated/prisma/models/Call.d.ts +2045 -0
  48. package/lib/generated/prisma/models/Call.d.ts.map +1 -0
  49. package/lib/generated/prisma/models/Call.js +2 -0
  50. package/lib/generated/prisma/models/Call.js.map +1 -0
  51. package/lib/generated/prisma/models/Controller.d.ts +1252 -0
  52. package/lib/generated/prisma/models/Controller.d.ts.map +1 -0
  53. package/lib/generated/prisma/models/Controller.js +2 -0
  54. package/lib/generated/prisma/models/Controller.js.map +1 -0
  55. package/lib/generated/prisma/models/Guard.d.ts +1310 -0
  56. package/lib/generated/prisma/models/Guard.d.ts.map +1 -0
  57. package/lib/generated/prisma/models/Guard.js +2 -0
  58. package/lib/generated/prisma/models/Guard.js.map +1 -0
  59. package/lib/generated/prisma/models/HttpError.d.ts +1275 -0
  60. package/lib/generated/prisma/models/HttpError.d.ts.map +1 -0
  61. package/lib/generated/prisma/models/HttpError.js +2 -0
  62. package/lib/generated/prisma/models/HttpError.js.map +1 -0
  63. package/lib/generated/prisma/models/Interceptor.d.ts +1272 -0
  64. package/lib/generated/prisma/models/Interceptor.d.ts.map +1 -0
  65. package/lib/generated/prisma/models/Interceptor.js +2 -0
  66. package/lib/generated/prisma/models/Interceptor.js.map +1 -0
  67. package/lib/generated/prisma/models/Middleware.d.ts +1307 -0
  68. package/lib/generated/prisma/models/Middleware.d.ts.map +1 -0
  69. package/lib/generated/prisma/models/Middleware.js +2 -0
  70. package/lib/generated/prisma/models/Middleware.js.map +1 -0
  71. package/lib/generated/prisma/models/NativeMiddleware.d.ts +1272 -0
  72. package/lib/generated/prisma/models/NativeMiddleware.d.ts.map +1 -0
  73. package/lib/generated/prisma/models/NativeMiddleware.js +2 -0
  74. package/lib/generated/prisma/models/NativeMiddleware.js.map +1 -0
  75. package/lib/generated/prisma/models/Pipe.d.ts +1387 -0
  76. package/lib/generated/prisma/models/Pipe.d.ts.map +1 -0
  77. package/lib/generated/prisma/models/Pipe.js +2 -0
  78. package/lib/generated/prisma/models/Pipe.js.map +1 -0
  79. package/lib/generated/prisma/models/Request.d.ts +1220 -0
  80. package/lib/generated/prisma/models/Request.d.ts.map +1 -0
  81. package/lib/generated/prisma/models/Request.js +2 -0
  82. package/lib/generated/prisma/models/Request.js.map +1 -0
  83. package/lib/generated/prisma/models/Response.d.ts +1261 -0
  84. package/lib/generated/prisma/models/Response.d.ts.map +1 -0
  85. package/lib/generated/prisma/models/Response.js +2 -0
  86. package/lib/generated/prisma/models/Response.js.map +1 -0
  87. package/lib/generated/prisma/models.d.ts +12 -0
  88. package/lib/generated/prisma/models.d.ts.map +1 -0
  89. package/lib/generated/prisma/models.js +2 -0
  90. package/lib/generated/prisma/models.js.map +1 -0
  91. package/lib/generated/prisma-migrate/index.d.ts +6 -0
  92. package/lib/generated/prisma-migrate/index.d.ts.map +1 -0
  93. package/lib/generated/prisma-migrate/index.js +27 -0
  94. package/lib/generated/prisma-migrate/index.js.map +1 -0
  95. package/lib/index.d.ts +2 -0
  96. package/lib/index.d.ts.map +1 -0
  97. package/lib/index.js +2 -0
  98. package/lib/index.js.map +1 -0
  99. package/lib/insights/adapter/inversify/builders/CallsFindQueryFromCallIdBuilder.d.ts +6 -0
  100. package/lib/insights/adapter/inversify/builders/CallsFindQueryFromCallIdBuilder.d.ts.map +1 -0
  101. package/lib/insights/adapter/inversify/builders/CallsFindQueryFromCallIdBuilder.js +32 -0
  102. package/lib/insights/adapter/inversify/builders/CallsFindQueryFromCallIdBuilder.js.map +1 -0
  103. package/lib/insights/adapter/inversify/calculations/buildHttpInsightsUiFileResponse.d.ts +3 -0
  104. package/lib/insights/adapter/inversify/calculations/buildHttpInsightsUiFileResponse.d.ts.map +1 -0
  105. package/lib/insights/adapter/inversify/calculations/buildHttpInsightsUiFileResponse.js +19 -0
  106. package/lib/insights/adapter/inversify/calculations/buildHttpInsightsUiFileResponse.js.map +1 -0
  107. package/lib/insights/adapter/inversify/controllers/CallsController.d.ts +14 -0
  108. package/lib/insights/adapter/inversify/controllers/CallsController.d.ts.map +1 -0
  109. package/lib/insights/adapter/inversify/controllers/CallsController.js +72 -0
  110. package/lib/insights/adapter/inversify/controllers/CallsController.js.map +1 -0
  111. package/lib/insights/adapter/inversify/controllers/InsightsUiController.d.ts +7 -0
  112. package/lib/insights/adapter/inversify/controllers/InsightsUiController.d.ts.map +1 -0
  113. package/lib/insights/adapter/inversify/controllers/InsightsUiController.js +54 -0
  114. package/lib/insights/adapter/inversify/controllers/InsightsUiController.js.map +1 -0
  115. package/lib/insights/adapter/inversify/modules/InsightsContainerModule.d.ts +5 -0
  116. package/lib/insights/adapter/inversify/modules/InsightsContainerModule.d.ts.map +1 -0
  117. package/lib/insights/adapter/inversify/modules/InsightsContainerModule.js +65 -0
  118. package/lib/insights/adapter/inversify/modules/InsightsContainerModule.js.map +1 -0
  119. package/lib/insights/adapter/inversify/services/HttpInsightsProvider.d.ts +9 -0
  120. package/lib/insights/adapter/inversify/services/HttpInsightsProvider.d.ts.map +1 -0
  121. package/lib/insights/adapter/inversify/services/HttpInsightsProvider.js +27 -0
  122. package/lib/insights/adapter/inversify/services/HttpInsightsProvider.js.map +1 -0
  123. package/lib/insights/adapter/prisma/adapters/PrismaInsightsPersistenceAdapter.d.ts +17 -0
  124. package/lib/insights/adapter/prisma/adapters/PrismaInsightsPersistenceAdapter.d.ts.map +1 -0
  125. package/lib/insights/adapter/prisma/adapters/PrismaInsightsPersistenceAdapter.js +416 -0
  126. package/lib/insights/adapter/prisma/adapters/PrismaInsightsPersistenceAdapter.js.map +1 -0
  127. package/lib/insights/adapter/prisma/builders/CallFromPrismaCallBuilder.d.ts +58 -0
  128. package/lib/insights/adapter/prisma/builders/CallFromPrismaCallBuilder.d.ts.map +1 -0
  129. package/lib/insights/adapter/prisma/builders/CallFromPrismaCallBuilder.js +124 -0
  130. package/lib/insights/adapter/prisma/builders/CallFromPrismaCallBuilder.js.map +1 -0
  131. package/lib/insights/adapter/prisma/builders/ControllerFromPrismaControllerBuilder.d.ts +7 -0
  132. package/lib/insights/adapter/prisma/builders/ControllerFromPrismaControllerBuilder.d.ts.map +1 -0
  133. package/lib/insights/adapter/prisma/builders/ControllerFromPrismaControllerBuilder.js +24 -0
  134. package/lib/insights/adapter/prisma/builders/ControllerFromPrismaControllerBuilder.js.map +1 -0
  135. package/lib/insights/adapter/prisma/builders/GuardFromPrismaGuardBuilder.d.ts +7 -0
  136. package/lib/insights/adapter/prisma/builders/GuardFromPrismaGuardBuilder.d.ts.map +1 -0
  137. package/lib/insights/adapter/prisma/builders/GuardFromPrismaGuardBuilder.js +24 -0
  138. package/lib/insights/adapter/prisma/builders/GuardFromPrismaGuardBuilder.js.map +1 -0
  139. package/lib/insights/adapter/prisma/builders/HttpErrorFromPrismaHttpErrorBuilder.d.ts +7 -0
  140. package/lib/insights/adapter/prisma/builders/HttpErrorFromPrismaHttpErrorBuilder.d.ts.map +1 -0
  141. package/lib/insights/adapter/prisma/builders/HttpErrorFromPrismaHttpErrorBuilder.js +23 -0
  142. package/lib/insights/adapter/prisma/builders/HttpErrorFromPrismaHttpErrorBuilder.js.map +1 -0
  143. package/lib/insights/adapter/prisma/builders/InterceptorFromPrismaInterceptorBuilder.d.ts +7 -0
  144. package/lib/insights/adapter/prisma/builders/InterceptorFromPrismaInterceptorBuilder.d.ts.map +1 -0
  145. package/lib/insights/adapter/prisma/builders/InterceptorFromPrismaInterceptorBuilder.js +23 -0
  146. package/lib/insights/adapter/prisma/builders/InterceptorFromPrismaInterceptorBuilder.js.map +1 -0
  147. package/lib/insights/adapter/prisma/builders/MiddlewareFromPrismaMiddlewareBuilder.d.ts +8 -0
  148. package/lib/insights/adapter/prisma/builders/MiddlewareFromPrismaMiddlewareBuilder.d.ts.map +1 -0
  149. package/lib/insights/adapter/prisma/builders/MiddlewareFromPrismaMiddlewareBuilder.js +35 -0
  150. package/lib/insights/adapter/prisma/builders/MiddlewareFromPrismaMiddlewareBuilder.js.map +1 -0
  151. package/lib/insights/adapter/prisma/builders/NativeMiddlewareFromPrismaNativeMiddlewareBuilder.d.ts +7 -0
  152. package/lib/insights/adapter/prisma/builders/NativeMiddlewareFromPrismaNativeMiddlewareBuilder.d.ts.map +1 -0
  153. package/lib/insights/adapter/prisma/builders/NativeMiddlewareFromPrismaNativeMiddlewareBuilder.js +23 -0
  154. package/lib/insights/adapter/prisma/builders/NativeMiddlewareFromPrismaNativeMiddlewareBuilder.js.map +1 -0
  155. package/lib/insights/adapter/prisma/builders/PipeFromPrismaPipeBuilder.d.ts +7 -0
  156. package/lib/insights/adapter/prisma/builders/PipeFromPrismaPipeBuilder.d.ts.map +1 -0
  157. package/lib/insights/adapter/prisma/builders/PipeFromPrismaPipeBuilder.js +25 -0
  158. package/lib/insights/adapter/prisma/builders/PipeFromPrismaPipeBuilder.js.map +1 -0
  159. package/lib/insights/adapter/prisma/builders/RequestFromPrismaRequestBuilder.d.ts +7 -0
  160. package/lib/insights/adapter/prisma/builders/RequestFromPrismaRequestBuilder.d.ts.map +1 -0
  161. package/lib/insights/adapter/prisma/builders/RequestFromPrismaRequestBuilder.js +23 -0
  162. package/lib/insights/adapter/prisma/builders/RequestFromPrismaRequestBuilder.js.map +1 -0
  163. package/lib/insights/adapter/prisma/builders/ResponseFromPrismaResponseBuilder.d.ts +7 -0
  164. package/lib/insights/adapter/prisma/builders/ResponseFromPrismaResponseBuilder.d.ts.map +1 -0
  165. package/lib/insights/adapter/prisma/builders/ResponseFromPrismaResponseBuilder.js +23 -0
  166. package/lib/insights/adapter/prisma/builders/ResponseFromPrismaResponseBuilder.js.map +1 -0
  167. package/lib/insights/adapter/zod/builders/CallsFindQueryFromGetInsightsV1QueryBuilder.d.ts +7 -0
  168. package/lib/insights/adapter/zod/builders/CallsFindQueryFromGetInsightsV1QueryBuilder.d.ts.map +1 -0
  169. package/lib/insights/adapter/zod/builders/CallsFindQueryFromGetInsightsV1QueryBuilder.js +33 -0
  170. package/lib/insights/adapter/zod/builders/CallsFindQueryFromGetInsightsV1QueryBuilder.js.map +1 -0
  171. package/lib/insights/adapter/zod/schemas/GetCallsV1Query.d.ts +14 -0
  172. package/lib/insights/adapter/zod/schemas/GetCallsV1Query.d.ts.map +1 -0
  173. package/lib/insights/adapter/zod/schemas/GetCallsV1Query.js +21 -0
  174. package/lib/insights/adapter/zod/schemas/GetCallsV1Query.js.map +1 -0
  175. package/lib/insights/application/models/CallsFilterQuery.d.ts +20 -0
  176. package/lib/insights/application/models/CallsFilterQuery.d.ts.map +1 -0
  177. package/lib/insights/application/models/CallsFilterQuery.js +2 -0
  178. package/lib/insights/application/models/CallsFilterQuery.js.map +1 -0
  179. package/lib/insights/application/models/CallsFindQuery.d.ts +14 -0
  180. package/lib/insights/application/models/CallsFindQuery.d.ts.map +1 -0
  181. package/lib/insights/application/models/CallsFindQuery.js +2 -0
  182. package/lib/insights/application/models/CallsFindQuery.js.map +1 -0
  183. package/lib/insights/application/models/CallsFindQueryResult.d.ts +6 -0
  184. package/lib/insights/application/models/CallsFindQueryResult.d.ts.map +1 -0
  185. package/lib/insights/application/models/CallsFindQueryResult.js +2 -0
  186. package/lib/insights/application/models/CallsFindQueryResult.js.map +1 -0
  187. package/lib/insights/application/models/CallsSetQuery.d.ts +5 -0
  188. package/lib/insights/application/models/CallsSetQuery.d.ts.map +1 -0
  189. package/lib/insights/application/models/CallsSetQuery.js +2 -0
  190. package/lib/insights/application/models/CallsSetQuery.js.map +1 -0
  191. package/lib/insights/application/models/ExecuteUpdateCommand.d.ts +7 -0
  192. package/lib/insights/application/models/ExecuteUpdateCommand.d.ts.map +1 -0
  193. package/lib/insights/application/models/ExecuteUpdateCommand.js +2 -0
  194. package/lib/insights/application/models/ExecuteUpdateCommand.js.map +1 -0
  195. package/lib/insights/application/models/OngoingCallsFindQueryResult.d.ts +6 -0
  196. package/lib/insights/application/models/OngoingCallsFindQueryResult.d.ts.map +1 -0
  197. package/lib/insights/application/models/OngoingCallsFindQueryResult.js +2 -0
  198. package/lib/insights/application/models/OngoingCallsFindQueryResult.js.map +1 -0
  199. package/lib/insights/application/ports/CallManagementInputPort.d.ts +15 -0
  200. package/lib/insights/application/ports/CallManagementInputPort.d.ts.map +1 -0
  201. package/lib/insights/application/ports/CallManagementInputPort.js +47 -0
  202. package/lib/insights/application/ports/CallManagementInputPort.js.map +1 -0
  203. package/lib/insights/application/ports/CallPersistenceOutputPort.d.ts +13 -0
  204. package/lib/insights/application/ports/CallPersistenceOutputPort.d.ts.map +1 -0
  205. package/lib/insights/application/ports/CallPersistenceOutputPort.js +2 -0
  206. package/lib/insights/application/ports/CallPersistenceOutputPort.js.map +1 -0
  207. package/lib/insights/domain/models/BaseCall.d.ts +20 -0
  208. package/lib/insights/domain/models/BaseCall.d.ts.map +1 -0
  209. package/lib/insights/domain/models/BaseCall.js +2 -0
  210. package/lib/insights/domain/models/BaseCall.js.map +1 -0
  211. package/lib/insights/domain/models/Call.d.ts +6 -0
  212. package/lib/insights/domain/models/Call.d.ts.map +1 -0
  213. package/lib/insights/domain/models/Call.js +2 -0
  214. package/lib/insights/domain/models/Call.js.map +1 -0
  215. package/lib/insights/domain/models/Controller.d.ts +9 -0
  216. package/lib/insights/domain/models/Controller.d.ts.map +1 -0
  217. package/lib/insights/domain/models/Controller.js +2 -0
  218. package/lib/insights/domain/models/Controller.js.map +1 -0
  219. package/lib/insights/domain/models/Guard.d.ts +9 -0
  220. package/lib/insights/domain/models/Guard.d.ts.map +1 -0
  221. package/lib/insights/domain/models/Guard.js +2 -0
  222. package/lib/insights/domain/models/Guard.js.map +1 -0
  223. package/lib/insights/domain/models/HttpError.d.ts +8 -0
  224. package/lib/insights/domain/models/HttpError.d.ts.map +1 -0
  225. package/lib/insights/domain/models/HttpError.js +2 -0
  226. package/lib/insights/domain/models/HttpError.js.map +1 -0
  227. package/lib/insights/domain/models/Interceptor.d.ts +8 -0
  228. package/lib/insights/domain/models/Interceptor.d.ts.map +1 -0
  229. package/lib/insights/domain/models/Interceptor.js +2 -0
  230. package/lib/insights/domain/models/Interceptor.js.map +1 -0
  231. package/lib/insights/domain/models/Middleware.d.ts +10 -0
  232. package/lib/insights/domain/models/Middleware.d.ts.map +1 -0
  233. package/lib/insights/domain/models/Middleware.js +2 -0
  234. package/lib/insights/domain/models/Middleware.js.map +1 -0
  235. package/lib/insights/domain/models/NativeMiddleware.d.ts +8 -0
  236. package/lib/insights/domain/models/NativeMiddleware.d.ts.map +1 -0
  237. package/lib/insights/domain/models/NativeMiddleware.js +2 -0
  238. package/lib/insights/domain/models/NativeMiddleware.js.map +1 -0
  239. package/lib/insights/domain/models/OngoingCall.d.ts +3 -0
  240. package/lib/insights/domain/models/OngoingCall.d.ts.map +1 -0
  241. package/lib/insights/domain/models/OngoingCall.js +2 -0
  242. package/lib/insights/domain/models/OngoingCall.js.map +1 -0
  243. package/lib/insights/domain/models/Pipe.d.ts +10 -0
  244. package/lib/insights/domain/models/Pipe.d.ts.map +1 -0
  245. package/lib/insights/domain/models/Pipe.js +2 -0
  246. package/lib/insights/domain/models/Pipe.js.map +1 -0
  247. package/lib/insights/domain/models/Request.d.ts +8 -0
  248. package/lib/insights/domain/models/Request.d.ts.map +1 -0
  249. package/lib/insights/domain/models/Request.js +2 -0
  250. package/lib/insights/domain/models/Request.js.map +1 -0
  251. package/lib/insights/domain/models/Response.d.ts +8 -0
  252. package/lib/insights/domain/models/Response.d.ts.map +1 -0
  253. package/lib/insights/domain/models/Response.js +2 -0
  254. package/lib/insights/domain/models/Response.js.map +1 -0
  255. package/lib/instrumentation/adapter/inversify/modules/InstrumentationContainerModule.d.ts +5 -0
  256. package/lib/instrumentation/adapter/inversify/modules/InstrumentationContainerModule.d.ts.map +1 -0
  257. package/lib/instrumentation/adapter/inversify/modules/InstrumentationContainerModule.js +10 -0
  258. package/lib/instrumentation/adapter/inversify/modules/InstrumentationContainerModule.js.map +1 -0
  259. package/lib/instrumentation/adapter/inversify/services/HttpInsightsEventSink.d.ts +11 -0
  260. package/lib/instrumentation/adapter/inversify/services/HttpInsightsEventSink.d.ts.map +1 -0
  261. package/lib/instrumentation/adapter/inversify/services/HttpInsightsEventSink.js +423 -0
  262. package/lib/instrumentation/adapter/inversify/services/HttpInsightsEventSink.js.map +1 -0
  263. package/lib/scripts/generatePrismaMigrate.d.ts +2 -0
  264. package/lib/scripts/generatePrismaMigrate.d.ts.map +1 -0
  265. package/lib/scripts/generatePrismaMigrate.js +63 -0
  266. package/lib/scripts/generatePrismaMigrate.js.map +1 -0
  267. package/package.json +83 -3
  268. package/prisma/migrations/20261018163227_init/migration.sql +164 -0
  269. package/prisma/migrations/20261022004000_rename_execution_to_call/migration.sql +161 -0
  270. package/prisma/migrations/migration_lock.toml +3 -0
  271. package/prisma/schema.prisma +157 -0
  272. package/turbo.json +87 -0
  273. package/README.md +0 -3
@@ -0,0 +1,1272 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "../internal/prismaNamespace.js";
3
+ /**
4
+ * Model Interceptor
5
+ *
6
+ */
7
+ export type InterceptorModel = runtime.Types.Result.DefaultSelection<Prisma.$InterceptorPayload>;
8
+ export type AggregateInterceptor = {
9
+ _count: InterceptorCountAggregateOutputType | null;
10
+ _min: InterceptorMinAggregateOutputType | null;
11
+ _max: InterceptorMaxAggregateOutputType | null;
12
+ };
13
+ export type InterceptorMinAggregateOutputType = {
14
+ id: string | null;
15
+ interceptor: string | null;
16
+ started_at: Date | null;
17
+ ended_at: Date | null;
18
+ call_id: string | null;
19
+ created_at: Date | null;
20
+ updated_at: Date | null;
21
+ };
22
+ export type InterceptorMaxAggregateOutputType = {
23
+ id: string | null;
24
+ interceptor: string | null;
25
+ started_at: Date | null;
26
+ ended_at: Date | null;
27
+ call_id: string | null;
28
+ created_at: Date | null;
29
+ updated_at: Date | null;
30
+ };
31
+ export type InterceptorCountAggregateOutputType = {
32
+ id: number;
33
+ interceptor: number;
34
+ error: number;
35
+ started_at: number;
36
+ ended_at: number;
37
+ call_id: number;
38
+ created_at: number;
39
+ updated_at: number;
40
+ _all: number;
41
+ };
42
+ export type InterceptorMinAggregateInputType = {
43
+ id?: true;
44
+ interceptor?: true;
45
+ started_at?: true;
46
+ ended_at?: true;
47
+ call_id?: true;
48
+ created_at?: true;
49
+ updated_at?: true;
50
+ };
51
+ export type InterceptorMaxAggregateInputType = {
52
+ id?: true;
53
+ interceptor?: true;
54
+ started_at?: true;
55
+ ended_at?: true;
56
+ call_id?: true;
57
+ created_at?: true;
58
+ updated_at?: true;
59
+ };
60
+ export type InterceptorCountAggregateInputType = {
61
+ id?: true;
62
+ interceptor?: true;
63
+ error?: true;
64
+ started_at?: true;
65
+ ended_at?: true;
66
+ call_id?: true;
67
+ created_at?: true;
68
+ updated_at?: true;
69
+ _all?: true;
70
+ };
71
+ export type InterceptorAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
72
+ /**
73
+ * Filter which Interceptor to aggregate.
74
+ */
75
+ where?: Prisma.InterceptorWhereInput;
76
+ /**
77
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
78
+ *
79
+ * Determine the order of Interceptors to fetch.
80
+ */
81
+ orderBy?: Prisma.InterceptorOrderByWithRelationInput | Prisma.InterceptorOrderByWithRelationInput[];
82
+ /**
83
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
84
+ *
85
+ * Sets the start position
86
+ */
87
+ cursor?: Prisma.InterceptorWhereUniqueInput;
88
+ /**
89
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
90
+ *
91
+ * Take `±n` Interceptors from the position of the cursor.
92
+ */
93
+ take?: number;
94
+ /**
95
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
96
+ *
97
+ * Skip the first `n` Interceptors.
98
+ */
99
+ skip?: number;
100
+ /**
101
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
102
+ *
103
+ * Count returned Interceptors
104
+ **/
105
+ _count?: true | InterceptorCountAggregateInputType;
106
+ /**
107
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
108
+ *
109
+ * Select which fields to find the minimum value
110
+ **/
111
+ _min?: InterceptorMinAggregateInputType;
112
+ /**
113
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
114
+ *
115
+ * Select which fields to find the maximum value
116
+ **/
117
+ _max?: InterceptorMaxAggregateInputType;
118
+ };
119
+ export type GetInterceptorAggregateType<T extends InterceptorAggregateArgs> = {
120
+ [P in keyof T & keyof AggregateInterceptor]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateInterceptor[P]> : Prisma.GetScalarType<T[P], AggregateInterceptor[P]>;
121
+ };
122
+ export type InterceptorGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
123
+ where?: Prisma.InterceptorWhereInput;
124
+ orderBy?: Prisma.InterceptorOrderByWithAggregationInput | Prisma.InterceptorOrderByWithAggregationInput[];
125
+ by: Prisma.InterceptorScalarFieldEnum[] | Prisma.InterceptorScalarFieldEnum;
126
+ having?: Prisma.InterceptorScalarWhereWithAggregatesInput;
127
+ take?: number;
128
+ skip?: number;
129
+ _count?: InterceptorCountAggregateInputType | true;
130
+ _min?: InterceptorMinAggregateInputType;
131
+ _max?: InterceptorMaxAggregateInputType;
132
+ };
133
+ export type InterceptorGroupByOutputType = {
134
+ id: string;
135
+ interceptor: string;
136
+ error: runtime.JsonValue | null;
137
+ started_at: Date;
138
+ ended_at: Date;
139
+ call_id: string;
140
+ created_at: Date;
141
+ updated_at: Date;
142
+ _count: InterceptorCountAggregateOutputType | null;
143
+ _min: InterceptorMinAggregateOutputType | null;
144
+ _max: InterceptorMaxAggregateOutputType | null;
145
+ };
146
+ export type GetInterceptorGroupByPayload<T extends InterceptorGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<InterceptorGroupByOutputType, T['by']> & {
147
+ [P in ((keyof T) & (keyof InterceptorGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], InterceptorGroupByOutputType[P]> : Prisma.GetScalarType<T[P], InterceptorGroupByOutputType[P]>;
148
+ }>>;
149
+ export type InterceptorWhereInput = {
150
+ AND?: Prisma.InterceptorWhereInput | Prisma.InterceptorWhereInput[];
151
+ OR?: Prisma.InterceptorWhereInput[];
152
+ NOT?: Prisma.InterceptorWhereInput | Prisma.InterceptorWhereInput[];
153
+ id?: Prisma.StringFilter<"Interceptor"> | string;
154
+ interceptor?: Prisma.StringFilter<"Interceptor"> | string;
155
+ error?: Prisma.JsonNullableFilter<"Interceptor">;
156
+ started_at?: Prisma.DateTimeFilter<"Interceptor"> | Date | string;
157
+ ended_at?: Prisma.DateTimeFilter<"Interceptor"> | Date | string;
158
+ call_id?: Prisma.StringFilter<"Interceptor"> | string;
159
+ created_at?: Prisma.DateTimeFilter<"Interceptor"> | Date | string;
160
+ updated_at?: Prisma.DateTimeFilter<"Interceptor"> | Date | string;
161
+ call?: Prisma.XOR<Prisma.CallScalarRelationFilter, Prisma.CallWhereInput>;
162
+ };
163
+ export type InterceptorOrderByWithRelationInput = {
164
+ id?: Prisma.SortOrder;
165
+ interceptor?: Prisma.SortOrder;
166
+ error?: Prisma.SortOrderInput | Prisma.SortOrder;
167
+ started_at?: Prisma.SortOrder;
168
+ ended_at?: Prisma.SortOrder;
169
+ call_id?: Prisma.SortOrder;
170
+ created_at?: Prisma.SortOrder;
171
+ updated_at?: Prisma.SortOrder;
172
+ call?: Prisma.CallOrderByWithRelationInput;
173
+ };
174
+ export type InterceptorWhereUniqueInput = Prisma.AtLeast<{
175
+ id?: string;
176
+ AND?: Prisma.InterceptorWhereInput | Prisma.InterceptorWhereInput[];
177
+ OR?: Prisma.InterceptorWhereInput[];
178
+ NOT?: Prisma.InterceptorWhereInput | Prisma.InterceptorWhereInput[];
179
+ interceptor?: Prisma.StringFilter<"Interceptor"> | string;
180
+ error?: Prisma.JsonNullableFilter<"Interceptor">;
181
+ started_at?: Prisma.DateTimeFilter<"Interceptor"> | Date | string;
182
+ ended_at?: Prisma.DateTimeFilter<"Interceptor"> | Date | string;
183
+ call_id?: Prisma.StringFilter<"Interceptor"> | string;
184
+ created_at?: Prisma.DateTimeFilter<"Interceptor"> | Date | string;
185
+ updated_at?: Prisma.DateTimeFilter<"Interceptor"> | Date | string;
186
+ call?: Prisma.XOR<Prisma.CallScalarRelationFilter, Prisma.CallWhereInput>;
187
+ }, "id">;
188
+ export type InterceptorOrderByWithAggregationInput = {
189
+ id?: Prisma.SortOrder;
190
+ interceptor?: Prisma.SortOrder;
191
+ error?: Prisma.SortOrderInput | Prisma.SortOrder;
192
+ started_at?: Prisma.SortOrder;
193
+ ended_at?: Prisma.SortOrder;
194
+ call_id?: Prisma.SortOrder;
195
+ created_at?: Prisma.SortOrder;
196
+ updated_at?: Prisma.SortOrder;
197
+ _count?: Prisma.InterceptorCountOrderByAggregateInput;
198
+ _max?: Prisma.InterceptorMaxOrderByAggregateInput;
199
+ _min?: Prisma.InterceptorMinOrderByAggregateInput;
200
+ };
201
+ export type InterceptorScalarWhereWithAggregatesInput = {
202
+ AND?: Prisma.InterceptorScalarWhereWithAggregatesInput | Prisma.InterceptorScalarWhereWithAggregatesInput[];
203
+ OR?: Prisma.InterceptorScalarWhereWithAggregatesInput[];
204
+ NOT?: Prisma.InterceptorScalarWhereWithAggregatesInput | Prisma.InterceptorScalarWhereWithAggregatesInput[];
205
+ id?: Prisma.StringWithAggregatesFilter<"Interceptor"> | string;
206
+ interceptor?: Prisma.StringWithAggregatesFilter<"Interceptor"> | string;
207
+ error?: Prisma.JsonNullableWithAggregatesFilter<"Interceptor">;
208
+ started_at?: Prisma.DateTimeWithAggregatesFilter<"Interceptor"> | Date | string;
209
+ ended_at?: Prisma.DateTimeWithAggregatesFilter<"Interceptor"> | Date | string;
210
+ call_id?: Prisma.StringWithAggregatesFilter<"Interceptor"> | string;
211
+ created_at?: Prisma.DateTimeWithAggregatesFilter<"Interceptor"> | Date | string;
212
+ updated_at?: Prisma.DateTimeWithAggregatesFilter<"Interceptor"> | Date | string;
213
+ };
214
+ export type InterceptorCreateInput = {
215
+ id: string;
216
+ interceptor: string;
217
+ error?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
218
+ started_at: Date | string;
219
+ ended_at: Date | string;
220
+ created_at?: Date | string;
221
+ updated_at?: Date | string;
222
+ call: Prisma.CallCreateNestedOneWithoutInterceptorsInput;
223
+ };
224
+ export type InterceptorUncheckedCreateInput = {
225
+ id: string;
226
+ interceptor: string;
227
+ error?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
228
+ started_at: Date | string;
229
+ ended_at: Date | string;
230
+ call_id: string;
231
+ created_at?: Date | string;
232
+ updated_at?: Date | string;
233
+ };
234
+ export type InterceptorUpdateInput = {
235
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
236
+ interceptor?: Prisma.StringFieldUpdateOperationsInput | string;
237
+ error?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
238
+ started_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
239
+ ended_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
240
+ created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
241
+ updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
242
+ call?: Prisma.CallUpdateOneRequiredWithoutInterceptorsNestedInput;
243
+ };
244
+ export type InterceptorUncheckedUpdateInput = {
245
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
246
+ interceptor?: Prisma.StringFieldUpdateOperationsInput | string;
247
+ error?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
248
+ started_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
249
+ ended_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
250
+ call_id?: Prisma.StringFieldUpdateOperationsInput | string;
251
+ created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
252
+ updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
253
+ };
254
+ export type InterceptorCreateManyInput = {
255
+ id: string;
256
+ interceptor: string;
257
+ error?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
258
+ started_at: Date | string;
259
+ ended_at: Date | string;
260
+ call_id: string;
261
+ created_at?: Date | string;
262
+ updated_at?: Date | string;
263
+ };
264
+ export type InterceptorUpdateManyMutationInput = {
265
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
266
+ interceptor?: Prisma.StringFieldUpdateOperationsInput | string;
267
+ error?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
268
+ started_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
269
+ ended_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
270
+ created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
271
+ updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
272
+ };
273
+ export type InterceptorUncheckedUpdateManyInput = {
274
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
275
+ interceptor?: Prisma.StringFieldUpdateOperationsInput | string;
276
+ error?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
277
+ started_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
278
+ ended_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
279
+ call_id?: Prisma.StringFieldUpdateOperationsInput | string;
280
+ created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
281
+ updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
282
+ };
283
+ export type InterceptorListRelationFilter = {
284
+ every?: Prisma.InterceptorWhereInput;
285
+ some?: Prisma.InterceptorWhereInput;
286
+ none?: Prisma.InterceptorWhereInput;
287
+ };
288
+ export type InterceptorOrderByRelationAggregateInput = {
289
+ _count?: Prisma.SortOrder;
290
+ };
291
+ export type InterceptorCountOrderByAggregateInput = {
292
+ id?: Prisma.SortOrder;
293
+ interceptor?: Prisma.SortOrder;
294
+ error?: Prisma.SortOrder;
295
+ started_at?: Prisma.SortOrder;
296
+ ended_at?: Prisma.SortOrder;
297
+ call_id?: Prisma.SortOrder;
298
+ created_at?: Prisma.SortOrder;
299
+ updated_at?: Prisma.SortOrder;
300
+ };
301
+ export type InterceptorMaxOrderByAggregateInput = {
302
+ id?: Prisma.SortOrder;
303
+ interceptor?: Prisma.SortOrder;
304
+ started_at?: Prisma.SortOrder;
305
+ ended_at?: Prisma.SortOrder;
306
+ call_id?: Prisma.SortOrder;
307
+ created_at?: Prisma.SortOrder;
308
+ updated_at?: Prisma.SortOrder;
309
+ };
310
+ export type InterceptorMinOrderByAggregateInput = {
311
+ id?: Prisma.SortOrder;
312
+ interceptor?: Prisma.SortOrder;
313
+ started_at?: Prisma.SortOrder;
314
+ ended_at?: Prisma.SortOrder;
315
+ call_id?: Prisma.SortOrder;
316
+ created_at?: Prisma.SortOrder;
317
+ updated_at?: Prisma.SortOrder;
318
+ };
319
+ export type InterceptorCreateNestedManyWithoutCallInput = {
320
+ create?: Prisma.XOR<Prisma.InterceptorCreateWithoutCallInput, Prisma.InterceptorUncheckedCreateWithoutCallInput> | Prisma.InterceptorCreateWithoutCallInput[] | Prisma.InterceptorUncheckedCreateWithoutCallInput[];
321
+ connectOrCreate?: Prisma.InterceptorCreateOrConnectWithoutCallInput | Prisma.InterceptorCreateOrConnectWithoutCallInput[];
322
+ createMany?: Prisma.InterceptorCreateManyCallInputEnvelope;
323
+ connect?: Prisma.InterceptorWhereUniqueInput | Prisma.InterceptorWhereUniqueInput[];
324
+ };
325
+ export type InterceptorUncheckedCreateNestedManyWithoutCallInput = {
326
+ create?: Prisma.XOR<Prisma.InterceptorCreateWithoutCallInput, Prisma.InterceptorUncheckedCreateWithoutCallInput> | Prisma.InterceptorCreateWithoutCallInput[] | Prisma.InterceptorUncheckedCreateWithoutCallInput[];
327
+ connectOrCreate?: Prisma.InterceptorCreateOrConnectWithoutCallInput | Prisma.InterceptorCreateOrConnectWithoutCallInput[];
328
+ createMany?: Prisma.InterceptorCreateManyCallInputEnvelope;
329
+ connect?: Prisma.InterceptorWhereUniqueInput | Prisma.InterceptorWhereUniqueInput[];
330
+ };
331
+ export type InterceptorUpdateManyWithoutCallNestedInput = {
332
+ create?: Prisma.XOR<Prisma.InterceptorCreateWithoutCallInput, Prisma.InterceptorUncheckedCreateWithoutCallInput> | Prisma.InterceptorCreateWithoutCallInput[] | Prisma.InterceptorUncheckedCreateWithoutCallInput[];
333
+ connectOrCreate?: Prisma.InterceptorCreateOrConnectWithoutCallInput | Prisma.InterceptorCreateOrConnectWithoutCallInput[];
334
+ upsert?: Prisma.InterceptorUpsertWithWhereUniqueWithoutCallInput | Prisma.InterceptorUpsertWithWhereUniqueWithoutCallInput[];
335
+ createMany?: Prisma.InterceptorCreateManyCallInputEnvelope;
336
+ set?: Prisma.InterceptorWhereUniqueInput | Prisma.InterceptorWhereUniqueInput[];
337
+ disconnect?: Prisma.InterceptorWhereUniqueInput | Prisma.InterceptorWhereUniqueInput[];
338
+ delete?: Prisma.InterceptorWhereUniqueInput | Prisma.InterceptorWhereUniqueInput[];
339
+ connect?: Prisma.InterceptorWhereUniqueInput | Prisma.InterceptorWhereUniqueInput[];
340
+ update?: Prisma.InterceptorUpdateWithWhereUniqueWithoutCallInput | Prisma.InterceptorUpdateWithWhereUniqueWithoutCallInput[];
341
+ updateMany?: Prisma.InterceptorUpdateManyWithWhereWithoutCallInput | Prisma.InterceptorUpdateManyWithWhereWithoutCallInput[];
342
+ deleteMany?: Prisma.InterceptorScalarWhereInput | Prisma.InterceptorScalarWhereInput[];
343
+ };
344
+ export type InterceptorUncheckedUpdateManyWithoutCallNestedInput = {
345
+ create?: Prisma.XOR<Prisma.InterceptorCreateWithoutCallInput, Prisma.InterceptorUncheckedCreateWithoutCallInput> | Prisma.InterceptorCreateWithoutCallInput[] | Prisma.InterceptorUncheckedCreateWithoutCallInput[];
346
+ connectOrCreate?: Prisma.InterceptorCreateOrConnectWithoutCallInput | Prisma.InterceptorCreateOrConnectWithoutCallInput[];
347
+ upsert?: Prisma.InterceptorUpsertWithWhereUniqueWithoutCallInput | Prisma.InterceptorUpsertWithWhereUniqueWithoutCallInput[];
348
+ createMany?: Prisma.InterceptorCreateManyCallInputEnvelope;
349
+ set?: Prisma.InterceptorWhereUniqueInput | Prisma.InterceptorWhereUniqueInput[];
350
+ disconnect?: Prisma.InterceptorWhereUniqueInput | Prisma.InterceptorWhereUniqueInput[];
351
+ delete?: Prisma.InterceptorWhereUniqueInput | Prisma.InterceptorWhereUniqueInput[];
352
+ connect?: Prisma.InterceptorWhereUniqueInput | Prisma.InterceptorWhereUniqueInput[];
353
+ update?: Prisma.InterceptorUpdateWithWhereUniqueWithoutCallInput | Prisma.InterceptorUpdateWithWhereUniqueWithoutCallInput[];
354
+ updateMany?: Prisma.InterceptorUpdateManyWithWhereWithoutCallInput | Prisma.InterceptorUpdateManyWithWhereWithoutCallInput[];
355
+ deleteMany?: Prisma.InterceptorScalarWhereInput | Prisma.InterceptorScalarWhereInput[];
356
+ };
357
+ export type InterceptorCreateWithoutCallInput = {
358
+ id: string;
359
+ interceptor: string;
360
+ error?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
361
+ started_at: Date | string;
362
+ ended_at: Date | string;
363
+ created_at?: Date | string;
364
+ updated_at?: Date | string;
365
+ };
366
+ export type InterceptorUncheckedCreateWithoutCallInput = {
367
+ id: string;
368
+ interceptor: string;
369
+ error?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
370
+ started_at: Date | string;
371
+ ended_at: Date | string;
372
+ created_at?: Date | string;
373
+ updated_at?: Date | string;
374
+ };
375
+ export type InterceptorCreateOrConnectWithoutCallInput = {
376
+ where: Prisma.InterceptorWhereUniqueInput;
377
+ create: Prisma.XOR<Prisma.InterceptorCreateWithoutCallInput, Prisma.InterceptorUncheckedCreateWithoutCallInput>;
378
+ };
379
+ export type InterceptorCreateManyCallInputEnvelope = {
380
+ data: Prisma.InterceptorCreateManyCallInput | Prisma.InterceptorCreateManyCallInput[];
381
+ };
382
+ export type InterceptorUpsertWithWhereUniqueWithoutCallInput = {
383
+ where: Prisma.InterceptorWhereUniqueInput;
384
+ update: Prisma.XOR<Prisma.InterceptorUpdateWithoutCallInput, Prisma.InterceptorUncheckedUpdateWithoutCallInput>;
385
+ create: Prisma.XOR<Prisma.InterceptorCreateWithoutCallInput, Prisma.InterceptorUncheckedCreateWithoutCallInput>;
386
+ };
387
+ export type InterceptorUpdateWithWhereUniqueWithoutCallInput = {
388
+ where: Prisma.InterceptorWhereUniqueInput;
389
+ data: Prisma.XOR<Prisma.InterceptorUpdateWithoutCallInput, Prisma.InterceptorUncheckedUpdateWithoutCallInput>;
390
+ };
391
+ export type InterceptorUpdateManyWithWhereWithoutCallInput = {
392
+ where: Prisma.InterceptorScalarWhereInput;
393
+ data: Prisma.XOR<Prisma.InterceptorUpdateManyMutationInput, Prisma.InterceptorUncheckedUpdateManyWithoutCallInput>;
394
+ };
395
+ export type InterceptorScalarWhereInput = {
396
+ AND?: Prisma.InterceptorScalarWhereInput | Prisma.InterceptorScalarWhereInput[];
397
+ OR?: Prisma.InterceptorScalarWhereInput[];
398
+ NOT?: Prisma.InterceptorScalarWhereInput | Prisma.InterceptorScalarWhereInput[];
399
+ id?: Prisma.StringFilter<"Interceptor"> | string;
400
+ interceptor?: Prisma.StringFilter<"Interceptor"> | string;
401
+ error?: Prisma.JsonNullableFilter<"Interceptor">;
402
+ started_at?: Prisma.DateTimeFilter<"Interceptor"> | Date | string;
403
+ ended_at?: Prisma.DateTimeFilter<"Interceptor"> | Date | string;
404
+ call_id?: Prisma.StringFilter<"Interceptor"> | string;
405
+ created_at?: Prisma.DateTimeFilter<"Interceptor"> | Date | string;
406
+ updated_at?: Prisma.DateTimeFilter<"Interceptor"> | Date | string;
407
+ };
408
+ export type InterceptorCreateManyCallInput = {
409
+ id: string;
410
+ interceptor: string;
411
+ error?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
412
+ started_at: Date | string;
413
+ ended_at: Date | string;
414
+ created_at?: Date | string;
415
+ updated_at?: Date | string;
416
+ };
417
+ export type InterceptorUpdateWithoutCallInput = {
418
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
419
+ interceptor?: Prisma.StringFieldUpdateOperationsInput | string;
420
+ error?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
421
+ started_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
422
+ ended_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
423
+ created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
424
+ updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
425
+ };
426
+ export type InterceptorUncheckedUpdateWithoutCallInput = {
427
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
428
+ interceptor?: Prisma.StringFieldUpdateOperationsInput | string;
429
+ error?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
430
+ started_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
431
+ ended_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
432
+ created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
433
+ updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
434
+ };
435
+ export type InterceptorUncheckedUpdateManyWithoutCallInput = {
436
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
437
+ interceptor?: Prisma.StringFieldUpdateOperationsInput | string;
438
+ error?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
439
+ started_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
440
+ ended_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
441
+ created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
442
+ updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
443
+ };
444
+ export type InterceptorSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
445
+ id?: boolean;
446
+ interceptor?: boolean;
447
+ error?: boolean;
448
+ started_at?: boolean;
449
+ ended_at?: boolean;
450
+ call_id?: boolean;
451
+ created_at?: boolean;
452
+ updated_at?: boolean;
453
+ call?: boolean | Prisma.CallDefaultArgs<ExtArgs>;
454
+ }, ExtArgs["result"]["interceptor"]>;
455
+ export type InterceptorSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
456
+ id?: boolean;
457
+ interceptor?: boolean;
458
+ error?: boolean;
459
+ started_at?: boolean;
460
+ ended_at?: boolean;
461
+ call_id?: boolean;
462
+ created_at?: boolean;
463
+ updated_at?: boolean;
464
+ call?: boolean | Prisma.CallDefaultArgs<ExtArgs>;
465
+ }, ExtArgs["result"]["interceptor"]>;
466
+ export type InterceptorSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
467
+ id?: boolean;
468
+ interceptor?: boolean;
469
+ error?: boolean;
470
+ started_at?: boolean;
471
+ ended_at?: boolean;
472
+ call_id?: boolean;
473
+ created_at?: boolean;
474
+ updated_at?: boolean;
475
+ call?: boolean | Prisma.CallDefaultArgs<ExtArgs>;
476
+ }, ExtArgs["result"]["interceptor"]>;
477
+ export type InterceptorSelectScalar = {
478
+ id?: boolean;
479
+ interceptor?: boolean;
480
+ error?: boolean;
481
+ started_at?: boolean;
482
+ ended_at?: boolean;
483
+ call_id?: boolean;
484
+ created_at?: boolean;
485
+ updated_at?: boolean;
486
+ };
487
+ export type InterceptorOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "interceptor" | "error" | "started_at" | "ended_at" | "call_id" | "created_at" | "updated_at", ExtArgs["result"]["interceptor"]>;
488
+ export type InterceptorInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
489
+ call?: boolean | Prisma.CallDefaultArgs<ExtArgs>;
490
+ };
491
+ export type InterceptorIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
492
+ call?: boolean | Prisma.CallDefaultArgs<ExtArgs>;
493
+ };
494
+ export type InterceptorIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
495
+ call?: boolean | Prisma.CallDefaultArgs<ExtArgs>;
496
+ };
497
+ export type $InterceptorPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
498
+ name: "Interceptor";
499
+ objects: {
500
+ call: Prisma.$CallPayload<ExtArgs>;
501
+ };
502
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
503
+ id: string;
504
+ interceptor: string;
505
+ error: runtime.JsonValue | null;
506
+ started_at: Date;
507
+ ended_at: Date;
508
+ call_id: string;
509
+ created_at: Date;
510
+ updated_at: Date;
511
+ }, ExtArgs["result"]["interceptor"]>;
512
+ composites: {};
513
+ };
514
+ export type InterceptorGetPayload<S extends boolean | null | undefined | InterceptorDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$InterceptorPayload, S>;
515
+ export type InterceptorCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<InterceptorFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
516
+ select?: InterceptorCountAggregateInputType | true;
517
+ };
518
+ export interface InterceptorDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
519
+ [K: symbol]: {
520
+ types: Prisma.TypeMap<ExtArgs>['model']['Interceptor'];
521
+ meta: {
522
+ name: 'Interceptor';
523
+ };
524
+ };
525
+ /**
526
+ * Find zero or one Interceptor that matches the filter.
527
+ * @param {InterceptorFindUniqueArgs} args - Arguments to find a Interceptor
528
+ * @example
529
+ * // Get one Interceptor
530
+ * const interceptor = await prisma.interceptor.findUnique({
531
+ * where: {
532
+ * // ... provide filter here
533
+ * }
534
+ * })
535
+ */
536
+ findUnique<T extends InterceptorFindUniqueArgs>(args: Prisma.SelectSubset<T, InterceptorFindUniqueArgs<ExtArgs>>): Prisma.Prisma__InterceptorClient<runtime.Types.Result.GetResult<Prisma.$InterceptorPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
537
+ /**
538
+ * Find one Interceptor that matches the filter or throw an error with `error.code='P2025'`
539
+ * if no matches were found.
540
+ * @param {InterceptorFindUniqueOrThrowArgs} args - Arguments to find a Interceptor
541
+ * @example
542
+ * // Get one Interceptor
543
+ * const interceptor = await prisma.interceptor.findUniqueOrThrow({
544
+ * where: {
545
+ * // ... provide filter here
546
+ * }
547
+ * })
548
+ */
549
+ findUniqueOrThrow<T extends InterceptorFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, InterceptorFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__InterceptorClient<runtime.Types.Result.GetResult<Prisma.$InterceptorPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
550
+ /**
551
+ * Find the first Interceptor that matches the filter.
552
+ * Note, that providing `undefined` is treated as the value not being there.
553
+ * Read more here: https://pris.ly/d/null-undefined
554
+ * @param {InterceptorFindFirstArgs} args - Arguments to find a Interceptor
555
+ * @example
556
+ * // Get one Interceptor
557
+ * const interceptor = await prisma.interceptor.findFirst({
558
+ * where: {
559
+ * // ... provide filter here
560
+ * }
561
+ * })
562
+ */
563
+ findFirst<T extends InterceptorFindFirstArgs>(args?: Prisma.SelectSubset<T, InterceptorFindFirstArgs<ExtArgs>>): Prisma.Prisma__InterceptorClient<runtime.Types.Result.GetResult<Prisma.$InterceptorPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
564
+ /**
565
+ * Find the first Interceptor that matches the filter or
566
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
567
+ * Note, that providing `undefined` is treated as the value not being there.
568
+ * Read more here: https://pris.ly/d/null-undefined
569
+ * @param {InterceptorFindFirstOrThrowArgs} args - Arguments to find a Interceptor
570
+ * @example
571
+ * // Get one Interceptor
572
+ * const interceptor = await prisma.interceptor.findFirstOrThrow({
573
+ * where: {
574
+ * // ... provide filter here
575
+ * }
576
+ * })
577
+ */
578
+ findFirstOrThrow<T extends InterceptorFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, InterceptorFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__InterceptorClient<runtime.Types.Result.GetResult<Prisma.$InterceptorPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
579
+ /**
580
+ * Find zero or more Interceptors that matches the filter.
581
+ * Note, that providing `undefined` is treated as the value not being there.
582
+ * Read more here: https://pris.ly/d/null-undefined
583
+ * @param {InterceptorFindManyArgs} args - Arguments to filter and select certain fields only.
584
+ * @example
585
+ * // Get all Interceptors
586
+ * const interceptors = await prisma.interceptor.findMany()
587
+ *
588
+ * // Get first 10 Interceptors
589
+ * const interceptors = await prisma.interceptor.findMany({ take: 10 })
590
+ *
591
+ * // Only select the `id`
592
+ * const interceptorWithIdOnly = await prisma.interceptor.findMany({ select: { id: true } })
593
+ *
594
+ */
595
+ findMany<T extends InterceptorFindManyArgs>(args?: Prisma.SelectSubset<T, InterceptorFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$InterceptorPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
596
+ /**
597
+ * Create a Interceptor.
598
+ * @param {InterceptorCreateArgs} args - Arguments to create a Interceptor.
599
+ * @example
600
+ * // Create one Interceptor
601
+ * const Interceptor = await prisma.interceptor.create({
602
+ * data: {
603
+ * // ... data to create a Interceptor
604
+ * }
605
+ * })
606
+ *
607
+ */
608
+ create<T extends InterceptorCreateArgs>(args: Prisma.SelectSubset<T, InterceptorCreateArgs<ExtArgs>>): Prisma.Prisma__InterceptorClient<runtime.Types.Result.GetResult<Prisma.$InterceptorPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
609
+ /**
610
+ * Create many Interceptors.
611
+ * @param {InterceptorCreateManyArgs} args - Arguments to create many Interceptors.
612
+ * @example
613
+ * // Create many Interceptors
614
+ * const interceptor = await prisma.interceptor.createMany({
615
+ * data: [
616
+ * // ... provide data here
617
+ * ]
618
+ * })
619
+ *
620
+ */
621
+ createMany<T extends InterceptorCreateManyArgs>(args?: Prisma.SelectSubset<T, InterceptorCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
622
+ /**
623
+ * Create many Interceptors and returns the data saved in the database.
624
+ * @param {InterceptorCreateManyAndReturnArgs} args - Arguments to create many Interceptors.
625
+ * @example
626
+ * // Create many Interceptors
627
+ * const interceptor = await prisma.interceptor.createManyAndReturn({
628
+ * data: [
629
+ * // ... provide data here
630
+ * ]
631
+ * })
632
+ *
633
+ * // Create many Interceptors and only return the `id`
634
+ * const interceptorWithIdOnly = await prisma.interceptor.createManyAndReturn({
635
+ * select: { id: true },
636
+ * data: [
637
+ * // ... provide data here
638
+ * ]
639
+ * })
640
+ * Note, that providing `undefined` is treated as the value not being there.
641
+ * Read more here: https://pris.ly/d/null-undefined
642
+ *
643
+ */
644
+ createManyAndReturn<T extends InterceptorCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, InterceptorCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$InterceptorPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
645
+ /**
646
+ * Delete a Interceptor.
647
+ * @param {InterceptorDeleteArgs} args - Arguments to delete one Interceptor.
648
+ * @example
649
+ * // Delete one Interceptor
650
+ * const Interceptor = await prisma.interceptor.delete({
651
+ * where: {
652
+ * // ... filter to delete one Interceptor
653
+ * }
654
+ * })
655
+ *
656
+ */
657
+ delete<T extends InterceptorDeleteArgs>(args: Prisma.SelectSubset<T, InterceptorDeleteArgs<ExtArgs>>): Prisma.Prisma__InterceptorClient<runtime.Types.Result.GetResult<Prisma.$InterceptorPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
658
+ /**
659
+ * Update one Interceptor.
660
+ * @param {InterceptorUpdateArgs} args - Arguments to update one Interceptor.
661
+ * @example
662
+ * // Update one Interceptor
663
+ * const interceptor = await prisma.interceptor.update({
664
+ * where: {
665
+ * // ... provide filter here
666
+ * },
667
+ * data: {
668
+ * // ... provide data here
669
+ * }
670
+ * })
671
+ *
672
+ */
673
+ update<T extends InterceptorUpdateArgs>(args: Prisma.SelectSubset<T, InterceptorUpdateArgs<ExtArgs>>): Prisma.Prisma__InterceptorClient<runtime.Types.Result.GetResult<Prisma.$InterceptorPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
674
+ /**
675
+ * Delete zero or more Interceptors.
676
+ * @param {InterceptorDeleteManyArgs} args - Arguments to filter Interceptors to delete.
677
+ * @example
678
+ * // Delete a few Interceptors
679
+ * const { count } = await prisma.interceptor.deleteMany({
680
+ * where: {
681
+ * // ... provide filter here
682
+ * }
683
+ * })
684
+ *
685
+ */
686
+ deleteMany<T extends InterceptorDeleteManyArgs>(args?: Prisma.SelectSubset<T, InterceptorDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
687
+ /**
688
+ * Update zero or more Interceptors.
689
+ * Note, that providing `undefined` is treated as the value not being there.
690
+ * Read more here: https://pris.ly/d/null-undefined
691
+ * @param {InterceptorUpdateManyArgs} args - Arguments to update one or more rows.
692
+ * @example
693
+ * // Update many Interceptors
694
+ * const interceptor = await prisma.interceptor.updateMany({
695
+ * where: {
696
+ * // ... provide filter here
697
+ * },
698
+ * data: {
699
+ * // ... provide data here
700
+ * }
701
+ * })
702
+ *
703
+ */
704
+ updateMany<T extends InterceptorUpdateManyArgs>(args: Prisma.SelectSubset<T, InterceptorUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
705
+ /**
706
+ * Update zero or more Interceptors and returns the data updated in the database.
707
+ * @param {InterceptorUpdateManyAndReturnArgs} args - Arguments to update many Interceptors.
708
+ * @example
709
+ * // Update many Interceptors
710
+ * const interceptor = await prisma.interceptor.updateManyAndReturn({
711
+ * where: {
712
+ * // ... provide filter here
713
+ * },
714
+ * data: [
715
+ * // ... provide data here
716
+ * ]
717
+ * })
718
+ *
719
+ * // Update zero or more Interceptors and only return the `id`
720
+ * const interceptorWithIdOnly = await prisma.interceptor.updateManyAndReturn({
721
+ * select: { id: true },
722
+ * where: {
723
+ * // ... provide filter here
724
+ * },
725
+ * data: [
726
+ * // ... provide data here
727
+ * ]
728
+ * })
729
+ * Note, that providing `undefined` is treated as the value not being there.
730
+ * Read more here: https://pris.ly/d/null-undefined
731
+ *
732
+ */
733
+ updateManyAndReturn<T extends InterceptorUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, InterceptorUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$InterceptorPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
734
+ /**
735
+ * Create or update one Interceptor.
736
+ * @param {InterceptorUpsertArgs} args - Arguments to update or create a Interceptor.
737
+ * @example
738
+ * // Update or create a Interceptor
739
+ * const interceptor = await prisma.interceptor.upsert({
740
+ * create: {
741
+ * // ... data to create a Interceptor
742
+ * },
743
+ * update: {
744
+ * // ... in case it already exists, update
745
+ * },
746
+ * where: {
747
+ * // ... the filter for the Interceptor we want to update
748
+ * }
749
+ * })
750
+ */
751
+ upsert<T extends InterceptorUpsertArgs>(args: Prisma.SelectSubset<T, InterceptorUpsertArgs<ExtArgs>>): Prisma.Prisma__InterceptorClient<runtime.Types.Result.GetResult<Prisma.$InterceptorPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
752
+ /**
753
+ * Count the number of Interceptors.
754
+ * Note, that providing `undefined` is treated as the value not being there.
755
+ * Read more here: https://pris.ly/d/null-undefined
756
+ * @param {InterceptorCountArgs} args - Arguments to filter Interceptors to count.
757
+ * @example
758
+ * // Count the number of Interceptors
759
+ * const count = await prisma.interceptor.count({
760
+ * where: {
761
+ * // ... the filter for the Interceptors we want to count
762
+ * }
763
+ * })
764
+ **/
765
+ count<T extends InterceptorCountArgs>(args?: Prisma.Subset<T, InterceptorCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], InterceptorCountAggregateOutputType> : number>;
766
+ /**
767
+ * Allows you to perform aggregations operations on a Interceptor.
768
+ * Note, that providing `undefined` is treated as the value not being there.
769
+ * Read more here: https://pris.ly/d/null-undefined
770
+ * @param {InterceptorAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
771
+ * @example
772
+ * // Ordered by age ascending
773
+ * // Where email contains prisma.io
774
+ * // Limited to the 10 users
775
+ * const aggregations = await prisma.user.aggregate({
776
+ * _avg: {
777
+ * age: true,
778
+ * },
779
+ * where: {
780
+ * email: {
781
+ * contains: "prisma.io",
782
+ * },
783
+ * },
784
+ * orderBy: {
785
+ * age: "asc",
786
+ * },
787
+ * take: 10,
788
+ * })
789
+ **/
790
+ aggregate<T extends InterceptorAggregateArgs>(args: Prisma.Subset<T, InterceptorAggregateArgs>): Prisma.PrismaPromise<GetInterceptorAggregateType<T>>;
791
+ /**
792
+ * Group by Interceptor.
793
+ * Note, that providing `undefined` is treated as the value not being there.
794
+ * Read more here: https://pris.ly/d/null-undefined
795
+ * @param {InterceptorGroupByArgs} args - Group by arguments.
796
+ * @example
797
+ * // Group by city, order by createdAt, get count
798
+ * const result = await prisma.user.groupBy({
799
+ * by: ['city', 'createdAt'],
800
+ * orderBy: {
801
+ * createdAt: true
802
+ * },
803
+ * _count: {
804
+ * _all: true
805
+ * },
806
+ * })
807
+ *
808
+ **/
809
+ groupBy<T extends InterceptorGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
810
+ orderBy: InterceptorGroupByArgs['orderBy'];
811
+ } : {
812
+ orderBy?: InterceptorGroupByArgs['orderBy'];
813
+ }, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
814
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
815
+ Error,
816
+ 'Field ',
817
+ P,
818
+ ` in "having" needs to be provided in "by"`
819
+ ];
820
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
821
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
822
+ }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
823
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
824
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
825
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
826
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, InterceptorGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetInterceptorGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
827
+ /**
828
+ * Fields of the Interceptor model
829
+ */
830
+ readonly fields: InterceptorFieldRefs;
831
+ }
832
+ /**
833
+ * The delegate class that acts as a "Promise-like" for Interceptor.
834
+ * Why is this prefixed with `Prisma__`?
835
+ * Because we want to prevent naming conflicts as mentioned in
836
+ * https://github.com/prisma/prisma-client-js/issues/707
837
+ */
838
+ export interface Prisma__InterceptorClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
839
+ readonly [Symbol.toStringTag]: "PrismaPromise";
840
+ call<T extends Prisma.CallDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.CallDefaultArgs<ExtArgs>>): Prisma.Prisma__CallClient<runtime.Types.Result.GetResult<Prisma.$CallPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
841
+ /**
842
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
843
+ * @param onfulfilled The callback to execute when the Promise is resolved.
844
+ * @param onrejected The callback to execute when the Promise is rejected.
845
+ * @returns A Promise for the completion of which ever callback is executed.
846
+ */
847
+ then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>;
848
+ /**
849
+ * Attaches a callback for only the rejection of the Promise.
850
+ * @param onrejected The callback to execute when the Promise is rejected.
851
+ * @returns A Promise for the completion of the callback.
852
+ */
853
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
854
+ /**
855
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
856
+ * resolved value cannot be modified from the callback.
857
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
858
+ * @returns A Promise for the completion of the callback.
859
+ */
860
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
861
+ }
862
+ /**
863
+ * Fields of the Interceptor model
864
+ */
865
+ export interface InterceptorFieldRefs {
866
+ readonly id: Prisma.FieldRef<"Interceptor", 'String'>;
867
+ readonly interceptor: Prisma.FieldRef<"Interceptor", 'String'>;
868
+ readonly error: Prisma.FieldRef<"Interceptor", 'Json'>;
869
+ readonly started_at: Prisma.FieldRef<"Interceptor", 'DateTime'>;
870
+ readonly ended_at: Prisma.FieldRef<"Interceptor", 'DateTime'>;
871
+ readonly call_id: Prisma.FieldRef<"Interceptor", 'String'>;
872
+ readonly created_at: Prisma.FieldRef<"Interceptor", 'DateTime'>;
873
+ readonly updated_at: Prisma.FieldRef<"Interceptor", 'DateTime'>;
874
+ }
875
+ /**
876
+ * Interceptor findUnique
877
+ */
878
+ export type InterceptorFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
879
+ /**
880
+ * Select specific fields to fetch from the Interceptor
881
+ */
882
+ select?: Prisma.InterceptorSelect<ExtArgs> | null;
883
+ /**
884
+ * Omit specific fields from the Interceptor
885
+ */
886
+ omit?: Prisma.InterceptorOmit<ExtArgs> | null;
887
+ /**
888
+ * Choose, which related nodes to fetch as well
889
+ */
890
+ include?: Prisma.InterceptorInclude<ExtArgs> | null;
891
+ /**
892
+ * Filter, which Interceptor to fetch.
893
+ */
894
+ where: Prisma.InterceptorWhereUniqueInput;
895
+ };
896
+ /**
897
+ * Interceptor findUniqueOrThrow
898
+ */
899
+ export type InterceptorFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
900
+ /**
901
+ * Select specific fields to fetch from the Interceptor
902
+ */
903
+ select?: Prisma.InterceptorSelect<ExtArgs> | null;
904
+ /**
905
+ * Omit specific fields from the Interceptor
906
+ */
907
+ omit?: Prisma.InterceptorOmit<ExtArgs> | null;
908
+ /**
909
+ * Choose, which related nodes to fetch as well
910
+ */
911
+ include?: Prisma.InterceptorInclude<ExtArgs> | null;
912
+ /**
913
+ * Filter, which Interceptor to fetch.
914
+ */
915
+ where: Prisma.InterceptorWhereUniqueInput;
916
+ };
917
+ /**
918
+ * Interceptor findFirst
919
+ */
920
+ export type InterceptorFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
921
+ /**
922
+ * Select specific fields to fetch from the Interceptor
923
+ */
924
+ select?: Prisma.InterceptorSelect<ExtArgs> | null;
925
+ /**
926
+ * Omit specific fields from the Interceptor
927
+ */
928
+ omit?: Prisma.InterceptorOmit<ExtArgs> | null;
929
+ /**
930
+ * Choose, which related nodes to fetch as well
931
+ */
932
+ include?: Prisma.InterceptorInclude<ExtArgs> | null;
933
+ /**
934
+ * Filter, which Interceptor to fetch.
935
+ */
936
+ where?: Prisma.InterceptorWhereInput;
937
+ /**
938
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
939
+ *
940
+ * Determine the order of Interceptors to fetch.
941
+ */
942
+ orderBy?: Prisma.InterceptorOrderByWithRelationInput | Prisma.InterceptorOrderByWithRelationInput[];
943
+ /**
944
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
945
+ *
946
+ * Sets the position for searching for Interceptors.
947
+ */
948
+ cursor?: Prisma.InterceptorWhereUniqueInput;
949
+ /**
950
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
951
+ *
952
+ * Take `±n` Interceptors from the position of the cursor.
953
+ */
954
+ take?: number;
955
+ /**
956
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
957
+ *
958
+ * Skip the first `n` Interceptors.
959
+ */
960
+ skip?: number;
961
+ /**
962
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
963
+ *
964
+ * Filter by unique combinations of Interceptors.
965
+ */
966
+ distinct?: Prisma.InterceptorScalarFieldEnum | Prisma.InterceptorScalarFieldEnum[];
967
+ };
968
+ /**
969
+ * Interceptor findFirstOrThrow
970
+ */
971
+ export type InterceptorFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
972
+ /**
973
+ * Select specific fields to fetch from the Interceptor
974
+ */
975
+ select?: Prisma.InterceptorSelect<ExtArgs> | null;
976
+ /**
977
+ * Omit specific fields from the Interceptor
978
+ */
979
+ omit?: Prisma.InterceptorOmit<ExtArgs> | null;
980
+ /**
981
+ * Choose, which related nodes to fetch as well
982
+ */
983
+ include?: Prisma.InterceptorInclude<ExtArgs> | null;
984
+ /**
985
+ * Filter, which Interceptor to fetch.
986
+ */
987
+ where?: Prisma.InterceptorWhereInput;
988
+ /**
989
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
990
+ *
991
+ * Determine the order of Interceptors to fetch.
992
+ */
993
+ orderBy?: Prisma.InterceptorOrderByWithRelationInput | Prisma.InterceptorOrderByWithRelationInput[];
994
+ /**
995
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
996
+ *
997
+ * Sets the position for searching for Interceptors.
998
+ */
999
+ cursor?: Prisma.InterceptorWhereUniqueInput;
1000
+ /**
1001
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1002
+ *
1003
+ * Take `±n` Interceptors from the position of the cursor.
1004
+ */
1005
+ take?: number;
1006
+ /**
1007
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1008
+ *
1009
+ * Skip the first `n` Interceptors.
1010
+ */
1011
+ skip?: number;
1012
+ /**
1013
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1014
+ *
1015
+ * Filter by unique combinations of Interceptors.
1016
+ */
1017
+ distinct?: Prisma.InterceptorScalarFieldEnum | Prisma.InterceptorScalarFieldEnum[];
1018
+ };
1019
+ /**
1020
+ * Interceptor findMany
1021
+ */
1022
+ export type InterceptorFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1023
+ /**
1024
+ * Select specific fields to fetch from the Interceptor
1025
+ */
1026
+ select?: Prisma.InterceptorSelect<ExtArgs> | null;
1027
+ /**
1028
+ * Omit specific fields from the Interceptor
1029
+ */
1030
+ omit?: Prisma.InterceptorOmit<ExtArgs> | null;
1031
+ /**
1032
+ * Choose, which related nodes to fetch as well
1033
+ */
1034
+ include?: Prisma.InterceptorInclude<ExtArgs> | null;
1035
+ /**
1036
+ * Filter, which Interceptors to fetch.
1037
+ */
1038
+ where?: Prisma.InterceptorWhereInput;
1039
+ /**
1040
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1041
+ *
1042
+ * Determine the order of Interceptors to fetch.
1043
+ */
1044
+ orderBy?: Prisma.InterceptorOrderByWithRelationInput | Prisma.InterceptorOrderByWithRelationInput[];
1045
+ /**
1046
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1047
+ *
1048
+ * Sets the position for listing Interceptors.
1049
+ */
1050
+ cursor?: Prisma.InterceptorWhereUniqueInput;
1051
+ /**
1052
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1053
+ *
1054
+ * Take `±n` Interceptors from the position of the cursor.
1055
+ */
1056
+ take?: number;
1057
+ /**
1058
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1059
+ *
1060
+ * Skip the first `n` Interceptors.
1061
+ */
1062
+ skip?: number;
1063
+ /**
1064
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1065
+ *
1066
+ * Filter by unique combinations of Interceptors.
1067
+ */
1068
+ distinct?: Prisma.InterceptorScalarFieldEnum | Prisma.InterceptorScalarFieldEnum[];
1069
+ };
1070
+ /**
1071
+ * Interceptor create
1072
+ */
1073
+ export type InterceptorCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1074
+ /**
1075
+ * Select specific fields to fetch from the Interceptor
1076
+ */
1077
+ select?: Prisma.InterceptorSelect<ExtArgs> | null;
1078
+ /**
1079
+ * Omit specific fields from the Interceptor
1080
+ */
1081
+ omit?: Prisma.InterceptorOmit<ExtArgs> | null;
1082
+ /**
1083
+ * Choose, which related nodes to fetch as well
1084
+ */
1085
+ include?: Prisma.InterceptorInclude<ExtArgs> | null;
1086
+ /**
1087
+ * The data needed to create a Interceptor.
1088
+ */
1089
+ data: Prisma.XOR<Prisma.InterceptorCreateInput, Prisma.InterceptorUncheckedCreateInput>;
1090
+ };
1091
+ /**
1092
+ * Interceptor createMany
1093
+ */
1094
+ export type InterceptorCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1095
+ /**
1096
+ * The data used to create many Interceptors.
1097
+ */
1098
+ data: Prisma.InterceptorCreateManyInput | Prisma.InterceptorCreateManyInput[];
1099
+ };
1100
+ /**
1101
+ * Interceptor createManyAndReturn
1102
+ */
1103
+ export type InterceptorCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1104
+ /**
1105
+ * Select specific fields to fetch from the Interceptor
1106
+ */
1107
+ select?: Prisma.InterceptorSelectCreateManyAndReturn<ExtArgs> | null;
1108
+ /**
1109
+ * Omit specific fields from the Interceptor
1110
+ */
1111
+ omit?: Prisma.InterceptorOmit<ExtArgs> | null;
1112
+ /**
1113
+ * The data used to create many Interceptors.
1114
+ */
1115
+ data: Prisma.InterceptorCreateManyInput | Prisma.InterceptorCreateManyInput[];
1116
+ /**
1117
+ * Choose, which related nodes to fetch as well
1118
+ */
1119
+ include?: Prisma.InterceptorIncludeCreateManyAndReturn<ExtArgs> | null;
1120
+ };
1121
+ /**
1122
+ * Interceptor update
1123
+ */
1124
+ export type InterceptorUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1125
+ /**
1126
+ * Select specific fields to fetch from the Interceptor
1127
+ */
1128
+ select?: Prisma.InterceptorSelect<ExtArgs> | null;
1129
+ /**
1130
+ * Omit specific fields from the Interceptor
1131
+ */
1132
+ omit?: Prisma.InterceptorOmit<ExtArgs> | null;
1133
+ /**
1134
+ * Choose, which related nodes to fetch as well
1135
+ */
1136
+ include?: Prisma.InterceptorInclude<ExtArgs> | null;
1137
+ /**
1138
+ * The data needed to update a Interceptor.
1139
+ */
1140
+ data: Prisma.XOR<Prisma.InterceptorUpdateInput, Prisma.InterceptorUncheckedUpdateInput>;
1141
+ /**
1142
+ * Choose, which Interceptor to update.
1143
+ */
1144
+ where: Prisma.InterceptorWhereUniqueInput;
1145
+ };
1146
+ /**
1147
+ * Interceptor updateMany
1148
+ */
1149
+ export type InterceptorUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1150
+ /**
1151
+ * The data used to update Interceptors.
1152
+ */
1153
+ data: Prisma.XOR<Prisma.InterceptorUpdateManyMutationInput, Prisma.InterceptorUncheckedUpdateManyInput>;
1154
+ /**
1155
+ * Filter which Interceptors to update
1156
+ */
1157
+ where?: Prisma.InterceptorWhereInput;
1158
+ /**
1159
+ * Limit how many Interceptors to update.
1160
+ */
1161
+ limit?: number;
1162
+ };
1163
+ /**
1164
+ * Interceptor updateManyAndReturn
1165
+ */
1166
+ export type InterceptorUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1167
+ /**
1168
+ * Select specific fields to fetch from the Interceptor
1169
+ */
1170
+ select?: Prisma.InterceptorSelectUpdateManyAndReturn<ExtArgs> | null;
1171
+ /**
1172
+ * Omit specific fields from the Interceptor
1173
+ */
1174
+ omit?: Prisma.InterceptorOmit<ExtArgs> | null;
1175
+ /**
1176
+ * The data used to update Interceptors.
1177
+ */
1178
+ data: Prisma.XOR<Prisma.InterceptorUpdateManyMutationInput, Prisma.InterceptorUncheckedUpdateManyInput>;
1179
+ /**
1180
+ * Filter which Interceptors to update
1181
+ */
1182
+ where?: Prisma.InterceptorWhereInput;
1183
+ /**
1184
+ * Limit how many Interceptors to update.
1185
+ */
1186
+ limit?: number;
1187
+ /**
1188
+ * Choose, which related nodes to fetch as well
1189
+ */
1190
+ include?: Prisma.InterceptorIncludeUpdateManyAndReturn<ExtArgs> | null;
1191
+ };
1192
+ /**
1193
+ * Interceptor upsert
1194
+ */
1195
+ export type InterceptorUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1196
+ /**
1197
+ * Select specific fields to fetch from the Interceptor
1198
+ */
1199
+ select?: Prisma.InterceptorSelect<ExtArgs> | null;
1200
+ /**
1201
+ * Omit specific fields from the Interceptor
1202
+ */
1203
+ omit?: Prisma.InterceptorOmit<ExtArgs> | null;
1204
+ /**
1205
+ * Choose, which related nodes to fetch as well
1206
+ */
1207
+ include?: Prisma.InterceptorInclude<ExtArgs> | null;
1208
+ /**
1209
+ * The filter to search for the Interceptor to update in case it exists.
1210
+ */
1211
+ where: Prisma.InterceptorWhereUniqueInput;
1212
+ /**
1213
+ * In case the Interceptor found by the `where` argument doesn't exist, create a new Interceptor with this data.
1214
+ */
1215
+ create: Prisma.XOR<Prisma.InterceptorCreateInput, Prisma.InterceptorUncheckedCreateInput>;
1216
+ /**
1217
+ * In case the Interceptor was found with the provided `where` argument, update it with this data.
1218
+ */
1219
+ update: Prisma.XOR<Prisma.InterceptorUpdateInput, Prisma.InterceptorUncheckedUpdateInput>;
1220
+ };
1221
+ /**
1222
+ * Interceptor delete
1223
+ */
1224
+ export type InterceptorDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1225
+ /**
1226
+ * Select specific fields to fetch from the Interceptor
1227
+ */
1228
+ select?: Prisma.InterceptorSelect<ExtArgs> | null;
1229
+ /**
1230
+ * Omit specific fields from the Interceptor
1231
+ */
1232
+ omit?: Prisma.InterceptorOmit<ExtArgs> | null;
1233
+ /**
1234
+ * Choose, which related nodes to fetch as well
1235
+ */
1236
+ include?: Prisma.InterceptorInclude<ExtArgs> | null;
1237
+ /**
1238
+ * Filter which Interceptor to delete.
1239
+ */
1240
+ where: Prisma.InterceptorWhereUniqueInput;
1241
+ };
1242
+ /**
1243
+ * Interceptor deleteMany
1244
+ */
1245
+ export type InterceptorDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1246
+ /**
1247
+ * Filter which Interceptors to delete
1248
+ */
1249
+ where?: Prisma.InterceptorWhereInput;
1250
+ /**
1251
+ * Limit how many Interceptors to delete.
1252
+ */
1253
+ limit?: number;
1254
+ };
1255
+ /**
1256
+ * Interceptor without action
1257
+ */
1258
+ export type InterceptorDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1259
+ /**
1260
+ * Select specific fields to fetch from the Interceptor
1261
+ */
1262
+ select?: Prisma.InterceptorSelect<ExtArgs> | null;
1263
+ /**
1264
+ * Omit specific fields from the Interceptor
1265
+ */
1266
+ omit?: Prisma.InterceptorOmit<ExtArgs> | null;
1267
+ /**
1268
+ * Choose, which related nodes to fetch as well
1269
+ */
1270
+ include?: Prisma.InterceptorInclude<ExtArgs> | null;
1271
+ };
1272
+ //# sourceMappingURL=Interceptor.d.ts.map