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