UNPKG

@nestjs-mod/webhook

Version:

Webhook module with an error filter, guard, controller, database migrations and rest-sdk for work with module from other nodejs appliaction

161 lines 5.95 kB
"use strict"; /* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // @ts-nocheck /** * WARNING: This is an internal file that is subject to change! * * 🛑 Under no circumstances should you import this file directly! 🛑 * * All exports from this file are wrapped under a `Prisma` namespace object in the client.ts file. * While this enables partial backward compatibility, it is not part of the stable public API. * * If you are looking for your Models, Enums, and Input Types, please import them from the respective * model files in the `model` directory! */ Object.defineProperty(exports, "__esModule", { value: true }); exports.defineExtension = exports.NullsOrder = exports.JsonNullValueFilter = exports.QueryMode = exports.JsonNullValueInput = exports.NullableJsonNullValueInput = exports.SortOrder = exports.Migrations_webhookScalarFieldEnum = exports.WebhookUserScalarFieldEnum = exports.WebhookLogScalarFieldEnum = exports.WebhookScalarFieldEnum = exports.TransactionIsolationLevel = exports.ModelName = exports.AnyNull = exports.JsonNull = exports.DbNull = exports.NullTypes = exports.prismaVersion = exports.getExtensionContext = exports.Decimal = exports.Sql = exports.raw = exports.join = exports.empty = exports.sql = exports.PrismaClientValidationError = exports.PrismaClientInitializationError = exports.PrismaClientRustPanicError = exports.PrismaClientUnknownRequestError = exports.PrismaClientKnownRequestError = exports.validator = void 0; const tslib_1 = require("tslib"); const runtime = tslib_1.__importStar(require("@prisma/client/runtime/client")); /** * Validator */ exports.validator = runtime.Public.validator; /** * Prisma Errors */ exports.PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError; exports.PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError; exports.PrismaClientRustPanicError = runtime.PrismaClientRustPanicError; exports.PrismaClientInitializationError = runtime.PrismaClientInitializationError; exports.PrismaClientValidationError = runtime.PrismaClientValidationError; /** * Re-export of sql-template-tag */ exports.sql = runtime.sqltag; exports.empty = runtime.empty; exports.join = runtime.join; exports.raw = runtime.raw; exports.Sql = runtime.Sql; /** * Decimal.js */ exports.Decimal = runtime.Decimal; exports.getExtensionContext = runtime.Extensions.getExtensionContext; /** * Prisma Client JS version: 6.9.0 * Query Engine version: 81e4af48011447c3cc503a190e86995b66d2a28e */ exports.prismaVersion = { client: "6.9.0", engine: "81e4af48011447c3cc503a190e86995b66d2a28e" }; exports.NullTypes = { DbNull: runtime.objectEnumValues.classes.DbNull, JsonNull: runtime.objectEnumValues.classes.JsonNull, AnyNull: runtime.objectEnumValues.classes.AnyNull, }; /** * Helper for filtering JSON entries that have `null` on the database (empty on the db) * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ exports.DbNull = runtime.objectEnumValues.instances.DbNull; /** * Helper for filtering JSON entries that have JSON `null` values (not empty on the db) * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ exports.JsonNull = runtime.objectEnumValues.instances.JsonNull; /** * Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull` * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ exports.AnyNull = runtime.objectEnumValues.instances.AnyNull; exports.ModelName = { Webhook: 'Webhook', WebhookLog: 'WebhookLog', WebhookUser: 'WebhookUser', migrations_webhook: 'migrations_webhook' }; /** * Enums */ exports.TransactionIsolationLevel = runtime.makeStrictEnum({ ReadUncommitted: 'ReadUncommitted', ReadCommitted: 'ReadCommitted', RepeatableRead: 'RepeatableRead', Serializable: 'Serializable' }); exports.WebhookScalarFieldEnum = { id: 'id', eventName: 'eventName', endpoint: 'endpoint', enabled: 'enabled', headers: 'headers', requestTimeout: 'requestTimeout', externalTenantId: 'externalTenantId', createdBy: 'createdBy', updatedBy: 'updatedBy', createdAt: 'createdAt', updatedAt: 'updatedAt', workUntilDate: 'workUntilDate' }; exports.WebhookLogScalarFieldEnum = { id: 'id', request: 'request', responseStatus: 'responseStatus', response: 'response', webhookStatus: 'webhookStatus', webhookId: 'webhookId', externalTenantId: 'externalTenantId', createdAt: 'createdAt', updatedAt: 'updatedAt' }; exports.WebhookUserScalarFieldEnum = { id: 'id', externalTenantId: 'externalTenantId', externalUserId: 'externalUserId', userRole: 'userRole', createdAt: 'createdAt', updatedAt: 'updatedAt' }; exports.Migrations_webhookScalarFieldEnum = { installed_rank: 'installed_rank', version: 'version', description: 'description', type: 'type', script: 'script', checksum: 'checksum', installed_by: 'installed_by', installed_on: 'installed_on', execution_time: 'execution_time', success: 'success' }; exports.SortOrder = { asc: 'asc', desc: 'desc' }; exports.NullableJsonNullValueInput = { DbNull: exports.DbNull, JsonNull: exports.JsonNull }; exports.JsonNullValueInput = { JsonNull: exports.JsonNull }; exports.QueryMode = { default: 'default', insensitive: 'insensitive' }; exports.JsonNullValueFilter = { DbNull: exports.DbNull, JsonNull: exports.JsonNull, AnyNull: exports.AnyNull }; exports.NullsOrder = { first: 'first', last: 'last' }; exports.defineExtension = runtime.Extensions.defineExtension; //# sourceMappingURL=prismaNamespace.js.map