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